* gfortran.dg/boz_1.f90: New test.
[official-gcc.git] / Makefile.in
blob7ff50f54307b708876dfc7467ac0bdafa8f71b51
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 maybe-configure-gnattools
720 .PHONY: configure-target
721 configure-target: \
722 maybe-configure-target-libstdc++-v3 \
723 maybe-configure-target-libmudflap \
724 maybe-configure-target-newlib \
725 maybe-configure-target-libgfortran \
726 maybe-configure-target-libobjc \
727 maybe-configure-target-libtermcap \
728 maybe-configure-target-winsup \
729 maybe-configure-target-libgloss \
730 maybe-configure-target-libiberty \
731 maybe-configure-target-gperf \
732 maybe-configure-target-examples \
733 maybe-configure-target-libffi \
734 maybe-configure-target-libjava \
735 maybe-configure-target-zlib \
736 maybe-configure-target-boehm-gc \
737 maybe-configure-target-qthreads \
738 maybe-configure-target-rda \
739 maybe-configure-target-libada
741 # The target built for a native non-bootstrap build.
742 .PHONY: all
743 all: unstage all-host all-target stage
745 .PHONY: all-build
746 all-build: \
747 maybe-all-build-libiberty \
748 maybe-all-build-bison \
749 maybe-all-build-byacc \
750 maybe-all-build-flex \
751 maybe-all-build-m4 \
752 maybe-all-build-texinfo \
753 maybe-all-build-fixincludes
754 .PHONY: all-host
755 all-host: \
756 maybe-all-ash \
757 maybe-all-autoconf \
758 maybe-all-automake \
759 maybe-all-bash \
760 maybe-all-bfd \
761 maybe-all-opcodes \
762 maybe-all-binutils \
763 maybe-all-bison \
764 maybe-all-byacc \
765 maybe-all-bzip2 \
766 maybe-all-dejagnu \
767 maybe-all-diff \
768 maybe-all-dosutils \
769 maybe-all-etc \
770 maybe-all-fastjar \
771 maybe-all-fileutils \
772 maybe-all-findutils \
773 maybe-all-find \
774 maybe-all-fixincludes \
775 maybe-all-flex \
776 maybe-all-gas \
777 maybe-all-gcc \
778 maybe-all-gawk \
779 maybe-all-gettext \
780 maybe-all-gnuserv \
781 maybe-all-gprof \
782 maybe-all-gzip \
783 maybe-all-hello \
784 maybe-all-indent \
785 maybe-all-intl \
786 maybe-all-tcl \
787 maybe-all-itcl \
788 maybe-all-ld \
789 maybe-all-libcpp \
790 maybe-all-libgui \
791 maybe-all-libiberty \
792 maybe-all-libtool \
793 maybe-all-m4 \
794 maybe-all-make \
795 maybe-all-mmalloc \
796 maybe-all-patch \
797 maybe-all-perl \
798 maybe-all-prms \
799 maybe-all-rcs \
800 maybe-all-readline \
801 maybe-all-release \
802 maybe-all-recode \
803 maybe-all-sed \
804 maybe-all-send-pr \
805 maybe-all-shellutils \
806 maybe-all-sid \
807 maybe-all-sim \
808 maybe-all-tar \
809 maybe-all-texinfo \
810 maybe-all-textutils \
811 maybe-all-time \
812 maybe-all-uudecode \
813 maybe-all-wdiff \
814 maybe-all-zip \
815 maybe-all-zlib \
816 maybe-all-gdb \
817 maybe-all-expect \
818 maybe-all-guile \
819 maybe-all-tk \
820 maybe-all-libtermcap \
821 maybe-all-utils \
822 maybe-all-gnattools
823 .PHONY: all-target
824 all-target: \
825 maybe-all-target-libstdc++-v3 \
826 maybe-all-target-libmudflap \
827 maybe-all-target-newlib \
828 maybe-all-target-libgfortran \
829 maybe-all-target-libobjc \
830 maybe-all-target-libtermcap \
831 maybe-all-target-winsup \
832 maybe-all-target-libgloss \
833 maybe-all-target-libiberty \
834 maybe-all-target-gperf \
835 maybe-all-target-examples \
836 maybe-all-target-libffi \
837 maybe-all-target-libjava \
838 maybe-all-target-zlib \
839 maybe-all-target-boehm-gc \
840 maybe-all-target-qthreads \
841 maybe-all-target-rda \
842 maybe-all-target-libada
844 # Do a target for all the subdirectories. A ``make do-X'' will do a
845 # ``make X'' in all subdirectories (because, in general, there is a
846 # dependency (below) of X upon do-X, a ``make X'' will also do this,
847 # but it may do additional work as well).
849 .PHONY: do-info
850 do-info: unstage info-host info-target stage
852 .PHONY: info-host
853 info-host: \
854 maybe-info-ash \
855 maybe-info-autoconf \
856 maybe-info-automake \
857 maybe-info-bash \
858 maybe-info-bfd \
859 maybe-info-opcodes \
860 maybe-info-binutils \
861 maybe-info-bison \
862 maybe-info-byacc \
863 maybe-info-bzip2 \
864 maybe-info-dejagnu \
865 maybe-info-diff \
866 maybe-info-dosutils \
867 maybe-info-etc \
868 maybe-info-fastjar \
869 maybe-info-fileutils \
870 maybe-info-findutils \
871 maybe-info-find \
872 maybe-info-fixincludes \
873 maybe-info-flex \
874 maybe-info-gas \
875 maybe-info-gcc \
876 maybe-info-gawk \
877 maybe-info-gettext \
878 maybe-info-gnuserv \
879 maybe-info-gprof \
880 maybe-info-gzip \
881 maybe-info-hello \
882 maybe-info-indent \
883 maybe-info-intl \
884 maybe-info-tcl \
885 maybe-info-itcl \
886 maybe-info-ld \
887 maybe-info-libcpp \
888 maybe-info-libgui \
889 maybe-info-libiberty \
890 maybe-info-libtool \
891 maybe-info-m4 \
892 maybe-info-make \
893 maybe-info-mmalloc \
894 maybe-info-patch \
895 maybe-info-perl \
896 maybe-info-prms \
897 maybe-info-rcs \
898 maybe-info-readline \
899 maybe-info-release \
900 maybe-info-recode \
901 maybe-info-sed \
902 maybe-info-send-pr \
903 maybe-info-shellutils \
904 maybe-info-sid \
905 maybe-info-sim \
906 maybe-info-tar \
907 maybe-info-texinfo \
908 maybe-info-textutils \
909 maybe-info-time \
910 maybe-info-uudecode \
911 maybe-info-wdiff \
912 maybe-info-zip \
913 maybe-info-zlib \
914 maybe-info-gdb \
915 maybe-info-expect \
916 maybe-info-guile \
917 maybe-info-tk \
918 maybe-info-libtermcap \
919 maybe-info-utils \
920 maybe-info-gnattools
922 .PHONY: info-target
923 info-target: \
924 maybe-info-target-libstdc++-v3 \
925 maybe-info-target-libmudflap \
926 maybe-info-target-newlib \
927 maybe-info-target-libgfortran \
928 maybe-info-target-libobjc \
929 maybe-info-target-libtermcap \
930 maybe-info-target-winsup \
931 maybe-info-target-libgloss \
932 maybe-info-target-libiberty \
933 maybe-info-target-gperf \
934 maybe-info-target-examples \
935 maybe-info-target-libffi \
936 maybe-info-target-libjava \
937 maybe-info-target-zlib \
938 maybe-info-target-boehm-gc \
939 maybe-info-target-qthreads \
940 maybe-info-target-rda \
941 maybe-info-target-libada
943 .PHONY: do-dvi
944 do-dvi: unstage dvi-host dvi-target stage
946 .PHONY: dvi-host
947 dvi-host: \
948 maybe-dvi-ash \
949 maybe-dvi-autoconf \
950 maybe-dvi-automake \
951 maybe-dvi-bash \
952 maybe-dvi-bfd \
953 maybe-dvi-opcodes \
954 maybe-dvi-binutils \
955 maybe-dvi-bison \
956 maybe-dvi-byacc \
957 maybe-dvi-bzip2 \
958 maybe-dvi-dejagnu \
959 maybe-dvi-diff \
960 maybe-dvi-dosutils \
961 maybe-dvi-etc \
962 maybe-dvi-fastjar \
963 maybe-dvi-fileutils \
964 maybe-dvi-findutils \
965 maybe-dvi-find \
966 maybe-dvi-fixincludes \
967 maybe-dvi-flex \
968 maybe-dvi-gas \
969 maybe-dvi-gcc \
970 maybe-dvi-gawk \
971 maybe-dvi-gettext \
972 maybe-dvi-gnuserv \
973 maybe-dvi-gprof \
974 maybe-dvi-gzip \
975 maybe-dvi-hello \
976 maybe-dvi-indent \
977 maybe-dvi-intl \
978 maybe-dvi-tcl \
979 maybe-dvi-itcl \
980 maybe-dvi-ld \
981 maybe-dvi-libcpp \
982 maybe-dvi-libgui \
983 maybe-dvi-libiberty \
984 maybe-dvi-libtool \
985 maybe-dvi-m4 \
986 maybe-dvi-make \
987 maybe-dvi-mmalloc \
988 maybe-dvi-patch \
989 maybe-dvi-perl \
990 maybe-dvi-prms \
991 maybe-dvi-rcs \
992 maybe-dvi-readline \
993 maybe-dvi-release \
994 maybe-dvi-recode \
995 maybe-dvi-sed \
996 maybe-dvi-send-pr \
997 maybe-dvi-shellutils \
998 maybe-dvi-sid \
999 maybe-dvi-sim \
1000 maybe-dvi-tar \
1001 maybe-dvi-texinfo \
1002 maybe-dvi-textutils \
1003 maybe-dvi-time \
1004 maybe-dvi-uudecode \
1005 maybe-dvi-wdiff \
1006 maybe-dvi-zip \
1007 maybe-dvi-zlib \
1008 maybe-dvi-gdb \
1009 maybe-dvi-expect \
1010 maybe-dvi-guile \
1011 maybe-dvi-tk \
1012 maybe-dvi-libtermcap \
1013 maybe-dvi-utils \
1014 maybe-dvi-gnattools
1016 .PHONY: dvi-target
1017 dvi-target: \
1018 maybe-dvi-target-libstdc++-v3 \
1019 maybe-dvi-target-libmudflap \
1020 maybe-dvi-target-newlib \
1021 maybe-dvi-target-libgfortran \
1022 maybe-dvi-target-libobjc \
1023 maybe-dvi-target-libtermcap \
1024 maybe-dvi-target-winsup \
1025 maybe-dvi-target-libgloss \
1026 maybe-dvi-target-libiberty \
1027 maybe-dvi-target-gperf \
1028 maybe-dvi-target-examples \
1029 maybe-dvi-target-libffi \
1030 maybe-dvi-target-libjava \
1031 maybe-dvi-target-zlib \
1032 maybe-dvi-target-boehm-gc \
1033 maybe-dvi-target-qthreads \
1034 maybe-dvi-target-rda \
1035 maybe-dvi-target-libada
1037 .PHONY: do-html
1038 do-html: unstage html-host html-target stage
1040 .PHONY: html-host
1041 html-host: \
1042 maybe-html-ash \
1043 maybe-html-autoconf \
1044 maybe-html-automake \
1045 maybe-html-bash \
1046 maybe-html-bfd \
1047 maybe-html-opcodes \
1048 maybe-html-binutils \
1049 maybe-html-bison \
1050 maybe-html-byacc \
1051 maybe-html-bzip2 \
1052 maybe-html-dejagnu \
1053 maybe-html-diff \
1054 maybe-html-dosutils \
1055 maybe-html-etc \
1056 maybe-html-fastjar \
1057 maybe-html-fileutils \
1058 maybe-html-findutils \
1059 maybe-html-find \
1060 maybe-html-fixincludes \
1061 maybe-html-flex \
1062 maybe-html-gas \
1063 maybe-html-gcc \
1064 maybe-html-gawk \
1065 maybe-html-gettext \
1066 maybe-html-gnuserv \
1067 maybe-html-gprof \
1068 maybe-html-gzip \
1069 maybe-html-hello \
1070 maybe-html-indent \
1071 maybe-html-intl \
1072 maybe-html-tcl \
1073 maybe-html-itcl \
1074 maybe-html-ld \
1075 maybe-html-libcpp \
1076 maybe-html-libgui \
1077 maybe-html-libiberty \
1078 maybe-html-libtool \
1079 maybe-html-m4 \
1080 maybe-html-make \
1081 maybe-html-mmalloc \
1082 maybe-html-patch \
1083 maybe-html-perl \
1084 maybe-html-prms \
1085 maybe-html-rcs \
1086 maybe-html-readline \
1087 maybe-html-release \
1088 maybe-html-recode \
1089 maybe-html-sed \
1090 maybe-html-send-pr \
1091 maybe-html-shellutils \
1092 maybe-html-sid \
1093 maybe-html-sim \
1094 maybe-html-tar \
1095 maybe-html-texinfo \
1096 maybe-html-textutils \
1097 maybe-html-time \
1098 maybe-html-uudecode \
1099 maybe-html-wdiff \
1100 maybe-html-zip \
1101 maybe-html-zlib \
1102 maybe-html-gdb \
1103 maybe-html-expect \
1104 maybe-html-guile \
1105 maybe-html-tk \
1106 maybe-html-libtermcap \
1107 maybe-html-utils \
1108 maybe-html-gnattools
1110 .PHONY: html-target
1111 html-target: \
1112 maybe-html-target-libstdc++-v3 \
1113 maybe-html-target-libmudflap \
1114 maybe-html-target-newlib \
1115 maybe-html-target-libgfortran \
1116 maybe-html-target-libobjc \
1117 maybe-html-target-libtermcap \
1118 maybe-html-target-winsup \
1119 maybe-html-target-libgloss \
1120 maybe-html-target-libiberty \
1121 maybe-html-target-gperf \
1122 maybe-html-target-examples \
1123 maybe-html-target-libffi \
1124 maybe-html-target-libjava \
1125 maybe-html-target-zlib \
1126 maybe-html-target-boehm-gc \
1127 maybe-html-target-qthreads \
1128 maybe-html-target-rda \
1129 maybe-html-target-libada
1131 .PHONY: do-TAGS
1132 do-TAGS: unstage TAGS-host TAGS-target stage
1134 .PHONY: TAGS-host
1135 TAGS-host: \
1136 maybe-TAGS-ash \
1137 maybe-TAGS-autoconf \
1138 maybe-TAGS-automake \
1139 maybe-TAGS-bash \
1140 maybe-TAGS-bfd \
1141 maybe-TAGS-opcodes \
1142 maybe-TAGS-binutils \
1143 maybe-TAGS-bison \
1144 maybe-TAGS-byacc \
1145 maybe-TAGS-bzip2 \
1146 maybe-TAGS-dejagnu \
1147 maybe-TAGS-diff \
1148 maybe-TAGS-dosutils \
1149 maybe-TAGS-etc \
1150 maybe-TAGS-fastjar \
1151 maybe-TAGS-fileutils \
1152 maybe-TAGS-findutils \
1153 maybe-TAGS-find \
1154 maybe-TAGS-fixincludes \
1155 maybe-TAGS-flex \
1156 maybe-TAGS-gas \
1157 maybe-TAGS-gcc \
1158 maybe-TAGS-gawk \
1159 maybe-TAGS-gettext \
1160 maybe-TAGS-gnuserv \
1161 maybe-TAGS-gprof \
1162 maybe-TAGS-gzip \
1163 maybe-TAGS-hello \
1164 maybe-TAGS-indent \
1165 maybe-TAGS-intl \
1166 maybe-TAGS-tcl \
1167 maybe-TAGS-itcl \
1168 maybe-TAGS-ld \
1169 maybe-TAGS-libcpp \
1170 maybe-TAGS-libgui \
1171 maybe-TAGS-libiberty \
1172 maybe-TAGS-libtool \
1173 maybe-TAGS-m4 \
1174 maybe-TAGS-make \
1175 maybe-TAGS-mmalloc \
1176 maybe-TAGS-patch \
1177 maybe-TAGS-perl \
1178 maybe-TAGS-prms \
1179 maybe-TAGS-rcs \
1180 maybe-TAGS-readline \
1181 maybe-TAGS-release \
1182 maybe-TAGS-recode \
1183 maybe-TAGS-sed \
1184 maybe-TAGS-send-pr \
1185 maybe-TAGS-shellutils \
1186 maybe-TAGS-sid \
1187 maybe-TAGS-sim \
1188 maybe-TAGS-tar \
1189 maybe-TAGS-texinfo \
1190 maybe-TAGS-textutils \
1191 maybe-TAGS-time \
1192 maybe-TAGS-uudecode \
1193 maybe-TAGS-wdiff \
1194 maybe-TAGS-zip \
1195 maybe-TAGS-zlib \
1196 maybe-TAGS-gdb \
1197 maybe-TAGS-expect \
1198 maybe-TAGS-guile \
1199 maybe-TAGS-tk \
1200 maybe-TAGS-libtermcap \
1201 maybe-TAGS-utils \
1202 maybe-TAGS-gnattools
1204 .PHONY: TAGS-target
1205 TAGS-target: \
1206 maybe-TAGS-target-libstdc++-v3 \
1207 maybe-TAGS-target-libmudflap \
1208 maybe-TAGS-target-newlib \
1209 maybe-TAGS-target-libgfortran \
1210 maybe-TAGS-target-libobjc \
1211 maybe-TAGS-target-libtermcap \
1212 maybe-TAGS-target-winsup \
1213 maybe-TAGS-target-libgloss \
1214 maybe-TAGS-target-libiberty \
1215 maybe-TAGS-target-gperf \
1216 maybe-TAGS-target-examples \
1217 maybe-TAGS-target-libffi \
1218 maybe-TAGS-target-libjava \
1219 maybe-TAGS-target-zlib \
1220 maybe-TAGS-target-boehm-gc \
1221 maybe-TAGS-target-qthreads \
1222 maybe-TAGS-target-rda \
1223 maybe-TAGS-target-libada
1225 .PHONY: do-install-info
1226 do-install-info: unstage install-info-host install-info-target stage
1228 .PHONY: install-info-host
1229 install-info-host: \
1230 maybe-install-info-ash \
1231 maybe-install-info-autoconf \
1232 maybe-install-info-automake \
1233 maybe-install-info-bash \
1234 maybe-install-info-bfd \
1235 maybe-install-info-opcodes \
1236 maybe-install-info-binutils \
1237 maybe-install-info-bison \
1238 maybe-install-info-byacc \
1239 maybe-install-info-bzip2 \
1240 maybe-install-info-dejagnu \
1241 maybe-install-info-diff \
1242 maybe-install-info-dosutils \
1243 maybe-install-info-etc \
1244 maybe-install-info-fastjar \
1245 maybe-install-info-fileutils \
1246 maybe-install-info-findutils \
1247 maybe-install-info-find \
1248 maybe-install-info-fixincludes \
1249 maybe-install-info-flex \
1250 maybe-install-info-gas \
1251 maybe-install-info-gcc \
1252 maybe-install-info-gawk \
1253 maybe-install-info-gettext \
1254 maybe-install-info-gnuserv \
1255 maybe-install-info-gprof \
1256 maybe-install-info-gzip \
1257 maybe-install-info-hello \
1258 maybe-install-info-indent \
1259 maybe-install-info-intl \
1260 maybe-install-info-tcl \
1261 maybe-install-info-itcl \
1262 maybe-install-info-ld \
1263 maybe-install-info-libcpp \
1264 maybe-install-info-libgui \
1265 maybe-install-info-libiberty \
1266 maybe-install-info-libtool \
1267 maybe-install-info-m4 \
1268 maybe-install-info-make \
1269 maybe-install-info-mmalloc \
1270 maybe-install-info-patch \
1271 maybe-install-info-perl \
1272 maybe-install-info-prms \
1273 maybe-install-info-rcs \
1274 maybe-install-info-readline \
1275 maybe-install-info-release \
1276 maybe-install-info-recode \
1277 maybe-install-info-sed \
1278 maybe-install-info-send-pr \
1279 maybe-install-info-shellutils \
1280 maybe-install-info-sid \
1281 maybe-install-info-sim \
1282 maybe-install-info-tar \
1283 maybe-install-info-texinfo \
1284 maybe-install-info-textutils \
1285 maybe-install-info-time \
1286 maybe-install-info-uudecode \
1287 maybe-install-info-wdiff \
1288 maybe-install-info-zip \
1289 maybe-install-info-zlib \
1290 maybe-install-info-gdb \
1291 maybe-install-info-expect \
1292 maybe-install-info-guile \
1293 maybe-install-info-tk \
1294 maybe-install-info-libtermcap \
1295 maybe-install-info-utils \
1296 maybe-install-info-gnattools
1298 .PHONY: install-info-target
1299 install-info-target: \
1300 maybe-install-info-target-libstdc++-v3 \
1301 maybe-install-info-target-libmudflap \
1302 maybe-install-info-target-newlib \
1303 maybe-install-info-target-libgfortran \
1304 maybe-install-info-target-libobjc \
1305 maybe-install-info-target-libtermcap \
1306 maybe-install-info-target-winsup \
1307 maybe-install-info-target-libgloss \
1308 maybe-install-info-target-libiberty \
1309 maybe-install-info-target-gperf \
1310 maybe-install-info-target-examples \
1311 maybe-install-info-target-libffi \
1312 maybe-install-info-target-libjava \
1313 maybe-install-info-target-zlib \
1314 maybe-install-info-target-boehm-gc \
1315 maybe-install-info-target-qthreads \
1316 maybe-install-info-target-rda \
1317 maybe-install-info-target-libada
1319 .PHONY: do-installcheck
1320 do-installcheck: unstage installcheck-host installcheck-target stage
1322 .PHONY: installcheck-host
1323 installcheck-host: \
1324 maybe-installcheck-ash \
1325 maybe-installcheck-autoconf \
1326 maybe-installcheck-automake \
1327 maybe-installcheck-bash \
1328 maybe-installcheck-bfd \
1329 maybe-installcheck-opcodes \
1330 maybe-installcheck-binutils \
1331 maybe-installcheck-bison \
1332 maybe-installcheck-byacc \
1333 maybe-installcheck-bzip2 \
1334 maybe-installcheck-dejagnu \
1335 maybe-installcheck-diff \
1336 maybe-installcheck-dosutils \
1337 maybe-installcheck-etc \
1338 maybe-installcheck-fastjar \
1339 maybe-installcheck-fileutils \
1340 maybe-installcheck-findutils \
1341 maybe-installcheck-find \
1342 maybe-installcheck-fixincludes \
1343 maybe-installcheck-flex \
1344 maybe-installcheck-gas \
1345 maybe-installcheck-gcc \
1346 maybe-installcheck-gawk \
1347 maybe-installcheck-gettext \
1348 maybe-installcheck-gnuserv \
1349 maybe-installcheck-gprof \
1350 maybe-installcheck-gzip \
1351 maybe-installcheck-hello \
1352 maybe-installcheck-indent \
1353 maybe-installcheck-intl \
1354 maybe-installcheck-tcl \
1355 maybe-installcheck-itcl \
1356 maybe-installcheck-ld \
1357 maybe-installcheck-libcpp \
1358 maybe-installcheck-libgui \
1359 maybe-installcheck-libiberty \
1360 maybe-installcheck-libtool \
1361 maybe-installcheck-m4 \
1362 maybe-installcheck-make \
1363 maybe-installcheck-mmalloc \
1364 maybe-installcheck-patch \
1365 maybe-installcheck-perl \
1366 maybe-installcheck-prms \
1367 maybe-installcheck-rcs \
1368 maybe-installcheck-readline \
1369 maybe-installcheck-release \
1370 maybe-installcheck-recode \
1371 maybe-installcheck-sed \
1372 maybe-installcheck-send-pr \
1373 maybe-installcheck-shellutils \
1374 maybe-installcheck-sid \
1375 maybe-installcheck-sim \
1376 maybe-installcheck-tar \
1377 maybe-installcheck-texinfo \
1378 maybe-installcheck-textutils \
1379 maybe-installcheck-time \
1380 maybe-installcheck-uudecode \
1381 maybe-installcheck-wdiff \
1382 maybe-installcheck-zip \
1383 maybe-installcheck-zlib \
1384 maybe-installcheck-gdb \
1385 maybe-installcheck-expect \
1386 maybe-installcheck-guile \
1387 maybe-installcheck-tk \
1388 maybe-installcheck-libtermcap \
1389 maybe-installcheck-utils \
1390 maybe-installcheck-gnattools
1392 .PHONY: installcheck-target
1393 installcheck-target: \
1394 maybe-installcheck-target-libstdc++-v3 \
1395 maybe-installcheck-target-libmudflap \
1396 maybe-installcheck-target-newlib \
1397 maybe-installcheck-target-libgfortran \
1398 maybe-installcheck-target-libobjc \
1399 maybe-installcheck-target-libtermcap \
1400 maybe-installcheck-target-winsup \
1401 maybe-installcheck-target-libgloss \
1402 maybe-installcheck-target-libiberty \
1403 maybe-installcheck-target-gperf \
1404 maybe-installcheck-target-examples \
1405 maybe-installcheck-target-libffi \
1406 maybe-installcheck-target-libjava \
1407 maybe-installcheck-target-zlib \
1408 maybe-installcheck-target-boehm-gc \
1409 maybe-installcheck-target-qthreads \
1410 maybe-installcheck-target-rda \
1411 maybe-installcheck-target-libada
1413 .PHONY: do-mostlyclean
1414 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1416 .PHONY: mostlyclean-host
1417 mostlyclean-host: \
1418 maybe-mostlyclean-ash \
1419 maybe-mostlyclean-autoconf \
1420 maybe-mostlyclean-automake \
1421 maybe-mostlyclean-bash \
1422 maybe-mostlyclean-bfd \
1423 maybe-mostlyclean-opcodes \
1424 maybe-mostlyclean-binutils \
1425 maybe-mostlyclean-bison \
1426 maybe-mostlyclean-byacc \
1427 maybe-mostlyclean-bzip2 \
1428 maybe-mostlyclean-dejagnu \
1429 maybe-mostlyclean-diff \
1430 maybe-mostlyclean-dosutils \
1431 maybe-mostlyclean-etc \
1432 maybe-mostlyclean-fastjar \
1433 maybe-mostlyclean-fileutils \
1434 maybe-mostlyclean-findutils \
1435 maybe-mostlyclean-find \
1436 maybe-mostlyclean-fixincludes \
1437 maybe-mostlyclean-flex \
1438 maybe-mostlyclean-gas \
1439 maybe-mostlyclean-gcc \
1440 maybe-mostlyclean-gawk \
1441 maybe-mostlyclean-gettext \
1442 maybe-mostlyclean-gnuserv \
1443 maybe-mostlyclean-gprof \
1444 maybe-mostlyclean-gzip \
1445 maybe-mostlyclean-hello \
1446 maybe-mostlyclean-indent \
1447 maybe-mostlyclean-intl \
1448 maybe-mostlyclean-tcl \
1449 maybe-mostlyclean-itcl \
1450 maybe-mostlyclean-ld \
1451 maybe-mostlyclean-libcpp \
1452 maybe-mostlyclean-libgui \
1453 maybe-mostlyclean-libiberty \
1454 maybe-mostlyclean-libtool \
1455 maybe-mostlyclean-m4 \
1456 maybe-mostlyclean-make \
1457 maybe-mostlyclean-mmalloc \
1458 maybe-mostlyclean-patch \
1459 maybe-mostlyclean-perl \
1460 maybe-mostlyclean-prms \
1461 maybe-mostlyclean-rcs \
1462 maybe-mostlyclean-readline \
1463 maybe-mostlyclean-release \
1464 maybe-mostlyclean-recode \
1465 maybe-mostlyclean-sed \
1466 maybe-mostlyclean-send-pr \
1467 maybe-mostlyclean-shellutils \
1468 maybe-mostlyclean-sid \
1469 maybe-mostlyclean-sim \
1470 maybe-mostlyclean-tar \
1471 maybe-mostlyclean-texinfo \
1472 maybe-mostlyclean-textutils \
1473 maybe-mostlyclean-time \
1474 maybe-mostlyclean-uudecode \
1475 maybe-mostlyclean-wdiff \
1476 maybe-mostlyclean-zip \
1477 maybe-mostlyclean-zlib \
1478 maybe-mostlyclean-gdb \
1479 maybe-mostlyclean-expect \
1480 maybe-mostlyclean-guile \
1481 maybe-mostlyclean-tk \
1482 maybe-mostlyclean-libtermcap \
1483 maybe-mostlyclean-utils \
1484 maybe-mostlyclean-gnattools
1486 .PHONY: mostlyclean-target
1487 mostlyclean-target: \
1488 maybe-mostlyclean-target-libstdc++-v3 \
1489 maybe-mostlyclean-target-libmudflap \
1490 maybe-mostlyclean-target-newlib \
1491 maybe-mostlyclean-target-libgfortran \
1492 maybe-mostlyclean-target-libobjc \
1493 maybe-mostlyclean-target-libtermcap \
1494 maybe-mostlyclean-target-winsup \
1495 maybe-mostlyclean-target-libgloss \
1496 maybe-mostlyclean-target-libiberty \
1497 maybe-mostlyclean-target-gperf \
1498 maybe-mostlyclean-target-examples \
1499 maybe-mostlyclean-target-libffi \
1500 maybe-mostlyclean-target-libjava \
1501 maybe-mostlyclean-target-zlib \
1502 maybe-mostlyclean-target-boehm-gc \
1503 maybe-mostlyclean-target-qthreads \
1504 maybe-mostlyclean-target-rda \
1505 maybe-mostlyclean-target-libada
1507 .PHONY: do-clean
1508 do-clean: unstage clean-host clean-target stage
1510 .PHONY: clean-host
1511 clean-host: \
1512 maybe-clean-ash \
1513 maybe-clean-autoconf \
1514 maybe-clean-automake \
1515 maybe-clean-bash \
1516 maybe-clean-bfd \
1517 maybe-clean-opcodes \
1518 maybe-clean-binutils \
1519 maybe-clean-bison \
1520 maybe-clean-byacc \
1521 maybe-clean-bzip2 \
1522 maybe-clean-dejagnu \
1523 maybe-clean-diff \
1524 maybe-clean-dosutils \
1525 maybe-clean-etc \
1526 maybe-clean-fastjar \
1527 maybe-clean-fileutils \
1528 maybe-clean-findutils \
1529 maybe-clean-find \
1530 maybe-clean-fixincludes \
1531 maybe-clean-flex \
1532 maybe-clean-gas \
1533 maybe-clean-gcc \
1534 maybe-clean-gawk \
1535 maybe-clean-gettext \
1536 maybe-clean-gnuserv \
1537 maybe-clean-gprof \
1538 maybe-clean-gzip \
1539 maybe-clean-hello \
1540 maybe-clean-indent \
1541 maybe-clean-intl \
1542 maybe-clean-tcl \
1543 maybe-clean-itcl \
1544 maybe-clean-ld \
1545 maybe-clean-libcpp \
1546 maybe-clean-libgui \
1547 maybe-clean-libiberty \
1548 maybe-clean-libtool \
1549 maybe-clean-m4 \
1550 maybe-clean-make \
1551 maybe-clean-mmalloc \
1552 maybe-clean-patch \
1553 maybe-clean-perl \
1554 maybe-clean-prms \
1555 maybe-clean-rcs \
1556 maybe-clean-readline \
1557 maybe-clean-release \
1558 maybe-clean-recode \
1559 maybe-clean-sed \
1560 maybe-clean-send-pr \
1561 maybe-clean-shellutils \
1562 maybe-clean-sid \
1563 maybe-clean-sim \
1564 maybe-clean-tar \
1565 maybe-clean-texinfo \
1566 maybe-clean-textutils \
1567 maybe-clean-time \
1568 maybe-clean-uudecode \
1569 maybe-clean-wdiff \
1570 maybe-clean-zip \
1571 maybe-clean-zlib \
1572 maybe-clean-gdb \
1573 maybe-clean-expect \
1574 maybe-clean-guile \
1575 maybe-clean-tk \
1576 maybe-clean-libtermcap \
1577 maybe-clean-utils \
1578 maybe-clean-gnattools
1580 .PHONY: clean-target
1581 clean-target: \
1582 maybe-clean-target-libstdc++-v3 \
1583 maybe-clean-target-libmudflap \
1584 maybe-clean-target-newlib \
1585 maybe-clean-target-libgfortran \
1586 maybe-clean-target-libobjc \
1587 maybe-clean-target-libtermcap \
1588 maybe-clean-target-winsup \
1589 maybe-clean-target-libgloss \
1590 maybe-clean-target-libiberty \
1591 maybe-clean-target-gperf \
1592 maybe-clean-target-examples \
1593 maybe-clean-target-libffi \
1594 maybe-clean-target-libjava \
1595 maybe-clean-target-zlib \
1596 maybe-clean-target-boehm-gc \
1597 maybe-clean-target-qthreads \
1598 maybe-clean-target-rda \
1599 maybe-clean-target-libada
1601 .PHONY: do-distclean
1602 do-distclean: unstage distclean-host distclean-target stage
1604 .PHONY: distclean-host
1605 distclean-host: \
1606 maybe-distclean-ash \
1607 maybe-distclean-autoconf \
1608 maybe-distclean-automake \
1609 maybe-distclean-bash \
1610 maybe-distclean-bfd \
1611 maybe-distclean-opcodes \
1612 maybe-distclean-binutils \
1613 maybe-distclean-bison \
1614 maybe-distclean-byacc \
1615 maybe-distclean-bzip2 \
1616 maybe-distclean-dejagnu \
1617 maybe-distclean-diff \
1618 maybe-distclean-dosutils \
1619 maybe-distclean-etc \
1620 maybe-distclean-fastjar \
1621 maybe-distclean-fileutils \
1622 maybe-distclean-findutils \
1623 maybe-distclean-find \
1624 maybe-distclean-fixincludes \
1625 maybe-distclean-flex \
1626 maybe-distclean-gas \
1627 maybe-distclean-gcc \
1628 maybe-distclean-gawk \
1629 maybe-distclean-gettext \
1630 maybe-distclean-gnuserv \
1631 maybe-distclean-gprof \
1632 maybe-distclean-gzip \
1633 maybe-distclean-hello \
1634 maybe-distclean-indent \
1635 maybe-distclean-intl \
1636 maybe-distclean-tcl \
1637 maybe-distclean-itcl \
1638 maybe-distclean-ld \
1639 maybe-distclean-libcpp \
1640 maybe-distclean-libgui \
1641 maybe-distclean-libiberty \
1642 maybe-distclean-libtool \
1643 maybe-distclean-m4 \
1644 maybe-distclean-make \
1645 maybe-distclean-mmalloc \
1646 maybe-distclean-patch \
1647 maybe-distclean-perl \
1648 maybe-distclean-prms \
1649 maybe-distclean-rcs \
1650 maybe-distclean-readline \
1651 maybe-distclean-release \
1652 maybe-distclean-recode \
1653 maybe-distclean-sed \
1654 maybe-distclean-send-pr \
1655 maybe-distclean-shellutils \
1656 maybe-distclean-sid \
1657 maybe-distclean-sim \
1658 maybe-distclean-tar \
1659 maybe-distclean-texinfo \
1660 maybe-distclean-textutils \
1661 maybe-distclean-time \
1662 maybe-distclean-uudecode \
1663 maybe-distclean-wdiff \
1664 maybe-distclean-zip \
1665 maybe-distclean-zlib \
1666 maybe-distclean-gdb \
1667 maybe-distclean-expect \
1668 maybe-distclean-guile \
1669 maybe-distclean-tk \
1670 maybe-distclean-libtermcap \
1671 maybe-distclean-utils \
1672 maybe-distclean-gnattools
1674 .PHONY: distclean-target
1675 distclean-target: \
1676 maybe-distclean-target-libstdc++-v3 \
1677 maybe-distclean-target-libmudflap \
1678 maybe-distclean-target-newlib \
1679 maybe-distclean-target-libgfortran \
1680 maybe-distclean-target-libobjc \
1681 maybe-distclean-target-libtermcap \
1682 maybe-distclean-target-winsup \
1683 maybe-distclean-target-libgloss \
1684 maybe-distclean-target-libiberty \
1685 maybe-distclean-target-gperf \
1686 maybe-distclean-target-examples \
1687 maybe-distclean-target-libffi \
1688 maybe-distclean-target-libjava \
1689 maybe-distclean-target-zlib \
1690 maybe-distclean-target-boehm-gc \
1691 maybe-distclean-target-qthreads \
1692 maybe-distclean-target-rda \
1693 maybe-distclean-target-libada
1695 .PHONY: do-maintainer-clean
1696 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1698 .PHONY: maintainer-clean-host
1699 maintainer-clean-host: \
1700 maybe-maintainer-clean-ash \
1701 maybe-maintainer-clean-autoconf \
1702 maybe-maintainer-clean-automake \
1703 maybe-maintainer-clean-bash \
1704 maybe-maintainer-clean-bfd \
1705 maybe-maintainer-clean-opcodes \
1706 maybe-maintainer-clean-binutils \
1707 maybe-maintainer-clean-bison \
1708 maybe-maintainer-clean-byacc \
1709 maybe-maintainer-clean-bzip2 \
1710 maybe-maintainer-clean-dejagnu \
1711 maybe-maintainer-clean-diff \
1712 maybe-maintainer-clean-dosutils \
1713 maybe-maintainer-clean-etc \
1714 maybe-maintainer-clean-fastjar \
1715 maybe-maintainer-clean-fileutils \
1716 maybe-maintainer-clean-findutils \
1717 maybe-maintainer-clean-find \
1718 maybe-maintainer-clean-fixincludes \
1719 maybe-maintainer-clean-flex \
1720 maybe-maintainer-clean-gas \
1721 maybe-maintainer-clean-gcc \
1722 maybe-maintainer-clean-gawk \
1723 maybe-maintainer-clean-gettext \
1724 maybe-maintainer-clean-gnuserv \
1725 maybe-maintainer-clean-gprof \
1726 maybe-maintainer-clean-gzip \
1727 maybe-maintainer-clean-hello \
1728 maybe-maintainer-clean-indent \
1729 maybe-maintainer-clean-intl \
1730 maybe-maintainer-clean-tcl \
1731 maybe-maintainer-clean-itcl \
1732 maybe-maintainer-clean-ld \
1733 maybe-maintainer-clean-libcpp \
1734 maybe-maintainer-clean-libgui \
1735 maybe-maintainer-clean-libiberty \
1736 maybe-maintainer-clean-libtool \
1737 maybe-maintainer-clean-m4 \
1738 maybe-maintainer-clean-make \
1739 maybe-maintainer-clean-mmalloc \
1740 maybe-maintainer-clean-patch \
1741 maybe-maintainer-clean-perl \
1742 maybe-maintainer-clean-prms \
1743 maybe-maintainer-clean-rcs \
1744 maybe-maintainer-clean-readline \
1745 maybe-maintainer-clean-release \
1746 maybe-maintainer-clean-recode \
1747 maybe-maintainer-clean-sed \
1748 maybe-maintainer-clean-send-pr \
1749 maybe-maintainer-clean-shellutils \
1750 maybe-maintainer-clean-sid \
1751 maybe-maintainer-clean-sim \
1752 maybe-maintainer-clean-tar \
1753 maybe-maintainer-clean-texinfo \
1754 maybe-maintainer-clean-textutils \
1755 maybe-maintainer-clean-time \
1756 maybe-maintainer-clean-uudecode \
1757 maybe-maintainer-clean-wdiff \
1758 maybe-maintainer-clean-zip \
1759 maybe-maintainer-clean-zlib \
1760 maybe-maintainer-clean-gdb \
1761 maybe-maintainer-clean-expect \
1762 maybe-maintainer-clean-guile \
1763 maybe-maintainer-clean-tk \
1764 maybe-maintainer-clean-libtermcap \
1765 maybe-maintainer-clean-utils \
1766 maybe-maintainer-clean-gnattools
1768 .PHONY: maintainer-clean-target
1769 maintainer-clean-target: \
1770 maybe-maintainer-clean-target-libstdc++-v3 \
1771 maybe-maintainer-clean-target-libmudflap \
1772 maybe-maintainer-clean-target-newlib \
1773 maybe-maintainer-clean-target-libgfortran \
1774 maybe-maintainer-clean-target-libobjc \
1775 maybe-maintainer-clean-target-libtermcap \
1776 maybe-maintainer-clean-target-winsup \
1777 maybe-maintainer-clean-target-libgloss \
1778 maybe-maintainer-clean-target-libiberty \
1779 maybe-maintainer-clean-target-gperf \
1780 maybe-maintainer-clean-target-examples \
1781 maybe-maintainer-clean-target-libffi \
1782 maybe-maintainer-clean-target-libjava \
1783 maybe-maintainer-clean-target-zlib \
1784 maybe-maintainer-clean-target-boehm-gc \
1785 maybe-maintainer-clean-target-qthreads \
1786 maybe-maintainer-clean-target-rda \
1787 maybe-maintainer-clean-target-libada
1790 # Here are the targets which correspond to the do-X targets.
1792 .PHONY: info installcheck dvi html install-info
1793 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1794 .PHONY: local-clean local-distclean local-maintainer-clean
1795 info: do-info
1796 installcheck: do-installcheck
1797 dvi: do-dvi
1798 html: do-html
1800 # Make sure makeinfo is built before we do a `make info', if we're
1801 # in fact building texinfo.
1802 do-info: maybe-all-texinfo
1804 install-info: do-install-info dir.info
1805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1806 if [ -f dir.info ] ; then \
1807 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1808 else true ; fi
1810 local-clean:
1811 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1813 local-distclean:
1814 -rm -f Makefile config.status config.cache mh-frag mt-frag
1815 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1816 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1817 rm -rf $(TARGET_SUBDIR); \
1818 else true; fi
1819 -rm -rf $(BUILD_SUBDIR)
1820 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1821 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1822 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1823 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1824 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1826 local-maintainer-clean:
1827 @echo "This command is intended for maintainers to use;"
1828 @echo "it deletes files that may require special tools to rebuild."
1830 clean: do-clean local-clean
1831 mostlyclean: do-mostlyclean local-clean
1832 distclean: do-distclean local-clean local-distclean
1833 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1834 maintainer-clean: local-distclean
1835 realclean: maintainer-clean
1837 # Extra dependency for clean-target, owing to the mixed nature of gcc
1838 clean-target: clean-target-libgcc
1839 clean-target-libgcc:
1840 test ! -d gcc/libgcc || \
1841 (cd gcc/libgcc && find . -type d -print) | \
1842 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1843 -rm -rf gcc/libgcc
1844 -rm -f gcc/stmp-dirs
1846 # Check target.
1848 .PHONY: check do-check
1849 check: do-check
1851 # Only include modules actually being configured and built.
1852 do-check: unstage \
1853 maybe-check-ash \
1854 maybe-check-autoconf \
1855 maybe-check-automake \
1856 maybe-check-bash \
1857 maybe-check-bfd \
1858 maybe-check-opcodes \
1859 maybe-check-binutils \
1860 maybe-check-bison \
1861 maybe-check-byacc \
1862 maybe-check-bzip2 \
1863 maybe-check-dejagnu \
1864 maybe-check-diff \
1865 maybe-check-dosutils \
1866 maybe-check-etc \
1867 maybe-check-fastjar \
1868 maybe-check-fileutils \
1869 maybe-check-findutils \
1870 maybe-check-find \
1871 maybe-check-fixincludes \
1872 maybe-check-flex \
1873 maybe-check-gas \
1874 maybe-check-gcc \
1875 maybe-check-gawk \
1876 maybe-check-gettext \
1877 maybe-check-gnuserv \
1878 maybe-check-gprof \
1879 maybe-check-gzip \
1880 maybe-check-hello \
1881 maybe-check-indent \
1882 maybe-check-intl \
1883 maybe-check-tcl \
1884 maybe-check-itcl \
1885 maybe-check-ld \
1886 maybe-check-libcpp \
1887 maybe-check-libgui \
1888 maybe-check-libiberty \
1889 maybe-check-libtool \
1890 maybe-check-m4 \
1891 maybe-check-make \
1892 maybe-check-mmalloc \
1893 maybe-check-patch \
1894 maybe-check-perl \
1895 maybe-check-prms \
1896 maybe-check-rcs \
1897 maybe-check-readline \
1898 maybe-check-release \
1899 maybe-check-recode \
1900 maybe-check-sed \
1901 maybe-check-send-pr \
1902 maybe-check-shellutils \
1903 maybe-check-sid \
1904 maybe-check-sim \
1905 maybe-check-tar \
1906 maybe-check-texinfo \
1907 maybe-check-textutils \
1908 maybe-check-time \
1909 maybe-check-uudecode \
1910 maybe-check-wdiff \
1911 maybe-check-zip \
1912 maybe-check-zlib \
1913 maybe-check-gdb \
1914 maybe-check-expect \
1915 maybe-check-guile \
1916 maybe-check-tk \
1917 maybe-check-libtermcap \
1918 maybe-check-utils \
1919 maybe-check-gnattools \
1920 maybe-check-target-libstdc++-v3 \
1921 maybe-check-target-libmudflap \
1922 maybe-check-target-newlib \
1923 maybe-check-target-libgfortran \
1924 maybe-check-target-libobjc \
1925 maybe-check-target-libtermcap \
1926 maybe-check-target-winsup \
1927 maybe-check-target-libgloss \
1928 maybe-check-target-libiberty \
1929 maybe-check-target-gperf \
1930 maybe-check-target-examples \
1931 maybe-check-target-libffi \
1932 maybe-check-target-libjava \
1933 maybe-check-target-zlib \
1934 maybe-check-target-boehm-gc \
1935 maybe-check-target-qthreads \
1936 maybe-check-target-rda \
1937 maybe-check-target-libada stage
1939 # Automated reporting of test results.
1941 warning.log: build.log
1942 $(srcdir)/contrib/warn_summary build.log > $@
1944 mail-report.log:
1945 if test x'$(BOOT_CFLAGS)' != x''; then \
1946 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1947 fi; \
1948 $(srcdir)/contrib/test_summary -t >$@
1949 chmod +x $@
1950 echo If you really want to send e-mail, run ./$@ now
1952 mail-report-with-warnings.log: warning.log
1953 if test x'$(BOOT_CFLAGS)' != x''; then \
1954 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1955 fi; \
1956 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1957 chmod +x $@
1958 echo If you really want to send e-mail, run ./$@ now
1960 # Installation targets.
1962 .PHONY: install uninstall
1963 install: installdirs install-host install-target
1965 .PHONY: install-host-nogcc
1966 install-host-nogcc: \
1967 maybe-install-ash \
1968 maybe-install-autoconf \
1969 maybe-install-automake \
1970 maybe-install-bash \
1971 maybe-install-bfd \
1972 maybe-install-opcodes \
1973 maybe-install-binutils \
1974 maybe-install-bison \
1975 maybe-install-byacc \
1976 maybe-install-bzip2 \
1977 maybe-install-dejagnu \
1978 maybe-install-diff \
1979 maybe-install-dosutils \
1980 maybe-install-etc \
1981 maybe-install-fastjar \
1982 maybe-install-fileutils \
1983 maybe-install-findutils \
1984 maybe-install-find \
1985 maybe-install-fixincludes \
1986 maybe-install-flex \
1987 maybe-install-gas \
1988 maybe-install-gawk \
1989 maybe-install-gettext \
1990 maybe-install-gnuserv \
1991 maybe-install-gprof \
1992 maybe-install-gzip \
1993 maybe-install-hello \
1994 maybe-install-indent \
1995 maybe-install-intl \
1996 maybe-install-tcl \
1997 maybe-install-itcl \
1998 maybe-install-ld \
1999 maybe-install-libcpp \
2000 maybe-install-libgui \
2001 maybe-install-libiberty \
2002 maybe-install-libtool \
2003 maybe-install-m4 \
2004 maybe-install-make \
2005 maybe-install-mmalloc \
2006 maybe-install-patch \
2007 maybe-install-perl \
2008 maybe-install-prms \
2009 maybe-install-rcs \
2010 maybe-install-readline \
2011 maybe-install-release \
2012 maybe-install-recode \
2013 maybe-install-sed \
2014 maybe-install-send-pr \
2015 maybe-install-shellutils \
2016 maybe-install-sid \
2017 maybe-install-sim \
2018 maybe-install-tar \
2019 maybe-install-texinfo \
2020 maybe-install-textutils \
2021 maybe-install-time \
2022 maybe-install-uudecode \
2023 maybe-install-wdiff \
2024 maybe-install-zip \
2025 maybe-install-zlib \
2026 maybe-install-gdb \
2027 maybe-install-expect \
2028 maybe-install-guile \
2029 maybe-install-tk \
2030 maybe-install-libtermcap \
2031 maybe-install-utils \
2032 maybe-install-gnattools
2034 .PHONY: install-host
2035 install-host: \
2036 maybe-install-ash \
2037 maybe-install-autoconf \
2038 maybe-install-automake \
2039 maybe-install-bash \
2040 maybe-install-bfd \
2041 maybe-install-opcodes \
2042 maybe-install-binutils \
2043 maybe-install-bison \
2044 maybe-install-byacc \
2045 maybe-install-bzip2 \
2046 maybe-install-dejagnu \
2047 maybe-install-diff \
2048 maybe-install-dosutils \
2049 maybe-install-etc \
2050 maybe-install-fastjar \
2051 maybe-install-fileutils \
2052 maybe-install-findutils \
2053 maybe-install-find \
2054 maybe-install-fixincludes \
2055 maybe-install-flex \
2056 maybe-install-gas \
2057 maybe-install-gcc \
2058 maybe-install-gawk \
2059 maybe-install-gettext \
2060 maybe-install-gnuserv \
2061 maybe-install-gprof \
2062 maybe-install-gzip \
2063 maybe-install-hello \
2064 maybe-install-indent \
2065 maybe-install-intl \
2066 maybe-install-tcl \
2067 maybe-install-itcl \
2068 maybe-install-ld \
2069 maybe-install-libcpp \
2070 maybe-install-libgui \
2071 maybe-install-libiberty \
2072 maybe-install-libtool \
2073 maybe-install-m4 \
2074 maybe-install-make \
2075 maybe-install-mmalloc \
2076 maybe-install-patch \
2077 maybe-install-perl \
2078 maybe-install-prms \
2079 maybe-install-rcs \
2080 maybe-install-readline \
2081 maybe-install-release \
2082 maybe-install-recode \
2083 maybe-install-sed \
2084 maybe-install-send-pr \
2085 maybe-install-shellutils \
2086 maybe-install-sid \
2087 maybe-install-sim \
2088 maybe-install-tar \
2089 maybe-install-texinfo \
2090 maybe-install-textutils \
2091 maybe-install-time \
2092 maybe-install-uudecode \
2093 maybe-install-wdiff \
2094 maybe-install-zip \
2095 maybe-install-zlib \
2096 maybe-install-gdb \
2097 maybe-install-expect \
2098 maybe-install-guile \
2099 maybe-install-tk \
2100 maybe-install-libtermcap \
2101 maybe-install-utils \
2102 maybe-install-gnattools
2104 .PHONY: install-target
2105 install-target: \
2106 maybe-install-target-libstdc++-v3 \
2107 maybe-install-target-libmudflap \
2108 maybe-install-target-newlib \
2109 maybe-install-target-libgfortran \
2110 maybe-install-target-libobjc \
2111 maybe-install-target-libtermcap \
2112 maybe-install-target-winsup \
2113 maybe-install-target-libgloss \
2114 maybe-install-target-libiberty \
2115 maybe-install-target-gperf \
2116 maybe-install-target-examples \
2117 maybe-install-target-libffi \
2118 maybe-install-target-libjava \
2119 maybe-install-target-zlib \
2120 maybe-install-target-boehm-gc \
2121 maybe-install-target-qthreads \
2122 maybe-install-target-rda \
2123 maybe-install-target-libada
2125 uninstall:
2126 @echo "the uninstall target is not supported in this tree"
2128 .PHONY: install.all
2129 install.all: install-no-fixedincludes
2130 @if [ -f ./gcc/Makefile ] ; then \
2131 r=`${PWD_COMMAND}` ; export r ; \
2132 $(SET_LIB_PATH) \
2133 $(HOST_EXPORTS) \
2134 (cd ./gcc && \
2135 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2136 else \
2137 true ; \
2140 # install-no-fixedincludes is used because Cygnus can not distribute
2141 # the fixed header files.
2142 .PHONY: install-no-fixedincludes
2143 install-no-fixedincludes: installdirs install-host-nogcc \
2144 install-target gcc-no-fixedincludes
2146 ### other supporting targets
2148 MAKEDIRS= \
2149 $(DESTDIR)$(prefix) \
2150 $(DESTDIR)$(exec_prefix)
2151 .PHONY: installdirs
2152 installdirs: mkinstalldirs
2153 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2155 dir.info: do-install-info
2156 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2157 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2158 mv -f dir.info.new dir.info ; \
2159 else true ; \
2162 dist:
2163 @echo "Building a full distribution of this tree isn't done"
2164 @echo "via 'make dist'. Check out the etc/ subdirectory"
2166 etags tags: TAGS
2168 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2169 # ability to use several tags files at once, so there is probably no need
2170 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2171 # (if we felt like it) have this Makefile write a piece of elisp which
2172 # the user could load to tell emacs19 where all the TAGS files we just
2173 # built are.
2174 TAGS: do-TAGS
2176 # --------------------------------------
2177 # Modules which run on the build machine
2178 # --------------------------------------
2180 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2181 maybe-configure-build-libiberty:
2182 @if build-libiberty
2183 maybe-configure-build-libiberty: configure-build-libiberty
2184 configure-build-libiberty:
2185 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2186 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2187 r=`${PWD_COMMAND}`; export r; \
2188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2189 $(BUILD_EXPORTS) \
2190 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2191 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2192 case $(srcdir) in \
2193 /* | [A-Za-z]:[\\/]*) \
2194 topdir=$(srcdir) ;; \
2195 *) \
2196 case "$(BUILD_SUBDIR)" in \
2197 .) topdir="../$(srcdir)" ;; \
2198 *) topdir="../../$(srcdir)" ;; \
2199 esac ;; \
2200 esac; \
2201 if [ "$(srcdir)" = "." ] ; then \
2202 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2203 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2204 if [ -f Makefile ]; then \
2205 if $(MAKE) distclean; then \
2206 true; \
2207 else \
2208 exit 1; \
2209 fi; \
2210 else \
2211 true; \
2212 fi; \
2213 else \
2214 exit 1; \
2215 fi; \
2216 else \
2217 true; \
2218 fi; \
2219 srcdiroption="--srcdir=."; \
2220 libsrcdir="."; \
2221 else \
2222 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2223 libsrcdir="$$s/libiberty"; \
2224 fi; \
2225 rm -f no-such-file || : ; \
2226 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2227 $(BUILD_CONFIGARGS) $${srcdiroption} \
2228 --with-build-subdir="$(BUILD_SUBDIR)" \
2229 || exit 1
2230 @endif build-libiberty
2232 .PHONY: all-build-libiberty maybe-all-build-libiberty
2233 maybe-all-build-libiberty:
2234 @if build-libiberty
2235 TARGET-build-libiberty=all
2236 maybe-all-build-libiberty: all-build-libiberty
2237 all-build-libiberty: configure-build-libiberty
2238 @r=`${PWD_COMMAND}`; export r; \
2239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2240 $(BUILD_EXPORTS) \
2241 (cd $(BUILD_SUBDIR)/libiberty && \
2242 $(MAKE) $(TARGET-build-libiberty))
2243 @endif build-libiberty
2245 .PHONY: configure-build-bison maybe-configure-build-bison
2246 maybe-configure-build-bison:
2247 @if build-bison
2248 maybe-configure-build-bison: configure-build-bison
2249 configure-build-bison:
2250 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2251 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2252 r=`${PWD_COMMAND}`; export r; \
2253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2254 $(BUILD_EXPORTS) \
2255 echo Configuring in $(BUILD_SUBDIR)/bison; \
2256 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2257 case $(srcdir) in \
2258 /* | [A-Za-z]:[\\/]*) \
2259 topdir=$(srcdir) ;; \
2260 *) \
2261 case "$(BUILD_SUBDIR)" in \
2262 .) topdir="../$(srcdir)" ;; \
2263 *) topdir="../../$(srcdir)" ;; \
2264 esac ;; \
2265 esac; \
2266 if [ "$(srcdir)" = "." ] ; then \
2267 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2268 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2269 if [ -f Makefile ]; then \
2270 if $(MAKE) distclean; then \
2271 true; \
2272 else \
2273 exit 1; \
2274 fi; \
2275 else \
2276 true; \
2277 fi; \
2278 else \
2279 exit 1; \
2280 fi; \
2281 else \
2282 true; \
2283 fi; \
2284 srcdiroption="--srcdir=."; \
2285 libsrcdir="."; \
2286 else \
2287 srcdiroption="--srcdir=$${topdir}/bison"; \
2288 libsrcdir="$$s/bison"; \
2289 fi; \
2290 rm -f no-such-file || : ; \
2291 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2292 $(BUILD_CONFIGARGS) $${srcdiroption} \
2293 --with-build-subdir="$(BUILD_SUBDIR)" \
2294 || exit 1
2295 @endif build-bison
2297 .PHONY: all-build-bison maybe-all-build-bison
2298 maybe-all-build-bison:
2299 @if build-bison
2300 TARGET-build-bison=all
2301 maybe-all-build-bison: all-build-bison
2302 all-build-bison: configure-build-bison
2303 @r=`${PWD_COMMAND}`; export r; \
2304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2305 $(BUILD_EXPORTS) \
2306 (cd $(BUILD_SUBDIR)/bison && \
2307 $(MAKE) $(TARGET-build-bison))
2308 @endif build-bison
2310 .PHONY: configure-build-byacc maybe-configure-build-byacc
2311 maybe-configure-build-byacc:
2312 @if build-byacc
2313 maybe-configure-build-byacc: configure-build-byacc
2314 configure-build-byacc:
2315 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2316 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2317 r=`${PWD_COMMAND}`; export r; \
2318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2319 $(BUILD_EXPORTS) \
2320 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2321 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2322 case $(srcdir) in \
2323 /* | [A-Za-z]:[\\/]*) \
2324 topdir=$(srcdir) ;; \
2325 *) \
2326 case "$(BUILD_SUBDIR)" in \
2327 .) topdir="../$(srcdir)" ;; \
2328 *) topdir="../../$(srcdir)" ;; \
2329 esac ;; \
2330 esac; \
2331 if [ "$(srcdir)" = "." ] ; then \
2332 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2333 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2334 if [ -f Makefile ]; then \
2335 if $(MAKE) distclean; then \
2336 true; \
2337 else \
2338 exit 1; \
2339 fi; \
2340 else \
2341 true; \
2342 fi; \
2343 else \
2344 exit 1; \
2345 fi; \
2346 else \
2347 true; \
2348 fi; \
2349 srcdiroption="--srcdir=."; \
2350 libsrcdir="."; \
2351 else \
2352 srcdiroption="--srcdir=$${topdir}/byacc"; \
2353 libsrcdir="$$s/byacc"; \
2354 fi; \
2355 rm -f no-such-file || : ; \
2356 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2357 $(BUILD_CONFIGARGS) $${srcdiroption} \
2358 --with-build-subdir="$(BUILD_SUBDIR)" \
2359 || exit 1
2360 @endif build-byacc
2362 .PHONY: all-build-byacc maybe-all-build-byacc
2363 maybe-all-build-byacc:
2364 @if build-byacc
2365 TARGET-build-byacc=all
2366 maybe-all-build-byacc: all-build-byacc
2367 all-build-byacc: configure-build-byacc
2368 @r=`${PWD_COMMAND}`; export r; \
2369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2370 $(BUILD_EXPORTS) \
2371 (cd $(BUILD_SUBDIR)/byacc && \
2372 $(MAKE) $(TARGET-build-byacc))
2373 @endif build-byacc
2375 .PHONY: configure-build-flex maybe-configure-build-flex
2376 maybe-configure-build-flex:
2377 @if build-flex
2378 maybe-configure-build-flex: configure-build-flex
2379 configure-build-flex:
2380 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2381 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2382 r=`${PWD_COMMAND}`; export r; \
2383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2384 $(BUILD_EXPORTS) \
2385 echo Configuring in $(BUILD_SUBDIR)/flex; \
2386 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2387 case $(srcdir) in \
2388 /* | [A-Za-z]:[\\/]*) \
2389 topdir=$(srcdir) ;; \
2390 *) \
2391 case "$(BUILD_SUBDIR)" in \
2392 .) topdir="../$(srcdir)" ;; \
2393 *) topdir="../../$(srcdir)" ;; \
2394 esac ;; \
2395 esac; \
2396 if [ "$(srcdir)" = "." ] ; then \
2397 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2398 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2399 if [ -f Makefile ]; then \
2400 if $(MAKE) distclean; then \
2401 true; \
2402 else \
2403 exit 1; \
2404 fi; \
2405 else \
2406 true; \
2407 fi; \
2408 else \
2409 exit 1; \
2410 fi; \
2411 else \
2412 true; \
2413 fi; \
2414 srcdiroption="--srcdir=."; \
2415 libsrcdir="."; \
2416 else \
2417 srcdiroption="--srcdir=$${topdir}/flex"; \
2418 libsrcdir="$$s/flex"; \
2419 fi; \
2420 rm -f no-such-file || : ; \
2421 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2422 $(BUILD_CONFIGARGS) $${srcdiroption} \
2423 --with-build-subdir="$(BUILD_SUBDIR)" \
2424 || exit 1
2425 @endif build-flex
2427 .PHONY: all-build-flex maybe-all-build-flex
2428 maybe-all-build-flex:
2429 @if build-flex
2430 TARGET-build-flex=all
2431 maybe-all-build-flex: all-build-flex
2432 all-build-flex: configure-build-flex
2433 @r=`${PWD_COMMAND}`; export r; \
2434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2435 $(BUILD_EXPORTS) \
2436 (cd $(BUILD_SUBDIR)/flex && \
2437 $(MAKE) $(TARGET-build-flex))
2438 @endif build-flex
2440 .PHONY: configure-build-m4 maybe-configure-build-m4
2441 maybe-configure-build-m4:
2442 @if build-m4
2443 maybe-configure-build-m4: configure-build-m4
2444 configure-build-m4:
2445 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2446 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2447 r=`${PWD_COMMAND}`; export r; \
2448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2449 $(BUILD_EXPORTS) \
2450 echo Configuring in $(BUILD_SUBDIR)/m4; \
2451 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2452 case $(srcdir) in \
2453 /* | [A-Za-z]:[\\/]*) \
2454 topdir=$(srcdir) ;; \
2455 *) \
2456 case "$(BUILD_SUBDIR)" in \
2457 .) topdir="../$(srcdir)" ;; \
2458 *) topdir="../../$(srcdir)" ;; \
2459 esac ;; \
2460 esac; \
2461 if [ "$(srcdir)" = "." ] ; then \
2462 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2463 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2464 if [ -f Makefile ]; then \
2465 if $(MAKE) distclean; then \
2466 true; \
2467 else \
2468 exit 1; \
2469 fi; \
2470 else \
2471 true; \
2472 fi; \
2473 else \
2474 exit 1; \
2475 fi; \
2476 else \
2477 true; \
2478 fi; \
2479 srcdiroption="--srcdir=."; \
2480 libsrcdir="."; \
2481 else \
2482 srcdiroption="--srcdir=$${topdir}/m4"; \
2483 libsrcdir="$$s/m4"; \
2484 fi; \
2485 rm -f no-such-file || : ; \
2486 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2487 $(BUILD_CONFIGARGS) $${srcdiroption} \
2488 --with-build-subdir="$(BUILD_SUBDIR)" \
2489 || exit 1
2490 @endif build-m4
2492 .PHONY: all-build-m4 maybe-all-build-m4
2493 maybe-all-build-m4:
2494 @if build-m4
2495 TARGET-build-m4=all
2496 maybe-all-build-m4: all-build-m4
2497 all-build-m4: configure-build-m4
2498 @r=`${PWD_COMMAND}`; export r; \
2499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2500 $(BUILD_EXPORTS) \
2501 (cd $(BUILD_SUBDIR)/m4 && \
2502 $(MAKE) $(TARGET-build-m4))
2503 @endif build-m4
2505 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2506 maybe-configure-build-texinfo:
2507 @if build-texinfo
2508 maybe-configure-build-texinfo: configure-build-texinfo
2509 configure-build-texinfo:
2510 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2511 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2512 r=`${PWD_COMMAND}`; export r; \
2513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2514 $(BUILD_EXPORTS) \
2515 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2516 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2517 case $(srcdir) in \
2518 /* | [A-Za-z]:[\\/]*) \
2519 topdir=$(srcdir) ;; \
2520 *) \
2521 case "$(BUILD_SUBDIR)" in \
2522 .) topdir="../$(srcdir)" ;; \
2523 *) topdir="../../$(srcdir)" ;; \
2524 esac ;; \
2525 esac; \
2526 if [ "$(srcdir)" = "." ] ; then \
2527 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2528 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2529 if [ -f Makefile ]; then \
2530 if $(MAKE) distclean; then \
2531 true; \
2532 else \
2533 exit 1; \
2534 fi; \
2535 else \
2536 true; \
2537 fi; \
2538 else \
2539 exit 1; \
2540 fi; \
2541 else \
2542 true; \
2543 fi; \
2544 srcdiroption="--srcdir=."; \
2545 libsrcdir="."; \
2546 else \
2547 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2548 libsrcdir="$$s/texinfo"; \
2549 fi; \
2550 rm -f no-such-file || : ; \
2551 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2552 $(BUILD_CONFIGARGS) $${srcdiroption} \
2553 --with-build-subdir="$(BUILD_SUBDIR)" \
2554 || exit 1
2555 @endif build-texinfo
2557 .PHONY: all-build-texinfo maybe-all-build-texinfo
2558 maybe-all-build-texinfo:
2559 @if build-texinfo
2560 TARGET-build-texinfo=all
2561 maybe-all-build-texinfo: all-build-texinfo
2562 all-build-texinfo: configure-build-texinfo
2563 @r=`${PWD_COMMAND}`; export r; \
2564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2565 $(BUILD_EXPORTS) \
2566 (cd $(BUILD_SUBDIR)/texinfo && \
2567 $(MAKE) $(TARGET-build-texinfo))
2568 @endif build-texinfo
2570 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2571 maybe-configure-build-fixincludes:
2572 @if build-fixincludes
2573 maybe-configure-build-fixincludes: configure-build-fixincludes
2574 configure-build-fixincludes:
2575 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2576 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2577 r=`${PWD_COMMAND}`; export r; \
2578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2579 $(BUILD_EXPORTS) \
2580 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2581 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2582 case $(srcdir) in \
2583 /* | [A-Za-z]:[\\/]*) \
2584 topdir=$(srcdir) ;; \
2585 *) \
2586 case "$(BUILD_SUBDIR)" in \
2587 .) topdir="../$(srcdir)" ;; \
2588 *) topdir="../../$(srcdir)" ;; \
2589 esac ;; \
2590 esac; \
2591 if [ "$(srcdir)" = "." ] ; then \
2592 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2593 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2594 if [ -f Makefile ]; then \
2595 if $(MAKE) distclean; then \
2596 true; \
2597 else \
2598 exit 1; \
2599 fi; \
2600 else \
2601 true; \
2602 fi; \
2603 else \
2604 exit 1; \
2605 fi; \
2606 else \
2607 true; \
2608 fi; \
2609 srcdiroption="--srcdir=."; \
2610 libsrcdir="."; \
2611 else \
2612 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2613 libsrcdir="$$s/fixincludes"; \
2614 fi; \
2615 rm -f no-such-file || : ; \
2616 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2617 $(BUILD_CONFIGARGS) $${srcdiroption} \
2618 --with-build-subdir="$(BUILD_SUBDIR)" \
2619 || exit 1
2620 @endif build-fixincludes
2622 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2623 maybe-all-build-fixincludes:
2624 @if build-fixincludes
2625 TARGET-build-fixincludes=all
2626 maybe-all-build-fixincludes: all-build-fixincludes
2627 all-build-fixincludes: configure-build-fixincludes
2628 @r=`${PWD_COMMAND}`; export r; \
2629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2630 $(BUILD_EXPORTS) \
2631 (cd $(BUILD_SUBDIR)/fixincludes && \
2632 $(MAKE) $(TARGET-build-fixincludes))
2633 @endif build-fixincludes
2636 # --------------------------------------
2637 # Modules which run on the host machine
2638 # --------------------------------------
2640 .PHONY: configure-ash maybe-configure-ash
2641 maybe-configure-ash:
2642 @if ash
2643 maybe-configure-ash: configure-ash
2644 configure-ash:
2645 @test ! -f ash/Makefile || exit 0; \
2646 [ -d ash ] || mkdir ash; \
2647 r=`${PWD_COMMAND}`; export r; \
2648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2649 $(HOST_EXPORTS) \
2650 echo Configuring in ash; \
2651 cd ash || exit 1; \
2652 case $(srcdir) in \
2653 \.) \
2654 srcdiroption="--srcdir=."; \
2655 libsrcdir=".";; \
2656 /* | [A-Za-z]:[\\/]*) \
2657 srcdiroption="--srcdir=$(srcdir)/ash"; \
2658 libsrcdir="$$s/ash";; \
2659 *) \
2660 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2661 libsrcdir="$$s/ash";; \
2662 esac; \
2663 $(SHELL) $${libsrcdir}/configure \
2664 $(HOST_CONFIGARGS) $${srcdiroption} \
2665 || exit 1
2666 @endif ash
2668 .PHONY: all-ash maybe-all-ash
2669 maybe-all-ash:
2670 @if ash
2671 TARGET-ash=all
2672 maybe-all-ash: all-ash
2673 all-ash: configure-ash
2674 @r=`${PWD_COMMAND}`; export r; \
2675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2676 $(SET_LIB_PATH) \
2677 $(HOST_EXPORTS) \
2678 (cd ash && $(MAKE) $(FLAGS_TO_PASS) \
2679 $(TARGET-ash))
2680 @endif ash
2682 .PHONY: check-ash maybe-check-ash
2683 maybe-check-ash:
2684 @if ash
2685 maybe-check-ash: check-ash
2687 check-ash:
2688 @r=`${PWD_COMMAND}`; export r; \
2689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2690 $(SET_LIB_PATH) \
2691 $(HOST_EXPORTS) \
2692 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2694 @endif ash
2696 .PHONY: install-ash maybe-install-ash
2697 maybe-install-ash:
2698 @if ash
2699 maybe-install-ash: install-ash
2701 install-ash: installdirs
2702 @r=`${PWD_COMMAND}`; export r; \
2703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2704 $(SET_LIB_PATH) \
2705 $(HOST_EXPORTS) \
2706 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2708 @endif ash
2710 # Other targets (info, dvi, etc.)
2712 .PHONY: maybe-info-ash info-ash
2713 maybe-info-ash:
2714 @if ash
2715 maybe-info-ash: info-ash
2717 info-ash: \
2718 configure-ash
2719 @[ -f ./ash/Makefile ] || exit 0; \
2720 r=`${PWD_COMMAND}`; export r; \
2721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2722 $(SET_LIB_PATH) \
2723 $(HOST_EXPORTS) \
2724 for flag in $(EXTRA_HOST_FLAGS) ; do \
2725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2726 done; \
2727 echo "Doing info in ash" ; \
2728 (cd ash && \
2729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2731 "RANLIB=$${RANLIB}" \
2732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2733 info) \
2734 || exit 1
2736 @endif ash
2738 .PHONY: maybe-dvi-ash dvi-ash
2739 maybe-dvi-ash:
2740 @if ash
2741 maybe-dvi-ash: dvi-ash
2743 dvi-ash: \
2744 configure-ash
2745 @[ -f ./ash/Makefile ] || exit 0; \
2746 r=`${PWD_COMMAND}`; export r; \
2747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2748 $(SET_LIB_PATH) \
2749 $(HOST_EXPORTS) \
2750 for flag in $(EXTRA_HOST_FLAGS) ; do \
2751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2752 done; \
2753 echo "Doing dvi in ash" ; \
2754 (cd ash && \
2755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2757 "RANLIB=$${RANLIB}" \
2758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2759 dvi) \
2760 || exit 1
2762 @endif ash
2764 .PHONY: maybe-html-ash html-ash
2765 maybe-html-ash:
2766 @if ash
2767 maybe-html-ash: html-ash
2769 html-ash: \
2770 configure-ash
2771 @[ -f ./ash/Makefile ] || exit 0; \
2772 r=`${PWD_COMMAND}`; export r; \
2773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2774 $(SET_LIB_PATH) \
2775 $(HOST_EXPORTS) \
2776 for flag in $(EXTRA_HOST_FLAGS) ; do \
2777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2778 done; \
2779 echo "Doing html in ash" ; \
2780 (cd ash && \
2781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2783 "RANLIB=$${RANLIB}" \
2784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2785 html) \
2786 || exit 1
2788 @endif ash
2790 .PHONY: maybe-TAGS-ash TAGS-ash
2791 maybe-TAGS-ash:
2792 @if ash
2793 maybe-TAGS-ash: TAGS-ash
2795 TAGS-ash: \
2796 configure-ash
2797 @[ -f ./ash/Makefile ] || exit 0; \
2798 r=`${PWD_COMMAND}`; export r; \
2799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2800 $(SET_LIB_PATH) \
2801 $(HOST_EXPORTS) \
2802 for flag in $(EXTRA_HOST_FLAGS) ; do \
2803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2804 done; \
2805 echo "Doing TAGS in ash" ; \
2806 (cd ash && \
2807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2809 "RANLIB=$${RANLIB}" \
2810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2811 TAGS) \
2812 || exit 1
2814 @endif ash
2816 .PHONY: maybe-install-info-ash install-info-ash
2817 maybe-install-info-ash:
2818 @if ash
2819 maybe-install-info-ash: install-info-ash
2821 install-info-ash: \
2822 configure-ash \
2823 info-ash
2824 @[ -f ./ash/Makefile ] || exit 0; \
2825 r=`${PWD_COMMAND}`; export r; \
2826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2827 $(SET_LIB_PATH) \
2828 $(HOST_EXPORTS) \
2829 for flag in $(EXTRA_HOST_FLAGS) ; do \
2830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2831 done; \
2832 echo "Doing install-info in ash" ; \
2833 (cd ash && \
2834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2836 "RANLIB=$${RANLIB}" \
2837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2838 install-info) \
2839 || exit 1
2841 @endif ash
2843 .PHONY: maybe-installcheck-ash installcheck-ash
2844 maybe-installcheck-ash:
2845 @if ash
2846 maybe-installcheck-ash: installcheck-ash
2848 installcheck-ash: \
2849 configure-ash
2850 @[ -f ./ash/Makefile ] || exit 0; \
2851 r=`${PWD_COMMAND}`; export r; \
2852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2853 $(SET_LIB_PATH) \
2854 $(HOST_EXPORTS) \
2855 for flag in $(EXTRA_HOST_FLAGS) ; do \
2856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2857 done; \
2858 echo "Doing installcheck in ash" ; \
2859 (cd ash && \
2860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2862 "RANLIB=$${RANLIB}" \
2863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2864 installcheck) \
2865 || exit 1
2867 @endif ash
2869 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2870 maybe-mostlyclean-ash:
2871 @if ash
2872 maybe-mostlyclean-ash: mostlyclean-ash
2874 mostlyclean-ash:
2875 @[ -f ./ash/Makefile ] || exit 0; \
2876 r=`${PWD_COMMAND}`; export r; \
2877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2878 $(SET_LIB_PATH) \
2879 $(HOST_EXPORTS) \
2880 for flag in $(EXTRA_HOST_FLAGS) ; do \
2881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2882 done; \
2883 echo "Doing mostlyclean in ash" ; \
2884 (cd ash && \
2885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2887 "RANLIB=$${RANLIB}" \
2888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2889 mostlyclean) \
2890 || exit 1
2892 @endif ash
2894 .PHONY: maybe-clean-ash clean-ash
2895 maybe-clean-ash:
2896 @if ash
2897 maybe-clean-ash: clean-ash
2899 clean-ash:
2900 @[ -f ./ash/Makefile ] || exit 0; \
2901 r=`${PWD_COMMAND}`; export r; \
2902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2903 $(SET_LIB_PATH) \
2904 $(HOST_EXPORTS) \
2905 for flag in $(EXTRA_HOST_FLAGS) ; do \
2906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2907 done; \
2908 echo "Doing clean in ash" ; \
2909 (cd ash && \
2910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2912 "RANLIB=$${RANLIB}" \
2913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2914 clean) \
2915 || exit 1
2917 @endif ash
2919 .PHONY: maybe-distclean-ash distclean-ash
2920 maybe-distclean-ash:
2921 @if ash
2922 maybe-distclean-ash: distclean-ash
2924 distclean-ash:
2925 @[ -f ./ash/Makefile ] || exit 0; \
2926 r=`${PWD_COMMAND}`; export r; \
2927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2928 $(SET_LIB_PATH) \
2929 $(HOST_EXPORTS) \
2930 for flag in $(EXTRA_HOST_FLAGS) ; do \
2931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2932 done; \
2933 echo "Doing distclean in ash" ; \
2934 (cd ash && \
2935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2937 "RANLIB=$${RANLIB}" \
2938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2939 distclean) \
2940 || exit 1
2942 @endif ash
2944 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2945 maybe-maintainer-clean-ash:
2946 @if ash
2947 maybe-maintainer-clean-ash: maintainer-clean-ash
2949 maintainer-clean-ash:
2950 @[ -f ./ash/Makefile ] || exit 0; \
2951 r=`${PWD_COMMAND}`; export r; \
2952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2953 $(SET_LIB_PATH) \
2954 $(HOST_EXPORTS) \
2955 for flag in $(EXTRA_HOST_FLAGS) ; do \
2956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2957 done; \
2958 echo "Doing maintainer-clean in ash" ; \
2959 (cd ash && \
2960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2962 "RANLIB=$${RANLIB}" \
2963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2964 maintainer-clean) \
2965 || exit 1
2967 @endif ash
2970 .PHONY: configure-autoconf maybe-configure-autoconf
2971 maybe-configure-autoconf:
2972 @if autoconf
2973 maybe-configure-autoconf: configure-autoconf
2974 configure-autoconf:
2975 @test ! -f autoconf/Makefile || exit 0; \
2976 [ -d autoconf ] || mkdir autoconf; \
2977 r=`${PWD_COMMAND}`; export r; \
2978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2979 $(HOST_EXPORTS) \
2980 echo Configuring in autoconf; \
2981 cd autoconf || exit 1; \
2982 case $(srcdir) in \
2983 \.) \
2984 srcdiroption="--srcdir=."; \
2985 libsrcdir=".";; \
2986 /* | [A-Za-z]:[\\/]*) \
2987 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2988 libsrcdir="$$s/autoconf";; \
2989 *) \
2990 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2991 libsrcdir="$$s/autoconf";; \
2992 esac; \
2993 $(SHELL) $${libsrcdir}/configure \
2994 $(HOST_CONFIGARGS) $${srcdiroption} \
2995 || exit 1
2996 @endif autoconf
2998 .PHONY: all-autoconf maybe-all-autoconf
2999 maybe-all-autoconf:
3000 @if autoconf
3001 TARGET-autoconf=all
3002 maybe-all-autoconf: all-autoconf
3003 all-autoconf: configure-autoconf
3004 @r=`${PWD_COMMAND}`; export r; \
3005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3006 $(SET_LIB_PATH) \
3007 $(HOST_EXPORTS) \
3008 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) \
3009 $(TARGET-autoconf))
3010 @endif autoconf
3012 .PHONY: check-autoconf maybe-check-autoconf
3013 maybe-check-autoconf:
3014 @if autoconf
3015 maybe-check-autoconf: check-autoconf
3017 check-autoconf:
3018 @r=`${PWD_COMMAND}`; export r; \
3019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3020 $(SET_LIB_PATH) \
3021 $(HOST_EXPORTS) \
3022 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
3024 @endif autoconf
3026 .PHONY: install-autoconf maybe-install-autoconf
3027 maybe-install-autoconf:
3028 @if autoconf
3029 maybe-install-autoconf: install-autoconf
3031 install-autoconf: installdirs
3032 @r=`${PWD_COMMAND}`; export r; \
3033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3034 $(SET_LIB_PATH) \
3035 $(HOST_EXPORTS) \
3036 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
3038 @endif autoconf
3040 # Other targets (info, dvi, etc.)
3042 .PHONY: maybe-info-autoconf info-autoconf
3043 maybe-info-autoconf:
3044 @if autoconf
3045 maybe-info-autoconf: info-autoconf
3047 info-autoconf: \
3048 configure-autoconf
3049 @[ -f ./autoconf/Makefile ] || exit 0; \
3050 r=`${PWD_COMMAND}`; export r; \
3051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3052 $(SET_LIB_PATH) \
3053 $(HOST_EXPORTS) \
3054 for flag in $(EXTRA_HOST_FLAGS) ; do \
3055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3056 done; \
3057 echo "Doing info in autoconf" ; \
3058 (cd autoconf && \
3059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3061 "RANLIB=$${RANLIB}" \
3062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3063 info) \
3064 || exit 1
3066 @endif autoconf
3068 .PHONY: maybe-dvi-autoconf dvi-autoconf
3069 maybe-dvi-autoconf:
3070 @if autoconf
3071 maybe-dvi-autoconf: dvi-autoconf
3073 dvi-autoconf: \
3074 configure-autoconf
3075 @[ -f ./autoconf/Makefile ] || exit 0; \
3076 r=`${PWD_COMMAND}`; export r; \
3077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3078 $(SET_LIB_PATH) \
3079 $(HOST_EXPORTS) \
3080 for flag in $(EXTRA_HOST_FLAGS) ; do \
3081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3082 done; \
3083 echo "Doing dvi in autoconf" ; \
3084 (cd autoconf && \
3085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3087 "RANLIB=$${RANLIB}" \
3088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3089 dvi) \
3090 || exit 1
3092 @endif autoconf
3094 .PHONY: maybe-html-autoconf html-autoconf
3095 maybe-html-autoconf:
3096 @if autoconf
3097 maybe-html-autoconf: html-autoconf
3099 html-autoconf: \
3100 configure-autoconf
3101 @[ -f ./autoconf/Makefile ] || exit 0; \
3102 r=`${PWD_COMMAND}`; export r; \
3103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3104 $(SET_LIB_PATH) \
3105 $(HOST_EXPORTS) \
3106 for flag in $(EXTRA_HOST_FLAGS) ; do \
3107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3108 done; \
3109 echo "Doing html in autoconf" ; \
3110 (cd autoconf && \
3111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3113 "RANLIB=$${RANLIB}" \
3114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3115 html) \
3116 || exit 1
3118 @endif autoconf
3120 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3121 maybe-TAGS-autoconf:
3122 @if autoconf
3123 maybe-TAGS-autoconf: TAGS-autoconf
3125 TAGS-autoconf: \
3126 configure-autoconf
3127 @[ -f ./autoconf/Makefile ] || exit 0; \
3128 r=`${PWD_COMMAND}`; export r; \
3129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3130 $(SET_LIB_PATH) \
3131 $(HOST_EXPORTS) \
3132 for flag in $(EXTRA_HOST_FLAGS) ; do \
3133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3134 done; \
3135 echo "Doing TAGS in autoconf" ; \
3136 (cd autoconf && \
3137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3139 "RANLIB=$${RANLIB}" \
3140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3141 TAGS) \
3142 || exit 1
3144 @endif autoconf
3146 .PHONY: maybe-install-info-autoconf install-info-autoconf
3147 maybe-install-info-autoconf:
3148 @if autoconf
3149 maybe-install-info-autoconf: install-info-autoconf
3151 install-info-autoconf: \
3152 configure-autoconf \
3153 info-autoconf
3154 @[ -f ./autoconf/Makefile ] || exit 0; \
3155 r=`${PWD_COMMAND}`; export r; \
3156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3157 $(SET_LIB_PATH) \
3158 $(HOST_EXPORTS) \
3159 for flag in $(EXTRA_HOST_FLAGS) ; do \
3160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3161 done; \
3162 echo "Doing install-info in autoconf" ; \
3163 (cd autoconf && \
3164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3166 "RANLIB=$${RANLIB}" \
3167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3168 install-info) \
3169 || exit 1
3171 @endif autoconf
3173 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3174 maybe-installcheck-autoconf:
3175 @if autoconf
3176 maybe-installcheck-autoconf: installcheck-autoconf
3178 installcheck-autoconf: \
3179 configure-autoconf
3180 @[ -f ./autoconf/Makefile ] || exit 0; \
3181 r=`${PWD_COMMAND}`; export r; \
3182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3183 $(SET_LIB_PATH) \
3184 $(HOST_EXPORTS) \
3185 for flag in $(EXTRA_HOST_FLAGS) ; do \
3186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3187 done; \
3188 echo "Doing installcheck in autoconf" ; \
3189 (cd autoconf && \
3190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3192 "RANLIB=$${RANLIB}" \
3193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3194 installcheck) \
3195 || exit 1
3197 @endif autoconf
3199 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3200 maybe-mostlyclean-autoconf:
3201 @if autoconf
3202 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3204 mostlyclean-autoconf:
3205 @[ -f ./autoconf/Makefile ] || exit 0; \
3206 r=`${PWD_COMMAND}`; export r; \
3207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3208 $(SET_LIB_PATH) \
3209 $(HOST_EXPORTS) \
3210 for flag in $(EXTRA_HOST_FLAGS) ; do \
3211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3212 done; \
3213 echo "Doing mostlyclean in autoconf" ; \
3214 (cd autoconf && \
3215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3217 "RANLIB=$${RANLIB}" \
3218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3219 mostlyclean) \
3220 || exit 1
3222 @endif autoconf
3224 .PHONY: maybe-clean-autoconf clean-autoconf
3225 maybe-clean-autoconf:
3226 @if autoconf
3227 maybe-clean-autoconf: clean-autoconf
3229 clean-autoconf:
3230 @[ -f ./autoconf/Makefile ] || exit 0; \
3231 r=`${PWD_COMMAND}`; export r; \
3232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3233 $(SET_LIB_PATH) \
3234 $(HOST_EXPORTS) \
3235 for flag in $(EXTRA_HOST_FLAGS) ; do \
3236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3237 done; \
3238 echo "Doing clean in autoconf" ; \
3239 (cd autoconf && \
3240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3242 "RANLIB=$${RANLIB}" \
3243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3244 clean) \
3245 || exit 1
3247 @endif autoconf
3249 .PHONY: maybe-distclean-autoconf distclean-autoconf
3250 maybe-distclean-autoconf:
3251 @if autoconf
3252 maybe-distclean-autoconf: distclean-autoconf
3254 distclean-autoconf:
3255 @[ -f ./autoconf/Makefile ] || exit 0; \
3256 r=`${PWD_COMMAND}`; export r; \
3257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3258 $(SET_LIB_PATH) \
3259 $(HOST_EXPORTS) \
3260 for flag in $(EXTRA_HOST_FLAGS) ; do \
3261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3262 done; \
3263 echo "Doing distclean in autoconf" ; \
3264 (cd autoconf && \
3265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3267 "RANLIB=$${RANLIB}" \
3268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3269 distclean) \
3270 || exit 1
3272 @endif autoconf
3274 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3275 maybe-maintainer-clean-autoconf:
3276 @if autoconf
3277 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3279 maintainer-clean-autoconf:
3280 @[ -f ./autoconf/Makefile ] || exit 0; \
3281 r=`${PWD_COMMAND}`; export r; \
3282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3283 $(SET_LIB_PATH) \
3284 $(HOST_EXPORTS) \
3285 for flag in $(EXTRA_HOST_FLAGS) ; do \
3286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3287 done; \
3288 echo "Doing maintainer-clean in autoconf" ; \
3289 (cd autoconf && \
3290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3292 "RANLIB=$${RANLIB}" \
3293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3294 maintainer-clean) \
3295 || exit 1
3297 @endif autoconf
3300 .PHONY: configure-automake maybe-configure-automake
3301 maybe-configure-automake:
3302 @if automake
3303 maybe-configure-automake: configure-automake
3304 configure-automake:
3305 @test ! -f automake/Makefile || exit 0; \
3306 [ -d automake ] || mkdir automake; \
3307 r=`${PWD_COMMAND}`; export r; \
3308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3309 $(HOST_EXPORTS) \
3310 echo Configuring in automake; \
3311 cd automake || exit 1; \
3312 case $(srcdir) in \
3313 \.) \
3314 srcdiroption="--srcdir=."; \
3315 libsrcdir=".";; \
3316 /* | [A-Za-z]:[\\/]*) \
3317 srcdiroption="--srcdir=$(srcdir)/automake"; \
3318 libsrcdir="$$s/automake";; \
3319 *) \
3320 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3321 libsrcdir="$$s/automake";; \
3322 esac; \
3323 $(SHELL) $${libsrcdir}/configure \
3324 $(HOST_CONFIGARGS) $${srcdiroption} \
3325 || exit 1
3326 @endif automake
3328 .PHONY: all-automake maybe-all-automake
3329 maybe-all-automake:
3330 @if automake
3331 TARGET-automake=all
3332 maybe-all-automake: all-automake
3333 all-automake: configure-automake
3334 @r=`${PWD_COMMAND}`; export r; \
3335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3336 $(SET_LIB_PATH) \
3337 $(HOST_EXPORTS) \
3338 (cd automake && $(MAKE) $(FLAGS_TO_PASS) \
3339 $(TARGET-automake))
3340 @endif automake
3342 .PHONY: check-automake maybe-check-automake
3343 maybe-check-automake:
3344 @if automake
3345 maybe-check-automake: check-automake
3347 check-automake:
3348 @r=`${PWD_COMMAND}`; export r; \
3349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3350 $(SET_LIB_PATH) \
3351 $(HOST_EXPORTS) \
3352 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3354 @endif automake
3356 .PHONY: install-automake maybe-install-automake
3357 maybe-install-automake:
3358 @if automake
3359 maybe-install-automake: install-automake
3361 install-automake: installdirs
3362 @r=`${PWD_COMMAND}`; export r; \
3363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3364 $(SET_LIB_PATH) \
3365 $(HOST_EXPORTS) \
3366 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3368 @endif automake
3370 # Other targets (info, dvi, etc.)
3372 .PHONY: maybe-info-automake info-automake
3373 maybe-info-automake:
3374 @if automake
3375 maybe-info-automake: info-automake
3377 info-automake: \
3378 configure-automake
3379 @[ -f ./automake/Makefile ] || exit 0; \
3380 r=`${PWD_COMMAND}`; export r; \
3381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3382 $(SET_LIB_PATH) \
3383 $(HOST_EXPORTS) \
3384 for flag in $(EXTRA_HOST_FLAGS) ; do \
3385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3386 done; \
3387 echo "Doing info in automake" ; \
3388 (cd automake && \
3389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3391 "RANLIB=$${RANLIB}" \
3392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3393 info) \
3394 || exit 1
3396 @endif automake
3398 .PHONY: maybe-dvi-automake dvi-automake
3399 maybe-dvi-automake:
3400 @if automake
3401 maybe-dvi-automake: dvi-automake
3403 dvi-automake: \
3404 configure-automake
3405 @[ -f ./automake/Makefile ] || exit 0; \
3406 r=`${PWD_COMMAND}`; export r; \
3407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3408 $(SET_LIB_PATH) \
3409 $(HOST_EXPORTS) \
3410 for flag in $(EXTRA_HOST_FLAGS) ; do \
3411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3412 done; \
3413 echo "Doing dvi in automake" ; \
3414 (cd automake && \
3415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3417 "RANLIB=$${RANLIB}" \
3418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3419 dvi) \
3420 || exit 1
3422 @endif automake
3424 .PHONY: maybe-html-automake html-automake
3425 maybe-html-automake:
3426 @if automake
3427 maybe-html-automake: html-automake
3429 html-automake: \
3430 configure-automake
3431 @[ -f ./automake/Makefile ] || exit 0; \
3432 r=`${PWD_COMMAND}`; export r; \
3433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3434 $(SET_LIB_PATH) \
3435 $(HOST_EXPORTS) \
3436 for flag in $(EXTRA_HOST_FLAGS) ; do \
3437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3438 done; \
3439 echo "Doing html in automake" ; \
3440 (cd automake && \
3441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3443 "RANLIB=$${RANLIB}" \
3444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3445 html) \
3446 || exit 1
3448 @endif automake
3450 .PHONY: maybe-TAGS-automake TAGS-automake
3451 maybe-TAGS-automake:
3452 @if automake
3453 maybe-TAGS-automake: TAGS-automake
3455 TAGS-automake: \
3456 configure-automake
3457 @[ -f ./automake/Makefile ] || exit 0; \
3458 r=`${PWD_COMMAND}`; export r; \
3459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3460 $(SET_LIB_PATH) \
3461 $(HOST_EXPORTS) \
3462 for flag in $(EXTRA_HOST_FLAGS) ; do \
3463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3464 done; \
3465 echo "Doing TAGS in automake" ; \
3466 (cd automake && \
3467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3469 "RANLIB=$${RANLIB}" \
3470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3471 TAGS) \
3472 || exit 1
3474 @endif automake
3476 .PHONY: maybe-install-info-automake install-info-automake
3477 maybe-install-info-automake:
3478 @if automake
3479 maybe-install-info-automake: install-info-automake
3481 install-info-automake: \
3482 configure-automake \
3483 info-automake
3484 @[ -f ./automake/Makefile ] || exit 0; \
3485 r=`${PWD_COMMAND}`; export r; \
3486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3487 $(SET_LIB_PATH) \
3488 $(HOST_EXPORTS) \
3489 for flag in $(EXTRA_HOST_FLAGS) ; do \
3490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3491 done; \
3492 echo "Doing install-info in automake" ; \
3493 (cd automake && \
3494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3496 "RANLIB=$${RANLIB}" \
3497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3498 install-info) \
3499 || exit 1
3501 @endif automake
3503 .PHONY: maybe-installcheck-automake installcheck-automake
3504 maybe-installcheck-automake:
3505 @if automake
3506 maybe-installcheck-automake: installcheck-automake
3508 installcheck-automake: \
3509 configure-automake
3510 @[ -f ./automake/Makefile ] || exit 0; \
3511 r=`${PWD_COMMAND}`; export r; \
3512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3513 $(SET_LIB_PATH) \
3514 $(HOST_EXPORTS) \
3515 for flag in $(EXTRA_HOST_FLAGS) ; do \
3516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3517 done; \
3518 echo "Doing installcheck in automake" ; \
3519 (cd automake && \
3520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3522 "RANLIB=$${RANLIB}" \
3523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3524 installcheck) \
3525 || exit 1
3527 @endif automake
3529 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3530 maybe-mostlyclean-automake:
3531 @if automake
3532 maybe-mostlyclean-automake: mostlyclean-automake
3534 mostlyclean-automake:
3535 @[ -f ./automake/Makefile ] || exit 0; \
3536 r=`${PWD_COMMAND}`; export r; \
3537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3538 $(SET_LIB_PATH) \
3539 $(HOST_EXPORTS) \
3540 for flag in $(EXTRA_HOST_FLAGS) ; do \
3541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3542 done; \
3543 echo "Doing mostlyclean in automake" ; \
3544 (cd automake && \
3545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3547 "RANLIB=$${RANLIB}" \
3548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3549 mostlyclean) \
3550 || exit 1
3552 @endif automake
3554 .PHONY: maybe-clean-automake clean-automake
3555 maybe-clean-automake:
3556 @if automake
3557 maybe-clean-automake: clean-automake
3559 clean-automake:
3560 @[ -f ./automake/Makefile ] || exit 0; \
3561 r=`${PWD_COMMAND}`; export r; \
3562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3563 $(SET_LIB_PATH) \
3564 $(HOST_EXPORTS) \
3565 for flag in $(EXTRA_HOST_FLAGS) ; do \
3566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3567 done; \
3568 echo "Doing clean in automake" ; \
3569 (cd automake && \
3570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3572 "RANLIB=$${RANLIB}" \
3573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3574 clean) \
3575 || exit 1
3577 @endif automake
3579 .PHONY: maybe-distclean-automake distclean-automake
3580 maybe-distclean-automake:
3581 @if automake
3582 maybe-distclean-automake: distclean-automake
3584 distclean-automake:
3585 @[ -f ./automake/Makefile ] || exit 0; \
3586 r=`${PWD_COMMAND}`; export r; \
3587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3588 $(SET_LIB_PATH) \
3589 $(HOST_EXPORTS) \
3590 for flag in $(EXTRA_HOST_FLAGS) ; do \
3591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3592 done; \
3593 echo "Doing distclean in automake" ; \
3594 (cd automake && \
3595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3597 "RANLIB=$${RANLIB}" \
3598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3599 distclean) \
3600 || exit 1
3602 @endif automake
3604 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3605 maybe-maintainer-clean-automake:
3606 @if automake
3607 maybe-maintainer-clean-automake: maintainer-clean-automake
3609 maintainer-clean-automake:
3610 @[ -f ./automake/Makefile ] || exit 0; \
3611 r=`${PWD_COMMAND}`; export r; \
3612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3613 $(SET_LIB_PATH) \
3614 $(HOST_EXPORTS) \
3615 for flag in $(EXTRA_HOST_FLAGS) ; do \
3616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3617 done; \
3618 echo "Doing maintainer-clean in automake" ; \
3619 (cd automake && \
3620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3622 "RANLIB=$${RANLIB}" \
3623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3624 maintainer-clean) \
3625 || exit 1
3627 @endif automake
3630 .PHONY: configure-bash maybe-configure-bash
3631 maybe-configure-bash:
3632 @if bash
3633 maybe-configure-bash: configure-bash
3634 configure-bash:
3635 @test ! -f bash/Makefile || exit 0; \
3636 [ -d bash ] || mkdir bash; \
3637 r=`${PWD_COMMAND}`; export r; \
3638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3639 $(HOST_EXPORTS) \
3640 echo Configuring in bash; \
3641 cd bash || exit 1; \
3642 case $(srcdir) in \
3643 \.) \
3644 srcdiroption="--srcdir=."; \
3645 libsrcdir=".";; \
3646 /* | [A-Za-z]:[\\/]*) \
3647 srcdiroption="--srcdir=$(srcdir)/bash"; \
3648 libsrcdir="$$s/bash";; \
3649 *) \
3650 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3651 libsrcdir="$$s/bash";; \
3652 esac; \
3653 $(SHELL) $${libsrcdir}/configure \
3654 $(HOST_CONFIGARGS) $${srcdiroption} \
3655 || exit 1
3656 @endif bash
3658 .PHONY: all-bash maybe-all-bash
3659 maybe-all-bash:
3660 @if bash
3661 TARGET-bash=all
3662 maybe-all-bash: all-bash
3663 all-bash: configure-bash
3664 @r=`${PWD_COMMAND}`; export r; \
3665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3666 $(SET_LIB_PATH) \
3667 $(HOST_EXPORTS) \
3668 (cd bash && $(MAKE) $(FLAGS_TO_PASS) \
3669 $(TARGET-bash))
3670 @endif bash
3672 .PHONY: check-bash maybe-check-bash
3673 maybe-check-bash:
3674 @if bash
3675 maybe-check-bash: check-bash
3677 check-bash:
3678 @r=`${PWD_COMMAND}`; export r; \
3679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3680 $(SET_LIB_PATH) \
3681 $(HOST_EXPORTS) \
3682 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3684 @endif bash
3686 .PHONY: install-bash maybe-install-bash
3687 maybe-install-bash:
3688 @if bash
3689 maybe-install-bash: install-bash
3691 install-bash: installdirs
3692 @r=`${PWD_COMMAND}`; export r; \
3693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3694 $(SET_LIB_PATH) \
3695 $(HOST_EXPORTS) \
3696 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3698 @endif bash
3700 # Other targets (info, dvi, etc.)
3702 .PHONY: maybe-info-bash info-bash
3703 maybe-info-bash:
3704 @if bash
3705 maybe-info-bash: info-bash
3707 info-bash: \
3708 configure-bash
3709 @[ -f ./bash/Makefile ] || exit 0; \
3710 r=`${PWD_COMMAND}`; export r; \
3711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3712 $(SET_LIB_PATH) \
3713 $(HOST_EXPORTS) \
3714 for flag in $(EXTRA_HOST_FLAGS) ; do \
3715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3716 done; \
3717 echo "Doing info in bash" ; \
3718 (cd bash && \
3719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3721 "RANLIB=$${RANLIB}" \
3722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3723 info) \
3724 || exit 1
3726 @endif bash
3728 .PHONY: maybe-dvi-bash dvi-bash
3729 maybe-dvi-bash:
3730 @if bash
3731 maybe-dvi-bash: dvi-bash
3733 dvi-bash: \
3734 configure-bash
3735 @[ -f ./bash/Makefile ] || exit 0; \
3736 r=`${PWD_COMMAND}`; export r; \
3737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3738 $(SET_LIB_PATH) \
3739 $(HOST_EXPORTS) \
3740 for flag in $(EXTRA_HOST_FLAGS) ; do \
3741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3742 done; \
3743 echo "Doing dvi in bash" ; \
3744 (cd bash && \
3745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3747 "RANLIB=$${RANLIB}" \
3748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3749 dvi) \
3750 || exit 1
3752 @endif bash
3754 .PHONY: maybe-html-bash html-bash
3755 maybe-html-bash:
3756 @if bash
3757 maybe-html-bash: html-bash
3759 html-bash: \
3760 configure-bash
3761 @[ -f ./bash/Makefile ] || exit 0; \
3762 r=`${PWD_COMMAND}`; export r; \
3763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3764 $(SET_LIB_PATH) \
3765 $(HOST_EXPORTS) \
3766 for flag in $(EXTRA_HOST_FLAGS) ; do \
3767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3768 done; \
3769 echo "Doing html in bash" ; \
3770 (cd bash && \
3771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3773 "RANLIB=$${RANLIB}" \
3774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3775 html) \
3776 || exit 1
3778 @endif bash
3780 .PHONY: maybe-TAGS-bash TAGS-bash
3781 maybe-TAGS-bash:
3782 @if bash
3783 maybe-TAGS-bash: TAGS-bash
3785 TAGS-bash: \
3786 configure-bash
3787 @[ -f ./bash/Makefile ] || exit 0; \
3788 r=`${PWD_COMMAND}`; export r; \
3789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3790 $(SET_LIB_PATH) \
3791 $(HOST_EXPORTS) \
3792 for flag in $(EXTRA_HOST_FLAGS) ; do \
3793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3794 done; \
3795 echo "Doing TAGS in bash" ; \
3796 (cd bash && \
3797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3799 "RANLIB=$${RANLIB}" \
3800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3801 TAGS) \
3802 || exit 1
3804 @endif bash
3806 .PHONY: maybe-install-info-bash install-info-bash
3807 maybe-install-info-bash:
3808 @if bash
3809 maybe-install-info-bash: install-info-bash
3811 install-info-bash: \
3812 configure-bash \
3813 info-bash
3814 @[ -f ./bash/Makefile ] || exit 0; \
3815 r=`${PWD_COMMAND}`; export r; \
3816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3817 $(SET_LIB_PATH) \
3818 $(HOST_EXPORTS) \
3819 for flag in $(EXTRA_HOST_FLAGS) ; do \
3820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3821 done; \
3822 echo "Doing install-info in bash" ; \
3823 (cd bash && \
3824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3826 "RANLIB=$${RANLIB}" \
3827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3828 install-info) \
3829 || exit 1
3831 @endif bash
3833 .PHONY: maybe-installcheck-bash installcheck-bash
3834 maybe-installcheck-bash:
3835 @if bash
3836 maybe-installcheck-bash: installcheck-bash
3838 installcheck-bash: \
3839 configure-bash
3840 @[ -f ./bash/Makefile ] || exit 0; \
3841 r=`${PWD_COMMAND}`; export r; \
3842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3843 $(SET_LIB_PATH) \
3844 $(HOST_EXPORTS) \
3845 for flag in $(EXTRA_HOST_FLAGS) ; do \
3846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3847 done; \
3848 echo "Doing installcheck in bash" ; \
3849 (cd bash && \
3850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3852 "RANLIB=$${RANLIB}" \
3853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3854 installcheck) \
3855 || exit 1
3857 @endif bash
3859 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3860 maybe-mostlyclean-bash:
3861 @if bash
3862 maybe-mostlyclean-bash: mostlyclean-bash
3864 mostlyclean-bash:
3865 @[ -f ./bash/Makefile ] || exit 0; \
3866 r=`${PWD_COMMAND}`; export r; \
3867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3868 $(SET_LIB_PATH) \
3869 $(HOST_EXPORTS) \
3870 for flag in $(EXTRA_HOST_FLAGS) ; do \
3871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3872 done; \
3873 echo "Doing mostlyclean in bash" ; \
3874 (cd bash && \
3875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3877 "RANLIB=$${RANLIB}" \
3878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3879 mostlyclean) \
3880 || exit 1
3882 @endif bash
3884 .PHONY: maybe-clean-bash clean-bash
3885 maybe-clean-bash:
3886 @if bash
3887 maybe-clean-bash: clean-bash
3889 clean-bash:
3890 @[ -f ./bash/Makefile ] || exit 0; \
3891 r=`${PWD_COMMAND}`; export r; \
3892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3893 $(SET_LIB_PATH) \
3894 $(HOST_EXPORTS) \
3895 for flag in $(EXTRA_HOST_FLAGS) ; do \
3896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3897 done; \
3898 echo "Doing clean in bash" ; \
3899 (cd bash && \
3900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3902 "RANLIB=$${RANLIB}" \
3903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3904 clean) \
3905 || exit 1
3907 @endif bash
3909 .PHONY: maybe-distclean-bash distclean-bash
3910 maybe-distclean-bash:
3911 @if bash
3912 maybe-distclean-bash: distclean-bash
3914 distclean-bash:
3915 @[ -f ./bash/Makefile ] || exit 0; \
3916 r=`${PWD_COMMAND}`; export r; \
3917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3918 $(SET_LIB_PATH) \
3919 $(HOST_EXPORTS) \
3920 for flag in $(EXTRA_HOST_FLAGS) ; do \
3921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3922 done; \
3923 echo "Doing distclean in bash" ; \
3924 (cd bash && \
3925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3927 "RANLIB=$${RANLIB}" \
3928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3929 distclean) \
3930 || exit 1
3932 @endif bash
3934 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3935 maybe-maintainer-clean-bash:
3936 @if bash
3937 maybe-maintainer-clean-bash: maintainer-clean-bash
3939 maintainer-clean-bash:
3940 @[ -f ./bash/Makefile ] || exit 0; \
3941 r=`${PWD_COMMAND}`; export r; \
3942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3943 $(SET_LIB_PATH) \
3944 $(HOST_EXPORTS) \
3945 for flag in $(EXTRA_HOST_FLAGS) ; do \
3946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3947 done; \
3948 echo "Doing maintainer-clean in bash" ; \
3949 (cd bash && \
3950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3952 "RANLIB=$${RANLIB}" \
3953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3954 maintainer-clean) \
3955 || exit 1
3957 @endif bash
3960 .PHONY: configure-bfd maybe-configure-bfd
3961 maybe-configure-bfd:
3962 @if bfd
3963 maybe-configure-bfd: configure-bfd
3964 configure-bfd:
3965 @test -f stage_last && exit 0; \
3966 test ! -f bfd/Makefile || exit 0; \
3967 [ -d bfd ] || mkdir bfd; \
3968 r=`${PWD_COMMAND}`; export r; \
3969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3970 $(HOST_EXPORTS) \
3971 echo Configuring in bfd; \
3972 cd bfd || exit 1; \
3973 case $(srcdir) in \
3974 \.) \
3975 srcdiroption="--srcdir=."; \
3976 libsrcdir=".";; \
3977 /* | [A-Za-z]:[\\/]*) \
3978 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3979 libsrcdir="$$s/bfd";; \
3980 *) \
3981 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3982 libsrcdir="$$s/bfd";; \
3983 esac; \
3984 $(SHELL) $${libsrcdir}/configure \
3985 $(HOST_CONFIGARGS) $${srcdiroption} \
3986 || exit 1
3987 @endif bfd
3989 .PHONY: all-bfd maybe-all-bfd
3990 maybe-all-bfd:
3991 @if bfd
3992 TARGET-bfd=all
3993 maybe-all-bfd: all-bfd
3994 all-bfd: configure-bfd
3995 @test -f stage_last && exit 0; \
3996 r=`${PWD_COMMAND}`; export r; \
3997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3998 $(SET_LIB_PATH) \
3999 $(HOST_EXPORTS) \
4000 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) \
4001 $(TARGET-bfd))
4002 @endif bfd
4004 .PHONY: check-bfd maybe-check-bfd
4005 maybe-check-bfd:
4006 @if bfd
4007 maybe-check-bfd: check-bfd
4009 check-bfd:
4010 @r=`${PWD_COMMAND}`; export r; \
4011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4012 $(SET_LIB_PATH) \
4013 $(HOST_EXPORTS) \
4014 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
4016 @endif bfd
4018 .PHONY: install-bfd maybe-install-bfd
4019 maybe-install-bfd:
4020 @if bfd
4021 maybe-install-bfd: install-bfd
4023 install-bfd: installdirs
4024 @r=`${PWD_COMMAND}`; export r; \
4025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4026 $(SET_LIB_PATH) \
4027 $(HOST_EXPORTS) \
4028 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
4030 @endif bfd
4032 # Other targets (info, dvi, etc.)
4034 .PHONY: maybe-info-bfd info-bfd
4035 maybe-info-bfd:
4036 @if bfd
4037 maybe-info-bfd: info-bfd
4039 info-bfd: \
4040 configure-bfd
4041 @[ -f ./bfd/Makefile ] || exit 0; \
4042 r=`${PWD_COMMAND}`; export r; \
4043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4044 $(SET_LIB_PATH) \
4045 $(HOST_EXPORTS) \
4046 for flag in $(EXTRA_HOST_FLAGS) ; do \
4047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4048 done; \
4049 echo "Doing info in bfd" ; \
4050 (cd bfd && \
4051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4053 "RANLIB=$${RANLIB}" \
4054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4055 info) \
4056 || exit 1
4058 @endif bfd
4060 .PHONY: maybe-dvi-bfd dvi-bfd
4061 maybe-dvi-bfd:
4062 @if bfd
4063 maybe-dvi-bfd: dvi-bfd
4065 dvi-bfd: \
4066 configure-bfd
4067 @[ -f ./bfd/Makefile ] || exit 0; \
4068 r=`${PWD_COMMAND}`; export r; \
4069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4070 $(SET_LIB_PATH) \
4071 $(HOST_EXPORTS) \
4072 for flag in $(EXTRA_HOST_FLAGS) ; do \
4073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4074 done; \
4075 echo "Doing dvi in bfd" ; \
4076 (cd bfd && \
4077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4079 "RANLIB=$${RANLIB}" \
4080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4081 dvi) \
4082 || exit 1
4084 @endif bfd
4086 .PHONY: maybe-html-bfd html-bfd
4087 maybe-html-bfd:
4088 @if bfd
4089 maybe-html-bfd: html-bfd
4091 html-bfd: \
4092 configure-bfd
4093 @[ -f ./bfd/Makefile ] || exit 0; \
4094 r=`${PWD_COMMAND}`; export r; \
4095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4096 $(SET_LIB_PATH) \
4097 $(HOST_EXPORTS) \
4098 for flag in $(EXTRA_HOST_FLAGS) ; do \
4099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4100 done; \
4101 echo "Doing html in bfd" ; \
4102 (cd bfd && \
4103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4105 "RANLIB=$${RANLIB}" \
4106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4107 html) \
4108 || exit 1
4110 @endif bfd
4112 .PHONY: maybe-TAGS-bfd TAGS-bfd
4113 maybe-TAGS-bfd:
4114 @if bfd
4115 maybe-TAGS-bfd: TAGS-bfd
4117 TAGS-bfd: \
4118 configure-bfd
4119 @[ -f ./bfd/Makefile ] || exit 0; \
4120 r=`${PWD_COMMAND}`; export r; \
4121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4122 $(SET_LIB_PATH) \
4123 $(HOST_EXPORTS) \
4124 for flag in $(EXTRA_HOST_FLAGS) ; do \
4125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4126 done; \
4127 echo "Doing TAGS in bfd" ; \
4128 (cd bfd && \
4129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4131 "RANLIB=$${RANLIB}" \
4132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4133 TAGS) \
4134 || exit 1
4136 @endif bfd
4138 .PHONY: maybe-install-info-bfd install-info-bfd
4139 maybe-install-info-bfd:
4140 @if bfd
4141 maybe-install-info-bfd: install-info-bfd
4143 install-info-bfd: \
4144 configure-bfd \
4145 info-bfd
4146 @[ -f ./bfd/Makefile ] || exit 0; \
4147 r=`${PWD_COMMAND}`; export r; \
4148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4149 $(SET_LIB_PATH) \
4150 $(HOST_EXPORTS) \
4151 for flag in $(EXTRA_HOST_FLAGS) ; do \
4152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4153 done; \
4154 echo "Doing install-info in bfd" ; \
4155 (cd bfd && \
4156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4158 "RANLIB=$${RANLIB}" \
4159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4160 install-info) \
4161 || exit 1
4163 @endif bfd
4165 .PHONY: maybe-installcheck-bfd installcheck-bfd
4166 maybe-installcheck-bfd:
4167 @if bfd
4168 maybe-installcheck-bfd: installcheck-bfd
4170 installcheck-bfd: \
4171 configure-bfd
4172 @[ -f ./bfd/Makefile ] || exit 0; \
4173 r=`${PWD_COMMAND}`; export r; \
4174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4175 $(SET_LIB_PATH) \
4176 $(HOST_EXPORTS) \
4177 for flag in $(EXTRA_HOST_FLAGS) ; do \
4178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4179 done; \
4180 echo "Doing installcheck in bfd" ; \
4181 (cd bfd && \
4182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4184 "RANLIB=$${RANLIB}" \
4185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4186 installcheck) \
4187 || exit 1
4189 @endif bfd
4191 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4192 maybe-mostlyclean-bfd:
4193 @if bfd
4194 maybe-mostlyclean-bfd: mostlyclean-bfd
4196 mostlyclean-bfd:
4197 @[ -f ./bfd/Makefile ] || exit 0; \
4198 r=`${PWD_COMMAND}`; export r; \
4199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4200 $(SET_LIB_PATH) \
4201 $(HOST_EXPORTS) \
4202 for flag in $(EXTRA_HOST_FLAGS) ; do \
4203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4204 done; \
4205 echo "Doing mostlyclean in bfd" ; \
4206 (cd bfd && \
4207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4209 "RANLIB=$${RANLIB}" \
4210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4211 mostlyclean) \
4212 || exit 1
4214 @endif bfd
4216 .PHONY: maybe-clean-bfd clean-bfd
4217 maybe-clean-bfd:
4218 @if bfd
4219 maybe-clean-bfd: clean-bfd
4221 clean-bfd:
4222 @[ -f ./bfd/Makefile ] || exit 0; \
4223 r=`${PWD_COMMAND}`; export r; \
4224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4225 $(SET_LIB_PATH) \
4226 $(HOST_EXPORTS) \
4227 for flag in $(EXTRA_HOST_FLAGS) ; do \
4228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4229 done; \
4230 echo "Doing clean in bfd" ; \
4231 (cd bfd && \
4232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4234 "RANLIB=$${RANLIB}" \
4235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4236 clean) \
4237 || exit 1
4239 @endif bfd
4241 .PHONY: maybe-distclean-bfd distclean-bfd
4242 maybe-distclean-bfd:
4243 @if bfd
4244 maybe-distclean-bfd: distclean-bfd
4246 distclean-bfd:
4247 @[ -f ./bfd/Makefile ] || exit 0; \
4248 r=`${PWD_COMMAND}`; export r; \
4249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4250 $(SET_LIB_PATH) \
4251 $(HOST_EXPORTS) \
4252 for flag in $(EXTRA_HOST_FLAGS) ; do \
4253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4254 done; \
4255 echo "Doing distclean in bfd" ; \
4256 (cd bfd && \
4257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4259 "RANLIB=$${RANLIB}" \
4260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4261 distclean) \
4262 || exit 1
4264 @endif bfd
4266 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4267 maybe-maintainer-clean-bfd:
4268 @if bfd
4269 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4271 maintainer-clean-bfd:
4272 @[ -f ./bfd/Makefile ] || exit 0; \
4273 r=`${PWD_COMMAND}`; export r; \
4274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4275 $(SET_LIB_PATH) \
4276 $(HOST_EXPORTS) \
4277 for flag in $(EXTRA_HOST_FLAGS) ; do \
4278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4279 done; \
4280 echo "Doing maintainer-clean in bfd" ; \
4281 (cd bfd && \
4282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4284 "RANLIB=$${RANLIB}" \
4285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4286 maintainer-clean) \
4287 || exit 1
4289 @endif bfd
4292 .PHONY: configure-opcodes maybe-configure-opcodes
4293 maybe-configure-opcodes:
4294 @if opcodes
4295 maybe-configure-opcodes: configure-opcodes
4296 configure-opcodes:
4297 @test -f stage_last && exit 0; \
4298 test ! -f opcodes/Makefile || exit 0; \
4299 [ -d opcodes ] || mkdir opcodes; \
4300 r=`${PWD_COMMAND}`; export r; \
4301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4302 $(HOST_EXPORTS) \
4303 echo Configuring in opcodes; \
4304 cd opcodes || exit 1; \
4305 case $(srcdir) in \
4306 \.) \
4307 srcdiroption="--srcdir=."; \
4308 libsrcdir=".";; \
4309 /* | [A-Za-z]:[\\/]*) \
4310 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4311 libsrcdir="$$s/opcodes";; \
4312 *) \
4313 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4314 libsrcdir="$$s/opcodes";; \
4315 esac; \
4316 $(SHELL) $${libsrcdir}/configure \
4317 $(HOST_CONFIGARGS) $${srcdiroption} \
4318 || exit 1
4319 @endif opcodes
4321 .PHONY: all-opcodes maybe-all-opcodes
4322 maybe-all-opcodes:
4323 @if opcodes
4324 TARGET-opcodes=all
4325 maybe-all-opcodes: all-opcodes
4326 all-opcodes: configure-opcodes
4327 @test -f stage_last && exit 0; \
4328 r=`${PWD_COMMAND}`; export r; \
4329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4330 $(SET_LIB_PATH) \
4331 $(HOST_EXPORTS) \
4332 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) \
4333 $(TARGET-opcodes))
4334 @endif opcodes
4336 .PHONY: check-opcodes maybe-check-opcodes
4337 maybe-check-opcodes:
4338 @if opcodes
4339 maybe-check-opcodes: check-opcodes
4341 check-opcodes:
4342 @r=`${PWD_COMMAND}`; export r; \
4343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4344 $(SET_LIB_PATH) \
4345 $(HOST_EXPORTS) \
4346 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4348 @endif opcodes
4350 .PHONY: install-opcodes maybe-install-opcodes
4351 maybe-install-opcodes:
4352 @if opcodes
4353 maybe-install-opcodes: install-opcodes
4355 install-opcodes: installdirs
4356 @r=`${PWD_COMMAND}`; export r; \
4357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4358 $(SET_LIB_PATH) \
4359 $(HOST_EXPORTS) \
4360 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4362 @endif opcodes
4364 # Other targets (info, dvi, etc.)
4366 .PHONY: maybe-info-opcodes info-opcodes
4367 maybe-info-opcodes:
4368 @if opcodes
4369 maybe-info-opcodes: info-opcodes
4371 info-opcodes: \
4372 configure-opcodes
4373 @[ -f ./opcodes/Makefile ] || exit 0; \
4374 r=`${PWD_COMMAND}`; export r; \
4375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4376 $(SET_LIB_PATH) \
4377 $(HOST_EXPORTS) \
4378 for flag in $(EXTRA_HOST_FLAGS) ; do \
4379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4380 done; \
4381 echo "Doing info in opcodes" ; \
4382 (cd opcodes && \
4383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4385 "RANLIB=$${RANLIB}" \
4386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4387 info) \
4388 || exit 1
4390 @endif opcodes
4392 .PHONY: maybe-dvi-opcodes dvi-opcodes
4393 maybe-dvi-opcodes:
4394 @if opcodes
4395 maybe-dvi-opcodes: dvi-opcodes
4397 dvi-opcodes: \
4398 configure-opcodes
4399 @[ -f ./opcodes/Makefile ] || exit 0; \
4400 r=`${PWD_COMMAND}`; export r; \
4401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4402 $(SET_LIB_PATH) \
4403 $(HOST_EXPORTS) \
4404 for flag in $(EXTRA_HOST_FLAGS) ; do \
4405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4406 done; \
4407 echo "Doing dvi in opcodes" ; \
4408 (cd opcodes && \
4409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4411 "RANLIB=$${RANLIB}" \
4412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4413 dvi) \
4414 || exit 1
4416 @endif opcodes
4418 .PHONY: maybe-html-opcodes html-opcodes
4419 maybe-html-opcodes:
4420 @if opcodes
4421 maybe-html-opcodes: html-opcodes
4423 html-opcodes: \
4424 configure-opcodes
4425 @[ -f ./opcodes/Makefile ] || exit 0; \
4426 r=`${PWD_COMMAND}`; export r; \
4427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4428 $(SET_LIB_PATH) \
4429 $(HOST_EXPORTS) \
4430 for flag in $(EXTRA_HOST_FLAGS) ; do \
4431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4432 done; \
4433 echo "Doing html in opcodes" ; \
4434 (cd opcodes && \
4435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4437 "RANLIB=$${RANLIB}" \
4438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4439 html) \
4440 || exit 1
4442 @endif opcodes
4444 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4445 maybe-TAGS-opcodes:
4446 @if opcodes
4447 maybe-TAGS-opcodes: TAGS-opcodes
4449 TAGS-opcodes: \
4450 configure-opcodes
4451 @[ -f ./opcodes/Makefile ] || exit 0; \
4452 r=`${PWD_COMMAND}`; export r; \
4453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4454 $(SET_LIB_PATH) \
4455 $(HOST_EXPORTS) \
4456 for flag in $(EXTRA_HOST_FLAGS) ; do \
4457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4458 done; \
4459 echo "Doing TAGS in opcodes" ; \
4460 (cd opcodes && \
4461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4463 "RANLIB=$${RANLIB}" \
4464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4465 TAGS) \
4466 || exit 1
4468 @endif opcodes
4470 .PHONY: maybe-install-info-opcodes install-info-opcodes
4471 maybe-install-info-opcodes:
4472 @if opcodes
4473 maybe-install-info-opcodes: install-info-opcodes
4475 install-info-opcodes: \
4476 configure-opcodes \
4477 info-opcodes
4478 @[ -f ./opcodes/Makefile ] || exit 0; \
4479 r=`${PWD_COMMAND}`; export r; \
4480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4481 $(SET_LIB_PATH) \
4482 $(HOST_EXPORTS) \
4483 for flag in $(EXTRA_HOST_FLAGS) ; do \
4484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4485 done; \
4486 echo "Doing install-info in opcodes" ; \
4487 (cd opcodes && \
4488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4490 "RANLIB=$${RANLIB}" \
4491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4492 install-info) \
4493 || exit 1
4495 @endif opcodes
4497 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4498 maybe-installcheck-opcodes:
4499 @if opcodes
4500 maybe-installcheck-opcodes: installcheck-opcodes
4502 installcheck-opcodes: \
4503 configure-opcodes
4504 @[ -f ./opcodes/Makefile ] || exit 0; \
4505 r=`${PWD_COMMAND}`; export r; \
4506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4507 $(SET_LIB_PATH) \
4508 $(HOST_EXPORTS) \
4509 for flag in $(EXTRA_HOST_FLAGS) ; do \
4510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4511 done; \
4512 echo "Doing installcheck in opcodes" ; \
4513 (cd opcodes && \
4514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4516 "RANLIB=$${RANLIB}" \
4517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4518 installcheck) \
4519 || exit 1
4521 @endif opcodes
4523 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4524 maybe-mostlyclean-opcodes:
4525 @if opcodes
4526 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4528 mostlyclean-opcodes:
4529 @[ -f ./opcodes/Makefile ] || exit 0; \
4530 r=`${PWD_COMMAND}`; export r; \
4531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4532 $(SET_LIB_PATH) \
4533 $(HOST_EXPORTS) \
4534 for flag in $(EXTRA_HOST_FLAGS) ; do \
4535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4536 done; \
4537 echo "Doing mostlyclean in opcodes" ; \
4538 (cd opcodes && \
4539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4541 "RANLIB=$${RANLIB}" \
4542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4543 mostlyclean) \
4544 || exit 1
4546 @endif opcodes
4548 .PHONY: maybe-clean-opcodes clean-opcodes
4549 maybe-clean-opcodes:
4550 @if opcodes
4551 maybe-clean-opcodes: clean-opcodes
4553 clean-opcodes:
4554 @[ -f ./opcodes/Makefile ] || exit 0; \
4555 r=`${PWD_COMMAND}`; export r; \
4556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4557 $(SET_LIB_PATH) \
4558 $(HOST_EXPORTS) \
4559 for flag in $(EXTRA_HOST_FLAGS) ; do \
4560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4561 done; \
4562 echo "Doing clean in opcodes" ; \
4563 (cd opcodes && \
4564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4566 "RANLIB=$${RANLIB}" \
4567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4568 clean) \
4569 || exit 1
4571 @endif opcodes
4573 .PHONY: maybe-distclean-opcodes distclean-opcodes
4574 maybe-distclean-opcodes:
4575 @if opcodes
4576 maybe-distclean-opcodes: distclean-opcodes
4578 distclean-opcodes:
4579 @[ -f ./opcodes/Makefile ] || exit 0; \
4580 r=`${PWD_COMMAND}`; export r; \
4581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4582 $(SET_LIB_PATH) \
4583 $(HOST_EXPORTS) \
4584 for flag in $(EXTRA_HOST_FLAGS) ; do \
4585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4586 done; \
4587 echo "Doing distclean in opcodes" ; \
4588 (cd opcodes && \
4589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4591 "RANLIB=$${RANLIB}" \
4592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4593 distclean) \
4594 || exit 1
4596 @endif opcodes
4598 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4599 maybe-maintainer-clean-opcodes:
4600 @if opcodes
4601 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4603 maintainer-clean-opcodes:
4604 @[ -f ./opcodes/Makefile ] || exit 0; \
4605 r=`${PWD_COMMAND}`; export r; \
4606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4607 $(SET_LIB_PATH) \
4608 $(HOST_EXPORTS) \
4609 for flag in $(EXTRA_HOST_FLAGS) ; do \
4610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4611 done; \
4612 echo "Doing maintainer-clean in opcodes" ; \
4613 (cd opcodes && \
4614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4616 "RANLIB=$${RANLIB}" \
4617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4618 maintainer-clean) \
4619 || exit 1
4621 @endif opcodes
4624 .PHONY: configure-binutils maybe-configure-binutils
4625 maybe-configure-binutils:
4626 @if binutils
4627 maybe-configure-binutils: configure-binutils
4628 configure-binutils:
4629 @test -f stage_last && exit 0; \
4630 test ! -f binutils/Makefile || exit 0; \
4631 [ -d binutils ] || mkdir binutils; \
4632 r=`${PWD_COMMAND}`; export r; \
4633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4634 $(HOST_EXPORTS) \
4635 echo Configuring in binutils; \
4636 cd binutils || exit 1; \
4637 case $(srcdir) in \
4638 \.) \
4639 srcdiroption="--srcdir=."; \
4640 libsrcdir=".";; \
4641 /* | [A-Za-z]:[\\/]*) \
4642 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4643 libsrcdir="$$s/binutils";; \
4644 *) \
4645 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4646 libsrcdir="$$s/binutils";; \
4647 esac; \
4648 $(SHELL) $${libsrcdir}/configure \
4649 $(HOST_CONFIGARGS) $${srcdiroption} \
4650 || exit 1
4651 @endif binutils
4653 .PHONY: all-binutils maybe-all-binutils
4654 maybe-all-binutils:
4655 @if binutils
4656 TARGET-binutils=all
4657 maybe-all-binutils: all-binutils
4658 all-binutils: configure-binutils
4659 @test -f stage_last && exit 0; \
4660 r=`${PWD_COMMAND}`; export r; \
4661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4662 $(SET_LIB_PATH) \
4663 $(HOST_EXPORTS) \
4664 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) \
4665 $(TARGET-binutils))
4666 @endif binutils
4668 .PHONY: check-binutils maybe-check-binutils
4669 maybe-check-binutils:
4670 @if binutils
4671 maybe-check-binutils: check-binutils
4673 check-binutils:
4674 @r=`${PWD_COMMAND}`; export r; \
4675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4676 $(SET_LIB_PATH) \
4677 $(HOST_EXPORTS) \
4678 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4680 @endif binutils
4682 .PHONY: install-binutils maybe-install-binutils
4683 maybe-install-binutils:
4684 @if binutils
4685 maybe-install-binutils: install-binutils
4687 install-binutils: installdirs
4688 @r=`${PWD_COMMAND}`; export r; \
4689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4690 $(SET_LIB_PATH) \
4691 $(HOST_EXPORTS) \
4692 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4694 @endif binutils
4696 # Other targets (info, dvi, etc.)
4698 .PHONY: maybe-info-binutils info-binutils
4699 maybe-info-binutils:
4700 @if binutils
4701 maybe-info-binutils: info-binutils
4703 info-binutils: \
4704 configure-binutils
4705 @[ -f ./binutils/Makefile ] || exit 0; \
4706 r=`${PWD_COMMAND}`; export r; \
4707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4708 $(SET_LIB_PATH) \
4709 $(HOST_EXPORTS) \
4710 for flag in $(EXTRA_HOST_FLAGS) ; do \
4711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4712 done; \
4713 echo "Doing info in binutils" ; \
4714 (cd binutils && \
4715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4717 "RANLIB=$${RANLIB}" \
4718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4719 info) \
4720 || exit 1
4722 @endif binutils
4724 .PHONY: maybe-dvi-binutils dvi-binutils
4725 maybe-dvi-binutils:
4726 @if binutils
4727 maybe-dvi-binutils: dvi-binutils
4729 dvi-binutils: \
4730 configure-binutils
4731 @[ -f ./binutils/Makefile ] || exit 0; \
4732 r=`${PWD_COMMAND}`; export r; \
4733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4734 $(SET_LIB_PATH) \
4735 $(HOST_EXPORTS) \
4736 for flag in $(EXTRA_HOST_FLAGS) ; do \
4737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4738 done; \
4739 echo "Doing dvi in binutils" ; \
4740 (cd binutils && \
4741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4743 "RANLIB=$${RANLIB}" \
4744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4745 dvi) \
4746 || exit 1
4748 @endif binutils
4750 .PHONY: maybe-html-binutils html-binutils
4751 maybe-html-binutils:
4752 @if binutils
4753 maybe-html-binutils: html-binutils
4755 html-binutils: \
4756 configure-binutils
4757 @[ -f ./binutils/Makefile ] || exit 0; \
4758 r=`${PWD_COMMAND}`; export r; \
4759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4760 $(SET_LIB_PATH) \
4761 $(HOST_EXPORTS) \
4762 for flag in $(EXTRA_HOST_FLAGS) ; do \
4763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4764 done; \
4765 echo "Doing html in binutils" ; \
4766 (cd binutils && \
4767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4769 "RANLIB=$${RANLIB}" \
4770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4771 html) \
4772 || exit 1
4774 @endif binutils
4776 .PHONY: maybe-TAGS-binutils TAGS-binutils
4777 maybe-TAGS-binutils:
4778 @if binutils
4779 maybe-TAGS-binutils: TAGS-binutils
4781 TAGS-binutils: \
4782 configure-binutils
4783 @[ -f ./binutils/Makefile ] || exit 0; \
4784 r=`${PWD_COMMAND}`; export r; \
4785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4786 $(SET_LIB_PATH) \
4787 $(HOST_EXPORTS) \
4788 for flag in $(EXTRA_HOST_FLAGS) ; do \
4789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4790 done; \
4791 echo "Doing TAGS in binutils" ; \
4792 (cd binutils && \
4793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4795 "RANLIB=$${RANLIB}" \
4796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4797 TAGS) \
4798 || exit 1
4800 @endif binutils
4802 .PHONY: maybe-install-info-binutils install-info-binutils
4803 maybe-install-info-binutils:
4804 @if binutils
4805 maybe-install-info-binutils: install-info-binutils
4807 install-info-binutils: \
4808 configure-binutils \
4809 info-binutils
4810 @[ -f ./binutils/Makefile ] || exit 0; \
4811 r=`${PWD_COMMAND}`; export r; \
4812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4813 $(SET_LIB_PATH) \
4814 $(HOST_EXPORTS) \
4815 for flag in $(EXTRA_HOST_FLAGS) ; do \
4816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4817 done; \
4818 echo "Doing install-info in binutils" ; \
4819 (cd binutils && \
4820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4822 "RANLIB=$${RANLIB}" \
4823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4824 install-info) \
4825 || exit 1
4827 @endif binutils
4829 .PHONY: maybe-installcheck-binutils installcheck-binutils
4830 maybe-installcheck-binutils:
4831 @if binutils
4832 maybe-installcheck-binutils: installcheck-binutils
4834 installcheck-binutils: \
4835 configure-binutils
4836 @[ -f ./binutils/Makefile ] || exit 0; \
4837 r=`${PWD_COMMAND}`; export r; \
4838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4839 $(SET_LIB_PATH) \
4840 $(HOST_EXPORTS) \
4841 for flag in $(EXTRA_HOST_FLAGS) ; do \
4842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4843 done; \
4844 echo "Doing installcheck in binutils" ; \
4845 (cd binutils && \
4846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4848 "RANLIB=$${RANLIB}" \
4849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4850 installcheck) \
4851 || exit 1
4853 @endif binutils
4855 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4856 maybe-mostlyclean-binutils:
4857 @if binutils
4858 maybe-mostlyclean-binutils: mostlyclean-binutils
4860 mostlyclean-binutils:
4861 @[ -f ./binutils/Makefile ] || exit 0; \
4862 r=`${PWD_COMMAND}`; export r; \
4863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4864 $(SET_LIB_PATH) \
4865 $(HOST_EXPORTS) \
4866 for flag in $(EXTRA_HOST_FLAGS) ; do \
4867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4868 done; \
4869 echo "Doing mostlyclean in binutils" ; \
4870 (cd binutils && \
4871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4873 "RANLIB=$${RANLIB}" \
4874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4875 mostlyclean) \
4876 || exit 1
4878 @endif binutils
4880 .PHONY: maybe-clean-binutils clean-binutils
4881 maybe-clean-binutils:
4882 @if binutils
4883 maybe-clean-binutils: clean-binutils
4885 clean-binutils:
4886 @[ -f ./binutils/Makefile ] || exit 0; \
4887 r=`${PWD_COMMAND}`; export r; \
4888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4889 $(SET_LIB_PATH) \
4890 $(HOST_EXPORTS) \
4891 for flag in $(EXTRA_HOST_FLAGS) ; do \
4892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4893 done; \
4894 echo "Doing clean in binutils" ; \
4895 (cd binutils && \
4896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4898 "RANLIB=$${RANLIB}" \
4899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4900 clean) \
4901 || exit 1
4903 @endif binutils
4905 .PHONY: maybe-distclean-binutils distclean-binutils
4906 maybe-distclean-binutils:
4907 @if binutils
4908 maybe-distclean-binutils: distclean-binutils
4910 distclean-binutils:
4911 @[ -f ./binutils/Makefile ] || exit 0; \
4912 r=`${PWD_COMMAND}`; export r; \
4913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4914 $(SET_LIB_PATH) \
4915 $(HOST_EXPORTS) \
4916 for flag in $(EXTRA_HOST_FLAGS) ; do \
4917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4918 done; \
4919 echo "Doing distclean in binutils" ; \
4920 (cd binutils && \
4921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4923 "RANLIB=$${RANLIB}" \
4924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4925 distclean) \
4926 || exit 1
4928 @endif binutils
4930 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4931 maybe-maintainer-clean-binutils:
4932 @if binutils
4933 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4935 maintainer-clean-binutils:
4936 @[ -f ./binutils/Makefile ] || exit 0; \
4937 r=`${PWD_COMMAND}`; export r; \
4938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4939 $(SET_LIB_PATH) \
4940 $(HOST_EXPORTS) \
4941 for flag in $(EXTRA_HOST_FLAGS) ; do \
4942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4943 done; \
4944 echo "Doing maintainer-clean in binutils" ; \
4945 (cd binutils && \
4946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4948 "RANLIB=$${RANLIB}" \
4949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4950 maintainer-clean) \
4951 || exit 1
4953 @endif binutils
4956 .PHONY: configure-bison maybe-configure-bison
4957 maybe-configure-bison:
4958 @if bison
4959 maybe-configure-bison: configure-bison
4960 configure-bison:
4961 @test ! -f bison/Makefile || exit 0; \
4962 [ -d bison ] || mkdir bison; \
4963 r=`${PWD_COMMAND}`; export r; \
4964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4965 $(HOST_EXPORTS) \
4966 echo Configuring in bison; \
4967 cd bison || exit 1; \
4968 case $(srcdir) in \
4969 \.) \
4970 srcdiroption="--srcdir=."; \
4971 libsrcdir=".";; \
4972 /* | [A-Za-z]:[\\/]*) \
4973 srcdiroption="--srcdir=$(srcdir)/bison"; \
4974 libsrcdir="$$s/bison";; \
4975 *) \
4976 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4977 libsrcdir="$$s/bison";; \
4978 esac; \
4979 $(SHELL) $${libsrcdir}/configure \
4980 $(HOST_CONFIGARGS) $${srcdiroption} \
4981 || exit 1
4982 @endif bison
4984 .PHONY: all-bison maybe-all-bison
4985 maybe-all-bison:
4986 @if bison
4987 TARGET-bison=all
4988 maybe-all-bison: all-bison
4989 all-bison: configure-bison
4990 @r=`${PWD_COMMAND}`; export r; \
4991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4992 $(SET_LIB_PATH) \
4993 $(HOST_EXPORTS) \
4994 (cd bison && $(MAKE) $(FLAGS_TO_PASS) \
4995 $(TARGET-bison))
4996 @endif bison
4998 .PHONY: check-bison maybe-check-bison
4999 maybe-check-bison:
5000 @if bison
5001 maybe-check-bison: check-bison
5003 # This module is only tested in a native toolchain.
5004 check-bison:
5005 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
5013 @endif bison
5015 .PHONY: install-bison maybe-install-bison
5016 maybe-install-bison:
5017 @if bison
5018 maybe-install-bison: install-bison
5020 install-bison: installdirs
5021 @r=`${PWD_COMMAND}`; export r; \
5022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5023 $(SET_LIB_PATH) \
5024 $(HOST_EXPORTS) \
5025 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
5027 @endif bison
5029 # Other targets (info, dvi, etc.)
5031 .PHONY: maybe-info-bison info-bison
5032 maybe-info-bison:
5033 @if bison
5034 maybe-info-bison: info-bison
5036 info-bison: \
5037 configure-bison
5038 @[ -f ./bison/Makefile ] || exit 0; \
5039 r=`${PWD_COMMAND}`; export r; \
5040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5041 $(SET_LIB_PATH) \
5042 $(HOST_EXPORTS) \
5043 for flag in $(EXTRA_HOST_FLAGS) ; do \
5044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5045 done; \
5046 echo "Doing info in bison" ; \
5047 (cd bison && \
5048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5050 "RANLIB=$${RANLIB}" \
5051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5052 info) \
5053 || exit 1
5055 @endif bison
5057 .PHONY: maybe-dvi-bison dvi-bison
5058 maybe-dvi-bison:
5059 @if bison
5060 maybe-dvi-bison: dvi-bison
5062 dvi-bison: \
5063 configure-bison
5064 @[ -f ./bison/Makefile ] || exit 0; \
5065 r=`${PWD_COMMAND}`; export r; \
5066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5067 $(SET_LIB_PATH) \
5068 $(HOST_EXPORTS) \
5069 for flag in $(EXTRA_HOST_FLAGS) ; do \
5070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5071 done; \
5072 echo "Doing dvi in bison" ; \
5073 (cd bison && \
5074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5076 "RANLIB=$${RANLIB}" \
5077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5078 dvi) \
5079 || exit 1
5081 @endif bison
5083 .PHONY: maybe-html-bison html-bison
5084 maybe-html-bison:
5085 @if bison
5086 maybe-html-bison: html-bison
5088 html-bison: \
5089 configure-bison
5090 @[ -f ./bison/Makefile ] || exit 0; \
5091 r=`${PWD_COMMAND}`; export r; \
5092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5093 $(SET_LIB_PATH) \
5094 $(HOST_EXPORTS) \
5095 for flag in $(EXTRA_HOST_FLAGS) ; do \
5096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5097 done; \
5098 echo "Doing html in bison" ; \
5099 (cd bison && \
5100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5102 "RANLIB=$${RANLIB}" \
5103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5104 html) \
5105 || exit 1
5107 @endif bison
5109 .PHONY: maybe-TAGS-bison TAGS-bison
5110 maybe-TAGS-bison:
5111 @if bison
5112 maybe-TAGS-bison: TAGS-bison
5114 TAGS-bison: \
5115 configure-bison
5116 @[ -f ./bison/Makefile ] || exit 0; \
5117 r=`${PWD_COMMAND}`; export r; \
5118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5119 $(SET_LIB_PATH) \
5120 $(HOST_EXPORTS) \
5121 for flag in $(EXTRA_HOST_FLAGS) ; do \
5122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5123 done; \
5124 echo "Doing TAGS in bison" ; \
5125 (cd bison && \
5126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5128 "RANLIB=$${RANLIB}" \
5129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5130 TAGS) \
5131 || exit 1
5133 @endif bison
5135 .PHONY: maybe-install-info-bison install-info-bison
5136 maybe-install-info-bison:
5137 @if bison
5138 maybe-install-info-bison: install-info-bison
5140 install-info-bison: \
5141 configure-bison \
5142 info-bison
5143 @[ -f ./bison/Makefile ] || exit 0; \
5144 r=`${PWD_COMMAND}`; export r; \
5145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5146 $(SET_LIB_PATH) \
5147 $(HOST_EXPORTS) \
5148 for flag in $(EXTRA_HOST_FLAGS) ; do \
5149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5150 done; \
5151 echo "Doing install-info in bison" ; \
5152 (cd bison && \
5153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5155 "RANLIB=$${RANLIB}" \
5156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5157 install-info) \
5158 || exit 1
5160 @endif bison
5162 .PHONY: maybe-installcheck-bison installcheck-bison
5163 maybe-installcheck-bison:
5164 @if bison
5165 maybe-installcheck-bison: installcheck-bison
5167 installcheck-bison: \
5168 configure-bison
5169 @[ -f ./bison/Makefile ] || exit 0; \
5170 r=`${PWD_COMMAND}`; export r; \
5171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5172 $(SET_LIB_PATH) \
5173 $(HOST_EXPORTS) \
5174 for flag in $(EXTRA_HOST_FLAGS) ; do \
5175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5176 done; \
5177 echo "Doing installcheck in bison" ; \
5178 (cd bison && \
5179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5181 "RANLIB=$${RANLIB}" \
5182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5183 installcheck) \
5184 || exit 1
5186 @endif bison
5188 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5189 maybe-mostlyclean-bison:
5190 @if bison
5191 maybe-mostlyclean-bison: mostlyclean-bison
5193 mostlyclean-bison:
5194 @[ -f ./bison/Makefile ] || exit 0; \
5195 r=`${PWD_COMMAND}`; export r; \
5196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5197 $(SET_LIB_PATH) \
5198 $(HOST_EXPORTS) \
5199 for flag in $(EXTRA_HOST_FLAGS) ; do \
5200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5201 done; \
5202 echo "Doing mostlyclean in bison" ; \
5203 (cd bison && \
5204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5206 "RANLIB=$${RANLIB}" \
5207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5208 mostlyclean) \
5209 || exit 1
5211 @endif bison
5213 .PHONY: maybe-clean-bison clean-bison
5214 maybe-clean-bison:
5215 @if bison
5216 maybe-clean-bison: clean-bison
5218 clean-bison:
5219 @[ -f ./bison/Makefile ] || exit 0; \
5220 r=`${PWD_COMMAND}`; export r; \
5221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5222 $(SET_LIB_PATH) \
5223 $(HOST_EXPORTS) \
5224 for flag in $(EXTRA_HOST_FLAGS) ; do \
5225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5226 done; \
5227 echo "Doing clean in bison" ; \
5228 (cd bison && \
5229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5231 "RANLIB=$${RANLIB}" \
5232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5233 clean) \
5234 || exit 1
5236 @endif bison
5238 .PHONY: maybe-distclean-bison distclean-bison
5239 maybe-distclean-bison:
5240 @if bison
5241 maybe-distclean-bison: distclean-bison
5243 distclean-bison:
5244 @[ -f ./bison/Makefile ] || exit 0; \
5245 r=`${PWD_COMMAND}`; export r; \
5246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5247 $(SET_LIB_PATH) \
5248 $(HOST_EXPORTS) \
5249 for flag in $(EXTRA_HOST_FLAGS) ; do \
5250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5251 done; \
5252 echo "Doing distclean in bison" ; \
5253 (cd bison && \
5254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5256 "RANLIB=$${RANLIB}" \
5257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5258 distclean) \
5259 || exit 1
5261 @endif bison
5263 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5264 maybe-maintainer-clean-bison:
5265 @if bison
5266 maybe-maintainer-clean-bison: maintainer-clean-bison
5268 maintainer-clean-bison:
5269 @[ -f ./bison/Makefile ] || exit 0; \
5270 r=`${PWD_COMMAND}`; export r; \
5271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5272 $(SET_LIB_PATH) \
5273 $(HOST_EXPORTS) \
5274 for flag in $(EXTRA_HOST_FLAGS) ; do \
5275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5276 done; \
5277 echo "Doing maintainer-clean in bison" ; \
5278 (cd bison && \
5279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5281 "RANLIB=$${RANLIB}" \
5282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5283 maintainer-clean) \
5284 || exit 1
5286 @endif bison
5289 .PHONY: configure-byacc maybe-configure-byacc
5290 maybe-configure-byacc:
5291 @if byacc
5292 maybe-configure-byacc: configure-byacc
5293 configure-byacc:
5294 @test ! -f byacc/Makefile || exit 0; \
5295 [ -d byacc ] || mkdir byacc; \
5296 r=`${PWD_COMMAND}`; export r; \
5297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5298 $(HOST_EXPORTS) \
5299 echo Configuring in byacc; \
5300 cd byacc || exit 1; \
5301 case $(srcdir) in \
5302 \.) \
5303 srcdiroption="--srcdir=."; \
5304 libsrcdir=".";; \
5305 /* | [A-Za-z]:[\\/]*) \
5306 srcdiroption="--srcdir=$(srcdir)/byacc"; \
5307 libsrcdir="$$s/byacc";; \
5308 *) \
5309 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
5310 libsrcdir="$$s/byacc";; \
5311 esac; \
5312 $(SHELL) $${libsrcdir}/configure \
5313 $(HOST_CONFIGARGS) $${srcdiroption} \
5314 || exit 1
5315 @endif byacc
5317 .PHONY: all-byacc maybe-all-byacc
5318 maybe-all-byacc:
5319 @if byacc
5320 TARGET-byacc=all
5321 maybe-all-byacc: all-byacc
5322 all-byacc: configure-byacc
5323 @r=`${PWD_COMMAND}`; export r; \
5324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5325 $(SET_LIB_PATH) \
5326 $(HOST_EXPORTS) \
5327 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) \
5328 $(TARGET-byacc))
5329 @endif byacc
5331 .PHONY: check-byacc maybe-check-byacc
5332 maybe-check-byacc:
5333 @if byacc
5334 maybe-check-byacc: check-byacc
5336 # This module is only tested in a native toolchain.
5337 check-byacc:
5338 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
5346 @endif byacc
5348 .PHONY: install-byacc maybe-install-byacc
5349 maybe-install-byacc:
5350 @if byacc
5351 maybe-install-byacc: install-byacc
5353 install-byacc: installdirs
5354 @r=`${PWD_COMMAND}`; export r; \
5355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5356 $(SET_LIB_PATH) \
5357 $(HOST_EXPORTS) \
5358 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5360 @endif byacc
5362 # Other targets (info, dvi, etc.)
5364 .PHONY: maybe-info-byacc info-byacc
5365 maybe-info-byacc:
5366 @if byacc
5367 maybe-info-byacc: info-byacc
5369 info-byacc: \
5370 configure-byacc
5371 @[ -f ./byacc/Makefile ] || exit 0; \
5372 r=`${PWD_COMMAND}`; export r; \
5373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5374 $(SET_LIB_PATH) \
5375 $(HOST_EXPORTS) \
5376 for flag in $(EXTRA_HOST_FLAGS) ; do \
5377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5378 done; \
5379 echo "Doing info in byacc" ; \
5380 (cd byacc && \
5381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5383 "RANLIB=$${RANLIB}" \
5384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5385 info) \
5386 || exit 1
5388 @endif byacc
5390 .PHONY: maybe-dvi-byacc dvi-byacc
5391 maybe-dvi-byacc:
5392 @if byacc
5393 maybe-dvi-byacc: dvi-byacc
5395 dvi-byacc: \
5396 configure-byacc
5397 @[ -f ./byacc/Makefile ] || exit 0; \
5398 r=`${PWD_COMMAND}`; export r; \
5399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5400 $(SET_LIB_PATH) \
5401 $(HOST_EXPORTS) \
5402 for flag in $(EXTRA_HOST_FLAGS) ; do \
5403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5404 done; \
5405 echo "Doing dvi in byacc" ; \
5406 (cd byacc && \
5407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5409 "RANLIB=$${RANLIB}" \
5410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5411 dvi) \
5412 || exit 1
5414 @endif byacc
5416 .PHONY: maybe-html-byacc html-byacc
5417 maybe-html-byacc:
5418 @if byacc
5419 maybe-html-byacc: html-byacc
5421 html-byacc: \
5422 configure-byacc
5423 @[ -f ./byacc/Makefile ] || exit 0; \
5424 r=`${PWD_COMMAND}`; export r; \
5425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5426 $(SET_LIB_PATH) \
5427 $(HOST_EXPORTS) \
5428 for flag in $(EXTRA_HOST_FLAGS) ; do \
5429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5430 done; \
5431 echo "Doing html in byacc" ; \
5432 (cd byacc && \
5433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5435 "RANLIB=$${RANLIB}" \
5436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5437 html) \
5438 || exit 1
5440 @endif byacc
5442 .PHONY: maybe-TAGS-byacc TAGS-byacc
5443 maybe-TAGS-byacc:
5444 @if byacc
5445 maybe-TAGS-byacc: TAGS-byacc
5447 TAGS-byacc: \
5448 configure-byacc
5449 @[ -f ./byacc/Makefile ] || exit 0; \
5450 r=`${PWD_COMMAND}`; export r; \
5451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5452 $(SET_LIB_PATH) \
5453 $(HOST_EXPORTS) \
5454 for flag in $(EXTRA_HOST_FLAGS) ; do \
5455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5456 done; \
5457 echo "Doing TAGS in byacc" ; \
5458 (cd byacc && \
5459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5461 "RANLIB=$${RANLIB}" \
5462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5463 TAGS) \
5464 || exit 1
5466 @endif byacc
5468 .PHONY: maybe-install-info-byacc install-info-byacc
5469 maybe-install-info-byacc:
5470 @if byacc
5471 maybe-install-info-byacc: install-info-byacc
5473 install-info-byacc: \
5474 configure-byacc \
5475 info-byacc
5476 @[ -f ./byacc/Makefile ] || exit 0; \
5477 r=`${PWD_COMMAND}`; export r; \
5478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5479 $(SET_LIB_PATH) \
5480 $(HOST_EXPORTS) \
5481 for flag in $(EXTRA_HOST_FLAGS) ; do \
5482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5483 done; \
5484 echo "Doing install-info in byacc" ; \
5485 (cd byacc && \
5486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5488 "RANLIB=$${RANLIB}" \
5489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5490 install-info) \
5491 || exit 1
5493 @endif byacc
5495 .PHONY: maybe-installcheck-byacc installcheck-byacc
5496 maybe-installcheck-byacc:
5497 @if byacc
5498 maybe-installcheck-byacc: installcheck-byacc
5500 installcheck-byacc: \
5501 configure-byacc
5502 @[ -f ./byacc/Makefile ] || exit 0; \
5503 r=`${PWD_COMMAND}`; export r; \
5504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5505 $(SET_LIB_PATH) \
5506 $(HOST_EXPORTS) \
5507 for flag in $(EXTRA_HOST_FLAGS) ; do \
5508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5509 done; \
5510 echo "Doing installcheck in byacc" ; \
5511 (cd byacc && \
5512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5514 "RANLIB=$${RANLIB}" \
5515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5516 installcheck) \
5517 || exit 1
5519 @endif byacc
5521 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5522 maybe-mostlyclean-byacc:
5523 @if byacc
5524 maybe-mostlyclean-byacc: mostlyclean-byacc
5526 mostlyclean-byacc:
5527 @[ -f ./byacc/Makefile ] || exit 0; \
5528 r=`${PWD_COMMAND}`; export r; \
5529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5530 $(SET_LIB_PATH) \
5531 $(HOST_EXPORTS) \
5532 for flag in $(EXTRA_HOST_FLAGS) ; do \
5533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5534 done; \
5535 echo "Doing mostlyclean in byacc" ; \
5536 (cd byacc && \
5537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5539 "RANLIB=$${RANLIB}" \
5540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5541 mostlyclean) \
5542 || exit 1
5544 @endif byacc
5546 .PHONY: maybe-clean-byacc clean-byacc
5547 maybe-clean-byacc:
5548 @if byacc
5549 maybe-clean-byacc: clean-byacc
5551 clean-byacc:
5552 @[ -f ./byacc/Makefile ] || exit 0; \
5553 r=`${PWD_COMMAND}`; export r; \
5554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5555 $(SET_LIB_PATH) \
5556 $(HOST_EXPORTS) \
5557 for flag in $(EXTRA_HOST_FLAGS) ; do \
5558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5559 done; \
5560 echo "Doing clean in byacc" ; \
5561 (cd byacc && \
5562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5564 "RANLIB=$${RANLIB}" \
5565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5566 clean) \
5567 || exit 1
5569 @endif byacc
5571 .PHONY: maybe-distclean-byacc distclean-byacc
5572 maybe-distclean-byacc:
5573 @if byacc
5574 maybe-distclean-byacc: distclean-byacc
5576 distclean-byacc:
5577 @[ -f ./byacc/Makefile ] || exit 0; \
5578 r=`${PWD_COMMAND}`; export r; \
5579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5580 $(SET_LIB_PATH) \
5581 $(HOST_EXPORTS) \
5582 for flag in $(EXTRA_HOST_FLAGS) ; do \
5583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5584 done; \
5585 echo "Doing distclean in byacc" ; \
5586 (cd byacc && \
5587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5589 "RANLIB=$${RANLIB}" \
5590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5591 distclean) \
5592 || exit 1
5594 @endif byacc
5596 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5597 maybe-maintainer-clean-byacc:
5598 @if byacc
5599 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5601 maintainer-clean-byacc:
5602 @[ -f ./byacc/Makefile ] || exit 0; \
5603 r=`${PWD_COMMAND}`; export r; \
5604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5605 $(SET_LIB_PATH) \
5606 $(HOST_EXPORTS) \
5607 for flag in $(EXTRA_HOST_FLAGS) ; do \
5608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5609 done; \
5610 echo "Doing maintainer-clean in byacc" ; \
5611 (cd byacc && \
5612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5614 "RANLIB=$${RANLIB}" \
5615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5616 maintainer-clean) \
5617 || exit 1
5619 @endif byacc
5622 .PHONY: configure-bzip2 maybe-configure-bzip2
5623 maybe-configure-bzip2:
5624 @if bzip2
5625 maybe-configure-bzip2: configure-bzip2
5626 configure-bzip2:
5627 @test ! -f bzip2/Makefile || exit 0; \
5628 [ -d bzip2 ] || mkdir bzip2; \
5629 r=`${PWD_COMMAND}`; export r; \
5630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5631 $(HOST_EXPORTS) \
5632 echo Configuring in bzip2; \
5633 cd bzip2 || exit 1; \
5634 case $(srcdir) in \
5635 \.) \
5636 srcdiroption="--srcdir=."; \
5637 libsrcdir=".";; \
5638 /* | [A-Za-z]:[\\/]*) \
5639 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5640 libsrcdir="$$s/bzip2";; \
5641 *) \
5642 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5643 libsrcdir="$$s/bzip2";; \
5644 esac; \
5645 $(SHELL) $${libsrcdir}/configure \
5646 $(HOST_CONFIGARGS) $${srcdiroption} \
5647 || exit 1
5648 @endif bzip2
5650 .PHONY: all-bzip2 maybe-all-bzip2
5651 maybe-all-bzip2:
5652 @if bzip2
5653 TARGET-bzip2=all
5654 maybe-all-bzip2: all-bzip2
5655 all-bzip2: configure-bzip2
5656 @r=`${PWD_COMMAND}`; export r; \
5657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5658 $(SET_LIB_PATH) \
5659 $(HOST_EXPORTS) \
5660 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) \
5661 $(TARGET-bzip2))
5662 @endif bzip2
5664 .PHONY: check-bzip2 maybe-check-bzip2
5665 maybe-check-bzip2:
5666 @if bzip2
5667 maybe-check-bzip2: check-bzip2
5669 check-bzip2:
5670 @r=`${PWD_COMMAND}`; export r; \
5671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5672 $(SET_LIB_PATH) \
5673 $(HOST_EXPORTS) \
5674 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5676 @endif bzip2
5678 .PHONY: install-bzip2 maybe-install-bzip2
5679 maybe-install-bzip2:
5680 @if bzip2
5681 maybe-install-bzip2: install-bzip2
5683 install-bzip2: installdirs
5684 @r=`${PWD_COMMAND}`; export r; \
5685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5686 $(SET_LIB_PATH) \
5687 $(HOST_EXPORTS) \
5688 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5690 @endif bzip2
5692 # Other targets (info, dvi, etc.)
5694 .PHONY: maybe-info-bzip2 info-bzip2
5695 maybe-info-bzip2:
5696 @if bzip2
5697 maybe-info-bzip2: info-bzip2
5699 info-bzip2: \
5700 configure-bzip2
5701 @[ -f ./bzip2/Makefile ] || exit 0; \
5702 r=`${PWD_COMMAND}`; export r; \
5703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5704 $(SET_LIB_PATH) \
5705 $(HOST_EXPORTS) \
5706 for flag in $(EXTRA_HOST_FLAGS) ; do \
5707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5708 done; \
5709 echo "Doing info in bzip2" ; \
5710 (cd bzip2 && \
5711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5713 "RANLIB=$${RANLIB}" \
5714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5715 info) \
5716 || exit 1
5718 @endif bzip2
5720 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5721 maybe-dvi-bzip2:
5722 @if bzip2
5723 maybe-dvi-bzip2: dvi-bzip2
5725 dvi-bzip2: \
5726 configure-bzip2
5727 @[ -f ./bzip2/Makefile ] || exit 0; \
5728 r=`${PWD_COMMAND}`; export r; \
5729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5730 $(SET_LIB_PATH) \
5731 $(HOST_EXPORTS) \
5732 for flag in $(EXTRA_HOST_FLAGS) ; do \
5733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5734 done; \
5735 echo "Doing dvi in bzip2" ; \
5736 (cd bzip2 && \
5737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5739 "RANLIB=$${RANLIB}" \
5740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5741 dvi) \
5742 || exit 1
5744 @endif bzip2
5746 .PHONY: maybe-html-bzip2 html-bzip2
5747 maybe-html-bzip2:
5748 @if bzip2
5749 maybe-html-bzip2: html-bzip2
5751 html-bzip2: \
5752 configure-bzip2
5753 @[ -f ./bzip2/Makefile ] || exit 0; \
5754 r=`${PWD_COMMAND}`; export r; \
5755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5756 $(SET_LIB_PATH) \
5757 $(HOST_EXPORTS) \
5758 for flag in $(EXTRA_HOST_FLAGS) ; do \
5759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5760 done; \
5761 echo "Doing html in bzip2" ; \
5762 (cd bzip2 && \
5763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5765 "RANLIB=$${RANLIB}" \
5766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5767 html) \
5768 || exit 1
5770 @endif bzip2
5772 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5773 maybe-TAGS-bzip2:
5774 @if bzip2
5775 maybe-TAGS-bzip2: TAGS-bzip2
5777 TAGS-bzip2: \
5778 configure-bzip2
5779 @[ -f ./bzip2/Makefile ] || exit 0; \
5780 r=`${PWD_COMMAND}`; export r; \
5781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5782 $(SET_LIB_PATH) \
5783 $(HOST_EXPORTS) \
5784 for flag in $(EXTRA_HOST_FLAGS) ; do \
5785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5786 done; \
5787 echo "Doing TAGS in bzip2" ; \
5788 (cd bzip2 && \
5789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5791 "RANLIB=$${RANLIB}" \
5792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5793 TAGS) \
5794 || exit 1
5796 @endif bzip2
5798 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5799 maybe-install-info-bzip2:
5800 @if bzip2
5801 maybe-install-info-bzip2: install-info-bzip2
5803 install-info-bzip2: \
5804 configure-bzip2 \
5805 info-bzip2
5806 @[ -f ./bzip2/Makefile ] || exit 0; \
5807 r=`${PWD_COMMAND}`; export r; \
5808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5809 $(SET_LIB_PATH) \
5810 $(HOST_EXPORTS) \
5811 for flag in $(EXTRA_HOST_FLAGS) ; do \
5812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5813 done; \
5814 echo "Doing install-info in bzip2" ; \
5815 (cd bzip2 && \
5816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5818 "RANLIB=$${RANLIB}" \
5819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5820 install-info) \
5821 || exit 1
5823 @endif bzip2
5825 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5826 maybe-installcheck-bzip2:
5827 @if bzip2
5828 maybe-installcheck-bzip2: installcheck-bzip2
5830 installcheck-bzip2: \
5831 configure-bzip2
5832 @[ -f ./bzip2/Makefile ] || exit 0; \
5833 r=`${PWD_COMMAND}`; export r; \
5834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5835 $(SET_LIB_PATH) \
5836 $(HOST_EXPORTS) \
5837 for flag in $(EXTRA_HOST_FLAGS) ; do \
5838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5839 done; \
5840 echo "Doing installcheck in bzip2" ; \
5841 (cd bzip2 && \
5842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5844 "RANLIB=$${RANLIB}" \
5845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5846 installcheck) \
5847 || exit 1
5849 @endif bzip2
5851 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5852 maybe-mostlyclean-bzip2:
5853 @if bzip2
5854 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5856 mostlyclean-bzip2:
5857 @[ -f ./bzip2/Makefile ] || exit 0; \
5858 r=`${PWD_COMMAND}`; export r; \
5859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5860 $(SET_LIB_PATH) \
5861 $(HOST_EXPORTS) \
5862 for flag in $(EXTRA_HOST_FLAGS) ; do \
5863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5864 done; \
5865 echo "Doing mostlyclean in bzip2" ; \
5866 (cd bzip2 && \
5867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5869 "RANLIB=$${RANLIB}" \
5870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5871 mostlyclean) \
5872 || exit 1
5874 @endif bzip2
5876 .PHONY: maybe-clean-bzip2 clean-bzip2
5877 maybe-clean-bzip2:
5878 @if bzip2
5879 maybe-clean-bzip2: clean-bzip2
5881 clean-bzip2:
5882 @[ -f ./bzip2/Makefile ] || exit 0; \
5883 r=`${PWD_COMMAND}`; export r; \
5884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5885 $(SET_LIB_PATH) \
5886 $(HOST_EXPORTS) \
5887 for flag in $(EXTRA_HOST_FLAGS) ; do \
5888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5889 done; \
5890 echo "Doing clean in bzip2" ; \
5891 (cd bzip2 && \
5892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5894 "RANLIB=$${RANLIB}" \
5895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5896 clean) \
5897 || exit 1
5899 @endif bzip2
5901 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5902 maybe-distclean-bzip2:
5903 @if bzip2
5904 maybe-distclean-bzip2: distclean-bzip2
5906 distclean-bzip2:
5907 @[ -f ./bzip2/Makefile ] || exit 0; \
5908 r=`${PWD_COMMAND}`; export r; \
5909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5910 $(SET_LIB_PATH) \
5911 $(HOST_EXPORTS) \
5912 for flag in $(EXTRA_HOST_FLAGS) ; do \
5913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5914 done; \
5915 echo "Doing distclean in bzip2" ; \
5916 (cd bzip2 && \
5917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5919 "RANLIB=$${RANLIB}" \
5920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5921 distclean) \
5922 || exit 1
5924 @endif bzip2
5926 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5927 maybe-maintainer-clean-bzip2:
5928 @if bzip2
5929 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5931 maintainer-clean-bzip2:
5932 @[ -f ./bzip2/Makefile ] || exit 0; \
5933 r=`${PWD_COMMAND}`; export r; \
5934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5935 $(SET_LIB_PATH) \
5936 $(HOST_EXPORTS) \
5937 for flag in $(EXTRA_HOST_FLAGS) ; do \
5938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5939 done; \
5940 echo "Doing maintainer-clean in bzip2" ; \
5941 (cd bzip2 && \
5942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5944 "RANLIB=$${RANLIB}" \
5945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5946 maintainer-clean) \
5947 || exit 1
5949 @endif bzip2
5952 .PHONY: configure-dejagnu maybe-configure-dejagnu
5953 maybe-configure-dejagnu:
5954 @if dejagnu
5955 maybe-configure-dejagnu: configure-dejagnu
5956 configure-dejagnu:
5957 @test ! -f dejagnu/Makefile || exit 0; \
5958 [ -d dejagnu ] || mkdir dejagnu; \
5959 r=`${PWD_COMMAND}`; export r; \
5960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5961 $(HOST_EXPORTS) \
5962 echo Configuring in dejagnu; \
5963 cd dejagnu || exit 1; \
5964 case $(srcdir) in \
5965 \.) \
5966 srcdiroption="--srcdir=."; \
5967 libsrcdir=".";; \
5968 /* | [A-Za-z]:[\\/]*) \
5969 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5970 libsrcdir="$$s/dejagnu";; \
5971 *) \
5972 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5973 libsrcdir="$$s/dejagnu";; \
5974 esac; \
5975 $(SHELL) $${libsrcdir}/configure \
5976 $(HOST_CONFIGARGS) $${srcdiroption} \
5977 || exit 1
5978 @endif dejagnu
5980 .PHONY: all-dejagnu maybe-all-dejagnu
5981 maybe-all-dejagnu:
5982 @if dejagnu
5983 TARGET-dejagnu=all
5984 maybe-all-dejagnu: all-dejagnu
5985 all-dejagnu: configure-dejagnu
5986 @r=`${PWD_COMMAND}`; export r; \
5987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5988 $(SET_LIB_PATH) \
5989 $(HOST_EXPORTS) \
5990 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) \
5991 $(TARGET-dejagnu))
5992 @endif dejagnu
5994 .PHONY: check-dejagnu maybe-check-dejagnu
5995 maybe-check-dejagnu:
5996 @if dejagnu
5997 maybe-check-dejagnu: check-dejagnu
5999 check-dejagnu:
6000 @r=`${PWD_COMMAND}`; export r; \
6001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6002 $(SET_LIB_PATH) \
6003 $(HOST_EXPORTS) \
6004 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
6006 @endif dejagnu
6008 .PHONY: install-dejagnu maybe-install-dejagnu
6009 maybe-install-dejagnu:
6010 @if dejagnu
6011 maybe-install-dejagnu: install-dejagnu
6013 install-dejagnu: installdirs
6014 @r=`${PWD_COMMAND}`; export r; \
6015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6016 $(SET_LIB_PATH) \
6017 $(HOST_EXPORTS) \
6018 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
6020 @endif dejagnu
6022 # Other targets (info, dvi, etc.)
6024 .PHONY: maybe-info-dejagnu info-dejagnu
6025 maybe-info-dejagnu:
6026 @if dejagnu
6027 maybe-info-dejagnu: info-dejagnu
6029 info-dejagnu: \
6030 configure-dejagnu
6031 @[ -f ./dejagnu/Makefile ] || exit 0; \
6032 r=`${PWD_COMMAND}`; export r; \
6033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6034 $(SET_LIB_PATH) \
6035 $(HOST_EXPORTS) \
6036 for flag in $(EXTRA_HOST_FLAGS) ; do \
6037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6038 done; \
6039 echo "Doing info in dejagnu" ; \
6040 (cd dejagnu && \
6041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6043 "RANLIB=$${RANLIB}" \
6044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6045 info) \
6046 || exit 1
6048 @endif dejagnu
6050 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6051 maybe-dvi-dejagnu:
6052 @if dejagnu
6053 maybe-dvi-dejagnu: dvi-dejagnu
6055 dvi-dejagnu: \
6056 configure-dejagnu
6057 @[ -f ./dejagnu/Makefile ] || exit 0; \
6058 r=`${PWD_COMMAND}`; export r; \
6059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6060 $(SET_LIB_PATH) \
6061 $(HOST_EXPORTS) \
6062 for flag in $(EXTRA_HOST_FLAGS) ; do \
6063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6064 done; \
6065 echo "Doing dvi in dejagnu" ; \
6066 (cd dejagnu && \
6067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6069 "RANLIB=$${RANLIB}" \
6070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6071 dvi) \
6072 || exit 1
6074 @endif dejagnu
6076 .PHONY: maybe-html-dejagnu html-dejagnu
6077 maybe-html-dejagnu:
6078 @if dejagnu
6079 maybe-html-dejagnu: html-dejagnu
6081 html-dejagnu: \
6082 configure-dejagnu
6083 @[ -f ./dejagnu/Makefile ] || exit 0; \
6084 r=`${PWD_COMMAND}`; export r; \
6085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6086 $(SET_LIB_PATH) \
6087 $(HOST_EXPORTS) \
6088 for flag in $(EXTRA_HOST_FLAGS) ; do \
6089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6090 done; \
6091 echo "Doing html in dejagnu" ; \
6092 (cd dejagnu && \
6093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6095 "RANLIB=$${RANLIB}" \
6096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6097 html) \
6098 || exit 1
6100 @endif dejagnu
6102 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6103 maybe-TAGS-dejagnu:
6104 @if dejagnu
6105 maybe-TAGS-dejagnu: TAGS-dejagnu
6107 TAGS-dejagnu: \
6108 configure-dejagnu
6109 @[ -f ./dejagnu/Makefile ] || exit 0; \
6110 r=`${PWD_COMMAND}`; export r; \
6111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6112 $(SET_LIB_PATH) \
6113 $(HOST_EXPORTS) \
6114 for flag in $(EXTRA_HOST_FLAGS) ; do \
6115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6116 done; \
6117 echo "Doing TAGS in dejagnu" ; \
6118 (cd dejagnu && \
6119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6121 "RANLIB=$${RANLIB}" \
6122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6123 TAGS) \
6124 || exit 1
6126 @endif dejagnu
6128 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6129 maybe-install-info-dejagnu:
6130 @if dejagnu
6131 maybe-install-info-dejagnu: install-info-dejagnu
6133 install-info-dejagnu: \
6134 configure-dejagnu \
6135 info-dejagnu
6136 @[ -f ./dejagnu/Makefile ] || exit 0; \
6137 r=`${PWD_COMMAND}`; export r; \
6138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6139 $(SET_LIB_PATH) \
6140 $(HOST_EXPORTS) \
6141 for flag in $(EXTRA_HOST_FLAGS) ; do \
6142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6143 done; \
6144 echo "Doing install-info in dejagnu" ; \
6145 (cd dejagnu && \
6146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6148 "RANLIB=$${RANLIB}" \
6149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6150 install-info) \
6151 || exit 1
6153 @endif dejagnu
6155 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6156 maybe-installcheck-dejagnu:
6157 @if dejagnu
6158 maybe-installcheck-dejagnu: installcheck-dejagnu
6160 installcheck-dejagnu: \
6161 configure-dejagnu
6162 @[ -f ./dejagnu/Makefile ] || exit 0; \
6163 r=`${PWD_COMMAND}`; export r; \
6164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6165 $(SET_LIB_PATH) \
6166 $(HOST_EXPORTS) \
6167 for flag in $(EXTRA_HOST_FLAGS) ; do \
6168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6169 done; \
6170 echo "Doing installcheck in dejagnu" ; \
6171 (cd dejagnu && \
6172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6174 "RANLIB=$${RANLIB}" \
6175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6176 installcheck) \
6177 || exit 1
6179 @endif dejagnu
6181 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6182 maybe-mostlyclean-dejagnu:
6183 @if dejagnu
6184 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6186 mostlyclean-dejagnu:
6187 @[ -f ./dejagnu/Makefile ] || exit 0; \
6188 r=`${PWD_COMMAND}`; export r; \
6189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6190 $(SET_LIB_PATH) \
6191 $(HOST_EXPORTS) \
6192 for flag in $(EXTRA_HOST_FLAGS) ; do \
6193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6194 done; \
6195 echo "Doing mostlyclean in dejagnu" ; \
6196 (cd dejagnu && \
6197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6199 "RANLIB=$${RANLIB}" \
6200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6201 mostlyclean) \
6202 || exit 1
6204 @endif dejagnu
6206 .PHONY: maybe-clean-dejagnu clean-dejagnu
6207 maybe-clean-dejagnu:
6208 @if dejagnu
6209 maybe-clean-dejagnu: clean-dejagnu
6211 clean-dejagnu:
6212 @[ -f ./dejagnu/Makefile ] || exit 0; \
6213 r=`${PWD_COMMAND}`; export r; \
6214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6215 $(SET_LIB_PATH) \
6216 $(HOST_EXPORTS) \
6217 for flag in $(EXTRA_HOST_FLAGS) ; do \
6218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6219 done; \
6220 echo "Doing clean in dejagnu" ; \
6221 (cd dejagnu && \
6222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6224 "RANLIB=$${RANLIB}" \
6225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6226 clean) \
6227 || exit 1
6229 @endif dejagnu
6231 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6232 maybe-distclean-dejagnu:
6233 @if dejagnu
6234 maybe-distclean-dejagnu: distclean-dejagnu
6236 distclean-dejagnu:
6237 @[ -f ./dejagnu/Makefile ] || exit 0; \
6238 r=`${PWD_COMMAND}`; export r; \
6239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6240 $(SET_LIB_PATH) \
6241 $(HOST_EXPORTS) \
6242 for flag in $(EXTRA_HOST_FLAGS) ; do \
6243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6244 done; \
6245 echo "Doing distclean in dejagnu" ; \
6246 (cd dejagnu && \
6247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6249 "RANLIB=$${RANLIB}" \
6250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6251 distclean) \
6252 || exit 1
6254 @endif dejagnu
6256 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6257 maybe-maintainer-clean-dejagnu:
6258 @if dejagnu
6259 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6261 maintainer-clean-dejagnu:
6262 @[ -f ./dejagnu/Makefile ] || exit 0; \
6263 r=`${PWD_COMMAND}`; export r; \
6264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6265 $(SET_LIB_PATH) \
6266 $(HOST_EXPORTS) \
6267 for flag in $(EXTRA_HOST_FLAGS) ; do \
6268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6269 done; \
6270 echo "Doing maintainer-clean in dejagnu" ; \
6271 (cd dejagnu && \
6272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6274 "RANLIB=$${RANLIB}" \
6275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6276 maintainer-clean) \
6277 || exit 1
6279 @endif dejagnu
6282 .PHONY: configure-diff maybe-configure-diff
6283 maybe-configure-diff:
6284 @if diff
6285 maybe-configure-diff: configure-diff
6286 configure-diff:
6287 @test ! -f diff/Makefile || exit 0; \
6288 [ -d diff ] || mkdir diff; \
6289 r=`${PWD_COMMAND}`; export r; \
6290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6291 $(HOST_EXPORTS) \
6292 echo Configuring in diff; \
6293 cd diff || exit 1; \
6294 case $(srcdir) in \
6295 \.) \
6296 srcdiroption="--srcdir=."; \
6297 libsrcdir=".";; \
6298 /* | [A-Za-z]:[\\/]*) \
6299 srcdiroption="--srcdir=$(srcdir)/diff"; \
6300 libsrcdir="$$s/diff";; \
6301 *) \
6302 srcdiroption="--srcdir=../$(srcdir)/diff"; \
6303 libsrcdir="$$s/diff";; \
6304 esac; \
6305 $(SHELL) $${libsrcdir}/configure \
6306 $(HOST_CONFIGARGS) $${srcdiroption} \
6307 || exit 1
6308 @endif diff
6310 .PHONY: all-diff maybe-all-diff
6311 maybe-all-diff:
6312 @if diff
6313 TARGET-diff=all
6314 maybe-all-diff: all-diff
6315 all-diff: configure-diff
6316 @r=`${PWD_COMMAND}`; export r; \
6317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6318 $(SET_LIB_PATH) \
6319 $(HOST_EXPORTS) \
6320 (cd diff && $(MAKE) $(FLAGS_TO_PASS) \
6321 $(TARGET-diff))
6322 @endif diff
6324 .PHONY: check-diff maybe-check-diff
6325 maybe-check-diff:
6326 @if diff
6327 maybe-check-diff: check-diff
6329 check-diff:
6330 @r=`${PWD_COMMAND}`; export r; \
6331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6332 $(SET_LIB_PATH) \
6333 $(HOST_EXPORTS) \
6334 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
6336 @endif diff
6338 .PHONY: install-diff maybe-install-diff
6339 maybe-install-diff:
6340 @if diff
6341 maybe-install-diff: install-diff
6343 install-diff: installdirs
6344 @r=`${PWD_COMMAND}`; export r; \
6345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6346 $(SET_LIB_PATH) \
6347 $(HOST_EXPORTS) \
6348 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
6350 @endif diff
6352 # Other targets (info, dvi, etc.)
6354 .PHONY: maybe-info-diff info-diff
6355 maybe-info-diff:
6356 @if diff
6357 maybe-info-diff: info-diff
6359 info-diff: \
6360 configure-diff
6361 @[ -f ./diff/Makefile ] || exit 0; \
6362 r=`${PWD_COMMAND}`; export r; \
6363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6364 $(SET_LIB_PATH) \
6365 $(HOST_EXPORTS) \
6366 for flag in $(EXTRA_HOST_FLAGS) ; do \
6367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6368 done; \
6369 echo "Doing info in diff" ; \
6370 (cd diff && \
6371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6373 "RANLIB=$${RANLIB}" \
6374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6375 info) \
6376 || exit 1
6378 @endif diff
6380 .PHONY: maybe-dvi-diff dvi-diff
6381 maybe-dvi-diff:
6382 @if diff
6383 maybe-dvi-diff: dvi-diff
6385 dvi-diff: \
6386 configure-diff
6387 @[ -f ./diff/Makefile ] || exit 0; \
6388 r=`${PWD_COMMAND}`; export r; \
6389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6390 $(SET_LIB_PATH) \
6391 $(HOST_EXPORTS) \
6392 for flag in $(EXTRA_HOST_FLAGS) ; do \
6393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6394 done; \
6395 echo "Doing dvi in diff" ; \
6396 (cd diff && \
6397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6399 "RANLIB=$${RANLIB}" \
6400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6401 dvi) \
6402 || exit 1
6404 @endif diff
6406 .PHONY: maybe-html-diff html-diff
6407 maybe-html-diff:
6408 @if diff
6409 maybe-html-diff: html-diff
6411 html-diff: \
6412 configure-diff
6413 @[ -f ./diff/Makefile ] || exit 0; \
6414 r=`${PWD_COMMAND}`; export r; \
6415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6416 $(SET_LIB_PATH) \
6417 $(HOST_EXPORTS) \
6418 for flag in $(EXTRA_HOST_FLAGS) ; do \
6419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6420 done; \
6421 echo "Doing html in diff" ; \
6422 (cd diff && \
6423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6425 "RANLIB=$${RANLIB}" \
6426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6427 html) \
6428 || exit 1
6430 @endif diff
6432 .PHONY: maybe-TAGS-diff TAGS-diff
6433 maybe-TAGS-diff:
6434 @if diff
6435 maybe-TAGS-diff: TAGS-diff
6437 TAGS-diff: \
6438 configure-diff
6439 @[ -f ./diff/Makefile ] || exit 0; \
6440 r=`${PWD_COMMAND}`; export r; \
6441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6442 $(SET_LIB_PATH) \
6443 $(HOST_EXPORTS) \
6444 for flag in $(EXTRA_HOST_FLAGS) ; do \
6445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6446 done; \
6447 echo "Doing TAGS in diff" ; \
6448 (cd diff && \
6449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6451 "RANLIB=$${RANLIB}" \
6452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6453 TAGS) \
6454 || exit 1
6456 @endif diff
6458 .PHONY: maybe-install-info-diff install-info-diff
6459 maybe-install-info-diff:
6460 @if diff
6461 maybe-install-info-diff: install-info-diff
6463 install-info-diff: \
6464 configure-diff \
6465 info-diff
6466 @[ -f ./diff/Makefile ] || exit 0; \
6467 r=`${PWD_COMMAND}`; export r; \
6468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6469 $(SET_LIB_PATH) \
6470 $(HOST_EXPORTS) \
6471 for flag in $(EXTRA_HOST_FLAGS) ; do \
6472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6473 done; \
6474 echo "Doing install-info in diff" ; \
6475 (cd diff && \
6476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6478 "RANLIB=$${RANLIB}" \
6479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6480 install-info) \
6481 || exit 1
6483 @endif diff
6485 .PHONY: maybe-installcheck-diff installcheck-diff
6486 maybe-installcheck-diff:
6487 @if diff
6488 maybe-installcheck-diff: installcheck-diff
6490 installcheck-diff: \
6491 configure-diff
6492 @[ -f ./diff/Makefile ] || exit 0; \
6493 r=`${PWD_COMMAND}`; export r; \
6494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6495 $(SET_LIB_PATH) \
6496 $(HOST_EXPORTS) \
6497 for flag in $(EXTRA_HOST_FLAGS) ; do \
6498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6499 done; \
6500 echo "Doing installcheck in diff" ; \
6501 (cd diff && \
6502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6504 "RANLIB=$${RANLIB}" \
6505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6506 installcheck) \
6507 || exit 1
6509 @endif diff
6511 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6512 maybe-mostlyclean-diff:
6513 @if diff
6514 maybe-mostlyclean-diff: mostlyclean-diff
6516 mostlyclean-diff:
6517 @[ -f ./diff/Makefile ] || exit 0; \
6518 r=`${PWD_COMMAND}`; export r; \
6519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6520 $(SET_LIB_PATH) \
6521 $(HOST_EXPORTS) \
6522 for flag in $(EXTRA_HOST_FLAGS) ; do \
6523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6524 done; \
6525 echo "Doing mostlyclean in diff" ; \
6526 (cd diff && \
6527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6529 "RANLIB=$${RANLIB}" \
6530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6531 mostlyclean) \
6532 || exit 1
6534 @endif diff
6536 .PHONY: maybe-clean-diff clean-diff
6537 maybe-clean-diff:
6538 @if diff
6539 maybe-clean-diff: clean-diff
6541 clean-diff:
6542 @[ -f ./diff/Makefile ] || exit 0; \
6543 r=`${PWD_COMMAND}`; export r; \
6544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6545 $(SET_LIB_PATH) \
6546 $(HOST_EXPORTS) \
6547 for flag in $(EXTRA_HOST_FLAGS) ; do \
6548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6549 done; \
6550 echo "Doing clean in diff" ; \
6551 (cd diff && \
6552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6554 "RANLIB=$${RANLIB}" \
6555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6556 clean) \
6557 || exit 1
6559 @endif diff
6561 .PHONY: maybe-distclean-diff distclean-diff
6562 maybe-distclean-diff:
6563 @if diff
6564 maybe-distclean-diff: distclean-diff
6566 distclean-diff:
6567 @[ -f ./diff/Makefile ] || exit 0; \
6568 r=`${PWD_COMMAND}`; export r; \
6569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6570 $(SET_LIB_PATH) \
6571 $(HOST_EXPORTS) \
6572 for flag in $(EXTRA_HOST_FLAGS) ; do \
6573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6574 done; \
6575 echo "Doing distclean in diff" ; \
6576 (cd diff && \
6577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6579 "RANLIB=$${RANLIB}" \
6580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6581 distclean) \
6582 || exit 1
6584 @endif diff
6586 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6587 maybe-maintainer-clean-diff:
6588 @if diff
6589 maybe-maintainer-clean-diff: maintainer-clean-diff
6591 maintainer-clean-diff:
6592 @[ -f ./diff/Makefile ] || exit 0; \
6593 r=`${PWD_COMMAND}`; export r; \
6594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6595 $(SET_LIB_PATH) \
6596 $(HOST_EXPORTS) \
6597 for flag in $(EXTRA_HOST_FLAGS) ; do \
6598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6599 done; \
6600 echo "Doing maintainer-clean in diff" ; \
6601 (cd diff && \
6602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6604 "RANLIB=$${RANLIB}" \
6605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6606 maintainer-clean) \
6607 || exit 1
6609 @endif diff
6612 .PHONY: configure-dosutils maybe-configure-dosutils
6613 maybe-configure-dosutils:
6614 @if dosutils
6615 maybe-configure-dosutils: configure-dosutils
6616 configure-dosutils:
6617 @test ! -f dosutils/Makefile || exit 0; \
6618 [ -d dosutils ] || mkdir dosutils; \
6619 r=`${PWD_COMMAND}`; export r; \
6620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6621 $(HOST_EXPORTS) \
6622 echo Configuring in dosutils; \
6623 cd dosutils || exit 1; \
6624 case $(srcdir) in \
6625 \.) \
6626 srcdiroption="--srcdir=."; \
6627 libsrcdir=".";; \
6628 /* | [A-Za-z]:[\\/]*) \
6629 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6630 libsrcdir="$$s/dosutils";; \
6631 *) \
6632 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6633 libsrcdir="$$s/dosutils";; \
6634 esac; \
6635 $(SHELL) $${libsrcdir}/configure \
6636 $(HOST_CONFIGARGS) $${srcdiroption} \
6637 || exit 1
6638 @endif dosutils
6640 .PHONY: all-dosutils maybe-all-dosutils
6641 maybe-all-dosutils:
6642 @if dosutils
6643 TARGET-dosutils=all
6644 maybe-all-dosutils: all-dosutils
6645 all-dosutils: configure-dosutils
6646 @r=`${PWD_COMMAND}`; export r; \
6647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6648 $(SET_LIB_PATH) \
6649 $(HOST_EXPORTS) \
6650 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) \
6651 $(TARGET-dosutils))
6652 @endif dosutils
6654 .PHONY: check-dosutils maybe-check-dosutils
6655 maybe-check-dosutils:
6656 @if dosutils
6657 maybe-check-dosutils: check-dosutils
6659 check-dosutils:
6661 @endif dosutils
6663 .PHONY: install-dosutils maybe-install-dosutils
6664 maybe-install-dosutils:
6665 @if dosutils
6666 maybe-install-dosutils: install-dosutils
6668 install-dosutils: installdirs
6669 @r=`${PWD_COMMAND}`; export r; \
6670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6671 $(SET_LIB_PATH) \
6672 $(HOST_EXPORTS) \
6673 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6675 @endif dosutils
6677 # Other targets (info, dvi, etc.)
6679 .PHONY: maybe-info-dosutils info-dosutils
6680 maybe-info-dosutils:
6681 @if dosutils
6682 maybe-info-dosutils: info-dosutils
6684 info-dosutils: \
6685 configure-dosutils
6686 @[ -f ./dosutils/Makefile ] || exit 0; \
6687 r=`${PWD_COMMAND}`; export r; \
6688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6689 $(SET_LIB_PATH) \
6690 $(HOST_EXPORTS) \
6691 for flag in $(EXTRA_HOST_FLAGS) ; do \
6692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6693 done; \
6694 echo "Doing info in dosutils" ; \
6695 (cd dosutils && \
6696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6698 "RANLIB=$${RANLIB}" \
6699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6700 info) \
6701 || exit 1
6703 @endif dosutils
6705 .PHONY: maybe-dvi-dosutils dvi-dosutils
6706 maybe-dvi-dosutils:
6707 @if dosutils
6708 maybe-dvi-dosutils: dvi-dosutils
6710 dvi-dosutils: \
6711 configure-dosutils
6712 @[ -f ./dosutils/Makefile ] || exit 0; \
6713 r=`${PWD_COMMAND}`; export r; \
6714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6715 $(SET_LIB_PATH) \
6716 $(HOST_EXPORTS) \
6717 for flag in $(EXTRA_HOST_FLAGS) ; do \
6718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6719 done; \
6720 echo "Doing dvi in dosutils" ; \
6721 (cd dosutils && \
6722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6724 "RANLIB=$${RANLIB}" \
6725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6726 dvi) \
6727 || exit 1
6729 @endif dosutils
6731 .PHONY: maybe-html-dosutils html-dosutils
6732 maybe-html-dosutils:
6733 @if dosutils
6734 maybe-html-dosutils: html-dosutils
6736 html-dosutils: \
6737 configure-dosutils
6738 @[ -f ./dosutils/Makefile ] || exit 0; \
6739 r=`${PWD_COMMAND}`; export r; \
6740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6741 $(SET_LIB_PATH) \
6742 $(HOST_EXPORTS) \
6743 for flag in $(EXTRA_HOST_FLAGS) ; do \
6744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6745 done; \
6746 echo "Doing html in dosutils" ; \
6747 (cd dosutils && \
6748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6750 "RANLIB=$${RANLIB}" \
6751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6752 html) \
6753 || exit 1
6755 @endif dosutils
6757 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6758 maybe-TAGS-dosutils:
6759 @if dosutils
6760 maybe-TAGS-dosutils: TAGS-dosutils
6762 TAGS-dosutils: \
6763 configure-dosutils
6764 @[ -f ./dosutils/Makefile ] || exit 0; \
6765 r=`${PWD_COMMAND}`; export r; \
6766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6767 $(SET_LIB_PATH) \
6768 $(HOST_EXPORTS) \
6769 for flag in $(EXTRA_HOST_FLAGS) ; do \
6770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6771 done; \
6772 echo "Doing TAGS in dosutils" ; \
6773 (cd dosutils && \
6774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6776 "RANLIB=$${RANLIB}" \
6777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6778 TAGS) \
6779 || exit 1
6781 @endif dosutils
6783 .PHONY: maybe-install-info-dosutils install-info-dosutils
6784 maybe-install-info-dosutils:
6785 @if dosutils
6786 maybe-install-info-dosutils: install-info-dosutils
6788 install-info-dosutils: \
6789 configure-dosutils \
6790 info-dosutils
6791 @[ -f ./dosutils/Makefile ] || exit 0; \
6792 r=`${PWD_COMMAND}`; export r; \
6793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6794 $(SET_LIB_PATH) \
6795 $(HOST_EXPORTS) \
6796 for flag in $(EXTRA_HOST_FLAGS) ; do \
6797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6798 done; \
6799 echo "Doing install-info in dosutils" ; \
6800 (cd dosutils && \
6801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6803 "RANLIB=$${RANLIB}" \
6804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6805 install-info) \
6806 || exit 1
6808 @endif dosutils
6810 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6811 maybe-installcheck-dosutils:
6812 @if dosutils
6813 maybe-installcheck-dosutils: installcheck-dosutils
6815 installcheck-dosutils: \
6816 configure-dosutils
6817 @[ -f ./dosutils/Makefile ] || exit 0; \
6818 r=`${PWD_COMMAND}`; export r; \
6819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6820 $(SET_LIB_PATH) \
6821 $(HOST_EXPORTS) \
6822 for flag in $(EXTRA_HOST_FLAGS) ; do \
6823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6824 done; \
6825 echo "Doing installcheck in dosutils" ; \
6826 (cd dosutils && \
6827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6829 "RANLIB=$${RANLIB}" \
6830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6831 installcheck) \
6832 || exit 1
6834 @endif dosutils
6836 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6837 maybe-mostlyclean-dosutils:
6838 @if dosutils
6839 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6841 mostlyclean-dosutils:
6842 @[ -f ./dosutils/Makefile ] || exit 0; \
6843 r=`${PWD_COMMAND}`; export r; \
6844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6845 $(SET_LIB_PATH) \
6846 $(HOST_EXPORTS) \
6847 for flag in $(EXTRA_HOST_FLAGS) ; do \
6848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6849 done; \
6850 echo "Doing mostlyclean in dosutils" ; \
6851 (cd dosutils && \
6852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6854 "RANLIB=$${RANLIB}" \
6855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6856 mostlyclean) \
6857 || exit 1
6859 @endif dosutils
6861 .PHONY: maybe-clean-dosutils clean-dosutils
6862 maybe-clean-dosutils:
6863 @if dosutils
6864 maybe-clean-dosutils: clean-dosutils
6866 clean-dosutils:
6867 @[ -f ./dosutils/Makefile ] || exit 0; \
6868 r=`${PWD_COMMAND}`; export r; \
6869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6870 $(SET_LIB_PATH) \
6871 $(HOST_EXPORTS) \
6872 for flag in $(EXTRA_HOST_FLAGS) ; do \
6873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6874 done; \
6875 echo "Doing clean in dosutils" ; \
6876 (cd dosutils && \
6877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6879 "RANLIB=$${RANLIB}" \
6880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6881 clean) \
6882 || exit 1
6884 @endif dosutils
6886 .PHONY: maybe-distclean-dosutils distclean-dosutils
6887 maybe-distclean-dosutils:
6888 @if dosutils
6889 maybe-distclean-dosutils: distclean-dosutils
6891 distclean-dosutils:
6892 @[ -f ./dosutils/Makefile ] || exit 0; \
6893 r=`${PWD_COMMAND}`; export r; \
6894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6895 $(SET_LIB_PATH) \
6896 $(HOST_EXPORTS) \
6897 for flag in $(EXTRA_HOST_FLAGS) ; do \
6898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6899 done; \
6900 echo "Doing distclean in dosutils" ; \
6901 (cd dosutils && \
6902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6904 "RANLIB=$${RANLIB}" \
6905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6906 distclean) \
6907 || exit 1
6909 @endif dosutils
6911 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6912 maybe-maintainer-clean-dosutils:
6913 @if dosutils
6914 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6916 maintainer-clean-dosutils:
6917 @[ -f ./dosutils/Makefile ] || exit 0; \
6918 r=`${PWD_COMMAND}`; export r; \
6919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6920 $(SET_LIB_PATH) \
6921 $(HOST_EXPORTS) \
6922 for flag in $(EXTRA_HOST_FLAGS) ; do \
6923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6924 done; \
6925 echo "Doing maintainer-clean in dosutils" ; \
6926 (cd dosutils && \
6927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6929 "RANLIB=$${RANLIB}" \
6930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6931 maintainer-clean) \
6932 || exit 1
6934 @endif dosutils
6937 .PHONY: configure-etc maybe-configure-etc
6938 maybe-configure-etc:
6939 @if etc
6940 maybe-configure-etc: configure-etc
6941 configure-etc:
6942 @test ! -f etc/Makefile || exit 0; \
6943 [ -d etc ] || mkdir etc; \
6944 r=`${PWD_COMMAND}`; export r; \
6945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6946 $(HOST_EXPORTS) \
6947 echo Configuring in etc; \
6948 cd etc || exit 1; \
6949 case $(srcdir) in \
6950 \.) \
6951 srcdiroption="--srcdir=."; \
6952 libsrcdir=".";; \
6953 /* | [A-Za-z]:[\\/]*) \
6954 srcdiroption="--srcdir=$(srcdir)/etc"; \
6955 libsrcdir="$$s/etc";; \
6956 *) \
6957 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6958 libsrcdir="$$s/etc";; \
6959 esac; \
6960 $(SHELL) $${libsrcdir}/configure \
6961 $(HOST_CONFIGARGS) $${srcdiroption} \
6962 || exit 1
6963 @endif etc
6965 .PHONY: all-etc maybe-all-etc
6966 maybe-all-etc:
6967 @if etc
6968 TARGET-etc=all
6969 maybe-all-etc: all-etc
6970 all-etc: configure-etc
6971 @r=`${PWD_COMMAND}`; export r; \
6972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6973 $(SET_LIB_PATH) \
6974 $(HOST_EXPORTS) \
6975 (cd etc && $(MAKE) $(FLAGS_TO_PASS) \
6976 $(TARGET-etc))
6977 @endif etc
6979 .PHONY: check-etc maybe-check-etc
6980 maybe-check-etc:
6981 @if etc
6982 maybe-check-etc: check-etc
6984 check-etc:
6985 @r=`${PWD_COMMAND}`; export r; \
6986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6987 $(SET_LIB_PATH) \
6988 $(HOST_EXPORTS) \
6989 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6991 @endif etc
6993 .PHONY: install-etc maybe-install-etc
6994 maybe-install-etc:
6995 @if etc
6996 maybe-install-etc: install-etc
6998 install-etc: installdirs
6999 @r=`${PWD_COMMAND}`; export r; \
7000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7001 $(SET_LIB_PATH) \
7002 $(HOST_EXPORTS) \
7003 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
7005 @endif etc
7007 # Other targets (info, dvi, etc.)
7009 .PHONY: maybe-info-etc info-etc
7010 maybe-info-etc:
7011 @if etc
7012 maybe-info-etc: info-etc
7014 info-etc: \
7015 configure-etc
7016 @[ -f ./etc/Makefile ] || exit 0; \
7017 r=`${PWD_COMMAND}`; export r; \
7018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7019 $(SET_LIB_PATH) \
7020 $(HOST_EXPORTS) \
7021 for flag in $(EXTRA_HOST_FLAGS) ; do \
7022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7023 done; \
7024 echo "Doing info in etc" ; \
7025 (cd etc && \
7026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7028 "RANLIB=$${RANLIB}" \
7029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7030 info) \
7031 || exit 1
7033 @endif etc
7035 .PHONY: maybe-dvi-etc dvi-etc
7036 maybe-dvi-etc:
7037 @if etc
7038 maybe-dvi-etc: dvi-etc
7040 dvi-etc: \
7041 configure-etc
7042 @[ -f ./etc/Makefile ] || exit 0; \
7043 r=`${PWD_COMMAND}`; export r; \
7044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7045 $(SET_LIB_PATH) \
7046 $(HOST_EXPORTS) \
7047 for flag in $(EXTRA_HOST_FLAGS) ; do \
7048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7049 done; \
7050 echo "Doing dvi in etc" ; \
7051 (cd etc && \
7052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7054 "RANLIB=$${RANLIB}" \
7055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7056 dvi) \
7057 || exit 1
7059 @endif etc
7061 .PHONY: maybe-html-etc html-etc
7062 maybe-html-etc:
7063 @if etc
7064 maybe-html-etc: html-etc
7066 html-etc: \
7067 configure-etc
7068 @[ -f ./etc/Makefile ] || exit 0; \
7069 r=`${PWD_COMMAND}`; export r; \
7070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7071 $(SET_LIB_PATH) \
7072 $(HOST_EXPORTS) \
7073 for flag in $(EXTRA_HOST_FLAGS) ; do \
7074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7075 done; \
7076 echo "Doing html in etc" ; \
7077 (cd etc && \
7078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7080 "RANLIB=$${RANLIB}" \
7081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7082 html) \
7083 || exit 1
7085 @endif etc
7087 .PHONY: maybe-TAGS-etc TAGS-etc
7088 maybe-TAGS-etc:
7089 @if etc
7090 maybe-TAGS-etc: TAGS-etc
7092 TAGS-etc: \
7093 configure-etc
7094 @[ -f ./etc/Makefile ] || exit 0; \
7095 r=`${PWD_COMMAND}`; export r; \
7096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7097 $(SET_LIB_PATH) \
7098 $(HOST_EXPORTS) \
7099 for flag in $(EXTRA_HOST_FLAGS) ; do \
7100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7101 done; \
7102 echo "Doing TAGS in etc" ; \
7103 (cd etc && \
7104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7106 "RANLIB=$${RANLIB}" \
7107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7108 TAGS) \
7109 || exit 1
7111 @endif etc
7113 .PHONY: maybe-install-info-etc install-info-etc
7114 maybe-install-info-etc:
7115 @if etc
7116 maybe-install-info-etc: install-info-etc
7118 install-info-etc: \
7119 configure-etc \
7120 info-etc
7121 @[ -f ./etc/Makefile ] || exit 0; \
7122 r=`${PWD_COMMAND}`; export r; \
7123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7124 $(SET_LIB_PATH) \
7125 $(HOST_EXPORTS) \
7126 for flag in $(EXTRA_HOST_FLAGS) ; do \
7127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7128 done; \
7129 echo "Doing install-info in etc" ; \
7130 (cd etc && \
7131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7133 "RANLIB=$${RANLIB}" \
7134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7135 install-info) \
7136 || exit 1
7138 @endif etc
7140 .PHONY: maybe-installcheck-etc installcheck-etc
7141 maybe-installcheck-etc:
7142 @if etc
7143 maybe-installcheck-etc: installcheck-etc
7145 installcheck-etc: \
7146 configure-etc
7147 @[ -f ./etc/Makefile ] || exit 0; \
7148 r=`${PWD_COMMAND}`; export r; \
7149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7150 $(SET_LIB_PATH) \
7151 $(HOST_EXPORTS) \
7152 for flag in $(EXTRA_HOST_FLAGS) ; do \
7153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7154 done; \
7155 echo "Doing installcheck in etc" ; \
7156 (cd etc && \
7157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7159 "RANLIB=$${RANLIB}" \
7160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7161 installcheck) \
7162 || exit 1
7164 @endif etc
7166 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7167 maybe-mostlyclean-etc:
7168 @if etc
7169 maybe-mostlyclean-etc: mostlyclean-etc
7171 mostlyclean-etc:
7172 @[ -f ./etc/Makefile ] || exit 0; \
7173 r=`${PWD_COMMAND}`; export r; \
7174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7175 $(SET_LIB_PATH) \
7176 $(HOST_EXPORTS) \
7177 for flag in $(EXTRA_HOST_FLAGS) ; do \
7178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7179 done; \
7180 echo "Doing mostlyclean in etc" ; \
7181 (cd etc && \
7182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7184 "RANLIB=$${RANLIB}" \
7185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7186 mostlyclean) \
7187 || exit 1
7189 @endif etc
7191 .PHONY: maybe-clean-etc clean-etc
7192 maybe-clean-etc:
7193 @if etc
7194 maybe-clean-etc: clean-etc
7196 clean-etc:
7197 @[ -f ./etc/Makefile ] || exit 0; \
7198 r=`${PWD_COMMAND}`; export r; \
7199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7200 $(SET_LIB_PATH) \
7201 $(HOST_EXPORTS) \
7202 for flag in $(EXTRA_HOST_FLAGS) ; do \
7203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7204 done; \
7205 echo "Doing clean in etc" ; \
7206 (cd etc && \
7207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7209 "RANLIB=$${RANLIB}" \
7210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7211 clean) \
7212 || exit 1
7214 @endif etc
7216 .PHONY: maybe-distclean-etc distclean-etc
7217 maybe-distclean-etc:
7218 @if etc
7219 maybe-distclean-etc: distclean-etc
7221 distclean-etc:
7222 @[ -f ./etc/Makefile ] || exit 0; \
7223 r=`${PWD_COMMAND}`; export r; \
7224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7225 $(SET_LIB_PATH) \
7226 $(HOST_EXPORTS) \
7227 for flag in $(EXTRA_HOST_FLAGS) ; do \
7228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7229 done; \
7230 echo "Doing distclean in etc" ; \
7231 (cd etc && \
7232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7234 "RANLIB=$${RANLIB}" \
7235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7236 distclean) \
7237 || exit 1
7239 @endif etc
7241 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7242 maybe-maintainer-clean-etc:
7243 @if etc
7244 maybe-maintainer-clean-etc: maintainer-clean-etc
7246 maintainer-clean-etc:
7247 @[ -f ./etc/Makefile ] || exit 0; \
7248 r=`${PWD_COMMAND}`; export r; \
7249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7250 $(SET_LIB_PATH) \
7251 $(HOST_EXPORTS) \
7252 for flag in $(EXTRA_HOST_FLAGS) ; do \
7253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7254 done; \
7255 echo "Doing maintainer-clean in etc" ; \
7256 (cd etc && \
7257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7259 "RANLIB=$${RANLIB}" \
7260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7261 maintainer-clean) \
7262 || exit 1
7264 @endif etc
7267 .PHONY: configure-fastjar maybe-configure-fastjar
7268 maybe-configure-fastjar:
7269 @if fastjar
7270 maybe-configure-fastjar: configure-fastjar
7271 configure-fastjar:
7272 @test ! -f fastjar/Makefile || exit 0; \
7273 [ -d fastjar ] || mkdir fastjar; \
7274 r=`${PWD_COMMAND}`; export r; \
7275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7276 $(HOST_EXPORTS) \
7277 echo Configuring in fastjar; \
7278 cd fastjar || exit 1; \
7279 case $(srcdir) in \
7280 \.) \
7281 srcdiroption="--srcdir=."; \
7282 libsrcdir=".";; \
7283 /* | [A-Za-z]:[\\/]*) \
7284 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
7285 libsrcdir="$$s/fastjar";; \
7286 *) \
7287 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
7288 libsrcdir="$$s/fastjar";; \
7289 esac; \
7290 $(SHELL) $${libsrcdir}/configure \
7291 $(HOST_CONFIGARGS) $${srcdiroption} \
7292 || exit 1
7293 @endif fastjar
7295 .PHONY: all-fastjar maybe-all-fastjar
7296 maybe-all-fastjar:
7297 @if fastjar
7298 TARGET-fastjar=all
7299 maybe-all-fastjar: all-fastjar
7300 all-fastjar: configure-fastjar
7301 @r=`${PWD_COMMAND}`; export r; \
7302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7303 $(SET_LIB_PATH) \
7304 $(HOST_EXPORTS) \
7305 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) \
7306 $(TARGET-fastjar))
7307 @endif fastjar
7309 .PHONY: check-fastjar maybe-check-fastjar
7310 maybe-check-fastjar:
7311 @if fastjar
7312 maybe-check-fastjar: check-fastjar
7314 # This module is only tested in a native toolchain.
7315 check-fastjar:
7316 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
7324 @endif fastjar
7326 .PHONY: install-fastjar maybe-install-fastjar
7327 maybe-install-fastjar:
7328 @if fastjar
7329 maybe-install-fastjar: install-fastjar
7331 install-fastjar: installdirs
7332 @r=`${PWD_COMMAND}`; export r; \
7333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7334 $(SET_LIB_PATH) \
7335 $(HOST_EXPORTS) \
7336 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
7338 @endif fastjar
7340 # Other targets (info, dvi, etc.)
7342 .PHONY: maybe-info-fastjar info-fastjar
7343 maybe-info-fastjar:
7344 @if fastjar
7345 maybe-info-fastjar: info-fastjar
7347 info-fastjar: \
7348 configure-fastjar
7349 @[ -f ./fastjar/Makefile ] || exit 0; \
7350 r=`${PWD_COMMAND}`; export r; \
7351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7352 $(SET_LIB_PATH) \
7353 $(HOST_EXPORTS) \
7354 for flag in $(EXTRA_HOST_FLAGS) ; do \
7355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7356 done; \
7357 echo "Doing info in fastjar" ; \
7358 (cd fastjar && \
7359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7361 "RANLIB=$${RANLIB}" \
7362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7363 info) \
7364 || exit 1
7366 @endif fastjar
7368 .PHONY: maybe-dvi-fastjar dvi-fastjar
7369 maybe-dvi-fastjar:
7370 @if fastjar
7371 maybe-dvi-fastjar: dvi-fastjar
7373 dvi-fastjar: \
7374 configure-fastjar
7375 @[ -f ./fastjar/Makefile ] || exit 0; \
7376 r=`${PWD_COMMAND}`; export r; \
7377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7378 $(SET_LIB_PATH) \
7379 $(HOST_EXPORTS) \
7380 for flag in $(EXTRA_HOST_FLAGS) ; do \
7381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7382 done; \
7383 echo "Doing dvi in fastjar" ; \
7384 (cd fastjar && \
7385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7387 "RANLIB=$${RANLIB}" \
7388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7389 dvi) \
7390 || exit 1
7392 @endif fastjar
7394 .PHONY: maybe-html-fastjar html-fastjar
7395 maybe-html-fastjar:
7396 @if fastjar
7397 maybe-html-fastjar: html-fastjar
7399 html-fastjar: \
7400 configure-fastjar
7401 @[ -f ./fastjar/Makefile ] || exit 0; \
7402 r=`${PWD_COMMAND}`; export r; \
7403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7404 $(SET_LIB_PATH) \
7405 $(HOST_EXPORTS) \
7406 for flag in $(EXTRA_HOST_FLAGS) ; do \
7407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7408 done; \
7409 echo "Doing html in fastjar" ; \
7410 (cd fastjar && \
7411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7413 "RANLIB=$${RANLIB}" \
7414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7415 html) \
7416 || exit 1
7418 @endif fastjar
7420 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7421 maybe-TAGS-fastjar:
7422 @if fastjar
7423 maybe-TAGS-fastjar: TAGS-fastjar
7425 TAGS-fastjar: \
7426 configure-fastjar
7427 @[ -f ./fastjar/Makefile ] || exit 0; \
7428 r=`${PWD_COMMAND}`; export r; \
7429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7430 $(SET_LIB_PATH) \
7431 $(HOST_EXPORTS) \
7432 for flag in $(EXTRA_HOST_FLAGS) ; do \
7433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7434 done; \
7435 echo "Doing TAGS in fastjar" ; \
7436 (cd fastjar && \
7437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7439 "RANLIB=$${RANLIB}" \
7440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7441 TAGS) \
7442 || exit 1
7444 @endif fastjar
7446 .PHONY: maybe-install-info-fastjar install-info-fastjar
7447 maybe-install-info-fastjar:
7448 @if fastjar
7449 maybe-install-info-fastjar: install-info-fastjar
7451 install-info-fastjar: \
7452 configure-fastjar \
7453 info-fastjar
7454 @[ -f ./fastjar/Makefile ] || exit 0; \
7455 r=`${PWD_COMMAND}`; export r; \
7456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7457 $(SET_LIB_PATH) \
7458 $(HOST_EXPORTS) \
7459 for flag in $(EXTRA_HOST_FLAGS) ; do \
7460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7461 done; \
7462 echo "Doing install-info in fastjar" ; \
7463 (cd fastjar && \
7464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7466 "RANLIB=$${RANLIB}" \
7467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7468 install-info) \
7469 || exit 1
7471 @endif fastjar
7473 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7474 maybe-installcheck-fastjar:
7475 @if fastjar
7476 maybe-installcheck-fastjar: installcheck-fastjar
7478 installcheck-fastjar: \
7479 configure-fastjar
7480 @[ -f ./fastjar/Makefile ] || exit 0; \
7481 r=`${PWD_COMMAND}`; export r; \
7482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7483 $(SET_LIB_PATH) \
7484 $(HOST_EXPORTS) \
7485 for flag in $(EXTRA_HOST_FLAGS) ; do \
7486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7487 done; \
7488 echo "Doing installcheck in fastjar" ; \
7489 (cd fastjar && \
7490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7492 "RANLIB=$${RANLIB}" \
7493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7494 installcheck) \
7495 || exit 1
7497 @endif fastjar
7499 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7500 maybe-mostlyclean-fastjar:
7501 @if fastjar
7502 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7504 mostlyclean-fastjar:
7505 @[ -f ./fastjar/Makefile ] || exit 0; \
7506 r=`${PWD_COMMAND}`; export r; \
7507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7508 $(SET_LIB_PATH) \
7509 $(HOST_EXPORTS) \
7510 for flag in $(EXTRA_HOST_FLAGS) ; do \
7511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7512 done; \
7513 echo "Doing mostlyclean in fastjar" ; \
7514 (cd fastjar && \
7515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7517 "RANLIB=$${RANLIB}" \
7518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7519 mostlyclean) \
7520 || exit 1
7522 @endif fastjar
7524 .PHONY: maybe-clean-fastjar clean-fastjar
7525 maybe-clean-fastjar:
7526 @if fastjar
7527 maybe-clean-fastjar: clean-fastjar
7529 clean-fastjar:
7530 @[ -f ./fastjar/Makefile ] || exit 0; \
7531 r=`${PWD_COMMAND}`; export r; \
7532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7533 $(SET_LIB_PATH) \
7534 $(HOST_EXPORTS) \
7535 for flag in $(EXTRA_HOST_FLAGS) ; do \
7536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7537 done; \
7538 echo "Doing clean in fastjar" ; \
7539 (cd fastjar && \
7540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7542 "RANLIB=$${RANLIB}" \
7543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7544 clean) \
7545 || exit 1
7547 @endif fastjar
7549 .PHONY: maybe-distclean-fastjar distclean-fastjar
7550 maybe-distclean-fastjar:
7551 @if fastjar
7552 maybe-distclean-fastjar: distclean-fastjar
7554 distclean-fastjar:
7555 @[ -f ./fastjar/Makefile ] || exit 0; \
7556 r=`${PWD_COMMAND}`; export r; \
7557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7558 $(SET_LIB_PATH) \
7559 $(HOST_EXPORTS) \
7560 for flag in $(EXTRA_HOST_FLAGS) ; do \
7561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7562 done; \
7563 echo "Doing distclean in fastjar" ; \
7564 (cd fastjar && \
7565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7567 "RANLIB=$${RANLIB}" \
7568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7569 distclean) \
7570 || exit 1
7572 @endif fastjar
7574 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7575 maybe-maintainer-clean-fastjar:
7576 @if fastjar
7577 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7579 maintainer-clean-fastjar:
7580 @[ -f ./fastjar/Makefile ] || exit 0; \
7581 r=`${PWD_COMMAND}`; export r; \
7582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7583 $(SET_LIB_PATH) \
7584 $(HOST_EXPORTS) \
7585 for flag in $(EXTRA_HOST_FLAGS) ; do \
7586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7587 done; \
7588 echo "Doing maintainer-clean in fastjar" ; \
7589 (cd fastjar && \
7590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7592 "RANLIB=$${RANLIB}" \
7593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7594 maintainer-clean) \
7595 || exit 1
7597 @endif fastjar
7600 .PHONY: configure-fileutils maybe-configure-fileutils
7601 maybe-configure-fileutils:
7602 @if fileutils
7603 maybe-configure-fileutils: configure-fileutils
7604 configure-fileutils:
7605 @test ! -f fileutils/Makefile || exit 0; \
7606 [ -d fileutils ] || mkdir fileutils; \
7607 r=`${PWD_COMMAND}`; export r; \
7608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7609 $(HOST_EXPORTS) \
7610 echo Configuring in fileutils; \
7611 cd fileutils || exit 1; \
7612 case $(srcdir) in \
7613 \.) \
7614 srcdiroption="--srcdir=."; \
7615 libsrcdir=".";; \
7616 /* | [A-Za-z]:[\\/]*) \
7617 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7618 libsrcdir="$$s/fileutils";; \
7619 *) \
7620 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7621 libsrcdir="$$s/fileutils";; \
7622 esac; \
7623 $(SHELL) $${libsrcdir}/configure \
7624 $(HOST_CONFIGARGS) $${srcdiroption} \
7625 || exit 1
7626 @endif fileutils
7628 .PHONY: all-fileutils maybe-all-fileutils
7629 maybe-all-fileutils:
7630 @if fileutils
7631 TARGET-fileutils=all
7632 maybe-all-fileutils: all-fileutils
7633 all-fileutils: configure-fileutils
7634 @r=`${PWD_COMMAND}`; export r; \
7635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7636 $(SET_LIB_PATH) \
7637 $(HOST_EXPORTS) \
7638 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) \
7639 $(TARGET-fileutils))
7640 @endif fileutils
7642 .PHONY: check-fileutils maybe-check-fileutils
7643 maybe-check-fileutils:
7644 @if fileutils
7645 maybe-check-fileutils: check-fileutils
7647 check-fileutils:
7648 @r=`${PWD_COMMAND}`; export r; \
7649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7650 $(SET_LIB_PATH) \
7651 $(HOST_EXPORTS) \
7652 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7654 @endif fileutils
7656 .PHONY: install-fileutils maybe-install-fileutils
7657 maybe-install-fileutils:
7658 @if fileutils
7659 maybe-install-fileutils: install-fileutils
7661 install-fileutils: installdirs
7662 @r=`${PWD_COMMAND}`; export r; \
7663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7664 $(SET_LIB_PATH) \
7665 $(HOST_EXPORTS) \
7666 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7668 @endif fileutils
7670 # Other targets (info, dvi, etc.)
7672 .PHONY: maybe-info-fileutils info-fileutils
7673 maybe-info-fileutils:
7674 @if fileutils
7675 maybe-info-fileutils: info-fileutils
7677 info-fileutils: \
7678 configure-fileutils
7679 @[ -f ./fileutils/Makefile ] || exit 0; \
7680 r=`${PWD_COMMAND}`; export r; \
7681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7682 $(SET_LIB_PATH) \
7683 $(HOST_EXPORTS) \
7684 for flag in $(EXTRA_HOST_FLAGS) ; do \
7685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7686 done; \
7687 echo "Doing info in fileutils" ; \
7688 (cd fileutils && \
7689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7691 "RANLIB=$${RANLIB}" \
7692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7693 info) \
7694 || exit 1
7696 @endif fileutils
7698 .PHONY: maybe-dvi-fileutils dvi-fileutils
7699 maybe-dvi-fileutils:
7700 @if fileutils
7701 maybe-dvi-fileutils: dvi-fileutils
7703 dvi-fileutils: \
7704 configure-fileutils
7705 @[ -f ./fileutils/Makefile ] || exit 0; \
7706 r=`${PWD_COMMAND}`; export r; \
7707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7708 $(SET_LIB_PATH) \
7709 $(HOST_EXPORTS) \
7710 for flag in $(EXTRA_HOST_FLAGS) ; do \
7711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7712 done; \
7713 echo "Doing dvi in fileutils" ; \
7714 (cd fileutils && \
7715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7717 "RANLIB=$${RANLIB}" \
7718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7719 dvi) \
7720 || exit 1
7722 @endif fileutils
7724 .PHONY: maybe-html-fileutils html-fileutils
7725 maybe-html-fileutils:
7726 @if fileutils
7727 maybe-html-fileutils: html-fileutils
7729 html-fileutils: \
7730 configure-fileutils
7731 @[ -f ./fileutils/Makefile ] || exit 0; \
7732 r=`${PWD_COMMAND}`; export r; \
7733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7734 $(SET_LIB_PATH) \
7735 $(HOST_EXPORTS) \
7736 for flag in $(EXTRA_HOST_FLAGS) ; do \
7737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7738 done; \
7739 echo "Doing html in fileutils" ; \
7740 (cd fileutils && \
7741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7743 "RANLIB=$${RANLIB}" \
7744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7745 html) \
7746 || exit 1
7748 @endif fileutils
7750 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7751 maybe-TAGS-fileutils:
7752 @if fileutils
7753 maybe-TAGS-fileutils: TAGS-fileutils
7755 TAGS-fileutils: \
7756 configure-fileutils
7757 @[ -f ./fileutils/Makefile ] || exit 0; \
7758 r=`${PWD_COMMAND}`; export r; \
7759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7760 $(SET_LIB_PATH) \
7761 $(HOST_EXPORTS) \
7762 for flag in $(EXTRA_HOST_FLAGS) ; do \
7763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7764 done; \
7765 echo "Doing TAGS in fileutils" ; \
7766 (cd fileutils && \
7767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7769 "RANLIB=$${RANLIB}" \
7770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7771 TAGS) \
7772 || exit 1
7774 @endif fileutils
7776 .PHONY: maybe-install-info-fileutils install-info-fileutils
7777 maybe-install-info-fileutils:
7778 @if fileutils
7779 maybe-install-info-fileutils: install-info-fileutils
7781 install-info-fileutils: \
7782 configure-fileutils \
7783 info-fileutils
7784 @[ -f ./fileutils/Makefile ] || exit 0; \
7785 r=`${PWD_COMMAND}`; export r; \
7786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7787 $(SET_LIB_PATH) \
7788 $(HOST_EXPORTS) \
7789 for flag in $(EXTRA_HOST_FLAGS) ; do \
7790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7791 done; \
7792 echo "Doing install-info in fileutils" ; \
7793 (cd fileutils && \
7794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7796 "RANLIB=$${RANLIB}" \
7797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7798 install-info) \
7799 || exit 1
7801 @endif fileutils
7803 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7804 maybe-installcheck-fileutils:
7805 @if fileutils
7806 maybe-installcheck-fileutils: installcheck-fileutils
7808 installcheck-fileutils: \
7809 configure-fileutils
7810 @[ -f ./fileutils/Makefile ] || exit 0; \
7811 r=`${PWD_COMMAND}`; export r; \
7812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7813 $(SET_LIB_PATH) \
7814 $(HOST_EXPORTS) \
7815 for flag in $(EXTRA_HOST_FLAGS) ; do \
7816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7817 done; \
7818 echo "Doing installcheck in fileutils" ; \
7819 (cd fileutils && \
7820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7822 "RANLIB=$${RANLIB}" \
7823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7824 installcheck) \
7825 || exit 1
7827 @endif fileutils
7829 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7830 maybe-mostlyclean-fileutils:
7831 @if fileutils
7832 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7834 mostlyclean-fileutils:
7835 @[ -f ./fileutils/Makefile ] || exit 0; \
7836 r=`${PWD_COMMAND}`; export r; \
7837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7838 $(SET_LIB_PATH) \
7839 $(HOST_EXPORTS) \
7840 for flag in $(EXTRA_HOST_FLAGS) ; do \
7841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7842 done; \
7843 echo "Doing mostlyclean in fileutils" ; \
7844 (cd fileutils && \
7845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7847 "RANLIB=$${RANLIB}" \
7848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7849 mostlyclean) \
7850 || exit 1
7852 @endif fileutils
7854 .PHONY: maybe-clean-fileutils clean-fileutils
7855 maybe-clean-fileutils:
7856 @if fileutils
7857 maybe-clean-fileutils: clean-fileutils
7859 clean-fileutils:
7860 @[ -f ./fileutils/Makefile ] || exit 0; \
7861 r=`${PWD_COMMAND}`; export r; \
7862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7863 $(SET_LIB_PATH) \
7864 $(HOST_EXPORTS) \
7865 for flag in $(EXTRA_HOST_FLAGS) ; do \
7866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7867 done; \
7868 echo "Doing clean in fileutils" ; \
7869 (cd fileutils && \
7870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7872 "RANLIB=$${RANLIB}" \
7873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7874 clean) \
7875 || exit 1
7877 @endif fileutils
7879 .PHONY: maybe-distclean-fileutils distclean-fileutils
7880 maybe-distclean-fileutils:
7881 @if fileutils
7882 maybe-distclean-fileutils: distclean-fileutils
7884 distclean-fileutils:
7885 @[ -f ./fileutils/Makefile ] || exit 0; \
7886 r=`${PWD_COMMAND}`; export r; \
7887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7888 $(SET_LIB_PATH) \
7889 $(HOST_EXPORTS) \
7890 for flag in $(EXTRA_HOST_FLAGS) ; do \
7891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7892 done; \
7893 echo "Doing distclean in fileutils" ; \
7894 (cd fileutils && \
7895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7897 "RANLIB=$${RANLIB}" \
7898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7899 distclean) \
7900 || exit 1
7902 @endif fileutils
7904 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7905 maybe-maintainer-clean-fileutils:
7906 @if fileutils
7907 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7909 maintainer-clean-fileutils:
7910 @[ -f ./fileutils/Makefile ] || exit 0; \
7911 r=`${PWD_COMMAND}`; export r; \
7912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7913 $(SET_LIB_PATH) \
7914 $(HOST_EXPORTS) \
7915 for flag in $(EXTRA_HOST_FLAGS) ; do \
7916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7917 done; \
7918 echo "Doing maintainer-clean in fileutils" ; \
7919 (cd fileutils && \
7920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7922 "RANLIB=$${RANLIB}" \
7923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7924 maintainer-clean) \
7925 || exit 1
7927 @endif fileutils
7930 .PHONY: configure-findutils maybe-configure-findutils
7931 maybe-configure-findutils:
7932 @if findutils
7933 maybe-configure-findutils: configure-findutils
7934 configure-findutils:
7935 @test ! -f findutils/Makefile || exit 0; \
7936 [ -d findutils ] || mkdir findutils; \
7937 r=`${PWD_COMMAND}`; export r; \
7938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7939 $(HOST_EXPORTS) \
7940 echo Configuring in findutils; \
7941 cd findutils || exit 1; \
7942 case $(srcdir) in \
7943 \.) \
7944 srcdiroption="--srcdir=."; \
7945 libsrcdir=".";; \
7946 /* | [A-Za-z]:[\\/]*) \
7947 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7948 libsrcdir="$$s/findutils";; \
7949 *) \
7950 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7951 libsrcdir="$$s/findutils";; \
7952 esac; \
7953 $(SHELL) $${libsrcdir}/configure \
7954 $(HOST_CONFIGARGS) $${srcdiroption} \
7955 || exit 1
7956 @endif findutils
7958 .PHONY: all-findutils maybe-all-findutils
7959 maybe-all-findutils:
7960 @if findutils
7961 TARGET-findutils=all
7962 maybe-all-findutils: all-findutils
7963 all-findutils: configure-findutils
7964 @r=`${PWD_COMMAND}`; export r; \
7965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7966 $(SET_LIB_PATH) \
7967 $(HOST_EXPORTS) \
7968 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) \
7969 $(TARGET-findutils))
7970 @endif findutils
7972 .PHONY: check-findutils maybe-check-findutils
7973 maybe-check-findutils:
7974 @if findutils
7975 maybe-check-findutils: check-findutils
7977 check-findutils:
7978 @r=`${PWD_COMMAND}`; export r; \
7979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7980 $(SET_LIB_PATH) \
7981 $(HOST_EXPORTS) \
7982 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7984 @endif findutils
7986 .PHONY: install-findutils maybe-install-findutils
7987 maybe-install-findutils:
7988 @if findutils
7989 maybe-install-findutils: install-findutils
7991 install-findutils: installdirs
7992 @r=`${PWD_COMMAND}`; export r; \
7993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7994 $(SET_LIB_PATH) \
7995 $(HOST_EXPORTS) \
7996 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7998 @endif findutils
8000 # Other targets (info, dvi, etc.)
8002 .PHONY: maybe-info-findutils info-findutils
8003 maybe-info-findutils:
8004 @if findutils
8005 maybe-info-findutils: info-findutils
8007 info-findutils: \
8008 configure-findutils
8009 @[ -f ./findutils/Makefile ] || exit 0; \
8010 r=`${PWD_COMMAND}`; export r; \
8011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8012 $(SET_LIB_PATH) \
8013 $(HOST_EXPORTS) \
8014 for flag in $(EXTRA_HOST_FLAGS) ; do \
8015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8016 done; \
8017 echo "Doing info in findutils" ; \
8018 (cd findutils && \
8019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8021 "RANLIB=$${RANLIB}" \
8022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8023 info) \
8024 || exit 1
8026 @endif findutils
8028 .PHONY: maybe-dvi-findutils dvi-findutils
8029 maybe-dvi-findutils:
8030 @if findutils
8031 maybe-dvi-findutils: dvi-findutils
8033 dvi-findutils: \
8034 configure-findutils
8035 @[ -f ./findutils/Makefile ] || exit 0; \
8036 r=`${PWD_COMMAND}`; export r; \
8037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8038 $(SET_LIB_PATH) \
8039 $(HOST_EXPORTS) \
8040 for flag in $(EXTRA_HOST_FLAGS) ; do \
8041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8042 done; \
8043 echo "Doing dvi in findutils" ; \
8044 (cd findutils && \
8045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8047 "RANLIB=$${RANLIB}" \
8048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8049 dvi) \
8050 || exit 1
8052 @endif findutils
8054 .PHONY: maybe-html-findutils html-findutils
8055 maybe-html-findutils:
8056 @if findutils
8057 maybe-html-findutils: html-findutils
8059 html-findutils: \
8060 configure-findutils
8061 @[ -f ./findutils/Makefile ] || exit 0; \
8062 r=`${PWD_COMMAND}`; export r; \
8063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8064 $(SET_LIB_PATH) \
8065 $(HOST_EXPORTS) \
8066 for flag in $(EXTRA_HOST_FLAGS) ; do \
8067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8068 done; \
8069 echo "Doing html in findutils" ; \
8070 (cd findutils && \
8071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8073 "RANLIB=$${RANLIB}" \
8074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8075 html) \
8076 || exit 1
8078 @endif findutils
8080 .PHONY: maybe-TAGS-findutils TAGS-findutils
8081 maybe-TAGS-findutils:
8082 @if findutils
8083 maybe-TAGS-findutils: TAGS-findutils
8085 TAGS-findutils: \
8086 configure-findutils
8087 @[ -f ./findutils/Makefile ] || exit 0; \
8088 r=`${PWD_COMMAND}`; export r; \
8089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8090 $(SET_LIB_PATH) \
8091 $(HOST_EXPORTS) \
8092 for flag in $(EXTRA_HOST_FLAGS) ; do \
8093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8094 done; \
8095 echo "Doing TAGS in findutils" ; \
8096 (cd findutils && \
8097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8099 "RANLIB=$${RANLIB}" \
8100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8101 TAGS) \
8102 || exit 1
8104 @endif findutils
8106 .PHONY: maybe-install-info-findutils install-info-findutils
8107 maybe-install-info-findutils:
8108 @if findutils
8109 maybe-install-info-findutils: install-info-findutils
8111 install-info-findutils: \
8112 configure-findutils \
8113 info-findutils
8114 @[ -f ./findutils/Makefile ] || exit 0; \
8115 r=`${PWD_COMMAND}`; export r; \
8116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8117 $(SET_LIB_PATH) \
8118 $(HOST_EXPORTS) \
8119 for flag in $(EXTRA_HOST_FLAGS) ; do \
8120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8121 done; \
8122 echo "Doing install-info in findutils" ; \
8123 (cd findutils && \
8124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8126 "RANLIB=$${RANLIB}" \
8127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8128 install-info) \
8129 || exit 1
8131 @endif findutils
8133 .PHONY: maybe-installcheck-findutils installcheck-findutils
8134 maybe-installcheck-findutils:
8135 @if findutils
8136 maybe-installcheck-findutils: installcheck-findutils
8138 installcheck-findutils: \
8139 configure-findutils
8140 @[ -f ./findutils/Makefile ] || exit 0; \
8141 r=`${PWD_COMMAND}`; export r; \
8142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8143 $(SET_LIB_PATH) \
8144 $(HOST_EXPORTS) \
8145 for flag in $(EXTRA_HOST_FLAGS) ; do \
8146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8147 done; \
8148 echo "Doing installcheck in findutils" ; \
8149 (cd findutils && \
8150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8152 "RANLIB=$${RANLIB}" \
8153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8154 installcheck) \
8155 || exit 1
8157 @endif findutils
8159 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
8160 maybe-mostlyclean-findutils:
8161 @if findutils
8162 maybe-mostlyclean-findutils: mostlyclean-findutils
8164 mostlyclean-findutils:
8165 @[ -f ./findutils/Makefile ] || exit 0; \
8166 r=`${PWD_COMMAND}`; export r; \
8167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8168 $(SET_LIB_PATH) \
8169 $(HOST_EXPORTS) \
8170 for flag in $(EXTRA_HOST_FLAGS) ; do \
8171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8172 done; \
8173 echo "Doing mostlyclean in findutils" ; \
8174 (cd findutils && \
8175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8177 "RANLIB=$${RANLIB}" \
8178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8179 mostlyclean) \
8180 || exit 1
8182 @endif findutils
8184 .PHONY: maybe-clean-findutils clean-findutils
8185 maybe-clean-findutils:
8186 @if findutils
8187 maybe-clean-findutils: clean-findutils
8189 clean-findutils:
8190 @[ -f ./findutils/Makefile ] || exit 0; \
8191 r=`${PWD_COMMAND}`; export r; \
8192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8193 $(SET_LIB_PATH) \
8194 $(HOST_EXPORTS) \
8195 for flag in $(EXTRA_HOST_FLAGS) ; do \
8196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8197 done; \
8198 echo "Doing clean in findutils" ; \
8199 (cd findutils && \
8200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8202 "RANLIB=$${RANLIB}" \
8203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8204 clean) \
8205 || exit 1
8207 @endif findutils
8209 .PHONY: maybe-distclean-findutils distclean-findutils
8210 maybe-distclean-findutils:
8211 @if findutils
8212 maybe-distclean-findutils: distclean-findutils
8214 distclean-findutils:
8215 @[ -f ./findutils/Makefile ] || exit 0; \
8216 r=`${PWD_COMMAND}`; export r; \
8217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8218 $(SET_LIB_PATH) \
8219 $(HOST_EXPORTS) \
8220 for flag in $(EXTRA_HOST_FLAGS) ; do \
8221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8222 done; \
8223 echo "Doing distclean in findutils" ; \
8224 (cd findutils && \
8225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8227 "RANLIB=$${RANLIB}" \
8228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8229 distclean) \
8230 || exit 1
8232 @endif findutils
8234 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
8235 maybe-maintainer-clean-findutils:
8236 @if findutils
8237 maybe-maintainer-clean-findutils: maintainer-clean-findutils
8239 maintainer-clean-findutils:
8240 @[ -f ./findutils/Makefile ] || exit 0; \
8241 r=`${PWD_COMMAND}`; export r; \
8242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8243 $(SET_LIB_PATH) \
8244 $(HOST_EXPORTS) \
8245 for flag in $(EXTRA_HOST_FLAGS) ; do \
8246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8247 done; \
8248 echo "Doing maintainer-clean in findutils" ; \
8249 (cd findutils && \
8250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8252 "RANLIB=$${RANLIB}" \
8253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8254 maintainer-clean) \
8255 || exit 1
8257 @endif findutils
8260 .PHONY: configure-find maybe-configure-find
8261 maybe-configure-find:
8262 @if find
8263 maybe-configure-find: configure-find
8264 configure-find:
8265 @test ! -f find/Makefile || exit 0; \
8266 [ -d find ] || mkdir find; \
8267 r=`${PWD_COMMAND}`; export r; \
8268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8269 $(HOST_EXPORTS) \
8270 echo Configuring in find; \
8271 cd find || exit 1; \
8272 case $(srcdir) in \
8273 \.) \
8274 srcdiroption="--srcdir=."; \
8275 libsrcdir=".";; \
8276 /* | [A-Za-z]:[\\/]*) \
8277 srcdiroption="--srcdir=$(srcdir)/find"; \
8278 libsrcdir="$$s/find";; \
8279 *) \
8280 srcdiroption="--srcdir=../$(srcdir)/find"; \
8281 libsrcdir="$$s/find";; \
8282 esac; \
8283 $(SHELL) $${libsrcdir}/configure \
8284 $(HOST_CONFIGARGS) $${srcdiroption} \
8285 || exit 1
8286 @endif find
8288 .PHONY: all-find maybe-all-find
8289 maybe-all-find:
8290 @if find
8291 TARGET-find=all
8292 maybe-all-find: all-find
8293 all-find: configure-find
8294 @r=`${PWD_COMMAND}`; export r; \
8295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8296 $(SET_LIB_PATH) \
8297 $(HOST_EXPORTS) \
8298 (cd find && $(MAKE) $(FLAGS_TO_PASS) \
8299 $(TARGET-find))
8300 @endif find
8302 .PHONY: check-find maybe-check-find
8303 maybe-check-find:
8304 @if find
8305 maybe-check-find: check-find
8307 check-find:
8308 @r=`${PWD_COMMAND}`; export r; \
8309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8310 $(SET_LIB_PATH) \
8311 $(HOST_EXPORTS) \
8312 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
8314 @endif find
8316 .PHONY: install-find maybe-install-find
8317 maybe-install-find:
8318 @if find
8319 maybe-install-find: install-find
8321 install-find: installdirs
8322 @r=`${PWD_COMMAND}`; export r; \
8323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8324 $(SET_LIB_PATH) \
8325 $(HOST_EXPORTS) \
8326 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
8328 @endif find
8330 # Other targets (info, dvi, etc.)
8332 .PHONY: maybe-info-find info-find
8333 maybe-info-find:
8334 @if find
8335 maybe-info-find: info-find
8337 info-find: \
8338 configure-find
8339 @[ -f ./find/Makefile ] || exit 0; \
8340 r=`${PWD_COMMAND}`; export r; \
8341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8342 $(SET_LIB_PATH) \
8343 $(HOST_EXPORTS) \
8344 for flag in $(EXTRA_HOST_FLAGS) ; do \
8345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8346 done; \
8347 echo "Doing info in find" ; \
8348 (cd find && \
8349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8351 "RANLIB=$${RANLIB}" \
8352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8353 info) \
8354 || exit 1
8356 @endif find
8358 .PHONY: maybe-dvi-find dvi-find
8359 maybe-dvi-find:
8360 @if find
8361 maybe-dvi-find: dvi-find
8363 dvi-find: \
8364 configure-find
8365 @[ -f ./find/Makefile ] || exit 0; \
8366 r=`${PWD_COMMAND}`; export r; \
8367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8368 $(SET_LIB_PATH) \
8369 $(HOST_EXPORTS) \
8370 for flag in $(EXTRA_HOST_FLAGS) ; do \
8371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8372 done; \
8373 echo "Doing dvi in find" ; \
8374 (cd find && \
8375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8377 "RANLIB=$${RANLIB}" \
8378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8379 dvi) \
8380 || exit 1
8382 @endif find
8384 .PHONY: maybe-html-find html-find
8385 maybe-html-find:
8386 @if find
8387 maybe-html-find: html-find
8389 html-find: \
8390 configure-find
8391 @[ -f ./find/Makefile ] || exit 0; \
8392 r=`${PWD_COMMAND}`; export r; \
8393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8394 $(SET_LIB_PATH) \
8395 $(HOST_EXPORTS) \
8396 for flag in $(EXTRA_HOST_FLAGS) ; do \
8397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8398 done; \
8399 echo "Doing html in find" ; \
8400 (cd find && \
8401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8403 "RANLIB=$${RANLIB}" \
8404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8405 html) \
8406 || exit 1
8408 @endif find
8410 .PHONY: maybe-TAGS-find TAGS-find
8411 maybe-TAGS-find:
8412 @if find
8413 maybe-TAGS-find: TAGS-find
8415 TAGS-find: \
8416 configure-find
8417 @[ -f ./find/Makefile ] || exit 0; \
8418 r=`${PWD_COMMAND}`; export r; \
8419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8420 $(SET_LIB_PATH) \
8421 $(HOST_EXPORTS) \
8422 for flag in $(EXTRA_HOST_FLAGS) ; do \
8423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8424 done; \
8425 echo "Doing TAGS in find" ; \
8426 (cd find && \
8427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8429 "RANLIB=$${RANLIB}" \
8430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8431 TAGS) \
8432 || exit 1
8434 @endif find
8436 .PHONY: maybe-install-info-find install-info-find
8437 maybe-install-info-find:
8438 @if find
8439 maybe-install-info-find: install-info-find
8441 install-info-find: \
8442 configure-find \
8443 info-find
8444 @[ -f ./find/Makefile ] || exit 0; \
8445 r=`${PWD_COMMAND}`; export r; \
8446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8447 $(SET_LIB_PATH) \
8448 $(HOST_EXPORTS) \
8449 for flag in $(EXTRA_HOST_FLAGS) ; do \
8450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8451 done; \
8452 echo "Doing install-info in find" ; \
8453 (cd find && \
8454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8456 "RANLIB=$${RANLIB}" \
8457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8458 install-info) \
8459 || exit 1
8461 @endif find
8463 .PHONY: maybe-installcheck-find installcheck-find
8464 maybe-installcheck-find:
8465 @if find
8466 maybe-installcheck-find: installcheck-find
8468 installcheck-find: \
8469 configure-find
8470 @[ -f ./find/Makefile ] || exit 0; \
8471 r=`${PWD_COMMAND}`; export r; \
8472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8473 $(SET_LIB_PATH) \
8474 $(HOST_EXPORTS) \
8475 for flag in $(EXTRA_HOST_FLAGS) ; do \
8476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8477 done; \
8478 echo "Doing installcheck in find" ; \
8479 (cd find && \
8480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8482 "RANLIB=$${RANLIB}" \
8483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8484 installcheck) \
8485 || exit 1
8487 @endif find
8489 .PHONY: maybe-mostlyclean-find mostlyclean-find
8490 maybe-mostlyclean-find:
8491 @if find
8492 maybe-mostlyclean-find: mostlyclean-find
8494 mostlyclean-find:
8495 @[ -f ./find/Makefile ] || exit 0; \
8496 r=`${PWD_COMMAND}`; export r; \
8497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8498 $(SET_LIB_PATH) \
8499 $(HOST_EXPORTS) \
8500 for flag in $(EXTRA_HOST_FLAGS) ; do \
8501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8502 done; \
8503 echo "Doing mostlyclean in find" ; \
8504 (cd find && \
8505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8507 "RANLIB=$${RANLIB}" \
8508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8509 mostlyclean) \
8510 || exit 1
8512 @endif find
8514 .PHONY: maybe-clean-find clean-find
8515 maybe-clean-find:
8516 @if find
8517 maybe-clean-find: clean-find
8519 clean-find:
8520 @[ -f ./find/Makefile ] || exit 0; \
8521 r=`${PWD_COMMAND}`; export r; \
8522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8523 $(SET_LIB_PATH) \
8524 $(HOST_EXPORTS) \
8525 for flag in $(EXTRA_HOST_FLAGS) ; do \
8526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8527 done; \
8528 echo "Doing clean in find" ; \
8529 (cd find && \
8530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8532 "RANLIB=$${RANLIB}" \
8533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8534 clean) \
8535 || exit 1
8537 @endif find
8539 .PHONY: maybe-distclean-find distclean-find
8540 maybe-distclean-find:
8541 @if find
8542 maybe-distclean-find: distclean-find
8544 distclean-find:
8545 @[ -f ./find/Makefile ] || exit 0; \
8546 r=`${PWD_COMMAND}`; export r; \
8547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8548 $(SET_LIB_PATH) \
8549 $(HOST_EXPORTS) \
8550 for flag in $(EXTRA_HOST_FLAGS) ; do \
8551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8552 done; \
8553 echo "Doing distclean in find" ; \
8554 (cd find && \
8555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8557 "RANLIB=$${RANLIB}" \
8558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8559 distclean) \
8560 || exit 1
8562 @endif find
8564 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
8565 maybe-maintainer-clean-find:
8566 @if find
8567 maybe-maintainer-clean-find: maintainer-clean-find
8569 maintainer-clean-find:
8570 @[ -f ./find/Makefile ] || exit 0; \
8571 r=`${PWD_COMMAND}`; export r; \
8572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8573 $(SET_LIB_PATH) \
8574 $(HOST_EXPORTS) \
8575 for flag in $(EXTRA_HOST_FLAGS) ; do \
8576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8577 done; \
8578 echo "Doing maintainer-clean in find" ; \
8579 (cd find && \
8580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8582 "RANLIB=$${RANLIB}" \
8583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8584 maintainer-clean) \
8585 || exit 1
8587 @endif find
8590 .PHONY: configure-fixincludes maybe-configure-fixincludes
8591 maybe-configure-fixincludes:
8592 @if fixincludes
8593 maybe-configure-fixincludes: configure-fixincludes
8594 configure-fixincludes:
8595 @test ! -f fixincludes/Makefile || exit 0; \
8596 [ -d fixincludes ] || mkdir fixincludes; \
8597 r=`${PWD_COMMAND}`; export r; \
8598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8599 $(HOST_EXPORTS) \
8600 echo Configuring in fixincludes; \
8601 cd fixincludes || exit 1; \
8602 case $(srcdir) in \
8603 \.) \
8604 srcdiroption="--srcdir=."; \
8605 libsrcdir=".";; \
8606 /* | [A-Za-z]:[\\/]*) \
8607 srcdiroption="--srcdir=$(srcdir)/fixincludes"; \
8608 libsrcdir="$$s/fixincludes";; \
8609 *) \
8610 srcdiroption="--srcdir=../$(srcdir)/fixincludes"; \
8611 libsrcdir="$$s/fixincludes";; \
8612 esac; \
8613 $(SHELL) $${libsrcdir}/configure \
8614 $(HOST_CONFIGARGS) $${srcdiroption} \
8615 || exit 1
8616 @endif fixincludes
8618 .PHONY: all-fixincludes maybe-all-fixincludes
8619 maybe-all-fixincludes:
8620 @if fixincludes
8621 TARGET-fixincludes=all
8622 maybe-all-fixincludes: all-fixincludes
8623 all-fixincludes: configure-fixincludes
8624 @r=`${PWD_COMMAND}`; export r; \
8625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8626 $(SET_LIB_PATH) \
8627 $(HOST_EXPORTS) \
8628 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) \
8629 $(TARGET-fixincludes))
8630 @endif fixincludes
8632 .PHONY: check-fixincludes maybe-check-fixincludes
8633 maybe-check-fixincludes:
8634 @if fixincludes
8635 maybe-check-fixincludes: check-fixincludes
8637 check-fixincludes:
8638 @r=`${PWD_COMMAND}`; export r; \
8639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8640 $(SET_LIB_PATH) \
8641 $(HOST_EXPORTS) \
8642 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) check)
8644 @endif fixincludes
8646 .PHONY: install-fixincludes maybe-install-fixincludes
8647 maybe-install-fixincludes:
8648 @if fixincludes
8649 maybe-install-fixincludes: install-fixincludes
8651 install-fixincludes: installdirs
8652 @r=`${PWD_COMMAND}`; export r; \
8653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8654 $(SET_LIB_PATH) \
8655 $(HOST_EXPORTS) \
8656 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) install)
8658 @endif fixincludes
8660 # Other targets (info, dvi, etc.)
8662 .PHONY: maybe-info-fixincludes info-fixincludes
8663 maybe-info-fixincludes:
8664 @if fixincludes
8665 maybe-info-fixincludes: info-fixincludes
8667 # fixincludes doesn't support info.
8668 info-fixincludes:
8670 @endif fixincludes
8672 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8673 maybe-dvi-fixincludes:
8674 @if fixincludes
8675 maybe-dvi-fixincludes: dvi-fixincludes
8677 # fixincludes doesn't support dvi.
8678 dvi-fixincludes:
8680 @endif fixincludes
8682 .PHONY: maybe-html-fixincludes html-fixincludes
8683 maybe-html-fixincludes:
8684 @if fixincludes
8685 maybe-html-fixincludes: html-fixincludes
8687 html-fixincludes: \
8688 configure-fixincludes
8689 @[ -f ./fixincludes/Makefile ] || exit 0; \
8690 r=`${PWD_COMMAND}`; export r; \
8691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8692 $(SET_LIB_PATH) \
8693 $(HOST_EXPORTS) \
8694 for flag in $(EXTRA_HOST_FLAGS) ; do \
8695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8696 done; \
8697 echo "Doing html in fixincludes" ; \
8698 (cd fixincludes && \
8699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8701 "RANLIB=$${RANLIB}" \
8702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8703 html) \
8704 || exit 1
8706 @endif fixincludes
8708 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8709 maybe-TAGS-fixincludes:
8710 @if fixincludes
8711 maybe-TAGS-fixincludes: TAGS-fixincludes
8713 # fixincludes doesn't support TAGS.
8714 TAGS-fixincludes:
8716 @endif fixincludes
8718 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8719 maybe-install-info-fixincludes:
8720 @if fixincludes
8721 maybe-install-info-fixincludes: install-info-fixincludes
8723 # fixincludes doesn't support install-info.
8724 install-info-fixincludes:
8726 @endif fixincludes
8728 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8729 maybe-installcheck-fixincludes:
8730 @if fixincludes
8731 maybe-installcheck-fixincludes: installcheck-fixincludes
8733 # fixincludes doesn't support installcheck.
8734 installcheck-fixincludes:
8736 @endif fixincludes
8738 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8739 maybe-mostlyclean-fixincludes:
8740 @if fixincludes
8741 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8743 mostlyclean-fixincludes:
8744 @[ -f ./fixincludes/Makefile ] || exit 0; \
8745 r=`${PWD_COMMAND}`; export r; \
8746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8747 $(SET_LIB_PATH) \
8748 $(HOST_EXPORTS) \
8749 for flag in $(EXTRA_HOST_FLAGS) ; do \
8750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8751 done; \
8752 echo "Doing mostlyclean in fixincludes" ; \
8753 (cd fixincludes && \
8754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8756 "RANLIB=$${RANLIB}" \
8757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8758 mostlyclean) \
8759 || exit 1
8761 @endif fixincludes
8763 .PHONY: maybe-clean-fixincludes clean-fixincludes
8764 maybe-clean-fixincludes:
8765 @if fixincludes
8766 maybe-clean-fixincludes: clean-fixincludes
8768 clean-fixincludes:
8769 @[ -f ./fixincludes/Makefile ] || exit 0; \
8770 r=`${PWD_COMMAND}`; export r; \
8771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8772 $(SET_LIB_PATH) \
8773 $(HOST_EXPORTS) \
8774 for flag in $(EXTRA_HOST_FLAGS) ; do \
8775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8776 done; \
8777 echo "Doing clean in fixincludes" ; \
8778 (cd fixincludes && \
8779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8781 "RANLIB=$${RANLIB}" \
8782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8783 clean) \
8784 || exit 1
8786 @endif fixincludes
8788 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8789 maybe-distclean-fixincludes:
8790 @if fixincludes
8791 maybe-distclean-fixincludes: distclean-fixincludes
8793 distclean-fixincludes:
8794 @[ -f ./fixincludes/Makefile ] || exit 0; \
8795 r=`${PWD_COMMAND}`; export r; \
8796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8797 $(SET_LIB_PATH) \
8798 $(HOST_EXPORTS) \
8799 for flag in $(EXTRA_HOST_FLAGS) ; do \
8800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8801 done; \
8802 echo "Doing distclean in fixincludes" ; \
8803 (cd fixincludes && \
8804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8806 "RANLIB=$${RANLIB}" \
8807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8808 distclean) \
8809 || exit 1
8811 @endif fixincludes
8813 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8814 maybe-maintainer-clean-fixincludes:
8815 @if fixincludes
8816 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8818 maintainer-clean-fixincludes:
8819 @[ -f ./fixincludes/Makefile ] || exit 0; \
8820 r=`${PWD_COMMAND}`; export r; \
8821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8822 $(SET_LIB_PATH) \
8823 $(HOST_EXPORTS) \
8824 for flag in $(EXTRA_HOST_FLAGS) ; do \
8825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8826 done; \
8827 echo "Doing maintainer-clean in fixincludes" ; \
8828 (cd fixincludes && \
8829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8831 "RANLIB=$${RANLIB}" \
8832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8833 maintainer-clean) \
8834 || exit 1
8836 @endif fixincludes
8839 .PHONY: configure-flex maybe-configure-flex
8840 maybe-configure-flex:
8841 @if flex
8842 maybe-configure-flex: configure-flex
8843 configure-flex:
8844 @test ! -f flex/Makefile || exit 0; \
8845 [ -d flex ] || mkdir flex; \
8846 r=`${PWD_COMMAND}`; export r; \
8847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8848 $(HOST_EXPORTS) \
8849 echo Configuring in flex; \
8850 cd flex || exit 1; \
8851 case $(srcdir) in \
8852 \.) \
8853 srcdiroption="--srcdir=."; \
8854 libsrcdir=".";; \
8855 /* | [A-Za-z]:[\\/]*) \
8856 srcdiroption="--srcdir=$(srcdir)/flex"; \
8857 libsrcdir="$$s/flex";; \
8858 *) \
8859 srcdiroption="--srcdir=../$(srcdir)/flex"; \
8860 libsrcdir="$$s/flex";; \
8861 esac; \
8862 $(SHELL) $${libsrcdir}/configure \
8863 $(HOST_CONFIGARGS) $${srcdiroption} \
8864 || exit 1
8865 @endif flex
8867 .PHONY: all-flex maybe-all-flex
8868 maybe-all-flex:
8869 @if flex
8870 TARGET-flex=all
8871 maybe-all-flex: all-flex
8872 all-flex: configure-flex
8873 @r=`${PWD_COMMAND}`; export r; \
8874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8875 $(SET_LIB_PATH) \
8876 $(HOST_EXPORTS) \
8877 (cd flex && $(MAKE) $(FLAGS_TO_PASS) \
8878 $(TARGET-flex))
8879 @endif flex
8881 .PHONY: check-flex maybe-check-flex
8882 maybe-check-flex:
8883 @if flex
8884 maybe-check-flex: check-flex
8886 # This module is only tested in a native toolchain.
8887 check-flex:
8888 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
8896 @endif flex
8898 .PHONY: install-flex maybe-install-flex
8899 maybe-install-flex:
8900 @if flex
8901 maybe-install-flex: install-flex
8903 install-flex: installdirs
8904 @r=`${PWD_COMMAND}`; export r; \
8905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8906 $(SET_LIB_PATH) \
8907 $(HOST_EXPORTS) \
8908 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8910 @endif flex
8912 # Other targets (info, dvi, etc.)
8914 .PHONY: maybe-info-flex info-flex
8915 maybe-info-flex:
8916 @if flex
8917 maybe-info-flex: info-flex
8919 info-flex: \
8920 configure-flex
8921 @[ -f ./flex/Makefile ] || exit 0; \
8922 r=`${PWD_COMMAND}`; export r; \
8923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8924 $(SET_LIB_PATH) \
8925 $(HOST_EXPORTS) \
8926 for flag in $(EXTRA_HOST_FLAGS) ; do \
8927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8928 done; \
8929 echo "Doing info in flex" ; \
8930 (cd flex && \
8931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8933 "RANLIB=$${RANLIB}" \
8934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8935 info) \
8936 || exit 1
8938 @endif flex
8940 .PHONY: maybe-dvi-flex dvi-flex
8941 maybe-dvi-flex:
8942 @if flex
8943 maybe-dvi-flex: dvi-flex
8945 dvi-flex: \
8946 configure-flex
8947 @[ -f ./flex/Makefile ] || exit 0; \
8948 r=`${PWD_COMMAND}`; export r; \
8949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8950 $(SET_LIB_PATH) \
8951 $(HOST_EXPORTS) \
8952 for flag in $(EXTRA_HOST_FLAGS) ; do \
8953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8954 done; \
8955 echo "Doing dvi in flex" ; \
8956 (cd flex && \
8957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8959 "RANLIB=$${RANLIB}" \
8960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8961 dvi) \
8962 || exit 1
8964 @endif flex
8966 .PHONY: maybe-html-flex html-flex
8967 maybe-html-flex:
8968 @if flex
8969 maybe-html-flex: html-flex
8971 html-flex: \
8972 configure-flex
8973 @[ -f ./flex/Makefile ] || exit 0; \
8974 r=`${PWD_COMMAND}`; export r; \
8975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8976 $(SET_LIB_PATH) \
8977 $(HOST_EXPORTS) \
8978 for flag in $(EXTRA_HOST_FLAGS) ; do \
8979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8980 done; \
8981 echo "Doing html in flex" ; \
8982 (cd flex && \
8983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8985 "RANLIB=$${RANLIB}" \
8986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8987 html) \
8988 || exit 1
8990 @endif flex
8992 .PHONY: maybe-TAGS-flex TAGS-flex
8993 maybe-TAGS-flex:
8994 @if flex
8995 maybe-TAGS-flex: TAGS-flex
8997 TAGS-flex: \
8998 configure-flex
8999 @[ -f ./flex/Makefile ] || exit 0; \
9000 r=`${PWD_COMMAND}`; export r; \
9001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9002 $(SET_LIB_PATH) \
9003 $(HOST_EXPORTS) \
9004 for flag in $(EXTRA_HOST_FLAGS) ; do \
9005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9006 done; \
9007 echo "Doing TAGS in flex" ; \
9008 (cd flex && \
9009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9011 "RANLIB=$${RANLIB}" \
9012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9013 TAGS) \
9014 || exit 1
9016 @endif flex
9018 .PHONY: maybe-install-info-flex install-info-flex
9019 maybe-install-info-flex:
9020 @if flex
9021 maybe-install-info-flex: install-info-flex
9023 install-info-flex: \
9024 configure-flex \
9025 info-flex
9026 @[ -f ./flex/Makefile ] || exit 0; \
9027 r=`${PWD_COMMAND}`; export r; \
9028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9029 $(SET_LIB_PATH) \
9030 $(HOST_EXPORTS) \
9031 for flag in $(EXTRA_HOST_FLAGS) ; do \
9032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9033 done; \
9034 echo "Doing install-info in flex" ; \
9035 (cd flex && \
9036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9038 "RANLIB=$${RANLIB}" \
9039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9040 install-info) \
9041 || exit 1
9043 @endif flex
9045 .PHONY: maybe-installcheck-flex installcheck-flex
9046 maybe-installcheck-flex:
9047 @if flex
9048 maybe-installcheck-flex: installcheck-flex
9050 installcheck-flex: \
9051 configure-flex
9052 @[ -f ./flex/Makefile ] || exit 0; \
9053 r=`${PWD_COMMAND}`; export r; \
9054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9055 $(SET_LIB_PATH) \
9056 $(HOST_EXPORTS) \
9057 for flag in $(EXTRA_HOST_FLAGS) ; do \
9058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9059 done; \
9060 echo "Doing installcheck in flex" ; \
9061 (cd flex && \
9062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9064 "RANLIB=$${RANLIB}" \
9065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9066 installcheck) \
9067 || exit 1
9069 @endif flex
9071 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9072 maybe-mostlyclean-flex:
9073 @if flex
9074 maybe-mostlyclean-flex: mostlyclean-flex
9076 mostlyclean-flex:
9077 @[ -f ./flex/Makefile ] || exit 0; \
9078 r=`${PWD_COMMAND}`; export r; \
9079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9080 $(SET_LIB_PATH) \
9081 $(HOST_EXPORTS) \
9082 for flag in $(EXTRA_HOST_FLAGS) ; do \
9083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9084 done; \
9085 echo "Doing mostlyclean in flex" ; \
9086 (cd flex && \
9087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9089 "RANLIB=$${RANLIB}" \
9090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9091 mostlyclean) \
9092 || exit 1
9094 @endif flex
9096 .PHONY: maybe-clean-flex clean-flex
9097 maybe-clean-flex:
9098 @if flex
9099 maybe-clean-flex: clean-flex
9101 clean-flex:
9102 @[ -f ./flex/Makefile ] || exit 0; \
9103 r=`${PWD_COMMAND}`; export r; \
9104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9105 $(SET_LIB_PATH) \
9106 $(HOST_EXPORTS) \
9107 for flag in $(EXTRA_HOST_FLAGS) ; do \
9108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9109 done; \
9110 echo "Doing clean in flex" ; \
9111 (cd flex && \
9112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9114 "RANLIB=$${RANLIB}" \
9115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9116 clean) \
9117 || exit 1
9119 @endif flex
9121 .PHONY: maybe-distclean-flex distclean-flex
9122 maybe-distclean-flex:
9123 @if flex
9124 maybe-distclean-flex: distclean-flex
9126 distclean-flex:
9127 @[ -f ./flex/Makefile ] || exit 0; \
9128 r=`${PWD_COMMAND}`; export r; \
9129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9130 $(SET_LIB_PATH) \
9131 $(HOST_EXPORTS) \
9132 for flag in $(EXTRA_HOST_FLAGS) ; do \
9133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9134 done; \
9135 echo "Doing distclean in flex" ; \
9136 (cd flex && \
9137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9139 "RANLIB=$${RANLIB}" \
9140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9141 distclean) \
9142 || exit 1
9144 @endif flex
9146 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9147 maybe-maintainer-clean-flex:
9148 @if flex
9149 maybe-maintainer-clean-flex: maintainer-clean-flex
9151 maintainer-clean-flex:
9152 @[ -f ./flex/Makefile ] || exit 0; \
9153 r=`${PWD_COMMAND}`; export r; \
9154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9155 $(SET_LIB_PATH) \
9156 $(HOST_EXPORTS) \
9157 for flag in $(EXTRA_HOST_FLAGS) ; do \
9158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9159 done; \
9160 echo "Doing maintainer-clean in flex" ; \
9161 (cd flex && \
9162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9164 "RANLIB=$${RANLIB}" \
9165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9166 maintainer-clean) \
9167 || exit 1
9169 @endif flex
9172 .PHONY: configure-gas maybe-configure-gas
9173 maybe-configure-gas:
9174 @if gas
9175 maybe-configure-gas: configure-gas
9176 configure-gas:
9177 @test -f stage_last && exit 0; \
9178 test ! -f gas/Makefile || exit 0; \
9179 [ -d gas ] || mkdir gas; \
9180 r=`${PWD_COMMAND}`; export r; \
9181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9182 $(HOST_EXPORTS) \
9183 echo Configuring in gas; \
9184 cd gas || exit 1; \
9185 case $(srcdir) in \
9186 \.) \
9187 srcdiroption="--srcdir=."; \
9188 libsrcdir=".";; \
9189 /* | [A-Za-z]:[\\/]*) \
9190 srcdiroption="--srcdir=$(srcdir)/gas"; \
9191 libsrcdir="$$s/gas";; \
9192 *) \
9193 srcdiroption="--srcdir=../$(srcdir)/gas"; \
9194 libsrcdir="$$s/gas";; \
9195 esac; \
9196 $(SHELL) $${libsrcdir}/configure \
9197 $(HOST_CONFIGARGS) $${srcdiroption} \
9198 || exit 1
9199 @endif gas
9201 .PHONY: all-gas maybe-all-gas
9202 maybe-all-gas:
9203 @if gas
9204 TARGET-gas=all
9205 maybe-all-gas: all-gas
9206 all-gas: configure-gas
9207 @test -f stage_last && exit 0; \
9208 r=`${PWD_COMMAND}`; export r; \
9209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9210 $(SET_LIB_PATH) \
9211 $(HOST_EXPORTS) \
9212 (cd gas && $(MAKE) $(FLAGS_TO_PASS) \
9213 $(TARGET-gas))
9214 @endif gas
9216 .PHONY: check-gas maybe-check-gas
9217 maybe-check-gas:
9218 @if gas
9219 maybe-check-gas: check-gas
9221 check-gas:
9222 @r=`${PWD_COMMAND}`; export r; \
9223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9224 $(SET_LIB_PATH) \
9225 $(HOST_EXPORTS) \
9226 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
9228 @endif gas
9230 .PHONY: install-gas maybe-install-gas
9231 maybe-install-gas:
9232 @if gas
9233 maybe-install-gas: install-gas
9235 install-gas: installdirs
9236 @r=`${PWD_COMMAND}`; export r; \
9237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9238 $(SET_LIB_PATH) \
9239 $(HOST_EXPORTS) \
9240 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
9242 @endif gas
9244 # Other targets (info, dvi, etc.)
9246 .PHONY: maybe-info-gas info-gas
9247 maybe-info-gas:
9248 @if gas
9249 maybe-info-gas: info-gas
9251 info-gas: \
9252 configure-gas
9253 @[ -f ./gas/Makefile ] || exit 0; \
9254 r=`${PWD_COMMAND}`; export r; \
9255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9256 $(SET_LIB_PATH) \
9257 $(HOST_EXPORTS) \
9258 for flag in $(EXTRA_HOST_FLAGS) ; do \
9259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9260 done; \
9261 echo "Doing info in gas" ; \
9262 (cd gas && \
9263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9265 "RANLIB=$${RANLIB}" \
9266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9267 info) \
9268 || exit 1
9270 @endif gas
9272 .PHONY: maybe-dvi-gas dvi-gas
9273 maybe-dvi-gas:
9274 @if gas
9275 maybe-dvi-gas: dvi-gas
9277 dvi-gas: \
9278 configure-gas
9279 @[ -f ./gas/Makefile ] || exit 0; \
9280 r=`${PWD_COMMAND}`; export r; \
9281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9282 $(SET_LIB_PATH) \
9283 $(HOST_EXPORTS) \
9284 for flag in $(EXTRA_HOST_FLAGS) ; do \
9285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9286 done; \
9287 echo "Doing dvi in gas" ; \
9288 (cd gas && \
9289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9291 "RANLIB=$${RANLIB}" \
9292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9293 dvi) \
9294 || exit 1
9296 @endif gas
9298 .PHONY: maybe-html-gas html-gas
9299 maybe-html-gas:
9300 @if gas
9301 maybe-html-gas: html-gas
9303 html-gas: \
9304 configure-gas
9305 @[ -f ./gas/Makefile ] || exit 0; \
9306 r=`${PWD_COMMAND}`; export r; \
9307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9308 $(SET_LIB_PATH) \
9309 $(HOST_EXPORTS) \
9310 for flag in $(EXTRA_HOST_FLAGS) ; do \
9311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9312 done; \
9313 echo "Doing html in gas" ; \
9314 (cd gas && \
9315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9317 "RANLIB=$${RANLIB}" \
9318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9319 html) \
9320 || exit 1
9322 @endif gas
9324 .PHONY: maybe-TAGS-gas TAGS-gas
9325 maybe-TAGS-gas:
9326 @if gas
9327 maybe-TAGS-gas: TAGS-gas
9329 TAGS-gas: \
9330 configure-gas
9331 @[ -f ./gas/Makefile ] || exit 0; \
9332 r=`${PWD_COMMAND}`; export r; \
9333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9334 $(SET_LIB_PATH) \
9335 $(HOST_EXPORTS) \
9336 for flag in $(EXTRA_HOST_FLAGS) ; do \
9337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9338 done; \
9339 echo "Doing TAGS in gas" ; \
9340 (cd gas && \
9341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9343 "RANLIB=$${RANLIB}" \
9344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9345 TAGS) \
9346 || exit 1
9348 @endif gas
9350 .PHONY: maybe-install-info-gas install-info-gas
9351 maybe-install-info-gas:
9352 @if gas
9353 maybe-install-info-gas: install-info-gas
9355 install-info-gas: \
9356 configure-gas \
9357 info-gas
9358 @[ -f ./gas/Makefile ] || exit 0; \
9359 r=`${PWD_COMMAND}`; export r; \
9360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9361 $(SET_LIB_PATH) \
9362 $(HOST_EXPORTS) \
9363 for flag in $(EXTRA_HOST_FLAGS) ; do \
9364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9365 done; \
9366 echo "Doing install-info in gas" ; \
9367 (cd gas && \
9368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9370 "RANLIB=$${RANLIB}" \
9371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9372 install-info) \
9373 || exit 1
9375 @endif gas
9377 .PHONY: maybe-installcheck-gas installcheck-gas
9378 maybe-installcheck-gas:
9379 @if gas
9380 maybe-installcheck-gas: installcheck-gas
9382 installcheck-gas: \
9383 configure-gas
9384 @[ -f ./gas/Makefile ] || exit 0; \
9385 r=`${PWD_COMMAND}`; export r; \
9386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9387 $(SET_LIB_PATH) \
9388 $(HOST_EXPORTS) \
9389 for flag in $(EXTRA_HOST_FLAGS) ; do \
9390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9391 done; \
9392 echo "Doing installcheck in gas" ; \
9393 (cd gas && \
9394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9396 "RANLIB=$${RANLIB}" \
9397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9398 installcheck) \
9399 || exit 1
9401 @endif gas
9403 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9404 maybe-mostlyclean-gas:
9405 @if gas
9406 maybe-mostlyclean-gas: mostlyclean-gas
9408 mostlyclean-gas:
9409 @[ -f ./gas/Makefile ] || exit 0; \
9410 r=`${PWD_COMMAND}`; export r; \
9411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9412 $(SET_LIB_PATH) \
9413 $(HOST_EXPORTS) \
9414 for flag in $(EXTRA_HOST_FLAGS) ; do \
9415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9416 done; \
9417 echo "Doing mostlyclean in gas" ; \
9418 (cd gas && \
9419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9421 "RANLIB=$${RANLIB}" \
9422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9423 mostlyclean) \
9424 || exit 1
9426 @endif gas
9428 .PHONY: maybe-clean-gas clean-gas
9429 maybe-clean-gas:
9430 @if gas
9431 maybe-clean-gas: clean-gas
9433 clean-gas:
9434 @[ -f ./gas/Makefile ] || exit 0; \
9435 r=`${PWD_COMMAND}`; export r; \
9436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9437 $(SET_LIB_PATH) \
9438 $(HOST_EXPORTS) \
9439 for flag in $(EXTRA_HOST_FLAGS) ; do \
9440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9441 done; \
9442 echo "Doing clean in gas" ; \
9443 (cd gas && \
9444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9446 "RANLIB=$${RANLIB}" \
9447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9448 clean) \
9449 || exit 1
9451 @endif gas
9453 .PHONY: maybe-distclean-gas distclean-gas
9454 maybe-distclean-gas:
9455 @if gas
9456 maybe-distclean-gas: distclean-gas
9458 distclean-gas:
9459 @[ -f ./gas/Makefile ] || exit 0; \
9460 r=`${PWD_COMMAND}`; export r; \
9461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9462 $(SET_LIB_PATH) \
9463 $(HOST_EXPORTS) \
9464 for flag in $(EXTRA_HOST_FLAGS) ; do \
9465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9466 done; \
9467 echo "Doing distclean in gas" ; \
9468 (cd gas && \
9469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9471 "RANLIB=$${RANLIB}" \
9472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9473 distclean) \
9474 || exit 1
9476 @endif gas
9478 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9479 maybe-maintainer-clean-gas:
9480 @if gas
9481 maybe-maintainer-clean-gas: maintainer-clean-gas
9483 maintainer-clean-gas:
9484 @[ -f ./gas/Makefile ] || exit 0; \
9485 r=`${PWD_COMMAND}`; export r; \
9486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9487 $(SET_LIB_PATH) \
9488 $(HOST_EXPORTS) \
9489 for flag in $(EXTRA_HOST_FLAGS) ; do \
9490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9491 done; \
9492 echo "Doing maintainer-clean in gas" ; \
9493 (cd gas && \
9494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9496 "RANLIB=$${RANLIB}" \
9497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9498 maintainer-clean) \
9499 || exit 1
9501 @endif gas
9504 .PHONY: configure-gcc maybe-configure-gcc
9505 maybe-configure-gcc:
9506 @if gcc
9507 maybe-configure-gcc: configure-gcc
9508 configure-gcc:
9509 @test -f stage_last && exit 0; \
9510 test ! -f gcc/Makefile || exit 0; \
9511 [ -d gcc ] || mkdir gcc; \
9512 r=`${PWD_COMMAND}`; export r; \
9513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9514 $(HOST_EXPORTS) \
9515 echo Configuring in gcc; \
9516 cd gcc || exit 1; \
9517 case $(srcdir) in \
9518 \.) \
9519 srcdiroption="--srcdir=."; \
9520 libsrcdir=".";; \
9521 /* | [A-Za-z]:[\\/]*) \
9522 srcdiroption="--srcdir=$(srcdir)/gcc"; \
9523 libsrcdir="$$s/gcc";; \
9524 *) \
9525 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
9526 libsrcdir="$$s/gcc";; \
9527 esac; \
9528 $(SHELL) $${libsrcdir}/configure \
9529 $(HOST_CONFIGARGS) $${srcdiroption} \
9530 || exit 1
9531 @endif gcc
9533 .PHONY: all-gcc maybe-all-gcc
9534 maybe-all-gcc:
9535 @if gcc
9536 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
9537 maybe-all-gcc: all-gcc
9538 all-gcc: configure-gcc
9539 @test -f stage_last && exit 0; \
9540 r=`${PWD_COMMAND}`; export r; \
9541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9542 $(SET_LIB_PATH) \
9543 $(HOST_EXPORTS) \
9544 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9545 $(TARGET-gcc))
9546 @endif gcc
9548 .PHONY: check-gcc maybe-check-gcc
9549 maybe-check-gcc:
9550 @if gcc
9551 maybe-check-gcc: check-gcc
9553 check-gcc:
9554 @r=`${PWD_COMMAND}`; export r; \
9555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9556 $(SET_LIB_PATH) \
9557 $(HOST_EXPORTS) \
9558 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
9560 @endif gcc
9562 .PHONY: install-gcc maybe-install-gcc
9563 maybe-install-gcc:
9564 @if gcc
9565 maybe-install-gcc: install-gcc
9567 install-gcc: installdirs
9568 @r=`${PWD_COMMAND}`; export r; \
9569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9570 $(SET_LIB_PATH) \
9571 $(HOST_EXPORTS) \
9572 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
9574 @endif gcc
9576 # Other targets (info, dvi, etc.)
9578 .PHONY: maybe-info-gcc info-gcc
9579 maybe-info-gcc:
9580 @if gcc
9581 maybe-info-gcc: info-gcc
9583 info-gcc: \
9584 configure-gcc
9585 @[ -f ./gcc/Makefile ] || exit 0; \
9586 r=`${PWD_COMMAND}`; export r; \
9587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9588 $(SET_LIB_PATH) \
9589 $(HOST_EXPORTS) \
9590 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9592 done; \
9593 echo "Doing info in gcc" ; \
9594 (cd gcc && \
9595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9597 "RANLIB=$${RANLIB}" \
9598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9599 info) \
9600 || exit 1
9602 @endif gcc
9604 .PHONY: maybe-dvi-gcc dvi-gcc
9605 maybe-dvi-gcc:
9606 @if gcc
9607 maybe-dvi-gcc: dvi-gcc
9609 dvi-gcc: \
9610 configure-gcc
9611 @[ -f ./gcc/Makefile ] || exit 0; \
9612 r=`${PWD_COMMAND}`; export r; \
9613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9614 $(SET_LIB_PATH) \
9615 $(HOST_EXPORTS) \
9616 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9618 done; \
9619 echo "Doing dvi in gcc" ; \
9620 (cd gcc && \
9621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9623 "RANLIB=$${RANLIB}" \
9624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9625 dvi) \
9626 || exit 1
9628 @endif gcc
9630 .PHONY: maybe-html-gcc html-gcc
9631 maybe-html-gcc:
9632 @if gcc
9633 maybe-html-gcc: html-gcc
9635 html-gcc: \
9636 configure-gcc
9637 @[ -f ./gcc/Makefile ] || exit 0; \
9638 r=`${PWD_COMMAND}`; export r; \
9639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9640 $(SET_LIB_PATH) \
9641 $(HOST_EXPORTS) \
9642 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9644 done; \
9645 echo "Doing html in gcc" ; \
9646 (cd gcc && \
9647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9649 "RANLIB=$${RANLIB}" \
9650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9651 html) \
9652 || exit 1
9654 @endif gcc
9656 .PHONY: maybe-TAGS-gcc TAGS-gcc
9657 maybe-TAGS-gcc:
9658 @if gcc
9659 maybe-TAGS-gcc: TAGS-gcc
9661 TAGS-gcc: \
9662 configure-gcc
9663 @[ -f ./gcc/Makefile ] || exit 0; \
9664 r=`${PWD_COMMAND}`; export r; \
9665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9666 $(SET_LIB_PATH) \
9667 $(HOST_EXPORTS) \
9668 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9670 done; \
9671 echo "Doing TAGS in gcc" ; \
9672 (cd gcc && \
9673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9675 "RANLIB=$${RANLIB}" \
9676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9677 TAGS) \
9678 || exit 1
9680 @endif gcc
9682 .PHONY: maybe-install-info-gcc install-info-gcc
9683 maybe-install-info-gcc:
9684 @if gcc
9685 maybe-install-info-gcc: install-info-gcc
9687 install-info-gcc: \
9688 configure-gcc \
9689 info-gcc
9690 @[ -f ./gcc/Makefile ] || exit 0; \
9691 r=`${PWD_COMMAND}`; export r; \
9692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9693 $(SET_LIB_PATH) \
9694 $(HOST_EXPORTS) \
9695 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9697 done; \
9698 echo "Doing install-info in gcc" ; \
9699 (cd gcc && \
9700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9702 "RANLIB=$${RANLIB}" \
9703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9704 install-info) \
9705 || exit 1
9707 @endif gcc
9709 .PHONY: maybe-installcheck-gcc installcheck-gcc
9710 maybe-installcheck-gcc:
9711 @if gcc
9712 maybe-installcheck-gcc: installcheck-gcc
9714 installcheck-gcc: \
9715 configure-gcc
9716 @[ -f ./gcc/Makefile ] || exit 0; \
9717 r=`${PWD_COMMAND}`; export r; \
9718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9719 $(SET_LIB_PATH) \
9720 $(HOST_EXPORTS) \
9721 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9723 done; \
9724 echo "Doing installcheck in gcc" ; \
9725 (cd gcc && \
9726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9728 "RANLIB=$${RANLIB}" \
9729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9730 installcheck) \
9731 || exit 1
9733 @endif gcc
9735 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9736 maybe-mostlyclean-gcc:
9737 @if gcc
9738 maybe-mostlyclean-gcc: mostlyclean-gcc
9740 mostlyclean-gcc:
9741 @[ -f ./gcc/Makefile ] || exit 0; \
9742 r=`${PWD_COMMAND}`; export r; \
9743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9744 $(SET_LIB_PATH) \
9745 $(HOST_EXPORTS) \
9746 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9748 done; \
9749 echo "Doing mostlyclean in gcc" ; \
9750 (cd gcc && \
9751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9753 "RANLIB=$${RANLIB}" \
9754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9755 mostlyclean) \
9756 || exit 1
9758 @endif gcc
9760 .PHONY: maybe-clean-gcc clean-gcc
9761 maybe-clean-gcc:
9762 @if gcc
9763 maybe-clean-gcc: clean-gcc
9765 clean-gcc:
9766 @[ -f ./gcc/Makefile ] || exit 0; \
9767 r=`${PWD_COMMAND}`; export r; \
9768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9769 $(SET_LIB_PATH) \
9770 $(HOST_EXPORTS) \
9771 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9773 done; \
9774 echo "Doing clean in gcc" ; \
9775 (cd gcc && \
9776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9778 "RANLIB=$${RANLIB}" \
9779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9780 clean) \
9781 || exit 1
9783 @endif gcc
9785 .PHONY: maybe-distclean-gcc distclean-gcc
9786 maybe-distclean-gcc:
9787 @if gcc
9788 maybe-distclean-gcc: distclean-gcc
9790 distclean-gcc:
9791 @[ -f ./gcc/Makefile ] || exit 0; \
9792 r=`${PWD_COMMAND}`; export r; \
9793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9794 $(SET_LIB_PATH) \
9795 $(HOST_EXPORTS) \
9796 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9798 done; \
9799 echo "Doing distclean in gcc" ; \
9800 (cd gcc && \
9801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9803 "RANLIB=$${RANLIB}" \
9804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9805 distclean) \
9806 || exit 1
9808 @endif gcc
9810 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9811 maybe-maintainer-clean-gcc:
9812 @if gcc
9813 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9815 maintainer-clean-gcc:
9816 @[ -f ./gcc/Makefile ] || exit 0; \
9817 r=`${PWD_COMMAND}`; export r; \
9818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9819 $(SET_LIB_PATH) \
9820 $(HOST_EXPORTS) \
9821 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9823 done; \
9824 echo "Doing maintainer-clean in gcc" ; \
9825 (cd gcc && \
9826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9828 "RANLIB=$${RANLIB}" \
9829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9830 maintainer-clean) \
9831 || exit 1
9833 @endif gcc
9836 .PHONY: configure-gawk maybe-configure-gawk
9837 maybe-configure-gawk:
9838 @if gawk
9839 maybe-configure-gawk: configure-gawk
9840 configure-gawk:
9841 @test ! -f gawk/Makefile || exit 0; \
9842 [ -d gawk ] || mkdir gawk; \
9843 r=`${PWD_COMMAND}`; export r; \
9844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9845 $(HOST_EXPORTS) \
9846 echo Configuring in gawk; \
9847 cd gawk || exit 1; \
9848 case $(srcdir) in \
9849 \.) \
9850 srcdiroption="--srcdir=."; \
9851 libsrcdir=".";; \
9852 /* | [A-Za-z]:[\\/]*) \
9853 srcdiroption="--srcdir=$(srcdir)/gawk"; \
9854 libsrcdir="$$s/gawk";; \
9855 *) \
9856 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
9857 libsrcdir="$$s/gawk";; \
9858 esac; \
9859 $(SHELL) $${libsrcdir}/configure \
9860 $(HOST_CONFIGARGS) $${srcdiroption} \
9861 || exit 1
9862 @endif gawk
9864 .PHONY: all-gawk maybe-all-gawk
9865 maybe-all-gawk:
9866 @if gawk
9867 TARGET-gawk=all
9868 maybe-all-gawk: all-gawk
9869 all-gawk: configure-gawk
9870 @r=`${PWD_COMMAND}`; export r; \
9871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9872 $(SET_LIB_PATH) \
9873 $(HOST_EXPORTS) \
9874 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) \
9875 $(TARGET-gawk))
9876 @endif gawk
9878 .PHONY: check-gawk maybe-check-gawk
9879 maybe-check-gawk:
9880 @if gawk
9881 maybe-check-gawk: check-gawk
9883 check-gawk:
9884 @r=`${PWD_COMMAND}`; export r; \
9885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9886 $(SET_LIB_PATH) \
9887 $(HOST_EXPORTS) \
9888 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
9890 @endif gawk
9892 .PHONY: install-gawk maybe-install-gawk
9893 maybe-install-gawk:
9894 @if gawk
9895 maybe-install-gawk: install-gawk
9897 install-gawk: installdirs
9898 @r=`${PWD_COMMAND}`; export r; \
9899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9900 $(SET_LIB_PATH) \
9901 $(HOST_EXPORTS) \
9902 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
9904 @endif gawk
9906 # Other targets (info, dvi, etc.)
9908 .PHONY: maybe-info-gawk info-gawk
9909 maybe-info-gawk:
9910 @if gawk
9911 maybe-info-gawk: info-gawk
9913 info-gawk: \
9914 configure-gawk
9915 @[ -f ./gawk/Makefile ] || exit 0; \
9916 r=`${PWD_COMMAND}`; export r; \
9917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9918 $(SET_LIB_PATH) \
9919 $(HOST_EXPORTS) \
9920 for flag in $(EXTRA_HOST_FLAGS) ; do \
9921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9922 done; \
9923 echo "Doing info in gawk" ; \
9924 (cd gawk && \
9925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9927 "RANLIB=$${RANLIB}" \
9928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9929 info) \
9930 || exit 1
9932 @endif gawk
9934 .PHONY: maybe-dvi-gawk dvi-gawk
9935 maybe-dvi-gawk:
9936 @if gawk
9937 maybe-dvi-gawk: dvi-gawk
9939 dvi-gawk: \
9940 configure-gawk
9941 @[ -f ./gawk/Makefile ] || exit 0; \
9942 r=`${PWD_COMMAND}`; export r; \
9943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9944 $(SET_LIB_PATH) \
9945 $(HOST_EXPORTS) \
9946 for flag in $(EXTRA_HOST_FLAGS) ; do \
9947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9948 done; \
9949 echo "Doing dvi in gawk" ; \
9950 (cd gawk && \
9951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9953 "RANLIB=$${RANLIB}" \
9954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9955 dvi) \
9956 || exit 1
9958 @endif gawk
9960 .PHONY: maybe-html-gawk html-gawk
9961 maybe-html-gawk:
9962 @if gawk
9963 maybe-html-gawk: html-gawk
9965 html-gawk: \
9966 configure-gawk
9967 @[ -f ./gawk/Makefile ] || exit 0; \
9968 r=`${PWD_COMMAND}`; export r; \
9969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9970 $(SET_LIB_PATH) \
9971 $(HOST_EXPORTS) \
9972 for flag in $(EXTRA_HOST_FLAGS) ; do \
9973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9974 done; \
9975 echo "Doing html in gawk" ; \
9976 (cd gawk && \
9977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9979 "RANLIB=$${RANLIB}" \
9980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9981 html) \
9982 || exit 1
9984 @endif gawk
9986 .PHONY: maybe-TAGS-gawk TAGS-gawk
9987 maybe-TAGS-gawk:
9988 @if gawk
9989 maybe-TAGS-gawk: TAGS-gawk
9991 TAGS-gawk: \
9992 configure-gawk
9993 @[ -f ./gawk/Makefile ] || exit 0; \
9994 r=`${PWD_COMMAND}`; export r; \
9995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9996 $(SET_LIB_PATH) \
9997 $(HOST_EXPORTS) \
9998 for flag in $(EXTRA_HOST_FLAGS) ; do \
9999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10000 done; \
10001 echo "Doing TAGS in gawk" ; \
10002 (cd gawk && \
10003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10005 "RANLIB=$${RANLIB}" \
10006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10007 TAGS) \
10008 || exit 1
10010 @endif gawk
10012 .PHONY: maybe-install-info-gawk install-info-gawk
10013 maybe-install-info-gawk:
10014 @if gawk
10015 maybe-install-info-gawk: install-info-gawk
10017 install-info-gawk: \
10018 configure-gawk \
10019 info-gawk
10020 @[ -f ./gawk/Makefile ] || exit 0; \
10021 r=`${PWD_COMMAND}`; export r; \
10022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10023 $(SET_LIB_PATH) \
10024 $(HOST_EXPORTS) \
10025 for flag in $(EXTRA_HOST_FLAGS) ; do \
10026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10027 done; \
10028 echo "Doing install-info in gawk" ; \
10029 (cd gawk && \
10030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10032 "RANLIB=$${RANLIB}" \
10033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10034 install-info) \
10035 || exit 1
10037 @endif gawk
10039 .PHONY: maybe-installcheck-gawk installcheck-gawk
10040 maybe-installcheck-gawk:
10041 @if gawk
10042 maybe-installcheck-gawk: installcheck-gawk
10044 installcheck-gawk: \
10045 configure-gawk
10046 @[ -f ./gawk/Makefile ] || exit 0; \
10047 r=`${PWD_COMMAND}`; export r; \
10048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10049 $(SET_LIB_PATH) \
10050 $(HOST_EXPORTS) \
10051 for flag in $(EXTRA_HOST_FLAGS) ; do \
10052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10053 done; \
10054 echo "Doing installcheck in gawk" ; \
10055 (cd gawk && \
10056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10058 "RANLIB=$${RANLIB}" \
10059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10060 installcheck) \
10061 || exit 1
10063 @endif gawk
10065 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
10066 maybe-mostlyclean-gawk:
10067 @if gawk
10068 maybe-mostlyclean-gawk: mostlyclean-gawk
10070 mostlyclean-gawk:
10071 @[ -f ./gawk/Makefile ] || exit 0; \
10072 r=`${PWD_COMMAND}`; export r; \
10073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10074 $(SET_LIB_PATH) \
10075 $(HOST_EXPORTS) \
10076 for flag in $(EXTRA_HOST_FLAGS) ; do \
10077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10078 done; \
10079 echo "Doing mostlyclean in gawk" ; \
10080 (cd gawk && \
10081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10083 "RANLIB=$${RANLIB}" \
10084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10085 mostlyclean) \
10086 || exit 1
10088 @endif gawk
10090 .PHONY: maybe-clean-gawk clean-gawk
10091 maybe-clean-gawk:
10092 @if gawk
10093 maybe-clean-gawk: clean-gawk
10095 clean-gawk:
10096 @[ -f ./gawk/Makefile ] || exit 0; \
10097 r=`${PWD_COMMAND}`; export r; \
10098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10099 $(SET_LIB_PATH) \
10100 $(HOST_EXPORTS) \
10101 for flag in $(EXTRA_HOST_FLAGS) ; do \
10102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10103 done; \
10104 echo "Doing clean in gawk" ; \
10105 (cd gawk && \
10106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10108 "RANLIB=$${RANLIB}" \
10109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10110 clean) \
10111 || exit 1
10113 @endif gawk
10115 .PHONY: maybe-distclean-gawk distclean-gawk
10116 maybe-distclean-gawk:
10117 @if gawk
10118 maybe-distclean-gawk: distclean-gawk
10120 distclean-gawk:
10121 @[ -f ./gawk/Makefile ] || exit 0; \
10122 r=`${PWD_COMMAND}`; export r; \
10123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10124 $(SET_LIB_PATH) \
10125 $(HOST_EXPORTS) \
10126 for flag in $(EXTRA_HOST_FLAGS) ; do \
10127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10128 done; \
10129 echo "Doing distclean in gawk" ; \
10130 (cd gawk && \
10131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10133 "RANLIB=$${RANLIB}" \
10134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10135 distclean) \
10136 || exit 1
10138 @endif gawk
10140 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
10141 maybe-maintainer-clean-gawk:
10142 @if gawk
10143 maybe-maintainer-clean-gawk: maintainer-clean-gawk
10145 maintainer-clean-gawk:
10146 @[ -f ./gawk/Makefile ] || exit 0; \
10147 r=`${PWD_COMMAND}`; export r; \
10148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10149 $(SET_LIB_PATH) \
10150 $(HOST_EXPORTS) \
10151 for flag in $(EXTRA_HOST_FLAGS) ; do \
10152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10153 done; \
10154 echo "Doing maintainer-clean in gawk" ; \
10155 (cd gawk && \
10156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10158 "RANLIB=$${RANLIB}" \
10159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10160 maintainer-clean) \
10161 || exit 1
10163 @endif gawk
10166 .PHONY: configure-gettext maybe-configure-gettext
10167 maybe-configure-gettext:
10168 @if gettext
10169 maybe-configure-gettext: configure-gettext
10170 configure-gettext:
10171 @test ! -f gettext/Makefile || exit 0; \
10172 [ -d gettext ] || mkdir gettext; \
10173 r=`${PWD_COMMAND}`; export r; \
10174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10175 $(HOST_EXPORTS) \
10176 echo Configuring in gettext; \
10177 cd gettext || exit 1; \
10178 case $(srcdir) in \
10179 \.) \
10180 srcdiroption="--srcdir=."; \
10181 libsrcdir=".";; \
10182 /* | [A-Za-z]:[\\/]*) \
10183 srcdiroption="--srcdir=$(srcdir)/gettext"; \
10184 libsrcdir="$$s/gettext";; \
10185 *) \
10186 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
10187 libsrcdir="$$s/gettext";; \
10188 esac; \
10189 $(SHELL) $${libsrcdir}/configure \
10190 $(HOST_CONFIGARGS) $${srcdiroption} \
10191 || exit 1
10192 @endif gettext
10194 .PHONY: all-gettext maybe-all-gettext
10195 maybe-all-gettext:
10196 @if gettext
10197 TARGET-gettext=all
10198 maybe-all-gettext: all-gettext
10199 all-gettext: configure-gettext
10200 @r=`${PWD_COMMAND}`; export r; \
10201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10202 $(SET_LIB_PATH) \
10203 $(HOST_EXPORTS) \
10204 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) \
10205 $(TARGET-gettext))
10206 @endif gettext
10208 .PHONY: check-gettext maybe-check-gettext
10209 maybe-check-gettext:
10210 @if gettext
10211 maybe-check-gettext: check-gettext
10213 check-gettext:
10214 @r=`${PWD_COMMAND}`; export r; \
10215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10216 $(SET_LIB_PATH) \
10217 $(HOST_EXPORTS) \
10218 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
10220 @endif gettext
10222 .PHONY: install-gettext maybe-install-gettext
10223 maybe-install-gettext:
10224 @if gettext
10225 maybe-install-gettext: install-gettext
10227 install-gettext: installdirs
10228 @r=`${PWD_COMMAND}`; export r; \
10229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10230 $(SET_LIB_PATH) \
10231 $(HOST_EXPORTS) \
10232 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
10234 @endif gettext
10236 # Other targets (info, dvi, etc.)
10238 .PHONY: maybe-info-gettext info-gettext
10239 maybe-info-gettext:
10240 @if gettext
10241 maybe-info-gettext: info-gettext
10243 info-gettext: \
10244 configure-gettext
10245 @[ -f ./gettext/Makefile ] || exit 0; \
10246 r=`${PWD_COMMAND}`; export r; \
10247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10248 $(SET_LIB_PATH) \
10249 $(HOST_EXPORTS) \
10250 for flag in $(EXTRA_HOST_FLAGS) ; do \
10251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10252 done; \
10253 echo "Doing info in gettext" ; \
10254 (cd gettext && \
10255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10257 "RANLIB=$${RANLIB}" \
10258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10259 info) \
10260 || exit 1
10262 @endif gettext
10264 .PHONY: maybe-dvi-gettext dvi-gettext
10265 maybe-dvi-gettext:
10266 @if gettext
10267 maybe-dvi-gettext: dvi-gettext
10269 dvi-gettext: \
10270 configure-gettext
10271 @[ -f ./gettext/Makefile ] || exit 0; \
10272 r=`${PWD_COMMAND}`; export r; \
10273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10274 $(SET_LIB_PATH) \
10275 $(HOST_EXPORTS) \
10276 for flag in $(EXTRA_HOST_FLAGS) ; do \
10277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10278 done; \
10279 echo "Doing dvi in gettext" ; \
10280 (cd gettext && \
10281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10283 "RANLIB=$${RANLIB}" \
10284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10285 dvi) \
10286 || exit 1
10288 @endif gettext
10290 .PHONY: maybe-html-gettext html-gettext
10291 maybe-html-gettext:
10292 @if gettext
10293 maybe-html-gettext: html-gettext
10295 html-gettext: \
10296 configure-gettext
10297 @[ -f ./gettext/Makefile ] || exit 0; \
10298 r=`${PWD_COMMAND}`; export r; \
10299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10300 $(SET_LIB_PATH) \
10301 $(HOST_EXPORTS) \
10302 for flag in $(EXTRA_HOST_FLAGS) ; do \
10303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10304 done; \
10305 echo "Doing html in gettext" ; \
10306 (cd gettext && \
10307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10309 "RANLIB=$${RANLIB}" \
10310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10311 html) \
10312 || exit 1
10314 @endif gettext
10316 .PHONY: maybe-TAGS-gettext TAGS-gettext
10317 maybe-TAGS-gettext:
10318 @if gettext
10319 maybe-TAGS-gettext: TAGS-gettext
10321 TAGS-gettext: \
10322 configure-gettext
10323 @[ -f ./gettext/Makefile ] || exit 0; \
10324 r=`${PWD_COMMAND}`; export r; \
10325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10326 $(SET_LIB_PATH) \
10327 $(HOST_EXPORTS) \
10328 for flag in $(EXTRA_HOST_FLAGS) ; do \
10329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10330 done; \
10331 echo "Doing TAGS in gettext" ; \
10332 (cd gettext && \
10333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10335 "RANLIB=$${RANLIB}" \
10336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10337 TAGS) \
10338 || exit 1
10340 @endif gettext
10342 .PHONY: maybe-install-info-gettext install-info-gettext
10343 maybe-install-info-gettext:
10344 @if gettext
10345 maybe-install-info-gettext: install-info-gettext
10347 install-info-gettext: \
10348 configure-gettext \
10349 info-gettext
10350 @[ -f ./gettext/Makefile ] || exit 0; \
10351 r=`${PWD_COMMAND}`; export r; \
10352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10353 $(SET_LIB_PATH) \
10354 $(HOST_EXPORTS) \
10355 for flag in $(EXTRA_HOST_FLAGS) ; do \
10356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10357 done; \
10358 echo "Doing install-info in gettext" ; \
10359 (cd gettext && \
10360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10362 "RANLIB=$${RANLIB}" \
10363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10364 install-info) \
10365 || exit 1
10367 @endif gettext
10369 .PHONY: maybe-installcheck-gettext installcheck-gettext
10370 maybe-installcheck-gettext:
10371 @if gettext
10372 maybe-installcheck-gettext: installcheck-gettext
10374 installcheck-gettext: \
10375 configure-gettext
10376 @[ -f ./gettext/Makefile ] || exit 0; \
10377 r=`${PWD_COMMAND}`; export r; \
10378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10379 $(SET_LIB_PATH) \
10380 $(HOST_EXPORTS) \
10381 for flag in $(EXTRA_HOST_FLAGS) ; do \
10382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10383 done; \
10384 echo "Doing installcheck in gettext" ; \
10385 (cd gettext && \
10386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10388 "RANLIB=$${RANLIB}" \
10389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10390 installcheck) \
10391 || exit 1
10393 @endif gettext
10395 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10396 maybe-mostlyclean-gettext:
10397 @if gettext
10398 maybe-mostlyclean-gettext: mostlyclean-gettext
10400 mostlyclean-gettext:
10401 @[ -f ./gettext/Makefile ] || exit 0; \
10402 r=`${PWD_COMMAND}`; export r; \
10403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10404 $(SET_LIB_PATH) \
10405 $(HOST_EXPORTS) \
10406 for flag in $(EXTRA_HOST_FLAGS) ; do \
10407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10408 done; \
10409 echo "Doing mostlyclean in gettext" ; \
10410 (cd gettext && \
10411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10413 "RANLIB=$${RANLIB}" \
10414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10415 mostlyclean) \
10416 || exit 1
10418 @endif gettext
10420 .PHONY: maybe-clean-gettext clean-gettext
10421 maybe-clean-gettext:
10422 @if gettext
10423 maybe-clean-gettext: clean-gettext
10425 clean-gettext:
10426 @[ -f ./gettext/Makefile ] || exit 0; \
10427 r=`${PWD_COMMAND}`; export r; \
10428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10429 $(SET_LIB_PATH) \
10430 $(HOST_EXPORTS) \
10431 for flag in $(EXTRA_HOST_FLAGS) ; do \
10432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10433 done; \
10434 echo "Doing clean in gettext" ; \
10435 (cd gettext && \
10436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10438 "RANLIB=$${RANLIB}" \
10439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10440 clean) \
10441 || exit 1
10443 @endif gettext
10445 .PHONY: maybe-distclean-gettext distclean-gettext
10446 maybe-distclean-gettext:
10447 @if gettext
10448 maybe-distclean-gettext: distclean-gettext
10450 distclean-gettext:
10451 @[ -f ./gettext/Makefile ] || exit 0; \
10452 r=`${PWD_COMMAND}`; export r; \
10453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10454 $(SET_LIB_PATH) \
10455 $(HOST_EXPORTS) \
10456 for flag in $(EXTRA_HOST_FLAGS) ; do \
10457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10458 done; \
10459 echo "Doing distclean in gettext" ; \
10460 (cd gettext && \
10461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10463 "RANLIB=$${RANLIB}" \
10464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10465 distclean) \
10466 || exit 1
10468 @endif gettext
10470 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
10471 maybe-maintainer-clean-gettext:
10472 @if gettext
10473 maybe-maintainer-clean-gettext: maintainer-clean-gettext
10475 maintainer-clean-gettext:
10476 @[ -f ./gettext/Makefile ] || exit 0; \
10477 r=`${PWD_COMMAND}`; export r; \
10478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10479 $(SET_LIB_PATH) \
10480 $(HOST_EXPORTS) \
10481 for flag in $(EXTRA_HOST_FLAGS) ; do \
10482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10483 done; \
10484 echo "Doing maintainer-clean in gettext" ; \
10485 (cd gettext && \
10486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10488 "RANLIB=$${RANLIB}" \
10489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10490 maintainer-clean) \
10491 || exit 1
10493 @endif gettext
10496 .PHONY: configure-gnuserv maybe-configure-gnuserv
10497 maybe-configure-gnuserv:
10498 @if gnuserv
10499 maybe-configure-gnuserv: configure-gnuserv
10500 configure-gnuserv:
10501 @test ! -f gnuserv/Makefile || exit 0; \
10502 [ -d gnuserv ] || mkdir gnuserv; \
10503 r=`${PWD_COMMAND}`; export r; \
10504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10505 $(HOST_EXPORTS) \
10506 echo Configuring in gnuserv; \
10507 cd gnuserv || exit 1; \
10508 case $(srcdir) in \
10509 \.) \
10510 srcdiroption="--srcdir=."; \
10511 libsrcdir=".";; \
10512 /* | [A-Za-z]:[\\/]*) \
10513 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
10514 libsrcdir="$$s/gnuserv";; \
10515 *) \
10516 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
10517 libsrcdir="$$s/gnuserv";; \
10518 esac; \
10519 $(SHELL) $${libsrcdir}/configure \
10520 $(HOST_CONFIGARGS) $${srcdiroption} \
10521 || exit 1
10522 @endif gnuserv
10524 .PHONY: all-gnuserv maybe-all-gnuserv
10525 maybe-all-gnuserv:
10526 @if gnuserv
10527 TARGET-gnuserv=all
10528 maybe-all-gnuserv: all-gnuserv
10529 all-gnuserv: configure-gnuserv
10530 @r=`${PWD_COMMAND}`; export r; \
10531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10532 $(SET_LIB_PATH) \
10533 $(HOST_EXPORTS) \
10534 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) \
10535 $(TARGET-gnuserv))
10536 @endif gnuserv
10538 .PHONY: check-gnuserv maybe-check-gnuserv
10539 maybe-check-gnuserv:
10540 @if gnuserv
10541 maybe-check-gnuserv: check-gnuserv
10543 check-gnuserv:
10544 @r=`${PWD_COMMAND}`; export r; \
10545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10546 $(SET_LIB_PATH) \
10547 $(HOST_EXPORTS) \
10548 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
10550 @endif gnuserv
10552 .PHONY: install-gnuserv maybe-install-gnuserv
10553 maybe-install-gnuserv:
10554 @if gnuserv
10555 maybe-install-gnuserv: install-gnuserv
10557 install-gnuserv: installdirs
10558 @r=`${PWD_COMMAND}`; export r; \
10559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10560 $(SET_LIB_PATH) \
10561 $(HOST_EXPORTS) \
10562 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
10564 @endif gnuserv
10566 # Other targets (info, dvi, etc.)
10568 .PHONY: maybe-info-gnuserv info-gnuserv
10569 maybe-info-gnuserv:
10570 @if gnuserv
10571 maybe-info-gnuserv: info-gnuserv
10573 info-gnuserv: \
10574 configure-gnuserv
10575 @[ -f ./gnuserv/Makefile ] || exit 0; \
10576 r=`${PWD_COMMAND}`; export r; \
10577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10578 $(SET_LIB_PATH) \
10579 $(HOST_EXPORTS) \
10580 for flag in $(EXTRA_HOST_FLAGS) ; do \
10581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10582 done; \
10583 echo "Doing info in gnuserv" ; \
10584 (cd gnuserv && \
10585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10587 "RANLIB=$${RANLIB}" \
10588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10589 info) \
10590 || exit 1
10592 @endif gnuserv
10594 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
10595 maybe-dvi-gnuserv:
10596 @if gnuserv
10597 maybe-dvi-gnuserv: dvi-gnuserv
10599 dvi-gnuserv: \
10600 configure-gnuserv
10601 @[ -f ./gnuserv/Makefile ] || exit 0; \
10602 r=`${PWD_COMMAND}`; export r; \
10603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10604 $(SET_LIB_PATH) \
10605 $(HOST_EXPORTS) \
10606 for flag in $(EXTRA_HOST_FLAGS) ; do \
10607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10608 done; \
10609 echo "Doing dvi in gnuserv" ; \
10610 (cd gnuserv && \
10611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10613 "RANLIB=$${RANLIB}" \
10614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10615 dvi) \
10616 || exit 1
10618 @endif gnuserv
10620 .PHONY: maybe-html-gnuserv html-gnuserv
10621 maybe-html-gnuserv:
10622 @if gnuserv
10623 maybe-html-gnuserv: html-gnuserv
10625 html-gnuserv: \
10626 configure-gnuserv
10627 @[ -f ./gnuserv/Makefile ] || exit 0; \
10628 r=`${PWD_COMMAND}`; export r; \
10629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10630 $(SET_LIB_PATH) \
10631 $(HOST_EXPORTS) \
10632 for flag in $(EXTRA_HOST_FLAGS) ; do \
10633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10634 done; \
10635 echo "Doing html in gnuserv" ; \
10636 (cd gnuserv && \
10637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10639 "RANLIB=$${RANLIB}" \
10640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10641 html) \
10642 || exit 1
10644 @endif gnuserv
10646 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
10647 maybe-TAGS-gnuserv:
10648 @if gnuserv
10649 maybe-TAGS-gnuserv: TAGS-gnuserv
10651 TAGS-gnuserv: \
10652 configure-gnuserv
10653 @[ -f ./gnuserv/Makefile ] || exit 0; \
10654 r=`${PWD_COMMAND}`; export r; \
10655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10656 $(SET_LIB_PATH) \
10657 $(HOST_EXPORTS) \
10658 for flag in $(EXTRA_HOST_FLAGS) ; do \
10659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10660 done; \
10661 echo "Doing TAGS in gnuserv" ; \
10662 (cd gnuserv && \
10663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10665 "RANLIB=$${RANLIB}" \
10666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10667 TAGS) \
10668 || exit 1
10670 @endif gnuserv
10672 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
10673 maybe-install-info-gnuserv:
10674 @if gnuserv
10675 maybe-install-info-gnuserv: install-info-gnuserv
10677 install-info-gnuserv: \
10678 configure-gnuserv \
10679 info-gnuserv
10680 @[ -f ./gnuserv/Makefile ] || exit 0; \
10681 r=`${PWD_COMMAND}`; export r; \
10682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10683 $(SET_LIB_PATH) \
10684 $(HOST_EXPORTS) \
10685 for flag in $(EXTRA_HOST_FLAGS) ; do \
10686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10687 done; \
10688 echo "Doing install-info in gnuserv" ; \
10689 (cd gnuserv && \
10690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10692 "RANLIB=$${RANLIB}" \
10693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10694 install-info) \
10695 || exit 1
10697 @endif gnuserv
10699 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10700 maybe-installcheck-gnuserv:
10701 @if gnuserv
10702 maybe-installcheck-gnuserv: installcheck-gnuserv
10704 installcheck-gnuserv: \
10705 configure-gnuserv
10706 @[ -f ./gnuserv/Makefile ] || exit 0; \
10707 r=`${PWD_COMMAND}`; export r; \
10708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10709 $(SET_LIB_PATH) \
10710 $(HOST_EXPORTS) \
10711 for flag in $(EXTRA_HOST_FLAGS) ; do \
10712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10713 done; \
10714 echo "Doing installcheck in gnuserv" ; \
10715 (cd gnuserv && \
10716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10718 "RANLIB=$${RANLIB}" \
10719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10720 installcheck) \
10721 || exit 1
10723 @endif gnuserv
10725 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10726 maybe-mostlyclean-gnuserv:
10727 @if gnuserv
10728 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10730 mostlyclean-gnuserv:
10731 @[ -f ./gnuserv/Makefile ] || exit 0; \
10732 r=`${PWD_COMMAND}`; export r; \
10733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10734 $(SET_LIB_PATH) \
10735 $(HOST_EXPORTS) \
10736 for flag in $(EXTRA_HOST_FLAGS) ; do \
10737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10738 done; \
10739 echo "Doing mostlyclean in gnuserv" ; \
10740 (cd gnuserv && \
10741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10743 "RANLIB=$${RANLIB}" \
10744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10745 mostlyclean) \
10746 || exit 1
10748 @endif gnuserv
10750 .PHONY: maybe-clean-gnuserv clean-gnuserv
10751 maybe-clean-gnuserv:
10752 @if gnuserv
10753 maybe-clean-gnuserv: clean-gnuserv
10755 clean-gnuserv:
10756 @[ -f ./gnuserv/Makefile ] || exit 0; \
10757 r=`${PWD_COMMAND}`; export r; \
10758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10759 $(SET_LIB_PATH) \
10760 $(HOST_EXPORTS) \
10761 for flag in $(EXTRA_HOST_FLAGS) ; do \
10762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10763 done; \
10764 echo "Doing clean in gnuserv" ; \
10765 (cd gnuserv && \
10766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10768 "RANLIB=$${RANLIB}" \
10769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10770 clean) \
10771 || exit 1
10773 @endif gnuserv
10775 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10776 maybe-distclean-gnuserv:
10777 @if gnuserv
10778 maybe-distclean-gnuserv: distclean-gnuserv
10780 distclean-gnuserv:
10781 @[ -f ./gnuserv/Makefile ] || exit 0; \
10782 r=`${PWD_COMMAND}`; export r; \
10783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10784 $(SET_LIB_PATH) \
10785 $(HOST_EXPORTS) \
10786 for flag in $(EXTRA_HOST_FLAGS) ; do \
10787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10788 done; \
10789 echo "Doing distclean in gnuserv" ; \
10790 (cd gnuserv && \
10791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10793 "RANLIB=$${RANLIB}" \
10794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10795 distclean) \
10796 || exit 1
10798 @endif gnuserv
10800 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10801 maybe-maintainer-clean-gnuserv:
10802 @if gnuserv
10803 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10805 maintainer-clean-gnuserv:
10806 @[ -f ./gnuserv/Makefile ] || exit 0; \
10807 r=`${PWD_COMMAND}`; export r; \
10808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10809 $(SET_LIB_PATH) \
10810 $(HOST_EXPORTS) \
10811 for flag in $(EXTRA_HOST_FLAGS) ; do \
10812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10813 done; \
10814 echo "Doing maintainer-clean in gnuserv" ; \
10815 (cd gnuserv && \
10816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10818 "RANLIB=$${RANLIB}" \
10819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10820 maintainer-clean) \
10821 || exit 1
10823 @endif gnuserv
10826 .PHONY: configure-gprof maybe-configure-gprof
10827 maybe-configure-gprof:
10828 @if gprof
10829 maybe-configure-gprof: configure-gprof
10830 configure-gprof:
10831 @test ! -f gprof/Makefile || exit 0; \
10832 [ -d gprof ] || mkdir gprof; \
10833 r=`${PWD_COMMAND}`; export r; \
10834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10835 $(HOST_EXPORTS) \
10836 echo Configuring in gprof; \
10837 cd gprof || exit 1; \
10838 case $(srcdir) in \
10839 \.) \
10840 srcdiroption="--srcdir=."; \
10841 libsrcdir=".";; \
10842 /* | [A-Za-z]:[\\/]*) \
10843 srcdiroption="--srcdir=$(srcdir)/gprof"; \
10844 libsrcdir="$$s/gprof";; \
10845 *) \
10846 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
10847 libsrcdir="$$s/gprof";; \
10848 esac; \
10849 $(SHELL) $${libsrcdir}/configure \
10850 $(HOST_CONFIGARGS) $${srcdiroption} \
10851 || exit 1
10852 @endif gprof
10854 .PHONY: all-gprof maybe-all-gprof
10855 maybe-all-gprof:
10856 @if gprof
10857 TARGET-gprof=all
10858 maybe-all-gprof: all-gprof
10859 all-gprof: configure-gprof
10860 @r=`${PWD_COMMAND}`; export r; \
10861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10862 $(SET_LIB_PATH) \
10863 $(HOST_EXPORTS) \
10864 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) \
10865 $(TARGET-gprof))
10866 @endif gprof
10868 .PHONY: check-gprof maybe-check-gprof
10869 maybe-check-gprof:
10870 @if gprof
10871 maybe-check-gprof: check-gprof
10873 check-gprof:
10874 @r=`${PWD_COMMAND}`; export r; \
10875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10876 $(SET_LIB_PATH) \
10877 $(HOST_EXPORTS) \
10878 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
10880 @endif gprof
10882 .PHONY: install-gprof maybe-install-gprof
10883 maybe-install-gprof:
10884 @if gprof
10885 maybe-install-gprof: install-gprof
10887 install-gprof: installdirs
10888 @r=`${PWD_COMMAND}`; export r; \
10889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10890 $(SET_LIB_PATH) \
10891 $(HOST_EXPORTS) \
10892 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
10894 @endif gprof
10896 # Other targets (info, dvi, etc.)
10898 .PHONY: maybe-info-gprof info-gprof
10899 maybe-info-gprof:
10900 @if gprof
10901 maybe-info-gprof: info-gprof
10903 info-gprof: \
10904 configure-gprof
10905 @[ -f ./gprof/Makefile ] || exit 0; \
10906 r=`${PWD_COMMAND}`; export r; \
10907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10908 $(SET_LIB_PATH) \
10909 $(HOST_EXPORTS) \
10910 for flag in $(EXTRA_HOST_FLAGS) ; do \
10911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10912 done; \
10913 echo "Doing info in gprof" ; \
10914 (cd gprof && \
10915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10917 "RANLIB=$${RANLIB}" \
10918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10919 info) \
10920 || exit 1
10922 @endif gprof
10924 .PHONY: maybe-dvi-gprof dvi-gprof
10925 maybe-dvi-gprof:
10926 @if gprof
10927 maybe-dvi-gprof: dvi-gprof
10929 dvi-gprof: \
10930 configure-gprof
10931 @[ -f ./gprof/Makefile ] || exit 0; \
10932 r=`${PWD_COMMAND}`; export r; \
10933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10934 $(SET_LIB_PATH) \
10935 $(HOST_EXPORTS) \
10936 for flag in $(EXTRA_HOST_FLAGS) ; do \
10937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10938 done; \
10939 echo "Doing dvi in gprof" ; \
10940 (cd gprof && \
10941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10943 "RANLIB=$${RANLIB}" \
10944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10945 dvi) \
10946 || exit 1
10948 @endif gprof
10950 .PHONY: maybe-html-gprof html-gprof
10951 maybe-html-gprof:
10952 @if gprof
10953 maybe-html-gprof: html-gprof
10955 html-gprof: \
10956 configure-gprof
10957 @[ -f ./gprof/Makefile ] || exit 0; \
10958 r=`${PWD_COMMAND}`; export r; \
10959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10960 $(SET_LIB_PATH) \
10961 $(HOST_EXPORTS) \
10962 for flag in $(EXTRA_HOST_FLAGS) ; do \
10963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10964 done; \
10965 echo "Doing html in gprof" ; \
10966 (cd gprof && \
10967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10969 "RANLIB=$${RANLIB}" \
10970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10971 html) \
10972 || exit 1
10974 @endif gprof
10976 .PHONY: maybe-TAGS-gprof TAGS-gprof
10977 maybe-TAGS-gprof:
10978 @if gprof
10979 maybe-TAGS-gprof: TAGS-gprof
10981 TAGS-gprof: \
10982 configure-gprof
10983 @[ -f ./gprof/Makefile ] || exit 0; \
10984 r=`${PWD_COMMAND}`; export r; \
10985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10986 $(SET_LIB_PATH) \
10987 $(HOST_EXPORTS) \
10988 for flag in $(EXTRA_HOST_FLAGS) ; do \
10989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10990 done; \
10991 echo "Doing TAGS in gprof" ; \
10992 (cd gprof && \
10993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10995 "RANLIB=$${RANLIB}" \
10996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10997 TAGS) \
10998 || exit 1
11000 @endif gprof
11002 .PHONY: maybe-install-info-gprof install-info-gprof
11003 maybe-install-info-gprof:
11004 @if gprof
11005 maybe-install-info-gprof: install-info-gprof
11007 install-info-gprof: \
11008 configure-gprof \
11009 info-gprof
11010 @[ -f ./gprof/Makefile ] || exit 0; \
11011 r=`${PWD_COMMAND}`; export r; \
11012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11013 $(SET_LIB_PATH) \
11014 $(HOST_EXPORTS) \
11015 for flag in $(EXTRA_HOST_FLAGS) ; do \
11016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11017 done; \
11018 echo "Doing install-info in gprof" ; \
11019 (cd gprof && \
11020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11022 "RANLIB=$${RANLIB}" \
11023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11024 install-info) \
11025 || exit 1
11027 @endif gprof
11029 .PHONY: maybe-installcheck-gprof installcheck-gprof
11030 maybe-installcheck-gprof:
11031 @if gprof
11032 maybe-installcheck-gprof: installcheck-gprof
11034 installcheck-gprof: \
11035 configure-gprof
11036 @[ -f ./gprof/Makefile ] || exit 0; \
11037 r=`${PWD_COMMAND}`; export r; \
11038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11039 $(SET_LIB_PATH) \
11040 $(HOST_EXPORTS) \
11041 for flag in $(EXTRA_HOST_FLAGS) ; do \
11042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11043 done; \
11044 echo "Doing installcheck in gprof" ; \
11045 (cd gprof && \
11046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11048 "RANLIB=$${RANLIB}" \
11049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11050 installcheck) \
11051 || exit 1
11053 @endif gprof
11055 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
11056 maybe-mostlyclean-gprof:
11057 @if gprof
11058 maybe-mostlyclean-gprof: mostlyclean-gprof
11060 mostlyclean-gprof:
11061 @[ -f ./gprof/Makefile ] || exit 0; \
11062 r=`${PWD_COMMAND}`; export r; \
11063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11064 $(SET_LIB_PATH) \
11065 $(HOST_EXPORTS) \
11066 for flag in $(EXTRA_HOST_FLAGS) ; do \
11067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11068 done; \
11069 echo "Doing mostlyclean in gprof" ; \
11070 (cd gprof && \
11071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11073 "RANLIB=$${RANLIB}" \
11074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11075 mostlyclean) \
11076 || exit 1
11078 @endif gprof
11080 .PHONY: maybe-clean-gprof clean-gprof
11081 maybe-clean-gprof:
11082 @if gprof
11083 maybe-clean-gprof: clean-gprof
11085 clean-gprof:
11086 @[ -f ./gprof/Makefile ] || exit 0; \
11087 r=`${PWD_COMMAND}`; export r; \
11088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11089 $(SET_LIB_PATH) \
11090 $(HOST_EXPORTS) \
11091 for flag in $(EXTRA_HOST_FLAGS) ; do \
11092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11093 done; \
11094 echo "Doing clean in gprof" ; \
11095 (cd gprof && \
11096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11098 "RANLIB=$${RANLIB}" \
11099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11100 clean) \
11101 || exit 1
11103 @endif gprof
11105 .PHONY: maybe-distclean-gprof distclean-gprof
11106 maybe-distclean-gprof:
11107 @if gprof
11108 maybe-distclean-gprof: distclean-gprof
11110 distclean-gprof:
11111 @[ -f ./gprof/Makefile ] || exit 0; \
11112 r=`${PWD_COMMAND}`; export r; \
11113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11114 $(SET_LIB_PATH) \
11115 $(HOST_EXPORTS) \
11116 for flag in $(EXTRA_HOST_FLAGS) ; do \
11117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11118 done; \
11119 echo "Doing distclean in gprof" ; \
11120 (cd gprof && \
11121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11123 "RANLIB=$${RANLIB}" \
11124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11125 distclean) \
11126 || exit 1
11128 @endif gprof
11130 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
11131 maybe-maintainer-clean-gprof:
11132 @if gprof
11133 maybe-maintainer-clean-gprof: maintainer-clean-gprof
11135 maintainer-clean-gprof:
11136 @[ -f ./gprof/Makefile ] || exit 0; \
11137 r=`${PWD_COMMAND}`; export r; \
11138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11139 $(SET_LIB_PATH) \
11140 $(HOST_EXPORTS) \
11141 for flag in $(EXTRA_HOST_FLAGS) ; do \
11142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11143 done; \
11144 echo "Doing maintainer-clean in gprof" ; \
11145 (cd gprof && \
11146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11148 "RANLIB=$${RANLIB}" \
11149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11150 maintainer-clean) \
11151 || exit 1
11153 @endif gprof
11156 .PHONY: configure-gzip maybe-configure-gzip
11157 maybe-configure-gzip:
11158 @if gzip
11159 maybe-configure-gzip: configure-gzip
11160 configure-gzip:
11161 @test ! -f gzip/Makefile || exit 0; \
11162 [ -d gzip ] || mkdir gzip; \
11163 r=`${PWD_COMMAND}`; export r; \
11164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11165 $(HOST_EXPORTS) \
11166 echo Configuring in gzip; \
11167 cd gzip || exit 1; \
11168 case $(srcdir) in \
11169 \.) \
11170 srcdiroption="--srcdir=."; \
11171 libsrcdir=".";; \
11172 /* | [A-Za-z]:[\\/]*) \
11173 srcdiroption="--srcdir=$(srcdir)/gzip"; \
11174 libsrcdir="$$s/gzip";; \
11175 *) \
11176 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
11177 libsrcdir="$$s/gzip";; \
11178 esac; \
11179 $(SHELL) $${libsrcdir}/configure \
11180 $(HOST_CONFIGARGS) $${srcdiroption} \
11181 || exit 1
11182 @endif gzip
11184 .PHONY: all-gzip maybe-all-gzip
11185 maybe-all-gzip:
11186 @if gzip
11187 TARGET-gzip=all
11188 maybe-all-gzip: all-gzip
11189 all-gzip: configure-gzip
11190 @r=`${PWD_COMMAND}`; export r; \
11191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11192 $(SET_LIB_PATH) \
11193 $(HOST_EXPORTS) \
11194 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) \
11195 $(TARGET-gzip))
11196 @endif gzip
11198 .PHONY: check-gzip maybe-check-gzip
11199 maybe-check-gzip:
11200 @if gzip
11201 maybe-check-gzip: check-gzip
11203 check-gzip:
11204 @r=`${PWD_COMMAND}`; export r; \
11205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11206 $(SET_LIB_PATH) \
11207 $(HOST_EXPORTS) \
11208 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
11210 @endif gzip
11212 .PHONY: install-gzip maybe-install-gzip
11213 maybe-install-gzip:
11214 @if gzip
11215 maybe-install-gzip: install-gzip
11217 install-gzip: installdirs
11218 @r=`${PWD_COMMAND}`; export r; \
11219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11220 $(SET_LIB_PATH) \
11221 $(HOST_EXPORTS) \
11222 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
11224 @endif gzip
11226 # Other targets (info, dvi, etc.)
11228 .PHONY: maybe-info-gzip info-gzip
11229 maybe-info-gzip:
11230 @if gzip
11231 maybe-info-gzip: info-gzip
11233 info-gzip: \
11234 configure-gzip
11235 @[ -f ./gzip/Makefile ] || exit 0; \
11236 r=`${PWD_COMMAND}`; export r; \
11237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11238 $(SET_LIB_PATH) \
11239 $(HOST_EXPORTS) \
11240 for flag in $(EXTRA_HOST_FLAGS) ; do \
11241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11242 done; \
11243 echo "Doing info in gzip" ; \
11244 (cd gzip && \
11245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11247 "RANLIB=$${RANLIB}" \
11248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11249 info) \
11250 || exit 1
11252 @endif gzip
11254 .PHONY: maybe-dvi-gzip dvi-gzip
11255 maybe-dvi-gzip:
11256 @if gzip
11257 maybe-dvi-gzip: dvi-gzip
11259 dvi-gzip: \
11260 configure-gzip
11261 @[ -f ./gzip/Makefile ] || exit 0; \
11262 r=`${PWD_COMMAND}`; export r; \
11263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11264 $(SET_LIB_PATH) \
11265 $(HOST_EXPORTS) \
11266 for flag in $(EXTRA_HOST_FLAGS) ; do \
11267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11268 done; \
11269 echo "Doing dvi in gzip" ; \
11270 (cd gzip && \
11271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11273 "RANLIB=$${RANLIB}" \
11274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11275 dvi) \
11276 || exit 1
11278 @endif gzip
11280 .PHONY: maybe-html-gzip html-gzip
11281 maybe-html-gzip:
11282 @if gzip
11283 maybe-html-gzip: html-gzip
11285 html-gzip: \
11286 configure-gzip
11287 @[ -f ./gzip/Makefile ] || exit 0; \
11288 r=`${PWD_COMMAND}`; export r; \
11289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11290 $(SET_LIB_PATH) \
11291 $(HOST_EXPORTS) \
11292 for flag in $(EXTRA_HOST_FLAGS) ; do \
11293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11294 done; \
11295 echo "Doing html in gzip" ; \
11296 (cd gzip && \
11297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11299 "RANLIB=$${RANLIB}" \
11300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11301 html) \
11302 || exit 1
11304 @endif gzip
11306 .PHONY: maybe-TAGS-gzip TAGS-gzip
11307 maybe-TAGS-gzip:
11308 @if gzip
11309 maybe-TAGS-gzip: TAGS-gzip
11311 TAGS-gzip: \
11312 configure-gzip
11313 @[ -f ./gzip/Makefile ] || exit 0; \
11314 r=`${PWD_COMMAND}`; export r; \
11315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11316 $(SET_LIB_PATH) \
11317 $(HOST_EXPORTS) \
11318 for flag in $(EXTRA_HOST_FLAGS) ; do \
11319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11320 done; \
11321 echo "Doing TAGS in gzip" ; \
11322 (cd gzip && \
11323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11325 "RANLIB=$${RANLIB}" \
11326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11327 TAGS) \
11328 || exit 1
11330 @endif gzip
11332 .PHONY: maybe-install-info-gzip install-info-gzip
11333 maybe-install-info-gzip:
11334 @if gzip
11335 maybe-install-info-gzip: install-info-gzip
11337 install-info-gzip: \
11338 configure-gzip \
11339 info-gzip
11340 @[ -f ./gzip/Makefile ] || exit 0; \
11341 r=`${PWD_COMMAND}`; export r; \
11342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11343 $(SET_LIB_PATH) \
11344 $(HOST_EXPORTS) \
11345 for flag in $(EXTRA_HOST_FLAGS) ; do \
11346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11347 done; \
11348 echo "Doing install-info in gzip" ; \
11349 (cd gzip && \
11350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11352 "RANLIB=$${RANLIB}" \
11353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11354 install-info) \
11355 || exit 1
11357 @endif gzip
11359 .PHONY: maybe-installcheck-gzip installcheck-gzip
11360 maybe-installcheck-gzip:
11361 @if gzip
11362 maybe-installcheck-gzip: installcheck-gzip
11364 installcheck-gzip: \
11365 configure-gzip
11366 @[ -f ./gzip/Makefile ] || exit 0; \
11367 r=`${PWD_COMMAND}`; export r; \
11368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11369 $(SET_LIB_PATH) \
11370 $(HOST_EXPORTS) \
11371 for flag in $(EXTRA_HOST_FLAGS) ; do \
11372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11373 done; \
11374 echo "Doing installcheck in gzip" ; \
11375 (cd gzip && \
11376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11378 "RANLIB=$${RANLIB}" \
11379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11380 installcheck) \
11381 || exit 1
11383 @endif gzip
11385 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
11386 maybe-mostlyclean-gzip:
11387 @if gzip
11388 maybe-mostlyclean-gzip: mostlyclean-gzip
11390 mostlyclean-gzip:
11391 @[ -f ./gzip/Makefile ] || exit 0; \
11392 r=`${PWD_COMMAND}`; export r; \
11393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11394 $(SET_LIB_PATH) \
11395 $(HOST_EXPORTS) \
11396 for flag in $(EXTRA_HOST_FLAGS) ; do \
11397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11398 done; \
11399 echo "Doing mostlyclean in gzip" ; \
11400 (cd gzip && \
11401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11403 "RANLIB=$${RANLIB}" \
11404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11405 mostlyclean) \
11406 || exit 1
11408 @endif gzip
11410 .PHONY: maybe-clean-gzip clean-gzip
11411 maybe-clean-gzip:
11412 @if gzip
11413 maybe-clean-gzip: clean-gzip
11415 clean-gzip:
11416 @[ -f ./gzip/Makefile ] || exit 0; \
11417 r=`${PWD_COMMAND}`; export r; \
11418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11419 $(SET_LIB_PATH) \
11420 $(HOST_EXPORTS) \
11421 for flag in $(EXTRA_HOST_FLAGS) ; do \
11422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11423 done; \
11424 echo "Doing clean in gzip" ; \
11425 (cd gzip && \
11426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11428 "RANLIB=$${RANLIB}" \
11429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11430 clean) \
11431 || exit 1
11433 @endif gzip
11435 .PHONY: maybe-distclean-gzip distclean-gzip
11436 maybe-distclean-gzip:
11437 @if gzip
11438 maybe-distclean-gzip: distclean-gzip
11440 distclean-gzip:
11441 @[ -f ./gzip/Makefile ] || exit 0; \
11442 r=`${PWD_COMMAND}`; export r; \
11443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11444 $(SET_LIB_PATH) \
11445 $(HOST_EXPORTS) \
11446 for flag in $(EXTRA_HOST_FLAGS) ; do \
11447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11448 done; \
11449 echo "Doing distclean in gzip" ; \
11450 (cd gzip && \
11451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11453 "RANLIB=$${RANLIB}" \
11454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11455 distclean) \
11456 || exit 1
11458 @endif gzip
11460 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
11461 maybe-maintainer-clean-gzip:
11462 @if gzip
11463 maybe-maintainer-clean-gzip: maintainer-clean-gzip
11465 maintainer-clean-gzip:
11466 @[ -f ./gzip/Makefile ] || exit 0; \
11467 r=`${PWD_COMMAND}`; export r; \
11468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11469 $(SET_LIB_PATH) \
11470 $(HOST_EXPORTS) \
11471 for flag in $(EXTRA_HOST_FLAGS) ; do \
11472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11473 done; \
11474 echo "Doing maintainer-clean in gzip" ; \
11475 (cd gzip && \
11476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11478 "RANLIB=$${RANLIB}" \
11479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11480 maintainer-clean) \
11481 || exit 1
11483 @endif gzip
11486 .PHONY: configure-hello maybe-configure-hello
11487 maybe-configure-hello:
11488 @if hello
11489 maybe-configure-hello: configure-hello
11490 configure-hello:
11491 @test ! -f hello/Makefile || exit 0; \
11492 [ -d hello ] || mkdir hello; \
11493 r=`${PWD_COMMAND}`; export r; \
11494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11495 $(HOST_EXPORTS) \
11496 echo Configuring in hello; \
11497 cd hello || exit 1; \
11498 case $(srcdir) in \
11499 \.) \
11500 srcdiroption="--srcdir=."; \
11501 libsrcdir=".";; \
11502 /* | [A-Za-z]:[\\/]*) \
11503 srcdiroption="--srcdir=$(srcdir)/hello"; \
11504 libsrcdir="$$s/hello";; \
11505 *) \
11506 srcdiroption="--srcdir=../$(srcdir)/hello"; \
11507 libsrcdir="$$s/hello";; \
11508 esac; \
11509 $(SHELL) $${libsrcdir}/configure \
11510 $(HOST_CONFIGARGS) $${srcdiroption} \
11511 || exit 1
11512 @endif hello
11514 .PHONY: all-hello maybe-all-hello
11515 maybe-all-hello:
11516 @if hello
11517 TARGET-hello=all
11518 maybe-all-hello: all-hello
11519 all-hello: configure-hello
11520 @r=`${PWD_COMMAND}`; export r; \
11521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11522 $(SET_LIB_PATH) \
11523 $(HOST_EXPORTS) \
11524 (cd hello && $(MAKE) $(FLAGS_TO_PASS) \
11525 $(TARGET-hello))
11526 @endif hello
11528 .PHONY: check-hello maybe-check-hello
11529 maybe-check-hello:
11530 @if hello
11531 maybe-check-hello: check-hello
11533 check-hello:
11534 @r=`${PWD_COMMAND}`; export r; \
11535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11536 $(SET_LIB_PATH) \
11537 $(HOST_EXPORTS) \
11538 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
11540 @endif hello
11542 .PHONY: install-hello maybe-install-hello
11543 maybe-install-hello:
11544 @if hello
11545 maybe-install-hello: install-hello
11547 install-hello: installdirs
11548 @r=`${PWD_COMMAND}`; export r; \
11549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11550 $(SET_LIB_PATH) \
11551 $(HOST_EXPORTS) \
11552 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
11554 @endif hello
11556 # Other targets (info, dvi, etc.)
11558 .PHONY: maybe-info-hello info-hello
11559 maybe-info-hello:
11560 @if hello
11561 maybe-info-hello: info-hello
11563 info-hello: \
11564 configure-hello
11565 @[ -f ./hello/Makefile ] || exit 0; \
11566 r=`${PWD_COMMAND}`; export r; \
11567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11568 $(SET_LIB_PATH) \
11569 $(HOST_EXPORTS) \
11570 for flag in $(EXTRA_HOST_FLAGS) ; do \
11571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11572 done; \
11573 echo "Doing info in hello" ; \
11574 (cd hello && \
11575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11577 "RANLIB=$${RANLIB}" \
11578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11579 info) \
11580 || exit 1
11582 @endif hello
11584 .PHONY: maybe-dvi-hello dvi-hello
11585 maybe-dvi-hello:
11586 @if hello
11587 maybe-dvi-hello: dvi-hello
11589 dvi-hello: \
11590 configure-hello
11591 @[ -f ./hello/Makefile ] || exit 0; \
11592 r=`${PWD_COMMAND}`; export r; \
11593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11594 $(SET_LIB_PATH) \
11595 $(HOST_EXPORTS) \
11596 for flag in $(EXTRA_HOST_FLAGS) ; do \
11597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11598 done; \
11599 echo "Doing dvi in hello" ; \
11600 (cd hello && \
11601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11603 "RANLIB=$${RANLIB}" \
11604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11605 dvi) \
11606 || exit 1
11608 @endif hello
11610 .PHONY: maybe-html-hello html-hello
11611 maybe-html-hello:
11612 @if hello
11613 maybe-html-hello: html-hello
11615 html-hello: \
11616 configure-hello
11617 @[ -f ./hello/Makefile ] || exit 0; \
11618 r=`${PWD_COMMAND}`; export r; \
11619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11620 $(SET_LIB_PATH) \
11621 $(HOST_EXPORTS) \
11622 for flag in $(EXTRA_HOST_FLAGS) ; do \
11623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11624 done; \
11625 echo "Doing html in hello" ; \
11626 (cd hello && \
11627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11629 "RANLIB=$${RANLIB}" \
11630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11631 html) \
11632 || exit 1
11634 @endif hello
11636 .PHONY: maybe-TAGS-hello TAGS-hello
11637 maybe-TAGS-hello:
11638 @if hello
11639 maybe-TAGS-hello: TAGS-hello
11641 TAGS-hello: \
11642 configure-hello
11643 @[ -f ./hello/Makefile ] || exit 0; \
11644 r=`${PWD_COMMAND}`; export r; \
11645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11646 $(SET_LIB_PATH) \
11647 $(HOST_EXPORTS) \
11648 for flag in $(EXTRA_HOST_FLAGS) ; do \
11649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11650 done; \
11651 echo "Doing TAGS in hello" ; \
11652 (cd hello && \
11653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11655 "RANLIB=$${RANLIB}" \
11656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11657 TAGS) \
11658 || exit 1
11660 @endif hello
11662 .PHONY: maybe-install-info-hello install-info-hello
11663 maybe-install-info-hello:
11664 @if hello
11665 maybe-install-info-hello: install-info-hello
11667 install-info-hello: \
11668 configure-hello \
11669 info-hello
11670 @[ -f ./hello/Makefile ] || exit 0; \
11671 r=`${PWD_COMMAND}`; export r; \
11672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11673 $(SET_LIB_PATH) \
11674 $(HOST_EXPORTS) \
11675 for flag in $(EXTRA_HOST_FLAGS) ; do \
11676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11677 done; \
11678 echo "Doing install-info in hello" ; \
11679 (cd hello && \
11680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11682 "RANLIB=$${RANLIB}" \
11683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11684 install-info) \
11685 || exit 1
11687 @endif hello
11689 .PHONY: maybe-installcheck-hello installcheck-hello
11690 maybe-installcheck-hello:
11691 @if hello
11692 maybe-installcheck-hello: installcheck-hello
11694 installcheck-hello: \
11695 configure-hello
11696 @[ -f ./hello/Makefile ] || exit 0; \
11697 r=`${PWD_COMMAND}`; export r; \
11698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11699 $(SET_LIB_PATH) \
11700 $(HOST_EXPORTS) \
11701 for flag in $(EXTRA_HOST_FLAGS) ; do \
11702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11703 done; \
11704 echo "Doing installcheck in hello" ; \
11705 (cd hello && \
11706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11708 "RANLIB=$${RANLIB}" \
11709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11710 installcheck) \
11711 || exit 1
11713 @endif hello
11715 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
11716 maybe-mostlyclean-hello:
11717 @if hello
11718 maybe-mostlyclean-hello: mostlyclean-hello
11720 mostlyclean-hello:
11721 @[ -f ./hello/Makefile ] || exit 0; \
11722 r=`${PWD_COMMAND}`; export r; \
11723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11724 $(SET_LIB_PATH) \
11725 $(HOST_EXPORTS) \
11726 for flag in $(EXTRA_HOST_FLAGS) ; do \
11727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11728 done; \
11729 echo "Doing mostlyclean in hello" ; \
11730 (cd hello && \
11731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11733 "RANLIB=$${RANLIB}" \
11734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11735 mostlyclean) \
11736 || exit 1
11738 @endif hello
11740 .PHONY: maybe-clean-hello clean-hello
11741 maybe-clean-hello:
11742 @if hello
11743 maybe-clean-hello: clean-hello
11745 clean-hello:
11746 @[ -f ./hello/Makefile ] || exit 0; \
11747 r=`${PWD_COMMAND}`; export r; \
11748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11749 $(SET_LIB_PATH) \
11750 $(HOST_EXPORTS) \
11751 for flag in $(EXTRA_HOST_FLAGS) ; do \
11752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11753 done; \
11754 echo "Doing clean in hello" ; \
11755 (cd hello && \
11756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11758 "RANLIB=$${RANLIB}" \
11759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11760 clean) \
11761 || exit 1
11763 @endif hello
11765 .PHONY: maybe-distclean-hello distclean-hello
11766 maybe-distclean-hello:
11767 @if hello
11768 maybe-distclean-hello: distclean-hello
11770 distclean-hello:
11771 @[ -f ./hello/Makefile ] || exit 0; \
11772 r=`${PWD_COMMAND}`; export r; \
11773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11774 $(SET_LIB_PATH) \
11775 $(HOST_EXPORTS) \
11776 for flag in $(EXTRA_HOST_FLAGS) ; do \
11777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11778 done; \
11779 echo "Doing distclean in hello" ; \
11780 (cd hello && \
11781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11783 "RANLIB=$${RANLIB}" \
11784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11785 distclean) \
11786 || exit 1
11788 @endif hello
11790 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11791 maybe-maintainer-clean-hello:
11792 @if hello
11793 maybe-maintainer-clean-hello: maintainer-clean-hello
11795 maintainer-clean-hello:
11796 @[ -f ./hello/Makefile ] || exit 0; \
11797 r=`${PWD_COMMAND}`; export r; \
11798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11799 $(SET_LIB_PATH) \
11800 $(HOST_EXPORTS) \
11801 for flag in $(EXTRA_HOST_FLAGS) ; do \
11802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11803 done; \
11804 echo "Doing maintainer-clean in hello" ; \
11805 (cd hello && \
11806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11808 "RANLIB=$${RANLIB}" \
11809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11810 maintainer-clean) \
11811 || exit 1
11813 @endif hello
11816 .PHONY: configure-indent maybe-configure-indent
11817 maybe-configure-indent:
11818 @if indent
11819 maybe-configure-indent: configure-indent
11820 configure-indent:
11821 @test ! -f indent/Makefile || exit 0; \
11822 [ -d indent ] || mkdir indent; \
11823 r=`${PWD_COMMAND}`; export r; \
11824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11825 $(HOST_EXPORTS) \
11826 echo Configuring in indent; \
11827 cd indent || exit 1; \
11828 case $(srcdir) in \
11829 \.) \
11830 srcdiroption="--srcdir=."; \
11831 libsrcdir=".";; \
11832 /* | [A-Za-z]:[\\/]*) \
11833 srcdiroption="--srcdir=$(srcdir)/indent"; \
11834 libsrcdir="$$s/indent";; \
11835 *) \
11836 srcdiroption="--srcdir=../$(srcdir)/indent"; \
11837 libsrcdir="$$s/indent";; \
11838 esac; \
11839 $(SHELL) $${libsrcdir}/configure \
11840 $(HOST_CONFIGARGS) $${srcdiroption} \
11841 || exit 1
11842 @endif indent
11844 .PHONY: all-indent maybe-all-indent
11845 maybe-all-indent:
11846 @if indent
11847 TARGET-indent=all
11848 maybe-all-indent: all-indent
11849 all-indent: configure-indent
11850 @r=`${PWD_COMMAND}`; export r; \
11851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11852 $(SET_LIB_PATH) \
11853 $(HOST_EXPORTS) \
11854 (cd indent && $(MAKE) $(FLAGS_TO_PASS) \
11855 $(TARGET-indent))
11856 @endif indent
11858 .PHONY: check-indent maybe-check-indent
11859 maybe-check-indent:
11860 @if indent
11861 maybe-check-indent: check-indent
11863 check-indent:
11864 @r=`${PWD_COMMAND}`; export r; \
11865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11866 $(SET_LIB_PATH) \
11867 $(HOST_EXPORTS) \
11868 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
11870 @endif indent
11872 .PHONY: install-indent maybe-install-indent
11873 maybe-install-indent:
11874 @if indent
11875 maybe-install-indent: install-indent
11877 install-indent: installdirs
11878 @r=`${PWD_COMMAND}`; export r; \
11879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11880 $(SET_LIB_PATH) \
11881 $(HOST_EXPORTS) \
11882 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
11884 @endif indent
11886 # Other targets (info, dvi, etc.)
11888 .PHONY: maybe-info-indent info-indent
11889 maybe-info-indent:
11890 @if indent
11891 maybe-info-indent: info-indent
11893 info-indent: \
11894 configure-indent
11895 @[ -f ./indent/Makefile ] || exit 0; \
11896 r=`${PWD_COMMAND}`; export r; \
11897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11898 $(SET_LIB_PATH) \
11899 $(HOST_EXPORTS) \
11900 for flag in $(EXTRA_HOST_FLAGS) ; do \
11901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11902 done; \
11903 echo "Doing info in indent" ; \
11904 (cd indent && \
11905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11907 "RANLIB=$${RANLIB}" \
11908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11909 info) \
11910 || exit 1
11912 @endif indent
11914 .PHONY: maybe-dvi-indent dvi-indent
11915 maybe-dvi-indent:
11916 @if indent
11917 maybe-dvi-indent: dvi-indent
11919 dvi-indent: \
11920 configure-indent
11921 @[ -f ./indent/Makefile ] || exit 0; \
11922 r=`${PWD_COMMAND}`; export r; \
11923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11924 $(SET_LIB_PATH) \
11925 $(HOST_EXPORTS) \
11926 for flag in $(EXTRA_HOST_FLAGS) ; do \
11927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11928 done; \
11929 echo "Doing dvi in indent" ; \
11930 (cd indent && \
11931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11933 "RANLIB=$${RANLIB}" \
11934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11935 dvi) \
11936 || exit 1
11938 @endif indent
11940 .PHONY: maybe-html-indent html-indent
11941 maybe-html-indent:
11942 @if indent
11943 maybe-html-indent: html-indent
11945 html-indent: \
11946 configure-indent
11947 @[ -f ./indent/Makefile ] || exit 0; \
11948 r=`${PWD_COMMAND}`; export r; \
11949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11950 $(SET_LIB_PATH) \
11951 $(HOST_EXPORTS) \
11952 for flag in $(EXTRA_HOST_FLAGS) ; do \
11953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11954 done; \
11955 echo "Doing html in indent" ; \
11956 (cd indent && \
11957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11959 "RANLIB=$${RANLIB}" \
11960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11961 html) \
11962 || exit 1
11964 @endif indent
11966 .PHONY: maybe-TAGS-indent TAGS-indent
11967 maybe-TAGS-indent:
11968 @if indent
11969 maybe-TAGS-indent: TAGS-indent
11971 TAGS-indent: \
11972 configure-indent
11973 @[ -f ./indent/Makefile ] || exit 0; \
11974 r=`${PWD_COMMAND}`; export r; \
11975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11976 $(SET_LIB_PATH) \
11977 $(HOST_EXPORTS) \
11978 for flag in $(EXTRA_HOST_FLAGS) ; do \
11979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11980 done; \
11981 echo "Doing TAGS in indent" ; \
11982 (cd indent && \
11983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11985 "RANLIB=$${RANLIB}" \
11986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11987 TAGS) \
11988 || exit 1
11990 @endif indent
11992 .PHONY: maybe-install-info-indent install-info-indent
11993 maybe-install-info-indent:
11994 @if indent
11995 maybe-install-info-indent: install-info-indent
11997 install-info-indent: \
11998 configure-indent \
11999 info-indent
12000 @[ -f ./indent/Makefile ] || exit 0; \
12001 r=`${PWD_COMMAND}`; export r; \
12002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12003 $(SET_LIB_PATH) \
12004 $(HOST_EXPORTS) \
12005 for flag in $(EXTRA_HOST_FLAGS) ; do \
12006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12007 done; \
12008 echo "Doing install-info in indent" ; \
12009 (cd indent && \
12010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12012 "RANLIB=$${RANLIB}" \
12013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12014 install-info) \
12015 || exit 1
12017 @endif indent
12019 .PHONY: maybe-installcheck-indent installcheck-indent
12020 maybe-installcheck-indent:
12021 @if indent
12022 maybe-installcheck-indent: installcheck-indent
12024 installcheck-indent: \
12025 configure-indent
12026 @[ -f ./indent/Makefile ] || exit 0; \
12027 r=`${PWD_COMMAND}`; export r; \
12028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12029 $(SET_LIB_PATH) \
12030 $(HOST_EXPORTS) \
12031 for flag in $(EXTRA_HOST_FLAGS) ; do \
12032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12033 done; \
12034 echo "Doing installcheck in indent" ; \
12035 (cd indent && \
12036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12038 "RANLIB=$${RANLIB}" \
12039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12040 installcheck) \
12041 || exit 1
12043 @endif indent
12045 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
12046 maybe-mostlyclean-indent:
12047 @if indent
12048 maybe-mostlyclean-indent: mostlyclean-indent
12050 mostlyclean-indent:
12051 @[ -f ./indent/Makefile ] || exit 0; \
12052 r=`${PWD_COMMAND}`; export r; \
12053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12054 $(SET_LIB_PATH) \
12055 $(HOST_EXPORTS) \
12056 for flag in $(EXTRA_HOST_FLAGS) ; do \
12057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12058 done; \
12059 echo "Doing mostlyclean in indent" ; \
12060 (cd indent && \
12061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12063 "RANLIB=$${RANLIB}" \
12064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12065 mostlyclean) \
12066 || exit 1
12068 @endif indent
12070 .PHONY: maybe-clean-indent clean-indent
12071 maybe-clean-indent:
12072 @if indent
12073 maybe-clean-indent: clean-indent
12075 clean-indent:
12076 @[ -f ./indent/Makefile ] || exit 0; \
12077 r=`${PWD_COMMAND}`; export r; \
12078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12079 $(SET_LIB_PATH) \
12080 $(HOST_EXPORTS) \
12081 for flag in $(EXTRA_HOST_FLAGS) ; do \
12082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12083 done; \
12084 echo "Doing clean in indent" ; \
12085 (cd indent && \
12086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12088 "RANLIB=$${RANLIB}" \
12089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12090 clean) \
12091 || exit 1
12093 @endif indent
12095 .PHONY: maybe-distclean-indent distclean-indent
12096 maybe-distclean-indent:
12097 @if indent
12098 maybe-distclean-indent: distclean-indent
12100 distclean-indent:
12101 @[ -f ./indent/Makefile ] || exit 0; \
12102 r=`${PWD_COMMAND}`; export r; \
12103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12104 $(SET_LIB_PATH) \
12105 $(HOST_EXPORTS) \
12106 for flag in $(EXTRA_HOST_FLAGS) ; do \
12107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12108 done; \
12109 echo "Doing distclean in indent" ; \
12110 (cd indent && \
12111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12113 "RANLIB=$${RANLIB}" \
12114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12115 distclean) \
12116 || exit 1
12118 @endif indent
12120 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
12121 maybe-maintainer-clean-indent:
12122 @if indent
12123 maybe-maintainer-clean-indent: maintainer-clean-indent
12125 maintainer-clean-indent:
12126 @[ -f ./indent/Makefile ] || exit 0; \
12127 r=`${PWD_COMMAND}`; export r; \
12128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12129 $(SET_LIB_PATH) \
12130 $(HOST_EXPORTS) \
12131 for flag in $(EXTRA_HOST_FLAGS) ; do \
12132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12133 done; \
12134 echo "Doing maintainer-clean in indent" ; \
12135 (cd indent && \
12136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12138 "RANLIB=$${RANLIB}" \
12139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12140 maintainer-clean) \
12141 || exit 1
12143 @endif indent
12146 .PHONY: configure-intl maybe-configure-intl
12147 maybe-configure-intl:
12148 @if intl
12149 maybe-configure-intl: configure-intl
12150 configure-intl:
12151 @test -f stage_last && exit 0; \
12152 test ! -f intl/Makefile || exit 0; \
12153 [ -d intl ] || mkdir intl; \
12154 r=`${PWD_COMMAND}`; export r; \
12155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12156 $(HOST_EXPORTS) \
12157 echo Configuring in intl; \
12158 cd intl || exit 1; \
12159 case $(srcdir) in \
12160 \.) \
12161 srcdiroption="--srcdir=."; \
12162 libsrcdir=".";; \
12163 /* | [A-Za-z]:[\\/]*) \
12164 srcdiroption="--srcdir=$(srcdir)/intl"; \
12165 libsrcdir="$$s/intl";; \
12166 *) \
12167 srcdiroption="--srcdir=../$(srcdir)/intl"; \
12168 libsrcdir="$$s/intl";; \
12169 esac; \
12170 $(SHELL) $${libsrcdir}/configure \
12171 $(HOST_CONFIGARGS) $${srcdiroption} \
12172 || exit 1
12173 @endif intl
12175 .PHONY: all-intl maybe-all-intl
12176 maybe-all-intl:
12177 @if intl
12178 TARGET-intl=all
12179 maybe-all-intl: all-intl
12180 all-intl: configure-intl
12181 @test -f stage_last && exit 0; \
12182 r=`${PWD_COMMAND}`; export r; \
12183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12184 $(SET_LIB_PATH) \
12185 $(HOST_EXPORTS) \
12186 (cd intl && $(MAKE) $(FLAGS_TO_PASS) \
12187 $(TARGET-intl))
12188 @endif intl
12190 .PHONY: check-intl maybe-check-intl
12191 maybe-check-intl:
12192 @if intl
12193 maybe-check-intl: check-intl
12195 check-intl:
12196 @r=`${PWD_COMMAND}`; export r; \
12197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12198 $(SET_LIB_PATH) \
12199 $(HOST_EXPORTS) \
12200 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
12202 @endif intl
12204 .PHONY: install-intl maybe-install-intl
12205 maybe-install-intl:
12206 @if intl
12207 maybe-install-intl: install-intl
12209 install-intl: installdirs
12210 @r=`${PWD_COMMAND}`; export r; \
12211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12212 $(SET_LIB_PATH) \
12213 $(HOST_EXPORTS) \
12214 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
12216 @endif intl
12218 # Other targets (info, dvi, etc.)
12220 .PHONY: maybe-info-intl info-intl
12221 maybe-info-intl:
12222 @if intl
12223 maybe-info-intl: info-intl
12225 info-intl: \
12226 configure-intl
12227 @[ -f ./intl/Makefile ] || exit 0; \
12228 r=`${PWD_COMMAND}`; export r; \
12229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12230 $(SET_LIB_PATH) \
12231 $(HOST_EXPORTS) \
12232 for flag in $(EXTRA_HOST_FLAGS) ; do \
12233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12234 done; \
12235 echo "Doing info in intl" ; \
12236 (cd intl && \
12237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12239 "RANLIB=$${RANLIB}" \
12240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12241 info) \
12242 || exit 1
12244 @endif intl
12246 .PHONY: maybe-dvi-intl dvi-intl
12247 maybe-dvi-intl:
12248 @if intl
12249 maybe-dvi-intl: dvi-intl
12251 dvi-intl: \
12252 configure-intl
12253 @[ -f ./intl/Makefile ] || exit 0; \
12254 r=`${PWD_COMMAND}`; export r; \
12255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12256 $(SET_LIB_PATH) \
12257 $(HOST_EXPORTS) \
12258 for flag in $(EXTRA_HOST_FLAGS) ; do \
12259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12260 done; \
12261 echo "Doing dvi in intl" ; \
12262 (cd intl && \
12263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12265 "RANLIB=$${RANLIB}" \
12266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12267 dvi) \
12268 || exit 1
12270 @endif intl
12272 .PHONY: maybe-html-intl html-intl
12273 maybe-html-intl:
12274 @if intl
12275 maybe-html-intl: html-intl
12277 html-intl: \
12278 configure-intl
12279 @[ -f ./intl/Makefile ] || exit 0; \
12280 r=`${PWD_COMMAND}`; export r; \
12281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12282 $(SET_LIB_PATH) \
12283 $(HOST_EXPORTS) \
12284 for flag in $(EXTRA_HOST_FLAGS) ; do \
12285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12286 done; \
12287 echo "Doing html in intl" ; \
12288 (cd intl && \
12289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12291 "RANLIB=$${RANLIB}" \
12292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12293 html) \
12294 || exit 1
12296 @endif intl
12298 .PHONY: maybe-TAGS-intl TAGS-intl
12299 maybe-TAGS-intl:
12300 @if intl
12301 maybe-TAGS-intl: TAGS-intl
12303 TAGS-intl: \
12304 configure-intl
12305 @[ -f ./intl/Makefile ] || exit 0; \
12306 r=`${PWD_COMMAND}`; export r; \
12307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12308 $(SET_LIB_PATH) \
12309 $(HOST_EXPORTS) \
12310 for flag in $(EXTRA_HOST_FLAGS) ; do \
12311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12312 done; \
12313 echo "Doing TAGS in intl" ; \
12314 (cd intl && \
12315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12317 "RANLIB=$${RANLIB}" \
12318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12319 TAGS) \
12320 || exit 1
12322 @endif intl
12324 .PHONY: maybe-install-info-intl install-info-intl
12325 maybe-install-info-intl:
12326 @if intl
12327 maybe-install-info-intl: install-info-intl
12329 install-info-intl: \
12330 configure-intl \
12331 info-intl
12332 @[ -f ./intl/Makefile ] || exit 0; \
12333 r=`${PWD_COMMAND}`; export r; \
12334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12335 $(SET_LIB_PATH) \
12336 $(HOST_EXPORTS) \
12337 for flag in $(EXTRA_HOST_FLAGS) ; do \
12338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12339 done; \
12340 echo "Doing install-info in intl" ; \
12341 (cd intl && \
12342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12344 "RANLIB=$${RANLIB}" \
12345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12346 install-info) \
12347 || exit 1
12349 @endif intl
12351 .PHONY: maybe-installcheck-intl installcheck-intl
12352 maybe-installcheck-intl:
12353 @if intl
12354 maybe-installcheck-intl: installcheck-intl
12356 installcheck-intl: \
12357 configure-intl
12358 @[ -f ./intl/Makefile ] || exit 0; \
12359 r=`${PWD_COMMAND}`; export r; \
12360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12361 $(SET_LIB_PATH) \
12362 $(HOST_EXPORTS) \
12363 for flag in $(EXTRA_HOST_FLAGS) ; do \
12364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12365 done; \
12366 echo "Doing installcheck in intl" ; \
12367 (cd intl && \
12368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12370 "RANLIB=$${RANLIB}" \
12371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12372 installcheck) \
12373 || exit 1
12375 @endif intl
12377 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
12378 maybe-mostlyclean-intl:
12379 @if intl
12380 maybe-mostlyclean-intl: mostlyclean-intl
12382 mostlyclean-intl:
12383 @[ -f ./intl/Makefile ] || exit 0; \
12384 r=`${PWD_COMMAND}`; export r; \
12385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12386 $(SET_LIB_PATH) \
12387 $(HOST_EXPORTS) \
12388 for flag in $(EXTRA_HOST_FLAGS) ; do \
12389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12390 done; \
12391 echo "Doing mostlyclean in intl" ; \
12392 (cd intl && \
12393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12395 "RANLIB=$${RANLIB}" \
12396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12397 mostlyclean) \
12398 || exit 1
12400 @endif intl
12402 .PHONY: maybe-clean-intl clean-intl
12403 maybe-clean-intl:
12404 @if intl
12405 maybe-clean-intl: clean-intl
12407 clean-intl:
12408 @[ -f ./intl/Makefile ] || exit 0; \
12409 r=`${PWD_COMMAND}`; export r; \
12410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12411 $(SET_LIB_PATH) \
12412 $(HOST_EXPORTS) \
12413 for flag in $(EXTRA_HOST_FLAGS) ; do \
12414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12415 done; \
12416 echo "Doing clean in intl" ; \
12417 (cd intl && \
12418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12420 "RANLIB=$${RANLIB}" \
12421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12422 clean) \
12423 || exit 1
12425 @endif intl
12427 .PHONY: maybe-distclean-intl distclean-intl
12428 maybe-distclean-intl:
12429 @if intl
12430 maybe-distclean-intl: distclean-intl
12432 distclean-intl:
12433 @[ -f ./intl/Makefile ] || exit 0; \
12434 r=`${PWD_COMMAND}`; export r; \
12435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12436 $(SET_LIB_PATH) \
12437 $(HOST_EXPORTS) \
12438 for flag in $(EXTRA_HOST_FLAGS) ; do \
12439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12440 done; \
12441 echo "Doing distclean in intl" ; \
12442 (cd intl && \
12443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12445 "RANLIB=$${RANLIB}" \
12446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12447 distclean) \
12448 || exit 1
12450 @endif intl
12452 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
12453 maybe-maintainer-clean-intl:
12454 @if intl
12455 maybe-maintainer-clean-intl: maintainer-clean-intl
12457 maintainer-clean-intl:
12458 @[ -f ./intl/Makefile ] || exit 0; \
12459 r=`${PWD_COMMAND}`; export r; \
12460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12461 $(SET_LIB_PATH) \
12462 $(HOST_EXPORTS) \
12463 for flag in $(EXTRA_HOST_FLAGS) ; do \
12464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12465 done; \
12466 echo "Doing maintainer-clean in intl" ; \
12467 (cd intl && \
12468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12470 "RANLIB=$${RANLIB}" \
12471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12472 maintainer-clean) \
12473 || exit 1
12475 @endif intl
12478 .PHONY: configure-tcl maybe-configure-tcl
12479 maybe-configure-tcl:
12480 @if tcl
12481 maybe-configure-tcl: configure-tcl
12482 configure-tcl:
12483 @test ! -f tcl/Makefile || exit 0; \
12484 [ -d tcl ] || mkdir tcl; \
12485 r=`${PWD_COMMAND}`; export r; \
12486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12487 $(HOST_EXPORTS) \
12488 echo Configuring in tcl; \
12489 cd tcl || exit 1; \
12490 case $(srcdir) in \
12491 \.) \
12492 srcdiroption="--srcdir=."; \
12493 libsrcdir=".";; \
12494 /* | [A-Za-z]:[\\/]*) \
12495 srcdiroption="--srcdir=$(srcdir)/tcl"; \
12496 libsrcdir="$$s/tcl";; \
12497 *) \
12498 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
12499 libsrcdir="$$s/tcl";; \
12500 esac; \
12501 $(SHELL) $${libsrcdir}/configure \
12502 $(HOST_CONFIGARGS) $${srcdiroption} \
12503 || exit 1
12504 @endif tcl
12506 .PHONY: all-tcl maybe-all-tcl
12507 maybe-all-tcl:
12508 @if tcl
12509 TARGET-tcl=all
12510 maybe-all-tcl: all-tcl
12511 all-tcl: configure-tcl
12512 @r=`${PWD_COMMAND}`; export r; \
12513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12514 $(SET_LIB_PATH) \
12515 $(HOST_EXPORTS) \
12516 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) \
12517 $(TARGET-tcl))
12518 @endif tcl
12520 .PHONY: check-tcl maybe-check-tcl
12521 maybe-check-tcl:
12522 @if tcl
12523 maybe-check-tcl: check-tcl
12525 check-tcl:
12526 @r=`${PWD_COMMAND}`; export r; \
12527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12528 $(SET_LIB_PATH) \
12529 $(HOST_EXPORTS) \
12530 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
12532 @endif tcl
12534 .PHONY: install-tcl maybe-install-tcl
12535 maybe-install-tcl:
12536 @if tcl
12537 maybe-install-tcl: install-tcl
12539 install-tcl: installdirs
12540 @r=`${PWD_COMMAND}`; export r; \
12541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12542 $(SET_LIB_PATH) \
12543 $(HOST_EXPORTS) \
12544 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
12546 @endif tcl
12548 # Other targets (info, dvi, etc.)
12550 .PHONY: maybe-info-tcl info-tcl
12551 maybe-info-tcl:
12552 @if tcl
12553 maybe-info-tcl: info-tcl
12555 info-tcl: \
12556 configure-tcl
12557 @[ -f ./tcl/Makefile ] || exit 0; \
12558 r=`${PWD_COMMAND}`; export r; \
12559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12560 $(SET_LIB_PATH) \
12561 $(HOST_EXPORTS) \
12562 for flag in $(EXTRA_HOST_FLAGS) ; do \
12563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12564 done; \
12565 echo "Doing info in tcl" ; \
12566 (cd tcl && \
12567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12569 "RANLIB=$${RANLIB}" \
12570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12571 info) \
12572 || exit 1
12574 @endif tcl
12576 .PHONY: maybe-dvi-tcl dvi-tcl
12577 maybe-dvi-tcl:
12578 @if tcl
12579 maybe-dvi-tcl: dvi-tcl
12581 dvi-tcl: \
12582 configure-tcl
12583 @[ -f ./tcl/Makefile ] || exit 0; \
12584 r=`${PWD_COMMAND}`; export r; \
12585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12586 $(SET_LIB_PATH) \
12587 $(HOST_EXPORTS) \
12588 for flag in $(EXTRA_HOST_FLAGS) ; do \
12589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12590 done; \
12591 echo "Doing dvi in tcl" ; \
12592 (cd tcl && \
12593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12595 "RANLIB=$${RANLIB}" \
12596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12597 dvi) \
12598 || exit 1
12600 @endif tcl
12602 .PHONY: maybe-html-tcl html-tcl
12603 maybe-html-tcl:
12604 @if tcl
12605 maybe-html-tcl: html-tcl
12607 html-tcl: \
12608 configure-tcl
12609 @[ -f ./tcl/Makefile ] || exit 0; \
12610 r=`${PWD_COMMAND}`; export r; \
12611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12612 $(SET_LIB_PATH) \
12613 $(HOST_EXPORTS) \
12614 for flag in $(EXTRA_HOST_FLAGS) ; do \
12615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12616 done; \
12617 echo "Doing html in tcl" ; \
12618 (cd tcl && \
12619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12621 "RANLIB=$${RANLIB}" \
12622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12623 html) \
12624 || exit 1
12626 @endif tcl
12628 .PHONY: maybe-TAGS-tcl TAGS-tcl
12629 maybe-TAGS-tcl:
12630 @if tcl
12631 maybe-TAGS-tcl: TAGS-tcl
12633 TAGS-tcl: \
12634 configure-tcl
12635 @[ -f ./tcl/Makefile ] || exit 0; \
12636 r=`${PWD_COMMAND}`; export r; \
12637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12638 $(SET_LIB_PATH) \
12639 $(HOST_EXPORTS) \
12640 for flag in $(EXTRA_HOST_FLAGS) ; do \
12641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12642 done; \
12643 echo "Doing TAGS in tcl" ; \
12644 (cd tcl && \
12645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12647 "RANLIB=$${RANLIB}" \
12648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12649 TAGS) \
12650 || exit 1
12652 @endif tcl
12654 .PHONY: maybe-install-info-tcl install-info-tcl
12655 maybe-install-info-tcl:
12656 @if tcl
12657 maybe-install-info-tcl: install-info-tcl
12659 install-info-tcl: \
12660 configure-tcl \
12661 info-tcl
12662 @[ -f ./tcl/Makefile ] || exit 0; \
12663 r=`${PWD_COMMAND}`; export r; \
12664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12665 $(SET_LIB_PATH) \
12666 $(HOST_EXPORTS) \
12667 for flag in $(EXTRA_HOST_FLAGS) ; do \
12668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12669 done; \
12670 echo "Doing install-info in tcl" ; \
12671 (cd tcl && \
12672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12674 "RANLIB=$${RANLIB}" \
12675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12676 install-info) \
12677 || exit 1
12679 @endif tcl
12681 .PHONY: maybe-installcheck-tcl installcheck-tcl
12682 maybe-installcheck-tcl:
12683 @if tcl
12684 maybe-installcheck-tcl: installcheck-tcl
12686 installcheck-tcl: \
12687 configure-tcl
12688 @[ -f ./tcl/Makefile ] || exit 0; \
12689 r=`${PWD_COMMAND}`; export r; \
12690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12691 $(SET_LIB_PATH) \
12692 $(HOST_EXPORTS) \
12693 for flag in $(EXTRA_HOST_FLAGS) ; do \
12694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12695 done; \
12696 echo "Doing installcheck in tcl" ; \
12697 (cd tcl && \
12698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12700 "RANLIB=$${RANLIB}" \
12701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12702 installcheck) \
12703 || exit 1
12705 @endif tcl
12707 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
12708 maybe-mostlyclean-tcl:
12709 @if tcl
12710 maybe-mostlyclean-tcl: mostlyclean-tcl
12712 # tcl doesn't support mostlyclean.
12713 mostlyclean-tcl:
12715 @endif tcl
12717 .PHONY: maybe-clean-tcl clean-tcl
12718 maybe-clean-tcl:
12719 @if tcl
12720 maybe-clean-tcl: clean-tcl
12722 clean-tcl:
12723 @[ -f ./tcl/Makefile ] || exit 0; \
12724 r=`${PWD_COMMAND}`; export r; \
12725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12726 $(SET_LIB_PATH) \
12727 $(HOST_EXPORTS) \
12728 for flag in $(EXTRA_HOST_FLAGS) ; do \
12729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12730 done; \
12731 echo "Doing clean in tcl" ; \
12732 (cd tcl && \
12733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12735 "RANLIB=$${RANLIB}" \
12736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12737 clean) \
12738 || exit 1
12740 @endif tcl
12742 .PHONY: maybe-distclean-tcl distclean-tcl
12743 maybe-distclean-tcl:
12744 @if tcl
12745 maybe-distclean-tcl: distclean-tcl
12747 distclean-tcl:
12748 @[ -f ./tcl/Makefile ] || exit 0; \
12749 r=`${PWD_COMMAND}`; export r; \
12750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12751 $(SET_LIB_PATH) \
12752 $(HOST_EXPORTS) \
12753 for flag in $(EXTRA_HOST_FLAGS) ; do \
12754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12755 done; \
12756 echo "Doing distclean in tcl" ; \
12757 (cd tcl && \
12758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12760 "RANLIB=$${RANLIB}" \
12761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12762 distclean) \
12763 || exit 1
12765 @endif tcl
12767 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
12768 maybe-maintainer-clean-tcl:
12769 @if tcl
12770 maybe-maintainer-clean-tcl: maintainer-clean-tcl
12772 maintainer-clean-tcl:
12773 @[ -f ./tcl/Makefile ] || exit 0; \
12774 r=`${PWD_COMMAND}`; export r; \
12775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12776 $(SET_LIB_PATH) \
12777 $(HOST_EXPORTS) \
12778 for flag in $(EXTRA_HOST_FLAGS) ; do \
12779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12780 done; \
12781 echo "Doing maintainer-clean in tcl" ; \
12782 (cd tcl && \
12783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12785 "RANLIB=$${RANLIB}" \
12786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12787 maintainer-clean) \
12788 || exit 1
12790 @endif tcl
12793 .PHONY: configure-itcl maybe-configure-itcl
12794 maybe-configure-itcl:
12795 @if itcl
12796 maybe-configure-itcl: configure-itcl
12797 configure-itcl:
12798 @test ! -f itcl/Makefile || exit 0; \
12799 [ -d itcl ] || mkdir itcl; \
12800 r=`${PWD_COMMAND}`; export r; \
12801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12802 $(HOST_EXPORTS) \
12803 echo Configuring in itcl; \
12804 cd itcl || exit 1; \
12805 case $(srcdir) in \
12806 \.) \
12807 srcdiroption="--srcdir=."; \
12808 libsrcdir=".";; \
12809 /* | [A-Za-z]:[\\/]*) \
12810 srcdiroption="--srcdir=$(srcdir)/itcl"; \
12811 libsrcdir="$$s/itcl";; \
12812 *) \
12813 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
12814 libsrcdir="$$s/itcl";; \
12815 esac; \
12816 $(SHELL) $${libsrcdir}/configure \
12817 $(HOST_CONFIGARGS) $${srcdiroption} \
12818 || exit 1
12819 @endif itcl
12821 .PHONY: all-itcl maybe-all-itcl
12822 maybe-all-itcl:
12823 @if itcl
12824 TARGET-itcl=all
12825 maybe-all-itcl: all-itcl
12826 all-itcl: configure-itcl
12827 @r=`${PWD_COMMAND}`; export r; \
12828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12829 $(SET_LIB_PATH) \
12830 $(HOST_EXPORTS) \
12831 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) \
12832 $(TARGET-itcl))
12833 @endif itcl
12835 .PHONY: check-itcl maybe-check-itcl
12836 maybe-check-itcl:
12837 @if itcl
12838 maybe-check-itcl: check-itcl
12840 check-itcl:
12841 @r=`${PWD_COMMAND}`; export r; \
12842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12843 $(SET_LIB_PATH) \
12844 $(HOST_EXPORTS) \
12845 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
12847 @endif itcl
12849 .PHONY: install-itcl maybe-install-itcl
12850 maybe-install-itcl:
12851 @if itcl
12852 maybe-install-itcl: install-itcl
12854 install-itcl: installdirs
12855 @r=`${PWD_COMMAND}`; export r; \
12856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12857 $(SET_LIB_PATH) \
12858 $(HOST_EXPORTS) \
12859 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
12861 @endif itcl
12863 # Other targets (info, dvi, etc.)
12865 .PHONY: maybe-info-itcl info-itcl
12866 maybe-info-itcl:
12867 @if itcl
12868 maybe-info-itcl: info-itcl
12870 info-itcl: \
12871 configure-itcl
12872 @[ -f ./itcl/Makefile ] || exit 0; \
12873 r=`${PWD_COMMAND}`; export r; \
12874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12875 $(SET_LIB_PATH) \
12876 $(HOST_EXPORTS) \
12877 for flag in $(EXTRA_HOST_FLAGS) ; do \
12878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12879 done; \
12880 echo "Doing info in itcl" ; \
12881 (cd itcl && \
12882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12884 "RANLIB=$${RANLIB}" \
12885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12886 info) \
12887 || exit 1
12889 @endif itcl
12891 .PHONY: maybe-dvi-itcl dvi-itcl
12892 maybe-dvi-itcl:
12893 @if itcl
12894 maybe-dvi-itcl: dvi-itcl
12896 dvi-itcl: \
12897 configure-itcl
12898 @[ -f ./itcl/Makefile ] || exit 0; \
12899 r=`${PWD_COMMAND}`; export r; \
12900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12901 $(SET_LIB_PATH) \
12902 $(HOST_EXPORTS) \
12903 for flag in $(EXTRA_HOST_FLAGS) ; do \
12904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12905 done; \
12906 echo "Doing dvi in itcl" ; \
12907 (cd itcl && \
12908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12910 "RANLIB=$${RANLIB}" \
12911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12912 dvi) \
12913 || exit 1
12915 @endif itcl
12917 .PHONY: maybe-html-itcl html-itcl
12918 maybe-html-itcl:
12919 @if itcl
12920 maybe-html-itcl: html-itcl
12922 html-itcl: \
12923 configure-itcl
12924 @[ -f ./itcl/Makefile ] || exit 0; \
12925 r=`${PWD_COMMAND}`; export r; \
12926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12927 $(SET_LIB_PATH) \
12928 $(HOST_EXPORTS) \
12929 for flag in $(EXTRA_HOST_FLAGS) ; do \
12930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12931 done; \
12932 echo "Doing html in itcl" ; \
12933 (cd itcl && \
12934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12936 "RANLIB=$${RANLIB}" \
12937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12938 html) \
12939 || exit 1
12941 @endif itcl
12943 .PHONY: maybe-TAGS-itcl TAGS-itcl
12944 maybe-TAGS-itcl:
12945 @if itcl
12946 maybe-TAGS-itcl: TAGS-itcl
12948 TAGS-itcl: \
12949 configure-itcl
12950 @[ -f ./itcl/Makefile ] || exit 0; \
12951 r=`${PWD_COMMAND}`; export r; \
12952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12953 $(SET_LIB_PATH) \
12954 $(HOST_EXPORTS) \
12955 for flag in $(EXTRA_HOST_FLAGS) ; do \
12956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12957 done; \
12958 echo "Doing TAGS in itcl" ; \
12959 (cd itcl && \
12960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12962 "RANLIB=$${RANLIB}" \
12963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12964 TAGS) \
12965 || exit 1
12967 @endif itcl
12969 .PHONY: maybe-install-info-itcl install-info-itcl
12970 maybe-install-info-itcl:
12971 @if itcl
12972 maybe-install-info-itcl: install-info-itcl
12974 install-info-itcl: \
12975 configure-itcl \
12976 info-itcl
12977 @[ -f ./itcl/Makefile ] || exit 0; \
12978 r=`${PWD_COMMAND}`; export r; \
12979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12980 $(SET_LIB_PATH) \
12981 $(HOST_EXPORTS) \
12982 for flag in $(EXTRA_HOST_FLAGS) ; do \
12983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12984 done; \
12985 echo "Doing install-info in itcl" ; \
12986 (cd itcl && \
12987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12989 "RANLIB=$${RANLIB}" \
12990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12991 install-info) \
12992 || exit 1
12994 @endif itcl
12996 .PHONY: maybe-installcheck-itcl installcheck-itcl
12997 maybe-installcheck-itcl:
12998 @if itcl
12999 maybe-installcheck-itcl: installcheck-itcl
13001 installcheck-itcl: \
13002 configure-itcl
13003 @[ -f ./itcl/Makefile ] || exit 0; \
13004 r=`${PWD_COMMAND}`; export r; \
13005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13006 $(SET_LIB_PATH) \
13007 $(HOST_EXPORTS) \
13008 for flag in $(EXTRA_HOST_FLAGS) ; do \
13009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13010 done; \
13011 echo "Doing installcheck in itcl" ; \
13012 (cd itcl && \
13013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13015 "RANLIB=$${RANLIB}" \
13016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13017 installcheck) \
13018 || exit 1
13020 @endif itcl
13022 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
13023 maybe-mostlyclean-itcl:
13024 @if itcl
13025 maybe-mostlyclean-itcl: mostlyclean-itcl
13027 mostlyclean-itcl:
13028 @[ -f ./itcl/Makefile ] || exit 0; \
13029 r=`${PWD_COMMAND}`; export r; \
13030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13031 $(SET_LIB_PATH) \
13032 $(HOST_EXPORTS) \
13033 for flag in $(EXTRA_HOST_FLAGS) ; do \
13034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13035 done; \
13036 echo "Doing mostlyclean in itcl" ; \
13037 (cd itcl && \
13038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13040 "RANLIB=$${RANLIB}" \
13041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13042 mostlyclean) \
13043 || exit 1
13045 @endif itcl
13047 .PHONY: maybe-clean-itcl clean-itcl
13048 maybe-clean-itcl:
13049 @if itcl
13050 maybe-clean-itcl: clean-itcl
13052 clean-itcl:
13053 @[ -f ./itcl/Makefile ] || exit 0; \
13054 r=`${PWD_COMMAND}`; export r; \
13055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13056 $(SET_LIB_PATH) \
13057 $(HOST_EXPORTS) \
13058 for flag in $(EXTRA_HOST_FLAGS) ; do \
13059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13060 done; \
13061 echo "Doing clean in itcl" ; \
13062 (cd itcl && \
13063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13065 "RANLIB=$${RANLIB}" \
13066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13067 clean) \
13068 || exit 1
13070 @endif itcl
13072 .PHONY: maybe-distclean-itcl distclean-itcl
13073 maybe-distclean-itcl:
13074 @if itcl
13075 maybe-distclean-itcl: distclean-itcl
13077 distclean-itcl:
13078 @[ -f ./itcl/Makefile ] || exit 0; \
13079 r=`${PWD_COMMAND}`; export r; \
13080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13081 $(SET_LIB_PATH) \
13082 $(HOST_EXPORTS) \
13083 for flag in $(EXTRA_HOST_FLAGS) ; do \
13084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13085 done; \
13086 echo "Doing distclean in itcl" ; \
13087 (cd itcl && \
13088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13090 "RANLIB=$${RANLIB}" \
13091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13092 distclean) \
13093 || exit 1
13095 @endif itcl
13097 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
13098 maybe-maintainer-clean-itcl:
13099 @if itcl
13100 maybe-maintainer-clean-itcl: maintainer-clean-itcl
13102 maintainer-clean-itcl:
13103 @[ -f ./itcl/Makefile ] || exit 0; \
13104 r=`${PWD_COMMAND}`; export r; \
13105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13106 $(SET_LIB_PATH) \
13107 $(HOST_EXPORTS) \
13108 for flag in $(EXTRA_HOST_FLAGS) ; do \
13109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13110 done; \
13111 echo "Doing maintainer-clean in itcl" ; \
13112 (cd itcl && \
13113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13115 "RANLIB=$${RANLIB}" \
13116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13117 maintainer-clean) \
13118 || exit 1
13120 @endif itcl
13123 .PHONY: configure-ld maybe-configure-ld
13124 maybe-configure-ld:
13125 @if ld
13126 maybe-configure-ld: configure-ld
13127 configure-ld:
13128 @test -f stage_last && exit 0; \
13129 test ! -f ld/Makefile || exit 0; \
13130 [ -d ld ] || mkdir ld; \
13131 r=`${PWD_COMMAND}`; export r; \
13132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13133 $(HOST_EXPORTS) \
13134 echo Configuring in ld; \
13135 cd ld || exit 1; \
13136 case $(srcdir) in \
13137 \.) \
13138 srcdiroption="--srcdir=."; \
13139 libsrcdir=".";; \
13140 /* | [A-Za-z]:[\\/]*) \
13141 srcdiroption="--srcdir=$(srcdir)/ld"; \
13142 libsrcdir="$$s/ld";; \
13143 *) \
13144 srcdiroption="--srcdir=../$(srcdir)/ld"; \
13145 libsrcdir="$$s/ld";; \
13146 esac; \
13147 $(SHELL) $${libsrcdir}/configure \
13148 $(HOST_CONFIGARGS) $${srcdiroption} \
13149 || exit 1
13150 @endif ld
13152 .PHONY: all-ld maybe-all-ld
13153 maybe-all-ld:
13154 @if ld
13155 TARGET-ld=all
13156 maybe-all-ld: all-ld
13157 all-ld: configure-ld
13158 @test -f stage_last && exit 0; \
13159 r=`${PWD_COMMAND}`; export r; \
13160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13161 $(SET_LIB_PATH) \
13162 $(HOST_EXPORTS) \
13163 (cd ld && $(MAKE) $(FLAGS_TO_PASS) \
13164 $(TARGET-ld))
13165 @endif ld
13167 .PHONY: check-ld maybe-check-ld
13168 maybe-check-ld:
13169 @if ld
13170 maybe-check-ld: check-ld
13172 check-ld:
13173 @r=`${PWD_COMMAND}`; export r; \
13174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13175 $(SET_LIB_PATH) \
13176 $(HOST_EXPORTS) \
13177 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
13179 @endif ld
13181 .PHONY: install-ld maybe-install-ld
13182 maybe-install-ld:
13183 @if ld
13184 maybe-install-ld: install-ld
13186 install-ld: installdirs
13187 @r=`${PWD_COMMAND}`; export r; \
13188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13189 $(SET_LIB_PATH) \
13190 $(HOST_EXPORTS) \
13191 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
13193 @endif ld
13195 # Other targets (info, dvi, etc.)
13197 .PHONY: maybe-info-ld info-ld
13198 maybe-info-ld:
13199 @if ld
13200 maybe-info-ld: info-ld
13202 info-ld: \
13203 configure-ld
13204 @[ -f ./ld/Makefile ] || exit 0; \
13205 r=`${PWD_COMMAND}`; export r; \
13206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13207 $(SET_LIB_PATH) \
13208 $(HOST_EXPORTS) \
13209 for flag in $(EXTRA_HOST_FLAGS) ; do \
13210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13211 done; \
13212 echo "Doing info in ld" ; \
13213 (cd ld && \
13214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13216 "RANLIB=$${RANLIB}" \
13217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13218 info) \
13219 || exit 1
13221 @endif ld
13223 .PHONY: maybe-dvi-ld dvi-ld
13224 maybe-dvi-ld:
13225 @if ld
13226 maybe-dvi-ld: dvi-ld
13228 dvi-ld: \
13229 configure-ld
13230 @[ -f ./ld/Makefile ] || exit 0; \
13231 r=`${PWD_COMMAND}`; export r; \
13232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13233 $(SET_LIB_PATH) \
13234 $(HOST_EXPORTS) \
13235 for flag in $(EXTRA_HOST_FLAGS) ; do \
13236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13237 done; \
13238 echo "Doing dvi in ld" ; \
13239 (cd ld && \
13240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13242 "RANLIB=$${RANLIB}" \
13243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13244 dvi) \
13245 || exit 1
13247 @endif ld
13249 .PHONY: maybe-html-ld html-ld
13250 maybe-html-ld:
13251 @if ld
13252 maybe-html-ld: html-ld
13254 html-ld: \
13255 configure-ld
13256 @[ -f ./ld/Makefile ] || exit 0; \
13257 r=`${PWD_COMMAND}`; export r; \
13258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13259 $(SET_LIB_PATH) \
13260 $(HOST_EXPORTS) \
13261 for flag in $(EXTRA_HOST_FLAGS) ; do \
13262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13263 done; \
13264 echo "Doing html in ld" ; \
13265 (cd ld && \
13266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13268 "RANLIB=$${RANLIB}" \
13269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13270 html) \
13271 || exit 1
13273 @endif ld
13275 .PHONY: maybe-TAGS-ld TAGS-ld
13276 maybe-TAGS-ld:
13277 @if ld
13278 maybe-TAGS-ld: TAGS-ld
13280 TAGS-ld: \
13281 configure-ld
13282 @[ -f ./ld/Makefile ] || exit 0; \
13283 r=`${PWD_COMMAND}`; export r; \
13284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13285 $(SET_LIB_PATH) \
13286 $(HOST_EXPORTS) \
13287 for flag in $(EXTRA_HOST_FLAGS) ; do \
13288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13289 done; \
13290 echo "Doing TAGS in ld" ; \
13291 (cd ld && \
13292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13294 "RANLIB=$${RANLIB}" \
13295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13296 TAGS) \
13297 || exit 1
13299 @endif ld
13301 .PHONY: maybe-install-info-ld install-info-ld
13302 maybe-install-info-ld:
13303 @if ld
13304 maybe-install-info-ld: install-info-ld
13306 install-info-ld: \
13307 configure-ld \
13308 info-ld
13309 @[ -f ./ld/Makefile ] || exit 0; \
13310 r=`${PWD_COMMAND}`; export r; \
13311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13312 $(SET_LIB_PATH) \
13313 $(HOST_EXPORTS) \
13314 for flag in $(EXTRA_HOST_FLAGS) ; do \
13315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13316 done; \
13317 echo "Doing install-info in ld" ; \
13318 (cd ld && \
13319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13321 "RANLIB=$${RANLIB}" \
13322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13323 install-info) \
13324 || exit 1
13326 @endif ld
13328 .PHONY: maybe-installcheck-ld installcheck-ld
13329 maybe-installcheck-ld:
13330 @if ld
13331 maybe-installcheck-ld: installcheck-ld
13333 installcheck-ld: \
13334 configure-ld
13335 @[ -f ./ld/Makefile ] || exit 0; \
13336 r=`${PWD_COMMAND}`; export r; \
13337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13338 $(SET_LIB_PATH) \
13339 $(HOST_EXPORTS) \
13340 for flag in $(EXTRA_HOST_FLAGS) ; do \
13341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13342 done; \
13343 echo "Doing installcheck in ld" ; \
13344 (cd ld && \
13345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13347 "RANLIB=$${RANLIB}" \
13348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13349 installcheck) \
13350 || exit 1
13352 @endif ld
13354 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
13355 maybe-mostlyclean-ld:
13356 @if ld
13357 maybe-mostlyclean-ld: mostlyclean-ld
13359 mostlyclean-ld:
13360 @[ -f ./ld/Makefile ] || exit 0; \
13361 r=`${PWD_COMMAND}`; export r; \
13362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13363 $(SET_LIB_PATH) \
13364 $(HOST_EXPORTS) \
13365 for flag in $(EXTRA_HOST_FLAGS) ; do \
13366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13367 done; \
13368 echo "Doing mostlyclean in ld" ; \
13369 (cd ld && \
13370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13372 "RANLIB=$${RANLIB}" \
13373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13374 mostlyclean) \
13375 || exit 1
13377 @endif ld
13379 .PHONY: maybe-clean-ld clean-ld
13380 maybe-clean-ld:
13381 @if ld
13382 maybe-clean-ld: clean-ld
13384 clean-ld:
13385 @[ -f ./ld/Makefile ] || exit 0; \
13386 r=`${PWD_COMMAND}`; export r; \
13387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13388 $(SET_LIB_PATH) \
13389 $(HOST_EXPORTS) \
13390 for flag in $(EXTRA_HOST_FLAGS) ; do \
13391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13392 done; \
13393 echo "Doing clean in ld" ; \
13394 (cd ld && \
13395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13397 "RANLIB=$${RANLIB}" \
13398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13399 clean) \
13400 || exit 1
13402 @endif ld
13404 .PHONY: maybe-distclean-ld distclean-ld
13405 maybe-distclean-ld:
13406 @if ld
13407 maybe-distclean-ld: distclean-ld
13409 distclean-ld:
13410 @[ -f ./ld/Makefile ] || exit 0; \
13411 r=`${PWD_COMMAND}`; export r; \
13412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13413 $(SET_LIB_PATH) \
13414 $(HOST_EXPORTS) \
13415 for flag in $(EXTRA_HOST_FLAGS) ; do \
13416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13417 done; \
13418 echo "Doing distclean in ld" ; \
13419 (cd ld && \
13420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13422 "RANLIB=$${RANLIB}" \
13423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13424 distclean) \
13425 || exit 1
13427 @endif ld
13429 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
13430 maybe-maintainer-clean-ld:
13431 @if ld
13432 maybe-maintainer-clean-ld: maintainer-clean-ld
13434 maintainer-clean-ld:
13435 @[ -f ./ld/Makefile ] || exit 0; \
13436 r=`${PWD_COMMAND}`; export r; \
13437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13438 $(SET_LIB_PATH) \
13439 $(HOST_EXPORTS) \
13440 for flag in $(EXTRA_HOST_FLAGS) ; do \
13441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13442 done; \
13443 echo "Doing maintainer-clean in ld" ; \
13444 (cd ld && \
13445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13447 "RANLIB=$${RANLIB}" \
13448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13449 maintainer-clean) \
13450 || exit 1
13452 @endif ld
13455 .PHONY: configure-libcpp maybe-configure-libcpp
13456 maybe-configure-libcpp:
13457 @if libcpp
13458 maybe-configure-libcpp: configure-libcpp
13459 configure-libcpp:
13460 @test -f stage_last && exit 0; \
13461 test ! -f libcpp/Makefile || exit 0; \
13462 [ -d libcpp ] || mkdir libcpp; \
13463 r=`${PWD_COMMAND}`; export r; \
13464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13465 $(HOST_EXPORTS) \
13466 echo Configuring in libcpp; \
13467 cd libcpp || exit 1; \
13468 case $(srcdir) in \
13469 \.) \
13470 srcdiroption="--srcdir=."; \
13471 libsrcdir=".";; \
13472 /* | [A-Za-z]:[\\/]*) \
13473 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
13474 libsrcdir="$$s/libcpp";; \
13475 *) \
13476 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
13477 libsrcdir="$$s/libcpp";; \
13478 esac; \
13479 $(SHELL) $${libsrcdir}/configure \
13480 $(HOST_CONFIGARGS) $${srcdiroption} \
13481 || exit 1
13482 @endif libcpp
13484 .PHONY: all-libcpp maybe-all-libcpp
13485 maybe-all-libcpp:
13486 @if libcpp
13487 TARGET-libcpp=all
13488 maybe-all-libcpp: all-libcpp
13489 all-libcpp: configure-libcpp
13490 @test -f stage_last && exit 0; \
13491 r=`${PWD_COMMAND}`; export r; \
13492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13493 $(SET_LIB_PATH) \
13494 $(HOST_EXPORTS) \
13495 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) \
13496 $(TARGET-libcpp))
13497 @endif libcpp
13499 .PHONY: check-libcpp maybe-check-libcpp
13500 maybe-check-libcpp:
13501 @if libcpp
13502 maybe-check-libcpp: check-libcpp
13504 check-libcpp:
13505 @r=`${PWD_COMMAND}`; export r; \
13506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13507 $(SET_LIB_PATH) \
13508 $(HOST_EXPORTS) \
13509 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
13511 @endif libcpp
13513 .PHONY: install-libcpp maybe-install-libcpp
13514 maybe-install-libcpp:
13515 @if libcpp
13516 maybe-install-libcpp: install-libcpp
13518 install-libcpp: installdirs
13519 @r=`${PWD_COMMAND}`; export r; \
13520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13521 $(SET_LIB_PATH) \
13522 $(HOST_EXPORTS) \
13523 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
13525 @endif libcpp
13527 # Other targets (info, dvi, etc.)
13529 .PHONY: maybe-info-libcpp info-libcpp
13530 maybe-info-libcpp:
13531 @if libcpp
13532 maybe-info-libcpp: info-libcpp
13534 info-libcpp: \
13535 configure-libcpp
13536 @[ -f ./libcpp/Makefile ] || exit 0; \
13537 r=`${PWD_COMMAND}`; export r; \
13538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13539 $(SET_LIB_PATH) \
13540 $(HOST_EXPORTS) \
13541 for flag in $(EXTRA_HOST_FLAGS) ; do \
13542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13543 done; \
13544 echo "Doing info in libcpp" ; \
13545 (cd libcpp && \
13546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13548 "RANLIB=$${RANLIB}" \
13549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13550 info) \
13551 || exit 1
13553 @endif libcpp
13555 .PHONY: maybe-dvi-libcpp dvi-libcpp
13556 maybe-dvi-libcpp:
13557 @if libcpp
13558 maybe-dvi-libcpp: dvi-libcpp
13560 dvi-libcpp: \
13561 configure-libcpp
13562 @[ -f ./libcpp/Makefile ] || exit 0; \
13563 r=`${PWD_COMMAND}`; export r; \
13564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13565 $(SET_LIB_PATH) \
13566 $(HOST_EXPORTS) \
13567 for flag in $(EXTRA_HOST_FLAGS) ; do \
13568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13569 done; \
13570 echo "Doing dvi in libcpp" ; \
13571 (cd libcpp && \
13572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13574 "RANLIB=$${RANLIB}" \
13575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13576 dvi) \
13577 || exit 1
13579 @endif libcpp
13581 .PHONY: maybe-html-libcpp html-libcpp
13582 maybe-html-libcpp:
13583 @if libcpp
13584 maybe-html-libcpp: html-libcpp
13586 html-libcpp: \
13587 configure-libcpp
13588 @[ -f ./libcpp/Makefile ] || exit 0; \
13589 r=`${PWD_COMMAND}`; export r; \
13590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13591 $(SET_LIB_PATH) \
13592 $(HOST_EXPORTS) \
13593 for flag in $(EXTRA_HOST_FLAGS) ; do \
13594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13595 done; \
13596 echo "Doing html in libcpp" ; \
13597 (cd libcpp && \
13598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13600 "RANLIB=$${RANLIB}" \
13601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13602 html) \
13603 || exit 1
13605 @endif libcpp
13607 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
13608 maybe-TAGS-libcpp:
13609 @if libcpp
13610 maybe-TAGS-libcpp: TAGS-libcpp
13612 TAGS-libcpp: \
13613 configure-libcpp
13614 @[ -f ./libcpp/Makefile ] || exit 0; \
13615 r=`${PWD_COMMAND}`; export r; \
13616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13617 $(SET_LIB_PATH) \
13618 $(HOST_EXPORTS) \
13619 for flag in $(EXTRA_HOST_FLAGS) ; do \
13620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13621 done; \
13622 echo "Doing TAGS in libcpp" ; \
13623 (cd libcpp && \
13624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13626 "RANLIB=$${RANLIB}" \
13627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13628 TAGS) \
13629 || exit 1
13631 @endif libcpp
13633 .PHONY: maybe-install-info-libcpp install-info-libcpp
13634 maybe-install-info-libcpp:
13635 @if libcpp
13636 maybe-install-info-libcpp: install-info-libcpp
13638 install-info-libcpp: \
13639 configure-libcpp \
13640 info-libcpp
13641 @[ -f ./libcpp/Makefile ] || exit 0; \
13642 r=`${PWD_COMMAND}`; export r; \
13643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13644 $(SET_LIB_PATH) \
13645 $(HOST_EXPORTS) \
13646 for flag in $(EXTRA_HOST_FLAGS) ; do \
13647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13648 done; \
13649 echo "Doing install-info in libcpp" ; \
13650 (cd libcpp && \
13651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13653 "RANLIB=$${RANLIB}" \
13654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13655 install-info) \
13656 || exit 1
13658 @endif libcpp
13660 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
13661 maybe-installcheck-libcpp:
13662 @if libcpp
13663 maybe-installcheck-libcpp: installcheck-libcpp
13665 installcheck-libcpp: \
13666 configure-libcpp
13667 @[ -f ./libcpp/Makefile ] || exit 0; \
13668 r=`${PWD_COMMAND}`; export r; \
13669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13670 $(SET_LIB_PATH) \
13671 $(HOST_EXPORTS) \
13672 for flag in $(EXTRA_HOST_FLAGS) ; do \
13673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13674 done; \
13675 echo "Doing installcheck in libcpp" ; \
13676 (cd libcpp && \
13677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13679 "RANLIB=$${RANLIB}" \
13680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13681 installcheck) \
13682 || exit 1
13684 @endif libcpp
13686 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
13687 maybe-mostlyclean-libcpp:
13688 @if libcpp
13689 maybe-mostlyclean-libcpp: mostlyclean-libcpp
13691 mostlyclean-libcpp:
13692 @[ -f ./libcpp/Makefile ] || exit 0; \
13693 r=`${PWD_COMMAND}`; export r; \
13694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13695 $(SET_LIB_PATH) \
13696 $(HOST_EXPORTS) \
13697 for flag in $(EXTRA_HOST_FLAGS) ; do \
13698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13699 done; \
13700 echo "Doing mostlyclean in libcpp" ; \
13701 (cd libcpp && \
13702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13704 "RANLIB=$${RANLIB}" \
13705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13706 mostlyclean) \
13707 || exit 1
13709 @endif libcpp
13711 .PHONY: maybe-clean-libcpp clean-libcpp
13712 maybe-clean-libcpp:
13713 @if libcpp
13714 maybe-clean-libcpp: clean-libcpp
13716 clean-libcpp:
13717 @[ -f ./libcpp/Makefile ] || exit 0; \
13718 r=`${PWD_COMMAND}`; export r; \
13719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13720 $(SET_LIB_PATH) \
13721 $(HOST_EXPORTS) \
13722 for flag in $(EXTRA_HOST_FLAGS) ; do \
13723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13724 done; \
13725 echo "Doing clean in libcpp" ; \
13726 (cd libcpp && \
13727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13729 "RANLIB=$${RANLIB}" \
13730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13731 clean) \
13732 || exit 1
13734 @endif libcpp
13736 .PHONY: maybe-distclean-libcpp distclean-libcpp
13737 maybe-distclean-libcpp:
13738 @if libcpp
13739 maybe-distclean-libcpp: distclean-libcpp
13741 distclean-libcpp:
13742 @[ -f ./libcpp/Makefile ] || exit 0; \
13743 r=`${PWD_COMMAND}`; export r; \
13744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13745 $(SET_LIB_PATH) \
13746 $(HOST_EXPORTS) \
13747 for flag in $(EXTRA_HOST_FLAGS) ; do \
13748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13749 done; \
13750 echo "Doing distclean in libcpp" ; \
13751 (cd libcpp && \
13752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13754 "RANLIB=$${RANLIB}" \
13755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13756 distclean) \
13757 || exit 1
13759 @endif libcpp
13761 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
13762 maybe-maintainer-clean-libcpp:
13763 @if libcpp
13764 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
13766 maintainer-clean-libcpp:
13767 @[ -f ./libcpp/Makefile ] || exit 0; \
13768 r=`${PWD_COMMAND}`; export r; \
13769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13770 $(SET_LIB_PATH) \
13771 $(HOST_EXPORTS) \
13772 for flag in $(EXTRA_HOST_FLAGS) ; do \
13773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13774 done; \
13775 echo "Doing maintainer-clean in libcpp" ; \
13776 (cd libcpp && \
13777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13779 "RANLIB=$${RANLIB}" \
13780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13781 maintainer-clean) \
13782 || exit 1
13784 @endif libcpp
13787 .PHONY: configure-libgui maybe-configure-libgui
13788 maybe-configure-libgui:
13789 @if libgui
13790 maybe-configure-libgui: configure-libgui
13791 configure-libgui:
13792 @test ! -f libgui/Makefile || exit 0; \
13793 [ -d libgui ] || mkdir libgui; \
13794 r=`${PWD_COMMAND}`; export r; \
13795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13796 $(HOST_EXPORTS) \
13797 echo Configuring in libgui; \
13798 cd libgui || exit 1; \
13799 case $(srcdir) in \
13800 \.) \
13801 srcdiroption="--srcdir=."; \
13802 libsrcdir=".";; \
13803 /* | [A-Za-z]:[\\/]*) \
13804 srcdiroption="--srcdir=$(srcdir)/libgui"; \
13805 libsrcdir="$$s/libgui";; \
13806 *) \
13807 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
13808 libsrcdir="$$s/libgui";; \
13809 esac; \
13810 $(SHELL) $${libsrcdir}/configure \
13811 $(HOST_CONFIGARGS) $${srcdiroption} \
13812 || exit 1
13813 @endif libgui
13815 .PHONY: all-libgui maybe-all-libgui
13816 maybe-all-libgui:
13817 @if libgui
13818 TARGET-libgui=all
13819 maybe-all-libgui: all-libgui
13820 all-libgui: configure-libgui
13821 @r=`${PWD_COMMAND}`; export r; \
13822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13823 $(SET_LIB_PATH) \
13824 $(HOST_EXPORTS) \
13825 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) \
13826 $(TARGET-libgui))
13827 @endif libgui
13829 .PHONY: check-libgui maybe-check-libgui
13830 maybe-check-libgui:
13831 @if libgui
13832 maybe-check-libgui: check-libgui
13834 check-libgui:
13835 @r=`${PWD_COMMAND}`; export r; \
13836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13837 $(SET_LIB_PATH) \
13838 $(HOST_EXPORTS) \
13839 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
13841 @endif libgui
13843 .PHONY: install-libgui maybe-install-libgui
13844 maybe-install-libgui:
13845 @if libgui
13846 maybe-install-libgui: install-libgui
13848 install-libgui: installdirs
13849 @r=`${PWD_COMMAND}`; export r; \
13850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13851 $(SET_LIB_PATH) \
13852 $(HOST_EXPORTS) \
13853 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
13855 @endif libgui
13857 # Other targets (info, dvi, etc.)
13859 .PHONY: maybe-info-libgui info-libgui
13860 maybe-info-libgui:
13861 @if libgui
13862 maybe-info-libgui: info-libgui
13864 info-libgui: \
13865 configure-libgui
13866 @[ -f ./libgui/Makefile ] || exit 0; \
13867 r=`${PWD_COMMAND}`; export r; \
13868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13869 $(SET_LIB_PATH) \
13870 $(HOST_EXPORTS) \
13871 for flag in $(EXTRA_HOST_FLAGS) ; do \
13872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13873 done; \
13874 echo "Doing info in libgui" ; \
13875 (cd libgui && \
13876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13878 "RANLIB=$${RANLIB}" \
13879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13880 info) \
13881 || exit 1
13883 @endif libgui
13885 .PHONY: maybe-dvi-libgui dvi-libgui
13886 maybe-dvi-libgui:
13887 @if libgui
13888 maybe-dvi-libgui: dvi-libgui
13890 dvi-libgui: \
13891 configure-libgui
13892 @[ -f ./libgui/Makefile ] || exit 0; \
13893 r=`${PWD_COMMAND}`; export r; \
13894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13895 $(SET_LIB_PATH) \
13896 $(HOST_EXPORTS) \
13897 for flag in $(EXTRA_HOST_FLAGS) ; do \
13898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13899 done; \
13900 echo "Doing dvi in libgui" ; \
13901 (cd libgui && \
13902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13904 "RANLIB=$${RANLIB}" \
13905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13906 dvi) \
13907 || exit 1
13909 @endif libgui
13911 .PHONY: maybe-html-libgui html-libgui
13912 maybe-html-libgui:
13913 @if libgui
13914 maybe-html-libgui: html-libgui
13916 html-libgui: \
13917 configure-libgui
13918 @[ -f ./libgui/Makefile ] || exit 0; \
13919 r=`${PWD_COMMAND}`; export r; \
13920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13921 $(SET_LIB_PATH) \
13922 $(HOST_EXPORTS) \
13923 for flag in $(EXTRA_HOST_FLAGS) ; do \
13924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13925 done; \
13926 echo "Doing html in libgui" ; \
13927 (cd libgui && \
13928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13930 "RANLIB=$${RANLIB}" \
13931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13932 html) \
13933 || exit 1
13935 @endif libgui
13937 .PHONY: maybe-TAGS-libgui TAGS-libgui
13938 maybe-TAGS-libgui:
13939 @if libgui
13940 maybe-TAGS-libgui: TAGS-libgui
13942 TAGS-libgui: \
13943 configure-libgui
13944 @[ -f ./libgui/Makefile ] || exit 0; \
13945 r=`${PWD_COMMAND}`; export r; \
13946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13947 $(SET_LIB_PATH) \
13948 $(HOST_EXPORTS) \
13949 for flag in $(EXTRA_HOST_FLAGS) ; do \
13950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13951 done; \
13952 echo "Doing TAGS in libgui" ; \
13953 (cd libgui && \
13954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13956 "RANLIB=$${RANLIB}" \
13957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13958 TAGS) \
13959 || exit 1
13961 @endif libgui
13963 .PHONY: maybe-install-info-libgui install-info-libgui
13964 maybe-install-info-libgui:
13965 @if libgui
13966 maybe-install-info-libgui: install-info-libgui
13968 install-info-libgui: \
13969 configure-libgui \
13970 info-libgui
13971 @[ -f ./libgui/Makefile ] || exit 0; \
13972 r=`${PWD_COMMAND}`; export r; \
13973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13974 $(SET_LIB_PATH) \
13975 $(HOST_EXPORTS) \
13976 for flag in $(EXTRA_HOST_FLAGS) ; do \
13977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13978 done; \
13979 echo "Doing install-info in libgui" ; \
13980 (cd libgui && \
13981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13983 "RANLIB=$${RANLIB}" \
13984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13985 install-info) \
13986 || exit 1
13988 @endif libgui
13990 .PHONY: maybe-installcheck-libgui installcheck-libgui
13991 maybe-installcheck-libgui:
13992 @if libgui
13993 maybe-installcheck-libgui: installcheck-libgui
13995 installcheck-libgui: \
13996 configure-libgui
13997 @[ -f ./libgui/Makefile ] || exit 0; \
13998 r=`${PWD_COMMAND}`; export r; \
13999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14000 $(SET_LIB_PATH) \
14001 $(HOST_EXPORTS) \
14002 for flag in $(EXTRA_HOST_FLAGS) ; do \
14003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14004 done; \
14005 echo "Doing installcheck in libgui" ; \
14006 (cd libgui && \
14007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14009 "RANLIB=$${RANLIB}" \
14010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14011 installcheck) \
14012 || exit 1
14014 @endif libgui
14016 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
14017 maybe-mostlyclean-libgui:
14018 @if libgui
14019 maybe-mostlyclean-libgui: mostlyclean-libgui
14021 mostlyclean-libgui:
14022 @[ -f ./libgui/Makefile ] || exit 0; \
14023 r=`${PWD_COMMAND}`; export r; \
14024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14025 $(SET_LIB_PATH) \
14026 $(HOST_EXPORTS) \
14027 for flag in $(EXTRA_HOST_FLAGS) ; do \
14028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14029 done; \
14030 echo "Doing mostlyclean in libgui" ; \
14031 (cd libgui && \
14032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14034 "RANLIB=$${RANLIB}" \
14035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14036 mostlyclean) \
14037 || exit 1
14039 @endif libgui
14041 .PHONY: maybe-clean-libgui clean-libgui
14042 maybe-clean-libgui:
14043 @if libgui
14044 maybe-clean-libgui: clean-libgui
14046 clean-libgui:
14047 @[ -f ./libgui/Makefile ] || exit 0; \
14048 r=`${PWD_COMMAND}`; export r; \
14049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14050 $(SET_LIB_PATH) \
14051 $(HOST_EXPORTS) \
14052 for flag in $(EXTRA_HOST_FLAGS) ; do \
14053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14054 done; \
14055 echo "Doing clean in libgui" ; \
14056 (cd libgui && \
14057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14059 "RANLIB=$${RANLIB}" \
14060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14061 clean) \
14062 || exit 1
14064 @endif libgui
14066 .PHONY: maybe-distclean-libgui distclean-libgui
14067 maybe-distclean-libgui:
14068 @if libgui
14069 maybe-distclean-libgui: distclean-libgui
14071 distclean-libgui:
14072 @[ -f ./libgui/Makefile ] || exit 0; \
14073 r=`${PWD_COMMAND}`; export r; \
14074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14075 $(SET_LIB_PATH) \
14076 $(HOST_EXPORTS) \
14077 for flag in $(EXTRA_HOST_FLAGS) ; do \
14078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14079 done; \
14080 echo "Doing distclean in libgui" ; \
14081 (cd libgui && \
14082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14084 "RANLIB=$${RANLIB}" \
14085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14086 distclean) \
14087 || exit 1
14089 @endif libgui
14091 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
14092 maybe-maintainer-clean-libgui:
14093 @if libgui
14094 maybe-maintainer-clean-libgui: maintainer-clean-libgui
14096 maintainer-clean-libgui:
14097 @[ -f ./libgui/Makefile ] || exit 0; \
14098 r=`${PWD_COMMAND}`; export r; \
14099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14100 $(SET_LIB_PATH) \
14101 $(HOST_EXPORTS) \
14102 for flag in $(EXTRA_HOST_FLAGS) ; do \
14103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14104 done; \
14105 echo "Doing maintainer-clean in libgui" ; \
14106 (cd libgui && \
14107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14109 "RANLIB=$${RANLIB}" \
14110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14111 maintainer-clean) \
14112 || exit 1
14114 @endif libgui
14117 .PHONY: configure-libiberty maybe-configure-libiberty
14118 maybe-configure-libiberty:
14119 @if libiberty
14120 maybe-configure-libiberty: configure-libiberty
14121 configure-libiberty:
14122 @test -f stage_last && exit 0; \
14123 test ! -f libiberty/Makefile || exit 0; \
14124 [ -d libiberty ] || mkdir libiberty; \
14125 r=`${PWD_COMMAND}`; export r; \
14126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14127 $(HOST_EXPORTS) \
14128 echo Configuring in libiberty; \
14129 cd libiberty || exit 1; \
14130 case $(srcdir) in \
14131 \.) \
14132 srcdiroption="--srcdir=."; \
14133 libsrcdir=".";; \
14134 /* | [A-Za-z]:[\\/]*) \
14135 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
14136 libsrcdir="$$s/libiberty";; \
14137 *) \
14138 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
14139 libsrcdir="$$s/libiberty";; \
14140 esac; \
14141 $(SHELL) $${libsrcdir}/configure \
14142 $(HOST_CONFIGARGS) $${srcdiroption} \
14143 || exit 1
14144 @endif libiberty
14146 .PHONY: all-libiberty maybe-all-libiberty
14147 maybe-all-libiberty:
14148 @if libiberty
14149 TARGET-libiberty=all
14150 maybe-all-libiberty: all-libiberty
14151 all-libiberty: configure-libiberty
14152 @test -f stage_last && exit 0; \
14153 r=`${PWD_COMMAND}`; export r; \
14154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14155 $(SET_LIB_PATH) \
14156 $(HOST_EXPORTS) \
14157 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) \
14158 $(TARGET-libiberty))
14159 @endif libiberty
14161 .PHONY: check-libiberty maybe-check-libiberty
14162 maybe-check-libiberty:
14163 @if libiberty
14164 maybe-check-libiberty: check-libiberty
14166 check-libiberty:
14167 @r=`${PWD_COMMAND}`; export r; \
14168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14169 $(SET_LIB_PATH) \
14170 $(HOST_EXPORTS) \
14171 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
14173 @endif libiberty
14175 .PHONY: install-libiberty maybe-install-libiberty
14176 maybe-install-libiberty:
14177 @if libiberty
14178 maybe-install-libiberty: install-libiberty
14180 install-libiberty: installdirs
14181 @r=`${PWD_COMMAND}`; export r; \
14182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14183 $(SET_LIB_PATH) \
14184 $(HOST_EXPORTS) \
14185 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
14187 @endif libiberty
14189 # Other targets (info, dvi, etc.)
14191 .PHONY: maybe-info-libiberty info-libiberty
14192 maybe-info-libiberty:
14193 @if libiberty
14194 maybe-info-libiberty: info-libiberty
14196 info-libiberty: \
14197 configure-libiberty
14198 @[ -f ./libiberty/Makefile ] || exit 0; \
14199 r=`${PWD_COMMAND}`; export r; \
14200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14201 $(SET_LIB_PATH) \
14202 $(HOST_EXPORTS) \
14203 for flag in $(EXTRA_HOST_FLAGS) ; do \
14204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14205 done; \
14206 echo "Doing info in libiberty" ; \
14207 (cd libiberty && \
14208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14210 "RANLIB=$${RANLIB}" \
14211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14212 info) \
14213 || exit 1
14215 @endif libiberty
14217 .PHONY: maybe-dvi-libiberty dvi-libiberty
14218 maybe-dvi-libiberty:
14219 @if libiberty
14220 maybe-dvi-libiberty: dvi-libiberty
14222 dvi-libiberty: \
14223 configure-libiberty
14224 @[ -f ./libiberty/Makefile ] || exit 0; \
14225 r=`${PWD_COMMAND}`; export r; \
14226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14227 $(SET_LIB_PATH) \
14228 $(HOST_EXPORTS) \
14229 for flag in $(EXTRA_HOST_FLAGS) ; do \
14230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14231 done; \
14232 echo "Doing dvi in libiberty" ; \
14233 (cd libiberty && \
14234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14236 "RANLIB=$${RANLIB}" \
14237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14238 dvi) \
14239 || exit 1
14241 @endif libiberty
14243 .PHONY: maybe-html-libiberty html-libiberty
14244 maybe-html-libiberty:
14245 @if libiberty
14246 maybe-html-libiberty: html-libiberty
14248 html-libiberty: \
14249 configure-libiberty
14250 @[ -f ./libiberty/Makefile ] || exit 0; \
14251 r=`${PWD_COMMAND}`; export r; \
14252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14253 $(SET_LIB_PATH) \
14254 $(HOST_EXPORTS) \
14255 for flag in $(EXTRA_HOST_FLAGS) ; do \
14256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14257 done; \
14258 echo "Doing html in libiberty" ; \
14259 (cd libiberty && \
14260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14262 "RANLIB=$${RANLIB}" \
14263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14264 html) \
14265 || exit 1
14267 @endif libiberty
14269 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
14270 maybe-TAGS-libiberty:
14271 @if libiberty
14272 maybe-TAGS-libiberty: TAGS-libiberty
14274 TAGS-libiberty: \
14275 configure-libiberty
14276 @[ -f ./libiberty/Makefile ] || exit 0; \
14277 r=`${PWD_COMMAND}`; export r; \
14278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14279 $(SET_LIB_PATH) \
14280 $(HOST_EXPORTS) \
14281 for flag in $(EXTRA_HOST_FLAGS) ; do \
14282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14283 done; \
14284 echo "Doing TAGS in libiberty" ; \
14285 (cd libiberty && \
14286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14288 "RANLIB=$${RANLIB}" \
14289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14290 TAGS) \
14291 || exit 1
14293 @endif libiberty
14295 .PHONY: maybe-install-info-libiberty install-info-libiberty
14296 maybe-install-info-libiberty:
14297 @if libiberty
14298 maybe-install-info-libiberty: install-info-libiberty
14300 install-info-libiberty: \
14301 configure-libiberty \
14302 info-libiberty
14303 @[ -f ./libiberty/Makefile ] || exit 0; \
14304 r=`${PWD_COMMAND}`; export r; \
14305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14306 $(SET_LIB_PATH) \
14307 $(HOST_EXPORTS) \
14308 for flag in $(EXTRA_HOST_FLAGS) ; do \
14309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14310 done; \
14311 echo "Doing install-info in libiberty" ; \
14312 (cd libiberty && \
14313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14315 "RANLIB=$${RANLIB}" \
14316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14317 install-info) \
14318 || exit 1
14320 @endif libiberty
14322 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
14323 maybe-installcheck-libiberty:
14324 @if libiberty
14325 maybe-installcheck-libiberty: installcheck-libiberty
14327 installcheck-libiberty: \
14328 configure-libiberty
14329 @[ -f ./libiberty/Makefile ] || exit 0; \
14330 r=`${PWD_COMMAND}`; export r; \
14331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14332 $(SET_LIB_PATH) \
14333 $(HOST_EXPORTS) \
14334 for flag in $(EXTRA_HOST_FLAGS) ; do \
14335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14336 done; \
14337 echo "Doing installcheck in libiberty" ; \
14338 (cd libiberty && \
14339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14341 "RANLIB=$${RANLIB}" \
14342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14343 installcheck) \
14344 || exit 1
14346 @endif libiberty
14348 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
14349 maybe-mostlyclean-libiberty:
14350 @if libiberty
14351 maybe-mostlyclean-libiberty: mostlyclean-libiberty
14353 mostlyclean-libiberty:
14354 @[ -f ./libiberty/Makefile ] || exit 0; \
14355 r=`${PWD_COMMAND}`; export r; \
14356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14357 $(SET_LIB_PATH) \
14358 $(HOST_EXPORTS) \
14359 for flag in $(EXTRA_HOST_FLAGS) ; do \
14360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14361 done; \
14362 echo "Doing mostlyclean in libiberty" ; \
14363 (cd libiberty && \
14364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14366 "RANLIB=$${RANLIB}" \
14367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14368 mostlyclean) \
14369 || exit 1
14371 @endif libiberty
14373 .PHONY: maybe-clean-libiberty clean-libiberty
14374 maybe-clean-libiberty:
14375 @if libiberty
14376 maybe-clean-libiberty: clean-libiberty
14378 clean-libiberty:
14379 @[ -f ./libiberty/Makefile ] || exit 0; \
14380 r=`${PWD_COMMAND}`; export r; \
14381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14382 $(SET_LIB_PATH) \
14383 $(HOST_EXPORTS) \
14384 for flag in $(EXTRA_HOST_FLAGS) ; do \
14385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14386 done; \
14387 echo "Doing clean in libiberty" ; \
14388 (cd libiberty && \
14389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14391 "RANLIB=$${RANLIB}" \
14392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14393 clean) \
14394 || exit 1
14396 @endif libiberty
14398 .PHONY: maybe-distclean-libiberty distclean-libiberty
14399 maybe-distclean-libiberty:
14400 @if libiberty
14401 maybe-distclean-libiberty: distclean-libiberty
14403 distclean-libiberty:
14404 @[ -f ./libiberty/Makefile ] || exit 0; \
14405 r=`${PWD_COMMAND}`; export r; \
14406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14407 $(SET_LIB_PATH) \
14408 $(HOST_EXPORTS) \
14409 for flag in $(EXTRA_HOST_FLAGS) ; do \
14410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14411 done; \
14412 echo "Doing distclean in libiberty" ; \
14413 (cd libiberty && \
14414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14416 "RANLIB=$${RANLIB}" \
14417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14418 distclean) \
14419 || exit 1
14421 @endif libiberty
14423 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
14424 maybe-maintainer-clean-libiberty:
14425 @if libiberty
14426 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
14428 maintainer-clean-libiberty:
14429 @[ -f ./libiberty/Makefile ] || exit 0; \
14430 r=`${PWD_COMMAND}`; export r; \
14431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14432 $(SET_LIB_PATH) \
14433 $(HOST_EXPORTS) \
14434 for flag in $(EXTRA_HOST_FLAGS) ; do \
14435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14436 done; \
14437 echo "Doing maintainer-clean in libiberty" ; \
14438 (cd libiberty && \
14439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14441 "RANLIB=$${RANLIB}" \
14442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14443 maintainer-clean) \
14444 || exit 1
14446 @endif libiberty
14449 .PHONY: configure-libtool maybe-configure-libtool
14450 maybe-configure-libtool:
14451 @if libtool
14452 maybe-configure-libtool: configure-libtool
14453 configure-libtool:
14454 @test ! -f libtool/Makefile || exit 0; \
14455 [ -d libtool ] || mkdir libtool; \
14456 r=`${PWD_COMMAND}`; export r; \
14457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14458 $(HOST_EXPORTS) \
14459 echo Configuring in libtool; \
14460 cd libtool || exit 1; \
14461 case $(srcdir) in \
14462 \.) \
14463 srcdiroption="--srcdir=."; \
14464 libsrcdir=".";; \
14465 /* | [A-Za-z]:[\\/]*) \
14466 srcdiroption="--srcdir=$(srcdir)/libtool"; \
14467 libsrcdir="$$s/libtool";; \
14468 *) \
14469 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
14470 libsrcdir="$$s/libtool";; \
14471 esac; \
14472 $(SHELL) $${libsrcdir}/configure \
14473 $(HOST_CONFIGARGS) $${srcdiroption} \
14474 || exit 1
14475 @endif libtool
14477 .PHONY: all-libtool maybe-all-libtool
14478 maybe-all-libtool:
14479 @if libtool
14480 TARGET-libtool=all
14481 maybe-all-libtool: all-libtool
14482 all-libtool: configure-libtool
14483 @r=`${PWD_COMMAND}`; export r; \
14484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14485 $(SET_LIB_PATH) \
14486 $(HOST_EXPORTS) \
14487 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) \
14488 $(TARGET-libtool))
14489 @endif libtool
14491 .PHONY: check-libtool maybe-check-libtool
14492 maybe-check-libtool:
14493 @if libtool
14494 maybe-check-libtool: check-libtool
14496 check-libtool:
14497 @r=`${PWD_COMMAND}`; export r; \
14498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14499 $(SET_LIB_PATH) \
14500 $(HOST_EXPORTS) \
14501 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
14503 @endif libtool
14505 .PHONY: install-libtool maybe-install-libtool
14506 maybe-install-libtool:
14507 @if libtool
14508 maybe-install-libtool: install-libtool
14510 install-libtool: installdirs
14511 @r=`${PWD_COMMAND}`; export r; \
14512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14513 $(SET_LIB_PATH) \
14514 $(HOST_EXPORTS) \
14515 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
14517 @endif libtool
14519 # Other targets (info, dvi, etc.)
14521 .PHONY: maybe-info-libtool info-libtool
14522 maybe-info-libtool:
14523 @if libtool
14524 maybe-info-libtool: info-libtool
14526 info-libtool: \
14527 configure-libtool
14528 @[ -f ./libtool/Makefile ] || exit 0; \
14529 r=`${PWD_COMMAND}`; export r; \
14530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14531 $(SET_LIB_PATH) \
14532 $(HOST_EXPORTS) \
14533 for flag in $(EXTRA_HOST_FLAGS) ; do \
14534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14535 done; \
14536 echo "Doing info in libtool" ; \
14537 (cd libtool && \
14538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14540 "RANLIB=$${RANLIB}" \
14541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14542 info) \
14543 || exit 1
14545 @endif libtool
14547 .PHONY: maybe-dvi-libtool dvi-libtool
14548 maybe-dvi-libtool:
14549 @if libtool
14550 maybe-dvi-libtool: dvi-libtool
14552 dvi-libtool: \
14553 configure-libtool
14554 @[ -f ./libtool/Makefile ] || exit 0; \
14555 r=`${PWD_COMMAND}`; export r; \
14556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14557 $(SET_LIB_PATH) \
14558 $(HOST_EXPORTS) \
14559 for flag in $(EXTRA_HOST_FLAGS) ; do \
14560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14561 done; \
14562 echo "Doing dvi in libtool" ; \
14563 (cd libtool && \
14564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14566 "RANLIB=$${RANLIB}" \
14567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14568 dvi) \
14569 || exit 1
14571 @endif libtool
14573 .PHONY: maybe-html-libtool html-libtool
14574 maybe-html-libtool:
14575 @if libtool
14576 maybe-html-libtool: html-libtool
14578 html-libtool: \
14579 configure-libtool
14580 @[ -f ./libtool/Makefile ] || exit 0; \
14581 r=`${PWD_COMMAND}`; export r; \
14582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14583 $(SET_LIB_PATH) \
14584 $(HOST_EXPORTS) \
14585 for flag in $(EXTRA_HOST_FLAGS) ; do \
14586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14587 done; \
14588 echo "Doing html in libtool" ; \
14589 (cd libtool && \
14590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14592 "RANLIB=$${RANLIB}" \
14593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14594 html) \
14595 || exit 1
14597 @endif libtool
14599 .PHONY: maybe-TAGS-libtool TAGS-libtool
14600 maybe-TAGS-libtool:
14601 @if libtool
14602 maybe-TAGS-libtool: TAGS-libtool
14604 TAGS-libtool: \
14605 configure-libtool
14606 @[ -f ./libtool/Makefile ] || exit 0; \
14607 r=`${PWD_COMMAND}`; export r; \
14608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14609 $(SET_LIB_PATH) \
14610 $(HOST_EXPORTS) \
14611 for flag in $(EXTRA_HOST_FLAGS) ; do \
14612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14613 done; \
14614 echo "Doing TAGS in libtool" ; \
14615 (cd libtool && \
14616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14618 "RANLIB=$${RANLIB}" \
14619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14620 TAGS) \
14621 || exit 1
14623 @endif libtool
14625 .PHONY: maybe-install-info-libtool install-info-libtool
14626 maybe-install-info-libtool:
14627 @if libtool
14628 maybe-install-info-libtool: install-info-libtool
14630 install-info-libtool: \
14631 configure-libtool \
14632 info-libtool
14633 @[ -f ./libtool/Makefile ] || exit 0; \
14634 r=`${PWD_COMMAND}`; export r; \
14635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14636 $(SET_LIB_PATH) \
14637 $(HOST_EXPORTS) \
14638 for flag in $(EXTRA_HOST_FLAGS) ; do \
14639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14640 done; \
14641 echo "Doing install-info in libtool" ; \
14642 (cd libtool && \
14643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14645 "RANLIB=$${RANLIB}" \
14646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14647 install-info) \
14648 || exit 1
14650 @endif libtool
14652 .PHONY: maybe-installcheck-libtool installcheck-libtool
14653 maybe-installcheck-libtool:
14654 @if libtool
14655 maybe-installcheck-libtool: installcheck-libtool
14657 installcheck-libtool: \
14658 configure-libtool
14659 @[ -f ./libtool/Makefile ] || exit 0; \
14660 r=`${PWD_COMMAND}`; export r; \
14661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14662 $(SET_LIB_PATH) \
14663 $(HOST_EXPORTS) \
14664 for flag in $(EXTRA_HOST_FLAGS) ; do \
14665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14666 done; \
14667 echo "Doing installcheck in libtool" ; \
14668 (cd libtool && \
14669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14671 "RANLIB=$${RANLIB}" \
14672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14673 installcheck) \
14674 || exit 1
14676 @endif libtool
14678 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
14679 maybe-mostlyclean-libtool:
14680 @if libtool
14681 maybe-mostlyclean-libtool: mostlyclean-libtool
14683 mostlyclean-libtool:
14684 @[ -f ./libtool/Makefile ] || exit 0; \
14685 r=`${PWD_COMMAND}`; export r; \
14686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14687 $(SET_LIB_PATH) \
14688 $(HOST_EXPORTS) \
14689 for flag in $(EXTRA_HOST_FLAGS) ; do \
14690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14691 done; \
14692 echo "Doing mostlyclean in libtool" ; \
14693 (cd libtool && \
14694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14696 "RANLIB=$${RANLIB}" \
14697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14698 mostlyclean) \
14699 || exit 1
14701 @endif libtool
14703 .PHONY: maybe-clean-libtool clean-libtool
14704 maybe-clean-libtool:
14705 @if libtool
14706 maybe-clean-libtool: clean-libtool
14708 clean-libtool:
14709 @[ -f ./libtool/Makefile ] || exit 0; \
14710 r=`${PWD_COMMAND}`; export r; \
14711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14712 $(SET_LIB_PATH) \
14713 $(HOST_EXPORTS) \
14714 for flag in $(EXTRA_HOST_FLAGS) ; do \
14715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14716 done; \
14717 echo "Doing clean in libtool" ; \
14718 (cd libtool && \
14719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14721 "RANLIB=$${RANLIB}" \
14722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14723 clean) \
14724 || exit 1
14726 @endif libtool
14728 .PHONY: maybe-distclean-libtool distclean-libtool
14729 maybe-distclean-libtool:
14730 @if libtool
14731 maybe-distclean-libtool: distclean-libtool
14733 distclean-libtool:
14734 @[ -f ./libtool/Makefile ] || exit 0; \
14735 r=`${PWD_COMMAND}`; export r; \
14736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14737 $(SET_LIB_PATH) \
14738 $(HOST_EXPORTS) \
14739 for flag in $(EXTRA_HOST_FLAGS) ; do \
14740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14741 done; \
14742 echo "Doing distclean in libtool" ; \
14743 (cd libtool && \
14744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14746 "RANLIB=$${RANLIB}" \
14747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14748 distclean) \
14749 || exit 1
14751 @endif libtool
14753 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
14754 maybe-maintainer-clean-libtool:
14755 @if libtool
14756 maybe-maintainer-clean-libtool: maintainer-clean-libtool
14758 maintainer-clean-libtool:
14759 @[ -f ./libtool/Makefile ] || exit 0; \
14760 r=`${PWD_COMMAND}`; export r; \
14761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14762 $(SET_LIB_PATH) \
14763 $(HOST_EXPORTS) \
14764 for flag in $(EXTRA_HOST_FLAGS) ; do \
14765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14766 done; \
14767 echo "Doing maintainer-clean in libtool" ; \
14768 (cd libtool && \
14769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14771 "RANLIB=$${RANLIB}" \
14772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14773 maintainer-clean) \
14774 || exit 1
14776 @endif libtool
14779 .PHONY: configure-m4 maybe-configure-m4
14780 maybe-configure-m4:
14781 @if m4
14782 maybe-configure-m4: configure-m4
14783 configure-m4:
14784 @test ! -f m4/Makefile || exit 0; \
14785 [ -d m4 ] || mkdir m4; \
14786 r=`${PWD_COMMAND}`; export r; \
14787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14788 $(HOST_EXPORTS) \
14789 echo Configuring in m4; \
14790 cd m4 || exit 1; \
14791 case $(srcdir) in \
14792 \.) \
14793 srcdiroption="--srcdir=."; \
14794 libsrcdir=".";; \
14795 /* | [A-Za-z]:[\\/]*) \
14796 srcdiroption="--srcdir=$(srcdir)/m4"; \
14797 libsrcdir="$$s/m4";; \
14798 *) \
14799 srcdiroption="--srcdir=../$(srcdir)/m4"; \
14800 libsrcdir="$$s/m4";; \
14801 esac; \
14802 $(SHELL) $${libsrcdir}/configure \
14803 $(HOST_CONFIGARGS) $${srcdiroption} \
14804 || exit 1
14805 @endif m4
14807 .PHONY: all-m4 maybe-all-m4
14808 maybe-all-m4:
14809 @if m4
14810 TARGET-m4=all
14811 maybe-all-m4: all-m4
14812 all-m4: configure-m4
14813 @r=`${PWD_COMMAND}`; export r; \
14814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14815 $(SET_LIB_PATH) \
14816 $(HOST_EXPORTS) \
14817 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) \
14818 $(TARGET-m4))
14819 @endif m4
14821 .PHONY: check-m4 maybe-check-m4
14822 maybe-check-m4:
14823 @if m4
14824 maybe-check-m4: check-m4
14826 check-m4:
14827 @r=`${PWD_COMMAND}`; export r; \
14828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14829 $(SET_LIB_PATH) \
14830 $(HOST_EXPORTS) \
14831 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
14833 @endif m4
14835 .PHONY: install-m4 maybe-install-m4
14836 maybe-install-m4:
14837 @if m4
14838 maybe-install-m4: install-m4
14840 install-m4: installdirs
14841 @r=`${PWD_COMMAND}`; export r; \
14842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14843 $(SET_LIB_PATH) \
14844 $(HOST_EXPORTS) \
14845 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
14847 @endif m4
14849 # Other targets (info, dvi, etc.)
14851 .PHONY: maybe-info-m4 info-m4
14852 maybe-info-m4:
14853 @if m4
14854 maybe-info-m4: info-m4
14856 info-m4: \
14857 configure-m4
14858 @[ -f ./m4/Makefile ] || exit 0; \
14859 r=`${PWD_COMMAND}`; export r; \
14860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14861 $(SET_LIB_PATH) \
14862 $(HOST_EXPORTS) \
14863 for flag in $(EXTRA_HOST_FLAGS) ; do \
14864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14865 done; \
14866 echo "Doing info in m4" ; \
14867 (cd m4 && \
14868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14870 "RANLIB=$${RANLIB}" \
14871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14872 info) \
14873 || exit 1
14875 @endif m4
14877 .PHONY: maybe-dvi-m4 dvi-m4
14878 maybe-dvi-m4:
14879 @if m4
14880 maybe-dvi-m4: dvi-m4
14882 dvi-m4: \
14883 configure-m4
14884 @[ -f ./m4/Makefile ] || exit 0; \
14885 r=`${PWD_COMMAND}`; export r; \
14886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14887 $(SET_LIB_PATH) \
14888 $(HOST_EXPORTS) \
14889 for flag in $(EXTRA_HOST_FLAGS) ; do \
14890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14891 done; \
14892 echo "Doing dvi in m4" ; \
14893 (cd m4 && \
14894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14896 "RANLIB=$${RANLIB}" \
14897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14898 dvi) \
14899 || exit 1
14901 @endif m4
14903 .PHONY: maybe-html-m4 html-m4
14904 maybe-html-m4:
14905 @if m4
14906 maybe-html-m4: html-m4
14908 html-m4: \
14909 configure-m4
14910 @[ -f ./m4/Makefile ] || exit 0; \
14911 r=`${PWD_COMMAND}`; export r; \
14912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14913 $(SET_LIB_PATH) \
14914 $(HOST_EXPORTS) \
14915 for flag in $(EXTRA_HOST_FLAGS) ; do \
14916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14917 done; \
14918 echo "Doing html in m4" ; \
14919 (cd m4 && \
14920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14922 "RANLIB=$${RANLIB}" \
14923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14924 html) \
14925 || exit 1
14927 @endif m4
14929 .PHONY: maybe-TAGS-m4 TAGS-m4
14930 maybe-TAGS-m4:
14931 @if m4
14932 maybe-TAGS-m4: TAGS-m4
14934 TAGS-m4: \
14935 configure-m4
14936 @[ -f ./m4/Makefile ] || exit 0; \
14937 r=`${PWD_COMMAND}`; export r; \
14938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14939 $(SET_LIB_PATH) \
14940 $(HOST_EXPORTS) \
14941 for flag in $(EXTRA_HOST_FLAGS) ; do \
14942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14943 done; \
14944 echo "Doing TAGS in m4" ; \
14945 (cd m4 && \
14946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14948 "RANLIB=$${RANLIB}" \
14949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14950 TAGS) \
14951 || exit 1
14953 @endif m4
14955 .PHONY: maybe-install-info-m4 install-info-m4
14956 maybe-install-info-m4:
14957 @if m4
14958 maybe-install-info-m4: install-info-m4
14960 install-info-m4: \
14961 configure-m4 \
14962 info-m4
14963 @[ -f ./m4/Makefile ] || exit 0; \
14964 r=`${PWD_COMMAND}`; export r; \
14965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14966 $(SET_LIB_PATH) \
14967 $(HOST_EXPORTS) \
14968 for flag in $(EXTRA_HOST_FLAGS) ; do \
14969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14970 done; \
14971 echo "Doing install-info in m4" ; \
14972 (cd m4 && \
14973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14975 "RANLIB=$${RANLIB}" \
14976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14977 install-info) \
14978 || exit 1
14980 @endif m4
14982 .PHONY: maybe-installcheck-m4 installcheck-m4
14983 maybe-installcheck-m4:
14984 @if m4
14985 maybe-installcheck-m4: installcheck-m4
14987 installcheck-m4: \
14988 configure-m4
14989 @[ -f ./m4/Makefile ] || exit 0; \
14990 r=`${PWD_COMMAND}`; export r; \
14991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14992 $(SET_LIB_PATH) \
14993 $(HOST_EXPORTS) \
14994 for flag in $(EXTRA_HOST_FLAGS) ; do \
14995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14996 done; \
14997 echo "Doing installcheck in m4" ; \
14998 (cd m4 && \
14999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15001 "RANLIB=$${RANLIB}" \
15002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15003 installcheck) \
15004 || exit 1
15006 @endif m4
15008 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
15009 maybe-mostlyclean-m4:
15010 @if m4
15011 maybe-mostlyclean-m4: mostlyclean-m4
15013 mostlyclean-m4:
15014 @[ -f ./m4/Makefile ] || exit 0; \
15015 r=`${PWD_COMMAND}`; export r; \
15016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15017 $(SET_LIB_PATH) \
15018 $(HOST_EXPORTS) \
15019 for flag in $(EXTRA_HOST_FLAGS) ; do \
15020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15021 done; \
15022 echo "Doing mostlyclean in m4" ; \
15023 (cd m4 && \
15024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15026 "RANLIB=$${RANLIB}" \
15027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15028 mostlyclean) \
15029 || exit 1
15031 @endif m4
15033 .PHONY: maybe-clean-m4 clean-m4
15034 maybe-clean-m4:
15035 @if m4
15036 maybe-clean-m4: clean-m4
15038 clean-m4:
15039 @[ -f ./m4/Makefile ] || exit 0; \
15040 r=`${PWD_COMMAND}`; export r; \
15041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15042 $(SET_LIB_PATH) \
15043 $(HOST_EXPORTS) \
15044 for flag in $(EXTRA_HOST_FLAGS) ; do \
15045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15046 done; \
15047 echo "Doing clean in m4" ; \
15048 (cd m4 && \
15049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15051 "RANLIB=$${RANLIB}" \
15052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15053 clean) \
15054 || exit 1
15056 @endif m4
15058 .PHONY: maybe-distclean-m4 distclean-m4
15059 maybe-distclean-m4:
15060 @if m4
15061 maybe-distclean-m4: distclean-m4
15063 distclean-m4:
15064 @[ -f ./m4/Makefile ] || exit 0; \
15065 r=`${PWD_COMMAND}`; export r; \
15066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15067 $(SET_LIB_PATH) \
15068 $(HOST_EXPORTS) \
15069 for flag in $(EXTRA_HOST_FLAGS) ; do \
15070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15071 done; \
15072 echo "Doing distclean in m4" ; \
15073 (cd m4 && \
15074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15076 "RANLIB=$${RANLIB}" \
15077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15078 distclean) \
15079 || exit 1
15081 @endif m4
15083 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
15084 maybe-maintainer-clean-m4:
15085 @if m4
15086 maybe-maintainer-clean-m4: maintainer-clean-m4
15088 maintainer-clean-m4:
15089 @[ -f ./m4/Makefile ] || exit 0; \
15090 r=`${PWD_COMMAND}`; export r; \
15091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15092 $(SET_LIB_PATH) \
15093 $(HOST_EXPORTS) \
15094 for flag in $(EXTRA_HOST_FLAGS) ; do \
15095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15096 done; \
15097 echo "Doing maintainer-clean in m4" ; \
15098 (cd m4 && \
15099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15101 "RANLIB=$${RANLIB}" \
15102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15103 maintainer-clean) \
15104 || exit 1
15106 @endif m4
15109 .PHONY: configure-make maybe-configure-make
15110 maybe-configure-make:
15111 @if make
15112 maybe-configure-make: configure-make
15113 configure-make:
15114 @test ! -f make/Makefile || exit 0; \
15115 [ -d make ] || mkdir make; \
15116 r=`${PWD_COMMAND}`; export r; \
15117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15118 $(HOST_EXPORTS) \
15119 echo Configuring in make; \
15120 cd make || exit 1; \
15121 case $(srcdir) in \
15122 \.) \
15123 srcdiroption="--srcdir=."; \
15124 libsrcdir=".";; \
15125 /* | [A-Za-z]:[\\/]*) \
15126 srcdiroption="--srcdir=$(srcdir)/make"; \
15127 libsrcdir="$$s/make";; \
15128 *) \
15129 srcdiroption="--srcdir=../$(srcdir)/make"; \
15130 libsrcdir="$$s/make";; \
15131 esac; \
15132 $(SHELL) $${libsrcdir}/configure \
15133 $(HOST_CONFIGARGS) $${srcdiroption} \
15134 || exit 1
15135 @endif make
15137 .PHONY: all-make maybe-all-make
15138 maybe-all-make:
15139 @if make
15140 TARGET-make=all
15141 maybe-all-make: all-make
15142 all-make: configure-make
15143 @r=`${PWD_COMMAND}`; export r; \
15144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15145 $(SET_LIB_PATH) \
15146 $(HOST_EXPORTS) \
15147 (cd make && $(MAKE) $(FLAGS_TO_PASS) \
15148 $(TARGET-make))
15149 @endif make
15151 .PHONY: check-make maybe-check-make
15152 maybe-check-make:
15153 @if make
15154 maybe-check-make: check-make
15156 check-make:
15157 @r=`${PWD_COMMAND}`; export r; \
15158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15159 $(SET_LIB_PATH) \
15160 $(HOST_EXPORTS) \
15161 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
15163 @endif make
15165 .PHONY: install-make maybe-install-make
15166 maybe-install-make:
15167 @if make
15168 maybe-install-make: install-make
15170 install-make: installdirs
15171 @r=`${PWD_COMMAND}`; export r; \
15172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15173 $(SET_LIB_PATH) \
15174 $(HOST_EXPORTS) \
15175 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
15177 @endif make
15179 # Other targets (info, dvi, etc.)
15181 .PHONY: maybe-info-make info-make
15182 maybe-info-make:
15183 @if make
15184 maybe-info-make: info-make
15186 info-make: \
15187 configure-make
15188 @[ -f ./make/Makefile ] || exit 0; \
15189 r=`${PWD_COMMAND}`; export r; \
15190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15191 $(SET_LIB_PATH) \
15192 $(HOST_EXPORTS) \
15193 for flag in $(EXTRA_HOST_FLAGS) ; do \
15194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15195 done; \
15196 echo "Doing info in make" ; \
15197 (cd make && \
15198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15200 "RANLIB=$${RANLIB}" \
15201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15202 info) \
15203 || exit 1
15205 @endif make
15207 .PHONY: maybe-dvi-make dvi-make
15208 maybe-dvi-make:
15209 @if make
15210 maybe-dvi-make: dvi-make
15212 dvi-make: \
15213 configure-make
15214 @[ -f ./make/Makefile ] || exit 0; \
15215 r=`${PWD_COMMAND}`; export r; \
15216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15217 $(SET_LIB_PATH) \
15218 $(HOST_EXPORTS) \
15219 for flag in $(EXTRA_HOST_FLAGS) ; do \
15220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15221 done; \
15222 echo "Doing dvi in make" ; \
15223 (cd make && \
15224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15226 "RANLIB=$${RANLIB}" \
15227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15228 dvi) \
15229 || exit 1
15231 @endif make
15233 .PHONY: maybe-html-make html-make
15234 maybe-html-make:
15235 @if make
15236 maybe-html-make: html-make
15238 html-make: \
15239 configure-make
15240 @[ -f ./make/Makefile ] || exit 0; \
15241 r=`${PWD_COMMAND}`; export r; \
15242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15243 $(SET_LIB_PATH) \
15244 $(HOST_EXPORTS) \
15245 for flag in $(EXTRA_HOST_FLAGS) ; do \
15246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15247 done; \
15248 echo "Doing html in make" ; \
15249 (cd make && \
15250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15252 "RANLIB=$${RANLIB}" \
15253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15254 html) \
15255 || exit 1
15257 @endif make
15259 .PHONY: maybe-TAGS-make TAGS-make
15260 maybe-TAGS-make:
15261 @if make
15262 maybe-TAGS-make: TAGS-make
15264 TAGS-make: \
15265 configure-make
15266 @[ -f ./make/Makefile ] || exit 0; \
15267 r=`${PWD_COMMAND}`; export r; \
15268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15269 $(SET_LIB_PATH) \
15270 $(HOST_EXPORTS) \
15271 for flag in $(EXTRA_HOST_FLAGS) ; do \
15272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15273 done; \
15274 echo "Doing TAGS in make" ; \
15275 (cd make && \
15276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15278 "RANLIB=$${RANLIB}" \
15279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15280 TAGS) \
15281 || exit 1
15283 @endif make
15285 .PHONY: maybe-install-info-make install-info-make
15286 maybe-install-info-make:
15287 @if make
15288 maybe-install-info-make: install-info-make
15290 install-info-make: \
15291 configure-make \
15292 info-make
15293 @[ -f ./make/Makefile ] || exit 0; \
15294 r=`${PWD_COMMAND}`; export r; \
15295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15296 $(SET_LIB_PATH) \
15297 $(HOST_EXPORTS) \
15298 for flag in $(EXTRA_HOST_FLAGS) ; do \
15299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15300 done; \
15301 echo "Doing install-info in make" ; \
15302 (cd make && \
15303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15305 "RANLIB=$${RANLIB}" \
15306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15307 install-info) \
15308 || exit 1
15310 @endif make
15312 .PHONY: maybe-installcheck-make installcheck-make
15313 maybe-installcheck-make:
15314 @if make
15315 maybe-installcheck-make: installcheck-make
15317 installcheck-make: \
15318 configure-make
15319 @[ -f ./make/Makefile ] || exit 0; \
15320 r=`${PWD_COMMAND}`; export r; \
15321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15322 $(SET_LIB_PATH) \
15323 $(HOST_EXPORTS) \
15324 for flag in $(EXTRA_HOST_FLAGS) ; do \
15325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15326 done; \
15327 echo "Doing installcheck in make" ; \
15328 (cd make && \
15329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15331 "RANLIB=$${RANLIB}" \
15332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15333 installcheck) \
15334 || exit 1
15336 @endif make
15338 .PHONY: maybe-mostlyclean-make mostlyclean-make
15339 maybe-mostlyclean-make:
15340 @if make
15341 maybe-mostlyclean-make: mostlyclean-make
15343 mostlyclean-make:
15344 @[ -f ./make/Makefile ] || exit 0; \
15345 r=`${PWD_COMMAND}`; export r; \
15346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15347 $(SET_LIB_PATH) \
15348 $(HOST_EXPORTS) \
15349 for flag in $(EXTRA_HOST_FLAGS) ; do \
15350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15351 done; \
15352 echo "Doing mostlyclean in make" ; \
15353 (cd make && \
15354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15356 "RANLIB=$${RANLIB}" \
15357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15358 mostlyclean) \
15359 || exit 1
15361 @endif make
15363 .PHONY: maybe-clean-make clean-make
15364 maybe-clean-make:
15365 @if make
15366 maybe-clean-make: clean-make
15368 clean-make:
15369 @[ -f ./make/Makefile ] || exit 0; \
15370 r=`${PWD_COMMAND}`; export r; \
15371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15372 $(SET_LIB_PATH) \
15373 $(HOST_EXPORTS) \
15374 for flag in $(EXTRA_HOST_FLAGS) ; do \
15375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15376 done; \
15377 echo "Doing clean in make" ; \
15378 (cd make && \
15379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15381 "RANLIB=$${RANLIB}" \
15382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15383 clean) \
15384 || exit 1
15386 @endif make
15388 .PHONY: maybe-distclean-make distclean-make
15389 maybe-distclean-make:
15390 @if make
15391 maybe-distclean-make: distclean-make
15393 distclean-make:
15394 @[ -f ./make/Makefile ] || exit 0; \
15395 r=`${PWD_COMMAND}`; export r; \
15396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15397 $(SET_LIB_PATH) \
15398 $(HOST_EXPORTS) \
15399 for flag in $(EXTRA_HOST_FLAGS) ; do \
15400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15401 done; \
15402 echo "Doing distclean in make" ; \
15403 (cd make && \
15404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15406 "RANLIB=$${RANLIB}" \
15407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15408 distclean) \
15409 || exit 1
15411 @endif make
15413 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
15414 maybe-maintainer-clean-make:
15415 @if make
15416 maybe-maintainer-clean-make: maintainer-clean-make
15418 maintainer-clean-make:
15419 @[ -f ./make/Makefile ] || exit 0; \
15420 r=`${PWD_COMMAND}`; export r; \
15421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15422 $(SET_LIB_PATH) \
15423 $(HOST_EXPORTS) \
15424 for flag in $(EXTRA_HOST_FLAGS) ; do \
15425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15426 done; \
15427 echo "Doing maintainer-clean in make" ; \
15428 (cd make && \
15429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15431 "RANLIB=$${RANLIB}" \
15432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15433 maintainer-clean) \
15434 || exit 1
15436 @endif make
15439 .PHONY: configure-mmalloc maybe-configure-mmalloc
15440 maybe-configure-mmalloc:
15441 @if mmalloc
15442 maybe-configure-mmalloc: configure-mmalloc
15443 configure-mmalloc:
15444 @test ! -f mmalloc/Makefile || exit 0; \
15445 [ -d mmalloc ] || mkdir mmalloc; \
15446 r=`${PWD_COMMAND}`; export r; \
15447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15448 $(HOST_EXPORTS) \
15449 echo Configuring in mmalloc; \
15450 cd mmalloc || exit 1; \
15451 case $(srcdir) in \
15452 \.) \
15453 srcdiroption="--srcdir=."; \
15454 libsrcdir=".";; \
15455 /* | [A-Za-z]:[\\/]*) \
15456 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
15457 libsrcdir="$$s/mmalloc";; \
15458 *) \
15459 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
15460 libsrcdir="$$s/mmalloc";; \
15461 esac; \
15462 $(SHELL) $${libsrcdir}/configure \
15463 $(HOST_CONFIGARGS) $${srcdiroption} \
15464 || exit 1
15465 @endif mmalloc
15467 .PHONY: all-mmalloc maybe-all-mmalloc
15468 maybe-all-mmalloc:
15469 @if mmalloc
15470 TARGET-mmalloc=all
15471 maybe-all-mmalloc: all-mmalloc
15472 all-mmalloc: configure-mmalloc
15473 @r=`${PWD_COMMAND}`; export r; \
15474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15475 $(SET_LIB_PATH) \
15476 $(HOST_EXPORTS) \
15477 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) \
15478 $(TARGET-mmalloc))
15479 @endif mmalloc
15481 .PHONY: check-mmalloc maybe-check-mmalloc
15482 maybe-check-mmalloc:
15483 @if mmalloc
15484 maybe-check-mmalloc: check-mmalloc
15486 check-mmalloc:
15488 @endif mmalloc
15490 .PHONY: install-mmalloc maybe-install-mmalloc
15491 maybe-install-mmalloc:
15492 @if mmalloc
15493 maybe-install-mmalloc: install-mmalloc
15495 install-mmalloc: installdirs
15496 @r=`${PWD_COMMAND}`; export r; \
15497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15498 $(SET_LIB_PATH) \
15499 $(HOST_EXPORTS) \
15500 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
15502 @endif mmalloc
15504 # Other targets (info, dvi, etc.)
15506 .PHONY: maybe-info-mmalloc info-mmalloc
15507 maybe-info-mmalloc:
15508 @if mmalloc
15509 maybe-info-mmalloc: info-mmalloc
15511 info-mmalloc: \
15512 configure-mmalloc
15513 @[ -f ./mmalloc/Makefile ] || exit 0; \
15514 r=`${PWD_COMMAND}`; export r; \
15515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15516 $(SET_LIB_PATH) \
15517 $(HOST_EXPORTS) \
15518 for flag in $(EXTRA_HOST_FLAGS) ; do \
15519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15520 done; \
15521 echo "Doing info in mmalloc" ; \
15522 (cd mmalloc && \
15523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15525 "RANLIB=$${RANLIB}" \
15526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15527 info) \
15528 || exit 1
15530 @endif mmalloc
15532 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
15533 maybe-dvi-mmalloc:
15534 @if mmalloc
15535 maybe-dvi-mmalloc: dvi-mmalloc
15537 dvi-mmalloc: \
15538 configure-mmalloc
15539 @[ -f ./mmalloc/Makefile ] || exit 0; \
15540 r=`${PWD_COMMAND}`; export r; \
15541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15542 $(SET_LIB_PATH) \
15543 $(HOST_EXPORTS) \
15544 for flag in $(EXTRA_HOST_FLAGS) ; do \
15545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15546 done; \
15547 echo "Doing dvi in mmalloc" ; \
15548 (cd mmalloc && \
15549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15551 "RANLIB=$${RANLIB}" \
15552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15553 dvi) \
15554 || exit 1
15556 @endif mmalloc
15558 .PHONY: maybe-html-mmalloc html-mmalloc
15559 maybe-html-mmalloc:
15560 @if mmalloc
15561 maybe-html-mmalloc: html-mmalloc
15563 html-mmalloc: \
15564 configure-mmalloc
15565 @[ -f ./mmalloc/Makefile ] || exit 0; \
15566 r=`${PWD_COMMAND}`; export r; \
15567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15568 $(SET_LIB_PATH) \
15569 $(HOST_EXPORTS) \
15570 for flag in $(EXTRA_HOST_FLAGS) ; do \
15571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15572 done; \
15573 echo "Doing html in mmalloc" ; \
15574 (cd mmalloc && \
15575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15577 "RANLIB=$${RANLIB}" \
15578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15579 html) \
15580 || exit 1
15582 @endif mmalloc
15584 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
15585 maybe-TAGS-mmalloc:
15586 @if mmalloc
15587 maybe-TAGS-mmalloc: TAGS-mmalloc
15589 TAGS-mmalloc: \
15590 configure-mmalloc
15591 @[ -f ./mmalloc/Makefile ] || exit 0; \
15592 r=`${PWD_COMMAND}`; export r; \
15593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15594 $(SET_LIB_PATH) \
15595 $(HOST_EXPORTS) \
15596 for flag in $(EXTRA_HOST_FLAGS) ; do \
15597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15598 done; \
15599 echo "Doing TAGS in mmalloc" ; \
15600 (cd mmalloc && \
15601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15603 "RANLIB=$${RANLIB}" \
15604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15605 TAGS) \
15606 || exit 1
15608 @endif mmalloc
15610 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
15611 maybe-install-info-mmalloc:
15612 @if mmalloc
15613 maybe-install-info-mmalloc: install-info-mmalloc
15615 install-info-mmalloc: \
15616 configure-mmalloc \
15617 info-mmalloc
15618 @[ -f ./mmalloc/Makefile ] || exit 0; \
15619 r=`${PWD_COMMAND}`; export r; \
15620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15621 $(SET_LIB_PATH) \
15622 $(HOST_EXPORTS) \
15623 for flag in $(EXTRA_HOST_FLAGS) ; do \
15624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15625 done; \
15626 echo "Doing install-info in mmalloc" ; \
15627 (cd mmalloc && \
15628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15630 "RANLIB=$${RANLIB}" \
15631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15632 install-info) \
15633 || exit 1
15635 @endif mmalloc
15637 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
15638 maybe-installcheck-mmalloc:
15639 @if mmalloc
15640 maybe-installcheck-mmalloc: installcheck-mmalloc
15642 installcheck-mmalloc: \
15643 configure-mmalloc
15644 @[ -f ./mmalloc/Makefile ] || exit 0; \
15645 r=`${PWD_COMMAND}`; export r; \
15646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15647 $(SET_LIB_PATH) \
15648 $(HOST_EXPORTS) \
15649 for flag in $(EXTRA_HOST_FLAGS) ; do \
15650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15651 done; \
15652 echo "Doing installcheck in mmalloc" ; \
15653 (cd mmalloc && \
15654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15656 "RANLIB=$${RANLIB}" \
15657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15658 installcheck) \
15659 || exit 1
15661 @endif mmalloc
15663 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
15664 maybe-mostlyclean-mmalloc:
15665 @if mmalloc
15666 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
15668 mostlyclean-mmalloc:
15669 @[ -f ./mmalloc/Makefile ] || exit 0; \
15670 r=`${PWD_COMMAND}`; export r; \
15671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15672 $(SET_LIB_PATH) \
15673 $(HOST_EXPORTS) \
15674 for flag in $(EXTRA_HOST_FLAGS) ; do \
15675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15676 done; \
15677 echo "Doing mostlyclean in mmalloc" ; \
15678 (cd mmalloc && \
15679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15681 "RANLIB=$${RANLIB}" \
15682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15683 mostlyclean) \
15684 || exit 1
15686 @endif mmalloc
15688 .PHONY: maybe-clean-mmalloc clean-mmalloc
15689 maybe-clean-mmalloc:
15690 @if mmalloc
15691 maybe-clean-mmalloc: clean-mmalloc
15693 clean-mmalloc:
15694 @[ -f ./mmalloc/Makefile ] || exit 0; \
15695 r=`${PWD_COMMAND}`; export r; \
15696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15697 $(SET_LIB_PATH) \
15698 $(HOST_EXPORTS) \
15699 for flag in $(EXTRA_HOST_FLAGS) ; do \
15700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15701 done; \
15702 echo "Doing clean in mmalloc" ; \
15703 (cd mmalloc && \
15704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15706 "RANLIB=$${RANLIB}" \
15707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15708 clean) \
15709 || exit 1
15711 @endif mmalloc
15713 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
15714 maybe-distclean-mmalloc:
15715 @if mmalloc
15716 maybe-distclean-mmalloc: distclean-mmalloc
15718 distclean-mmalloc:
15719 @[ -f ./mmalloc/Makefile ] || exit 0; \
15720 r=`${PWD_COMMAND}`; export r; \
15721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15722 $(SET_LIB_PATH) \
15723 $(HOST_EXPORTS) \
15724 for flag in $(EXTRA_HOST_FLAGS) ; do \
15725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15726 done; \
15727 echo "Doing distclean in mmalloc" ; \
15728 (cd mmalloc && \
15729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15731 "RANLIB=$${RANLIB}" \
15732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15733 distclean) \
15734 || exit 1
15736 @endif mmalloc
15738 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
15739 maybe-maintainer-clean-mmalloc:
15740 @if mmalloc
15741 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
15743 maintainer-clean-mmalloc:
15744 @[ -f ./mmalloc/Makefile ] || exit 0; \
15745 r=`${PWD_COMMAND}`; export r; \
15746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15747 $(SET_LIB_PATH) \
15748 $(HOST_EXPORTS) \
15749 for flag in $(EXTRA_HOST_FLAGS) ; do \
15750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15751 done; \
15752 echo "Doing maintainer-clean in mmalloc" ; \
15753 (cd mmalloc && \
15754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15756 "RANLIB=$${RANLIB}" \
15757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15758 maintainer-clean) \
15759 || exit 1
15761 @endif mmalloc
15764 .PHONY: configure-patch maybe-configure-patch
15765 maybe-configure-patch:
15766 @if patch
15767 maybe-configure-patch: configure-patch
15768 configure-patch:
15769 @test ! -f patch/Makefile || exit 0; \
15770 [ -d patch ] || mkdir patch; \
15771 r=`${PWD_COMMAND}`; export r; \
15772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15773 $(HOST_EXPORTS) \
15774 echo Configuring in patch; \
15775 cd patch || exit 1; \
15776 case $(srcdir) in \
15777 \.) \
15778 srcdiroption="--srcdir=."; \
15779 libsrcdir=".";; \
15780 /* | [A-Za-z]:[\\/]*) \
15781 srcdiroption="--srcdir=$(srcdir)/patch"; \
15782 libsrcdir="$$s/patch";; \
15783 *) \
15784 srcdiroption="--srcdir=../$(srcdir)/patch"; \
15785 libsrcdir="$$s/patch";; \
15786 esac; \
15787 $(SHELL) $${libsrcdir}/configure \
15788 $(HOST_CONFIGARGS) $${srcdiroption} \
15789 || exit 1
15790 @endif patch
15792 .PHONY: all-patch maybe-all-patch
15793 maybe-all-patch:
15794 @if patch
15795 TARGET-patch=all
15796 maybe-all-patch: all-patch
15797 all-patch: configure-patch
15798 @r=`${PWD_COMMAND}`; export r; \
15799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15800 $(SET_LIB_PATH) \
15801 $(HOST_EXPORTS) \
15802 (cd patch && $(MAKE) $(FLAGS_TO_PASS) \
15803 $(TARGET-patch))
15804 @endif patch
15806 .PHONY: check-patch maybe-check-patch
15807 maybe-check-patch:
15808 @if patch
15809 maybe-check-patch: check-patch
15811 check-patch:
15812 @r=`${PWD_COMMAND}`; export r; \
15813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15814 $(SET_LIB_PATH) \
15815 $(HOST_EXPORTS) \
15816 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
15818 @endif patch
15820 .PHONY: install-patch maybe-install-patch
15821 maybe-install-patch:
15822 @if patch
15823 maybe-install-patch: install-patch
15825 install-patch: installdirs
15826 @r=`${PWD_COMMAND}`; export r; \
15827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15828 $(SET_LIB_PATH) \
15829 $(HOST_EXPORTS) \
15830 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
15832 @endif patch
15834 # Other targets (info, dvi, etc.)
15836 .PHONY: maybe-info-patch info-patch
15837 maybe-info-patch:
15838 @if patch
15839 maybe-info-patch: info-patch
15841 info-patch: \
15842 configure-patch
15843 @[ -f ./patch/Makefile ] || exit 0; \
15844 r=`${PWD_COMMAND}`; export r; \
15845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15846 $(SET_LIB_PATH) \
15847 $(HOST_EXPORTS) \
15848 for flag in $(EXTRA_HOST_FLAGS) ; do \
15849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15850 done; \
15851 echo "Doing info in patch" ; \
15852 (cd patch && \
15853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15855 "RANLIB=$${RANLIB}" \
15856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15857 info) \
15858 || exit 1
15860 @endif patch
15862 .PHONY: maybe-dvi-patch dvi-patch
15863 maybe-dvi-patch:
15864 @if patch
15865 maybe-dvi-patch: dvi-patch
15867 dvi-patch: \
15868 configure-patch
15869 @[ -f ./patch/Makefile ] || exit 0; \
15870 r=`${PWD_COMMAND}`; export r; \
15871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15872 $(SET_LIB_PATH) \
15873 $(HOST_EXPORTS) \
15874 for flag in $(EXTRA_HOST_FLAGS) ; do \
15875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15876 done; \
15877 echo "Doing dvi in patch" ; \
15878 (cd patch && \
15879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15881 "RANLIB=$${RANLIB}" \
15882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15883 dvi) \
15884 || exit 1
15886 @endif patch
15888 .PHONY: maybe-html-patch html-patch
15889 maybe-html-patch:
15890 @if patch
15891 maybe-html-patch: html-patch
15893 html-patch: \
15894 configure-patch
15895 @[ -f ./patch/Makefile ] || exit 0; \
15896 r=`${PWD_COMMAND}`; export r; \
15897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15898 $(SET_LIB_PATH) \
15899 $(HOST_EXPORTS) \
15900 for flag in $(EXTRA_HOST_FLAGS) ; do \
15901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15902 done; \
15903 echo "Doing html in patch" ; \
15904 (cd patch && \
15905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15907 "RANLIB=$${RANLIB}" \
15908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15909 html) \
15910 || exit 1
15912 @endif patch
15914 .PHONY: maybe-TAGS-patch TAGS-patch
15915 maybe-TAGS-patch:
15916 @if patch
15917 maybe-TAGS-patch: TAGS-patch
15919 TAGS-patch: \
15920 configure-patch
15921 @[ -f ./patch/Makefile ] || exit 0; \
15922 r=`${PWD_COMMAND}`; export r; \
15923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15924 $(SET_LIB_PATH) \
15925 $(HOST_EXPORTS) \
15926 for flag in $(EXTRA_HOST_FLAGS) ; do \
15927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15928 done; \
15929 echo "Doing TAGS in patch" ; \
15930 (cd patch && \
15931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15933 "RANLIB=$${RANLIB}" \
15934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15935 TAGS) \
15936 || exit 1
15938 @endif patch
15940 .PHONY: maybe-install-info-patch install-info-patch
15941 maybe-install-info-patch:
15942 @if patch
15943 maybe-install-info-patch: install-info-patch
15945 install-info-patch: \
15946 configure-patch \
15947 info-patch
15948 @[ -f ./patch/Makefile ] || exit 0; \
15949 r=`${PWD_COMMAND}`; export r; \
15950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15951 $(SET_LIB_PATH) \
15952 $(HOST_EXPORTS) \
15953 for flag in $(EXTRA_HOST_FLAGS) ; do \
15954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15955 done; \
15956 echo "Doing install-info in patch" ; \
15957 (cd patch && \
15958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15960 "RANLIB=$${RANLIB}" \
15961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15962 install-info) \
15963 || exit 1
15965 @endif patch
15967 .PHONY: maybe-installcheck-patch installcheck-patch
15968 maybe-installcheck-patch:
15969 @if patch
15970 maybe-installcheck-patch: installcheck-patch
15972 installcheck-patch: \
15973 configure-patch
15974 @[ -f ./patch/Makefile ] || exit 0; \
15975 r=`${PWD_COMMAND}`; export r; \
15976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15977 $(SET_LIB_PATH) \
15978 $(HOST_EXPORTS) \
15979 for flag in $(EXTRA_HOST_FLAGS) ; do \
15980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15981 done; \
15982 echo "Doing installcheck in patch" ; \
15983 (cd patch && \
15984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15986 "RANLIB=$${RANLIB}" \
15987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15988 installcheck) \
15989 || exit 1
15991 @endif patch
15993 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
15994 maybe-mostlyclean-patch:
15995 @if patch
15996 maybe-mostlyclean-patch: mostlyclean-patch
15998 mostlyclean-patch:
15999 @[ -f ./patch/Makefile ] || exit 0; \
16000 r=`${PWD_COMMAND}`; export r; \
16001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16002 $(SET_LIB_PATH) \
16003 $(HOST_EXPORTS) \
16004 for flag in $(EXTRA_HOST_FLAGS) ; do \
16005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16006 done; \
16007 echo "Doing mostlyclean in patch" ; \
16008 (cd patch && \
16009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16011 "RANLIB=$${RANLIB}" \
16012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16013 mostlyclean) \
16014 || exit 1
16016 @endif patch
16018 .PHONY: maybe-clean-patch clean-patch
16019 maybe-clean-patch:
16020 @if patch
16021 maybe-clean-patch: clean-patch
16023 clean-patch:
16024 @[ -f ./patch/Makefile ] || exit 0; \
16025 r=`${PWD_COMMAND}`; export r; \
16026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16027 $(SET_LIB_PATH) \
16028 $(HOST_EXPORTS) \
16029 for flag in $(EXTRA_HOST_FLAGS) ; do \
16030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16031 done; \
16032 echo "Doing clean in patch" ; \
16033 (cd patch && \
16034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16036 "RANLIB=$${RANLIB}" \
16037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16038 clean) \
16039 || exit 1
16041 @endif patch
16043 .PHONY: maybe-distclean-patch distclean-patch
16044 maybe-distclean-patch:
16045 @if patch
16046 maybe-distclean-patch: distclean-patch
16048 distclean-patch:
16049 @[ -f ./patch/Makefile ] || exit 0; \
16050 r=`${PWD_COMMAND}`; export r; \
16051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16052 $(SET_LIB_PATH) \
16053 $(HOST_EXPORTS) \
16054 for flag in $(EXTRA_HOST_FLAGS) ; do \
16055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16056 done; \
16057 echo "Doing distclean in patch" ; \
16058 (cd patch && \
16059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16061 "RANLIB=$${RANLIB}" \
16062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16063 distclean) \
16064 || exit 1
16066 @endif patch
16068 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
16069 maybe-maintainer-clean-patch:
16070 @if patch
16071 maybe-maintainer-clean-patch: maintainer-clean-patch
16073 maintainer-clean-patch:
16074 @[ -f ./patch/Makefile ] || exit 0; \
16075 r=`${PWD_COMMAND}`; export r; \
16076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16077 $(SET_LIB_PATH) \
16078 $(HOST_EXPORTS) \
16079 for flag in $(EXTRA_HOST_FLAGS) ; do \
16080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16081 done; \
16082 echo "Doing maintainer-clean in patch" ; \
16083 (cd patch && \
16084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16086 "RANLIB=$${RANLIB}" \
16087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16088 maintainer-clean) \
16089 || exit 1
16091 @endif patch
16094 .PHONY: configure-perl maybe-configure-perl
16095 maybe-configure-perl:
16096 @if perl
16097 maybe-configure-perl: configure-perl
16098 configure-perl:
16099 @test ! -f perl/Makefile || exit 0; \
16100 [ -d perl ] || mkdir perl; \
16101 r=`${PWD_COMMAND}`; export r; \
16102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16103 $(HOST_EXPORTS) \
16104 echo Configuring in perl; \
16105 cd perl || exit 1; \
16106 case $(srcdir) in \
16107 \.) \
16108 srcdiroption="--srcdir=."; \
16109 libsrcdir=".";; \
16110 /* | [A-Za-z]:[\\/]*) \
16111 srcdiroption="--srcdir=$(srcdir)/perl"; \
16112 libsrcdir="$$s/perl";; \
16113 *) \
16114 srcdiroption="--srcdir=../$(srcdir)/perl"; \
16115 libsrcdir="$$s/perl";; \
16116 esac; \
16117 $(SHELL) $${libsrcdir}/configure \
16118 $(HOST_CONFIGARGS) $${srcdiroption} \
16119 || exit 1
16120 @endif perl
16122 .PHONY: all-perl maybe-all-perl
16123 maybe-all-perl:
16124 @if perl
16125 TARGET-perl=all
16126 maybe-all-perl: all-perl
16127 all-perl: configure-perl
16128 @r=`${PWD_COMMAND}`; export r; \
16129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16130 $(SET_LIB_PATH) \
16131 $(HOST_EXPORTS) \
16132 (cd perl && $(MAKE) $(FLAGS_TO_PASS) \
16133 $(TARGET-perl))
16134 @endif perl
16136 .PHONY: check-perl maybe-check-perl
16137 maybe-check-perl:
16138 @if perl
16139 maybe-check-perl: check-perl
16141 check-perl:
16142 @r=`${PWD_COMMAND}`; export r; \
16143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16144 $(SET_LIB_PATH) \
16145 $(HOST_EXPORTS) \
16146 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
16148 @endif perl
16150 .PHONY: install-perl maybe-install-perl
16151 maybe-install-perl:
16152 @if perl
16153 maybe-install-perl: install-perl
16155 install-perl: installdirs
16156 @r=`${PWD_COMMAND}`; export r; \
16157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16158 $(SET_LIB_PATH) \
16159 $(HOST_EXPORTS) \
16160 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
16162 @endif perl
16164 # Other targets (info, dvi, etc.)
16166 .PHONY: maybe-info-perl info-perl
16167 maybe-info-perl:
16168 @if perl
16169 maybe-info-perl: info-perl
16171 info-perl: \
16172 configure-perl
16173 @[ -f ./perl/Makefile ] || exit 0; \
16174 r=`${PWD_COMMAND}`; export r; \
16175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16176 $(SET_LIB_PATH) \
16177 $(HOST_EXPORTS) \
16178 for flag in $(EXTRA_HOST_FLAGS) ; do \
16179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16180 done; \
16181 echo "Doing info in perl" ; \
16182 (cd perl && \
16183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16185 "RANLIB=$${RANLIB}" \
16186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16187 info) \
16188 || exit 1
16190 @endif perl
16192 .PHONY: maybe-dvi-perl dvi-perl
16193 maybe-dvi-perl:
16194 @if perl
16195 maybe-dvi-perl: dvi-perl
16197 dvi-perl: \
16198 configure-perl
16199 @[ -f ./perl/Makefile ] || exit 0; \
16200 r=`${PWD_COMMAND}`; export r; \
16201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16202 $(SET_LIB_PATH) \
16203 $(HOST_EXPORTS) \
16204 for flag in $(EXTRA_HOST_FLAGS) ; do \
16205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16206 done; \
16207 echo "Doing dvi in perl" ; \
16208 (cd perl && \
16209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16211 "RANLIB=$${RANLIB}" \
16212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16213 dvi) \
16214 || exit 1
16216 @endif perl
16218 .PHONY: maybe-html-perl html-perl
16219 maybe-html-perl:
16220 @if perl
16221 maybe-html-perl: html-perl
16223 html-perl: \
16224 configure-perl
16225 @[ -f ./perl/Makefile ] || exit 0; \
16226 r=`${PWD_COMMAND}`; export r; \
16227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16228 $(SET_LIB_PATH) \
16229 $(HOST_EXPORTS) \
16230 for flag in $(EXTRA_HOST_FLAGS) ; do \
16231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16232 done; \
16233 echo "Doing html in perl" ; \
16234 (cd perl && \
16235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16237 "RANLIB=$${RANLIB}" \
16238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16239 html) \
16240 || exit 1
16242 @endif perl
16244 .PHONY: maybe-TAGS-perl TAGS-perl
16245 maybe-TAGS-perl:
16246 @if perl
16247 maybe-TAGS-perl: TAGS-perl
16249 TAGS-perl: \
16250 configure-perl
16251 @[ -f ./perl/Makefile ] || exit 0; \
16252 r=`${PWD_COMMAND}`; export r; \
16253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16254 $(SET_LIB_PATH) \
16255 $(HOST_EXPORTS) \
16256 for flag in $(EXTRA_HOST_FLAGS) ; do \
16257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16258 done; \
16259 echo "Doing TAGS in perl" ; \
16260 (cd perl && \
16261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16263 "RANLIB=$${RANLIB}" \
16264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16265 TAGS) \
16266 || exit 1
16268 @endif perl
16270 .PHONY: maybe-install-info-perl install-info-perl
16271 maybe-install-info-perl:
16272 @if perl
16273 maybe-install-info-perl: install-info-perl
16275 install-info-perl: \
16276 configure-perl \
16277 info-perl
16278 @[ -f ./perl/Makefile ] || exit 0; \
16279 r=`${PWD_COMMAND}`; export r; \
16280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16281 $(SET_LIB_PATH) \
16282 $(HOST_EXPORTS) \
16283 for flag in $(EXTRA_HOST_FLAGS) ; do \
16284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16285 done; \
16286 echo "Doing install-info in perl" ; \
16287 (cd perl && \
16288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16290 "RANLIB=$${RANLIB}" \
16291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16292 install-info) \
16293 || exit 1
16295 @endif perl
16297 .PHONY: maybe-installcheck-perl installcheck-perl
16298 maybe-installcheck-perl:
16299 @if perl
16300 maybe-installcheck-perl: installcheck-perl
16302 installcheck-perl: \
16303 configure-perl
16304 @[ -f ./perl/Makefile ] || exit 0; \
16305 r=`${PWD_COMMAND}`; export r; \
16306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16307 $(SET_LIB_PATH) \
16308 $(HOST_EXPORTS) \
16309 for flag in $(EXTRA_HOST_FLAGS) ; do \
16310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16311 done; \
16312 echo "Doing installcheck in perl" ; \
16313 (cd perl && \
16314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16316 "RANLIB=$${RANLIB}" \
16317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16318 installcheck) \
16319 || exit 1
16321 @endif perl
16323 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
16324 maybe-mostlyclean-perl:
16325 @if perl
16326 maybe-mostlyclean-perl: mostlyclean-perl
16328 mostlyclean-perl:
16329 @[ -f ./perl/Makefile ] || exit 0; \
16330 r=`${PWD_COMMAND}`; export r; \
16331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16332 $(SET_LIB_PATH) \
16333 $(HOST_EXPORTS) \
16334 for flag in $(EXTRA_HOST_FLAGS) ; do \
16335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16336 done; \
16337 echo "Doing mostlyclean in perl" ; \
16338 (cd perl && \
16339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16341 "RANLIB=$${RANLIB}" \
16342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16343 mostlyclean) \
16344 || exit 1
16346 @endif perl
16348 .PHONY: maybe-clean-perl clean-perl
16349 maybe-clean-perl:
16350 @if perl
16351 maybe-clean-perl: clean-perl
16353 clean-perl:
16354 @[ -f ./perl/Makefile ] || exit 0; \
16355 r=`${PWD_COMMAND}`; export r; \
16356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16357 $(SET_LIB_PATH) \
16358 $(HOST_EXPORTS) \
16359 for flag in $(EXTRA_HOST_FLAGS) ; do \
16360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16361 done; \
16362 echo "Doing clean in perl" ; \
16363 (cd perl && \
16364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16366 "RANLIB=$${RANLIB}" \
16367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16368 clean) \
16369 || exit 1
16371 @endif perl
16373 .PHONY: maybe-distclean-perl distclean-perl
16374 maybe-distclean-perl:
16375 @if perl
16376 maybe-distclean-perl: distclean-perl
16378 distclean-perl:
16379 @[ -f ./perl/Makefile ] || exit 0; \
16380 r=`${PWD_COMMAND}`; export r; \
16381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16382 $(SET_LIB_PATH) \
16383 $(HOST_EXPORTS) \
16384 for flag in $(EXTRA_HOST_FLAGS) ; do \
16385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16386 done; \
16387 echo "Doing distclean in perl" ; \
16388 (cd perl && \
16389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16391 "RANLIB=$${RANLIB}" \
16392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16393 distclean) \
16394 || exit 1
16396 @endif perl
16398 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16399 maybe-maintainer-clean-perl:
16400 @if perl
16401 maybe-maintainer-clean-perl: maintainer-clean-perl
16403 maintainer-clean-perl:
16404 @[ -f ./perl/Makefile ] || exit 0; \
16405 r=`${PWD_COMMAND}`; export r; \
16406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16407 $(SET_LIB_PATH) \
16408 $(HOST_EXPORTS) \
16409 for flag in $(EXTRA_HOST_FLAGS) ; do \
16410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16411 done; \
16412 echo "Doing maintainer-clean in perl" ; \
16413 (cd perl && \
16414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16416 "RANLIB=$${RANLIB}" \
16417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16418 maintainer-clean) \
16419 || exit 1
16421 @endif perl
16424 .PHONY: configure-prms maybe-configure-prms
16425 maybe-configure-prms:
16426 @if prms
16427 maybe-configure-prms: configure-prms
16428 configure-prms:
16429 @test ! -f prms/Makefile || exit 0; \
16430 [ -d prms ] || mkdir prms; \
16431 r=`${PWD_COMMAND}`; export r; \
16432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16433 $(HOST_EXPORTS) \
16434 echo Configuring in prms; \
16435 cd prms || exit 1; \
16436 case $(srcdir) in \
16437 \.) \
16438 srcdiroption="--srcdir=."; \
16439 libsrcdir=".";; \
16440 /* | [A-Za-z]:[\\/]*) \
16441 srcdiroption="--srcdir=$(srcdir)/prms"; \
16442 libsrcdir="$$s/prms";; \
16443 *) \
16444 srcdiroption="--srcdir=../$(srcdir)/prms"; \
16445 libsrcdir="$$s/prms";; \
16446 esac; \
16447 $(SHELL) $${libsrcdir}/configure \
16448 $(HOST_CONFIGARGS) $${srcdiroption} \
16449 || exit 1
16450 @endif prms
16452 .PHONY: all-prms maybe-all-prms
16453 maybe-all-prms:
16454 @if prms
16455 TARGET-prms=all
16456 maybe-all-prms: all-prms
16457 all-prms: configure-prms
16458 @r=`${PWD_COMMAND}`; export r; \
16459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16460 $(SET_LIB_PATH) \
16461 $(HOST_EXPORTS) \
16462 (cd prms && $(MAKE) $(FLAGS_TO_PASS) \
16463 $(TARGET-prms))
16464 @endif prms
16466 .PHONY: check-prms maybe-check-prms
16467 maybe-check-prms:
16468 @if prms
16469 maybe-check-prms: check-prms
16471 check-prms:
16472 @r=`${PWD_COMMAND}`; export r; \
16473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16474 $(SET_LIB_PATH) \
16475 $(HOST_EXPORTS) \
16476 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
16478 @endif prms
16480 .PHONY: install-prms maybe-install-prms
16481 maybe-install-prms:
16482 @if prms
16483 maybe-install-prms: install-prms
16485 install-prms: installdirs
16486 @r=`${PWD_COMMAND}`; export r; \
16487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16488 $(SET_LIB_PATH) \
16489 $(HOST_EXPORTS) \
16490 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
16492 @endif prms
16494 # Other targets (info, dvi, etc.)
16496 .PHONY: maybe-info-prms info-prms
16497 maybe-info-prms:
16498 @if prms
16499 maybe-info-prms: info-prms
16501 info-prms: \
16502 configure-prms
16503 @[ -f ./prms/Makefile ] || exit 0; \
16504 r=`${PWD_COMMAND}`; export r; \
16505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16506 $(SET_LIB_PATH) \
16507 $(HOST_EXPORTS) \
16508 for flag in $(EXTRA_HOST_FLAGS) ; do \
16509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16510 done; \
16511 echo "Doing info in prms" ; \
16512 (cd prms && \
16513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16515 "RANLIB=$${RANLIB}" \
16516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16517 info) \
16518 || exit 1
16520 @endif prms
16522 .PHONY: maybe-dvi-prms dvi-prms
16523 maybe-dvi-prms:
16524 @if prms
16525 maybe-dvi-prms: dvi-prms
16527 dvi-prms: \
16528 configure-prms
16529 @[ -f ./prms/Makefile ] || exit 0; \
16530 r=`${PWD_COMMAND}`; export r; \
16531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16532 $(SET_LIB_PATH) \
16533 $(HOST_EXPORTS) \
16534 for flag in $(EXTRA_HOST_FLAGS) ; do \
16535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16536 done; \
16537 echo "Doing dvi in prms" ; \
16538 (cd prms && \
16539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16541 "RANLIB=$${RANLIB}" \
16542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16543 dvi) \
16544 || exit 1
16546 @endif prms
16548 .PHONY: maybe-html-prms html-prms
16549 maybe-html-prms:
16550 @if prms
16551 maybe-html-prms: html-prms
16553 html-prms: \
16554 configure-prms
16555 @[ -f ./prms/Makefile ] || exit 0; \
16556 r=`${PWD_COMMAND}`; export r; \
16557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16558 $(SET_LIB_PATH) \
16559 $(HOST_EXPORTS) \
16560 for flag in $(EXTRA_HOST_FLAGS) ; do \
16561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16562 done; \
16563 echo "Doing html in prms" ; \
16564 (cd prms && \
16565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16567 "RANLIB=$${RANLIB}" \
16568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16569 html) \
16570 || exit 1
16572 @endif prms
16574 .PHONY: maybe-TAGS-prms TAGS-prms
16575 maybe-TAGS-prms:
16576 @if prms
16577 maybe-TAGS-prms: TAGS-prms
16579 TAGS-prms: \
16580 configure-prms
16581 @[ -f ./prms/Makefile ] || exit 0; \
16582 r=`${PWD_COMMAND}`; export r; \
16583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16584 $(SET_LIB_PATH) \
16585 $(HOST_EXPORTS) \
16586 for flag in $(EXTRA_HOST_FLAGS) ; do \
16587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16588 done; \
16589 echo "Doing TAGS in prms" ; \
16590 (cd prms && \
16591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16593 "RANLIB=$${RANLIB}" \
16594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16595 TAGS) \
16596 || exit 1
16598 @endif prms
16600 .PHONY: maybe-install-info-prms install-info-prms
16601 maybe-install-info-prms:
16602 @if prms
16603 maybe-install-info-prms: install-info-prms
16605 install-info-prms: \
16606 configure-prms \
16607 info-prms
16608 @[ -f ./prms/Makefile ] || exit 0; \
16609 r=`${PWD_COMMAND}`; export r; \
16610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16611 $(SET_LIB_PATH) \
16612 $(HOST_EXPORTS) \
16613 for flag in $(EXTRA_HOST_FLAGS) ; do \
16614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16615 done; \
16616 echo "Doing install-info in prms" ; \
16617 (cd prms && \
16618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16620 "RANLIB=$${RANLIB}" \
16621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16622 install-info) \
16623 || exit 1
16625 @endif prms
16627 .PHONY: maybe-installcheck-prms installcheck-prms
16628 maybe-installcheck-prms:
16629 @if prms
16630 maybe-installcheck-prms: installcheck-prms
16632 installcheck-prms: \
16633 configure-prms
16634 @[ -f ./prms/Makefile ] || exit 0; \
16635 r=`${PWD_COMMAND}`; export r; \
16636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16637 $(SET_LIB_PATH) \
16638 $(HOST_EXPORTS) \
16639 for flag in $(EXTRA_HOST_FLAGS) ; do \
16640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16641 done; \
16642 echo "Doing installcheck in prms" ; \
16643 (cd prms && \
16644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16646 "RANLIB=$${RANLIB}" \
16647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16648 installcheck) \
16649 || exit 1
16651 @endif prms
16653 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
16654 maybe-mostlyclean-prms:
16655 @if prms
16656 maybe-mostlyclean-prms: mostlyclean-prms
16658 mostlyclean-prms:
16659 @[ -f ./prms/Makefile ] || exit 0; \
16660 r=`${PWD_COMMAND}`; export r; \
16661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16662 $(SET_LIB_PATH) \
16663 $(HOST_EXPORTS) \
16664 for flag in $(EXTRA_HOST_FLAGS) ; do \
16665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16666 done; \
16667 echo "Doing mostlyclean in prms" ; \
16668 (cd prms && \
16669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16671 "RANLIB=$${RANLIB}" \
16672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16673 mostlyclean) \
16674 || exit 1
16676 @endif prms
16678 .PHONY: maybe-clean-prms clean-prms
16679 maybe-clean-prms:
16680 @if prms
16681 maybe-clean-prms: clean-prms
16683 clean-prms:
16684 @[ -f ./prms/Makefile ] || exit 0; \
16685 r=`${PWD_COMMAND}`; export r; \
16686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16687 $(SET_LIB_PATH) \
16688 $(HOST_EXPORTS) \
16689 for flag in $(EXTRA_HOST_FLAGS) ; do \
16690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16691 done; \
16692 echo "Doing clean in prms" ; \
16693 (cd prms && \
16694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16696 "RANLIB=$${RANLIB}" \
16697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16698 clean) \
16699 || exit 1
16701 @endif prms
16703 .PHONY: maybe-distclean-prms distclean-prms
16704 maybe-distclean-prms:
16705 @if prms
16706 maybe-distclean-prms: distclean-prms
16708 distclean-prms:
16709 @[ -f ./prms/Makefile ] || exit 0; \
16710 r=`${PWD_COMMAND}`; export r; \
16711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16712 $(SET_LIB_PATH) \
16713 $(HOST_EXPORTS) \
16714 for flag in $(EXTRA_HOST_FLAGS) ; do \
16715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16716 done; \
16717 echo "Doing distclean in prms" ; \
16718 (cd prms && \
16719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16721 "RANLIB=$${RANLIB}" \
16722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16723 distclean) \
16724 || exit 1
16726 @endif prms
16728 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16729 maybe-maintainer-clean-prms:
16730 @if prms
16731 maybe-maintainer-clean-prms: maintainer-clean-prms
16733 maintainer-clean-prms:
16734 @[ -f ./prms/Makefile ] || exit 0; \
16735 r=`${PWD_COMMAND}`; export r; \
16736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16737 $(SET_LIB_PATH) \
16738 $(HOST_EXPORTS) \
16739 for flag in $(EXTRA_HOST_FLAGS) ; do \
16740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16741 done; \
16742 echo "Doing maintainer-clean in prms" ; \
16743 (cd prms && \
16744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16746 "RANLIB=$${RANLIB}" \
16747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16748 maintainer-clean) \
16749 || exit 1
16751 @endif prms
16754 .PHONY: configure-rcs maybe-configure-rcs
16755 maybe-configure-rcs:
16756 @if rcs
16757 maybe-configure-rcs: configure-rcs
16758 configure-rcs:
16759 @test ! -f rcs/Makefile || exit 0; \
16760 [ -d rcs ] || mkdir rcs; \
16761 r=`${PWD_COMMAND}`; export r; \
16762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16763 $(HOST_EXPORTS) \
16764 echo Configuring in rcs; \
16765 cd rcs || exit 1; \
16766 case $(srcdir) in \
16767 \.) \
16768 srcdiroption="--srcdir=."; \
16769 libsrcdir=".";; \
16770 /* | [A-Za-z]:[\\/]*) \
16771 srcdiroption="--srcdir=$(srcdir)/rcs"; \
16772 libsrcdir="$$s/rcs";; \
16773 *) \
16774 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
16775 libsrcdir="$$s/rcs";; \
16776 esac; \
16777 $(SHELL) $${libsrcdir}/configure \
16778 $(HOST_CONFIGARGS) $${srcdiroption} \
16779 || exit 1
16780 @endif rcs
16782 .PHONY: all-rcs maybe-all-rcs
16783 maybe-all-rcs:
16784 @if rcs
16785 TARGET-rcs=all
16786 maybe-all-rcs: all-rcs
16787 all-rcs: configure-rcs
16788 @r=`${PWD_COMMAND}`; export r; \
16789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16790 $(SET_LIB_PATH) \
16791 $(HOST_EXPORTS) \
16792 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) \
16793 $(TARGET-rcs))
16794 @endif rcs
16796 .PHONY: check-rcs maybe-check-rcs
16797 maybe-check-rcs:
16798 @if rcs
16799 maybe-check-rcs: check-rcs
16801 check-rcs:
16802 @r=`${PWD_COMMAND}`; export r; \
16803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16804 $(SET_LIB_PATH) \
16805 $(HOST_EXPORTS) \
16806 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
16808 @endif rcs
16810 .PHONY: install-rcs maybe-install-rcs
16811 maybe-install-rcs:
16812 @if rcs
16813 maybe-install-rcs: install-rcs
16815 install-rcs: installdirs
16816 @r=`${PWD_COMMAND}`; export r; \
16817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16818 $(SET_LIB_PATH) \
16819 $(HOST_EXPORTS) \
16820 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
16822 @endif rcs
16824 # Other targets (info, dvi, etc.)
16826 .PHONY: maybe-info-rcs info-rcs
16827 maybe-info-rcs:
16828 @if rcs
16829 maybe-info-rcs: info-rcs
16831 info-rcs: \
16832 configure-rcs
16833 @[ -f ./rcs/Makefile ] || exit 0; \
16834 r=`${PWD_COMMAND}`; export r; \
16835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16836 $(SET_LIB_PATH) \
16837 $(HOST_EXPORTS) \
16838 for flag in $(EXTRA_HOST_FLAGS) ; do \
16839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16840 done; \
16841 echo "Doing info in rcs" ; \
16842 (cd rcs && \
16843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16845 "RANLIB=$${RANLIB}" \
16846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16847 info) \
16848 || exit 1
16850 @endif rcs
16852 .PHONY: maybe-dvi-rcs dvi-rcs
16853 maybe-dvi-rcs:
16854 @if rcs
16855 maybe-dvi-rcs: dvi-rcs
16857 dvi-rcs: \
16858 configure-rcs
16859 @[ -f ./rcs/Makefile ] || exit 0; \
16860 r=`${PWD_COMMAND}`; export r; \
16861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16862 $(SET_LIB_PATH) \
16863 $(HOST_EXPORTS) \
16864 for flag in $(EXTRA_HOST_FLAGS) ; do \
16865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16866 done; \
16867 echo "Doing dvi in rcs" ; \
16868 (cd rcs && \
16869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16871 "RANLIB=$${RANLIB}" \
16872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16873 dvi) \
16874 || exit 1
16876 @endif rcs
16878 .PHONY: maybe-html-rcs html-rcs
16879 maybe-html-rcs:
16880 @if rcs
16881 maybe-html-rcs: html-rcs
16883 html-rcs: \
16884 configure-rcs
16885 @[ -f ./rcs/Makefile ] || exit 0; \
16886 r=`${PWD_COMMAND}`; export r; \
16887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16888 $(SET_LIB_PATH) \
16889 $(HOST_EXPORTS) \
16890 for flag in $(EXTRA_HOST_FLAGS) ; do \
16891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16892 done; \
16893 echo "Doing html in rcs" ; \
16894 (cd rcs && \
16895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16897 "RANLIB=$${RANLIB}" \
16898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16899 html) \
16900 || exit 1
16902 @endif rcs
16904 .PHONY: maybe-TAGS-rcs TAGS-rcs
16905 maybe-TAGS-rcs:
16906 @if rcs
16907 maybe-TAGS-rcs: TAGS-rcs
16909 TAGS-rcs: \
16910 configure-rcs
16911 @[ -f ./rcs/Makefile ] || exit 0; \
16912 r=`${PWD_COMMAND}`; export r; \
16913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16914 $(SET_LIB_PATH) \
16915 $(HOST_EXPORTS) \
16916 for flag in $(EXTRA_HOST_FLAGS) ; do \
16917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16918 done; \
16919 echo "Doing TAGS in rcs" ; \
16920 (cd rcs && \
16921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16923 "RANLIB=$${RANLIB}" \
16924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16925 TAGS) \
16926 || exit 1
16928 @endif rcs
16930 .PHONY: maybe-install-info-rcs install-info-rcs
16931 maybe-install-info-rcs:
16932 @if rcs
16933 maybe-install-info-rcs: install-info-rcs
16935 install-info-rcs: \
16936 configure-rcs \
16937 info-rcs
16938 @[ -f ./rcs/Makefile ] || exit 0; \
16939 r=`${PWD_COMMAND}`; export r; \
16940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16941 $(SET_LIB_PATH) \
16942 $(HOST_EXPORTS) \
16943 for flag in $(EXTRA_HOST_FLAGS) ; do \
16944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16945 done; \
16946 echo "Doing install-info in rcs" ; \
16947 (cd rcs && \
16948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16950 "RANLIB=$${RANLIB}" \
16951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16952 install-info) \
16953 || exit 1
16955 @endif rcs
16957 .PHONY: maybe-installcheck-rcs installcheck-rcs
16958 maybe-installcheck-rcs:
16959 @if rcs
16960 maybe-installcheck-rcs: installcheck-rcs
16962 installcheck-rcs: \
16963 configure-rcs
16964 @[ -f ./rcs/Makefile ] || exit 0; \
16965 r=`${PWD_COMMAND}`; export r; \
16966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16967 $(SET_LIB_PATH) \
16968 $(HOST_EXPORTS) \
16969 for flag in $(EXTRA_HOST_FLAGS) ; do \
16970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16971 done; \
16972 echo "Doing installcheck in rcs" ; \
16973 (cd rcs && \
16974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16976 "RANLIB=$${RANLIB}" \
16977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16978 installcheck) \
16979 || exit 1
16981 @endif rcs
16983 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
16984 maybe-mostlyclean-rcs:
16985 @if rcs
16986 maybe-mostlyclean-rcs: mostlyclean-rcs
16988 mostlyclean-rcs:
16989 @[ -f ./rcs/Makefile ] || exit 0; \
16990 r=`${PWD_COMMAND}`; export r; \
16991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16992 $(SET_LIB_PATH) \
16993 $(HOST_EXPORTS) \
16994 for flag in $(EXTRA_HOST_FLAGS) ; do \
16995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16996 done; \
16997 echo "Doing mostlyclean in rcs" ; \
16998 (cd rcs && \
16999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17001 "RANLIB=$${RANLIB}" \
17002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17003 mostlyclean) \
17004 || exit 1
17006 @endif rcs
17008 .PHONY: maybe-clean-rcs clean-rcs
17009 maybe-clean-rcs:
17010 @if rcs
17011 maybe-clean-rcs: clean-rcs
17013 clean-rcs:
17014 @[ -f ./rcs/Makefile ] || exit 0; \
17015 r=`${PWD_COMMAND}`; export r; \
17016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17017 $(SET_LIB_PATH) \
17018 $(HOST_EXPORTS) \
17019 for flag in $(EXTRA_HOST_FLAGS) ; do \
17020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17021 done; \
17022 echo "Doing clean in rcs" ; \
17023 (cd rcs && \
17024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17026 "RANLIB=$${RANLIB}" \
17027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17028 clean) \
17029 || exit 1
17031 @endif rcs
17033 .PHONY: maybe-distclean-rcs distclean-rcs
17034 maybe-distclean-rcs:
17035 @if rcs
17036 maybe-distclean-rcs: distclean-rcs
17038 distclean-rcs:
17039 @[ -f ./rcs/Makefile ] || exit 0; \
17040 r=`${PWD_COMMAND}`; export r; \
17041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17042 $(SET_LIB_PATH) \
17043 $(HOST_EXPORTS) \
17044 for flag in $(EXTRA_HOST_FLAGS) ; do \
17045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17046 done; \
17047 echo "Doing distclean in rcs" ; \
17048 (cd rcs && \
17049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17051 "RANLIB=$${RANLIB}" \
17052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17053 distclean) \
17054 || exit 1
17056 @endif rcs
17058 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
17059 maybe-maintainer-clean-rcs:
17060 @if rcs
17061 maybe-maintainer-clean-rcs: maintainer-clean-rcs
17063 maintainer-clean-rcs:
17064 @[ -f ./rcs/Makefile ] || exit 0; \
17065 r=`${PWD_COMMAND}`; export r; \
17066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17067 $(SET_LIB_PATH) \
17068 $(HOST_EXPORTS) \
17069 for flag in $(EXTRA_HOST_FLAGS) ; do \
17070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17071 done; \
17072 echo "Doing maintainer-clean in rcs" ; \
17073 (cd rcs && \
17074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17076 "RANLIB=$${RANLIB}" \
17077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17078 maintainer-clean) \
17079 || exit 1
17081 @endif rcs
17084 .PHONY: configure-readline maybe-configure-readline
17085 maybe-configure-readline:
17086 @if readline
17087 maybe-configure-readline: configure-readline
17088 configure-readline:
17089 @test ! -f readline/Makefile || exit 0; \
17090 [ -d readline ] || mkdir readline; \
17091 r=`${PWD_COMMAND}`; export r; \
17092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17093 $(HOST_EXPORTS) \
17094 echo Configuring in readline; \
17095 cd readline || exit 1; \
17096 case $(srcdir) in \
17097 \.) \
17098 srcdiroption="--srcdir=."; \
17099 libsrcdir=".";; \
17100 /* | [A-Za-z]:[\\/]*) \
17101 srcdiroption="--srcdir=$(srcdir)/readline"; \
17102 libsrcdir="$$s/readline";; \
17103 *) \
17104 srcdiroption="--srcdir=../$(srcdir)/readline"; \
17105 libsrcdir="$$s/readline";; \
17106 esac; \
17107 $(SHELL) $${libsrcdir}/configure \
17108 $(HOST_CONFIGARGS) $${srcdiroption} \
17109 || exit 1
17110 @endif readline
17112 .PHONY: all-readline maybe-all-readline
17113 maybe-all-readline:
17114 @if readline
17115 TARGET-readline=all
17116 maybe-all-readline: all-readline
17117 all-readline: configure-readline
17118 @r=`${PWD_COMMAND}`; export r; \
17119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17120 $(SET_LIB_PATH) \
17121 $(HOST_EXPORTS) \
17122 (cd readline && $(MAKE) $(FLAGS_TO_PASS) \
17123 $(TARGET-readline))
17124 @endif readline
17126 .PHONY: check-readline maybe-check-readline
17127 maybe-check-readline:
17128 @if readline
17129 maybe-check-readline: check-readline
17131 check-readline:
17132 @r=`${PWD_COMMAND}`; export r; \
17133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17134 $(SET_LIB_PATH) \
17135 $(HOST_EXPORTS) \
17136 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
17138 @endif readline
17140 .PHONY: install-readline maybe-install-readline
17141 maybe-install-readline:
17142 @if readline
17143 maybe-install-readline: install-readline
17145 install-readline: installdirs
17146 @r=`${PWD_COMMAND}`; export r; \
17147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17148 $(SET_LIB_PATH) \
17149 $(HOST_EXPORTS) \
17150 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
17152 @endif readline
17154 # Other targets (info, dvi, etc.)
17156 .PHONY: maybe-info-readline info-readline
17157 maybe-info-readline:
17158 @if readline
17159 maybe-info-readline: info-readline
17161 info-readline: \
17162 configure-readline
17163 @[ -f ./readline/Makefile ] || exit 0; \
17164 r=`${PWD_COMMAND}`; export r; \
17165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17166 $(SET_LIB_PATH) \
17167 $(HOST_EXPORTS) \
17168 for flag in $(EXTRA_HOST_FLAGS) ; do \
17169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17170 done; \
17171 echo "Doing info in readline" ; \
17172 (cd readline && \
17173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17175 "RANLIB=$${RANLIB}" \
17176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17177 info) \
17178 || exit 1
17180 @endif readline
17182 .PHONY: maybe-dvi-readline dvi-readline
17183 maybe-dvi-readline:
17184 @if readline
17185 maybe-dvi-readline: dvi-readline
17187 dvi-readline: \
17188 configure-readline
17189 @[ -f ./readline/Makefile ] || exit 0; \
17190 r=`${PWD_COMMAND}`; export r; \
17191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17192 $(SET_LIB_PATH) \
17193 $(HOST_EXPORTS) \
17194 for flag in $(EXTRA_HOST_FLAGS) ; do \
17195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17196 done; \
17197 echo "Doing dvi in readline" ; \
17198 (cd readline && \
17199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17201 "RANLIB=$${RANLIB}" \
17202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17203 dvi) \
17204 || exit 1
17206 @endif readline
17208 .PHONY: maybe-html-readline html-readline
17209 maybe-html-readline:
17210 @if readline
17211 maybe-html-readline: html-readline
17213 html-readline: \
17214 configure-readline
17215 @[ -f ./readline/Makefile ] || exit 0; \
17216 r=`${PWD_COMMAND}`; export r; \
17217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17218 $(SET_LIB_PATH) \
17219 $(HOST_EXPORTS) \
17220 for flag in $(EXTRA_HOST_FLAGS) ; do \
17221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17222 done; \
17223 echo "Doing html in readline" ; \
17224 (cd readline && \
17225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17227 "RANLIB=$${RANLIB}" \
17228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17229 html) \
17230 || exit 1
17232 @endif readline
17234 .PHONY: maybe-TAGS-readline TAGS-readline
17235 maybe-TAGS-readline:
17236 @if readline
17237 maybe-TAGS-readline: TAGS-readline
17239 TAGS-readline: \
17240 configure-readline
17241 @[ -f ./readline/Makefile ] || exit 0; \
17242 r=`${PWD_COMMAND}`; export r; \
17243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17244 $(SET_LIB_PATH) \
17245 $(HOST_EXPORTS) \
17246 for flag in $(EXTRA_HOST_FLAGS) ; do \
17247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17248 done; \
17249 echo "Doing TAGS in readline" ; \
17250 (cd readline && \
17251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17253 "RANLIB=$${RANLIB}" \
17254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17255 TAGS) \
17256 || exit 1
17258 @endif readline
17260 .PHONY: maybe-install-info-readline install-info-readline
17261 maybe-install-info-readline:
17262 @if readline
17263 maybe-install-info-readline: install-info-readline
17265 install-info-readline: \
17266 configure-readline \
17267 info-readline
17268 @[ -f ./readline/Makefile ] || exit 0; \
17269 r=`${PWD_COMMAND}`; export r; \
17270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17271 $(SET_LIB_PATH) \
17272 $(HOST_EXPORTS) \
17273 for flag in $(EXTRA_HOST_FLAGS) ; do \
17274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17275 done; \
17276 echo "Doing install-info in readline" ; \
17277 (cd readline && \
17278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17280 "RANLIB=$${RANLIB}" \
17281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17282 install-info) \
17283 || exit 1
17285 @endif readline
17287 .PHONY: maybe-installcheck-readline installcheck-readline
17288 maybe-installcheck-readline:
17289 @if readline
17290 maybe-installcheck-readline: installcheck-readline
17292 installcheck-readline: \
17293 configure-readline
17294 @[ -f ./readline/Makefile ] || exit 0; \
17295 r=`${PWD_COMMAND}`; export r; \
17296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17297 $(SET_LIB_PATH) \
17298 $(HOST_EXPORTS) \
17299 for flag in $(EXTRA_HOST_FLAGS) ; do \
17300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17301 done; \
17302 echo "Doing installcheck in readline" ; \
17303 (cd readline && \
17304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17306 "RANLIB=$${RANLIB}" \
17307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17308 installcheck) \
17309 || exit 1
17311 @endif readline
17313 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
17314 maybe-mostlyclean-readline:
17315 @if readline
17316 maybe-mostlyclean-readline: mostlyclean-readline
17318 mostlyclean-readline:
17319 @[ -f ./readline/Makefile ] || exit 0; \
17320 r=`${PWD_COMMAND}`; export r; \
17321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17322 $(SET_LIB_PATH) \
17323 $(HOST_EXPORTS) \
17324 for flag in $(EXTRA_HOST_FLAGS) ; do \
17325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17326 done; \
17327 echo "Doing mostlyclean in readline" ; \
17328 (cd readline && \
17329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17331 "RANLIB=$${RANLIB}" \
17332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17333 mostlyclean) \
17334 || exit 1
17336 @endif readline
17338 .PHONY: maybe-clean-readline clean-readline
17339 maybe-clean-readline:
17340 @if readline
17341 maybe-clean-readline: clean-readline
17343 clean-readline:
17344 @[ -f ./readline/Makefile ] || exit 0; \
17345 r=`${PWD_COMMAND}`; export r; \
17346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17347 $(SET_LIB_PATH) \
17348 $(HOST_EXPORTS) \
17349 for flag in $(EXTRA_HOST_FLAGS) ; do \
17350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17351 done; \
17352 echo "Doing clean in readline" ; \
17353 (cd readline && \
17354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17356 "RANLIB=$${RANLIB}" \
17357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17358 clean) \
17359 || exit 1
17361 @endif readline
17363 .PHONY: maybe-distclean-readline distclean-readline
17364 maybe-distclean-readline:
17365 @if readline
17366 maybe-distclean-readline: distclean-readline
17368 distclean-readline:
17369 @[ -f ./readline/Makefile ] || exit 0; \
17370 r=`${PWD_COMMAND}`; export r; \
17371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17372 $(SET_LIB_PATH) \
17373 $(HOST_EXPORTS) \
17374 for flag in $(EXTRA_HOST_FLAGS) ; do \
17375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17376 done; \
17377 echo "Doing distclean in readline" ; \
17378 (cd readline && \
17379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17381 "RANLIB=$${RANLIB}" \
17382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17383 distclean) \
17384 || exit 1
17386 @endif readline
17388 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
17389 maybe-maintainer-clean-readline:
17390 @if readline
17391 maybe-maintainer-clean-readline: maintainer-clean-readline
17393 maintainer-clean-readline:
17394 @[ -f ./readline/Makefile ] || exit 0; \
17395 r=`${PWD_COMMAND}`; export r; \
17396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17397 $(SET_LIB_PATH) \
17398 $(HOST_EXPORTS) \
17399 for flag in $(EXTRA_HOST_FLAGS) ; do \
17400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17401 done; \
17402 echo "Doing maintainer-clean in readline" ; \
17403 (cd readline && \
17404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17406 "RANLIB=$${RANLIB}" \
17407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17408 maintainer-clean) \
17409 || exit 1
17411 @endif readline
17414 .PHONY: configure-release maybe-configure-release
17415 maybe-configure-release:
17416 @if release
17417 maybe-configure-release: configure-release
17418 configure-release:
17419 @test ! -f release/Makefile || exit 0; \
17420 [ -d release ] || mkdir release; \
17421 r=`${PWD_COMMAND}`; export r; \
17422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17423 $(HOST_EXPORTS) \
17424 echo Configuring in release; \
17425 cd release || exit 1; \
17426 case $(srcdir) in \
17427 \.) \
17428 srcdiroption="--srcdir=."; \
17429 libsrcdir=".";; \
17430 /* | [A-Za-z]:[\\/]*) \
17431 srcdiroption="--srcdir=$(srcdir)/release"; \
17432 libsrcdir="$$s/release";; \
17433 *) \
17434 srcdiroption="--srcdir=../$(srcdir)/release"; \
17435 libsrcdir="$$s/release";; \
17436 esac; \
17437 $(SHELL) $${libsrcdir}/configure \
17438 $(HOST_CONFIGARGS) $${srcdiroption} \
17439 || exit 1
17440 @endif release
17442 .PHONY: all-release maybe-all-release
17443 maybe-all-release:
17444 @if release
17445 TARGET-release=all
17446 maybe-all-release: all-release
17447 all-release: configure-release
17448 @r=`${PWD_COMMAND}`; export r; \
17449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17450 $(SET_LIB_PATH) \
17451 $(HOST_EXPORTS) \
17452 (cd release && $(MAKE) $(FLAGS_TO_PASS) \
17453 $(TARGET-release))
17454 @endif release
17456 .PHONY: check-release maybe-check-release
17457 maybe-check-release:
17458 @if release
17459 maybe-check-release: check-release
17461 check-release:
17463 @endif release
17465 .PHONY: install-release maybe-install-release
17466 maybe-install-release:
17467 @if release
17468 maybe-install-release: install-release
17470 install-release:
17472 @endif release
17474 # Other targets (info, dvi, etc.)
17476 .PHONY: maybe-info-release info-release
17477 maybe-info-release:
17478 @if release
17479 maybe-info-release: info-release
17481 info-release: \
17482 configure-release
17483 @[ -f ./release/Makefile ] || exit 0; \
17484 r=`${PWD_COMMAND}`; export r; \
17485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17486 $(SET_LIB_PATH) \
17487 $(HOST_EXPORTS) \
17488 for flag in $(EXTRA_HOST_FLAGS) ; do \
17489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17490 done; \
17491 echo "Doing info in release" ; \
17492 (cd release && \
17493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17495 "RANLIB=$${RANLIB}" \
17496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17497 info) \
17498 || exit 1
17500 @endif release
17502 .PHONY: maybe-dvi-release dvi-release
17503 maybe-dvi-release:
17504 @if release
17505 maybe-dvi-release: dvi-release
17507 dvi-release: \
17508 configure-release
17509 @[ -f ./release/Makefile ] || exit 0; \
17510 r=`${PWD_COMMAND}`; export r; \
17511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17512 $(SET_LIB_PATH) \
17513 $(HOST_EXPORTS) \
17514 for flag in $(EXTRA_HOST_FLAGS) ; do \
17515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17516 done; \
17517 echo "Doing dvi in release" ; \
17518 (cd release && \
17519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17521 "RANLIB=$${RANLIB}" \
17522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17523 dvi) \
17524 || exit 1
17526 @endif release
17528 .PHONY: maybe-html-release html-release
17529 maybe-html-release:
17530 @if release
17531 maybe-html-release: html-release
17533 html-release: \
17534 configure-release
17535 @[ -f ./release/Makefile ] || exit 0; \
17536 r=`${PWD_COMMAND}`; export r; \
17537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17538 $(SET_LIB_PATH) \
17539 $(HOST_EXPORTS) \
17540 for flag in $(EXTRA_HOST_FLAGS) ; do \
17541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17542 done; \
17543 echo "Doing html in release" ; \
17544 (cd release && \
17545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17547 "RANLIB=$${RANLIB}" \
17548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17549 html) \
17550 || exit 1
17552 @endif release
17554 .PHONY: maybe-TAGS-release TAGS-release
17555 maybe-TAGS-release:
17556 @if release
17557 maybe-TAGS-release: TAGS-release
17559 TAGS-release: \
17560 configure-release
17561 @[ -f ./release/Makefile ] || exit 0; \
17562 r=`${PWD_COMMAND}`; export r; \
17563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17564 $(SET_LIB_PATH) \
17565 $(HOST_EXPORTS) \
17566 for flag in $(EXTRA_HOST_FLAGS) ; do \
17567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17568 done; \
17569 echo "Doing TAGS in release" ; \
17570 (cd release && \
17571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17573 "RANLIB=$${RANLIB}" \
17574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17575 TAGS) \
17576 || exit 1
17578 @endif release
17580 .PHONY: maybe-install-info-release install-info-release
17581 maybe-install-info-release:
17582 @if release
17583 maybe-install-info-release: install-info-release
17585 install-info-release: \
17586 configure-release \
17587 info-release
17588 @[ -f ./release/Makefile ] || exit 0; \
17589 r=`${PWD_COMMAND}`; export r; \
17590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17591 $(SET_LIB_PATH) \
17592 $(HOST_EXPORTS) \
17593 for flag in $(EXTRA_HOST_FLAGS) ; do \
17594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17595 done; \
17596 echo "Doing install-info in release" ; \
17597 (cd release && \
17598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17600 "RANLIB=$${RANLIB}" \
17601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17602 install-info) \
17603 || exit 1
17605 @endif release
17607 .PHONY: maybe-installcheck-release installcheck-release
17608 maybe-installcheck-release:
17609 @if release
17610 maybe-installcheck-release: installcheck-release
17612 installcheck-release: \
17613 configure-release
17614 @[ -f ./release/Makefile ] || exit 0; \
17615 r=`${PWD_COMMAND}`; export r; \
17616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17617 $(SET_LIB_PATH) \
17618 $(HOST_EXPORTS) \
17619 for flag in $(EXTRA_HOST_FLAGS) ; do \
17620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17621 done; \
17622 echo "Doing installcheck in release" ; \
17623 (cd release && \
17624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17626 "RANLIB=$${RANLIB}" \
17627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17628 installcheck) \
17629 || exit 1
17631 @endif release
17633 .PHONY: maybe-mostlyclean-release mostlyclean-release
17634 maybe-mostlyclean-release:
17635 @if release
17636 maybe-mostlyclean-release: mostlyclean-release
17638 mostlyclean-release:
17639 @[ -f ./release/Makefile ] || exit 0; \
17640 r=`${PWD_COMMAND}`; export r; \
17641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17642 $(SET_LIB_PATH) \
17643 $(HOST_EXPORTS) \
17644 for flag in $(EXTRA_HOST_FLAGS) ; do \
17645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17646 done; \
17647 echo "Doing mostlyclean in release" ; \
17648 (cd release && \
17649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17651 "RANLIB=$${RANLIB}" \
17652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17653 mostlyclean) \
17654 || exit 1
17656 @endif release
17658 .PHONY: maybe-clean-release clean-release
17659 maybe-clean-release:
17660 @if release
17661 maybe-clean-release: clean-release
17663 clean-release:
17664 @[ -f ./release/Makefile ] || exit 0; \
17665 r=`${PWD_COMMAND}`; export r; \
17666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17667 $(SET_LIB_PATH) \
17668 $(HOST_EXPORTS) \
17669 for flag in $(EXTRA_HOST_FLAGS) ; do \
17670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17671 done; \
17672 echo "Doing clean in release" ; \
17673 (cd release && \
17674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17676 "RANLIB=$${RANLIB}" \
17677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17678 clean) \
17679 || exit 1
17681 @endif release
17683 .PHONY: maybe-distclean-release distclean-release
17684 maybe-distclean-release:
17685 @if release
17686 maybe-distclean-release: distclean-release
17688 distclean-release:
17689 @[ -f ./release/Makefile ] || exit 0; \
17690 r=`${PWD_COMMAND}`; export r; \
17691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17692 $(SET_LIB_PATH) \
17693 $(HOST_EXPORTS) \
17694 for flag in $(EXTRA_HOST_FLAGS) ; do \
17695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17696 done; \
17697 echo "Doing distclean in release" ; \
17698 (cd release && \
17699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17701 "RANLIB=$${RANLIB}" \
17702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17703 distclean) \
17704 || exit 1
17706 @endif release
17708 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
17709 maybe-maintainer-clean-release:
17710 @if release
17711 maybe-maintainer-clean-release: maintainer-clean-release
17713 maintainer-clean-release:
17714 @[ -f ./release/Makefile ] || exit 0; \
17715 r=`${PWD_COMMAND}`; export r; \
17716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17717 $(SET_LIB_PATH) \
17718 $(HOST_EXPORTS) \
17719 for flag in $(EXTRA_HOST_FLAGS) ; do \
17720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17721 done; \
17722 echo "Doing maintainer-clean in release" ; \
17723 (cd release && \
17724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17726 "RANLIB=$${RANLIB}" \
17727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17728 maintainer-clean) \
17729 || exit 1
17731 @endif release
17734 .PHONY: configure-recode maybe-configure-recode
17735 maybe-configure-recode:
17736 @if recode
17737 maybe-configure-recode: configure-recode
17738 configure-recode:
17739 @test ! -f recode/Makefile || exit 0; \
17740 [ -d recode ] || mkdir recode; \
17741 r=`${PWD_COMMAND}`; export r; \
17742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17743 $(HOST_EXPORTS) \
17744 echo Configuring in recode; \
17745 cd recode || exit 1; \
17746 case $(srcdir) in \
17747 \.) \
17748 srcdiroption="--srcdir=."; \
17749 libsrcdir=".";; \
17750 /* | [A-Za-z]:[\\/]*) \
17751 srcdiroption="--srcdir=$(srcdir)/recode"; \
17752 libsrcdir="$$s/recode";; \
17753 *) \
17754 srcdiroption="--srcdir=../$(srcdir)/recode"; \
17755 libsrcdir="$$s/recode";; \
17756 esac; \
17757 $(SHELL) $${libsrcdir}/configure \
17758 $(HOST_CONFIGARGS) $${srcdiroption} \
17759 || exit 1
17760 @endif recode
17762 .PHONY: all-recode maybe-all-recode
17763 maybe-all-recode:
17764 @if recode
17765 TARGET-recode=all
17766 maybe-all-recode: all-recode
17767 all-recode: configure-recode
17768 @r=`${PWD_COMMAND}`; export r; \
17769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17770 $(SET_LIB_PATH) \
17771 $(HOST_EXPORTS) \
17772 (cd recode && $(MAKE) $(FLAGS_TO_PASS) \
17773 $(TARGET-recode))
17774 @endif recode
17776 .PHONY: check-recode maybe-check-recode
17777 maybe-check-recode:
17778 @if recode
17779 maybe-check-recode: check-recode
17781 check-recode:
17782 @r=`${PWD_COMMAND}`; export r; \
17783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17784 $(SET_LIB_PATH) \
17785 $(HOST_EXPORTS) \
17786 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
17788 @endif recode
17790 .PHONY: install-recode maybe-install-recode
17791 maybe-install-recode:
17792 @if recode
17793 maybe-install-recode: install-recode
17795 install-recode: installdirs
17796 @r=`${PWD_COMMAND}`; export r; \
17797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17798 $(SET_LIB_PATH) \
17799 $(HOST_EXPORTS) \
17800 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
17802 @endif recode
17804 # Other targets (info, dvi, etc.)
17806 .PHONY: maybe-info-recode info-recode
17807 maybe-info-recode:
17808 @if recode
17809 maybe-info-recode: info-recode
17811 info-recode: \
17812 configure-recode
17813 @[ -f ./recode/Makefile ] || exit 0; \
17814 r=`${PWD_COMMAND}`; export r; \
17815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17816 $(SET_LIB_PATH) \
17817 $(HOST_EXPORTS) \
17818 for flag in $(EXTRA_HOST_FLAGS) ; do \
17819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17820 done; \
17821 echo "Doing info in recode" ; \
17822 (cd recode && \
17823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17825 "RANLIB=$${RANLIB}" \
17826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17827 info) \
17828 || exit 1
17830 @endif recode
17832 .PHONY: maybe-dvi-recode dvi-recode
17833 maybe-dvi-recode:
17834 @if recode
17835 maybe-dvi-recode: dvi-recode
17837 dvi-recode: \
17838 configure-recode
17839 @[ -f ./recode/Makefile ] || exit 0; \
17840 r=`${PWD_COMMAND}`; export r; \
17841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17842 $(SET_LIB_PATH) \
17843 $(HOST_EXPORTS) \
17844 for flag in $(EXTRA_HOST_FLAGS) ; do \
17845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17846 done; \
17847 echo "Doing dvi in recode" ; \
17848 (cd recode && \
17849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17851 "RANLIB=$${RANLIB}" \
17852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17853 dvi) \
17854 || exit 1
17856 @endif recode
17858 .PHONY: maybe-html-recode html-recode
17859 maybe-html-recode:
17860 @if recode
17861 maybe-html-recode: html-recode
17863 html-recode: \
17864 configure-recode
17865 @[ -f ./recode/Makefile ] || exit 0; \
17866 r=`${PWD_COMMAND}`; export r; \
17867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17868 $(SET_LIB_PATH) \
17869 $(HOST_EXPORTS) \
17870 for flag in $(EXTRA_HOST_FLAGS) ; do \
17871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17872 done; \
17873 echo "Doing html in recode" ; \
17874 (cd recode && \
17875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17877 "RANLIB=$${RANLIB}" \
17878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17879 html) \
17880 || exit 1
17882 @endif recode
17884 .PHONY: maybe-TAGS-recode TAGS-recode
17885 maybe-TAGS-recode:
17886 @if recode
17887 maybe-TAGS-recode: TAGS-recode
17889 TAGS-recode: \
17890 configure-recode
17891 @[ -f ./recode/Makefile ] || exit 0; \
17892 r=`${PWD_COMMAND}`; export r; \
17893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17894 $(SET_LIB_PATH) \
17895 $(HOST_EXPORTS) \
17896 for flag in $(EXTRA_HOST_FLAGS) ; do \
17897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17898 done; \
17899 echo "Doing TAGS in recode" ; \
17900 (cd recode && \
17901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17903 "RANLIB=$${RANLIB}" \
17904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17905 TAGS) \
17906 || exit 1
17908 @endif recode
17910 .PHONY: maybe-install-info-recode install-info-recode
17911 maybe-install-info-recode:
17912 @if recode
17913 maybe-install-info-recode: install-info-recode
17915 install-info-recode: \
17916 configure-recode \
17917 info-recode
17918 @[ -f ./recode/Makefile ] || exit 0; \
17919 r=`${PWD_COMMAND}`; export r; \
17920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17921 $(SET_LIB_PATH) \
17922 $(HOST_EXPORTS) \
17923 for flag in $(EXTRA_HOST_FLAGS) ; do \
17924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17925 done; \
17926 echo "Doing install-info in recode" ; \
17927 (cd recode && \
17928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17930 "RANLIB=$${RANLIB}" \
17931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17932 install-info) \
17933 || exit 1
17935 @endif recode
17937 .PHONY: maybe-installcheck-recode installcheck-recode
17938 maybe-installcheck-recode:
17939 @if recode
17940 maybe-installcheck-recode: installcheck-recode
17942 installcheck-recode: \
17943 configure-recode
17944 @[ -f ./recode/Makefile ] || exit 0; \
17945 r=`${PWD_COMMAND}`; export r; \
17946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17947 $(SET_LIB_PATH) \
17948 $(HOST_EXPORTS) \
17949 for flag in $(EXTRA_HOST_FLAGS) ; do \
17950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17951 done; \
17952 echo "Doing installcheck in recode" ; \
17953 (cd recode && \
17954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17956 "RANLIB=$${RANLIB}" \
17957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17958 installcheck) \
17959 || exit 1
17961 @endif recode
17963 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
17964 maybe-mostlyclean-recode:
17965 @if recode
17966 maybe-mostlyclean-recode: mostlyclean-recode
17968 mostlyclean-recode:
17969 @[ -f ./recode/Makefile ] || exit 0; \
17970 r=`${PWD_COMMAND}`; export r; \
17971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17972 $(SET_LIB_PATH) \
17973 $(HOST_EXPORTS) \
17974 for flag in $(EXTRA_HOST_FLAGS) ; do \
17975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17976 done; \
17977 echo "Doing mostlyclean in recode" ; \
17978 (cd recode && \
17979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17981 "RANLIB=$${RANLIB}" \
17982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17983 mostlyclean) \
17984 || exit 1
17986 @endif recode
17988 .PHONY: maybe-clean-recode clean-recode
17989 maybe-clean-recode:
17990 @if recode
17991 maybe-clean-recode: clean-recode
17993 clean-recode:
17994 @[ -f ./recode/Makefile ] || exit 0; \
17995 r=`${PWD_COMMAND}`; export r; \
17996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17997 $(SET_LIB_PATH) \
17998 $(HOST_EXPORTS) \
17999 for flag in $(EXTRA_HOST_FLAGS) ; do \
18000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18001 done; \
18002 echo "Doing clean in recode" ; \
18003 (cd recode && \
18004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18006 "RANLIB=$${RANLIB}" \
18007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18008 clean) \
18009 || exit 1
18011 @endif recode
18013 .PHONY: maybe-distclean-recode distclean-recode
18014 maybe-distclean-recode:
18015 @if recode
18016 maybe-distclean-recode: distclean-recode
18018 distclean-recode:
18019 @[ -f ./recode/Makefile ] || exit 0; \
18020 r=`${PWD_COMMAND}`; export r; \
18021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18022 $(SET_LIB_PATH) \
18023 $(HOST_EXPORTS) \
18024 for flag in $(EXTRA_HOST_FLAGS) ; do \
18025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18026 done; \
18027 echo "Doing distclean in recode" ; \
18028 (cd recode && \
18029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18031 "RANLIB=$${RANLIB}" \
18032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18033 distclean) \
18034 || exit 1
18036 @endif recode
18038 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
18039 maybe-maintainer-clean-recode:
18040 @if recode
18041 maybe-maintainer-clean-recode: maintainer-clean-recode
18043 maintainer-clean-recode:
18044 @[ -f ./recode/Makefile ] || exit 0; \
18045 r=`${PWD_COMMAND}`; export r; \
18046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18047 $(SET_LIB_PATH) \
18048 $(HOST_EXPORTS) \
18049 for flag in $(EXTRA_HOST_FLAGS) ; do \
18050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18051 done; \
18052 echo "Doing maintainer-clean in recode" ; \
18053 (cd recode && \
18054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18056 "RANLIB=$${RANLIB}" \
18057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18058 maintainer-clean) \
18059 || exit 1
18061 @endif recode
18064 .PHONY: configure-sed maybe-configure-sed
18065 maybe-configure-sed:
18066 @if sed
18067 maybe-configure-sed: configure-sed
18068 configure-sed:
18069 @test ! -f sed/Makefile || exit 0; \
18070 [ -d sed ] || mkdir sed; \
18071 r=`${PWD_COMMAND}`; export r; \
18072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18073 $(HOST_EXPORTS) \
18074 echo Configuring in sed; \
18075 cd sed || exit 1; \
18076 case $(srcdir) in \
18077 \.) \
18078 srcdiroption="--srcdir=."; \
18079 libsrcdir=".";; \
18080 /* | [A-Za-z]:[\\/]*) \
18081 srcdiroption="--srcdir=$(srcdir)/sed"; \
18082 libsrcdir="$$s/sed";; \
18083 *) \
18084 srcdiroption="--srcdir=../$(srcdir)/sed"; \
18085 libsrcdir="$$s/sed";; \
18086 esac; \
18087 $(SHELL) $${libsrcdir}/configure \
18088 $(HOST_CONFIGARGS) $${srcdiroption} \
18089 || exit 1
18090 @endif sed
18092 .PHONY: all-sed maybe-all-sed
18093 maybe-all-sed:
18094 @if sed
18095 TARGET-sed=all
18096 maybe-all-sed: all-sed
18097 all-sed: configure-sed
18098 @r=`${PWD_COMMAND}`; export r; \
18099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18100 $(SET_LIB_PATH) \
18101 $(HOST_EXPORTS) \
18102 (cd sed && $(MAKE) $(FLAGS_TO_PASS) \
18103 $(TARGET-sed))
18104 @endif sed
18106 .PHONY: check-sed maybe-check-sed
18107 maybe-check-sed:
18108 @if sed
18109 maybe-check-sed: check-sed
18111 check-sed:
18112 @r=`${PWD_COMMAND}`; export r; \
18113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18114 $(SET_LIB_PATH) \
18115 $(HOST_EXPORTS) \
18116 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
18118 @endif sed
18120 .PHONY: install-sed maybe-install-sed
18121 maybe-install-sed:
18122 @if sed
18123 maybe-install-sed: install-sed
18125 install-sed: installdirs
18126 @r=`${PWD_COMMAND}`; export r; \
18127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18128 $(SET_LIB_PATH) \
18129 $(HOST_EXPORTS) \
18130 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
18132 @endif sed
18134 # Other targets (info, dvi, etc.)
18136 .PHONY: maybe-info-sed info-sed
18137 maybe-info-sed:
18138 @if sed
18139 maybe-info-sed: info-sed
18141 info-sed: \
18142 configure-sed
18143 @[ -f ./sed/Makefile ] || exit 0; \
18144 r=`${PWD_COMMAND}`; export r; \
18145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18146 $(SET_LIB_PATH) \
18147 $(HOST_EXPORTS) \
18148 for flag in $(EXTRA_HOST_FLAGS) ; do \
18149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18150 done; \
18151 echo "Doing info in sed" ; \
18152 (cd sed && \
18153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18155 "RANLIB=$${RANLIB}" \
18156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18157 info) \
18158 || exit 1
18160 @endif sed
18162 .PHONY: maybe-dvi-sed dvi-sed
18163 maybe-dvi-sed:
18164 @if sed
18165 maybe-dvi-sed: dvi-sed
18167 dvi-sed: \
18168 configure-sed
18169 @[ -f ./sed/Makefile ] || exit 0; \
18170 r=`${PWD_COMMAND}`; export r; \
18171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18172 $(SET_LIB_PATH) \
18173 $(HOST_EXPORTS) \
18174 for flag in $(EXTRA_HOST_FLAGS) ; do \
18175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18176 done; \
18177 echo "Doing dvi in sed" ; \
18178 (cd sed && \
18179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18181 "RANLIB=$${RANLIB}" \
18182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18183 dvi) \
18184 || exit 1
18186 @endif sed
18188 .PHONY: maybe-html-sed html-sed
18189 maybe-html-sed:
18190 @if sed
18191 maybe-html-sed: html-sed
18193 html-sed: \
18194 configure-sed
18195 @[ -f ./sed/Makefile ] || exit 0; \
18196 r=`${PWD_COMMAND}`; export r; \
18197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18198 $(SET_LIB_PATH) \
18199 $(HOST_EXPORTS) \
18200 for flag in $(EXTRA_HOST_FLAGS) ; do \
18201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18202 done; \
18203 echo "Doing html in sed" ; \
18204 (cd sed && \
18205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18207 "RANLIB=$${RANLIB}" \
18208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18209 html) \
18210 || exit 1
18212 @endif sed
18214 .PHONY: maybe-TAGS-sed TAGS-sed
18215 maybe-TAGS-sed:
18216 @if sed
18217 maybe-TAGS-sed: TAGS-sed
18219 TAGS-sed: \
18220 configure-sed
18221 @[ -f ./sed/Makefile ] || exit 0; \
18222 r=`${PWD_COMMAND}`; export r; \
18223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18224 $(SET_LIB_PATH) \
18225 $(HOST_EXPORTS) \
18226 for flag in $(EXTRA_HOST_FLAGS) ; do \
18227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18228 done; \
18229 echo "Doing TAGS in sed" ; \
18230 (cd sed && \
18231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18233 "RANLIB=$${RANLIB}" \
18234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18235 TAGS) \
18236 || exit 1
18238 @endif sed
18240 .PHONY: maybe-install-info-sed install-info-sed
18241 maybe-install-info-sed:
18242 @if sed
18243 maybe-install-info-sed: install-info-sed
18245 install-info-sed: \
18246 configure-sed \
18247 info-sed
18248 @[ -f ./sed/Makefile ] || exit 0; \
18249 r=`${PWD_COMMAND}`; export r; \
18250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18251 $(SET_LIB_PATH) \
18252 $(HOST_EXPORTS) \
18253 for flag in $(EXTRA_HOST_FLAGS) ; do \
18254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18255 done; \
18256 echo "Doing install-info in sed" ; \
18257 (cd sed && \
18258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18260 "RANLIB=$${RANLIB}" \
18261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18262 install-info) \
18263 || exit 1
18265 @endif sed
18267 .PHONY: maybe-installcheck-sed installcheck-sed
18268 maybe-installcheck-sed:
18269 @if sed
18270 maybe-installcheck-sed: installcheck-sed
18272 installcheck-sed: \
18273 configure-sed
18274 @[ -f ./sed/Makefile ] || exit 0; \
18275 r=`${PWD_COMMAND}`; export r; \
18276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18277 $(SET_LIB_PATH) \
18278 $(HOST_EXPORTS) \
18279 for flag in $(EXTRA_HOST_FLAGS) ; do \
18280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18281 done; \
18282 echo "Doing installcheck in sed" ; \
18283 (cd sed && \
18284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18286 "RANLIB=$${RANLIB}" \
18287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18288 installcheck) \
18289 || exit 1
18291 @endif sed
18293 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
18294 maybe-mostlyclean-sed:
18295 @if sed
18296 maybe-mostlyclean-sed: mostlyclean-sed
18298 mostlyclean-sed:
18299 @[ -f ./sed/Makefile ] || exit 0; \
18300 r=`${PWD_COMMAND}`; export r; \
18301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18302 $(SET_LIB_PATH) \
18303 $(HOST_EXPORTS) \
18304 for flag in $(EXTRA_HOST_FLAGS) ; do \
18305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18306 done; \
18307 echo "Doing mostlyclean in sed" ; \
18308 (cd sed && \
18309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18311 "RANLIB=$${RANLIB}" \
18312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18313 mostlyclean) \
18314 || exit 1
18316 @endif sed
18318 .PHONY: maybe-clean-sed clean-sed
18319 maybe-clean-sed:
18320 @if sed
18321 maybe-clean-sed: clean-sed
18323 clean-sed:
18324 @[ -f ./sed/Makefile ] || exit 0; \
18325 r=`${PWD_COMMAND}`; export r; \
18326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18327 $(SET_LIB_PATH) \
18328 $(HOST_EXPORTS) \
18329 for flag in $(EXTRA_HOST_FLAGS) ; do \
18330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18331 done; \
18332 echo "Doing clean in sed" ; \
18333 (cd sed && \
18334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18336 "RANLIB=$${RANLIB}" \
18337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18338 clean) \
18339 || exit 1
18341 @endif sed
18343 .PHONY: maybe-distclean-sed distclean-sed
18344 maybe-distclean-sed:
18345 @if sed
18346 maybe-distclean-sed: distclean-sed
18348 distclean-sed:
18349 @[ -f ./sed/Makefile ] || exit 0; \
18350 r=`${PWD_COMMAND}`; export r; \
18351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18352 $(SET_LIB_PATH) \
18353 $(HOST_EXPORTS) \
18354 for flag in $(EXTRA_HOST_FLAGS) ; do \
18355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18356 done; \
18357 echo "Doing distclean in sed" ; \
18358 (cd sed && \
18359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18361 "RANLIB=$${RANLIB}" \
18362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18363 distclean) \
18364 || exit 1
18366 @endif sed
18368 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
18369 maybe-maintainer-clean-sed:
18370 @if sed
18371 maybe-maintainer-clean-sed: maintainer-clean-sed
18373 maintainer-clean-sed:
18374 @[ -f ./sed/Makefile ] || exit 0; \
18375 r=`${PWD_COMMAND}`; export r; \
18376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18377 $(SET_LIB_PATH) \
18378 $(HOST_EXPORTS) \
18379 for flag in $(EXTRA_HOST_FLAGS) ; do \
18380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18381 done; \
18382 echo "Doing maintainer-clean in sed" ; \
18383 (cd sed && \
18384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18386 "RANLIB=$${RANLIB}" \
18387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18388 maintainer-clean) \
18389 || exit 1
18391 @endif sed
18394 .PHONY: configure-send-pr maybe-configure-send-pr
18395 maybe-configure-send-pr:
18396 @if send-pr
18397 maybe-configure-send-pr: configure-send-pr
18398 configure-send-pr:
18399 @test ! -f send-pr/Makefile || exit 0; \
18400 [ -d send-pr ] || mkdir send-pr; \
18401 r=`${PWD_COMMAND}`; export r; \
18402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18403 $(HOST_EXPORTS) \
18404 echo Configuring in send-pr; \
18405 cd send-pr || exit 1; \
18406 case $(srcdir) in \
18407 \.) \
18408 srcdiroption="--srcdir=."; \
18409 libsrcdir=".";; \
18410 /* | [A-Za-z]:[\\/]*) \
18411 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
18412 libsrcdir="$$s/send-pr";; \
18413 *) \
18414 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
18415 libsrcdir="$$s/send-pr";; \
18416 esac; \
18417 $(SHELL) $${libsrcdir}/configure \
18418 $(HOST_CONFIGARGS) $${srcdiroption} \
18419 || exit 1
18420 @endif send-pr
18422 .PHONY: all-send-pr maybe-all-send-pr
18423 maybe-all-send-pr:
18424 @if send-pr
18425 TARGET-send-pr=all
18426 maybe-all-send-pr: all-send-pr
18427 all-send-pr: configure-send-pr
18428 @r=`${PWD_COMMAND}`; export r; \
18429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18430 $(SET_LIB_PATH) \
18431 $(HOST_EXPORTS) \
18432 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) \
18433 $(TARGET-send-pr))
18434 @endif send-pr
18436 .PHONY: check-send-pr maybe-check-send-pr
18437 maybe-check-send-pr:
18438 @if send-pr
18439 maybe-check-send-pr: check-send-pr
18441 check-send-pr:
18442 @r=`${PWD_COMMAND}`; export r; \
18443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18444 $(SET_LIB_PATH) \
18445 $(HOST_EXPORTS) \
18446 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
18448 @endif send-pr
18450 .PHONY: install-send-pr maybe-install-send-pr
18451 maybe-install-send-pr:
18452 @if send-pr
18453 maybe-install-send-pr: install-send-pr
18455 install-send-pr: installdirs
18456 @r=`${PWD_COMMAND}`; export r; \
18457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18458 $(SET_LIB_PATH) \
18459 $(HOST_EXPORTS) \
18460 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
18462 @endif send-pr
18464 # Other targets (info, dvi, etc.)
18466 .PHONY: maybe-info-send-pr info-send-pr
18467 maybe-info-send-pr:
18468 @if send-pr
18469 maybe-info-send-pr: info-send-pr
18471 info-send-pr: \
18472 configure-send-pr
18473 @[ -f ./send-pr/Makefile ] || exit 0; \
18474 r=`${PWD_COMMAND}`; export r; \
18475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18476 $(SET_LIB_PATH) \
18477 $(HOST_EXPORTS) \
18478 for flag in $(EXTRA_HOST_FLAGS) ; do \
18479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18480 done; \
18481 echo "Doing info in send-pr" ; \
18482 (cd send-pr && \
18483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18485 "RANLIB=$${RANLIB}" \
18486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18487 info) \
18488 || exit 1
18490 @endif send-pr
18492 .PHONY: maybe-dvi-send-pr dvi-send-pr
18493 maybe-dvi-send-pr:
18494 @if send-pr
18495 maybe-dvi-send-pr: dvi-send-pr
18497 dvi-send-pr: \
18498 configure-send-pr
18499 @[ -f ./send-pr/Makefile ] || exit 0; \
18500 r=`${PWD_COMMAND}`; export r; \
18501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18502 $(SET_LIB_PATH) \
18503 $(HOST_EXPORTS) \
18504 for flag in $(EXTRA_HOST_FLAGS) ; do \
18505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18506 done; \
18507 echo "Doing dvi in send-pr" ; \
18508 (cd send-pr && \
18509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18511 "RANLIB=$${RANLIB}" \
18512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18513 dvi) \
18514 || exit 1
18516 @endif send-pr
18518 .PHONY: maybe-html-send-pr html-send-pr
18519 maybe-html-send-pr:
18520 @if send-pr
18521 maybe-html-send-pr: html-send-pr
18523 html-send-pr: \
18524 configure-send-pr
18525 @[ -f ./send-pr/Makefile ] || exit 0; \
18526 r=`${PWD_COMMAND}`; export r; \
18527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18528 $(SET_LIB_PATH) \
18529 $(HOST_EXPORTS) \
18530 for flag in $(EXTRA_HOST_FLAGS) ; do \
18531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18532 done; \
18533 echo "Doing html in send-pr" ; \
18534 (cd send-pr && \
18535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18537 "RANLIB=$${RANLIB}" \
18538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18539 html) \
18540 || exit 1
18542 @endif send-pr
18544 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
18545 maybe-TAGS-send-pr:
18546 @if send-pr
18547 maybe-TAGS-send-pr: TAGS-send-pr
18549 TAGS-send-pr: \
18550 configure-send-pr
18551 @[ -f ./send-pr/Makefile ] || exit 0; \
18552 r=`${PWD_COMMAND}`; export r; \
18553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18554 $(SET_LIB_PATH) \
18555 $(HOST_EXPORTS) \
18556 for flag in $(EXTRA_HOST_FLAGS) ; do \
18557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18558 done; \
18559 echo "Doing TAGS in send-pr" ; \
18560 (cd send-pr && \
18561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18563 "RANLIB=$${RANLIB}" \
18564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18565 TAGS) \
18566 || exit 1
18568 @endif send-pr
18570 .PHONY: maybe-install-info-send-pr install-info-send-pr
18571 maybe-install-info-send-pr:
18572 @if send-pr
18573 maybe-install-info-send-pr: install-info-send-pr
18575 install-info-send-pr: \
18576 configure-send-pr \
18577 info-send-pr
18578 @[ -f ./send-pr/Makefile ] || exit 0; \
18579 r=`${PWD_COMMAND}`; export r; \
18580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18581 $(SET_LIB_PATH) \
18582 $(HOST_EXPORTS) \
18583 for flag in $(EXTRA_HOST_FLAGS) ; do \
18584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18585 done; \
18586 echo "Doing install-info in send-pr" ; \
18587 (cd send-pr && \
18588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18590 "RANLIB=$${RANLIB}" \
18591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18592 install-info) \
18593 || exit 1
18595 @endif send-pr
18597 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
18598 maybe-installcheck-send-pr:
18599 @if send-pr
18600 maybe-installcheck-send-pr: installcheck-send-pr
18602 installcheck-send-pr: \
18603 configure-send-pr
18604 @[ -f ./send-pr/Makefile ] || exit 0; \
18605 r=`${PWD_COMMAND}`; export r; \
18606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18607 $(SET_LIB_PATH) \
18608 $(HOST_EXPORTS) \
18609 for flag in $(EXTRA_HOST_FLAGS) ; do \
18610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18611 done; \
18612 echo "Doing installcheck in send-pr" ; \
18613 (cd send-pr && \
18614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18616 "RANLIB=$${RANLIB}" \
18617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18618 installcheck) \
18619 || exit 1
18621 @endif send-pr
18623 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
18624 maybe-mostlyclean-send-pr:
18625 @if send-pr
18626 maybe-mostlyclean-send-pr: mostlyclean-send-pr
18628 mostlyclean-send-pr:
18629 @[ -f ./send-pr/Makefile ] || exit 0; \
18630 r=`${PWD_COMMAND}`; export r; \
18631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18632 $(SET_LIB_PATH) \
18633 $(HOST_EXPORTS) \
18634 for flag in $(EXTRA_HOST_FLAGS) ; do \
18635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18636 done; \
18637 echo "Doing mostlyclean in send-pr" ; \
18638 (cd send-pr && \
18639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18641 "RANLIB=$${RANLIB}" \
18642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18643 mostlyclean) \
18644 || exit 1
18646 @endif send-pr
18648 .PHONY: maybe-clean-send-pr clean-send-pr
18649 maybe-clean-send-pr:
18650 @if send-pr
18651 maybe-clean-send-pr: clean-send-pr
18653 clean-send-pr:
18654 @[ -f ./send-pr/Makefile ] || exit 0; \
18655 r=`${PWD_COMMAND}`; export r; \
18656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18657 $(SET_LIB_PATH) \
18658 $(HOST_EXPORTS) \
18659 for flag in $(EXTRA_HOST_FLAGS) ; do \
18660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18661 done; \
18662 echo "Doing clean in send-pr" ; \
18663 (cd send-pr && \
18664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18666 "RANLIB=$${RANLIB}" \
18667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18668 clean) \
18669 || exit 1
18671 @endif send-pr
18673 .PHONY: maybe-distclean-send-pr distclean-send-pr
18674 maybe-distclean-send-pr:
18675 @if send-pr
18676 maybe-distclean-send-pr: distclean-send-pr
18678 distclean-send-pr:
18679 @[ -f ./send-pr/Makefile ] || exit 0; \
18680 r=`${PWD_COMMAND}`; export r; \
18681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18682 $(SET_LIB_PATH) \
18683 $(HOST_EXPORTS) \
18684 for flag in $(EXTRA_HOST_FLAGS) ; do \
18685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18686 done; \
18687 echo "Doing distclean in send-pr" ; \
18688 (cd send-pr && \
18689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18691 "RANLIB=$${RANLIB}" \
18692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18693 distclean) \
18694 || exit 1
18696 @endif send-pr
18698 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
18699 maybe-maintainer-clean-send-pr:
18700 @if send-pr
18701 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
18703 maintainer-clean-send-pr:
18704 @[ -f ./send-pr/Makefile ] || exit 0; \
18705 r=`${PWD_COMMAND}`; export r; \
18706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18707 $(SET_LIB_PATH) \
18708 $(HOST_EXPORTS) \
18709 for flag in $(EXTRA_HOST_FLAGS) ; do \
18710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18711 done; \
18712 echo "Doing maintainer-clean in send-pr" ; \
18713 (cd send-pr && \
18714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18716 "RANLIB=$${RANLIB}" \
18717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18718 maintainer-clean) \
18719 || exit 1
18721 @endif send-pr
18724 .PHONY: configure-shellutils maybe-configure-shellutils
18725 maybe-configure-shellutils:
18726 @if shellutils
18727 maybe-configure-shellutils: configure-shellutils
18728 configure-shellutils:
18729 @test ! -f shellutils/Makefile || exit 0; \
18730 [ -d shellutils ] || mkdir shellutils; \
18731 r=`${PWD_COMMAND}`; export r; \
18732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18733 $(HOST_EXPORTS) \
18734 echo Configuring in shellutils; \
18735 cd shellutils || exit 1; \
18736 case $(srcdir) in \
18737 \.) \
18738 srcdiroption="--srcdir=."; \
18739 libsrcdir=".";; \
18740 /* | [A-Za-z]:[\\/]*) \
18741 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
18742 libsrcdir="$$s/shellutils";; \
18743 *) \
18744 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
18745 libsrcdir="$$s/shellutils";; \
18746 esac; \
18747 $(SHELL) $${libsrcdir}/configure \
18748 $(HOST_CONFIGARGS) $${srcdiroption} \
18749 || exit 1
18750 @endif shellutils
18752 .PHONY: all-shellutils maybe-all-shellutils
18753 maybe-all-shellutils:
18754 @if shellutils
18755 TARGET-shellutils=all
18756 maybe-all-shellutils: all-shellutils
18757 all-shellutils: configure-shellutils
18758 @r=`${PWD_COMMAND}`; export r; \
18759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18760 $(SET_LIB_PATH) \
18761 $(HOST_EXPORTS) \
18762 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) \
18763 $(TARGET-shellutils))
18764 @endif shellutils
18766 .PHONY: check-shellutils maybe-check-shellutils
18767 maybe-check-shellutils:
18768 @if shellutils
18769 maybe-check-shellutils: check-shellutils
18771 check-shellutils:
18772 @r=`${PWD_COMMAND}`; export r; \
18773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18774 $(SET_LIB_PATH) \
18775 $(HOST_EXPORTS) \
18776 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
18778 @endif shellutils
18780 .PHONY: install-shellutils maybe-install-shellutils
18781 maybe-install-shellutils:
18782 @if shellutils
18783 maybe-install-shellutils: install-shellutils
18785 install-shellutils: installdirs
18786 @r=`${PWD_COMMAND}`; export r; \
18787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18788 $(SET_LIB_PATH) \
18789 $(HOST_EXPORTS) \
18790 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
18792 @endif shellutils
18794 # Other targets (info, dvi, etc.)
18796 .PHONY: maybe-info-shellutils info-shellutils
18797 maybe-info-shellutils:
18798 @if shellutils
18799 maybe-info-shellutils: info-shellutils
18801 info-shellutils: \
18802 configure-shellutils
18803 @[ -f ./shellutils/Makefile ] || exit 0; \
18804 r=`${PWD_COMMAND}`; export r; \
18805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18806 $(SET_LIB_PATH) \
18807 $(HOST_EXPORTS) \
18808 for flag in $(EXTRA_HOST_FLAGS) ; do \
18809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18810 done; \
18811 echo "Doing info in shellutils" ; \
18812 (cd shellutils && \
18813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18815 "RANLIB=$${RANLIB}" \
18816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18817 info) \
18818 || exit 1
18820 @endif shellutils
18822 .PHONY: maybe-dvi-shellutils dvi-shellutils
18823 maybe-dvi-shellutils:
18824 @if shellutils
18825 maybe-dvi-shellutils: dvi-shellutils
18827 dvi-shellutils: \
18828 configure-shellutils
18829 @[ -f ./shellutils/Makefile ] || exit 0; \
18830 r=`${PWD_COMMAND}`; export r; \
18831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18832 $(SET_LIB_PATH) \
18833 $(HOST_EXPORTS) \
18834 for flag in $(EXTRA_HOST_FLAGS) ; do \
18835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18836 done; \
18837 echo "Doing dvi in shellutils" ; \
18838 (cd shellutils && \
18839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18841 "RANLIB=$${RANLIB}" \
18842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18843 dvi) \
18844 || exit 1
18846 @endif shellutils
18848 .PHONY: maybe-html-shellutils html-shellutils
18849 maybe-html-shellutils:
18850 @if shellutils
18851 maybe-html-shellutils: html-shellutils
18853 html-shellutils: \
18854 configure-shellutils
18855 @[ -f ./shellutils/Makefile ] || exit 0; \
18856 r=`${PWD_COMMAND}`; export r; \
18857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18858 $(SET_LIB_PATH) \
18859 $(HOST_EXPORTS) \
18860 for flag in $(EXTRA_HOST_FLAGS) ; do \
18861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18862 done; \
18863 echo "Doing html in shellutils" ; \
18864 (cd shellutils && \
18865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18867 "RANLIB=$${RANLIB}" \
18868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18869 html) \
18870 || exit 1
18872 @endif shellutils
18874 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
18875 maybe-TAGS-shellutils:
18876 @if shellutils
18877 maybe-TAGS-shellutils: TAGS-shellutils
18879 TAGS-shellutils: \
18880 configure-shellutils
18881 @[ -f ./shellutils/Makefile ] || exit 0; \
18882 r=`${PWD_COMMAND}`; export r; \
18883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18884 $(SET_LIB_PATH) \
18885 $(HOST_EXPORTS) \
18886 for flag in $(EXTRA_HOST_FLAGS) ; do \
18887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18888 done; \
18889 echo "Doing TAGS in shellutils" ; \
18890 (cd shellutils && \
18891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18893 "RANLIB=$${RANLIB}" \
18894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18895 TAGS) \
18896 || exit 1
18898 @endif shellutils
18900 .PHONY: maybe-install-info-shellutils install-info-shellutils
18901 maybe-install-info-shellutils:
18902 @if shellutils
18903 maybe-install-info-shellutils: install-info-shellutils
18905 install-info-shellutils: \
18906 configure-shellutils \
18907 info-shellutils
18908 @[ -f ./shellutils/Makefile ] || exit 0; \
18909 r=`${PWD_COMMAND}`; export r; \
18910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18911 $(SET_LIB_PATH) \
18912 $(HOST_EXPORTS) \
18913 for flag in $(EXTRA_HOST_FLAGS) ; do \
18914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18915 done; \
18916 echo "Doing install-info in shellutils" ; \
18917 (cd shellutils && \
18918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18920 "RANLIB=$${RANLIB}" \
18921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18922 install-info) \
18923 || exit 1
18925 @endif shellutils
18927 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
18928 maybe-installcheck-shellutils:
18929 @if shellutils
18930 maybe-installcheck-shellutils: installcheck-shellutils
18932 installcheck-shellutils: \
18933 configure-shellutils
18934 @[ -f ./shellutils/Makefile ] || exit 0; \
18935 r=`${PWD_COMMAND}`; export r; \
18936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18937 $(SET_LIB_PATH) \
18938 $(HOST_EXPORTS) \
18939 for flag in $(EXTRA_HOST_FLAGS) ; do \
18940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18941 done; \
18942 echo "Doing installcheck in shellutils" ; \
18943 (cd shellutils && \
18944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18946 "RANLIB=$${RANLIB}" \
18947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18948 installcheck) \
18949 || exit 1
18951 @endif shellutils
18953 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
18954 maybe-mostlyclean-shellutils:
18955 @if shellutils
18956 maybe-mostlyclean-shellutils: mostlyclean-shellutils
18958 mostlyclean-shellutils:
18959 @[ -f ./shellutils/Makefile ] || exit 0; \
18960 r=`${PWD_COMMAND}`; export r; \
18961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18962 $(SET_LIB_PATH) \
18963 $(HOST_EXPORTS) \
18964 for flag in $(EXTRA_HOST_FLAGS) ; do \
18965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18966 done; \
18967 echo "Doing mostlyclean in shellutils" ; \
18968 (cd shellutils && \
18969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18971 "RANLIB=$${RANLIB}" \
18972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18973 mostlyclean) \
18974 || exit 1
18976 @endif shellutils
18978 .PHONY: maybe-clean-shellutils clean-shellutils
18979 maybe-clean-shellutils:
18980 @if shellutils
18981 maybe-clean-shellutils: clean-shellutils
18983 clean-shellutils:
18984 @[ -f ./shellutils/Makefile ] || exit 0; \
18985 r=`${PWD_COMMAND}`; export r; \
18986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18987 $(SET_LIB_PATH) \
18988 $(HOST_EXPORTS) \
18989 for flag in $(EXTRA_HOST_FLAGS) ; do \
18990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18991 done; \
18992 echo "Doing clean in shellutils" ; \
18993 (cd shellutils && \
18994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18996 "RANLIB=$${RANLIB}" \
18997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18998 clean) \
18999 || exit 1
19001 @endif shellutils
19003 .PHONY: maybe-distclean-shellutils distclean-shellutils
19004 maybe-distclean-shellutils:
19005 @if shellutils
19006 maybe-distclean-shellutils: distclean-shellutils
19008 distclean-shellutils:
19009 @[ -f ./shellutils/Makefile ] || exit 0; \
19010 r=`${PWD_COMMAND}`; export r; \
19011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19012 $(SET_LIB_PATH) \
19013 $(HOST_EXPORTS) \
19014 for flag in $(EXTRA_HOST_FLAGS) ; do \
19015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19016 done; \
19017 echo "Doing distclean in shellutils" ; \
19018 (cd shellutils && \
19019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19021 "RANLIB=$${RANLIB}" \
19022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19023 distclean) \
19024 || exit 1
19026 @endif shellutils
19028 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
19029 maybe-maintainer-clean-shellutils:
19030 @if shellutils
19031 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
19033 maintainer-clean-shellutils:
19034 @[ -f ./shellutils/Makefile ] || exit 0; \
19035 r=`${PWD_COMMAND}`; export r; \
19036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19037 $(SET_LIB_PATH) \
19038 $(HOST_EXPORTS) \
19039 for flag in $(EXTRA_HOST_FLAGS) ; do \
19040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19041 done; \
19042 echo "Doing maintainer-clean in shellutils" ; \
19043 (cd shellutils && \
19044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19046 "RANLIB=$${RANLIB}" \
19047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19048 maintainer-clean) \
19049 || exit 1
19051 @endif shellutils
19054 .PHONY: configure-sid maybe-configure-sid
19055 maybe-configure-sid:
19056 @if sid
19057 maybe-configure-sid: configure-sid
19058 configure-sid:
19059 @test ! -f sid/Makefile || exit 0; \
19060 [ -d sid ] || mkdir sid; \
19061 r=`${PWD_COMMAND}`; export r; \
19062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19063 $(HOST_EXPORTS) \
19064 echo Configuring in sid; \
19065 cd sid || exit 1; \
19066 case $(srcdir) in \
19067 \.) \
19068 srcdiroption="--srcdir=."; \
19069 libsrcdir=".";; \
19070 /* | [A-Za-z]:[\\/]*) \
19071 srcdiroption="--srcdir=$(srcdir)/sid"; \
19072 libsrcdir="$$s/sid";; \
19073 *) \
19074 srcdiroption="--srcdir=../$(srcdir)/sid"; \
19075 libsrcdir="$$s/sid";; \
19076 esac; \
19077 $(SHELL) $${libsrcdir}/configure \
19078 $(HOST_CONFIGARGS) $${srcdiroption} \
19079 || exit 1
19080 @endif sid
19082 .PHONY: all-sid maybe-all-sid
19083 maybe-all-sid:
19084 @if sid
19085 TARGET-sid=all
19086 maybe-all-sid: all-sid
19087 all-sid: configure-sid
19088 @r=`${PWD_COMMAND}`; export r; \
19089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19090 $(SET_LIB_PATH) \
19091 $(HOST_EXPORTS) \
19092 (cd sid && $(MAKE) $(FLAGS_TO_PASS) \
19093 $(TARGET-sid))
19094 @endif sid
19096 .PHONY: check-sid maybe-check-sid
19097 maybe-check-sid:
19098 @if sid
19099 maybe-check-sid: check-sid
19101 check-sid:
19102 @r=`${PWD_COMMAND}`; export r; \
19103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19104 $(SET_LIB_PATH) \
19105 $(HOST_EXPORTS) \
19106 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
19108 @endif sid
19110 .PHONY: install-sid maybe-install-sid
19111 maybe-install-sid:
19112 @if sid
19113 maybe-install-sid: install-sid
19115 install-sid: installdirs
19116 @r=`${PWD_COMMAND}`; export r; \
19117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19118 $(SET_LIB_PATH) \
19119 $(HOST_EXPORTS) \
19120 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
19122 @endif sid
19124 # Other targets (info, dvi, etc.)
19126 .PHONY: maybe-info-sid info-sid
19127 maybe-info-sid:
19128 @if sid
19129 maybe-info-sid: info-sid
19131 info-sid: \
19132 configure-sid
19133 @[ -f ./sid/Makefile ] || exit 0; \
19134 r=`${PWD_COMMAND}`; export r; \
19135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19136 $(SET_LIB_PATH) \
19137 $(HOST_EXPORTS) \
19138 for flag in $(EXTRA_HOST_FLAGS) ; do \
19139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19140 done; \
19141 echo "Doing info in sid" ; \
19142 (cd sid && \
19143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19145 "RANLIB=$${RANLIB}" \
19146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19147 info) \
19148 || exit 1
19150 @endif sid
19152 .PHONY: maybe-dvi-sid dvi-sid
19153 maybe-dvi-sid:
19154 @if sid
19155 maybe-dvi-sid: dvi-sid
19157 dvi-sid: \
19158 configure-sid
19159 @[ -f ./sid/Makefile ] || exit 0; \
19160 r=`${PWD_COMMAND}`; export r; \
19161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19162 $(SET_LIB_PATH) \
19163 $(HOST_EXPORTS) \
19164 for flag in $(EXTRA_HOST_FLAGS) ; do \
19165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19166 done; \
19167 echo "Doing dvi in sid" ; \
19168 (cd sid && \
19169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19171 "RANLIB=$${RANLIB}" \
19172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19173 dvi) \
19174 || exit 1
19176 @endif sid
19178 .PHONY: maybe-html-sid html-sid
19179 maybe-html-sid:
19180 @if sid
19181 maybe-html-sid: html-sid
19183 html-sid: \
19184 configure-sid
19185 @[ -f ./sid/Makefile ] || exit 0; \
19186 r=`${PWD_COMMAND}`; export r; \
19187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19188 $(SET_LIB_PATH) \
19189 $(HOST_EXPORTS) \
19190 for flag in $(EXTRA_HOST_FLAGS) ; do \
19191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19192 done; \
19193 echo "Doing html in sid" ; \
19194 (cd sid && \
19195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19197 "RANLIB=$${RANLIB}" \
19198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19199 html) \
19200 || exit 1
19202 @endif sid
19204 .PHONY: maybe-TAGS-sid TAGS-sid
19205 maybe-TAGS-sid:
19206 @if sid
19207 maybe-TAGS-sid: TAGS-sid
19209 TAGS-sid: \
19210 configure-sid
19211 @[ -f ./sid/Makefile ] || exit 0; \
19212 r=`${PWD_COMMAND}`; export r; \
19213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19214 $(SET_LIB_PATH) \
19215 $(HOST_EXPORTS) \
19216 for flag in $(EXTRA_HOST_FLAGS) ; do \
19217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19218 done; \
19219 echo "Doing TAGS in sid" ; \
19220 (cd sid && \
19221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19223 "RANLIB=$${RANLIB}" \
19224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19225 TAGS) \
19226 || exit 1
19228 @endif sid
19230 .PHONY: maybe-install-info-sid install-info-sid
19231 maybe-install-info-sid:
19232 @if sid
19233 maybe-install-info-sid: install-info-sid
19235 install-info-sid: \
19236 configure-sid \
19237 info-sid
19238 @[ -f ./sid/Makefile ] || exit 0; \
19239 r=`${PWD_COMMAND}`; export r; \
19240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19241 $(SET_LIB_PATH) \
19242 $(HOST_EXPORTS) \
19243 for flag in $(EXTRA_HOST_FLAGS) ; do \
19244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19245 done; \
19246 echo "Doing install-info in sid" ; \
19247 (cd sid && \
19248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19250 "RANLIB=$${RANLIB}" \
19251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19252 install-info) \
19253 || exit 1
19255 @endif sid
19257 .PHONY: maybe-installcheck-sid installcheck-sid
19258 maybe-installcheck-sid:
19259 @if sid
19260 maybe-installcheck-sid: installcheck-sid
19262 installcheck-sid: \
19263 configure-sid
19264 @[ -f ./sid/Makefile ] || exit 0; \
19265 r=`${PWD_COMMAND}`; export r; \
19266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19267 $(SET_LIB_PATH) \
19268 $(HOST_EXPORTS) \
19269 for flag in $(EXTRA_HOST_FLAGS) ; do \
19270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19271 done; \
19272 echo "Doing installcheck in sid" ; \
19273 (cd sid && \
19274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19276 "RANLIB=$${RANLIB}" \
19277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19278 installcheck) \
19279 || exit 1
19281 @endif sid
19283 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
19284 maybe-mostlyclean-sid:
19285 @if sid
19286 maybe-mostlyclean-sid: mostlyclean-sid
19288 mostlyclean-sid:
19289 @[ -f ./sid/Makefile ] || exit 0; \
19290 r=`${PWD_COMMAND}`; export r; \
19291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19292 $(SET_LIB_PATH) \
19293 $(HOST_EXPORTS) \
19294 for flag in $(EXTRA_HOST_FLAGS) ; do \
19295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19296 done; \
19297 echo "Doing mostlyclean in sid" ; \
19298 (cd sid && \
19299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19301 "RANLIB=$${RANLIB}" \
19302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19303 mostlyclean) \
19304 || exit 1
19306 @endif sid
19308 .PHONY: maybe-clean-sid clean-sid
19309 maybe-clean-sid:
19310 @if sid
19311 maybe-clean-sid: clean-sid
19313 clean-sid:
19314 @[ -f ./sid/Makefile ] || exit 0; \
19315 r=`${PWD_COMMAND}`; export r; \
19316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19317 $(SET_LIB_PATH) \
19318 $(HOST_EXPORTS) \
19319 for flag in $(EXTRA_HOST_FLAGS) ; do \
19320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19321 done; \
19322 echo "Doing clean in sid" ; \
19323 (cd sid && \
19324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19326 "RANLIB=$${RANLIB}" \
19327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19328 clean) \
19329 || exit 1
19331 @endif sid
19333 .PHONY: maybe-distclean-sid distclean-sid
19334 maybe-distclean-sid:
19335 @if sid
19336 maybe-distclean-sid: distclean-sid
19338 distclean-sid:
19339 @[ -f ./sid/Makefile ] || exit 0; \
19340 r=`${PWD_COMMAND}`; export r; \
19341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19342 $(SET_LIB_PATH) \
19343 $(HOST_EXPORTS) \
19344 for flag in $(EXTRA_HOST_FLAGS) ; do \
19345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19346 done; \
19347 echo "Doing distclean in sid" ; \
19348 (cd sid && \
19349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19351 "RANLIB=$${RANLIB}" \
19352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19353 distclean) \
19354 || exit 1
19356 @endif sid
19358 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
19359 maybe-maintainer-clean-sid:
19360 @if sid
19361 maybe-maintainer-clean-sid: maintainer-clean-sid
19363 maintainer-clean-sid:
19364 @[ -f ./sid/Makefile ] || exit 0; \
19365 r=`${PWD_COMMAND}`; export r; \
19366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19367 $(SET_LIB_PATH) \
19368 $(HOST_EXPORTS) \
19369 for flag in $(EXTRA_HOST_FLAGS) ; do \
19370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19371 done; \
19372 echo "Doing maintainer-clean in sid" ; \
19373 (cd sid && \
19374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19376 "RANLIB=$${RANLIB}" \
19377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19378 maintainer-clean) \
19379 || exit 1
19381 @endif sid
19384 .PHONY: configure-sim maybe-configure-sim
19385 maybe-configure-sim:
19386 @if sim
19387 maybe-configure-sim: configure-sim
19388 configure-sim:
19389 @test ! -f sim/Makefile || exit 0; \
19390 [ -d sim ] || mkdir sim; \
19391 r=`${PWD_COMMAND}`; export r; \
19392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19393 $(HOST_EXPORTS) \
19394 echo Configuring in sim; \
19395 cd sim || exit 1; \
19396 case $(srcdir) in \
19397 \.) \
19398 srcdiroption="--srcdir=."; \
19399 libsrcdir=".";; \
19400 /* | [A-Za-z]:[\\/]*) \
19401 srcdiroption="--srcdir=$(srcdir)/sim"; \
19402 libsrcdir="$$s/sim";; \
19403 *) \
19404 srcdiroption="--srcdir=../$(srcdir)/sim"; \
19405 libsrcdir="$$s/sim";; \
19406 esac; \
19407 $(SHELL) $${libsrcdir}/configure \
19408 $(HOST_CONFIGARGS) $${srcdiroption} \
19409 || exit 1
19410 @endif sim
19412 .PHONY: all-sim maybe-all-sim
19413 maybe-all-sim:
19414 @if sim
19415 TARGET-sim=all
19416 maybe-all-sim: all-sim
19417 all-sim: configure-sim
19418 @r=`${PWD_COMMAND}`; export r; \
19419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19420 $(SET_LIB_PATH) \
19421 $(HOST_EXPORTS) \
19422 (cd sim && $(MAKE) $(FLAGS_TO_PASS) \
19423 $(TARGET-sim))
19424 @endif sim
19426 .PHONY: check-sim maybe-check-sim
19427 maybe-check-sim:
19428 @if sim
19429 maybe-check-sim: check-sim
19431 check-sim:
19432 @r=`${PWD_COMMAND}`; export r; \
19433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19434 $(SET_LIB_PATH) \
19435 $(HOST_EXPORTS) \
19436 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
19438 @endif sim
19440 .PHONY: install-sim maybe-install-sim
19441 maybe-install-sim:
19442 @if sim
19443 maybe-install-sim: install-sim
19445 install-sim: installdirs
19446 @r=`${PWD_COMMAND}`; export r; \
19447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19448 $(SET_LIB_PATH) \
19449 $(HOST_EXPORTS) \
19450 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
19452 @endif sim
19454 # Other targets (info, dvi, etc.)
19456 .PHONY: maybe-info-sim info-sim
19457 maybe-info-sim:
19458 @if sim
19459 maybe-info-sim: info-sim
19461 info-sim: \
19462 configure-sim
19463 @[ -f ./sim/Makefile ] || exit 0; \
19464 r=`${PWD_COMMAND}`; export r; \
19465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19466 $(SET_LIB_PATH) \
19467 $(HOST_EXPORTS) \
19468 for flag in $(EXTRA_HOST_FLAGS) ; do \
19469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19470 done; \
19471 echo "Doing info in sim" ; \
19472 (cd sim && \
19473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19475 "RANLIB=$${RANLIB}" \
19476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19477 info) \
19478 || exit 1
19480 @endif sim
19482 .PHONY: maybe-dvi-sim dvi-sim
19483 maybe-dvi-sim:
19484 @if sim
19485 maybe-dvi-sim: dvi-sim
19487 dvi-sim: \
19488 configure-sim
19489 @[ -f ./sim/Makefile ] || exit 0; \
19490 r=`${PWD_COMMAND}`; export r; \
19491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19492 $(SET_LIB_PATH) \
19493 $(HOST_EXPORTS) \
19494 for flag in $(EXTRA_HOST_FLAGS) ; do \
19495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19496 done; \
19497 echo "Doing dvi in sim" ; \
19498 (cd sim && \
19499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19501 "RANLIB=$${RANLIB}" \
19502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19503 dvi) \
19504 || exit 1
19506 @endif sim
19508 .PHONY: maybe-html-sim html-sim
19509 maybe-html-sim:
19510 @if sim
19511 maybe-html-sim: html-sim
19513 html-sim: \
19514 configure-sim
19515 @[ -f ./sim/Makefile ] || exit 0; \
19516 r=`${PWD_COMMAND}`; export r; \
19517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19518 $(SET_LIB_PATH) \
19519 $(HOST_EXPORTS) \
19520 for flag in $(EXTRA_HOST_FLAGS) ; do \
19521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19522 done; \
19523 echo "Doing html in sim" ; \
19524 (cd sim && \
19525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19527 "RANLIB=$${RANLIB}" \
19528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19529 html) \
19530 || exit 1
19532 @endif sim
19534 .PHONY: maybe-TAGS-sim TAGS-sim
19535 maybe-TAGS-sim:
19536 @if sim
19537 maybe-TAGS-sim: TAGS-sim
19539 TAGS-sim: \
19540 configure-sim
19541 @[ -f ./sim/Makefile ] || exit 0; \
19542 r=`${PWD_COMMAND}`; export r; \
19543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19544 $(SET_LIB_PATH) \
19545 $(HOST_EXPORTS) \
19546 for flag in $(EXTRA_HOST_FLAGS) ; do \
19547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19548 done; \
19549 echo "Doing TAGS in sim" ; \
19550 (cd sim && \
19551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19553 "RANLIB=$${RANLIB}" \
19554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19555 TAGS) \
19556 || exit 1
19558 @endif sim
19560 .PHONY: maybe-install-info-sim install-info-sim
19561 maybe-install-info-sim:
19562 @if sim
19563 maybe-install-info-sim: install-info-sim
19565 install-info-sim: \
19566 configure-sim \
19567 info-sim
19568 @[ -f ./sim/Makefile ] || exit 0; \
19569 r=`${PWD_COMMAND}`; export r; \
19570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19571 $(SET_LIB_PATH) \
19572 $(HOST_EXPORTS) \
19573 for flag in $(EXTRA_HOST_FLAGS) ; do \
19574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19575 done; \
19576 echo "Doing install-info in sim" ; \
19577 (cd sim && \
19578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19580 "RANLIB=$${RANLIB}" \
19581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19582 install-info) \
19583 || exit 1
19585 @endif sim
19587 .PHONY: maybe-installcheck-sim installcheck-sim
19588 maybe-installcheck-sim:
19589 @if sim
19590 maybe-installcheck-sim: installcheck-sim
19592 installcheck-sim: \
19593 configure-sim
19594 @[ -f ./sim/Makefile ] || exit 0; \
19595 r=`${PWD_COMMAND}`; export r; \
19596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19597 $(SET_LIB_PATH) \
19598 $(HOST_EXPORTS) \
19599 for flag in $(EXTRA_HOST_FLAGS) ; do \
19600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19601 done; \
19602 echo "Doing installcheck in sim" ; \
19603 (cd sim && \
19604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19606 "RANLIB=$${RANLIB}" \
19607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19608 installcheck) \
19609 || exit 1
19611 @endif sim
19613 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
19614 maybe-mostlyclean-sim:
19615 @if sim
19616 maybe-mostlyclean-sim: mostlyclean-sim
19618 mostlyclean-sim:
19619 @[ -f ./sim/Makefile ] || exit 0; \
19620 r=`${PWD_COMMAND}`; export r; \
19621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19622 $(SET_LIB_PATH) \
19623 $(HOST_EXPORTS) \
19624 for flag in $(EXTRA_HOST_FLAGS) ; do \
19625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19626 done; \
19627 echo "Doing mostlyclean in sim" ; \
19628 (cd sim && \
19629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19631 "RANLIB=$${RANLIB}" \
19632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19633 mostlyclean) \
19634 || exit 1
19636 @endif sim
19638 .PHONY: maybe-clean-sim clean-sim
19639 maybe-clean-sim:
19640 @if sim
19641 maybe-clean-sim: clean-sim
19643 clean-sim:
19644 @[ -f ./sim/Makefile ] || exit 0; \
19645 r=`${PWD_COMMAND}`; export r; \
19646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19647 $(SET_LIB_PATH) \
19648 $(HOST_EXPORTS) \
19649 for flag in $(EXTRA_HOST_FLAGS) ; do \
19650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19651 done; \
19652 echo "Doing clean in sim" ; \
19653 (cd sim && \
19654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19656 "RANLIB=$${RANLIB}" \
19657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19658 clean) \
19659 || exit 1
19661 @endif sim
19663 .PHONY: maybe-distclean-sim distclean-sim
19664 maybe-distclean-sim:
19665 @if sim
19666 maybe-distclean-sim: distclean-sim
19668 distclean-sim:
19669 @[ -f ./sim/Makefile ] || exit 0; \
19670 r=`${PWD_COMMAND}`; export r; \
19671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19672 $(SET_LIB_PATH) \
19673 $(HOST_EXPORTS) \
19674 for flag in $(EXTRA_HOST_FLAGS) ; do \
19675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19676 done; \
19677 echo "Doing distclean in sim" ; \
19678 (cd sim && \
19679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19681 "RANLIB=$${RANLIB}" \
19682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19683 distclean) \
19684 || exit 1
19686 @endif sim
19688 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
19689 maybe-maintainer-clean-sim:
19690 @if sim
19691 maybe-maintainer-clean-sim: maintainer-clean-sim
19693 maintainer-clean-sim:
19694 @[ -f ./sim/Makefile ] || exit 0; \
19695 r=`${PWD_COMMAND}`; export r; \
19696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19697 $(SET_LIB_PATH) \
19698 $(HOST_EXPORTS) \
19699 for flag in $(EXTRA_HOST_FLAGS) ; do \
19700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19701 done; \
19702 echo "Doing maintainer-clean in sim" ; \
19703 (cd sim && \
19704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19706 "RANLIB=$${RANLIB}" \
19707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19708 maintainer-clean) \
19709 || exit 1
19711 @endif sim
19714 .PHONY: configure-tar maybe-configure-tar
19715 maybe-configure-tar:
19716 @if tar
19717 maybe-configure-tar: configure-tar
19718 configure-tar:
19719 @test ! -f tar/Makefile || exit 0; \
19720 [ -d tar ] || mkdir tar; \
19721 r=`${PWD_COMMAND}`; export r; \
19722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19723 $(HOST_EXPORTS) \
19724 echo Configuring in tar; \
19725 cd tar || exit 1; \
19726 case $(srcdir) in \
19727 \.) \
19728 srcdiroption="--srcdir=."; \
19729 libsrcdir=".";; \
19730 /* | [A-Za-z]:[\\/]*) \
19731 srcdiroption="--srcdir=$(srcdir)/tar"; \
19732 libsrcdir="$$s/tar";; \
19733 *) \
19734 srcdiroption="--srcdir=../$(srcdir)/tar"; \
19735 libsrcdir="$$s/tar";; \
19736 esac; \
19737 $(SHELL) $${libsrcdir}/configure \
19738 $(HOST_CONFIGARGS) $${srcdiroption} \
19739 || exit 1
19740 @endif tar
19742 .PHONY: all-tar maybe-all-tar
19743 maybe-all-tar:
19744 @if tar
19745 TARGET-tar=all
19746 maybe-all-tar: all-tar
19747 all-tar: configure-tar
19748 @r=`${PWD_COMMAND}`; export r; \
19749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19750 $(SET_LIB_PATH) \
19751 $(HOST_EXPORTS) \
19752 (cd tar && $(MAKE) $(FLAGS_TO_PASS) \
19753 $(TARGET-tar))
19754 @endif tar
19756 .PHONY: check-tar maybe-check-tar
19757 maybe-check-tar:
19758 @if tar
19759 maybe-check-tar: check-tar
19761 check-tar:
19762 @r=`${PWD_COMMAND}`; export r; \
19763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19764 $(SET_LIB_PATH) \
19765 $(HOST_EXPORTS) \
19766 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
19768 @endif tar
19770 .PHONY: install-tar maybe-install-tar
19771 maybe-install-tar:
19772 @if tar
19773 maybe-install-tar: install-tar
19775 install-tar: installdirs
19776 @r=`${PWD_COMMAND}`; export r; \
19777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19778 $(SET_LIB_PATH) \
19779 $(HOST_EXPORTS) \
19780 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
19782 @endif tar
19784 # Other targets (info, dvi, etc.)
19786 .PHONY: maybe-info-tar info-tar
19787 maybe-info-tar:
19788 @if tar
19789 maybe-info-tar: info-tar
19791 info-tar: \
19792 configure-tar
19793 @[ -f ./tar/Makefile ] || exit 0; \
19794 r=`${PWD_COMMAND}`; export r; \
19795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19796 $(SET_LIB_PATH) \
19797 $(HOST_EXPORTS) \
19798 for flag in $(EXTRA_HOST_FLAGS) ; do \
19799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19800 done; \
19801 echo "Doing info in tar" ; \
19802 (cd tar && \
19803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19805 "RANLIB=$${RANLIB}" \
19806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19807 info) \
19808 || exit 1
19810 @endif tar
19812 .PHONY: maybe-dvi-tar dvi-tar
19813 maybe-dvi-tar:
19814 @if tar
19815 maybe-dvi-tar: dvi-tar
19817 dvi-tar: \
19818 configure-tar
19819 @[ -f ./tar/Makefile ] || exit 0; \
19820 r=`${PWD_COMMAND}`; export r; \
19821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19822 $(SET_LIB_PATH) \
19823 $(HOST_EXPORTS) \
19824 for flag in $(EXTRA_HOST_FLAGS) ; do \
19825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19826 done; \
19827 echo "Doing dvi in tar" ; \
19828 (cd tar && \
19829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19831 "RANLIB=$${RANLIB}" \
19832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19833 dvi) \
19834 || exit 1
19836 @endif tar
19838 .PHONY: maybe-html-tar html-tar
19839 maybe-html-tar:
19840 @if tar
19841 maybe-html-tar: html-tar
19843 html-tar: \
19844 configure-tar
19845 @[ -f ./tar/Makefile ] || exit 0; \
19846 r=`${PWD_COMMAND}`; export r; \
19847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19848 $(SET_LIB_PATH) \
19849 $(HOST_EXPORTS) \
19850 for flag in $(EXTRA_HOST_FLAGS) ; do \
19851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19852 done; \
19853 echo "Doing html in tar" ; \
19854 (cd tar && \
19855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19857 "RANLIB=$${RANLIB}" \
19858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19859 html) \
19860 || exit 1
19862 @endif tar
19864 .PHONY: maybe-TAGS-tar TAGS-tar
19865 maybe-TAGS-tar:
19866 @if tar
19867 maybe-TAGS-tar: TAGS-tar
19869 TAGS-tar: \
19870 configure-tar
19871 @[ -f ./tar/Makefile ] || exit 0; \
19872 r=`${PWD_COMMAND}`; export r; \
19873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19874 $(SET_LIB_PATH) \
19875 $(HOST_EXPORTS) \
19876 for flag in $(EXTRA_HOST_FLAGS) ; do \
19877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19878 done; \
19879 echo "Doing TAGS in tar" ; \
19880 (cd tar && \
19881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19883 "RANLIB=$${RANLIB}" \
19884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19885 TAGS) \
19886 || exit 1
19888 @endif tar
19890 .PHONY: maybe-install-info-tar install-info-tar
19891 maybe-install-info-tar:
19892 @if tar
19893 maybe-install-info-tar: install-info-tar
19895 install-info-tar: \
19896 configure-tar \
19897 info-tar
19898 @[ -f ./tar/Makefile ] || exit 0; \
19899 r=`${PWD_COMMAND}`; export r; \
19900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19901 $(SET_LIB_PATH) \
19902 $(HOST_EXPORTS) \
19903 for flag in $(EXTRA_HOST_FLAGS) ; do \
19904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19905 done; \
19906 echo "Doing install-info in tar" ; \
19907 (cd tar && \
19908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19910 "RANLIB=$${RANLIB}" \
19911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19912 install-info) \
19913 || exit 1
19915 @endif tar
19917 .PHONY: maybe-installcheck-tar installcheck-tar
19918 maybe-installcheck-tar:
19919 @if tar
19920 maybe-installcheck-tar: installcheck-tar
19922 installcheck-tar: \
19923 configure-tar
19924 @[ -f ./tar/Makefile ] || exit 0; \
19925 r=`${PWD_COMMAND}`; export r; \
19926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19927 $(SET_LIB_PATH) \
19928 $(HOST_EXPORTS) \
19929 for flag in $(EXTRA_HOST_FLAGS) ; do \
19930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19931 done; \
19932 echo "Doing installcheck in tar" ; \
19933 (cd tar && \
19934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19936 "RANLIB=$${RANLIB}" \
19937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19938 installcheck) \
19939 || exit 1
19941 @endif tar
19943 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
19944 maybe-mostlyclean-tar:
19945 @if tar
19946 maybe-mostlyclean-tar: mostlyclean-tar
19948 mostlyclean-tar:
19949 @[ -f ./tar/Makefile ] || exit 0; \
19950 r=`${PWD_COMMAND}`; export r; \
19951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19952 $(SET_LIB_PATH) \
19953 $(HOST_EXPORTS) \
19954 for flag in $(EXTRA_HOST_FLAGS) ; do \
19955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19956 done; \
19957 echo "Doing mostlyclean in tar" ; \
19958 (cd tar && \
19959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19961 "RANLIB=$${RANLIB}" \
19962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19963 mostlyclean) \
19964 || exit 1
19966 @endif tar
19968 .PHONY: maybe-clean-tar clean-tar
19969 maybe-clean-tar:
19970 @if tar
19971 maybe-clean-tar: clean-tar
19973 clean-tar:
19974 @[ -f ./tar/Makefile ] || exit 0; \
19975 r=`${PWD_COMMAND}`; export r; \
19976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19977 $(SET_LIB_PATH) \
19978 $(HOST_EXPORTS) \
19979 for flag in $(EXTRA_HOST_FLAGS) ; do \
19980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19981 done; \
19982 echo "Doing clean in tar" ; \
19983 (cd tar && \
19984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19986 "RANLIB=$${RANLIB}" \
19987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19988 clean) \
19989 || exit 1
19991 @endif tar
19993 .PHONY: maybe-distclean-tar distclean-tar
19994 maybe-distclean-tar:
19995 @if tar
19996 maybe-distclean-tar: distclean-tar
19998 distclean-tar:
19999 @[ -f ./tar/Makefile ] || exit 0; \
20000 r=`${PWD_COMMAND}`; export r; \
20001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20002 $(SET_LIB_PATH) \
20003 $(HOST_EXPORTS) \
20004 for flag in $(EXTRA_HOST_FLAGS) ; do \
20005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20006 done; \
20007 echo "Doing distclean in tar" ; \
20008 (cd tar && \
20009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20011 "RANLIB=$${RANLIB}" \
20012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20013 distclean) \
20014 || exit 1
20016 @endif tar
20018 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
20019 maybe-maintainer-clean-tar:
20020 @if tar
20021 maybe-maintainer-clean-tar: maintainer-clean-tar
20023 maintainer-clean-tar:
20024 @[ -f ./tar/Makefile ] || exit 0; \
20025 r=`${PWD_COMMAND}`; export r; \
20026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20027 $(SET_LIB_PATH) \
20028 $(HOST_EXPORTS) \
20029 for flag in $(EXTRA_HOST_FLAGS) ; do \
20030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20031 done; \
20032 echo "Doing maintainer-clean in tar" ; \
20033 (cd tar && \
20034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20036 "RANLIB=$${RANLIB}" \
20037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20038 maintainer-clean) \
20039 || exit 1
20041 @endif tar
20044 .PHONY: configure-texinfo maybe-configure-texinfo
20045 maybe-configure-texinfo:
20046 @if texinfo
20047 maybe-configure-texinfo: configure-texinfo
20048 configure-texinfo:
20049 @test ! -f texinfo/Makefile || exit 0; \
20050 [ -d texinfo ] || mkdir texinfo; \
20051 r=`${PWD_COMMAND}`; export r; \
20052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20053 $(HOST_EXPORTS) \
20054 echo Configuring in texinfo; \
20055 cd texinfo || exit 1; \
20056 case $(srcdir) in \
20057 \.) \
20058 srcdiroption="--srcdir=."; \
20059 libsrcdir=".";; \
20060 /* | [A-Za-z]:[\\/]*) \
20061 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
20062 libsrcdir="$$s/texinfo";; \
20063 *) \
20064 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
20065 libsrcdir="$$s/texinfo";; \
20066 esac; \
20067 $(SHELL) $${libsrcdir}/configure \
20068 $(HOST_CONFIGARGS) $${srcdiroption} \
20069 || exit 1
20070 @endif texinfo
20072 .PHONY: all-texinfo maybe-all-texinfo
20073 maybe-all-texinfo:
20074 @if texinfo
20075 TARGET-texinfo=all
20076 maybe-all-texinfo: all-texinfo
20077 all-texinfo: configure-texinfo
20078 @r=`${PWD_COMMAND}`; export r; \
20079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20080 $(SET_LIB_PATH) \
20081 $(HOST_EXPORTS) \
20082 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) \
20083 $(TARGET-texinfo))
20084 @endif texinfo
20086 .PHONY: check-texinfo maybe-check-texinfo
20087 maybe-check-texinfo:
20088 @if texinfo
20089 maybe-check-texinfo: check-texinfo
20091 check-texinfo:
20092 @r=`${PWD_COMMAND}`; export r; \
20093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20094 $(SET_LIB_PATH) \
20095 $(HOST_EXPORTS) \
20096 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
20098 @endif texinfo
20100 .PHONY: install-texinfo maybe-install-texinfo
20101 maybe-install-texinfo:
20102 @if texinfo
20103 maybe-install-texinfo: install-texinfo
20105 install-texinfo:
20107 @endif texinfo
20109 # Other targets (info, dvi, etc.)
20111 .PHONY: maybe-info-texinfo info-texinfo
20112 maybe-info-texinfo:
20113 @if texinfo
20114 maybe-info-texinfo: info-texinfo
20116 info-texinfo: \
20117 configure-texinfo
20118 @[ -f ./texinfo/Makefile ] || exit 0; \
20119 r=`${PWD_COMMAND}`; export r; \
20120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20121 $(SET_LIB_PATH) \
20122 $(HOST_EXPORTS) \
20123 for flag in $(EXTRA_HOST_FLAGS) ; do \
20124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20125 done; \
20126 echo "Doing info in texinfo" ; \
20127 (cd texinfo && \
20128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20130 "RANLIB=$${RANLIB}" \
20131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20132 info) \
20133 || exit 1
20135 @endif texinfo
20137 .PHONY: maybe-dvi-texinfo dvi-texinfo
20138 maybe-dvi-texinfo:
20139 @if texinfo
20140 maybe-dvi-texinfo: dvi-texinfo
20142 dvi-texinfo: \
20143 configure-texinfo
20144 @[ -f ./texinfo/Makefile ] || exit 0; \
20145 r=`${PWD_COMMAND}`; export r; \
20146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20147 $(SET_LIB_PATH) \
20148 $(HOST_EXPORTS) \
20149 for flag in $(EXTRA_HOST_FLAGS) ; do \
20150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20151 done; \
20152 echo "Doing dvi in texinfo" ; \
20153 (cd texinfo && \
20154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20156 "RANLIB=$${RANLIB}" \
20157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20158 dvi) \
20159 || exit 1
20161 @endif texinfo
20163 .PHONY: maybe-html-texinfo html-texinfo
20164 maybe-html-texinfo:
20165 @if texinfo
20166 maybe-html-texinfo: html-texinfo
20168 html-texinfo: \
20169 configure-texinfo
20170 @[ -f ./texinfo/Makefile ] || exit 0; \
20171 r=`${PWD_COMMAND}`; export r; \
20172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20173 $(SET_LIB_PATH) \
20174 $(HOST_EXPORTS) \
20175 for flag in $(EXTRA_HOST_FLAGS) ; do \
20176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20177 done; \
20178 echo "Doing html in texinfo" ; \
20179 (cd texinfo && \
20180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20182 "RANLIB=$${RANLIB}" \
20183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20184 html) \
20185 || exit 1
20187 @endif texinfo
20189 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
20190 maybe-TAGS-texinfo:
20191 @if texinfo
20192 maybe-TAGS-texinfo: TAGS-texinfo
20194 TAGS-texinfo: \
20195 configure-texinfo
20196 @[ -f ./texinfo/Makefile ] || exit 0; \
20197 r=`${PWD_COMMAND}`; export r; \
20198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20199 $(SET_LIB_PATH) \
20200 $(HOST_EXPORTS) \
20201 for flag in $(EXTRA_HOST_FLAGS) ; do \
20202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20203 done; \
20204 echo "Doing TAGS in texinfo" ; \
20205 (cd texinfo && \
20206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20208 "RANLIB=$${RANLIB}" \
20209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20210 TAGS) \
20211 || exit 1
20213 @endif texinfo
20215 .PHONY: maybe-install-info-texinfo install-info-texinfo
20216 maybe-install-info-texinfo:
20217 @if texinfo
20218 maybe-install-info-texinfo: install-info-texinfo
20220 install-info-texinfo: \
20221 configure-texinfo \
20222 info-texinfo
20223 @[ -f ./texinfo/Makefile ] || exit 0; \
20224 r=`${PWD_COMMAND}`; export r; \
20225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20226 $(SET_LIB_PATH) \
20227 $(HOST_EXPORTS) \
20228 for flag in $(EXTRA_HOST_FLAGS) ; do \
20229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20230 done; \
20231 echo "Doing install-info in texinfo" ; \
20232 (cd texinfo && \
20233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20235 "RANLIB=$${RANLIB}" \
20236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20237 install-info) \
20238 || exit 1
20240 @endif texinfo
20242 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
20243 maybe-installcheck-texinfo:
20244 @if texinfo
20245 maybe-installcheck-texinfo: installcheck-texinfo
20247 installcheck-texinfo: \
20248 configure-texinfo
20249 @[ -f ./texinfo/Makefile ] || exit 0; \
20250 r=`${PWD_COMMAND}`; export r; \
20251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20252 $(SET_LIB_PATH) \
20253 $(HOST_EXPORTS) \
20254 for flag in $(EXTRA_HOST_FLAGS) ; do \
20255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20256 done; \
20257 echo "Doing installcheck in texinfo" ; \
20258 (cd texinfo && \
20259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20261 "RANLIB=$${RANLIB}" \
20262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20263 installcheck) \
20264 || exit 1
20266 @endif texinfo
20268 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
20269 maybe-mostlyclean-texinfo:
20270 @if texinfo
20271 maybe-mostlyclean-texinfo: mostlyclean-texinfo
20273 mostlyclean-texinfo:
20274 @[ -f ./texinfo/Makefile ] || exit 0; \
20275 r=`${PWD_COMMAND}`; export r; \
20276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20277 $(SET_LIB_PATH) \
20278 $(HOST_EXPORTS) \
20279 for flag in $(EXTRA_HOST_FLAGS) ; do \
20280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20281 done; \
20282 echo "Doing mostlyclean in texinfo" ; \
20283 (cd texinfo && \
20284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20286 "RANLIB=$${RANLIB}" \
20287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20288 mostlyclean) \
20289 || exit 1
20291 @endif texinfo
20293 .PHONY: maybe-clean-texinfo clean-texinfo
20294 maybe-clean-texinfo:
20295 @if texinfo
20296 maybe-clean-texinfo: clean-texinfo
20298 clean-texinfo:
20299 @[ -f ./texinfo/Makefile ] || exit 0; \
20300 r=`${PWD_COMMAND}`; export r; \
20301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20302 $(SET_LIB_PATH) \
20303 $(HOST_EXPORTS) \
20304 for flag in $(EXTRA_HOST_FLAGS) ; do \
20305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20306 done; \
20307 echo "Doing clean in texinfo" ; \
20308 (cd texinfo && \
20309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20311 "RANLIB=$${RANLIB}" \
20312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20313 clean) \
20314 || exit 1
20316 @endif texinfo
20318 .PHONY: maybe-distclean-texinfo distclean-texinfo
20319 maybe-distclean-texinfo:
20320 @if texinfo
20321 maybe-distclean-texinfo: distclean-texinfo
20323 distclean-texinfo:
20324 @[ -f ./texinfo/Makefile ] || exit 0; \
20325 r=`${PWD_COMMAND}`; export r; \
20326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20327 $(SET_LIB_PATH) \
20328 $(HOST_EXPORTS) \
20329 for flag in $(EXTRA_HOST_FLAGS) ; do \
20330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20331 done; \
20332 echo "Doing distclean in texinfo" ; \
20333 (cd texinfo && \
20334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20336 "RANLIB=$${RANLIB}" \
20337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20338 distclean) \
20339 || exit 1
20341 @endif texinfo
20343 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
20344 maybe-maintainer-clean-texinfo:
20345 @if texinfo
20346 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
20348 maintainer-clean-texinfo:
20349 @[ -f ./texinfo/Makefile ] || exit 0; \
20350 r=`${PWD_COMMAND}`; export r; \
20351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20352 $(SET_LIB_PATH) \
20353 $(HOST_EXPORTS) \
20354 for flag in $(EXTRA_HOST_FLAGS) ; do \
20355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20356 done; \
20357 echo "Doing maintainer-clean in texinfo" ; \
20358 (cd texinfo && \
20359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20361 "RANLIB=$${RANLIB}" \
20362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20363 maintainer-clean) \
20364 || exit 1
20366 @endif texinfo
20369 .PHONY: configure-textutils maybe-configure-textutils
20370 maybe-configure-textutils:
20371 @if textutils
20372 maybe-configure-textutils: configure-textutils
20373 configure-textutils:
20374 @test ! -f textutils/Makefile || exit 0; \
20375 [ -d textutils ] || mkdir textutils; \
20376 r=`${PWD_COMMAND}`; export r; \
20377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20378 $(HOST_EXPORTS) \
20379 echo Configuring in textutils; \
20380 cd textutils || exit 1; \
20381 case $(srcdir) in \
20382 \.) \
20383 srcdiroption="--srcdir=."; \
20384 libsrcdir=".";; \
20385 /* | [A-Za-z]:[\\/]*) \
20386 srcdiroption="--srcdir=$(srcdir)/textutils"; \
20387 libsrcdir="$$s/textutils";; \
20388 *) \
20389 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
20390 libsrcdir="$$s/textutils";; \
20391 esac; \
20392 $(SHELL) $${libsrcdir}/configure \
20393 $(HOST_CONFIGARGS) $${srcdiroption} \
20394 || exit 1
20395 @endif textutils
20397 .PHONY: all-textutils maybe-all-textutils
20398 maybe-all-textutils:
20399 @if textutils
20400 TARGET-textutils=all
20401 maybe-all-textutils: all-textutils
20402 all-textutils: configure-textutils
20403 @r=`${PWD_COMMAND}`; export r; \
20404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20405 $(SET_LIB_PATH) \
20406 $(HOST_EXPORTS) \
20407 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) \
20408 $(TARGET-textutils))
20409 @endif textutils
20411 .PHONY: check-textutils maybe-check-textutils
20412 maybe-check-textutils:
20413 @if textutils
20414 maybe-check-textutils: check-textutils
20416 check-textutils:
20417 @r=`${PWD_COMMAND}`; export r; \
20418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20419 $(SET_LIB_PATH) \
20420 $(HOST_EXPORTS) \
20421 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
20423 @endif textutils
20425 .PHONY: install-textutils maybe-install-textutils
20426 maybe-install-textutils:
20427 @if textutils
20428 maybe-install-textutils: install-textutils
20430 install-textutils: installdirs
20431 @r=`${PWD_COMMAND}`; export r; \
20432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20433 $(SET_LIB_PATH) \
20434 $(HOST_EXPORTS) \
20435 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
20437 @endif textutils
20439 # Other targets (info, dvi, etc.)
20441 .PHONY: maybe-info-textutils info-textutils
20442 maybe-info-textutils:
20443 @if textutils
20444 maybe-info-textutils: info-textutils
20446 info-textutils: \
20447 configure-textutils
20448 @[ -f ./textutils/Makefile ] || exit 0; \
20449 r=`${PWD_COMMAND}`; export r; \
20450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20451 $(SET_LIB_PATH) \
20452 $(HOST_EXPORTS) \
20453 for flag in $(EXTRA_HOST_FLAGS) ; do \
20454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20455 done; \
20456 echo "Doing info in textutils" ; \
20457 (cd textutils && \
20458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20460 "RANLIB=$${RANLIB}" \
20461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20462 info) \
20463 || exit 1
20465 @endif textutils
20467 .PHONY: maybe-dvi-textutils dvi-textutils
20468 maybe-dvi-textutils:
20469 @if textutils
20470 maybe-dvi-textutils: dvi-textutils
20472 dvi-textutils: \
20473 configure-textutils
20474 @[ -f ./textutils/Makefile ] || exit 0; \
20475 r=`${PWD_COMMAND}`; export r; \
20476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20477 $(SET_LIB_PATH) \
20478 $(HOST_EXPORTS) \
20479 for flag in $(EXTRA_HOST_FLAGS) ; do \
20480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20481 done; \
20482 echo "Doing dvi in textutils" ; \
20483 (cd textutils && \
20484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20486 "RANLIB=$${RANLIB}" \
20487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20488 dvi) \
20489 || exit 1
20491 @endif textutils
20493 .PHONY: maybe-html-textutils html-textutils
20494 maybe-html-textutils:
20495 @if textutils
20496 maybe-html-textutils: html-textutils
20498 html-textutils: \
20499 configure-textutils
20500 @[ -f ./textutils/Makefile ] || exit 0; \
20501 r=`${PWD_COMMAND}`; export r; \
20502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20503 $(SET_LIB_PATH) \
20504 $(HOST_EXPORTS) \
20505 for flag in $(EXTRA_HOST_FLAGS) ; do \
20506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20507 done; \
20508 echo "Doing html in textutils" ; \
20509 (cd textutils && \
20510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20512 "RANLIB=$${RANLIB}" \
20513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20514 html) \
20515 || exit 1
20517 @endif textutils
20519 .PHONY: maybe-TAGS-textutils TAGS-textutils
20520 maybe-TAGS-textutils:
20521 @if textutils
20522 maybe-TAGS-textutils: TAGS-textutils
20524 TAGS-textutils: \
20525 configure-textutils
20526 @[ -f ./textutils/Makefile ] || exit 0; \
20527 r=`${PWD_COMMAND}`; export r; \
20528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20529 $(SET_LIB_PATH) \
20530 $(HOST_EXPORTS) \
20531 for flag in $(EXTRA_HOST_FLAGS) ; do \
20532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20533 done; \
20534 echo "Doing TAGS in textutils" ; \
20535 (cd textutils && \
20536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20538 "RANLIB=$${RANLIB}" \
20539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20540 TAGS) \
20541 || exit 1
20543 @endif textutils
20545 .PHONY: maybe-install-info-textutils install-info-textutils
20546 maybe-install-info-textutils:
20547 @if textutils
20548 maybe-install-info-textutils: install-info-textutils
20550 install-info-textutils: \
20551 configure-textutils \
20552 info-textutils
20553 @[ -f ./textutils/Makefile ] || exit 0; \
20554 r=`${PWD_COMMAND}`; export r; \
20555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20556 $(SET_LIB_PATH) \
20557 $(HOST_EXPORTS) \
20558 for flag in $(EXTRA_HOST_FLAGS) ; do \
20559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20560 done; \
20561 echo "Doing install-info in textutils" ; \
20562 (cd textutils && \
20563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20565 "RANLIB=$${RANLIB}" \
20566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20567 install-info) \
20568 || exit 1
20570 @endif textutils
20572 .PHONY: maybe-installcheck-textutils installcheck-textutils
20573 maybe-installcheck-textutils:
20574 @if textutils
20575 maybe-installcheck-textutils: installcheck-textutils
20577 installcheck-textutils: \
20578 configure-textutils
20579 @[ -f ./textutils/Makefile ] || exit 0; \
20580 r=`${PWD_COMMAND}`; export r; \
20581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20582 $(SET_LIB_PATH) \
20583 $(HOST_EXPORTS) \
20584 for flag in $(EXTRA_HOST_FLAGS) ; do \
20585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20586 done; \
20587 echo "Doing installcheck in textutils" ; \
20588 (cd textutils && \
20589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20591 "RANLIB=$${RANLIB}" \
20592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20593 installcheck) \
20594 || exit 1
20596 @endif textutils
20598 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
20599 maybe-mostlyclean-textutils:
20600 @if textutils
20601 maybe-mostlyclean-textutils: mostlyclean-textutils
20603 mostlyclean-textutils:
20604 @[ -f ./textutils/Makefile ] || exit 0; \
20605 r=`${PWD_COMMAND}`; export r; \
20606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20607 $(SET_LIB_PATH) \
20608 $(HOST_EXPORTS) \
20609 for flag in $(EXTRA_HOST_FLAGS) ; do \
20610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20611 done; \
20612 echo "Doing mostlyclean in textutils" ; \
20613 (cd textutils && \
20614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20616 "RANLIB=$${RANLIB}" \
20617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20618 mostlyclean) \
20619 || exit 1
20621 @endif textutils
20623 .PHONY: maybe-clean-textutils clean-textutils
20624 maybe-clean-textutils:
20625 @if textutils
20626 maybe-clean-textutils: clean-textutils
20628 clean-textutils:
20629 @[ -f ./textutils/Makefile ] || exit 0; \
20630 r=`${PWD_COMMAND}`; export r; \
20631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20632 $(SET_LIB_PATH) \
20633 $(HOST_EXPORTS) \
20634 for flag in $(EXTRA_HOST_FLAGS) ; do \
20635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20636 done; \
20637 echo "Doing clean in textutils" ; \
20638 (cd textutils && \
20639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20641 "RANLIB=$${RANLIB}" \
20642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20643 clean) \
20644 || exit 1
20646 @endif textutils
20648 .PHONY: maybe-distclean-textutils distclean-textutils
20649 maybe-distclean-textutils:
20650 @if textutils
20651 maybe-distclean-textutils: distclean-textutils
20653 distclean-textutils:
20654 @[ -f ./textutils/Makefile ] || exit 0; \
20655 r=`${PWD_COMMAND}`; export r; \
20656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20657 $(SET_LIB_PATH) \
20658 $(HOST_EXPORTS) \
20659 for flag in $(EXTRA_HOST_FLAGS) ; do \
20660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20661 done; \
20662 echo "Doing distclean in textutils" ; \
20663 (cd textutils && \
20664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20666 "RANLIB=$${RANLIB}" \
20667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20668 distclean) \
20669 || exit 1
20671 @endif textutils
20673 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
20674 maybe-maintainer-clean-textutils:
20675 @if textutils
20676 maybe-maintainer-clean-textutils: maintainer-clean-textutils
20678 maintainer-clean-textutils:
20679 @[ -f ./textutils/Makefile ] || exit 0; \
20680 r=`${PWD_COMMAND}`; export r; \
20681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20682 $(SET_LIB_PATH) \
20683 $(HOST_EXPORTS) \
20684 for flag in $(EXTRA_HOST_FLAGS) ; do \
20685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20686 done; \
20687 echo "Doing maintainer-clean in textutils" ; \
20688 (cd textutils && \
20689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20691 "RANLIB=$${RANLIB}" \
20692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20693 maintainer-clean) \
20694 || exit 1
20696 @endif textutils
20699 .PHONY: configure-time maybe-configure-time
20700 maybe-configure-time:
20701 @if time
20702 maybe-configure-time: configure-time
20703 configure-time:
20704 @test ! -f time/Makefile || exit 0; \
20705 [ -d time ] || mkdir time; \
20706 r=`${PWD_COMMAND}`; export r; \
20707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20708 $(HOST_EXPORTS) \
20709 echo Configuring in time; \
20710 cd time || exit 1; \
20711 case $(srcdir) in \
20712 \.) \
20713 srcdiroption="--srcdir=."; \
20714 libsrcdir=".";; \
20715 /* | [A-Za-z]:[\\/]*) \
20716 srcdiroption="--srcdir=$(srcdir)/time"; \
20717 libsrcdir="$$s/time";; \
20718 *) \
20719 srcdiroption="--srcdir=../$(srcdir)/time"; \
20720 libsrcdir="$$s/time";; \
20721 esac; \
20722 $(SHELL) $${libsrcdir}/configure \
20723 $(HOST_CONFIGARGS) $${srcdiroption} \
20724 || exit 1
20725 @endif time
20727 .PHONY: all-time maybe-all-time
20728 maybe-all-time:
20729 @if time
20730 TARGET-time=all
20731 maybe-all-time: all-time
20732 all-time: configure-time
20733 @r=`${PWD_COMMAND}`; export r; \
20734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20735 $(SET_LIB_PATH) \
20736 $(HOST_EXPORTS) \
20737 (cd time && $(MAKE) $(FLAGS_TO_PASS) \
20738 $(TARGET-time))
20739 @endif time
20741 .PHONY: check-time maybe-check-time
20742 maybe-check-time:
20743 @if time
20744 maybe-check-time: check-time
20746 check-time:
20747 @r=`${PWD_COMMAND}`; export r; \
20748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20749 $(SET_LIB_PATH) \
20750 $(HOST_EXPORTS) \
20751 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
20753 @endif time
20755 .PHONY: install-time maybe-install-time
20756 maybe-install-time:
20757 @if time
20758 maybe-install-time: install-time
20760 install-time: installdirs
20761 @r=`${PWD_COMMAND}`; export r; \
20762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20763 $(SET_LIB_PATH) \
20764 $(HOST_EXPORTS) \
20765 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
20767 @endif time
20769 # Other targets (info, dvi, etc.)
20771 .PHONY: maybe-info-time info-time
20772 maybe-info-time:
20773 @if time
20774 maybe-info-time: info-time
20776 info-time: \
20777 configure-time
20778 @[ -f ./time/Makefile ] || exit 0; \
20779 r=`${PWD_COMMAND}`; export r; \
20780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20781 $(SET_LIB_PATH) \
20782 $(HOST_EXPORTS) \
20783 for flag in $(EXTRA_HOST_FLAGS) ; do \
20784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20785 done; \
20786 echo "Doing info in time" ; \
20787 (cd time && \
20788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20790 "RANLIB=$${RANLIB}" \
20791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20792 info) \
20793 || exit 1
20795 @endif time
20797 .PHONY: maybe-dvi-time dvi-time
20798 maybe-dvi-time:
20799 @if time
20800 maybe-dvi-time: dvi-time
20802 dvi-time: \
20803 configure-time
20804 @[ -f ./time/Makefile ] || exit 0; \
20805 r=`${PWD_COMMAND}`; export r; \
20806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20807 $(SET_LIB_PATH) \
20808 $(HOST_EXPORTS) \
20809 for flag in $(EXTRA_HOST_FLAGS) ; do \
20810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20811 done; \
20812 echo "Doing dvi in time" ; \
20813 (cd time && \
20814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20816 "RANLIB=$${RANLIB}" \
20817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20818 dvi) \
20819 || exit 1
20821 @endif time
20823 .PHONY: maybe-html-time html-time
20824 maybe-html-time:
20825 @if time
20826 maybe-html-time: html-time
20828 html-time: \
20829 configure-time
20830 @[ -f ./time/Makefile ] || exit 0; \
20831 r=`${PWD_COMMAND}`; export r; \
20832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20833 $(SET_LIB_PATH) \
20834 $(HOST_EXPORTS) \
20835 for flag in $(EXTRA_HOST_FLAGS) ; do \
20836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20837 done; \
20838 echo "Doing html in time" ; \
20839 (cd time && \
20840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20842 "RANLIB=$${RANLIB}" \
20843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20844 html) \
20845 || exit 1
20847 @endif time
20849 .PHONY: maybe-TAGS-time TAGS-time
20850 maybe-TAGS-time:
20851 @if time
20852 maybe-TAGS-time: TAGS-time
20854 TAGS-time: \
20855 configure-time
20856 @[ -f ./time/Makefile ] || exit 0; \
20857 r=`${PWD_COMMAND}`; export r; \
20858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20859 $(SET_LIB_PATH) \
20860 $(HOST_EXPORTS) \
20861 for flag in $(EXTRA_HOST_FLAGS) ; do \
20862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20863 done; \
20864 echo "Doing TAGS in time" ; \
20865 (cd time && \
20866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20868 "RANLIB=$${RANLIB}" \
20869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20870 TAGS) \
20871 || exit 1
20873 @endif time
20875 .PHONY: maybe-install-info-time install-info-time
20876 maybe-install-info-time:
20877 @if time
20878 maybe-install-info-time: install-info-time
20880 install-info-time: \
20881 configure-time \
20882 info-time
20883 @[ -f ./time/Makefile ] || exit 0; \
20884 r=`${PWD_COMMAND}`; export r; \
20885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20886 $(SET_LIB_PATH) \
20887 $(HOST_EXPORTS) \
20888 for flag in $(EXTRA_HOST_FLAGS) ; do \
20889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20890 done; \
20891 echo "Doing install-info in time" ; \
20892 (cd time && \
20893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20895 "RANLIB=$${RANLIB}" \
20896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20897 install-info) \
20898 || exit 1
20900 @endif time
20902 .PHONY: maybe-installcheck-time installcheck-time
20903 maybe-installcheck-time:
20904 @if time
20905 maybe-installcheck-time: installcheck-time
20907 installcheck-time: \
20908 configure-time
20909 @[ -f ./time/Makefile ] || exit 0; \
20910 r=`${PWD_COMMAND}`; export r; \
20911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20912 $(SET_LIB_PATH) \
20913 $(HOST_EXPORTS) \
20914 for flag in $(EXTRA_HOST_FLAGS) ; do \
20915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20916 done; \
20917 echo "Doing installcheck in time" ; \
20918 (cd time && \
20919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20921 "RANLIB=$${RANLIB}" \
20922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20923 installcheck) \
20924 || exit 1
20926 @endif time
20928 .PHONY: maybe-mostlyclean-time mostlyclean-time
20929 maybe-mostlyclean-time:
20930 @if time
20931 maybe-mostlyclean-time: mostlyclean-time
20933 mostlyclean-time:
20934 @[ -f ./time/Makefile ] || exit 0; \
20935 r=`${PWD_COMMAND}`; export r; \
20936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20937 $(SET_LIB_PATH) \
20938 $(HOST_EXPORTS) \
20939 for flag in $(EXTRA_HOST_FLAGS) ; do \
20940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20941 done; \
20942 echo "Doing mostlyclean in time" ; \
20943 (cd time && \
20944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20946 "RANLIB=$${RANLIB}" \
20947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20948 mostlyclean) \
20949 || exit 1
20951 @endif time
20953 .PHONY: maybe-clean-time clean-time
20954 maybe-clean-time:
20955 @if time
20956 maybe-clean-time: clean-time
20958 clean-time:
20959 @[ -f ./time/Makefile ] || exit 0; \
20960 r=`${PWD_COMMAND}`; export r; \
20961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20962 $(SET_LIB_PATH) \
20963 $(HOST_EXPORTS) \
20964 for flag in $(EXTRA_HOST_FLAGS) ; do \
20965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20966 done; \
20967 echo "Doing clean in time" ; \
20968 (cd time && \
20969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20971 "RANLIB=$${RANLIB}" \
20972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20973 clean) \
20974 || exit 1
20976 @endif time
20978 .PHONY: maybe-distclean-time distclean-time
20979 maybe-distclean-time:
20980 @if time
20981 maybe-distclean-time: distclean-time
20983 distclean-time:
20984 @[ -f ./time/Makefile ] || exit 0; \
20985 r=`${PWD_COMMAND}`; export r; \
20986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20987 $(SET_LIB_PATH) \
20988 $(HOST_EXPORTS) \
20989 for flag in $(EXTRA_HOST_FLAGS) ; do \
20990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20991 done; \
20992 echo "Doing distclean in time" ; \
20993 (cd time && \
20994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20996 "RANLIB=$${RANLIB}" \
20997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20998 distclean) \
20999 || exit 1
21001 @endif time
21003 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
21004 maybe-maintainer-clean-time:
21005 @if time
21006 maybe-maintainer-clean-time: maintainer-clean-time
21008 maintainer-clean-time:
21009 @[ -f ./time/Makefile ] || exit 0; \
21010 r=`${PWD_COMMAND}`; export r; \
21011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21012 $(SET_LIB_PATH) \
21013 $(HOST_EXPORTS) \
21014 for flag in $(EXTRA_HOST_FLAGS) ; do \
21015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21016 done; \
21017 echo "Doing maintainer-clean in time" ; \
21018 (cd time && \
21019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21021 "RANLIB=$${RANLIB}" \
21022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21023 maintainer-clean) \
21024 || exit 1
21026 @endif time
21029 .PHONY: configure-uudecode maybe-configure-uudecode
21030 maybe-configure-uudecode:
21031 @if uudecode
21032 maybe-configure-uudecode: configure-uudecode
21033 configure-uudecode:
21034 @test ! -f uudecode/Makefile || exit 0; \
21035 [ -d uudecode ] || mkdir uudecode; \
21036 r=`${PWD_COMMAND}`; export r; \
21037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21038 $(HOST_EXPORTS) \
21039 echo Configuring in uudecode; \
21040 cd uudecode || exit 1; \
21041 case $(srcdir) in \
21042 \.) \
21043 srcdiroption="--srcdir=."; \
21044 libsrcdir=".";; \
21045 /* | [A-Za-z]:[\\/]*) \
21046 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
21047 libsrcdir="$$s/uudecode";; \
21048 *) \
21049 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
21050 libsrcdir="$$s/uudecode";; \
21051 esac; \
21052 $(SHELL) $${libsrcdir}/configure \
21053 $(HOST_CONFIGARGS) $${srcdiroption} \
21054 || exit 1
21055 @endif uudecode
21057 .PHONY: all-uudecode maybe-all-uudecode
21058 maybe-all-uudecode:
21059 @if uudecode
21060 TARGET-uudecode=all
21061 maybe-all-uudecode: all-uudecode
21062 all-uudecode: configure-uudecode
21063 @r=`${PWD_COMMAND}`; export r; \
21064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21065 $(SET_LIB_PATH) \
21066 $(HOST_EXPORTS) \
21067 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) \
21068 $(TARGET-uudecode))
21069 @endif uudecode
21071 .PHONY: check-uudecode maybe-check-uudecode
21072 maybe-check-uudecode:
21073 @if uudecode
21074 maybe-check-uudecode: check-uudecode
21076 check-uudecode:
21077 @r=`${PWD_COMMAND}`; export r; \
21078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21079 $(SET_LIB_PATH) \
21080 $(HOST_EXPORTS) \
21081 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
21083 @endif uudecode
21085 .PHONY: install-uudecode maybe-install-uudecode
21086 maybe-install-uudecode:
21087 @if uudecode
21088 maybe-install-uudecode: install-uudecode
21090 install-uudecode: installdirs
21091 @r=`${PWD_COMMAND}`; export r; \
21092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21093 $(SET_LIB_PATH) \
21094 $(HOST_EXPORTS) \
21095 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
21097 @endif uudecode
21099 # Other targets (info, dvi, etc.)
21101 .PHONY: maybe-info-uudecode info-uudecode
21102 maybe-info-uudecode:
21103 @if uudecode
21104 maybe-info-uudecode: info-uudecode
21106 info-uudecode: \
21107 configure-uudecode
21108 @[ -f ./uudecode/Makefile ] || exit 0; \
21109 r=`${PWD_COMMAND}`; export r; \
21110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21111 $(SET_LIB_PATH) \
21112 $(HOST_EXPORTS) \
21113 for flag in $(EXTRA_HOST_FLAGS) ; do \
21114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21115 done; \
21116 echo "Doing info in uudecode" ; \
21117 (cd uudecode && \
21118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21120 "RANLIB=$${RANLIB}" \
21121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21122 info) \
21123 || exit 1
21125 @endif uudecode
21127 .PHONY: maybe-dvi-uudecode dvi-uudecode
21128 maybe-dvi-uudecode:
21129 @if uudecode
21130 maybe-dvi-uudecode: dvi-uudecode
21132 dvi-uudecode: \
21133 configure-uudecode
21134 @[ -f ./uudecode/Makefile ] || exit 0; \
21135 r=`${PWD_COMMAND}`; export r; \
21136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21137 $(SET_LIB_PATH) \
21138 $(HOST_EXPORTS) \
21139 for flag in $(EXTRA_HOST_FLAGS) ; do \
21140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21141 done; \
21142 echo "Doing dvi in uudecode" ; \
21143 (cd uudecode && \
21144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21146 "RANLIB=$${RANLIB}" \
21147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21148 dvi) \
21149 || exit 1
21151 @endif uudecode
21153 .PHONY: maybe-html-uudecode html-uudecode
21154 maybe-html-uudecode:
21155 @if uudecode
21156 maybe-html-uudecode: html-uudecode
21158 html-uudecode: \
21159 configure-uudecode
21160 @[ -f ./uudecode/Makefile ] || exit 0; \
21161 r=`${PWD_COMMAND}`; export r; \
21162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21163 $(SET_LIB_PATH) \
21164 $(HOST_EXPORTS) \
21165 for flag in $(EXTRA_HOST_FLAGS) ; do \
21166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21167 done; \
21168 echo "Doing html in uudecode" ; \
21169 (cd uudecode && \
21170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21172 "RANLIB=$${RANLIB}" \
21173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21174 html) \
21175 || exit 1
21177 @endif uudecode
21179 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
21180 maybe-TAGS-uudecode:
21181 @if uudecode
21182 maybe-TAGS-uudecode: TAGS-uudecode
21184 TAGS-uudecode: \
21185 configure-uudecode
21186 @[ -f ./uudecode/Makefile ] || exit 0; \
21187 r=`${PWD_COMMAND}`; export r; \
21188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21189 $(SET_LIB_PATH) \
21190 $(HOST_EXPORTS) \
21191 for flag in $(EXTRA_HOST_FLAGS) ; do \
21192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21193 done; \
21194 echo "Doing TAGS in uudecode" ; \
21195 (cd uudecode && \
21196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21198 "RANLIB=$${RANLIB}" \
21199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21200 TAGS) \
21201 || exit 1
21203 @endif uudecode
21205 .PHONY: maybe-install-info-uudecode install-info-uudecode
21206 maybe-install-info-uudecode:
21207 @if uudecode
21208 maybe-install-info-uudecode: install-info-uudecode
21210 install-info-uudecode: \
21211 configure-uudecode \
21212 info-uudecode
21213 @[ -f ./uudecode/Makefile ] || exit 0; \
21214 r=`${PWD_COMMAND}`; export r; \
21215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21216 $(SET_LIB_PATH) \
21217 $(HOST_EXPORTS) \
21218 for flag in $(EXTRA_HOST_FLAGS) ; do \
21219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21220 done; \
21221 echo "Doing install-info in uudecode" ; \
21222 (cd uudecode && \
21223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21225 "RANLIB=$${RANLIB}" \
21226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21227 install-info) \
21228 || exit 1
21230 @endif uudecode
21232 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
21233 maybe-installcheck-uudecode:
21234 @if uudecode
21235 maybe-installcheck-uudecode: installcheck-uudecode
21237 installcheck-uudecode: \
21238 configure-uudecode
21239 @[ -f ./uudecode/Makefile ] || exit 0; \
21240 r=`${PWD_COMMAND}`; export r; \
21241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21242 $(SET_LIB_PATH) \
21243 $(HOST_EXPORTS) \
21244 for flag in $(EXTRA_HOST_FLAGS) ; do \
21245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21246 done; \
21247 echo "Doing installcheck in uudecode" ; \
21248 (cd uudecode && \
21249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21251 "RANLIB=$${RANLIB}" \
21252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21253 installcheck) \
21254 || exit 1
21256 @endif uudecode
21258 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
21259 maybe-mostlyclean-uudecode:
21260 @if uudecode
21261 maybe-mostlyclean-uudecode: mostlyclean-uudecode
21263 mostlyclean-uudecode:
21264 @[ -f ./uudecode/Makefile ] || exit 0; \
21265 r=`${PWD_COMMAND}`; export r; \
21266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21267 $(SET_LIB_PATH) \
21268 $(HOST_EXPORTS) \
21269 for flag in $(EXTRA_HOST_FLAGS) ; do \
21270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21271 done; \
21272 echo "Doing mostlyclean in uudecode" ; \
21273 (cd uudecode && \
21274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21276 "RANLIB=$${RANLIB}" \
21277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21278 mostlyclean) \
21279 || exit 1
21281 @endif uudecode
21283 .PHONY: maybe-clean-uudecode clean-uudecode
21284 maybe-clean-uudecode:
21285 @if uudecode
21286 maybe-clean-uudecode: clean-uudecode
21288 clean-uudecode:
21289 @[ -f ./uudecode/Makefile ] || exit 0; \
21290 r=`${PWD_COMMAND}`; export r; \
21291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21292 $(SET_LIB_PATH) \
21293 $(HOST_EXPORTS) \
21294 for flag in $(EXTRA_HOST_FLAGS) ; do \
21295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21296 done; \
21297 echo "Doing clean in uudecode" ; \
21298 (cd uudecode && \
21299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21301 "RANLIB=$${RANLIB}" \
21302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21303 clean) \
21304 || exit 1
21306 @endif uudecode
21308 .PHONY: maybe-distclean-uudecode distclean-uudecode
21309 maybe-distclean-uudecode:
21310 @if uudecode
21311 maybe-distclean-uudecode: distclean-uudecode
21313 distclean-uudecode:
21314 @[ -f ./uudecode/Makefile ] || exit 0; \
21315 r=`${PWD_COMMAND}`; export r; \
21316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21317 $(SET_LIB_PATH) \
21318 $(HOST_EXPORTS) \
21319 for flag in $(EXTRA_HOST_FLAGS) ; do \
21320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21321 done; \
21322 echo "Doing distclean in uudecode" ; \
21323 (cd uudecode && \
21324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21326 "RANLIB=$${RANLIB}" \
21327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21328 distclean) \
21329 || exit 1
21331 @endif uudecode
21333 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
21334 maybe-maintainer-clean-uudecode:
21335 @if uudecode
21336 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
21338 maintainer-clean-uudecode:
21339 @[ -f ./uudecode/Makefile ] || exit 0; \
21340 r=`${PWD_COMMAND}`; export r; \
21341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21342 $(SET_LIB_PATH) \
21343 $(HOST_EXPORTS) \
21344 for flag in $(EXTRA_HOST_FLAGS) ; do \
21345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21346 done; \
21347 echo "Doing maintainer-clean in uudecode" ; \
21348 (cd uudecode && \
21349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21351 "RANLIB=$${RANLIB}" \
21352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21353 maintainer-clean) \
21354 || exit 1
21356 @endif uudecode
21359 .PHONY: configure-wdiff maybe-configure-wdiff
21360 maybe-configure-wdiff:
21361 @if wdiff
21362 maybe-configure-wdiff: configure-wdiff
21363 configure-wdiff:
21364 @test ! -f wdiff/Makefile || exit 0; \
21365 [ -d wdiff ] || mkdir wdiff; \
21366 r=`${PWD_COMMAND}`; export r; \
21367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21368 $(HOST_EXPORTS) \
21369 echo Configuring in wdiff; \
21370 cd wdiff || exit 1; \
21371 case $(srcdir) in \
21372 \.) \
21373 srcdiroption="--srcdir=."; \
21374 libsrcdir=".";; \
21375 /* | [A-Za-z]:[\\/]*) \
21376 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
21377 libsrcdir="$$s/wdiff";; \
21378 *) \
21379 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
21380 libsrcdir="$$s/wdiff";; \
21381 esac; \
21382 $(SHELL) $${libsrcdir}/configure \
21383 $(HOST_CONFIGARGS) $${srcdiroption} \
21384 || exit 1
21385 @endif wdiff
21387 .PHONY: all-wdiff maybe-all-wdiff
21388 maybe-all-wdiff:
21389 @if wdiff
21390 TARGET-wdiff=all
21391 maybe-all-wdiff: all-wdiff
21392 all-wdiff: configure-wdiff
21393 @r=`${PWD_COMMAND}`; export r; \
21394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21395 $(SET_LIB_PATH) \
21396 $(HOST_EXPORTS) \
21397 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) \
21398 $(TARGET-wdiff))
21399 @endif wdiff
21401 .PHONY: check-wdiff maybe-check-wdiff
21402 maybe-check-wdiff:
21403 @if wdiff
21404 maybe-check-wdiff: check-wdiff
21406 check-wdiff:
21407 @r=`${PWD_COMMAND}`; export r; \
21408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21409 $(SET_LIB_PATH) \
21410 $(HOST_EXPORTS) \
21411 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
21413 @endif wdiff
21415 .PHONY: install-wdiff maybe-install-wdiff
21416 maybe-install-wdiff:
21417 @if wdiff
21418 maybe-install-wdiff: install-wdiff
21420 install-wdiff: installdirs
21421 @r=`${PWD_COMMAND}`; export r; \
21422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21423 $(SET_LIB_PATH) \
21424 $(HOST_EXPORTS) \
21425 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
21427 @endif wdiff
21429 # Other targets (info, dvi, etc.)
21431 .PHONY: maybe-info-wdiff info-wdiff
21432 maybe-info-wdiff:
21433 @if wdiff
21434 maybe-info-wdiff: info-wdiff
21436 info-wdiff: \
21437 configure-wdiff
21438 @[ -f ./wdiff/Makefile ] || exit 0; \
21439 r=`${PWD_COMMAND}`; export r; \
21440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21441 $(SET_LIB_PATH) \
21442 $(HOST_EXPORTS) \
21443 for flag in $(EXTRA_HOST_FLAGS) ; do \
21444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21445 done; \
21446 echo "Doing info in wdiff" ; \
21447 (cd wdiff && \
21448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21450 "RANLIB=$${RANLIB}" \
21451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21452 info) \
21453 || exit 1
21455 @endif wdiff
21457 .PHONY: maybe-dvi-wdiff dvi-wdiff
21458 maybe-dvi-wdiff:
21459 @if wdiff
21460 maybe-dvi-wdiff: dvi-wdiff
21462 dvi-wdiff: \
21463 configure-wdiff
21464 @[ -f ./wdiff/Makefile ] || exit 0; \
21465 r=`${PWD_COMMAND}`; export r; \
21466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21467 $(SET_LIB_PATH) \
21468 $(HOST_EXPORTS) \
21469 for flag in $(EXTRA_HOST_FLAGS) ; do \
21470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21471 done; \
21472 echo "Doing dvi in wdiff" ; \
21473 (cd wdiff && \
21474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21476 "RANLIB=$${RANLIB}" \
21477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21478 dvi) \
21479 || exit 1
21481 @endif wdiff
21483 .PHONY: maybe-html-wdiff html-wdiff
21484 maybe-html-wdiff:
21485 @if wdiff
21486 maybe-html-wdiff: html-wdiff
21488 html-wdiff: \
21489 configure-wdiff
21490 @[ -f ./wdiff/Makefile ] || exit 0; \
21491 r=`${PWD_COMMAND}`; export r; \
21492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21493 $(SET_LIB_PATH) \
21494 $(HOST_EXPORTS) \
21495 for flag in $(EXTRA_HOST_FLAGS) ; do \
21496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21497 done; \
21498 echo "Doing html in wdiff" ; \
21499 (cd wdiff && \
21500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21502 "RANLIB=$${RANLIB}" \
21503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21504 html) \
21505 || exit 1
21507 @endif wdiff
21509 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
21510 maybe-TAGS-wdiff:
21511 @if wdiff
21512 maybe-TAGS-wdiff: TAGS-wdiff
21514 TAGS-wdiff: \
21515 configure-wdiff
21516 @[ -f ./wdiff/Makefile ] || exit 0; \
21517 r=`${PWD_COMMAND}`; export r; \
21518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21519 $(SET_LIB_PATH) \
21520 $(HOST_EXPORTS) \
21521 for flag in $(EXTRA_HOST_FLAGS) ; do \
21522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21523 done; \
21524 echo "Doing TAGS in wdiff" ; \
21525 (cd wdiff && \
21526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21528 "RANLIB=$${RANLIB}" \
21529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21530 TAGS) \
21531 || exit 1
21533 @endif wdiff
21535 .PHONY: maybe-install-info-wdiff install-info-wdiff
21536 maybe-install-info-wdiff:
21537 @if wdiff
21538 maybe-install-info-wdiff: install-info-wdiff
21540 install-info-wdiff: \
21541 configure-wdiff \
21542 info-wdiff
21543 @[ -f ./wdiff/Makefile ] || exit 0; \
21544 r=`${PWD_COMMAND}`; export r; \
21545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21546 $(SET_LIB_PATH) \
21547 $(HOST_EXPORTS) \
21548 for flag in $(EXTRA_HOST_FLAGS) ; do \
21549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21550 done; \
21551 echo "Doing install-info in wdiff" ; \
21552 (cd wdiff && \
21553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21555 "RANLIB=$${RANLIB}" \
21556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21557 install-info) \
21558 || exit 1
21560 @endif wdiff
21562 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
21563 maybe-installcheck-wdiff:
21564 @if wdiff
21565 maybe-installcheck-wdiff: installcheck-wdiff
21567 installcheck-wdiff: \
21568 configure-wdiff
21569 @[ -f ./wdiff/Makefile ] || exit 0; \
21570 r=`${PWD_COMMAND}`; export r; \
21571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21572 $(SET_LIB_PATH) \
21573 $(HOST_EXPORTS) \
21574 for flag in $(EXTRA_HOST_FLAGS) ; do \
21575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21576 done; \
21577 echo "Doing installcheck in wdiff" ; \
21578 (cd wdiff && \
21579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21581 "RANLIB=$${RANLIB}" \
21582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21583 installcheck) \
21584 || exit 1
21586 @endif wdiff
21588 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
21589 maybe-mostlyclean-wdiff:
21590 @if wdiff
21591 maybe-mostlyclean-wdiff: mostlyclean-wdiff
21593 mostlyclean-wdiff:
21594 @[ -f ./wdiff/Makefile ] || exit 0; \
21595 r=`${PWD_COMMAND}`; export r; \
21596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21597 $(SET_LIB_PATH) \
21598 $(HOST_EXPORTS) \
21599 for flag in $(EXTRA_HOST_FLAGS) ; do \
21600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21601 done; \
21602 echo "Doing mostlyclean in wdiff" ; \
21603 (cd wdiff && \
21604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21606 "RANLIB=$${RANLIB}" \
21607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21608 mostlyclean) \
21609 || exit 1
21611 @endif wdiff
21613 .PHONY: maybe-clean-wdiff clean-wdiff
21614 maybe-clean-wdiff:
21615 @if wdiff
21616 maybe-clean-wdiff: clean-wdiff
21618 clean-wdiff:
21619 @[ -f ./wdiff/Makefile ] || exit 0; \
21620 r=`${PWD_COMMAND}`; export r; \
21621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21622 $(SET_LIB_PATH) \
21623 $(HOST_EXPORTS) \
21624 for flag in $(EXTRA_HOST_FLAGS) ; do \
21625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21626 done; \
21627 echo "Doing clean in wdiff" ; \
21628 (cd wdiff && \
21629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21631 "RANLIB=$${RANLIB}" \
21632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21633 clean) \
21634 || exit 1
21636 @endif wdiff
21638 .PHONY: maybe-distclean-wdiff distclean-wdiff
21639 maybe-distclean-wdiff:
21640 @if wdiff
21641 maybe-distclean-wdiff: distclean-wdiff
21643 distclean-wdiff:
21644 @[ -f ./wdiff/Makefile ] || exit 0; \
21645 r=`${PWD_COMMAND}`; export r; \
21646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21647 $(SET_LIB_PATH) \
21648 $(HOST_EXPORTS) \
21649 for flag in $(EXTRA_HOST_FLAGS) ; do \
21650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21651 done; \
21652 echo "Doing distclean in wdiff" ; \
21653 (cd wdiff && \
21654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21656 "RANLIB=$${RANLIB}" \
21657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21658 distclean) \
21659 || exit 1
21661 @endif wdiff
21663 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
21664 maybe-maintainer-clean-wdiff:
21665 @if wdiff
21666 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
21668 maintainer-clean-wdiff:
21669 @[ -f ./wdiff/Makefile ] || exit 0; \
21670 r=`${PWD_COMMAND}`; export r; \
21671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21672 $(SET_LIB_PATH) \
21673 $(HOST_EXPORTS) \
21674 for flag in $(EXTRA_HOST_FLAGS) ; do \
21675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21676 done; \
21677 echo "Doing maintainer-clean in wdiff" ; \
21678 (cd wdiff && \
21679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21681 "RANLIB=$${RANLIB}" \
21682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21683 maintainer-clean) \
21684 || exit 1
21686 @endif wdiff
21689 .PHONY: configure-zip maybe-configure-zip
21690 maybe-configure-zip:
21691 @if zip
21692 maybe-configure-zip: configure-zip
21693 configure-zip:
21694 @test ! -f zip/Makefile || exit 0; \
21695 [ -d zip ] || mkdir zip; \
21696 r=`${PWD_COMMAND}`; export r; \
21697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21698 $(HOST_EXPORTS) \
21699 echo Configuring in zip; \
21700 cd zip || exit 1; \
21701 case $(srcdir) in \
21702 \.) \
21703 srcdiroption="--srcdir=."; \
21704 libsrcdir=".";; \
21705 /* | [A-Za-z]:[\\/]*) \
21706 srcdiroption="--srcdir=$(srcdir)/zip"; \
21707 libsrcdir="$$s/zip";; \
21708 *) \
21709 srcdiroption="--srcdir=../$(srcdir)/zip"; \
21710 libsrcdir="$$s/zip";; \
21711 esac; \
21712 $(SHELL) $${libsrcdir}/configure \
21713 $(HOST_CONFIGARGS) $${srcdiroption} \
21714 || exit 1
21715 @endif zip
21717 .PHONY: all-zip maybe-all-zip
21718 maybe-all-zip:
21719 @if zip
21720 TARGET-zip=all
21721 maybe-all-zip: all-zip
21722 all-zip: configure-zip
21723 @r=`${PWD_COMMAND}`; export r; \
21724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21725 $(SET_LIB_PATH) \
21726 $(HOST_EXPORTS) \
21727 (cd zip && $(MAKE) $(FLAGS_TO_PASS) \
21728 $(TARGET-zip))
21729 @endif zip
21731 .PHONY: check-zip maybe-check-zip
21732 maybe-check-zip:
21733 @if zip
21734 maybe-check-zip: check-zip
21736 # This module is only tested in a native toolchain.
21737 check-zip:
21738 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
21746 @endif zip
21748 .PHONY: install-zip maybe-install-zip
21749 maybe-install-zip:
21750 @if zip
21751 maybe-install-zip: install-zip
21753 install-zip: installdirs
21754 @r=`${PWD_COMMAND}`; export r; \
21755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21756 $(SET_LIB_PATH) \
21757 $(HOST_EXPORTS) \
21758 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
21760 @endif zip
21762 # Other targets (info, dvi, etc.)
21764 .PHONY: maybe-info-zip info-zip
21765 maybe-info-zip:
21766 @if zip
21767 maybe-info-zip: info-zip
21769 info-zip: \
21770 configure-zip
21771 @[ -f ./zip/Makefile ] || exit 0; \
21772 r=`${PWD_COMMAND}`; export r; \
21773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21774 $(SET_LIB_PATH) \
21775 $(HOST_EXPORTS) \
21776 for flag in $(EXTRA_HOST_FLAGS) ; do \
21777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21778 done; \
21779 echo "Doing info in zip" ; \
21780 (cd zip && \
21781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21783 "RANLIB=$${RANLIB}" \
21784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21785 info) \
21786 || exit 1
21788 @endif zip
21790 .PHONY: maybe-dvi-zip dvi-zip
21791 maybe-dvi-zip:
21792 @if zip
21793 maybe-dvi-zip: dvi-zip
21795 dvi-zip: \
21796 configure-zip
21797 @[ -f ./zip/Makefile ] || exit 0; \
21798 r=`${PWD_COMMAND}`; export r; \
21799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21800 $(SET_LIB_PATH) \
21801 $(HOST_EXPORTS) \
21802 for flag in $(EXTRA_HOST_FLAGS) ; do \
21803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21804 done; \
21805 echo "Doing dvi in zip" ; \
21806 (cd zip && \
21807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21809 "RANLIB=$${RANLIB}" \
21810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21811 dvi) \
21812 || exit 1
21814 @endif zip
21816 .PHONY: maybe-html-zip html-zip
21817 maybe-html-zip:
21818 @if zip
21819 maybe-html-zip: html-zip
21821 html-zip: \
21822 configure-zip
21823 @[ -f ./zip/Makefile ] || exit 0; \
21824 r=`${PWD_COMMAND}`; export r; \
21825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21826 $(SET_LIB_PATH) \
21827 $(HOST_EXPORTS) \
21828 for flag in $(EXTRA_HOST_FLAGS) ; do \
21829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21830 done; \
21831 echo "Doing html in zip" ; \
21832 (cd zip && \
21833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21835 "RANLIB=$${RANLIB}" \
21836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21837 html) \
21838 || exit 1
21840 @endif zip
21842 .PHONY: maybe-TAGS-zip TAGS-zip
21843 maybe-TAGS-zip:
21844 @if zip
21845 maybe-TAGS-zip: TAGS-zip
21847 TAGS-zip: \
21848 configure-zip
21849 @[ -f ./zip/Makefile ] || exit 0; \
21850 r=`${PWD_COMMAND}`; export r; \
21851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21852 $(SET_LIB_PATH) \
21853 $(HOST_EXPORTS) \
21854 for flag in $(EXTRA_HOST_FLAGS) ; do \
21855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21856 done; \
21857 echo "Doing TAGS in zip" ; \
21858 (cd zip && \
21859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21861 "RANLIB=$${RANLIB}" \
21862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21863 TAGS) \
21864 || exit 1
21866 @endif zip
21868 .PHONY: maybe-install-info-zip install-info-zip
21869 maybe-install-info-zip:
21870 @if zip
21871 maybe-install-info-zip: install-info-zip
21873 install-info-zip: \
21874 configure-zip \
21875 info-zip
21876 @[ -f ./zip/Makefile ] || exit 0; \
21877 r=`${PWD_COMMAND}`; export r; \
21878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21879 $(SET_LIB_PATH) \
21880 $(HOST_EXPORTS) \
21881 for flag in $(EXTRA_HOST_FLAGS) ; do \
21882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21883 done; \
21884 echo "Doing install-info in zip" ; \
21885 (cd zip && \
21886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21888 "RANLIB=$${RANLIB}" \
21889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21890 install-info) \
21891 || exit 1
21893 @endif zip
21895 .PHONY: maybe-installcheck-zip installcheck-zip
21896 maybe-installcheck-zip:
21897 @if zip
21898 maybe-installcheck-zip: installcheck-zip
21900 installcheck-zip: \
21901 configure-zip
21902 @[ -f ./zip/Makefile ] || exit 0; \
21903 r=`${PWD_COMMAND}`; export r; \
21904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21905 $(SET_LIB_PATH) \
21906 $(HOST_EXPORTS) \
21907 for flag in $(EXTRA_HOST_FLAGS) ; do \
21908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21909 done; \
21910 echo "Doing installcheck in zip" ; \
21911 (cd zip && \
21912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21914 "RANLIB=$${RANLIB}" \
21915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21916 installcheck) \
21917 || exit 1
21919 @endif zip
21921 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
21922 maybe-mostlyclean-zip:
21923 @if zip
21924 maybe-mostlyclean-zip: mostlyclean-zip
21926 mostlyclean-zip:
21927 @[ -f ./zip/Makefile ] || exit 0; \
21928 r=`${PWD_COMMAND}`; export r; \
21929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21930 $(SET_LIB_PATH) \
21931 $(HOST_EXPORTS) \
21932 for flag in $(EXTRA_HOST_FLAGS) ; do \
21933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21934 done; \
21935 echo "Doing mostlyclean in zip" ; \
21936 (cd zip && \
21937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21939 "RANLIB=$${RANLIB}" \
21940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21941 mostlyclean) \
21942 || exit 1
21944 @endif zip
21946 .PHONY: maybe-clean-zip clean-zip
21947 maybe-clean-zip:
21948 @if zip
21949 maybe-clean-zip: clean-zip
21951 clean-zip:
21952 @[ -f ./zip/Makefile ] || exit 0; \
21953 r=`${PWD_COMMAND}`; export r; \
21954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21955 $(SET_LIB_PATH) \
21956 $(HOST_EXPORTS) \
21957 for flag in $(EXTRA_HOST_FLAGS) ; do \
21958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21959 done; \
21960 echo "Doing clean in zip" ; \
21961 (cd zip && \
21962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21964 "RANLIB=$${RANLIB}" \
21965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21966 clean) \
21967 || exit 1
21969 @endif zip
21971 .PHONY: maybe-distclean-zip distclean-zip
21972 maybe-distclean-zip:
21973 @if zip
21974 maybe-distclean-zip: distclean-zip
21976 distclean-zip:
21977 @[ -f ./zip/Makefile ] || exit 0; \
21978 r=`${PWD_COMMAND}`; export r; \
21979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21980 $(SET_LIB_PATH) \
21981 $(HOST_EXPORTS) \
21982 for flag in $(EXTRA_HOST_FLAGS) ; do \
21983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21984 done; \
21985 echo "Doing distclean in zip" ; \
21986 (cd zip && \
21987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21989 "RANLIB=$${RANLIB}" \
21990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21991 distclean) \
21992 || exit 1
21994 @endif zip
21996 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
21997 maybe-maintainer-clean-zip:
21998 @if zip
21999 maybe-maintainer-clean-zip: maintainer-clean-zip
22001 maintainer-clean-zip:
22002 @[ -f ./zip/Makefile ] || exit 0; \
22003 r=`${PWD_COMMAND}`; export r; \
22004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22005 $(SET_LIB_PATH) \
22006 $(HOST_EXPORTS) \
22007 for flag in $(EXTRA_HOST_FLAGS) ; do \
22008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22009 done; \
22010 echo "Doing maintainer-clean in zip" ; \
22011 (cd zip && \
22012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22014 "RANLIB=$${RANLIB}" \
22015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22016 maintainer-clean) \
22017 || exit 1
22019 @endif zip
22022 .PHONY: configure-zlib maybe-configure-zlib
22023 maybe-configure-zlib:
22024 @if zlib
22025 maybe-configure-zlib: configure-zlib
22026 configure-zlib:
22027 @test -f stage_last && exit 0; \
22028 test ! -f zlib/Makefile || exit 0; \
22029 [ -d zlib ] || mkdir zlib; \
22030 r=`${PWD_COMMAND}`; export r; \
22031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22032 $(HOST_EXPORTS) \
22033 echo Configuring in zlib; \
22034 cd zlib || exit 1; \
22035 case $(srcdir) in \
22036 \.) \
22037 srcdiroption="--srcdir=."; \
22038 libsrcdir=".";; \
22039 /* | [A-Za-z]:[\\/]*) \
22040 srcdiroption="--srcdir=$(srcdir)/zlib"; \
22041 libsrcdir="$$s/zlib";; \
22042 *) \
22043 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
22044 libsrcdir="$$s/zlib";; \
22045 esac; \
22046 $(SHELL) $${libsrcdir}/configure \
22047 $(HOST_CONFIGARGS) $${srcdiroption} \
22048 || exit 1
22049 @endif zlib
22051 .PHONY: all-zlib maybe-all-zlib
22052 maybe-all-zlib:
22053 @if zlib
22054 TARGET-zlib=all
22055 maybe-all-zlib: all-zlib
22056 all-zlib: configure-zlib
22057 @test -f stage_last && exit 0; \
22058 r=`${PWD_COMMAND}`; export r; \
22059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22060 $(SET_LIB_PATH) \
22061 $(HOST_EXPORTS) \
22062 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) \
22063 $(TARGET-zlib))
22064 @endif zlib
22066 .PHONY: check-zlib maybe-check-zlib
22067 maybe-check-zlib:
22068 @if zlib
22069 maybe-check-zlib: check-zlib
22071 check-zlib:
22073 @endif zlib
22075 .PHONY: install-zlib maybe-install-zlib
22076 maybe-install-zlib:
22077 @if zlib
22078 maybe-install-zlib: install-zlib
22080 install-zlib:
22082 @endif zlib
22084 # Other targets (info, dvi, etc.)
22086 .PHONY: maybe-info-zlib info-zlib
22087 maybe-info-zlib:
22088 @if zlib
22089 maybe-info-zlib: info-zlib
22091 info-zlib: \
22092 configure-zlib
22093 @[ -f ./zlib/Makefile ] || exit 0; \
22094 r=`${PWD_COMMAND}`; export r; \
22095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22096 $(SET_LIB_PATH) \
22097 $(HOST_EXPORTS) \
22098 for flag in $(EXTRA_HOST_FLAGS) ; do \
22099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22100 done; \
22101 echo "Doing info in zlib" ; \
22102 (cd zlib && \
22103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22105 "RANLIB=$${RANLIB}" \
22106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22107 info) \
22108 || exit 1
22110 @endif zlib
22112 .PHONY: maybe-dvi-zlib dvi-zlib
22113 maybe-dvi-zlib:
22114 @if zlib
22115 maybe-dvi-zlib: dvi-zlib
22117 dvi-zlib: \
22118 configure-zlib
22119 @[ -f ./zlib/Makefile ] || exit 0; \
22120 r=`${PWD_COMMAND}`; export r; \
22121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22122 $(SET_LIB_PATH) \
22123 $(HOST_EXPORTS) \
22124 for flag in $(EXTRA_HOST_FLAGS) ; do \
22125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22126 done; \
22127 echo "Doing dvi in zlib" ; \
22128 (cd zlib && \
22129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22131 "RANLIB=$${RANLIB}" \
22132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22133 dvi) \
22134 || exit 1
22136 @endif zlib
22138 .PHONY: maybe-html-zlib html-zlib
22139 maybe-html-zlib:
22140 @if zlib
22141 maybe-html-zlib: html-zlib
22143 html-zlib: \
22144 configure-zlib
22145 @[ -f ./zlib/Makefile ] || exit 0; \
22146 r=`${PWD_COMMAND}`; export r; \
22147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22148 $(SET_LIB_PATH) \
22149 $(HOST_EXPORTS) \
22150 for flag in $(EXTRA_HOST_FLAGS) ; do \
22151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22152 done; \
22153 echo "Doing html in zlib" ; \
22154 (cd zlib && \
22155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22157 "RANLIB=$${RANLIB}" \
22158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22159 html) \
22160 || exit 1
22162 @endif zlib
22164 .PHONY: maybe-TAGS-zlib TAGS-zlib
22165 maybe-TAGS-zlib:
22166 @if zlib
22167 maybe-TAGS-zlib: TAGS-zlib
22169 TAGS-zlib: \
22170 configure-zlib
22171 @[ -f ./zlib/Makefile ] || exit 0; \
22172 r=`${PWD_COMMAND}`; export r; \
22173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22174 $(SET_LIB_PATH) \
22175 $(HOST_EXPORTS) \
22176 for flag in $(EXTRA_HOST_FLAGS) ; do \
22177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22178 done; \
22179 echo "Doing TAGS in zlib" ; \
22180 (cd zlib && \
22181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22183 "RANLIB=$${RANLIB}" \
22184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22185 TAGS) \
22186 || exit 1
22188 @endif zlib
22190 .PHONY: maybe-install-info-zlib install-info-zlib
22191 maybe-install-info-zlib:
22192 @if zlib
22193 maybe-install-info-zlib: install-info-zlib
22195 install-info-zlib: \
22196 configure-zlib \
22197 info-zlib
22198 @[ -f ./zlib/Makefile ] || exit 0; \
22199 r=`${PWD_COMMAND}`; export r; \
22200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22201 $(SET_LIB_PATH) \
22202 $(HOST_EXPORTS) \
22203 for flag in $(EXTRA_HOST_FLAGS) ; do \
22204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22205 done; \
22206 echo "Doing install-info in zlib" ; \
22207 (cd zlib && \
22208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22210 "RANLIB=$${RANLIB}" \
22211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22212 install-info) \
22213 || exit 1
22215 @endif zlib
22217 .PHONY: maybe-installcheck-zlib installcheck-zlib
22218 maybe-installcheck-zlib:
22219 @if zlib
22220 maybe-installcheck-zlib: installcheck-zlib
22222 installcheck-zlib: \
22223 configure-zlib
22224 @[ -f ./zlib/Makefile ] || exit 0; \
22225 r=`${PWD_COMMAND}`; export r; \
22226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22227 $(SET_LIB_PATH) \
22228 $(HOST_EXPORTS) \
22229 for flag in $(EXTRA_HOST_FLAGS) ; do \
22230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22231 done; \
22232 echo "Doing installcheck in zlib" ; \
22233 (cd zlib && \
22234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22236 "RANLIB=$${RANLIB}" \
22237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22238 installcheck) \
22239 || exit 1
22241 @endif zlib
22243 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
22244 maybe-mostlyclean-zlib:
22245 @if zlib
22246 maybe-mostlyclean-zlib: mostlyclean-zlib
22248 mostlyclean-zlib:
22249 @[ -f ./zlib/Makefile ] || exit 0; \
22250 r=`${PWD_COMMAND}`; export r; \
22251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22252 $(SET_LIB_PATH) \
22253 $(HOST_EXPORTS) \
22254 for flag in $(EXTRA_HOST_FLAGS) ; do \
22255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22256 done; \
22257 echo "Doing mostlyclean in zlib" ; \
22258 (cd zlib && \
22259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22261 "RANLIB=$${RANLIB}" \
22262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22263 mostlyclean) \
22264 || exit 1
22266 @endif zlib
22268 .PHONY: maybe-clean-zlib clean-zlib
22269 maybe-clean-zlib:
22270 @if zlib
22271 maybe-clean-zlib: clean-zlib
22273 clean-zlib:
22274 @[ -f ./zlib/Makefile ] || exit 0; \
22275 r=`${PWD_COMMAND}`; export r; \
22276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22277 $(SET_LIB_PATH) \
22278 $(HOST_EXPORTS) \
22279 for flag in $(EXTRA_HOST_FLAGS) ; do \
22280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22281 done; \
22282 echo "Doing clean in zlib" ; \
22283 (cd zlib && \
22284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22286 "RANLIB=$${RANLIB}" \
22287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22288 clean) \
22289 || exit 1
22291 @endif zlib
22293 .PHONY: maybe-distclean-zlib distclean-zlib
22294 maybe-distclean-zlib:
22295 @if zlib
22296 maybe-distclean-zlib: distclean-zlib
22298 distclean-zlib:
22299 @[ -f ./zlib/Makefile ] || exit 0; \
22300 r=`${PWD_COMMAND}`; export r; \
22301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22302 $(SET_LIB_PATH) \
22303 $(HOST_EXPORTS) \
22304 for flag in $(EXTRA_HOST_FLAGS) ; do \
22305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22306 done; \
22307 echo "Doing distclean in zlib" ; \
22308 (cd zlib && \
22309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22311 "RANLIB=$${RANLIB}" \
22312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22313 distclean) \
22314 || exit 1
22316 @endif zlib
22318 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
22319 maybe-maintainer-clean-zlib:
22320 @if zlib
22321 maybe-maintainer-clean-zlib: maintainer-clean-zlib
22323 maintainer-clean-zlib:
22324 @[ -f ./zlib/Makefile ] || exit 0; \
22325 r=`${PWD_COMMAND}`; export r; \
22326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22327 $(SET_LIB_PATH) \
22328 $(HOST_EXPORTS) \
22329 for flag in $(EXTRA_HOST_FLAGS) ; do \
22330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22331 done; \
22332 echo "Doing maintainer-clean in zlib" ; \
22333 (cd zlib && \
22334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22336 "RANLIB=$${RANLIB}" \
22337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22338 maintainer-clean) \
22339 || exit 1
22341 @endif zlib
22344 .PHONY: configure-gdb maybe-configure-gdb
22345 maybe-configure-gdb:
22346 @if gdb
22347 maybe-configure-gdb: configure-gdb
22348 configure-gdb:
22349 @test ! -f gdb/Makefile || exit 0; \
22350 [ -d gdb ] || mkdir gdb; \
22351 r=`${PWD_COMMAND}`; export r; \
22352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22353 $(HOST_EXPORTS) \
22354 echo Configuring in gdb; \
22355 cd gdb || exit 1; \
22356 case $(srcdir) in \
22357 \.) \
22358 srcdiroption="--srcdir=."; \
22359 libsrcdir=".";; \
22360 /* | [A-Za-z]:[\\/]*) \
22361 srcdiroption="--srcdir=$(srcdir)/gdb"; \
22362 libsrcdir="$$s/gdb";; \
22363 *) \
22364 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
22365 libsrcdir="$$s/gdb";; \
22366 esac; \
22367 $(SHELL) $${libsrcdir}/configure \
22368 $(HOST_CONFIGARGS) $${srcdiroption} \
22369 || exit 1
22370 @endif gdb
22372 .PHONY: all-gdb maybe-all-gdb
22373 maybe-all-gdb:
22374 @if gdb
22375 TARGET-gdb=all
22376 maybe-all-gdb: all-gdb
22377 all-gdb: configure-gdb
22378 @r=`${PWD_COMMAND}`; export r; \
22379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22380 $(SET_LIB_PATH) \
22381 $(HOST_EXPORTS) \
22382 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22383 $(TARGET-gdb))
22384 @endif gdb
22386 .PHONY: check-gdb maybe-check-gdb
22387 maybe-check-gdb:
22388 @if gdb
22389 maybe-check-gdb: check-gdb
22391 check-gdb:
22392 @r=`${PWD_COMMAND}`; export r; \
22393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22394 $(SET_LIB_PATH) \
22395 $(HOST_EXPORTS) \
22396 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22398 @endif gdb
22400 .PHONY: install-gdb maybe-install-gdb
22401 maybe-install-gdb:
22402 @if gdb
22403 maybe-install-gdb: install-gdb
22405 install-gdb: installdirs
22406 @r=`${PWD_COMMAND}`; export r; \
22407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22408 $(SET_LIB_PATH) \
22409 $(HOST_EXPORTS) \
22410 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22412 @endif gdb
22414 # Other targets (info, dvi, etc.)
22416 .PHONY: maybe-info-gdb info-gdb
22417 maybe-info-gdb:
22418 @if gdb
22419 maybe-info-gdb: info-gdb
22421 info-gdb: \
22422 configure-gdb
22423 @[ -f ./gdb/Makefile ] || exit 0; \
22424 r=`${PWD_COMMAND}`; export r; \
22425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22426 $(SET_LIB_PATH) \
22427 $(HOST_EXPORTS) \
22428 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22430 done; \
22431 echo "Doing info in gdb" ; \
22432 (cd gdb && \
22433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22435 "RANLIB=$${RANLIB}" \
22436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22437 info) \
22438 || exit 1
22440 @endif gdb
22442 .PHONY: maybe-dvi-gdb dvi-gdb
22443 maybe-dvi-gdb:
22444 @if gdb
22445 maybe-dvi-gdb: dvi-gdb
22447 dvi-gdb: \
22448 configure-gdb
22449 @[ -f ./gdb/Makefile ] || exit 0; \
22450 r=`${PWD_COMMAND}`; export r; \
22451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22452 $(SET_LIB_PATH) \
22453 $(HOST_EXPORTS) \
22454 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22456 done; \
22457 echo "Doing dvi in gdb" ; \
22458 (cd gdb && \
22459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22461 "RANLIB=$${RANLIB}" \
22462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22463 dvi) \
22464 || exit 1
22466 @endif gdb
22468 .PHONY: maybe-html-gdb html-gdb
22469 maybe-html-gdb:
22470 @if gdb
22471 maybe-html-gdb: html-gdb
22473 html-gdb: \
22474 configure-gdb
22475 @[ -f ./gdb/Makefile ] || exit 0; \
22476 r=`${PWD_COMMAND}`; export r; \
22477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22478 $(SET_LIB_PATH) \
22479 $(HOST_EXPORTS) \
22480 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22482 done; \
22483 echo "Doing html in gdb" ; \
22484 (cd gdb && \
22485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22487 "RANLIB=$${RANLIB}" \
22488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22489 html) \
22490 || exit 1
22492 @endif gdb
22494 .PHONY: maybe-TAGS-gdb TAGS-gdb
22495 maybe-TAGS-gdb:
22496 @if gdb
22497 maybe-TAGS-gdb: TAGS-gdb
22499 TAGS-gdb: \
22500 configure-gdb
22501 @[ -f ./gdb/Makefile ] || exit 0; \
22502 r=`${PWD_COMMAND}`; export r; \
22503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22504 $(SET_LIB_PATH) \
22505 $(HOST_EXPORTS) \
22506 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22508 done; \
22509 echo "Doing TAGS in gdb" ; \
22510 (cd gdb && \
22511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22513 "RANLIB=$${RANLIB}" \
22514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22515 TAGS) \
22516 || exit 1
22518 @endif gdb
22520 .PHONY: maybe-install-info-gdb install-info-gdb
22521 maybe-install-info-gdb:
22522 @if gdb
22523 maybe-install-info-gdb: install-info-gdb
22525 install-info-gdb: \
22526 configure-gdb \
22527 info-gdb
22528 @[ -f ./gdb/Makefile ] || exit 0; \
22529 r=`${PWD_COMMAND}`; export r; \
22530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22531 $(SET_LIB_PATH) \
22532 $(HOST_EXPORTS) \
22533 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22535 done; \
22536 echo "Doing install-info in gdb" ; \
22537 (cd gdb && \
22538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22540 "RANLIB=$${RANLIB}" \
22541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22542 install-info) \
22543 || exit 1
22545 @endif gdb
22547 .PHONY: maybe-installcheck-gdb installcheck-gdb
22548 maybe-installcheck-gdb:
22549 @if gdb
22550 maybe-installcheck-gdb: installcheck-gdb
22552 installcheck-gdb: \
22553 configure-gdb
22554 @[ -f ./gdb/Makefile ] || exit 0; \
22555 r=`${PWD_COMMAND}`; export r; \
22556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22557 $(SET_LIB_PATH) \
22558 $(HOST_EXPORTS) \
22559 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22561 done; \
22562 echo "Doing installcheck in gdb" ; \
22563 (cd gdb && \
22564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22566 "RANLIB=$${RANLIB}" \
22567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22568 installcheck) \
22569 || exit 1
22571 @endif gdb
22573 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
22574 maybe-mostlyclean-gdb:
22575 @if gdb
22576 maybe-mostlyclean-gdb: mostlyclean-gdb
22578 mostlyclean-gdb:
22579 @[ -f ./gdb/Makefile ] || exit 0; \
22580 r=`${PWD_COMMAND}`; export r; \
22581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22582 $(SET_LIB_PATH) \
22583 $(HOST_EXPORTS) \
22584 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22586 done; \
22587 echo "Doing mostlyclean in gdb" ; \
22588 (cd gdb && \
22589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22591 "RANLIB=$${RANLIB}" \
22592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22593 mostlyclean) \
22594 || exit 1
22596 @endif gdb
22598 .PHONY: maybe-clean-gdb clean-gdb
22599 maybe-clean-gdb:
22600 @if gdb
22601 maybe-clean-gdb: clean-gdb
22603 clean-gdb:
22604 @[ -f ./gdb/Makefile ] || exit 0; \
22605 r=`${PWD_COMMAND}`; export r; \
22606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22607 $(SET_LIB_PATH) \
22608 $(HOST_EXPORTS) \
22609 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22611 done; \
22612 echo "Doing clean in gdb" ; \
22613 (cd gdb && \
22614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22616 "RANLIB=$${RANLIB}" \
22617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22618 clean) \
22619 || exit 1
22621 @endif gdb
22623 .PHONY: maybe-distclean-gdb distclean-gdb
22624 maybe-distclean-gdb:
22625 @if gdb
22626 maybe-distclean-gdb: distclean-gdb
22628 distclean-gdb:
22629 @[ -f ./gdb/Makefile ] || exit 0; \
22630 r=`${PWD_COMMAND}`; export r; \
22631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22632 $(SET_LIB_PATH) \
22633 $(HOST_EXPORTS) \
22634 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22636 done; \
22637 echo "Doing distclean in gdb" ; \
22638 (cd gdb && \
22639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22641 "RANLIB=$${RANLIB}" \
22642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22643 distclean) \
22644 || exit 1
22646 @endif gdb
22648 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
22649 maybe-maintainer-clean-gdb:
22650 @if gdb
22651 maybe-maintainer-clean-gdb: maintainer-clean-gdb
22653 maintainer-clean-gdb:
22654 @[ -f ./gdb/Makefile ] || exit 0; \
22655 r=`${PWD_COMMAND}`; export r; \
22656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22657 $(SET_LIB_PATH) \
22658 $(HOST_EXPORTS) \
22659 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22661 done; \
22662 echo "Doing maintainer-clean in gdb" ; \
22663 (cd gdb && \
22664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22666 "RANLIB=$${RANLIB}" \
22667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22668 maintainer-clean) \
22669 || exit 1
22671 @endif gdb
22674 .PHONY: configure-expect maybe-configure-expect
22675 maybe-configure-expect:
22676 @if expect
22677 maybe-configure-expect: configure-expect
22678 configure-expect:
22679 @test ! -f expect/Makefile || exit 0; \
22680 [ -d expect ] || mkdir expect; \
22681 r=`${PWD_COMMAND}`; export r; \
22682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22683 $(HOST_EXPORTS) \
22684 echo Configuring in expect; \
22685 cd expect || exit 1; \
22686 case $(srcdir) in \
22687 \.) \
22688 srcdiroption="--srcdir=."; \
22689 libsrcdir=".";; \
22690 /* | [A-Za-z]:[\\/]*) \
22691 srcdiroption="--srcdir=$(srcdir)/expect"; \
22692 libsrcdir="$$s/expect";; \
22693 *) \
22694 srcdiroption="--srcdir=../$(srcdir)/expect"; \
22695 libsrcdir="$$s/expect";; \
22696 esac; \
22697 $(SHELL) $${libsrcdir}/configure \
22698 $(HOST_CONFIGARGS) $${srcdiroption} \
22699 || exit 1
22700 @endif expect
22702 .PHONY: all-expect maybe-all-expect
22703 maybe-all-expect:
22704 @if expect
22705 TARGET-expect=all
22706 maybe-all-expect: all-expect
22707 all-expect: configure-expect
22708 @r=`${PWD_COMMAND}`; export r; \
22709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22710 $(SET_LIB_PATH) \
22711 $(HOST_EXPORTS) \
22712 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22713 $(TARGET-expect))
22714 @endif expect
22716 .PHONY: check-expect maybe-check-expect
22717 maybe-check-expect:
22718 @if expect
22719 maybe-check-expect: check-expect
22721 check-expect:
22722 @r=`${PWD_COMMAND}`; export r; \
22723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22724 $(SET_LIB_PATH) \
22725 $(HOST_EXPORTS) \
22726 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22728 @endif expect
22730 .PHONY: install-expect maybe-install-expect
22731 maybe-install-expect:
22732 @if expect
22733 maybe-install-expect: install-expect
22735 install-expect: installdirs
22736 @r=`${PWD_COMMAND}`; export r; \
22737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22738 $(SET_LIB_PATH) \
22739 $(HOST_EXPORTS) \
22740 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22742 @endif expect
22744 # Other targets (info, dvi, etc.)
22746 .PHONY: maybe-info-expect info-expect
22747 maybe-info-expect:
22748 @if expect
22749 maybe-info-expect: info-expect
22751 info-expect: \
22752 configure-expect
22753 @[ -f ./expect/Makefile ] || exit 0; \
22754 r=`${PWD_COMMAND}`; export r; \
22755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22756 $(SET_LIB_PATH) \
22757 $(HOST_EXPORTS) \
22758 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22760 done; \
22761 echo "Doing info in expect" ; \
22762 (cd expect && \
22763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22765 "RANLIB=$${RANLIB}" \
22766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22767 info) \
22768 || exit 1
22770 @endif expect
22772 .PHONY: maybe-dvi-expect dvi-expect
22773 maybe-dvi-expect:
22774 @if expect
22775 maybe-dvi-expect: dvi-expect
22777 dvi-expect: \
22778 configure-expect
22779 @[ -f ./expect/Makefile ] || exit 0; \
22780 r=`${PWD_COMMAND}`; export r; \
22781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22782 $(SET_LIB_PATH) \
22783 $(HOST_EXPORTS) \
22784 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22786 done; \
22787 echo "Doing dvi in expect" ; \
22788 (cd expect && \
22789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22791 "RANLIB=$${RANLIB}" \
22792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22793 dvi) \
22794 || exit 1
22796 @endif expect
22798 .PHONY: maybe-html-expect html-expect
22799 maybe-html-expect:
22800 @if expect
22801 maybe-html-expect: html-expect
22803 html-expect: \
22804 configure-expect
22805 @[ -f ./expect/Makefile ] || exit 0; \
22806 r=`${PWD_COMMAND}`; export r; \
22807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22808 $(SET_LIB_PATH) \
22809 $(HOST_EXPORTS) \
22810 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22812 done; \
22813 echo "Doing html in expect" ; \
22814 (cd expect && \
22815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22817 "RANLIB=$${RANLIB}" \
22818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22819 html) \
22820 || exit 1
22822 @endif expect
22824 .PHONY: maybe-TAGS-expect TAGS-expect
22825 maybe-TAGS-expect:
22826 @if expect
22827 maybe-TAGS-expect: TAGS-expect
22829 TAGS-expect: \
22830 configure-expect
22831 @[ -f ./expect/Makefile ] || exit 0; \
22832 r=`${PWD_COMMAND}`; export r; \
22833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22834 $(SET_LIB_PATH) \
22835 $(HOST_EXPORTS) \
22836 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22838 done; \
22839 echo "Doing TAGS in expect" ; \
22840 (cd expect && \
22841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22843 "RANLIB=$${RANLIB}" \
22844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22845 TAGS) \
22846 || exit 1
22848 @endif expect
22850 .PHONY: maybe-install-info-expect install-info-expect
22851 maybe-install-info-expect:
22852 @if expect
22853 maybe-install-info-expect: install-info-expect
22855 install-info-expect: \
22856 configure-expect \
22857 info-expect
22858 @[ -f ./expect/Makefile ] || exit 0; \
22859 r=`${PWD_COMMAND}`; export r; \
22860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22861 $(SET_LIB_PATH) \
22862 $(HOST_EXPORTS) \
22863 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22865 done; \
22866 echo "Doing install-info in expect" ; \
22867 (cd expect && \
22868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22870 "RANLIB=$${RANLIB}" \
22871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22872 install-info) \
22873 || exit 1
22875 @endif expect
22877 .PHONY: maybe-installcheck-expect installcheck-expect
22878 maybe-installcheck-expect:
22879 @if expect
22880 maybe-installcheck-expect: installcheck-expect
22882 installcheck-expect: \
22883 configure-expect
22884 @[ -f ./expect/Makefile ] || exit 0; \
22885 r=`${PWD_COMMAND}`; export r; \
22886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22887 $(SET_LIB_PATH) \
22888 $(HOST_EXPORTS) \
22889 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22891 done; \
22892 echo "Doing installcheck in expect" ; \
22893 (cd expect && \
22894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22896 "RANLIB=$${RANLIB}" \
22897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22898 installcheck) \
22899 || exit 1
22901 @endif expect
22903 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
22904 maybe-mostlyclean-expect:
22905 @if expect
22906 maybe-mostlyclean-expect: mostlyclean-expect
22908 mostlyclean-expect:
22909 @[ -f ./expect/Makefile ] || exit 0; \
22910 r=`${PWD_COMMAND}`; export r; \
22911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22912 $(SET_LIB_PATH) \
22913 $(HOST_EXPORTS) \
22914 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22916 done; \
22917 echo "Doing mostlyclean in expect" ; \
22918 (cd expect && \
22919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22921 "RANLIB=$${RANLIB}" \
22922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22923 mostlyclean) \
22924 || exit 1
22926 @endif expect
22928 .PHONY: maybe-clean-expect clean-expect
22929 maybe-clean-expect:
22930 @if expect
22931 maybe-clean-expect: clean-expect
22933 clean-expect:
22934 @[ -f ./expect/Makefile ] || exit 0; \
22935 r=`${PWD_COMMAND}`; export r; \
22936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22937 $(SET_LIB_PATH) \
22938 $(HOST_EXPORTS) \
22939 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22941 done; \
22942 echo "Doing clean in expect" ; \
22943 (cd expect && \
22944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22946 "RANLIB=$${RANLIB}" \
22947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22948 clean) \
22949 || exit 1
22951 @endif expect
22953 .PHONY: maybe-distclean-expect distclean-expect
22954 maybe-distclean-expect:
22955 @if expect
22956 maybe-distclean-expect: distclean-expect
22958 distclean-expect:
22959 @[ -f ./expect/Makefile ] || exit 0; \
22960 r=`${PWD_COMMAND}`; export r; \
22961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22962 $(SET_LIB_PATH) \
22963 $(HOST_EXPORTS) \
22964 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22966 done; \
22967 echo "Doing distclean in expect" ; \
22968 (cd expect && \
22969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22971 "RANLIB=$${RANLIB}" \
22972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22973 distclean) \
22974 || exit 1
22976 @endif expect
22978 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
22979 maybe-maintainer-clean-expect:
22980 @if expect
22981 maybe-maintainer-clean-expect: maintainer-clean-expect
22983 maintainer-clean-expect:
22984 @[ -f ./expect/Makefile ] || exit 0; \
22985 r=`${PWD_COMMAND}`; export r; \
22986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22987 $(SET_LIB_PATH) \
22988 $(HOST_EXPORTS) \
22989 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22991 done; \
22992 echo "Doing maintainer-clean in expect" ; \
22993 (cd expect && \
22994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22996 "RANLIB=$${RANLIB}" \
22997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22998 maintainer-clean) \
22999 || exit 1
23001 @endif expect
23004 .PHONY: configure-guile maybe-configure-guile
23005 maybe-configure-guile:
23006 @if guile
23007 maybe-configure-guile: configure-guile
23008 configure-guile:
23009 @test ! -f guile/Makefile || exit 0; \
23010 [ -d guile ] || mkdir guile; \
23011 r=`${PWD_COMMAND}`; export r; \
23012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23013 $(HOST_EXPORTS) \
23014 echo Configuring in guile; \
23015 cd guile || exit 1; \
23016 case $(srcdir) in \
23017 \.) \
23018 srcdiroption="--srcdir=."; \
23019 libsrcdir=".";; \
23020 /* | [A-Za-z]:[\\/]*) \
23021 srcdiroption="--srcdir=$(srcdir)/guile"; \
23022 libsrcdir="$$s/guile";; \
23023 *) \
23024 srcdiroption="--srcdir=../$(srcdir)/guile"; \
23025 libsrcdir="$$s/guile";; \
23026 esac; \
23027 $(SHELL) $${libsrcdir}/configure \
23028 $(HOST_CONFIGARGS) $${srcdiroption} \
23029 || exit 1
23030 @endif guile
23032 .PHONY: all-guile maybe-all-guile
23033 maybe-all-guile:
23034 @if guile
23035 TARGET-guile=all
23036 maybe-all-guile: all-guile
23037 all-guile: configure-guile
23038 @r=`${PWD_COMMAND}`; export r; \
23039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23040 $(SET_LIB_PATH) \
23041 $(HOST_EXPORTS) \
23042 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23043 $(TARGET-guile))
23044 @endif guile
23046 .PHONY: check-guile maybe-check-guile
23047 maybe-check-guile:
23048 @if guile
23049 maybe-check-guile: check-guile
23051 check-guile:
23052 @r=`${PWD_COMMAND}`; export r; \
23053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23054 $(SET_LIB_PATH) \
23055 $(HOST_EXPORTS) \
23056 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23058 @endif guile
23060 .PHONY: install-guile maybe-install-guile
23061 maybe-install-guile:
23062 @if guile
23063 maybe-install-guile: install-guile
23065 install-guile: installdirs
23066 @r=`${PWD_COMMAND}`; export r; \
23067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23068 $(SET_LIB_PATH) \
23069 $(HOST_EXPORTS) \
23070 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23072 @endif guile
23074 # Other targets (info, dvi, etc.)
23076 .PHONY: maybe-info-guile info-guile
23077 maybe-info-guile:
23078 @if guile
23079 maybe-info-guile: info-guile
23081 info-guile: \
23082 configure-guile
23083 @[ -f ./guile/Makefile ] || exit 0; \
23084 r=`${PWD_COMMAND}`; export r; \
23085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23086 $(SET_LIB_PATH) \
23087 $(HOST_EXPORTS) \
23088 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23090 done; \
23091 echo "Doing info in guile" ; \
23092 (cd guile && \
23093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23095 "RANLIB=$${RANLIB}" \
23096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23097 info) \
23098 || exit 1
23100 @endif guile
23102 .PHONY: maybe-dvi-guile dvi-guile
23103 maybe-dvi-guile:
23104 @if guile
23105 maybe-dvi-guile: dvi-guile
23107 dvi-guile: \
23108 configure-guile
23109 @[ -f ./guile/Makefile ] || exit 0; \
23110 r=`${PWD_COMMAND}`; export r; \
23111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23112 $(SET_LIB_PATH) \
23113 $(HOST_EXPORTS) \
23114 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23116 done; \
23117 echo "Doing dvi in guile" ; \
23118 (cd guile && \
23119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23121 "RANLIB=$${RANLIB}" \
23122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23123 dvi) \
23124 || exit 1
23126 @endif guile
23128 .PHONY: maybe-html-guile html-guile
23129 maybe-html-guile:
23130 @if guile
23131 maybe-html-guile: html-guile
23133 html-guile: \
23134 configure-guile
23135 @[ -f ./guile/Makefile ] || exit 0; \
23136 r=`${PWD_COMMAND}`; export r; \
23137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23138 $(SET_LIB_PATH) \
23139 $(HOST_EXPORTS) \
23140 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23142 done; \
23143 echo "Doing html in guile" ; \
23144 (cd guile && \
23145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23147 "RANLIB=$${RANLIB}" \
23148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23149 html) \
23150 || exit 1
23152 @endif guile
23154 .PHONY: maybe-TAGS-guile TAGS-guile
23155 maybe-TAGS-guile:
23156 @if guile
23157 maybe-TAGS-guile: TAGS-guile
23159 TAGS-guile: \
23160 configure-guile
23161 @[ -f ./guile/Makefile ] || exit 0; \
23162 r=`${PWD_COMMAND}`; export r; \
23163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23164 $(SET_LIB_PATH) \
23165 $(HOST_EXPORTS) \
23166 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23168 done; \
23169 echo "Doing TAGS in guile" ; \
23170 (cd guile && \
23171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23173 "RANLIB=$${RANLIB}" \
23174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23175 TAGS) \
23176 || exit 1
23178 @endif guile
23180 .PHONY: maybe-install-info-guile install-info-guile
23181 maybe-install-info-guile:
23182 @if guile
23183 maybe-install-info-guile: install-info-guile
23185 install-info-guile: \
23186 configure-guile \
23187 info-guile
23188 @[ -f ./guile/Makefile ] || exit 0; \
23189 r=`${PWD_COMMAND}`; export r; \
23190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23191 $(SET_LIB_PATH) \
23192 $(HOST_EXPORTS) \
23193 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23195 done; \
23196 echo "Doing install-info in guile" ; \
23197 (cd guile && \
23198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23200 "RANLIB=$${RANLIB}" \
23201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23202 install-info) \
23203 || exit 1
23205 @endif guile
23207 .PHONY: maybe-installcheck-guile installcheck-guile
23208 maybe-installcheck-guile:
23209 @if guile
23210 maybe-installcheck-guile: installcheck-guile
23212 installcheck-guile: \
23213 configure-guile
23214 @[ -f ./guile/Makefile ] || exit 0; \
23215 r=`${PWD_COMMAND}`; export r; \
23216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23217 $(SET_LIB_PATH) \
23218 $(HOST_EXPORTS) \
23219 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23221 done; \
23222 echo "Doing installcheck in guile" ; \
23223 (cd guile && \
23224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23226 "RANLIB=$${RANLIB}" \
23227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23228 installcheck) \
23229 || exit 1
23231 @endif guile
23233 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
23234 maybe-mostlyclean-guile:
23235 @if guile
23236 maybe-mostlyclean-guile: mostlyclean-guile
23238 mostlyclean-guile:
23239 @[ -f ./guile/Makefile ] || exit 0; \
23240 r=`${PWD_COMMAND}`; export r; \
23241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23242 $(SET_LIB_PATH) \
23243 $(HOST_EXPORTS) \
23244 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23246 done; \
23247 echo "Doing mostlyclean in guile" ; \
23248 (cd guile && \
23249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23251 "RANLIB=$${RANLIB}" \
23252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23253 mostlyclean) \
23254 || exit 1
23256 @endif guile
23258 .PHONY: maybe-clean-guile clean-guile
23259 maybe-clean-guile:
23260 @if guile
23261 maybe-clean-guile: clean-guile
23263 clean-guile:
23264 @[ -f ./guile/Makefile ] || exit 0; \
23265 r=`${PWD_COMMAND}`; export r; \
23266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23267 $(SET_LIB_PATH) \
23268 $(HOST_EXPORTS) \
23269 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23271 done; \
23272 echo "Doing clean in guile" ; \
23273 (cd guile && \
23274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23276 "RANLIB=$${RANLIB}" \
23277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23278 clean) \
23279 || exit 1
23281 @endif guile
23283 .PHONY: maybe-distclean-guile distclean-guile
23284 maybe-distclean-guile:
23285 @if guile
23286 maybe-distclean-guile: distclean-guile
23288 distclean-guile:
23289 @[ -f ./guile/Makefile ] || exit 0; \
23290 r=`${PWD_COMMAND}`; export r; \
23291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23292 $(SET_LIB_PATH) \
23293 $(HOST_EXPORTS) \
23294 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23296 done; \
23297 echo "Doing distclean in guile" ; \
23298 (cd guile && \
23299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23301 "RANLIB=$${RANLIB}" \
23302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23303 distclean) \
23304 || exit 1
23306 @endif guile
23308 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
23309 maybe-maintainer-clean-guile:
23310 @if guile
23311 maybe-maintainer-clean-guile: maintainer-clean-guile
23313 maintainer-clean-guile:
23314 @[ -f ./guile/Makefile ] || exit 0; \
23315 r=`${PWD_COMMAND}`; export r; \
23316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23317 $(SET_LIB_PATH) \
23318 $(HOST_EXPORTS) \
23319 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23321 done; \
23322 echo "Doing maintainer-clean in guile" ; \
23323 (cd guile && \
23324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23326 "RANLIB=$${RANLIB}" \
23327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23328 maintainer-clean) \
23329 || exit 1
23331 @endif guile
23334 .PHONY: configure-tk maybe-configure-tk
23335 maybe-configure-tk:
23336 @if tk
23337 maybe-configure-tk: configure-tk
23338 configure-tk:
23339 @test ! -f tk/Makefile || exit 0; \
23340 [ -d tk ] || mkdir tk; \
23341 r=`${PWD_COMMAND}`; export r; \
23342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23343 $(HOST_EXPORTS) \
23344 echo Configuring in tk; \
23345 cd tk || exit 1; \
23346 case $(srcdir) in \
23347 \.) \
23348 srcdiroption="--srcdir=."; \
23349 libsrcdir=".";; \
23350 /* | [A-Za-z]:[\\/]*) \
23351 srcdiroption="--srcdir=$(srcdir)/tk"; \
23352 libsrcdir="$$s/tk";; \
23353 *) \
23354 srcdiroption="--srcdir=../$(srcdir)/tk"; \
23355 libsrcdir="$$s/tk";; \
23356 esac; \
23357 $(SHELL) $${libsrcdir}/configure \
23358 $(HOST_CONFIGARGS) $${srcdiroption} \
23359 || exit 1
23360 @endif tk
23362 .PHONY: all-tk maybe-all-tk
23363 maybe-all-tk:
23364 @if tk
23365 TARGET-tk=all
23366 maybe-all-tk: all-tk
23367 all-tk: configure-tk
23368 @r=`${PWD_COMMAND}`; export r; \
23369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23370 $(SET_LIB_PATH) \
23371 $(HOST_EXPORTS) \
23372 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23373 $(TARGET-tk))
23374 @endif tk
23376 .PHONY: check-tk maybe-check-tk
23377 maybe-check-tk:
23378 @if tk
23379 maybe-check-tk: check-tk
23381 check-tk:
23382 @r=`${PWD_COMMAND}`; export r; \
23383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23384 $(SET_LIB_PATH) \
23385 $(HOST_EXPORTS) \
23386 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23388 @endif tk
23390 .PHONY: install-tk maybe-install-tk
23391 maybe-install-tk:
23392 @if tk
23393 maybe-install-tk: install-tk
23395 install-tk: installdirs
23396 @r=`${PWD_COMMAND}`; export r; \
23397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23398 $(SET_LIB_PATH) \
23399 $(HOST_EXPORTS) \
23400 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23402 @endif tk
23404 # Other targets (info, dvi, etc.)
23406 .PHONY: maybe-info-tk info-tk
23407 maybe-info-tk:
23408 @if tk
23409 maybe-info-tk: info-tk
23411 info-tk: \
23412 configure-tk
23413 @[ -f ./tk/Makefile ] || exit 0; \
23414 r=`${PWD_COMMAND}`; export r; \
23415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23416 $(SET_LIB_PATH) \
23417 $(HOST_EXPORTS) \
23418 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23420 done; \
23421 echo "Doing info in tk" ; \
23422 (cd tk && \
23423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23425 "RANLIB=$${RANLIB}" \
23426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23427 info) \
23428 || exit 1
23430 @endif tk
23432 .PHONY: maybe-dvi-tk dvi-tk
23433 maybe-dvi-tk:
23434 @if tk
23435 maybe-dvi-tk: dvi-tk
23437 dvi-tk: \
23438 configure-tk
23439 @[ -f ./tk/Makefile ] || exit 0; \
23440 r=`${PWD_COMMAND}`; export r; \
23441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23442 $(SET_LIB_PATH) \
23443 $(HOST_EXPORTS) \
23444 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23446 done; \
23447 echo "Doing dvi in tk" ; \
23448 (cd tk && \
23449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23451 "RANLIB=$${RANLIB}" \
23452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23453 dvi) \
23454 || exit 1
23456 @endif tk
23458 .PHONY: maybe-html-tk html-tk
23459 maybe-html-tk:
23460 @if tk
23461 maybe-html-tk: html-tk
23463 html-tk: \
23464 configure-tk
23465 @[ -f ./tk/Makefile ] || exit 0; \
23466 r=`${PWD_COMMAND}`; export r; \
23467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23468 $(SET_LIB_PATH) \
23469 $(HOST_EXPORTS) \
23470 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23472 done; \
23473 echo "Doing html in tk" ; \
23474 (cd tk && \
23475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23477 "RANLIB=$${RANLIB}" \
23478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23479 html) \
23480 || exit 1
23482 @endif tk
23484 .PHONY: maybe-TAGS-tk TAGS-tk
23485 maybe-TAGS-tk:
23486 @if tk
23487 maybe-TAGS-tk: TAGS-tk
23489 TAGS-tk: \
23490 configure-tk
23491 @[ -f ./tk/Makefile ] || exit 0; \
23492 r=`${PWD_COMMAND}`; export r; \
23493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23494 $(SET_LIB_PATH) \
23495 $(HOST_EXPORTS) \
23496 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23498 done; \
23499 echo "Doing TAGS in tk" ; \
23500 (cd tk && \
23501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23503 "RANLIB=$${RANLIB}" \
23504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23505 TAGS) \
23506 || exit 1
23508 @endif tk
23510 .PHONY: maybe-install-info-tk install-info-tk
23511 maybe-install-info-tk:
23512 @if tk
23513 maybe-install-info-tk: install-info-tk
23515 install-info-tk: \
23516 configure-tk \
23517 info-tk
23518 @[ -f ./tk/Makefile ] || exit 0; \
23519 r=`${PWD_COMMAND}`; export r; \
23520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23521 $(SET_LIB_PATH) \
23522 $(HOST_EXPORTS) \
23523 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23525 done; \
23526 echo "Doing install-info in tk" ; \
23527 (cd tk && \
23528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23530 "RANLIB=$${RANLIB}" \
23531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23532 install-info) \
23533 || exit 1
23535 @endif tk
23537 .PHONY: maybe-installcheck-tk installcheck-tk
23538 maybe-installcheck-tk:
23539 @if tk
23540 maybe-installcheck-tk: installcheck-tk
23542 installcheck-tk: \
23543 configure-tk
23544 @[ -f ./tk/Makefile ] || exit 0; \
23545 r=`${PWD_COMMAND}`; export r; \
23546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23547 $(SET_LIB_PATH) \
23548 $(HOST_EXPORTS) \
23549 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23551 done; \
23552 echo "Doing installcheck in tk" ; \
23553 (cd tk && \
23554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23556 "RANLIB=$${RANLIB}" \
23557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23558 installcheck) \
23559 || exit 1
23561 @endif tk
23563 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
23564 maybe-mostlyclean-tk:
23565 @if tk
23566 maybe-mostlyclean-tk: mostlyclean-tk
23568 mostlyclean-tk:
23569 @[ -f ./tk/Makefile ] || exit 0; \
23570 r=`${PWD_COMMAND}`; export r; \
23571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23572 $(SET_LIB_PATH) \
23573 $(HOST_EXPORTS) \
23574 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23576 done; \
23577 echo "Doing mostlyclean in tk" ; \
23578 (cd tk && \
23579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23581 "RANLIB=$${RANLIB}" \
23582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23583 mostlyclean) \
23584 || exit 1
23586 @endif tk
23588 .PHONY: maybe-clean-tk clean-tk
23589 maybe-clean-tk:
23590 @if tk
23591 maybe-clean-tk: clean-tk
23593 clean-tk:
23594 @[ -f ./tk/Makefile ] || exit 0; \
23595 r=`${PWD_COMMAND}`; export r; \
23596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23597 $(SET_LIB_PATH) \
23598 $(HOST_EXPORTS) \
23599 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23601 done; \
23602 echo "Doing clean in tk" ; \
23603 (cd tk && \
23604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23606 "RANLIB=$${RANLIB}" \
23607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23608 clean) \
23609 || exit 1
23611 @endif tk
23613 .PHONY: maybe-distclean-tk distclean-tk
23614 maybe-distclean-tk:
23615 @if tk
23616 maybe-distclean-tk: distclean-tk
23618 distclean-tk:
23619 @[ -f ./tk/Makefile ] || exit 0; \
23620 r=`${PWD_COMMAND}`; export r; \
23621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23622 $(SET_LIB_PATH) \
23623 $(HOST_EXPORTS) \
23624 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23626 done; \
23627 echo "Doing distclean in tk" ; \
23628 (cd tk && \
23629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23631 "RANLIB=$${RANLIB}" \
23632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23633 distclean) \
23634 || exit 1
23636 @endif tk
23638 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
23639 maybe-maintainer-clean-tk:
23640 @if tk
23641 maybe-maintainer-clean-tk: maintainer-clean-tk
23643 maintainer-clean-tk:
23644 @[ -f ./tk/Makefile ] || exit 0; \
23645 r=`${PWD_COMMAND}`; export r; \
23646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23647 $(SET_LIB_PATH) \
23648 $(HOST_EXPORTS) \
23649 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23651 done; \
23652 echo "Doing maintainer-clean in tk" ; \
23653 (cd tk && \
23654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23656 "RANLIB=$${RANLIB}" \
23657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23658 maintainer-clean) \
23659 || exit 1
23661 @endif tk
23664 .PHONY: configure-libtermcap maybe-configure-libtermcap
23665 maybe-configure-libtermcap:
23666 @if libtermcap
23667 maybe-configure-libtermcap: configure-libtermcap
23668 configure-libtermcap:
23669 @test ! -f libtermcap/Makefile || exit 0; \
23670 [ -d libtermcap ] || mkdir libtermcap; \
23671 r=`${PWD_COMMAND}`; export r; \
23672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23673 $(HOST_EXPORTS) \
23674 echo Configuring in libtermcap; \
23675 cd libtermcap || exit 1; \
23676 case $(srcdir) in \
23677 \.) \
23678 srcdiroption="--srcdir=."; \
23679 libsrcdir=".";; \
23680 /* | [A-Za-z]:[\\/]*) \
23681 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
23682 libsrcdir="$$s/libtermcap";; \
23683 *) \
23684 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
23685 libsrcdir="$$s/libtermcap";; \
23686 esac; \
23687 $(SHELL) $${libsrcdir}/configure \
23688 $(HOST_CONFIGARGS) $${srcdiroption} \
23689 || exit 1
23690 @endif libtermcap
23692 .PHONY: all-libtermcap maybe-all-libtermcap
23693 maybe-all-libtermcap:
23694 @if libtermcap
23695 TARGET-libtermcap=all
23696 maybe-all-libtermcap: all-libtermcap
23697 all-libtermcap: configure-libtermcap
23698 @r=`${PWD_COMMAND}`; export r; \
23699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23700 $(SET_LIB_PATH) \
23701 $(HOST_EXPORTS) \
23702 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) \
23703 $(TARGET-libtermcap))
23704 @endif libtermcap
23706 .PHONY: check-libtermcap maybe-check-libtermcap
23707 maybe-check-libtermcap:
23708 @if libtermcap
23709 maybe-check-libtermcap: check-libtermcap
23711 check-libtermcap:
23713 @endif libtermcap
23715 .PHONY: install-libtermcap maybe-install-libtermcap
23716 maybe-install-libtermcap:
23717 @if libtermcap
23718 maybe-install-libtermcap: install-libtermcap
23720 install-libtermcap: installdirs
23721 @r=`${PWD_COMMAND}`; export r; \
23722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23723 $(SET_LIB_PATH) \
23724 $(HOST_EXPORTS) \
23725 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
23727 @endif libtermcap
23729 # Other targets (info, dvi, etc.)
23731 .PHONY: maybe-info-libtermcap info-libtermcap
23732 maybe-info-libtermcap:
23733 @if libtermcap
23734 maybe-info-libtermcap: info-libtermcap
23736 info-libtermcap: \
23737 configure-libtermcap
23738 @[ -f ./libtermcap/Makefile ] || exit 0; \
23739 r=`${PWD_COMMAND}`; export r; \
23740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23741 $(SET_LIB_PATH) \
23742 $(HOST_EXPORTS) \
23743 for flag in $(EXTRA_HOST_FLAGS) ; do \
23744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23745 done; \
23746 echo "Doing info in libtermcap" ; \
23747 (cd libtermcap && \
23748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23750 "RANLIB=$${RANLIB}" \
23751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23752 info) \
23753 || exit 1
23755 @endif libtermcap
23757 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
23758 maybe-dvi-libtermcap:
23759 @if libtermcap
23760 maybe-dvi-libtermcap: dvi-libtermcap
23762 dvi-libtermcap: \
23763 configure-libtermcap
23764 @[ -f ./libtermcap/Makefile ] || exit 0; \
23765 r=`${PWD_COMMAND}`; export r; \
23766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23767 $(SET_LIB_PATH) \
23768 $(HOST_EXPORTS) \
23769 for flag in $(EXTRA_HOST_FLAGS) ; do \
23770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23771 done; \
23772 echo "Doing dvi in libtermcap" ; \
23773 (cd libtermcap && \
23774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23776 "RANLIB=$${RANLIB}" \
23777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23778 dvi) \
23779 || exit 1
23781 @endif libtermcap
23783 .PHONY: maybe-html-libtermcap html-libtermcap
23784 maybe-html-libtermcap:
23785 @if libtermcap
23786 maybe-html-libtermcap: html-libtermcap
23788 html-libtermcap: \
23789 configure-libtermcap
23790 @[ -f ./libtermcap/Makefile ] || exit 0; \
23791 r=`${PWD_COMMAND}`; export r; \
23792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23793 $(SET_LIB_PATH) \
23794 $(HOST_EXPORTS) \
23795 for flag in $(EXTRA_HOST_FLAGS) ; do \
23796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23797 done; \
23798 echo "Doing html in libtermcap" ; \
23799 (cd libtermcap && \
23800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23802 "RANLIB=$${RANLIB}" \
23803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23804 html) \
23805 || exit 1
23807 @endif libtermcap
23809 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
23810 maybe-TAGS-libtermcap:
23811 @if libtermcap
23812 maybe-TAGS-libtermcap: TAGS-libtermcap
23814 TAGS-libtermcap: \
23815 configure-libtermcap
23816 @[ -f ./libtermcap/Makefile ] || exit 0; \
23817 r=`${PWD_COMMAND}`; export r; \
23818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23819 $(SET_LIB_PATH) \
23820 $(HOST_EXPORTS) \
23821 for flag in $(EXTRA_HOST_FLAGS) ; do \
23822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23823 done; \
23824 echo "Doing TAGS in libtermcap" ; \
23825 (cd libtermcap && \
23826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23828 "RANLIB=$${RANLIB}" \
23829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23830 TAGS) \
23831 || exit 1
23833 @endif libtermcap
23835 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
23836 maybe-install-info-libtermcap:
23837 @if libtermcap
23838 maybe-install-info-libtermcap: install-info-libtermcap
23840 install-info-libtermcap: \
23841 configure-libtermcap \
23842 info-libtermcap
23843 @[ -f ./libtermcap/Makefile ] || exit 0; \
23844 r=`${PWD_COMMAND}`; export r; \
23845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23846 $(SET_LIB_PATH) \
23847 $(HOST_EXPORTS) \
23848 for flag in $(EXTRA_HOST_FLAGS) ; do \
23849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23850 done; \
23851 echo "Doing install-info in libtermcap" ; \
23852 (cd libtermcap && \
23853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23855 "RANLIB=$${RANLIB}" \
23856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23857 install-info) \
23858 || exit 1
23860 @endif libtermcap
23862 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
23863 maybe-installcheck-libtermcap:
23864 @if libtermcap
23865 maybe-installcheck-libtermcap: installcheck-libtermcap
23867 installcheck-libtermcap: \
23868 configure-libtermcap
23869 @[ -f ./libtermcap/Makefile ] || exit 0; \
23870 r=`${PWD_COMMAND}`; export r; \
23871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23872 $(SET_LIB_PATH) \
23873 $(HOST_EXPORTS) \
23874 for flag in $(EXTRA_HOST_FLAGS) ; do \
23875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23876 done; \
23877 echo "Doing installcheck in libtermcap" ; \
23878 (cd libtermcap && \
23879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23881 "RANLIB=$${RANLIB}" \
23882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23883 installcheck) \
23884 || exit 1
23886 @endif libtermcap
23888 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
23889 maybe-mostlyclean-libtermcap:
23890 @if libtermcap
23891 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
23893 # libtermcap doesn't support mostlyclean.
23894 mostlyclean-libtermcap:
23896 @endif libtermcap
23898 .PHONY: maybe-clean-libtermcap clean-libtermcap
23899 maybe-clean-libtermcap:
23900 @if libtermcap
23901 maybe-clean-libtermcap: clean-libtermcap
23903 # libtermcap doesn't support clean.
23904 clean-libtermcap:
23906 @endif libtermcap
23908 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
23909 maybe-distclean-libtermcap:
23910 @if libtermcap
23911 maybe-distclean-libtermcap: distclean-libtermcap
23913 # libtermcap doesn't support distclean.
23914 distclean-libtermcap:
23916 @endif libtermcap
23918 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
23919 maybe-maintainer-clean-libtermcap:
23920 @if libtermcap
23921 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
23923 # libtermcap doesn't support maintainer-clean.
23924 maintainer-clean-libtermcap:
23926 @endif libtermcap
23929 .PHONY: configure-utils maybe-configure-utils
23930 maybe-configure-utils:
23931 @if utils
23932 maybe-configure-utils: configure-utils
23933 configure-utils:
23934 @test ! -f utils/Makefile || exit 0; \
23935 [ -d utils ] || mkdir utils; \
23936 r=`${PWD_COMMAND}`; export r; \
23937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23938 $(HOST_EXPORTS) \
23939 echo Configuring in utils; \
23940 cd utils || exit 1; \
23941 case $(srcdir) in \
23942 \.) \
23943 srcdiroption="--srcdir=."; \
23944 libsrcdir=".";; \
23945 /* | [A-Za-z]:[\\/]*) \
23946 srcdiroption="--srcdir=$(srcdir)/utils"; \
23947 libsrcdir="$$s/utils";; \
23948 *) \
23949 srcdiroption="--srcdir=../$(srcdir)/utils"; \
23950 libsrcdir="$$s/utils";; \
23951 esac; \
23952 $(SHELL) $${libsrcdir}/configure \
23953 $(HOST_CONFIGARGS) $${srcdiroption} \
23954 || exit 1
23955 @endif utils
23957 .PHONY: all-utils maybe-all-utils
23958 maybe-all-utils:
23959 @if utils
23960 TARGET-utils=all
23961 maybe-all-utils: all-utils
23962 all-utils: configure-utils
23963 @r=`${PWD_COMMAND}`; export r; \
23964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23965 $(SET_LIB_PATH) \
23966 $(HOST_EXPORTS) \
23967 (cd utils && $(MAKE) $(FLAGS_TO_PASS) \
23968 $(TARGET-utils))
23969 @endif utils
23971 .PHONY: check-utils maybe-check-utils
23972 maybe-check-utils:
23973 @if utils
23974 maybe-check-utils: check-utils
23976 check-utils:
23978 @endif utils
23980 .PHONY: install-utils maybe-install-utils
23981 maybe-install-utils:
23982 @if utils
23983 maybe-install-utils: install-utils
23985 install-utils: installdirs
23986 @r=`${PWD_COMMAND}`; export r; \
23987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23988 $(SET_LIB_PATH) \
23989 $(HOST_EXPORTS) \
23990 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
23992 @endif utils
23994 # Other targets (info, dvi, etc.)
23996 .PHONY: maybe-info-utils info-utils
23997 maybe-info-utils:
23998 @if utils
23999 maybe-info-utils: info-utils
24001 info-utils: \
24002 configure-utils
24003 @[ -f ./utils/Makefile ] || exit 0; \
24004 r=`${PWD_COMMAND}`; export r; \
24005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24006 $(SET_LIB_PATH) \
24007 $(HOST_EXPORTS) \
24008 for flag in $(EXTRA_HOST_FLAGS) ; do \
24009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24010 done; \
24011 echo "Doing info in utils" ; \
24012 (cd utils && \
24013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24015 "RANLIB=$${RANLIB}" \
24016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24017 info) \
24018 || exit 1
24020 @endif utils
24022 .PHONY: maybe-dvi-utils dvi-utils
24023 maybe-dvi-utils:
24024 @if utils
24025 maybe-dvi-utils: dvi-utils
24027 dvi-utils: \
24028 configure-utils
24029 @[ -f ./utils/Makefile ] || exit 0; \
24030 r=`${PWD_COMMAND}`; export r; \
24031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24032 $(SET_LIB_PATH) \
24033 $(HOST_EXPORTS) \
24034 for flag in $(EXTRA_HOST_FLAGS) ; do \
24035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24036 done; \
24037 echo "Doing dvi in utils" ; \
24038 (cd utils && \
24039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24041 "RANLIB=$${RANLIB}" \
24042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24043 dvi) \
24044 || exit 1
24046 @endif utils
24048 .PHONY: maybe-html-utils html-utils
24049 maybe-html-utils:
24050 @if utils
24051 maybe-html-utils: html-utils
24053 html-utils: \
24054 configure-utils
24055 @[ -f ./utils/Makefile ] || exit 0; \
24056 r=`${PWD_COMMAND}`; export r; \
24057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24058 $(SET_LIB_PATH) \
24059 $(HOST_EXPORTS) \
24060 for flag in $(EXTRA_HOST_FLAGS) ; do \
24061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24062 done; \
24063 echo "Doing html in utils" ; \
24064 (cd utils && \
24065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24067 "RANLIB=$${RANLIB}" \
24068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24069 html) \
24070 || exit 1
24072 @endif utils
24074 .PHONY: maybe-TAGS-utils TAGS-utils
24075 maybe-TAGS-utils:
24076 @if utils
24077 maybe-TAGS-utils: TAGS-utils
24079 TAGS-utils: \
24080 configure-utils
24081 @[ -f ./utils/Makefile ] || exit 0; \
24082 r=`${PWD_COMMAND}`; export r; \
24083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24084 $(SET_LIB_PATH) \
24085 $(HOST_EXPORTS) \
24086 for flag in $(EXTRA_HOST_FLAGS) ; do \
24087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24088 done; \
24089 echo "Doing TAGS in utils" ; \
24090 (cd utils && \
24091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24093 "RANLIB=$${RANLIB}" \
24094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24095 TAGS) \
24096 || exit 1
24098 @endif utils
24100 .PHONY: maybe-install-info-utils install-info-utils
24101 maybe-install-info-utils:
24102 @if utils
24103 maybe-install-info-utils: install-info-utils
24105 install-info-utils: \
24106 configure-utils \
24107 info-utils
24108 @[ -f ./utils/Makefile ] || exit 0; \
24109 r=`${PWD_COMMAND}`; export r; \
24110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24111 $(SET_LIB_PATH) \
24112 $(HOST_EXPORTS) \
24113 for flag in $(EXTRA_HOST_FLAGS) ; do \
24114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24115 done; \
24116 echo "Doing install-info in utils" ; \
24117 (cd utils && \
24118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24120 "RANLIB=$${RANLIB}" \
24121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24122 install-info) \
24123 || exit 1
24125 @endif utils
24127 .PHONY: maybe-installcheck-utils installcheck-utils
24128 maybe-installcheck-utils:
24129 @if utils
24130 maybe-installcheck-utils: installcheck-utils
24132 installcheck-utils: \
24133 configure-utils
24134 @[ -f ./utils/Makefile ] || exit 0; \
24135 r=`${PWD_COMMAND}`; export r; \
24136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24137 $(SET_LIB_PATH) \
24138 $(HOST_EXPORTS) \
24139 for flag in $(EXTRA_HOST_FLAGS) ; do \
24140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24141 done; \
24142 echo "Doing installcheck in utils" ; \
24143 (cd utils && \
24144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24146 "RANLIB=$${RANLIB}" \
24147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24148 installcheck) \
24149 || exit 1
24151 @endif utils
24153 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
24154 maybe-mostlyclean-utils:
24155 @if utils
24156 maybe-mostlyclean-utils: mostlyclean-utils
24158 mostlyclean-utils:
24159 @[ -f ./utils/Makefile ] || exit 0; \
24160 r=`${PWD_COMMAND}`; export r; \
24161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24162 $(SET_LIB_PATH) \
24163 $(HOST_EXPORTS) \
24164 for flag in $(EXTRA_HOST_FLAGS) ; do \
24165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24166 done; \
24167 echo "Doing mostlyclean in utils" ; \
24168 (cd utils && \
24169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24171 "RANLIB=$${RANLIB}" \
24172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24173 mostlyclean) \
24174 || exit 1
24176 @endif utils
24178 .PHONY: maybe-clean-utils clean-utils
24179 maybe-clean-utils:
24180 @if utils
24181 maybe-clean-utils: clean-utils
24183 clean-utils:
24184 @[ -f ./utils/Makefile ] || exit 0; \
24185 r=`${PWD_COMMAND}`; export r; \
24186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24187 $(SET_LIB_PATH) \
24188 $(HOST_EXPORTS) \
24189 for flag in $(EXTRA_HOST_FLAGS) ; do \
24190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24191 done; \
24192 echo "Doing clean in utils" ; \
24193 (cd utils && \
24194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24196 "RANLIB=$${RANLIB}" \
24197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24198 clean) \
24199 || exit 1
24201 @endif utils
24203 .PHONY: maybe-distclean-utils distclean-utils
24204 maybe-distclean-utils:
24205 @if utils
24206 maybe-distclean-utils: distclean-utils
24208 distclean-utils:
24209 @[ -f ./utils/Makefile ] || exit 0; \
24210 r=`${PWD_COMMAND}`; export r; \
24211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24212 $(SET_LIB_PATH) \
24213 $(HOST_EXPORTS) \
24214 for flag in $(EXTRA_HOST_FLAGS) ; do \
24215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24216 done; \
24217 echo "Doing distclean in utils" ; \
24218 (cd utils && \
24219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24221 "RANLIB=$${RANLIB}" \
24222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24223 distclean) \
24224 || exit 1
24226 @endif utils
24228 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
24229 maybe-maintainer-clean-utils:
24230 @if utils
24231 maybe-maintainer-clean-utils: maintainer-clean-utils
24233 maintainer-clean-utils:
24234 @[ -f ./utils/Makefile ] || exit 0; \
24235 r=`${PWD_COMMAND}`; export r; \
24236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24237 $(SET_LIB_PATH) \
24238 $(HOST_EXPORTS) \
24239 for flag in $(EXTRA_HOST_FLAGS) ; do \
24240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24241 done; \
24242 echo "Doing maintainer-clean in utils" ; \
24243 (cd utils && \
24244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24246 "RANLIB=$${RANLIB}" \
24247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24248 maintainer-clean) \
24249 || exit 1
24251 @endif utils
24254 .PHONY: configure-gnattools maybe-configure-gnattools
24255 maybe-configure-gnattools:
24256 @if gnattools
24257 maybe-configure-gnattools: configure-gnattools
24258 configure-gnattools:
24259 @test ! -f gnattools/Makefile || exit 0; \
24260 [ -d gnattools ] || mkdir gnattools; \
24261 r=`${PWD_COMMAND}`; export r; \
24262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24263 $(HOST_EXPORTS) \
24264 echo Configuring in gnattools; \
24265 cd gnattools || exit 1; \
24266 case $(srcdir) in \
24267 \.) \
24268 srcdiroption="--srcdir=."; \
24269 libsrcdir=".";; \
24270 /* | [A-Za-z]:[\\/]*) \
24271 srcdiroption="--srcdir=$(srcdir)/gnattools"; \
24272 libsrcdir="$$s/gnattools";; \
24273 *) \
24274 srcdiroption="--srcdir=../$(srcdir)/gnattools"; \
24275 libsrcdir="$$s/gnattools";; \
24276 esac; \
24277 $(SHELL) $${libsrcdir}/configure \
24278 $(HOST_CONFIGARGS) $${srcdiroption} \
24279 || exit 1
24280 @endif gnattools
24282 .PHONY: all-gnattools maybe-all-gnattools
24283 maybe-all-gnattools:
24284 @if gnattools
24285 TARGET-gnattools=all
24286 maybe-all-gnattools: all-gnattools
24287 all-gnattools: configure-gnattools
24288 @r=`${PWD_COMMAND}`; export r; \
24289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24290 $(SET_LIB_PATH) \
24291 $(HOST_EXPORTS) \
24292 (cd gnattools && $(MAKE) $(FLAGS_TO_PASS) \
24293 $(TARGET-gnattools))
24294 @endif gnattools
24296 .PHONY: check-gnattools maybe-check-gnattools
24297 maybe-check-gnattools:
24298 @if gnattools
24299 maybe-check-gnattools: check-gnattools
24301 check-gnattools:
24302 @r=`${PWD_COMMAND}`; export r; \
24303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24304 $(SET_LIB_PATH) \
24305 $(HOST_EXPORTS) \
24306 (cd gnattools && $(MAKE) $(FLAGS_TO_PASS) check)
24308 @endif gnattools
24310 .PHONY: install-gnattools maybe-install-gnattools
24311 maybe-install-gnattools:
24312 @if gnattools
24313 maybe-install-gnattools: install-gnattools
24315 install-gnattools: installdirs
24316 @r=`${PWD_COMMAND}`; export r; \
24317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24318 $(SET_LIB_PATH) \
24319 $(HOST_EXPORTS) \
24320 (cd gnattools && $(MAKE) $(FLAGS_TO_PASS) install)
24322 @endif gnattools
24324 # Other targets (info, dvi, etc.)
24326 .PHONY: maybe-info-gnattools info-gnattools
24327 maybe-info-gnattools:
24328 @if gnattools
24329 maybe-info-gnattools: info-gnattools
24331 info-gnattools: \
24332 configure-gnattools
24333 @[ -f ./gnattools/Makefile ] || exit 0; \
24334 r=`${PWD_COMMAND}`; export r; \
24335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24336 $(SET_LIB_PATH) \
24337 $(HOST_EXPORTS) \
24338 for flag in $(EXTRA_HOST_FLAGS) ; do \
24339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24340 done; \
24341 echo "Doing info in gnattools" ; \
24342 (cd gnattools && \
24343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24345 "RANLIB=$${RANLIB}" \
24346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24347 info) \
24348 || exit 1
24350 @endif gnattools
24352 .PHONY: maybe-dvi-gnattools dvi-gnattools
24353 maybe-dvi-gnattools:
24354 @if gnattools
24355 maybe-dvi-gnattools: dvi-gnattools
24357 dvi-gnattools: \
24358 configure-gnattools
24359 @[ -f ./gnattools/Makefile ] || exit 0; \
24360 r=`${PWD_COMMAND}`; export r; \
24361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24362 $(SET_LIB_PATH) \
24363 $(HOST_EXPORTS) \
24364 for flag in $(EXTRA_HOST_FLAGS) ; do \
24365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24366 done; \
24367 echo "Doing dvi in gnattools" ; \
24368 (cd gnattools && \
24369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24371 "RANLIB=$${RANLIB}" \
24372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24373 dvi) \
24374 || exit 1
24376 @endif gnattools
24378 .PHONY: maybe-html-gnattools html-gnattools
24379 maybe-html-gnattools:
24380 @if gnattools
24381 maybe-html-gnattools: html-gnattools
24383 html-gnattools: \
24384 configure-gnattools
24385 @[ -f ./gnattools/Makefile ] || exit 0; \
24386 r=`${PWD_COMMAND}`; export r; \
24387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24388 $(SET_LIB_PATH) \
24389 $(HOST_EXPORTS) \
24390 for flag in $(EXTRA_HOST_FLAGS) ; do \
24391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24392 done; \
24393 echo "Doing html in gnattools" ; \
24394 (cd gnattools && \
24395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24397 "RANLIB=$${RANLIB}" \
24398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24399 html) \
24400 || exit 1
24402 @endif gnattools
24404 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
24405 maybe-TAGS-gnattools:
24406 @if gnattools
24407 maybe-TAGS-gnattools: TAGS-gnattools
24409 TAGS-gnattools: \
24410 configure-gnattools
24411 @[ -f ./gnattools/Makefile ] || exit 0; \
24412 r=`${PWD_COMMAND}`; export r; \
24413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24414 $(SET_LIB_PATH) \
24415 $(HOST_EXPORTS) \
24416 for flag in $(EXTRA_HOST_FLAGS) ; do \
24417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24418 done; \
24419 echo "Doing TAGS in gnattools" ; \
24420 (cd gnattools && \
24421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24423 "RANLIB=$${RANLIB}" \
24424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24425 TAGS) \
24426 || exit 1
24428 @endif gnattools
24430 .PHONY: maybe-install-info-gnattools install-info-gnattools
24431 maybe-install-info-gnattools:
24432 @if gnattools
24433 maybe-install-info-gnattools: install-info-gnattools
24435 install-info-gnattools: \
24436 configure-gnattools \
24437 info-gnattools
24438 @[ -f ./gnattools/Makefile ] || exit 0; \
24439 r=`${PWD_COMMAND}`; export r; \
24440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24441 $(SET_LIB_PATH) \
24442 $(HOST_EXPORTS) \
24443 for flag in $(EXTRA_HOST_FLAGS) ; do \
24444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24445 done; \
24446 echo "Doing install-info in gnattools" ; \
24447 (cd gnattools && \
24448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24450 "RANLIB=$${RANLIB}" \
24451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24452 install-info) \
24453 || exit 1
24455 @endif gnattools
24457 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
24458 maybe-installcheck-gnattools:
24459 @if gnattools
24460 maybe-installcheck-gnattools: installcheck-gnattools
24462 installcheck-gnattools: \
24463 configure-gnattools
24464 @[ -f ./gnattools/Makefile ] || exit 0; \
24465 r=`${PWD_COMMAND}`; export r; \
24466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24467 $(SET_LIB_PATH) \
24468 $(HOST_EXPORTS) \
24469 for flag in $(EXTRA_HOST_FLAGS) ; do \
24470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24471 done; \
24472 echo "Doing installcheck in gnattools" ; \
24473 (cd gnattools && \
24474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24476 "RANLIB=$${RANLIB}" \
24477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24478 installcheck) \
24479 || exit 1
24481 @endif gnattools
24483 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
24484 maybe-mostlyclean-gnattools:
24485 @if gnattools
24486 maybe-mostlyclean-gnattools: mostlyclean-gnattools
24488 mostlyclean-gnattools:
24489 @[ -f ./gnattools/Makefile ] || exit 0; \
24490 r=`${PWD_COMMAND}`; export r; \
24491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24492 $(SET_LIB_PATH) \
24493 $(HOST_EXPORTS) \
24494 for flag in $(EXTRA_HOST_FLAGS) ; do \
24495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24496 done; \
24497 echo "Doing mostlyclean in gnattools" ; \
24498 (cd gnattools && \
24499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24501 "RANLIB=$${RANLIB}" \
24502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24503 mostlyclean) \
24504 || exit 1
24506 @endif gnattools
24508 .PHONY: maybe-clean-gnattools clean-gnattools
24509 maybe-clean-gnattools:
24510 @if gnattools
24511 maybe-clean-gnattools: clean-gnattools
24513 clean-gnattools:
24514 @[ -f ./gnattools/Makefile ] || exit 0; \
24515 r=`${PWD_COMMAND}`; export r; \
24516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24517 $(SET_LIB_PATH) \
24518 $(HOST_EXPORTS) \
24519 for flag in $(EXTRA_HOST_FLAGS) ; do \
24520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24521 done; \
24522 echo "Doing clean in gnattools" ; \
24523 (cd gnattools && \
24524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24526 "RANLIB=$${RANLIB}" \
24527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24528 clean) \
24529 || exit 1
24531 @endif gnattools
24533 .PHONY: maybe-distclean-gnattools distclean-gnattools
24534 maybe-distclean-gnattools:
24535 @if gnattools
24536 maybe-distclean-gnattools: distclean-gnattools
24538 distclean-gnattools:
24539 @[ -f ./gnattools/Makefile ] || exit 0; \
24540 r=`${PWD_COMMAND}`; export r; \
24541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24542 $(SET_LIB_PATH) \
24543 $(HOST_EXPORTS) \
24544 for flag in $(EXTRA_HOST_FLAGS) ; do \
24545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24546 done; \
24547 echo "Doing distclean in gnattools" ; \
24548 (cd gnattools && \
24549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24551 "RANLIB=$${RANLIB}" \
24552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24553 distclean) \
24554 || exit 1
24556 @endif gnattools
24558 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
24559 maybe-maintainer-clean-gnattools:
24560 @if gnattools
24561 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
24563 maintainer-clean-gnattools:
24564 @[ -f ./gnattools/Makefile ] || exit 0; \
24565 r=`${PWD_COMMAND}`; export r; \
24566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24567 $(SET_LIB_PATH) \
24568 $(HOST_EXPORTS) \
24569 for flag in $(EXTRA_HOST_FLAGS) ; do \
24570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24571 done; \
24572 echo "Doing maintainer-clean in gnattools" ; \
24573 (cd gnattools && \
24574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24576 "RANLIB=$${RANLIB}" \
24577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24578 maintainer-clean) \
24579 || exit 1
24581 @endif gnattools
24585 # ---------------------------------------
24586 # Modules which run on the target machine
24587 # ---------------------------------------
24589 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
24590 maybe-configure-target-libstdc++-v3:
24591 @if target-libstdc++-v3
24592 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
24594 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24595 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
24596 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24597 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
24598 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24600 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24601 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
24602 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24603 r=`${PWD_COMMAND}`; export r; \
24604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24605 $(SET_LIB_PATH) \
24606 $(RAW_CXX_TARGET_EXPORTS) \
24607 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
24608 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
24609 case $(srcdir) in \
24610 /* | [A-Za-z]:[\\/]*) \
24611 topdir=$(srcdir) ;; \
24612 *) \
24613 case "$(TARGET_SUBDIR)" in \
24614 .) topdir="../$(srcdir)" ;; \
24615 *) topdir="../../$(srcdir)" ;; \
24616 esac ;; \
24617 esac; \
24618 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
24619 libsrcdir="$$s/libstdc++-v3"; \
24620 rm -f no-such-file || : ; \
24621 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24622 $(TARGET_CONFIGARGS) $${srcdiroption} \
24623 --with-target-subdir="$(TARGET_SUBDIR)" \
24624 || exit 1
24625 @endif target-libstdc++-v3
24627 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
24628 maybe-all-target-libstdc++-v3:
24629 @if target-libstdc++-v3
24630 TARGET-target-libstdc++-v3=all
24631 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
24632 all-target-libstdc++-v3: configure-target-libstdc++-v3
24633 @r=`${PWD_COMMAND}`; export r; \
24634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24635 $(SET_LIB_PATH) \
24636 $(RAW_CXX_TARGET_EXPORTS) \
24637 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24638 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
24639 @endif target-libstdc++-v3
24641 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
24642 maybe-check-target-libstdc++-v3:
24643 @if target-libstdc++-v3
24644 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
24646 check-target-libstdc++-v3:
24647 @r=`${PWD_COMMAND}`; export r; \
24648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24649 $(SET_LIB_PATH) \
24650 $(RAW_CXX_TARGET_EXPORTS) \
24651 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24652 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
24654 @endif target-libstdc++-v3
24656 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
24657 maybe-install-target-libstdc++-v3:
24658 @if target-libstdc++-v3
24659 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
24661 install-target-libstdc++-v3: installdirs
24662 @r=`${PWD_COMMAND}`; export r; \
24663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24664 $(SET_LIB_PATH) \
24665 $(RAW_CXX_TARGET_EXPORTS) \
24666 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24667 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24669 @endif target-libstdc++-v3
24671 # Other targets (info, dvi, etc.)
24673 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
24674 maybe-info-target-libstdc++-v3:
24675 @if target-libstdc++-v3
24676 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
24678 info-target-libstdc++-v3: \
24679 configure-target-libstdc++-v3
24680 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24681 r=`${PWD_COMMAND}`; export r; \
24682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24683 $(SET_LIB_PATH) \
24684 $(RAW_CXX_TARGET_EXPORTS) \
24685 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24686 for flag in $(EXTRA_TARGET_FLAGS); do \
24687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24688 done; \
24689 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24692 "RANLIB=$${RANLIB}" \
24693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24694 info) \
24695 || exit 1
24697 @endif target-libstdc++-v3
24699 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
24700 maybe-dvi-target-libstdc++-v3:
24701 @if target-libstdc++-v3
24702 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
24704 dvi-target-libstdc++-v3: \
24705 configure-target-libstdc++-v3
24706 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24707 r=`${PWD_COMMAND}`; export r; \
24708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24709 $(SET_LIB_PATH) \
24710 $(RAW_CXX_TARGET_EXPORTS) \
24711 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24712 for flag in $(EXTRA_TARGET_FLAGS); do \
24713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24714 done; \
24715 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24718 "RANLIB=$${RANLIB}" \
24719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24720 dvi) \
24721 || exit 1
24723 @endif target-libstdc++-v3
24725 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
24726 maybe-html-target-libstdc++-v3:
24727 @if target-libstdc++-v3
24728 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
24730 html-target-libstdc++-v3: \
24731 configure-target-libstdc++-v3
24732 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24733 r=`${PWD_COMMAND}`; export r; \
24734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24735 $(SET_LIB_PATH) \
24736 $(RAW_CXX_TARGET_EXPORTS) \
24737 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24738 for flag in $(EXTRA_TARGET_FLAGS); do \
24739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24740 done; \
24741 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24744 "RANLIB=$${RANLIB}" \
24745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24746 html) \
24747 || exit 1
24749 @endif target-libstdc++-v3
24751 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
24752 maybe-TAGS-target-libstdc++-v3:
24753 @if target-libstdc++-v3
24754 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
24756 TAGS-target-libstdc++-v3: \
24757 configure-target-libstdc++-v3
24758 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24759 r=`${PWD_COMMAND}`; export r; \
24760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24761 $(SET_LIB_PATH) \
24762 $(RAW_CXX_TARGET_EXPORTS) \
24763 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24764 for flag in $(EXTRA_TARGET_FLAGS); do \
24765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24766 done; \
24767 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24770 "RANLIB=$${RANLIB}" \
24771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24772 TAGS) \
24773 || exit 1
24775 @endif target-libstdc++-v3
24777 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
24778 maybe-install-info-target-libstdc++-v3:
24779 @if target-libstdc++-v3
24780 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
24782 install-info-target-libstdc++-v3: \
24783 configure-target-libstdc++-v3 \
24784 info-target-libstdc++-v3
24785 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24786 r=`${PWD_COMMAND}`; export r; \
24787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24788 $(SET_LIB_PATH) \
24789 $(RAW_CXX_TARGET_EXPORTS) \
24790 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24791 for flag in $(EXTRA_TARGET_FLAGS); do \
24792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24793 done; \
24794 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24797 "RANLIB=$${RANLIB}" \
24798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24799 install-info) \
24800 || exit 1
24802 @endif target-libstdc++-v3
24804 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
24805 maybe-installcheck-target-libstdc++-v3:
24806 @if target-libstdc++-v3
24807 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
24809 installcheck-target-libstdc++-v3: \
24810 configure-target-libstdc++-v3
24811 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24812 r=`${PWD_COMMAND}`; export r; \
24813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24814 $(SET_LIB_PATH) \
24815 $(RAW_CXX_TARGET_EXPORTS) \
24816 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24817 for flag in $(EXTRA_TARGET_FLAGS); do \
24818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24819 done; \
24820 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24823 "RANLIB=$${RANLIB}" \
24824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24825 installcheck) \
24826 || exit 1
24828 @endif target-libstdc++-v3
24830 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
24831 maybe-mostlyclean-target-libstdc++-v3:
24832 @if target-libstdc++-v3
24833 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
24835 mostlyclean-target-libstdc++-v3:
24836 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24837 r=`${PWD_COMMAND}`; export r; \
24838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24839 $(SET_LIB_PATH) \
24840 $(RAW_CXX_TARGET_EXPORTS) \
24841 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24842 for flag in $(EXTRA_TARGET_FLAGS); do \
24843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24844 done; \
24845 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24848 "RANLIB=$${RANLIB}" \
24849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24850 mostlyclean) \
24851 || exit 1
24853 @endif target-libstdc++-v3
24855 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
24856 maybe-clean-target-libstdc++-v3:
24857 @if target-libstdc++-v3
24858 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
24860 clean-target-libstdc++-v3:
24861 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24862 r=`${PWD_COMMAND}`; export r; \
24863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24864 $(SET_LIB_PATH) \
24865 $(RAW_CXX_TARGET_EXPORTS) \
24866 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24867 for flag in $(EXTRA_TARGET_FLAGS); do \
24868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24869 done; \
24870 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24873 "RANLIB=$${RANLIB}" \
24874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24875 clean) \
24876 || exit 1
24878 @endif target-libstdc++-v3
24880 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
24881 maybe-distclean-target-libstdc++-v3:
24882 @if target-libstdc++-v3
24883 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
24885 distclean-target-libstdc++-v3:
24886 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24887 r=`${PWD_COMMAND}`; export r; \
24888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24889 $(SET_LIB_PATH) \
24890 $(RAW_CXX_TARGET_EXPORTS) \
24891 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24892 for flag in $(EXTRA_TARGET_FLAGS); do \
24893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24894 done; \
24895 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24898 "RANLIB=$${RANLIB}" \
24899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24900 distclean) \
24901 || exit 1
24903 @endif target-libstdc++-v3
24905 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
24906 maybe-maintainer-clean-target-libstdc++-v3:
24907 @if target-libstdc++-v3
24908 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
24910 maintainer-clean-target-libstdc++-v3:
24911 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24912 r=`${PWD_COMMAND}`; export r; \
24913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24914 $(SET_LIB_PATH) \
24915 $(RAW_CXX_TARGET_EXPORTS) \
24916 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24917 for flag in $(EXTRA_TARGET_FLAGS); do \
24918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24919 done; \
24920 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24923 "RANLIB=$${RANLIB}" \
24924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24925 maintainer-clean) \
24926 || exit 1
24928 @endif target-libstdc++-v3
24931 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
24932 maybe-configure-target-libmudflap:
24933 @if target-libmudflap
24934 maybe-configure-target-libmudflap: configure-target-libmudflap
24936 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24937 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
24938 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24939 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
24940 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
24942 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
24943 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
24944 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24945 r=`${PWD_COMMAND}`; export r; \
24946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24947 $(SET_LIB_PATH) \
24948 $(NORMAL_TARGET_EXPORTS) \
24949 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
24950 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
24951 case $(srcdir) in \
24952 /* | [A-Za-z]:[\\/]*) \
24953 topdir=$(srcdir) ;; \
24954 *) \
24955 case "$(TARGET_SUBDIR)" in \
24956 .) topdir="../$(srcdir)" ;; \
24957 *) topdir="../../$(srcdir)" ;; \
24958 esac ;; \
24959 esac; \
24960 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
24961 libsrcdir="$$s/libmudflap"; \
24962 rm -f no-such-file || : ; \
24963 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24964 $(TARGET_CONFIGARGS) $${srcdiroption} \
24965 --with-target-subdir="$(TARGET_SUBDIR)" \
24966 || exit 1
24967 @endif target-libmudflap
24969 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
24970 maybe-all-target-libmudflap:
24971 @if target-libmudflap
24972 TARGET-target-libmudflap=all
24973 maybe-all-target-libmudflap: all-target-libmudflap
24974 all-target-libmudflap: configure-target-libmudflap
24975 @r=`${PWD_COMMAND}`; export r; \
24976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24977 $(SET_LIB_PATH) \
24978 $(NORMAL_TARGET_EXPORTS) \
24979 (cd $(TARGET_SUBDIR)/libmudflap && \
24980 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
24981 @endif target-libmudflap
24983 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
24984 maybe-check-target-libmudflap:
24985 @if target-libmudflap
24986 maybe-check-target-libmudflap: check-target-libmudflap
24988 check-target-libmudflap:
24989 @r=`${PWD_COMMAND}`; export r; \
24990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24991 $(SET_LIB_PATH) \
24992 $(NORMAL_TARGET_EXPORTS) \
24993 (cd $(TARGET_SUBDIR)/libmudflap && \
24994 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24996 @endif target-libmudflap
24998 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
24999 maybe-install-target-libmudflap:
25000 @if target-libmudflap
25001 maybe-install-target-libmudflap: install-target-libmudflap
25003 install-target-libmudflap: installdirs
25004 @r=`${PWD_COMMAND}`; export r; \
25005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25006 $(SET_LIB_PATH) \
25007 $(NORMAL_TARGET_EXPORTS) \
25008 (cd $(TARGET_SUBDIR)/libmudflap && \
25009 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25011 @endif target-libmudflap
25013 # Other targets (info, dvi, etc.)
25015 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
25016 maybe-info-target-libmudflap:
25017 @if target-libmudflap
25018 maybe-info-target-libmudflap: info-target-libmudflap
25020 info-target-libmudflap: \
25021 configure-target-libmudflap
25022 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
25023 r=`${PWD_COMMAND}`; export r; \
25024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25025 $(SET_LIB_PATH) \
25026 $(NORMAL_TARGET_EXPORTS) \
25027 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
25028 for flag in $(EXTRA_TARGET_FLAGS); do \
25029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25030 done; \
25031 (cd $(TARGET_SUBDIR)/libmudflap && \
25032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25034 "RANLIB=$${RANLIB}" \
25035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25036 info) \
25037 || exit 1
25039 @endif target-libmudflap
25041 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
25042 maybe-dvi-target-libmudflap:
25043 @if target-libmudflap
25044 maybe-dvi-target-libmudflap: dvi-target-libmudflap
25046 dvi-target-libmudflap: \
25047 configure-target-libmudflap
25048 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
25049 r=`${PWD_COMMAND}`; export r; \
25050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25051 $(SET_LIB_PATH) \
25052 $(NORMAL_TARGET_EXPORTS) \
25053 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
25054 for flag in $(EXTRA_TARGET_FLAGS); do \
25055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25056 done; \
25057 (cd $(TARGET_SUBDIR)/libmudflap && \
25058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25060 "RANLIB=$${RANLIB}" \
25061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25062 dvi) \
25063 || exit 1
25065 @endif target-libmudflap
25067 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
25068 maybe-html-target-libmudflap:
25069 @if target-libmudflap
25070 maybe-html-target-libmudflap: html-target-libmudflap
25072 html-target-libmudflap: \
25073 configure-target-libmudflap
25074 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
25075 r=`${PWD_COMMAND}`; export r; \
25076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25077 $(SET_LIB_PATH) \
25078 $(NORMAL_TARGET_EXPORTS) \
25079 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
25080 for flag in $(EXTRA_TARGET_FLAGS); do \
25081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25082 done; \
25083 (cd $(TARGET_SUBDIR)/libmudflap && \
25084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25086 "RANLIB=$${RANLIB}" \
25087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25088 html) \
25089 || exit 1
25091 @endif target-libmudflap
25093 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
25094 maybe-TAGS-target-libmudflap:
25095 @if target-libmudflap
25096 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
25098 TAGS-target-libmudflap: \
25099 configure-target-libmudflap
25100 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
25101 r=`${PWD_COMMAND}`; export r; \
25102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25103 $(SET_LIB_PATH) \
25104 $(NORMAL_TARGET_EXPORTS) \
25105 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
25106 for flag in $(EXTRA_TARGET_FLAGS); do \
25107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25108 done; \
25109 (cd $(TARGET_SUBDIR)/libmudflap && \
25110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25112 "RANLIB=$${RANLIB}" \
25113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25114 TAGS) \
25115 || exit 1
25117 @endif target-libmudflap
25119 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
25120 maybe-install-info-target-libmudflap:
25121 @if target-libmudflap
25122 maybe-install-info-target-libmudflap: install-info-target-libmudflap
25124 install-info-target-libmudflap: \
25125 configure-target-libmudflap \
25126 info-target-libmudflap
25127 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
25128 r=`${PWD_COMMAND}`; export r; \
25129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25130 $(SET_LIB_PATH) \
25131 $(NORMAL_TARGET_EXPORTS) \
25132 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
25133 for flag in $(EXTRA_TARGET_FLAGS); do \
25134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25135 done; \
25136 (cd $(TARGET_SUBDIR)/libmudflap && \
25137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25139 "RANLIB=$${RANLIB}" \
25140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25141 install-info) \
25142 || exit 1
25144 @endif target-libmudflap
25146 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
25147 maybe-installcheck-target-libmudflap:
25148 @if target-libmudflap
25149 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
25151 installcheck-target-libmudflap: \
25152 configure-target-libmudflap
25153 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
25154 r=`${PWD_COMMAND}`; export r; \
25155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25156 $(SET_LIB_PATH) \
25157 $(NORMAL_TARGET_EXPORTS) \
25158 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
25159 for flag in $(EXTRA_TARGET_FLAGS); do \
25160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25161 done; \
25162 (cd $(TARGET_SUBDIR)/libmudflap && \
25163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25165 "RANLIB=$${RANLIB}" \
25166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25167 installcheck) \
25168 || exit 1
25170 @endif target-libmudflap
25172 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
25173 maybe-mostlyclean-target-libmudflap:
25174 @if target-libmudflap
25175 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
25177 mostlyclean-target-libmudflap:
25178 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
25179 r=`${PWD_COMMAND}`; export r; \
25180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25181 $(SET_LIB_PATH) \
25182 $(NORMAL_TARGET_EXPORTS) \
25183 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
25184 for flag in $(EXTRA_TARGET_FLAGS); do \
25185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25186 done; \
25187 (cd $(TARGET_SUBDIR)/libmudflap && \
25188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25190 "RANLIB=$${RANLIB}" \
25191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25192 mostlyclean) \
25193 || exit 1
25195 @endif target-libmudflap
25197 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
25198 maybe-clean-target-libmudflap:
25199 @if target-libmudflap
25200 maybe-clean-target-libmudflap: clean-target-libmudflap
25202 clean-target-libmudflap:
25203 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
25204 r=`${PWD_COMMAND}`; export r; \
25205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25206 $(SET_LIB_PATH) \
25207 $(NORMAL_TARGET_EXPORTS) \
25208 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
25209 for flag in $(EXTRA_TARGET_FLAGS); do \
25210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25211 done; \
25212 (cd $(TARGET_SUBDIR)/libmudflap && \
25213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25215 "RANLIB=$${RANLIB}" \
25216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25217 clean) \
25218 || exit 1
25220 @endif target-libmudflap
25222 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
25223 maybe-distclean-target-libmudflap:
25224 @if target-libmudflap
25225 maybe-distclean-target-libmudflap: distclean-target-libmudflap
25227 distclean-target-libmudflap:
25228 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
25229 r=`${PWD_COMMAND}`; export r; \
25230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25231 $(SET_LIB_PATH) \
25232 $(NORMAL_TARGET_EXPORTS) \
25233 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
25234 for flag in $(EXTRA_TARGET_FLAGS); do \
25235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25236 done; \
25237 (cd $(TARGET_SUBDIR)/libmudflap && \
25238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25240 "RANLIB=$${RANLIB}" \
25241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25242 distclean) \
25243 || exit 1
25245 @endif target-libmudflap
25247 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
25248 maybe-maintainer-clean-target-libmudflap:
25249 @if target-libmudflap
25250 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
25252 maintainer-clean-target-libmudflap:
25253 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
25254 r=`${PWD_COMMAND}`; export r; \
25255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25256 $(SET_LIB_PATH) \
25257 $(NORMAL_TARGET_EXPORTS) \
25258 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
25259 for flag in $(EXTRA_TARGET_FLAGS); do \
25260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25261 done; \
25262 (cd $(TARGET_SUBDIR)/libmudflap && \
25263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25265 "RANLIB=$${RANLIB}" \
25266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25267 maintainer-clean) \
25268 || exit 1
25270 @endif target-libmudflap
25273 .PHONY: configure-target-newlib maybe-configure-target-newlib
25274 maybe-configure-target-newlib:
25275 @if target-newlib
25276 maybe-configure-target-newlib: configure-target-newlib
25278 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25279 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
25280 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
25281 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
25282 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
25284 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
25285 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
25286 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
25287 r=`${PWD_COMMAND}`; export r; \
25288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25289 $(SET_LIB_PATH) \
25290 $(NORMAL_TARGET_EXPORTS) \
25291 echo Configuring in $(TARGET_SUBDIR)/newlib; \
25292 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
25293 case $(srcdir) in \
25294 /* | [A-Za-z]:[\\/]*) \
25295 topdir=$(srcdir) ;; \
25296 *) \
25297 case "$(TARGET_SUBDIR)" in \
25298 .) topdir="../$(srcdir)" ;; \
25299 *) topdir="../../$(srcdir)" ;; \
25300 esac ;; \
25301 esac; \
25302 srcdiroption="--srcdir=$${topdir}/newlib"; \
25303 libsrcdir="$$s/newlib"; \
25304 rm -f no-such-file || : ; \
25305 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25306 $(TARGET_CONFIGARGS) $${srcdiroption} \
25307 --with-target-subdir="$(TARGET_SUBDIR)" \
25308 || exit 1
25309 @endif target-newlib
25311 .PHONY: all-target-newlib maybe-all-target-newlib
25312 maybe-all-target-newlib:
25313 @if target-newlib
25314 TARGET-target-newlib=all
25315 maybe-all-target-newlib: all-target-newlib
25316 all-target-newlib: configure-target-newlib
25317 @r=`${PWD_COMMAND}`; export r; \
25318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25319 $(SET_LIB_PATH) \
25320 $(NORMAL_TARGET_EXPORTS) \
25321 (cd $(TARGET_SUBDIR)/newlib && \
25322 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
25323 @endif target-newlib
25325 .PHONY: check-target-newlib maybe-check-target-newlib
25326 maybe-check-target-newlib:
25327 @if target-newlib
25328 maybe-check-target-newlib: check-target-newlib
25330 check-target-newlib:
25331 @r=`${PWD_COMMAND}`; export r; \
25332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25333 $(SET_LIB_PATH) \
25334 $(NORMAL_TARGET_EXPORTS) \
25335 (cd $(TARGET_SUBDIR)/newlib && \
25336 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25338 @endif target-newlib
25340 .PHONY: install-target-newlib maybe-install-target-newlib
25341 maybe-install-target-newlib:
25342 @if target-newlib
25343 maybe-install-target-newlib: install-target-newlib
25345 install-target-newlib: installdirs
25346 @r=`${PWD_COMMAND}`; export r; \
25347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25348 $(SET_LIB_PATH) \
25349 $(NORMAL_TARGET_EXPORTS) \
25350 (cd $(TARGET_SUBDIR)/newlib && \
25351 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25353 @endif target-newlib
25355 # Other targets (info, dvi, etc.)
25357 .PHONY: maybe-info-target-newlib info-target-newlib
25358 maybe-info-target-newlib:
25359 @if target-newlib
25360 maybe-info-target-newlib: info-target-newlib
25362 info-target-newlib: \
25363 configure-target-newlib
25364 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25365 r=`${PWD_COMMAND}`; export r; \
25366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25367 $(SET_LIB_PATH) \
25368 $(NORMAL_TARGET_EXPORTS) \
25369 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
25370 for flag in $(EXTRA_TARGET_FLAGS); do \
25371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25372 done; \
25373 (cd $(TARGET_SUBDIR)/newlib && \
25374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25376 "RANLIB=$${RANLIB}" \
25377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25378 info) \
25379 || exit 1
25381 @endif target-newlib
25383 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
25384 maybe-dvi-target-newlib:
25385 @if target-newlib
25386 maybe-dvi-target-newlib: dvi-target-newlib
25388 dvi-target-newlib: \
25389 configure-target-newlib
25390 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25391 r=`${PWD_COMMAND}`; export r; \
25392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25393 $(SET_LIB_PATH) \
25394 $(NORMAL_TARGET_EXPORTS) \
25395 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
25396 for flag in $(EXTRA_TARGET_FLAGS); do \
25397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25398 done; \
25399 (cd $(TARGET_SUBDIR)/newlib && \
25400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25402 "RANLIB=$${RANLIB}" \
25403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25404 dvi) \
25405 || exit 1
25407 @endif target-newlib
25409 .PHONY: maybe-html-target-newlib html-target-newlib
25410 maybe-html-target-newlib:
25411 @if target-newlib
25412 maybe-html-target-newlib: html-target-newlib
25414 html-target-newlib: \
25415 configure-target-newlib
25416 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25417 r=`${PWD_COMMAND}`; export r; \
25418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25419 $(SET_LIB_PATH) \
25420 $(NORMAL_TARGET_EXPORTS) \
25421 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
25422 for flag in $(EXTRA_TARGET_FLAGS); do \
25423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25424 done; \
25425 (cd $(TARGET_SUBDIR)/newlib && \
25426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25428 "RANLIB=$${RANLIB}" \
25429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25430 html) \
25431 || exit 1
25433 @endif target-newlib
25435 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
25436 maybe-TAGS-target-newlib:
25437 @if target-newlib
25438 maybe-TAGS-target-newlib: TAGS-target-newlib
25440 TAGS-target-newlib: \
25441 configure-target-newlib
25442 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25443 r=`${PWD_COMMAND}`; export r; \
25444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25445 $(SET_LIB_PATH) \
25446 $(NORMAL_TARGET_EXPORTS) \
25447 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
25448 for flag in $(EXTRA_TARGET_FLAGS); do \
25449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25450 done; \
25451 (cd $(TARGET_SUBDIR)/newlib && \
25452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25454 "RANLIB=$${RANLIB}" \
25455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25456 TAGS) \
25457 || exit 1
25459 @endif target-newlib
25461 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
25462 maybe-install-info-target-newlib:
25463 @if target-newlib
25464 maybe-install-info-target-newlib: install-info-target-newlib
25466 install-info-target-newlib: \
25467 configure-target-newlib \
25468 info-target-newlib
25469 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25470 r=`${PWD_COMMAND}`; export r; \
25471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25472 $(SET_LIB_PATH) \
25473 $(NORMAL_TARGET_EXPORTS) \
25474 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
25475 for flag in $(EXTRA_TARGET_FLAGS); do \
25476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25477 done; \
25478 (cd $(TARGET_SUBDIR)/newlib && \
25479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25481 "RANLIB=$${RANLIB}" \
25482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25483 install-info) \
25484 || exit 1
25486 @endif target-newlib
25488 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
25489 maybe-installcheck-target-newlib:
25490 @if target-newlib
25491 maybe-installcheck-target-newlib: installcheck-target-newlib
25493 installcheck-target-newlib: \
25494 configure-target-newlib
25495 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25496 r=`${PWD_COMMAND}`; export r; \
25497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25498 $(SET_LIB_PATH) \
25499 $(NORMAL_TARGET_EXPORTS) \
25500 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
25501 for flag in $(EXTRA_TARGET_FLAGS); do \
25502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25503 done; \
25504 (cd $(TARGET_SUBDIR)/newlib && \
25505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25507 "RANLIB=$${RANLIB}" \
25508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25509 installcheck) \
25510 || exit 1
25512 @endif target-newlib
25514 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
25515 maybe-mostlyclean-target-newlib:
25516 @if target-newlib
25517 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
25519 mostlyclean-target-newlib:
25520 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25521 r=`${PWD_COMMAND}`; export r; \
25522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25523 $(SET_LIB_PATH) \
25524 $(NORMAL_TARGET_EXPORTS) \
25525 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
25526 for flag in $(EXTRA_TARGET_FLAGS); do \
25527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25528 done; \
25529 (cd $(TARGET_SUBDIR)/newlib && \
25530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25532 "RANLIB=$${RANLIB}" \
25533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25534 mostlyclean) \
25535 || exit 1
25537 @endif target-newlib
25539 .PHONY: maybe-clean-target-newlib clean-target-newlib
25540 maybe-clean-target-newlib:
25541 @if target-newlib
25542 maybe-clean-target-newlib: clean-target-newlib
25544 clean-target-newlib:
25545 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25546 r=`${PWD_COMMAND}`; export r; \
25547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25548 $(SET_LIB_PATH) \
25549 $(NORMAL_TARGET_EXPORTS) \
25550 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
25551 for flag in $(EXTRA_TARGET_FLAGS); do \
25552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25553 done; \
25554 (cd $(TARGET_SUBDIR)/newlib && \
25555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25557 "RANLIB=$${RANLIB}" \
25558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25559 clean) \
25560 || exit 1
25562 @endif target-newlib
25564 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
25565 maybe-distclean-target-newlib:
25566 @if target-newlib
25567 maybe-distclean-target-newlib: distclean-target-newlib
25569 distclean-target-newlib:
25570 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25571 r=`${PWD_COMMAND}`; export r; \
25572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25573 $(SET_LIB_PATH) \
25574 $(NORMAL_TARGET_EXPORTS) \
25575 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
25576 for flag in $(EXTRA_TARGET_FLAGS); do \
25577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25578 done; \
25579 (cd $(TARGET_SUBDIR)/newlib && \
25580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25582 "RANLIB=$${RANLIB}" \
25583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25584 distclean) \
25585 || exit 1
25587 @endif target-newlib
25589 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
25590 maybe-maintainer-clean-target-newlib:
25591 @if target-newlib
25592 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
25594 maintainer-clean-target-newlib:
25595 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25596 r=`${PWD_COMMAND}`; export r; \
25597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25598 $(SET_LIB_PATH) \
25599 $(NORMAL_TARGET_EXPORTS) \
25600 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
25601 for flag in $(EXTRA_TARGET_FLAGS); do \
25602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25603 done; \
25604 (cd $(TARGET_SUBDIR)/newlib && \
25605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25607 "RANLIB=$${RANLIB}" \
25608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25609 maintainer-clean) \
25610 || exit 1
25612 @endif target-newlib
25615 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
25616 maybe-configure-target-libgfortran:
25617 @if target-libgfortran
25618 maybe-configure-target-libgfortran: configure-target-libgfortran
25620 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25621 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
25622 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25623 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
25624 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
25626 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
25627 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
25628 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25629 r=`${PWD_COMMAND}`; export r; \
25630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25631 $(SET_LIB_PATH) \
25632 $(NORMAL_TARGET_EXPORTS) \
25633 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
25634 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
25635 case $(srcdir) in \
25636 /* | [A-Za-z]:[\\/]*) \
25637 topdir=$(srcdir) ;; \
25638 *) \
25639 case "$(TARGET_SUBDIR)" in \
25640 .) topdir="../$(srcdir)" ;; \
25641 *) topdir="../../$(srcdir)" ;; \
25642 esac ;; \
25643 esac; \
25644 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
25645 libsrcdir="$$s/libgfortran"; \
25646 rm -f no-such-file || : ; \
25647 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25648 $(TARGET_CONFIGARGS) $${srcdiroption} \
25649 --with-target-subdir="$(TARGET_SUBDIR)" \
25650 || exit 1
25651 @endif target-libgfortran
25653 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
25654 maybe-all-target-libgfortran:
25655 @if target-libgfortran
25656 TARGET-target-libgfortran=all
25657 maybe-all-target-libgfortran: all-target-libgfortran
25658 all-target-libgfortran: configure-target-libgfortran
25659 @r=`${PWD_COMMAND}`; export r; \
25660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25661 $(SET_LIB_PATH) \
25662 $(NORMAL_TARGET_EXPORTS) \
25663 (cd $(TARGET_SUBDIR)/libgfortran && \
25664 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
25665 @endif target-libgfortran
25667 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
25668 maybe-check-target-libgfortran:
25669 @if target-libgfortran
25670 maybe-check-target-libgfortran: check-target-libgfortran
25672 check-target-libgfortran:
25673 @r=`${PWD_COMMAND}`; export r; \
25674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25675 $(SET_LIB_PATH) \
25676 $(NORMAL_TARGET_EXPORTS) \
25677 (cd $(TARGET_SUBDIR)/libgfortran && \
25678 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25680 @endif target-libgfortran
25682 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
25683 maybe-install-target-libgfortran:
25684 @if target-libgfortran
25685 maybe-install-target-libgfortran: install-target-libgfortran
25687 install-target-libgfortran: installdirs
25688 @r=`${PWD_COMMAND}`; export r; \
25689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25690 $(SET_LIB_PATH) \
25691 $(NORMAL_TARGET_EXPORTS) \
25692 (cd $(TARGET_SUBDIR)/libgfortran && \
25693 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25695 @endif target-libgfortran
25697 # Other targets (info, dvi, etc.)
25699 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
25700 maybe-info-target-libgfortran:
25701 @if target-libgfortran
25702 maybe-info-target-libgfortran: info-target-libgfortran
25704 info-target-libgfortran: \
25705 configure-target-libgfortran
25706 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25707 r=`${PWD_COMMAND}`; export r; \
25708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25709 $(SET_LIB_PATH) \
25710 $(NORMAL_TARGET_EXPORTS) \
25711 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
25712 for flag in $(EXTRA_TARGET_FLAGS); do \
25713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25714 done; \
25715 (cd $(TARGET_SUBDIR)/libgfortran && \
25716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25718 "RANLIB=$${RANLIB}" \
25719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25720 info) \
25721 || exit 1
25723 @endif target-libgfortran
25725 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
25726 maybe-dvi-target-libgfortran:
25727 @if target-libgfortran
25728 maybe-dvi-target-libgfortran: dvi-target-libgfortran
25730 dvi-target-libgfortran: \
25731 configure-target-libgfortran
25732 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25733 r=`${PWD_COMMAND}`; export r; \
25734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25735 $(SET_LIB_PATH) \
25736 $(NORMAL_TARGET_EXPORTS) \
25737 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
25738 for flag in $(EXTRA_TARGET_FLAGS); do \
25739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25740 done; \
25741 (cd $(TARGET_SUBDIR)/libgfortran && \
25742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25744 "RANLIB=$${RANLIB}" \
25745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25746 dvi) \
25747 || exit 1
25749 @endif target-libgfortran
25751 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
25752 maybe-html-target-libgfortran:
25753 @if target-libgfortran
25754 maybe-html-target-libgfortran: html-target-libgfortran
25756 html-target-libgfortran: \
25757 configure-target-libgfortran
25758 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25759 r=`${PWD_COMMAND}`; export r; \
25760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25761 $(SET_LIB_PATH) \
25762 $(NORMAL_TARGET_EXPORTS) \
25763 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
25764 for flag in $(EXTRA_TARGET_FLAGS); do \
25765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25766 done; \
25767 (cd $(TARGET_SUBDIR)/libgfortran && \
25768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25770 "RANLIB=$${RANLIB}" \
25771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25772 html) \
25773 || exit 1
25775 @endif target-libgfortran
25777 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
25778 maybe-TAGS-target-libgfortran:
25779 @if target-libgfortran
25780 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
25782 TAGS-target-libgfortran: \
25783 configure-target-libgfortran
25784 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25785 r=`${PWD_COMMAND}`; export r; \
25786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25787 $(SET_LIB_PATH) \
25788 $(NORMAL_TARGET_EXPORTS) \
25789 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
25790 for flag in $(EXTRA_TARGET_FLAGS); do \
25791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25792 done; \
25793 (cd $(TARGET_SUBDIR)/libgfortran && \
25794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25796 "RANLIB=$${RANLIB}" \
25797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25798 TAGS) \
25799 || exit 1
25801 @endif target-libgfortran
25803 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
25804 maybe-install-info-target-libgfortran:
25805 @if target-libgfortran
25806 maybe-install-info-target-libgfortran: install-info-target-libgfortran
25808 install-info-target-libgfortran: \
25809 configure-target-libgfortran \
25810 info-target-libgfortran
25811 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25812 r=`${PWD_COMMAND}`; export r; \
25813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25814 $(SET_LIB_PATH) \
25815 $(NORMAL_TARGET_EXPORTS) \
25816 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
25817 for flag in $(EXTRA_TARGET_FLAGS); do \
25818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25819 done; \
25820 (cd $(TARGET_SUBDIR)/libgfortran && \
25821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25823 "RANLIB=$${RANLIB}" \
25824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25825 install-info) \
25826 || exit 1
25828 @endif target-libgfortran
25830 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
25831 maybe-installcheck-target-libgfortran:
25832 @if target-libgfortran
25833 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
25835 installcheck-target-libgfortran: \
25836 configure-target-libgfortran
25837 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25838 r=`${PWD_COMMAND}`; export r; \
25839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25840 $(SET_LIB_PATH) \
25841 $(NORMAL_TARGET_EXPORTS) \
25842 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
25843 for flag in $(EXTRA_TARGET_FLAGS); do \
25844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25845 done; \
25846 (cd $(TARGET_SUBDIR)/libgfortran && \
25847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25849 "RANLIB=$${RANLIB}" \
25850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25851 installcheck) \
25852 || exit 1
25854 @endif target-libgfortran
25856 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
25857 maybe-mostlyclean-target-libgfortran:
25858 @if target-libgfortran
25859 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
25861 mostlyclean-target-libgfortran:
25862 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25863 r=`${PWD_COMMAND}`; export r; \
25864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25865 $(SET_LIB_PATH) \
25866 $(NORMAL_TARGET_EXPORTS) \
25867 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
25868 for flag in $(EXTRA_TARGET_FLAGS); do \
25869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25870 done; \
25871 (cd $(TARGET_SUBDIR)/libgfortran && \
25872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25874 "RANLIB=$${RANLIB}" \
25875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25876 mostlyclean) \
25877 || exit 1
25879 @endif target-libgfortran
25881 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
25882 maybe-clean-target-libgfortran:
25883 @if target-libgfortran
25884 maybe-clean-target-libgfortran: clean-target-libgfortran
25886 clean-target-libgfortran:
25887 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25888 r=`${PWD_COMMAND}`; export r; \
25889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25890 $(SET_LIB_PATH) \
25891 $(NORMAL_TARGET_EXPORTS) \
25892 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
25893 for flag in $(EXTRA_TARGET_FLAGS); do \
25894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25895 done; \
25896 (cd $(TARGET_SUBDIR)/libgfortran && \
25897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25899 "RANLIB=$${RANLIB}" \
25900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25901 clean) \
25902 || exit 1
25904 @endif target-libgfortran
25906 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
25907 maybe-distclean-target-libgfortran:
25908 @if target-libgfortran
25909 maybe-distclean-target-libgfortran: distclean-target-libgfortran
25911 distclean-target-libgfortran:
25912 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25913 r=`${PWD_COMMAND}`; export r; \
25914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25915 $(SET_LIB_PATH) \
25916 $(NORMAL_TARGET_EXPORTS) \
25917 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
25918 for flag in $(EXTRA_TARGET_FLAGS); do \
25919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25920 done; \
25921 (cd $(TARGET_SUBDIR)/libgfortran && \
25922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25924 "RANLIB=$${RANLIB}" \
25925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25926 distclean) \
25927 || exit 1
25929 @endif target-libgfortran
25931 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
25932 maybe-maintainer-clean-target-libgfortran:
25933 @if target-libgfortran
25934 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
25936 maintainer-clean-target-libgfortran:
25937 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25938 r=`${PWD_COMMAND}`; export r; \
25939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25940 $(SET_LIB_PATH) \
25941 $(NORMAL_TARGET_EXPORTS) \
25942 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
25943 for flag in $(EXTRA_TARGET_FLAGS); do \
25944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25945 done; \
25946 (cd $(TARGET_SUBDIR)/libgfortran && \
25947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25949 "RANLIB=$${RANLIB}" \
25950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25951 maintainer-clean) \
25952 || exit 1
25954 @endif target-libgfortran
25957 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
25958 maybe-configure-target-libobjc:
25959 @if target-libobjc
25960 maybe-configure-target-libobjc: configure-target-libobjc
25962 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25963 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
25964 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25965 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
25966 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
25968 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
25969 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
25970 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25971 r=`${PWD_COMMAND}`; export r; \
25972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25973 $(SET_LIB_PATH) \
25974 $(NORMAL_TARGET_EXPORTS) \
25975 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
25976 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
25977 case $(srcdir) in \
25978 /* | [A-Za-z]:[\\/]*) \
25979 topdir=$(srcdir) ;; \
25980 *) \
25981 case "$(TARGET_SUBDIR)" in \
25982 .) topdir="../$(srcdir)" ;; \
25983 *) topdir="../../$(srcdir)" ;; \
25984 esac ;; \
25985 esac; \
25986 srcdiroption="--srcdir=$${topdir}/libobjc"; \
25987 libsrcdir="$$s/libobjc"; \
25988 rm -f no-such-file || : ; \
25989 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25990 $(TARGET_CONFIGARGS) $${srcdiroption} \
25991 --with-target-subdir="$(TARGET_SUBDIR)" \
25992 || exit 1
25993 @endif target-libobjc
25995 .PHONY: all-target-libobjc maybe-all-target-libobjc
25996 maybe-all-target-libobjc:
25997 @if target-libobjc
25998 TARGET-target-libobjc=all
25999 maybe-all-target-libobjc: all-target-libobjc
26000 all-target-libobjc: configure-target-libobjc
26001 @r=`${PWD_COMMAND}`; export r; \
26002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26003 $(SET_LIB_PATH) \
26004 $(NORMAL_TARGET_EXPORTS) \
26005 (cd $(TARGET_SUBDIR)/libobjc && \
26006 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
26007 @endif target-libobjc
26009 .PHONY: check-target-libobjc maybe-check-target-libobjc
26010 maybe-check-target-libobjc:
26011 @if target-libobjc
26012 maybe-check-target-libobjc: check-target-libobjc
26014 check-target-libobjc:
26015 @r=`${PWD_COMMAND}`; export r; \
26016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26017 $(SET_LIB_PATH) \
26018 $(NORMAL_TARGET_EXPORTS) \
26019 (cd $(TARGET_SUBDIR)/libobjc && \
26020 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26022 @endif target-libobjc
26024 .PHONY: install-target-libobjc maybe-install-target-libobjc
26025 maybe-install-target-libobjc:
26026 @if target-libobjc
26027 maybe-install-target-libobjc: install-target-libobjc
26029 install-target-libobjc: installdirs
26030 @r=`${PWD_COMMAND}`; export r; \
26031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26032 $(SET_LIB_PATH) \
26033 $(NORMAL_TARGET_EXPORTS) \
26034 (cd $(TARGET_SUBDIR)/libobjc && \
26035 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26037 @endif target-libobjc
26039 # Other targets (info, dvi, etc.)
26041 .PHONY: maybe-info-target-libobjc info-target-libobjc
26042 maybe-info-target-libobjc:
26043 @if target-libobjc
26044 maybe-info-target-libobjc: info-target-libobjc
26046 info-target-libobjc: \
26047 configure-target-libobjc
26048 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
26049 r=`${PWD_COMMAND}`; export r; \
26050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26051 $(SET_LIB_PATH) \
26052 $(NORMAL_TARGET_EXPORTS) \
26053 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
26054 for flag in $(EXTRA_TARGET_FLAGS); do \
26055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26056 done; \
26057 (cd $(TARGET_SUBDIR)/libobjc && \
26058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26060 "RANLIB=$${RANLIB}" \
26061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26062 info) \
26063 || exit 1
26065 @endif target-libobjc
26067 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
26068 maybe-dvi-target-libobjc:
26069 @if target-libobjc
26070 maybe-dvi-target-libobjc: dvi-target-libobjc
26072 dvi-target-libobjc: \
26073 configure-target-libobjc
26074 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
26075 r=`${PWD_COMMAND}`; export r; \
26076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26077 $(SET_LIB_PATH) \
26078 $(NORMAL_TARGET_EXPORTS) \
26079 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
26080 for flag in $(EXTRA_TARGET_FLAGS); do \
26081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26082 done; \
26083 (cd $(TARGET_SUBDIR)/libobjc && \
26084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26086 "RANLIB=$${RANLIB}" \
26087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26088 dvi) \
26089 || exit 1
26091 @endif target-libobjc
26093 .PHONY: maybe-html-target-libobjc html-target-libobjc
26094 maybe-html-target-libobjc:
26095 @if target-libobjc
26096 maybe-html-target-libobjc: html-target-libobjc
26098 html-target-libobjc: \
26099 configure-target-libobjc
26100 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
26101 r=`${PWD_COMMAND}`; export r; \
26102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26103 $(SET_LIB_PATH) \
26104 $(NORMAL_TARGET_EXPORTS) \
26105 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
26106 for flag in $(EXTRA_TARGET_FLAGS); do \
26107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26108 done; \
26109 (cd $(TARGET_SUBDIR)/libobjc && \
26110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26112 "RANLIB=$${RANLIB}" \
26113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26114 html) \
26115 || exit 1
26117 @endif target-libobjc
26119 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
26120 maybe-TAGS-target-libobjc:
26121 @if target-libobjc
26122 maybe-TAGS-target-libobjc: TAGS-target-libobjc
26124 TAGS-target-libobjc: \
26125 configure-target-libobjc
26126 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
26127 r=`${PWD_COMMAND}`; export r; \
26128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26129 $(SET_LIB_PATH) \
26130 $(NORMAL_TARGET_EXPORTS) \
26131 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
26132 for flag in $(EXTRA_TARGET_FLAGS); do \
26133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26134 done; \
26135 (cd $(TARGET_SUBDIR)/libobjc && \
26136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26138 "RANLIB=$${RANLIB}" \
26139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26140 TAGS) \
26141 || exit 1
26143 @endif target-libobjc
26145 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
26146 maybe-install-info-target-libobjc:
26147 @if target-libobjc
26148 maybe-install-info-target-libobjc: install-info-target-libobjc
26150 install-info-target-libobjc: \
26151 configure-target-libobjc \
26152 info-target-libobjc
26153 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
26154 r=`${PWD_COMMAND}`; export r; \
26155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26156 $(SET_LIB_PATH) \
26157 $(NORMAL_TARGET_EXPORTS) \
26158 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
26159 for flag in $(EXTRA_TARGET_FLAGS); do \
26160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26161 done; \
26162 (cd $(TARGET_SUBDIR)/libobjc && \
26163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26165 "RANLIB=$${RANLIB}" \
26166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26167 install-info) \
26168 || exit 1
26170 @endif target-libobjc
26172 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
26173 maybe-installcheck-target-libobjc:
26174 @if target-libobjc
26175 maybe-installcheck-target-libobjc: installcheck-target-libobjc
26177 installcheck-target-libobjc: \
26178 configure-target-libobjc
26179 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
26180 r=`${PWD_COMMAND}`; export r; \
26181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26182 $(SET_LIB_PATH) \
26183 $(NORMAL_TARGET_EXPORTS) \
26184 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
26185 for flag in $(EXTRA_TARGET_FLAGS); do \
26186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26187 done; \
26188 (cd $(TARGET_SUBDIR)/libobjc && \
26189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26191 "RANLIB=$${RANLIB}" \
26192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26193 installcheck) \
26194 || exit 1
26196 @endif target-libobjc
26198 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
26199 maybe-mostlyclean-target-libobjc:
26200 @if target-libobjc
26201 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
26203 mostlyclean-target-libobjc:
26204 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
26205 r=`${PWD_COMMAND}`; export r; \
26206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26207 $(SET_LIB_PATH) \
26208 $(NORMAL_TARGET_EXPORTS) \
26209 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
26210 for flag in $(EXTRA_TARGET_FLAGS); do \
26211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26212 done; \
26213 (cd $(TARGET_SUBDIR)/libobjc && \
26214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26216 "RANLIB=$${RANLIB}" \
26217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26218 mostlyclean) \
26219 || exit 1
26221 @endif target-libobjc
26223 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
26224 maybe-clean-target-libobjc:
26225 @if target-libobjc
26226 maybe-clean-target-libobjc: clean-target-libobjc
26228 clean-target-libobjc:
26229 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
26230 r=`${PWD_COMMAND}`; export r; \
26231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26232 $(SET_LIB_PATH) \
26233 $(NORMAL_TARGET_EXPORTS) \
26234 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
26235 for flag in $(EXTRA_TARGET_FLAGS); do \
26236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26237 done; \
26238 (cd $(TARGET_SUBDIR)/libobjc && \
26239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26241 "RANLIB=$${RANLIB}" \
26242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26243 clean) \
26244 || exit 1
26246 @endif target-libobjc
26248 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
26249 maybe-distclean-target-libobjc:
26250 @if target-libobjc
26251 maybe-distclean-target-libobjc: distclean-target-libobjc
26253 distclean-target-libobjc:
26254 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
26255 r=`${PWD_COMMAND}`; export r; \
26256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26257 $(SET_LIB_PATH) \
26258 $(NORMAL_TARGET_EXPORTS) \
26259 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
26260 for flag in $(EXTRA_TARGET_FLAGS); do \
26261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26262 done; \
26263 (cd $(TARGET_SUBDIR)/libobjc && \
26264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26266 "RANLIB=$${RANLIB}" \
26267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26268 distclean) \
26269 || exit 1
26271 @endif target-libobjc
26273 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
26274 maybe-maintainer-clean-target-libobjc:
26275 @if target-libobjc
26276 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
26278 maintainer-clean-target-libobjc:
26279 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
26280 r=`${PWD_COMMAND}`; export r; \
26281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26282 $(SET_LIB_PATH) \
26283 $(NORMAL_TARGET_EXPORTS) \
26284 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
26285 for flag in $(EXTRA_TARGET_FLAGS); do \
26286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26287 done; \
26288 (cd $(TARGET_SUBDIR)/libobjc && \
26289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26291 "RANLIB=$${RANLIB}" \
26292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26293 maintainer-clean) \
26294 || exit 1
26296 @endif target-libobjc
26299 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
26300 maybe-configure-target-libtermcap:
26301 @if target-libtermcap
26302 maybe-configure-target-libtermcap: configure-target-libtermcap
26304 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26305 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
26306 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
26307 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
26308 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
26310 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
26311 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
26312 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
26313 r=`${PWD_COMMAND}`; export r; \
26314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26315 $(SET_LIB_PATH) \
26316 $(NORMAL_TARGET_EXPORTS) \
26317 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
26318 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
26319 case $(srcdir) in \
26320 /* | [A-Za-z]:[\\/]*) \
26321 topdir=$(srcdir) ;; \
26322 *) \
26323 case "$(TARGET_SUBDIR)" in \
26324 .) topdir="../$(srcdir)" ;; \
26325 *) topdir="../../$(srcdir)" ;; \
26326 esac ;; \
26327 esac; \
26328 if [ "$(srcdir)" = "." ] ; then \
26329 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26330 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
26331 if [ -f Makefile ]; then \
26332 if $(MAKE) distclean; then \
26333 true; \
26334 else \
26335 exit 1; \
26336 fi; \
26337 else \
26338 true; \
26339 fi; \
26340 else \
26341 exit 1; \
26342 fi; \
26343 else \
26344 true; \
26345 fi; \
26346 srcdiroption="--srcdir=."; \
26347 libsrcdir="."; \
26348 else \
26349 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
26350 libsrcdir="$$s/libtermcap"; \
26351 fi; \
26352 rm -f no-such-file || : ; \
26353 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26354 $(TARGET_CONFIGARGS) $${srcdiroption} \
26355 --with-target-subdir="$(TARGET_SUBDIR)" \
26356 || exit 1
26357 @endif target-libtermcap
26359 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
26360 maybe-all-target-libtermcap:
26361 @if target-libtermcap
26362 TARGET-target-libtermcap=all
26363 maybe-all-target-libtermcap: all-target-libtermcap
26364 all-target-libtermcap: configure-target-libtermcap
26365 @r=`${PWD_COMMAND}`; export r; \
26366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26367 $(SET_LIB_PATH) \
26368 $(NORMAL_TARGET_EXPORTS) \
26369 (cd $(TARGET_SUBDIR)/libtermcap && \
26370 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
26371 @endif target-libtermcap
26373 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
26374 maybe-check-target-libtermcap:
26375 @if target-libtermcap
26376 maybe-check-target-libtermcap: check-target-libtermcap
26378 # Dummy target for uncheckable module.
26379 check-target-libtermcap:
26381 @endif target-libtermcap
26383 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
26384 maybe-install-target-libtermcap:
26385 @if target-libtermcap
26386 maybe-install-target-libtermcap: install-target-libtermcap
26388 install-target-libtermcap: installdirs
26389 @r=`${PWD_COMMAND}`; export r; \
26390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26391 $(SET_LIB_PATH) \
26392 $(NORMAL_TARGET_EXPORTS) \
26393 (cd $(TARGET_SUBDIR)/libtermcap && \
26394 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26396 @endif target-libtermcap
26398 # Other targets (info, dvi, etc.)
26400 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
26401 maybe-info-target-libtermcap:
26402 @if target-libtermcap
26403 maybe-info-target-libtermcap: info-target-libtermcap
26405 info-target-libtermcap: \
26406 configure-target-libtermcap
26407 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26408 r=`${PWD_COMMAND}`; export r; \
26409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26410 $(SET_LIB_PATH) \
26411 $(NORMAL_TARGET_EXPORTS) \
26412 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
26413 for flag in $(EXTRA_TARGET_FLAGS); do \
26414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26415 done; \
26416 (cd $(TARGET_SUBDIR)/libtermcap && \
26417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26419 "RANLIB=$${RANLIB}" \
26420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26421 info) \
26422 || exit 1
26424 @endif target-libtermcap
26426 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
26427 maybe-dvi-target-libtermcap:
26428 @if target-libtermcap
26429 maybe-dvi-target-libtermcap: dvi-target-libtermcap
26431 dvi-target-libtermcap: \
26432 configure-target-libtermcap
26433 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26434 r=`${PWD_COMMAND}`; export r; \
26435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26436 $(SET_LIB_PATH) \
26437 $(NORMAL_TARGET_EXPORTS) \
26438 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
26439 for flag in $(EXTRA_TARGET_FLAGS); do \
26440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26441 done; \
26442 (cd $(TARGET_SUBDIR)/libtermcap && \
26443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26445 "RANLIB=$${RANLIB}" \
26446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26447 dvi) \
26448 || exit 1
26450 @endif target-libtermcap
26452 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
26453 maybe-html-target-libtermcap:
26454 @if target-libtermcap
26455 maybe-html-target-libtermcap: html-target-libtermcap
26457 html-target-libtermcap: \
26458 configure-target-libtermcap
26459 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26460 r=`${PWD_COMMAND}`; export r; \
26461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26462 $(SET_LIB_PATH) \
26463 $(NORMAL_TARGET_EXPORTS) \
26464 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
26465 for flag in $(EXTRA_TARGET_FLAGS); do \
26466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26467 done; \
26468 (cd $(TARGET_SUBDIR)/libtermcap && \
26469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26471 "RANLIB=$${RANLIB}" \
26472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26473 html) \
26474 || exit 1
26476 @endif target-libtermcap
26478 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
26479 maybe-TAGS-target-libtermcap:
26480 @if target-libtermcap
26481 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
26483 TAGS-target-libtermcap: \
26484 configure-target-libtermcap
26485 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26486 r=`${PWD_COMMAND}`; export r; \
26487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26488 $(SET_LIB_PATH) \
26489 $(NORMAL_TARGET_EXPORTS) \
26490 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
26491 for flag in $(EXTRA_TARGET_FLAGS); do \
26492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26493 done; \
26494 (cd $(TARGET_SUBDIR)/libtermcap && \
26495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26497 "RANLIB=$${RANLIB}" \
26498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26499 TAGS) \
26500 || exit 1
26502 @endif target-libtermcap
26504 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
26505 maybe-install-info-target-libtermcap:
26506 @if target-libtermcap
26507 maybe-install-info-target-libtermcap: install-info-target-libtermcap
26509 install-info-target-libtermcap: \
26510 configure-target-libtermcap \
26511 info-target-libtermcap
26512 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26513 r=`${PWD_COMMAND}`; export r; \
26514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26515 $(SET_LIB_PATH) \
26516 $(NORMAL_TARGET_EXPORTS) \
26517 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
26518 for flag in $(EXTRA_TARGET_FLAGS); do \
26519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26520 done; \
26521 (cd $(TARGET_SUBDIR)/libtermcap && \
26522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26524 "RANLIB=$${RANLIB}" \
26525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26526 install-info) \
26527 || exit 1
26529 @endif target-libtermcap
26531 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
26532 maybe-installcheck-target-libtermcap:
26533 @if target-libtermcap
26534 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
26536 installcheck-target-libtermcap: \
26537 configure-target-libtermcap
26538 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26539 r=`${PWD_COMMAND}`; export r; \
26540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26541 $(SET_LIB_PATH) \
26542 $(NORMAL_TARGET_EXPORTS) \
26543 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
26544 for flag in $(EXTRA_TARGET_FLAGS); do \
26545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26546 done; \
26547 (cd $(TARGET_SUBDIR)/libtermcap && \
26548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26550 "RANLIB=$${RANLIB}" \
26551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26552 installcheck) \
26553 || exit 1
26555 @endif target-libtermcap
26557 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
26558 maybe-mostlyclean-target-libtermcap:
26559 @if target-libtermcap
26560 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
26562 # libtermcap doesn't support mostlyclean.
26563 mostlyclean-target-libtermcap:
26565 @endif target-libtermcap
26567 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
26568 maybe-clean-target-libtermcap:
26569 @if target-libtermcap
26570 maybe-clean-target-libtermcap: clean-target-libtermcap
26572 # libtermcap doesn't support clean.
26573 clean-target-libtermcap:
26575 @endif target-libtermcap
26577 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
26578 maybe-distclean-target-libtermcap:
26579 @if target-libtermcap
26580 maybe-distclean-target-libtermcap: distclean-target-libtermcap
26582 # libtermcap doesn't support distclean.
26583 distclean-target-libtermcap:
26585 @endif target-libtermcap
26587 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
26588 maybe-maintainer-clean-target-libtermcap:
26589 @if target-libtermcap
26590 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
26592 # libtermcap doesn't support maintainer-clean.
26593 maintainer-clean-target-libtermcap:
26595 @endif target-libtermcap
26598 .PHONY: configure-target-winsup maybe-configure-target-winsup
26599 maybe-configure-target-winsup:
26600 @if target-winsup
26601 maybe-configure-target-winsup: configure-target-winsup
26603 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26604 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
26605 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26606 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
26607 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
26609 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
26610 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
26611 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26612 r=`${PWD_COMMAND}`; export r; \
26613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26614 $(SET_LIB_PATH) \
26615 $(NORMAL_TARGET_EXPORTS) \
26616 echo Configuring in $(TARGET_SUBDIR)/winsup; \
26617 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
26618 case $(srcdir) in \
26619 /* | [A-Za-z]:[\\/]*) \
26620 topdir=$(srcdir) ;; \
26621 *) \
26622 case "$(TARGET_SUBDIR)" in \
26623 .) topdir="../$(srcdir)" ;; \
26624 *) topdir="../../$(srcdir)" ;; \
26625 esac ;; \
26626 esac; \
26627 srcdiroption="--srcdir=$${topdir}/winsup"; \
26628 libsrcdir="$$s/winsup"; \
26629 rm -f no-such-file || : ; \
26630 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26631 $(TARGET_CONFIGARGS) $${srcdiroption} \
26632 --with-target-subdir="$(TARGET_SUBDIR)" \
26633 || exit 1
26634 @endif target-winsup
26636 .PHONY: all-target-winsup maybe-all-target-winsup
26637 maybe-all-target-winsup:
26638 @if target-winsup
26639 TARGET-target-winsup=all
26640 maybe-all-target-winsup: all-target-winsup
26641 all-target-winsup: configure-target-winsup
26642 @r=`${PWD_COMMAND}`; export r; \
26643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26644 $(SET_LIB_PATH) \
26645 $(NORMAL_TARGET_EXPORTS) \
26646 (cd $(TARGET_SUBDIR)/winsup && \
26647 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
26648 @endif target-winsup
26650 .PHONY: check-target-winsup maybe-check-target-winsup
26651 maybe-check-target-winsup:
26652 @if target-winsup
26653 maybe-check-target-winsup: check-target-winsup
26655 check-target-winsup:
26656 @r=`${PWD_COMMAND}`; export r; \
26657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26658 $(SET_LIB_PATH) \
26659 $(NORMAL_TARGET_EXPORTS) \
26660 (cd $(TARGET_SUBDIR)/winsup && \
26661 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26663 @endif target-winsup
26665 .PHONY: install-target-winsup maybe-install-target-winsup
26666 maybe-install-target-winsup:
26667 @if target-winsup
26668 maybe-install-target-winsup: install-target-winsup
26670 install-target-winsup: installdirs
26671 @r=`${PWD_COMMAND}`; export r; \
26672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26673 $(SET_LIB_PATH) \
26674 $(NORMAL_TARGET_EXPORTS) \
26675 (cd $(TARGET_SUBDIR)/winsup && \
26676 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26678 @endif target-winsup
26680 # Other targets (info, dvi, etc.)
26682 .PHONY: maybe-info-target-winsup info-target-winsup
26683 maybe-info-target-winsup:
26684 @if target-winsup
26685 maybe-info-target-winsup: info-target-winsup
26687 info-target-winsup: \
26688 configure-target-winsup
26689 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26690 r=`${PWD_COMMAND}`; export r; \
26691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26692 $(SET_LIB_PATH) \
26693 $(NORMAL_TARGET_EXPORTS) \
26694 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
26695 for flag in $(EXTRA_TARGET_FLAGS); do \
26696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26697 done; \
26698 (cd $(TARGET_SUBDIR)/winsup && \
26699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26701 "RANLIB=$${RANLIB}" \
26702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26703 info) \
26704 || exit 1
26706 @endif target-winsup
26708 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
26709 maybe-dvi-target-winsup:
26710 @if target-winsup
26711 maybe-dvi-target-winsup: dvi-target-winsup
26713 dvi-target-winsup: \
26714 configure-target-winsup
26715 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26716 r=`${PWD_COMMAND}`; export r; \
26717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26718 $(SET_LIB_PATH) \
26719 $(NORMAL_TARGET_EXPORTS) \
26720 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
26721 for flag in $(EXTRA_TARGET_FLAGS); do \
26722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26723 done; \
26724 (cd $(TARGET_SUBDIR)/winsup && \
26725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26727 "RANLIB=$${RANLIB}" \
26728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26729 dvi) \
26730 || exit 1
26732 @endif target-winsup
26734 .PHONY: maybe-html-target-winsup html-target-winsup
26735 maybe-html-target-winsup:
26736 @if target-winsup
26737 maybe-html-target-winsup: html-target-winsup
26739 html-target-winsup: \
26740 configure-target-winsup
26741 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26742 r=`${PWD_COMMAND}`; export r; \
26743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26744 $(SET_LIB_PATH) \
26745 $(NORMAL_TARGET_EXPORTS) \
26746 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
26747 for flag in $(EXTRA_TARGET_FLAGS); do \
26748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26749 done; \
26750 (cd $(TARGET_SUBDIR)/winsup && \
26751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26753 "RANLIB=$${RANLIB}" \
26754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26755 html) \
26756 || exit 1
26758 @endif target-winsup
26760 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
26761 maybe-TAGS-target-winsup:
26762 @if target-winsup
26763 maybe-TAGS-target-winsup: TAGS-target-winsup
26765 TAGS-target-winsup: \
26766 configure-target-winsup
26767 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26768 r=`${PWD_COMMAND}`; export r; \
26769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26770 $(SET_LIB_PATH) \
26771 $(NORMAL_TARGET_EXPORTS) \
26772 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
26773 for flag in $(EXTRA_TARGET_FLAGS); do \
26774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26775 done; \
26776 (cd $(TARGET_SUBDIR)/winsup && \
26777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26779 "RANLIB=$${RANLIB}" \
26780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26781 TAGS) \
26782 || exit 1
26784 @endif target-winsup
26786 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
26787 maybe-install-info-target-winsup:
26788 @if target-winsup
26789 maybe-install-info-target-winsup: install-info-target-winsup
26791 install-info-target-winsup: \
26792 configure-target-winsup \
26793 info-target-winsup
26794 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26795 r=`${PWD_COMMAND}`; export r; \
26796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26797 $(SET_LIB_PATH) \
26798 $(NORMAL_TARGET_EXPORTS) \
26799 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
26800 for flag in $(EXTRA_TARGET_FLAGS); do \
26801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26802 done; \
26803 (cd $(TARGET_SUBDIR)/winsup && \
26804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26806 "RANLIB=$${RANLIB}" \
26807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26808 install-info) \
26809 || exit 1
26811 @endif target-winsup
26813 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
26814 maybe-installcheck-target-winsup:
26815 @if target-winsup
26816 maybe-installcheck-target-winsup: installcheck-target-winsup
26818 installcheck-target-winsup: \
26819 configure-target-winsup
26820 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26821 r=`${PWD_COMMAND}`; export r; \
26822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26823 $(SET_LIB_PATH) \
26824 $(NORMAL_TARGET_EXPORTS) \
26825 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
26826 for flag in $(EXTRA_TARGET_FLAGS); do \
26827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26828 done; \
26829 (cd $(TARGET_SUBDIR)/winsup && \
26830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26832 "RANLIB=$${RANLIB}" \
26833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26834 installcheck) \
26835 || exit 1
26837 @endif target-winsup
26839 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
26840 maybe-mostlyclean-target-winsup:
26841 @if target-winsup
26842 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
26844 mostlyclean-target-winsup:
26845 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26846 r=`${PWD_COMMAND}`; export r; \
26847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26848 $(SET_LIB_PATH) \
26849 $(NORMAL_TARGET_EXPORTS) \
26850 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
26851 for flag in $(EXTRA_TARGET_FLAGS); do \
26852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26853 done; \
26854 (cd $(TARGET_SUBDIR)/winsup && \
26855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26857 "RANLIB=$${RANLIB}" \
26858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26859 mostlyclean) \
26860 || exit 1
26862 @endif target-winsup
26864 .PHONY: maybe-clean-target-winsup clean-target-winsup
26865 maybe-clean-target-winsup:
26866 @if target-winsup
26867 maybe-clean-target-winsup: clean-target-winsup
26869 clean-target-winsup:
26870 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26871 r=`${PWD_COMMAND}`; export r; \
26872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26873 $(SET_LIB_PATH) \
26874 $(NORMAL_TARGET_EXPORTS) \
26875 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
26876 for flag in $(EXTRA_TARGET_FLAGS); do \
26877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26878 done; \
26879 (cd $(TARGET_SUBDIR)/winsup && \
26880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26882 "RANLIB=$${RANLIB}" \
26883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26884 clean) \
26885 || exit 1
26887 @endif target-winsup
26889 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
26890 maybe-distclean-target-winsup:
26891 @if target-winsup
26892 maybe-distclean-target-winsup: distclean-target-winsup
26894 distclean-target-winsup:
26895 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26896 r=`${PWD_COMMAND}`; export r; \
26897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26898 $(SET_LIB_PATH) \
26899 $(NORMAL_TARGET_EXPORTS) \
26900 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
26901 for flag in $(EXTRA_TARGET_FLAGS); do \
26902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26903 done; \
26904 (cd $(TARGET_SUBDIR)/winsup && \
26905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26907 "RANLIB=$${RANLIB}" \
26908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26909 distclean) \
26910 || exit 1
26912 @endif target-winsup
26914 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
26915 maybe-maintainer-clean-target-winsup:
26916 @if target-winsup
26917 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
26919 maintainer-clean-target-winsup:
26920 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26921 r=`${PWD_COMMAND}`; export r; \
26922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26923 $(SET_LIB_PATH) \
26924 $(NORMAL_TARGET_EXPORTS) \
26925 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
26926 for flag in $(EXTRA_TARGET_FLAGS); do \
26927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26928 done; \
26929 (cd $(TARGET_SUBDIR)/winsup && \
26930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26932 "RANLIB=$${RANLIB}" \
26933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26934 maintainer-clean) \
26935 || exit 1
26937 @endif target-winsup
26940 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
26941 maybe-configure-target-libgloss:
26942 @if target-libgloss
26943 maybe-configure-target-libgloss: configure-target-libgloss
26945 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26946 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
26947 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26948 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
26949 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
26951 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
26952 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
26953 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26954 r=`${PWD_COMMAND}`; export r; \
26955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26956 $(SET_LIB_PATH) \
26957 $(NORMAL_TARGET_EXPORTS) \
26958 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
26959 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
26960 case $(srcdir) in \
26961 /* | [A-Za-z]:[\\/]*) \
26962 topdir=$(srcdir) ;; \
26963 *) \
26964 case "$(TARGET_SUBDIR)" in \
26965 .) topdir="../$(srcdir)" ;; \
26966 *) topdir="../../$(srcdir)" ;; \
26967 esac ;; \
26968 esac; \
26969 srcdiroption="--srcdir=$${topdir}/libgloss"; \
26970 libsrcdir="$$s/libgloss"; \
26971 rm -f no-such-file || : ; \
26972 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26973 $(TARGET_CONFIGARGS) $${srcdiroption} \
26974 --with-target-subdir="$(TARGET_SUBDIR)" \
26975 || exit 1
26976 @endif target-libgloss
26978 .PHONY: all-target-libgloss maybe-all-target-libgloss
26979 maybe-all-target-libgloss:
26980 @if target-libgloss
26981 TARGET-target-libgloss=all
26982 maybe-all-target-libgloss: all-target-libgloss
26983 all-target-libgloss: configure-target-libgloss
26984 @r=`${PWD_COMMAND}`; export r; \
26985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26986 $(SET_LIB_PATH) \
26987 $(NORMAL_TARGET_EXPORTS) \
26988 (cd $(TARGET_SUBDIR)/libgloss && \
26989 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
26990 @endif target-libgloss
26992 .PHONY: check-target-libgloss maybe-check-target-libgloss
26993 maybe-check-target-libgloss:
26994 @if target-libgloss
26995 maybe-check-target-libgloss: check-target-libgloss
26997 # Dummy target for uncheckable module.
26998 check-target-libgloss:
27000 @endif target-libgloss
27002 .PHONY: install-target-libgloss maybe-install-target-libgloss
27003 maybe-install-target-libgloss:
27004 @if target-libgloss
27005 maybe-install-target-libgloss: install-target-libgloss
27007 install-target-libgloss: installdirs
27008 @r=`${PWD_COMMAND}`; export r; \
27009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27010 $(SET_LIB_PATH) \
27011 $(NORMAL_TARGET_EXPORTS) \
27012 (cd $(TARGET_SUBDIR)/libgloss && \
27013 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27015 @endif target-libgloss
27017 # Other targets (info, dvi, etc.)
27019 .PHONY: maybe-info-target-libgloss info-target-libgloss
27020 maybe-info-target-libgloss:
27021 @if target-libgloss
27022 maybe-info-target-libgloss: info-target-libgloss
27024 info-target-libgloss: \
27025 configure-target-libgloss
27026 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
27027 r=`${PWD_COMMAND}`; export r; \
27028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27029 $(SET_LIB_PATH) \
27030 $(NORMAL_TARGET_EXPORTS) \
27031 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
27032 for flag in $(EXTRA_TARGET_FLAGS); do \
27033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27034 done; \
27035 (cd $(TARGET_SUBDIR)/libgloss && \
27036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27038 "RANLIB=$${RANLIB}" \
27039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27040 info) \
27041 || exit 1
27043 @endif target-libgloss
27045 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
27046 maybe-dvi-target-libgloss:
27047 @if target-libgloss
27048 maybe-dvi-target-libgloss: dvi-target-libgloss
27050 dvi-target-libgloss: \
27051 configure-target-libgloss
27052 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
27053 r=`${PWD_COMMAND}`; export r; \
27054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27055 $(SET_LIB_PATH) \
27056 $(NORMAL_TARGET_EXPORTS) \
27057 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
27058 for flag in $(EXTRA_TARGET_FLAGS); do \
27059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27060 done; \
27061 (cd $(TARGET_SUBDIR)/libgloss && \
27062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27064 "RANLIB=$${RANLIB}" \
27065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27066 dvi) \
27067 || exit 1
27069 @endif target-libgloss
27071 .PHONY: maybe-html-target-libgloss html-target-libgloss
27072 maybe-html-target-libgloss:
27073 @if target-libgloss
27074 maybe-html-target-libgloss: html-target-libgloss
27076 html-target-libgloss: \
27077 configure-target-libgloss
27078 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
27079 r=`${PWD_COMMAND}`; export r; \
27080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27081 $(SET_LIB_PATH) \
27082 $(NORMAL_TARGET_EXPORTS) \
27083 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
27084 for flag in $(EXTRA_TARGET_FLAGS); do \
27085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27086 done; \
27087 (cd $(TARGET_SUBDIR)/libgloss && \
27088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27090 "RANLIB=$${RANLIB}" \
27091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27092 html) \
27093 || exit 1
27095 @endif target-libgloss
27097 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
27098 maybe-TAGS-target-libgloss:
27099 @if target-libgloss
27100 maybe-TAGS-target-libgloss: TAGS-target-libgloss
27102 TAGS-target-libgloss: \
27103 configure-target-libgloss
27104 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
27105 r=`${PWD_COMMAND}`; export r; \
27106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27107 $(SET_LIB_PATH) \
27108 $(NORMAL_TARGET_EXPORTS) \
27109 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
27110 for flag in $(EXTRA_TARGET_FLAGS); do \
27111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27112 done; \
27113 (cd $(TARGET_SUBDIR)/libgloss && \
27114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27116 "RANLIB=$${RANLIB}" \
27117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27118 TAGS) \
27119 || exit 1
27121 @endif target-libgloss
27123 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
27124 maybe-install-info-target-libgloss:
27125 @if target-libgloss
27126 maybe-install-info-target-libgloss: install-info-target-libgloss
27128 install-info-target-libgloss: \
27129 configure-target-libgloss \
27130 info-target-libgloss
27131 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
27132 r=`${PWD_COMMAND}`; export r; \
27133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27134 $(SET_LIB_PATH) \
27135 $(NORMAL_TARGET_EXPORTS) \
27136 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
27137 for flag in $(EXTRA_TARGET_FLAGS); do \
27138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27139 done; \
27140 (cd $(TARGET_SUBDIR)/libgloss && \
27141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27143 "RANLIB=$${RANLIB}" \
27144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27145 install-info) \
27146 || exit 1
27148 @endif target-libgloss
27150 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
27151 maybe-installcheck-target-libgloss:
27152 @if target-libgloss
27153 maybe-installcheck-target-libgloss: installcheck-target-libgloss
27155 installcheck-target-libgloss: \
27156 configure-target-libgloss
27157 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
27158 r=`${PWD_COMMAND}`; export r; \
27159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27160 $(SET_LIB_PATH) \
27161 $(NORMAL_TARGET_EXPORTS) \
27162 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
27163 for flag in $(EXTRA_TARGET_FLAGS); do \
27164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27165 done; \
27166 (cd $(TARGET_SUBDIR)/libgloss && \
27167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27169 "RANLIB=$${RANLIB}" \
27170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27171 installcheck) \
27172 || exit 1
27174 @endif target-libgloss
27176 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
27177 maybe-mostlyclean-target-libgloss:
27178 @if target-libgloss
27179 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
27181 mostlyclean-target-libgloss:
27182 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
27183 r=`${PWD_COMMAND}`; export r; \
27184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27185 $(SET_LIB_PATH) \
27186 $(NORMAL_TARGET_EXPORTS) \
27187 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
27188 for flag in $(EXTRA_TARGET_FLAGS); do \
27189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27190 done; \
27191 (cd $(TARGET_SUBDIR)/libgloss && \
27192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27194 "RANLIB=$${RANLIB}" \
27195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27196 mostlyclean) \
27197 || exit 1
27199 @endif target-libgloss
27201 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
27202 maybe-clean-target-libgloss:
27203 @if target-libgloss
27204 maybe-clean-target-libgloss: clean-target-libgloss
27206 clean-target-libgloss:
27207 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
27208 r=`${PWD_COMMAND}`; export r; \
27209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27210 $(SET_LIB_PATH) \
27211 $(NORMAL_TARGET_EXPORTS) \
27212 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
27213 for flag in $(EXTRA_TARGET_FLAGS); do \
27214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27215 done; \
27216 (cd $(TARGET_SUBDIR)/libgloss && \
27217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27219 "RANLIB=$${RANLIB}" \
27220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27221 clean) \
27222 || exit 1
27224 @endif target-libgloss
27226 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
27227 maybe-distclean-target-libgloss:
27228 @if target-libgloss
27229 maybe-distclean-target-libgloss: distclean-target-libgloss
27231 distclean-target-libgloss:
27232 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
27233 r=`${PWD_COMMAND}`; export r; \
27234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27235 $(SET_LIB_PATH) \
27236 $(NORMAL_TARGET_EXPORTS) \
27237 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
27238 for flag in $(EXTRA_TARGET_FLAGS); do \
27239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27240 done; \
27241 (cd $(TARGET_SUBDIR)/libgloss && \
27242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27244 "RANLIB=$${RANLIB}" \
27245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27246 distclean) \
27247 || exit 1
27249 @endif target-libgloss
27251 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
27252 maybe-maintainer-clean-target-libgloss:
27253 @if target-libgloss
27254 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
27256 maintainer-clean-target-libgloss:
27257 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
27258 r=`${PWD_COMMAND}`; export r; \
27259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27260 $(SET_LIB_PATH) \
27261 $(NORMAL_TARGET_EXPORTS) \
27262 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
27263 for flag in $(EXTRA_TARGET_FLAGS); do \
27264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27265 done; \
27266 (cd $(TARGET_SUBDIR)/libgloss && \
27267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27269 "RANLIB=$${RANLIB}" \
27270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27271 maintainer-clean) \
27272 || exit 1
27274 @endif target-libgloss
27277 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
27278 maybe-configure-target-libiberty:
27279 @if target-libiberty
27280 maybe-configure-target-libiberty: configure-target-libiberty
27282 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27283 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
27284 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
27285 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
27286 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
27288 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
27289 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
27290 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
27291 r=`${PWD_COMMAND}`; export r; \
27292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27293 $(SET_LIB_PATH) \
27294 $(NORMAL_TARGET_EXPORTS) \
27295 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
27296 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
27297 case $(srcdir) in \
27298 /* | [A-Za-z]:[\\/]*) \
27299 topdir=$(srcdir) ;; \
27300 *) \
27301 case "$(TARGET_SUBDIR)" in \
27302 .) topdir="../$(srcdir)" ;; \
27303 *) topdir="../../$(srcdir)" ;; \
27304 esac ;; \
27305 esac; \
27306 srcdiroption="--srcdir=$${topdir}/libiberty"; \
27307 libsrcdir="$$s/libiberty"; \
27308 rm -f no-such-file || : ; \
27309 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27310 $(TARGET_CONFIGARGS) $${srcdiroption} \
27311 --with-target-subdir="$(TARGET_SUBDIR)" \
27312 || exit 1
27313 @endif target-libiberty
27315 .PHONY: all-target-libiberty maybe-all-target-libiberty
27316 maybe-all-target-libiberty:
27317 @if target-libiberty
27318 TARGET-target-libiberty=all
27319 maybe-all-target-libiberty: all-target-libiberty
27320 all-target-libiberty: configure-target-libiberty
27321 @r=`${PWD_COMMAND}`; export r; \
27322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27323 $(SET_LIB_PATH) \
27324 $(NORMAL_TARGET_EXPORTS) \
27325 (cd $(TARGET_SUBDIR)/libiberty && \
27326 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
27327 @endif target-libiberty
27329 .PHONY: check-target-libiberty maybe-check-target-libiberty
27330 maybe-check-target-libiberty:
27331 @if target-libiberty
27332 maybe-check-target-libiberty: check-target-libiberty
27334 check-target-libiberty:
27335 @r=`${PWD_COMMAND}`; export r; \
27336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27337 $(SET_LIB_PATH) \
27338 $(NORMAL_TARGET_EXPORTS) \
27339 (cd $(TARGET_SUBDIR)/libiberty && \
27340 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27342 @endif target-libiberty
27344 .PHONY: install-target-libiberty maybe-install-target-libiberty
27345 maybe-install-target-libiberty:
27346 @if target-libiberty
27347 maybe-install-target-libiberty: install-target-libiberty
27349 install-target-libiberty: installdirs
27350 @r=`${PWD_COMMAND}`; export r; \
27351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27352 $(SET_LIB_PATH) \
27353 $(NORMAL_TARGET_EXPORTS) \
27354 (cd $(TARGET_SUBDIR)/libiberty && \
27355 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27357 @endif target-libiberty
27359 # Other targets (info, dvi, etc.)
27361 .PHONY: maybe-info-target-libiberty info-target-libiberty
27362 maybe-info-target-libiberty:
27363 @if target-libiberty
27364 maybe-info-target-libiberty: info-target-libiberty
27366 info-target-libiberty: \
27367 configure-target-libiberty
27368 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27369 r=`${PWD_COMMAND}`; export r; \
27370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27371 $(SET_LIB_PATH) \
27372 $(NORMAL_TARGET_EXPORTS) \
27373 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
27374 for flag in $(EXTRA_TARGET_FLAGS); do \
27375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27376 done; \
27377 (cd $(TARGET_SUBDIR)/libiberty && \
27378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27380 "RANLIB=$${RANLIB}" \
27381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27382 info) \
27383 || exit 1
27385 @endif target-libiberty
27387 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
27388 maybe-dvi-target-libiberty:
27389 @if target-libiberty
27390 maybe-dvi-target-libiberty: dvi-target-libiberty
27392 dvi-target-libiberty: \
27393 configure-target-libiberty
27394 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27395 r=`${PWD_COMMAND}`; export r; \
27396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27397 $(SET_LIB_PATH) \
27398 $(NORMAL_TARGET_EXPORTS) \
27399 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
27400 for flag in $(EXTRA_TARGET_FLAGS); do \
27401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27402 done; \
27403 (cd $(TARGET_SUBDIR)/libiberty && \
27404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27406 "RANLIB=$${RANLIB}" \
27407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27408 dvi) \
27409 || exit 1
27411 @endif target-libiberty
27413 .PHONY: maybe-html-target-libiberty html-target-libiberty
27414 maybe-html-target-libiberty:
27415 @if target-libiberty
27416 maybe-html-target-libiberty: html-target-libiberty
27418 html-target-libiberty: \
27419 configure-target-libiberty
27420 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27421 r=`${PWD_COMMAND}`; export r; \
27422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27423 $(SET_LIB_PATH) \
27424 $(NORMAL_TARGET_EXPORTS) \
27425 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
27426 for flag in $(EXTRA_TARGET_FLAGS); do \
27427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27428 done; \
27429 (cd $(TARGET_SUBDIR)/libiberty && \
27430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27432 "RANLIB=$${RANLIB}" \
27433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27434 html) \
27435 || exit 1
27437 @endif target-libiberty
27439 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
27440 maybe-TAGS-target-libiberty:
27441 @if target-libiberty
27442 maybe-TAGS-target-libiberty: TAGS-target-libiberty
27444 TAGS-target-libiberty: \
27445 configure-target-libiberty
27446 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27447 r=`${PWD_COMMAND}`; export r; \
27448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27449 $(SET_LIB_PATH) \
27450 $(NORMAL_TARGET_EXPORTS) \
27451 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
27452 for flag in $(EXTRA_TARGET_FLAGS); do \
27453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27454 done; \
27455 (cd $(TARGET_SUBDIR)/libiberty && \
27456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27458 "RANLIB=$${RANLIB}" \
27459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27460 TAGS) \
27461 || exit 1
27463 @endif target-libiberty
27465 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
27466 maybe-install-info-target-libiberty:
27467 @if target-libiberty
27468 maybe-install-info-target-libiberty: install-info-target-libiberty
27470 install-info-target-libiberty: \
27471 configure-target-libiberty \
27472 info-target-libiberty
27473 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27474 r=`${PWD_COMMAND}`; export r; \
27475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27476 $(SET_LIB_PATH) \
27477 $(NORMAL_TARGET_EXPORTS) \
27478 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
27479 for flag in $(EXTRA_TARGET_FLAGS); do \
27480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27481 done; \
27482 (cd $(TARGET_SUBDIR)/libiberty && \
27483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27485 "RANLIB=$${RANLIB}" \
27486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27487 install-info) \
27488 || exit 1
27490 @endif target-libiberty
27492 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
27493 maybe-installcheck-target-libiberty:
27494 @if target-libiberty
27495 maybe-installcheck-target-libiberty: installcheck-target-libiberty
27497 installcheck-target-libiberty: \
27498 configure-target-libiberty
27499 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27500 r=`${PWD_COMMAND}`; export r; \
27501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27502 $(SET_LIB_PATH) \
27503 $(NORMAL_TARGET_EXPORTS) \
27504 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
27505 for flag in $(EXTRA_TARGET_FLAGS); do \
27506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27507 done; \
27508 (cd $(TARGET_SUBDIR)/libiberty && \
27509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27511 "RANLIB=$${RANLIB}" \
27512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27513 installcheck) \
27514 || exit 1
27516 @endif target-libiberty
27518 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
27519 maybe-mostlyclean-target-libiberty:
27520 @if target-libiberty
27521 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
27523 mostlyclean-target-libiberty:
27524 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27525 r=`${PWD_COMMAND}`; export r; \
27526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27527 $(SET_LIB_PATH) \
27528 $(NORMAL_TARGET_EXPORTS) \
27529 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
27530 for flag in $(EXTRA_TARGET_FLAGS); do \
27531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27532 done; \
27533 (cd $(TARGET_SUBDIR)/libiberty && \
27534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27536 "RANLIB=$${RANLIB}" \
27537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27538 mostlyclean) \
27539 || exit 1
27541 @endif target-libiberty
27543 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
27544 maybe-clean-target-libiberty:
27545 @if target-libiberty
27546 maybe-clean-target-libiberty: clean-target-libiberty
27548 clean-target-libiberty:
27549 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27550 r=`${PWD_COMMAND}`; export r; \
27551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27552 $(SET_LIB_PATH) \
27553 $(NORMAL_TARGET_EXPORTS) \
27554 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
27555 for flag in $(EXTRA_TARGET_FLAGS); do \
27556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27557 done; \
27558 (cd $(TARGET_SUBDIR)/libiberty && \
27559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27561 "RANLIB=$${RANLIB}" \
27562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27563 clean) \
27564 || exit 1
27566 @endif target-libiberty
27568 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
27569 maybe-distclean-target-libiberty:
27570 @if target-libiberty
27571 maybe-distclean-target-libiberty: distclean-target-libiberty
27573 distclean-target-libiberty:
27574 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27575 r=`${PWD_COMMAND}`; export r; \
27576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27577 $(SET_LIB_PATH) \
27578 $(NORMAL_TARGET_EXPORTS) \
27579 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
27580 for flag in $(EXTRA_TARGET_FLAGS); do \
27581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27582 done; \
27583 (cd $(TARGET_SUBDIR)/libiberty && \
27584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27586 "RANLIB=$${RANLIB}" \
27587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27588 distclean) \
27589 || exit 1
27591 @endif target-libiberty
27593 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
27594 maybe-maintainer-clean-target-libiberty:
27595 @if target-libiberty
27596 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
27598 maintainer-clean-target-libiberty:
27599 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27600 r=`${PWD_COMMAND}`; export r; \
27601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27602 $(SET_LIB_PATH) \
27603 $(NORMAL_TARGET_EXPORTS) \
27604 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
27605 for flag in $(EXTRA_TARGET_FLAGS); do \
27606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27607 done; \
27608 (cd $(TARGET_SUBDIR)/libiberty && \
27609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27611 "RANLIB=$${RANLIB}" \
27612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27613 maintainer-clean) \
27614 || exit 1
27616 @endif target-libiberty
27619 .PHONY: configure-target-gperf maybe-configure-target-gperf
27620 maybe-configure-target-gperf:
27621 @if target-gperf
27622 maybe-configure-target-gperf: configure-target-gperf
27624 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27625 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
27626 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27627 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
27628 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
27630 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
27631 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
27632 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27633 r=`${PWD_COMMAND}`; export r; \
27634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27635 $(SET_LIB_PATH) \
27636 $(NORMAL_TARGET_EXPORTS) \
27637 echo Configuring in $(TARGET_SUBDIR)/gperf; \
27638 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
27639 case $(srcdir) in \
27640 /* | [A-Za-z]:[\\/]*) \
27641 topdir=$(srcdir) ;; \
27642 *) \
27643 case "$(TARGET_SUBDIR)" in \
27644 .) topdir="../$(srcdir)" ;; \
27645 *) topdir="../../$(srcdir)" ;; \
27646 esac ;; \
27647 esac; \
27648 srcdiroption="--srcdir=$${topdir}/gperf"; \
27649 libsrcdir="$$s/gperf"; \
27650 rm -f no-such-file || : ; \
27651 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27652 $(TARGET_CONFIGARGS) $${srcdiroption} \
27653 --with-target-subdir="$(TARGET_SUBDIR)" \
27654 || exit 1
27655 @endif target-gperf
27657 .PHONY: all-target-gperf maybe-all-target-gperf
27658 maybe-all-target-gperf:
27659 @if target-gperf
27660 TARGET-target-gperf=all
27661 maybe-all-target-gperf: all-target-gperf
27662 all-target-gperf: configure-target-gperf
27663 @r=`${PWD_COMMAND}`; export r; \
27664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27665 $(SET_LIB_PATH) \
27666 $(NORMAL_TARGET_EXPORTS) \
27667 (cd $(TARGET_SUBDIR)/gperf && \
27668 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
27669 @endif target-gperf
27671 .PHONY: check-target-gperf maybe-check-target-gperf
27672 maybe-check-target-gperf:
27673 @if target-gperf
27674 maybe-check-target-gperf: check-target-gperf
27676 check-target-gperf:
27677 @r=`${PWD_COMMAND}`; export r; \
27678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27679 $(SET_LIB_PATH) \
27680 $(NORMAL_TARGET_EXPORTS) \
27681 (cd $(TARGET_SUBDIR)/gperf && \
27682 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27684 @endif target-gperf
27686 .PHONY: install-target-gperf maybe-install-target-gperf
27687 maybe-install-target-gperf:
27688 @if target-gperf
27689 maybe-install-target-gperf: install-target-gperf
27691 install-target-gperf: installdirs
27692 @r=`${PWD_COMMAND}`; export r; \
27693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27694 $(SET_LIB_PATH) \
27695 $(NORMAL_TARGET_EXPORTS) \
27696 (cd $(TARGET_SUBDIR)/gperf && \
27697 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27699 @endif target-gperf
27701 # Other targets (info, dvi, etc.)
27703 .PHONY: maybe-info-target-gperf info-target-gperf
27704 maybe-info-target-gperf:
27705 @if target-gperf
27706 maybe-info-target-gperf: info-target-gperf
27708 info-target-gperf: \
27709 configure-target-gperf
27710 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27711 r=`${PWD_COMMAND}`; export r; \
27712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27713 $(SET_LIB_PATH) \
27714 $(NORMAL_TARGET_EXPORTS) \
27715 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
27716 for flag in $(EXTRA_TARGET_FLAGS); do \
27717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27718 done; \
27719 (cd $(TARGET_SUBDIR)/gperf && \
27720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27722 "RANLIB=$${RANLIB}" \
27723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27724 info) \
27725 || exit 1
27727 @endif target-gperf
27729 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
27730 maybe-dvi-target-gperf:
27731 @if target-gperf
27732 maybe-dvi-target-gperf: dvi-target-gperf
27734 dvi-target-gperf: \
27735 configure-target-gperf
27736 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27737 r=`${PWD_COMMAND}`; export r; \
27738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27739 $(SET_LIB_PATH) \
27740 $(NORMAL_TARGET_EXPORTS) \
27741 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
27742 for flag in $(EXTRA_TARGET_FLAGS); do \
27743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27744 done; \
27745 (cd $(TARGET_SUBDIR)/gperf && \
27746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27748 "RANLIB=$${RANLIB}" \
27749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27750 dvi) \
27751 || exit 1
27753 @endif target-gperf
27755 .PHONY: maybe-html-target-gperf html-target-gperf
27756 maybe-html-target-gperf:
27757 @if target-gperf
27758 maybe-html-target-gperf: html-target-gperf
27760 html-target-gperf: \
27761 configure-target-gperf
27762 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27763 r=`${PWD_COMMAND}`; export r; \
27764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27765 $(SET_LIB_PATH) \
27766 $(NORMAL_TARGET_EXPORTS) \
27767 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
27768 for flag in $(EXTRA_TARGET_FLAGS); do \
27769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27770 done; \
27771 (cd $(TARGET_SUBDIR)/gperf && \
27772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27774 "RANLIB=$${RANLIB}" \
27775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27776 html) \
27777 || exit 1
27779 @endif target-gperf
27781 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
27782 maybe-TAGS-target-gperf:
27783 @if target-gperf
27784 maybe-TAGS-target-gperf: TAGS-target-gperf
27786 TAGS-target-gperf: \
27787 configure-target-gperf
27788 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27789 r=`${PWD_COMMAND}`; export r; \
27790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27791 $(SET_LIB_PATH) \
27792 $(NORMAL_TARGET_EXPORTS) \
27793 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
27794 for flag in $(EXTRA_TARGET_FLAGS); do \
27795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27796 done; \
27797 (cd $(TARGET_SUBDIR)/gperf && \
27798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27800 "RANLIB=$${RANLIB}" \
27801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27802 TAGS) \
27803 || exit 1
27805 @endif target-gperf
27807 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
27808 maybe-install-info-target-gperf:
27809 @if target-gperf
27810 maybe-install-info-target-gperf: install-info-target-gperf
27812 install-info-target-gperf: \
27813 configure-target-gperf \
27814 info-target-gperf
27815 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27816 r=`${PWD_COMMAND}`; export r; \
27817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27818 $(SET_LIB_PATH) \
27819 $(NORMAL_TARGET_EXPORTS) \
27820 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
27821 for flag in $(EXTRA_TARGET_FLAGS); do \
27822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27823 done; \
27824 (cd $(TARGET_SUBDIR)/gperf && \
27825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27827 "RANLIB=$${RANLIB}" \
27828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27829 install-info) \
27830 || exit 1
27832 @endif target-gperf
27834 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
27835 maybe-installcheck-target-gperf:
27836 @if target-gperf
27837 maybe-installcheck-target-gperf: installcheck-target-gperf
27839 installcheck-target-gperf: \
27840 configure-target-gperf
27841 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27842 r=`${PWD_COMMAND}`; export r; \
27843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27844 $(SET_LIB_PATH) \
27845 $(NORMAL_TARGET_EXPORTS) \
27846 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
27847 for flag in $(EXTRA_TARGET_FLAGS); do \
27848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27849 done; \
27850 (cd $(TARGET_SUBDIR)/gperf && \
27851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27853 "RANLIB=$${RANLIB}" \
27854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27855 installcheck) \
27856 || exit 1
27858 @endif target-gperf
27860 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
27861 maybe-mostlyclean-target-gperf:
27862 @if target-gperf
27863 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
27865 mostlyclean-target-gperf:
27866 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27867 r=`${PWD_COMMAND}`; export r; \
27868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27869 $(SET_LIB_PATH) \
27870 $(NORMAL_TARGET_EXPORTS) \
27871 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
27872 for flag in $(EXTRA_TARGET_FLAGS); do \
27873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27874 done; \
27875 (cd $(TARGET_SUBDIR)/gperf && \
27876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27878 "RANLIB=$${RANLIB}" \
27879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27880 mostlyclean) \
27881 || exit 1
27883 @endif target-gperf
27885 .PHONY: maybe-clean-target-gperf clean-target-gperf
27886 maybe-clean-target-gperf:
27887 @if target-gperf
27888 maybe-clean-target-gperf: clean-target-gperf
27890 clean-target-gperf:
27891 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27892 r=`${PWD_COMMAND}`; export r; \
27893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27894 $(SET_LIB_PATH) \
27895 $(NORMAL_TARGET_EXPORTS) \
27896 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
27897 for flag in $(EXTRA_TARGET_FLAGS); do \
27898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27899 done; \
27900 (cd $(TARGET_SUBDIR)/gperf && \
27901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27903 "RANLIB=$${RANLIB}" \
27904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27905 clean) \
27906 || exit 1
27908 @endif target-gperf
27910 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
27911 maybe-distclean-target-gperf:
27912 @if target-gperf
27913 maybe-distclean-target-gperf: distclean-target-gperf
27915 distclean-target-gperf:
27916 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27917 r=`${PWD_COMMAND}`; export r; \
27918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27919 $(SET_LIB_PATH) \
27920 $(NORMAL_TARGET_EXPORTS) \
27921 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
27922 for flag in $(EXTRA_TARGET_FLAGS); do \
27923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27924 done; \
27925 (cd $(TARGET_SUBDIR)/gperf && \
27926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27928 "RANLIB=$${RANLIB}" \
27929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27930 distclean) \
27931 || exit 1
27933 @endif target-gperf
27935 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
27936 maybe-maintainer-clean-target-gperf:
27937 @if target-gperf
27938 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
27940 maintainer-clean-target-gperf:
27941 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27942 r=`${PWD_COMMAND}`; export r; \
27943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27944 $(SET_LIB_PATH) \
27945 $(NORMAL_TARGET_EXPORTS) \
27946 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
27947 for flag in $(EXTRA_TARGET_FLAGS); do \
27948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27949 done; \
27950 (cd $(TARGET_SUBDIR)/gperf && \
27951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27953 "RANLIB=$${RANLIB}" \
27954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27955 maintainer-clean) \
27956 || exit 1
27958 @endif target-gperf
27961 .PHONY: configure-target-examples maybe-configure-target-examples
27962 maybe-configure-target-examples:
27963 @if target-examples
27964 maybe-configure-target-examples: configure-target-examples
27966 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27967 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
27968 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27969 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
27970 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
27972 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
27973 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
27974 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27975 r=`${PWD_COMMAND}`; export r; \
27976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27977 $(SET_LIB_PATH) \
27978 $(NORMAL_TARGET_EXPORTS) \
27979 echo Configuring in $(TARGET_SUBDIR)/examples; \
27980 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
27981 case $(srcdir) in \
27982 /* | [A-Za-z]:[\\/]*) \
27983 topdir=$(srcdir) ;; \
27984 *) \
27985 case "$(TARGET_SUBDIR)" in \
27986 .) topdir="../$(srcdir)" ;; \
27987 *) topdir="../../$(srcdir)" ;; \
27988 esac ;; \
27989 esac; \
27990 srcdiroption="--srcdir=$${topdir}/examples"; \
27991 libsrcdir="$$s/examples"; \
27992 rm -f no-such-file || : ; \
27993 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27994 $(TARGET_CONFIGARGS) $${srcdiroption} \
27995 --with-target-subdir="$(TARGET_SUBDIR)" \
27996 || exit 1
27997 @endif target-examples
27999 .PHONY: all-target-examples maybe-all-target-examples
28000 maybe-all-target-examples:
28001 @if target-examples
28002 TARGET-target-examples=all
28003 maybe-all-target-examples: all-target-examples
28004 all-target-examples: configure-target-examples
28005 @r=`${PWD_COMMAND}`; export r; \
28006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28007 $(SET_LIB_PATH) \
28008 $(NORMAL_TARGET_EXPORTS) \
28009 (cd $(TARGET_SUBDIR)/examples && \
28010 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
28011 @endif target-examples
28013 .PHONY: check-target-examples maybe-check-target-examples
28014 maybe-check-target-examples:
28015 @if target-examples
28016 maybe-check-target-examples: check-target-examples
28018 # Dummy target for uncheckable module.
28019 check-target-examples:
28021 @endif target-examples
28023 .PHONY: install-target-examples maybe-install-target-examples
28024 maybe-install-target-examples:
28025 @if target-examples
28026 maybe-install-target-examples: install-target-examples
28028 # Dummy target for uninstallable.
28029 install-target-examples:
28031 @endif target-examples
28033 # Other targets (info, dvi, etc.)
28035 .PHONY: maybe-info-target-examples info-target-examples
28036 maybe-info-target-examples:
28037 @if target-examples
28038 maybe-info-target-examples: info-target-examples
28040 info-target-examples: \
28041 configure-target-examples
28042 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28043 r=`${PWD_COMMAND}`; export r; \
28044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28045 $(SET_LIB_PATH) \
28046 $(NORMAL_TARGET_EXPORTS) \
28047 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
28048 for flag in $(EXTRA_TARGET_FLAGS); do \
28049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28050 done; \
28051 (cd $(TARGET_SUBDIR)/examples && \
28052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28054 "RANLIB=$${RANLIB}" \
28055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28056 info) \
28057 || exit 1
28059 @endif target-examples
28061 .PHONY: maybe-dvi-target-examples dvi-target-examples
28062 maybe-dvi-target-examples:
28063 @if target-examples
28064 maybe-dvi-target-examples: dvi-target-examples
28066 dvi-target-examples: \
28067 configure-target-examples
28068 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28069 r=`${PWD_COMMAND}`; export r; \
28070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28071 $(SET_LIB_PATH) \
28072 $(NORMAL_TARGET_EXPORTS) \
28073 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
28074 for flag in $(EXTRA_TARGET_FLAGS); do \
28075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28076 done; \
28077 (cd $(TARGET_SUBDIR)/examples && \
28078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28080 "RANLIB=$${RANLIB}" \
28081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28082 dvi) \
28083 || exit 1
28085 @endif target-examples
28087 .PHONY: maybe-html-target-examples html-target-examples
28088 maybe-html-target-examples:
28089 @if target-examples
28090 maybe-html-target-examples: html-target-examples
28092 html-target-examples: \
28093 configure-target-examples
28094 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28095 r=`${PWD_COMMAND}`; export r; \
28096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28097 $(SET_LIB_PATH) \
28098 $(NORMAL_TARGET_EXPORTS) \
28099 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
28100 for flag in $(EXTRA_TARGET_FLAGS); do \
28101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28102 done; \
28103 (cd $(TARGET_SUBDIR)/examples && \
28104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28106 "RANLIB=$${RANLIB}" \
28107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28108 html) \
28109 || exit 1
28111 @endif target-examples
28113 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
28114 maybe-TAGS-target-examples:
28115 @if target-examples
28116 maybe-TAGS-target-examples: TAGS-target-examples
28118 TAGS-target-examples: \
28119 configure-target-examples
28120 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28121 r=`${PWD_COMMAND}`; export r; \
28122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28123 $(SET_LIB_PATH) \
28124 $(NORMAL_TARGET_EXPORTS) \
28125 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
28126 for flag in $(EXTRA_TARGET_FLAGS); do \
28127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28128 done; \
28129 (cd $(TARGET_SUBDIR)/examples && \
28130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28132 "RANLIB=$${RANLIB}" \
28133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28134 TAGS) \
28135 || exit 1
28137 @endif target-examples
28139 .PHONY: maybe-install-info-target-examples install-info-target-examples
28140 maybe-install-info-target-examples:
28141 @if target-examples
28142 maybe-install-info-target-examples: install-info-target-examples
28144 install-info-target-examples: \
28145 configure-target-examples \
28146 info-target-examples
28147 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28148 r=`${PWD_COMMAND}`; export r; \
28149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28150 $(SET_LIB_PATH) \
28151 $(NORMAL_TARGET_EXPORTS) \
28152 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
28153 for flag in $(EXTRA_TARGET_FLAGS); do \
28154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28155 done; \
28156 (cd $(TARGET_SUBDIR)/examples && \
28157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28159 "RANLIB=$${RANLIB}" \
28160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28161 install-info) \
28162 || exit 1
28164 @endif target-examples
28166 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
28167 maybe-installcheck-target-examples:
28168 @if target-examples
28169 maybe-installcheck-target-examples: installcheck-target-examples
28171 installcheck-target-examples: \
28172 configure-target-examples
28173 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28174 r=`${PWD_COMMAND}`; export r; \
28175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28176 $(SET_LIB_PATH) \
28177 $(NORMAL_TARGET_EXPORTS) \
28178 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
28179 for flag in $(EXTRA_TARGET_FLAGS); do \
28180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28181 done; \
28182 (cd $(TARGET_SUBDIR)/examples && \
28183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28185 "RANLIB=$${RANLIB}" \
28186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28187 installcheck) \
28188 || exit 1
28190 @endif target-examples
28192 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
28193 maybe-mostlyclean-target-examples:
28194 @if target-examples
28195 maybe-mostlyclean-target-examples: mostlyclean-target-examples
28197 mostlyclean-target-examples:
28198 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28199 r=`${PWD_COMMAND}`; export r; \
28200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28201 $(SET_LIB_PATH) \
28202 $(NORMAL_TARGET_EXPORTS) \
28203 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
28204 for flag in $(EXTRA_TARGET_FLAGS); do \
28205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28206 done; \
28207 (cd $(TARGET_SUBDIR)/examples && \
28208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28210 "RANLIB=$${RANLIB}" \
28211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28212 mostlyclean) \
28213 || exit 1
28215 @endif target-examples
28217 .PHONY: maybe-clean-target-examples clean-target-examples
28218 maybe-clean-target-examples:
28219 @if target-examples
28220 maybe-clean-target-examples: clean-target-examples
28222 clean-target-examples:
28223 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28224 r=`${PWD_COMMAND}`; export r; \
28225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28226 $(SET_LIB_PATH) \
28227 $(NORMAL_TARGET_EXPORTS) \
28228 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
28229 for flag in $(EXTRA_TARGET_FLAGS); do \
28230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28231 done; \
28232 (cd $(TARGET_SUBDIR)/examples && \
28233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28235 "RANLIB=$${RANLIB}" \
28236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28237 clean) \
28238 || exit 1
28240 @endif target-examples
28242 .PHONY: maybe-distclean-target-examples distclean-target-examples
28243 maybe-distclean-target-examples:
28244 @if target-examples
28245 maybe-distclean-target-examples: distclean-target-examples
28247 distclean-target-examples:
28248 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28249 r=`${PWD_COMMAND}`; export r; \
28250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28251 $(SET_LIB_PATH) \
28252 $(NORMAL_TARGET_EXPORTS) \
28253 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
28254 for flag in $(EXTRA_TARGET_FLAGS); do \
28255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28256 done; \
28257 (cd $(TARGET_SUBDIR)/examples && \
28258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28260 "RANLIB=$${RANLIB}" \
28261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28262 distclean) \
28263 || exit 1
28265 @endif target-examples
28267 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
28268 maybe-maintainer-clean-target-examples:
28269 @if target-examples
28270 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
28272 maintainer-clean-target-examples:
28273 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28274 r=`${PWD_COMMAND}`; export r; \
28275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28276 $(SET_LIB_PATH) \
28277 $(NORMAL_TARGET_EXPORTS) \
28278 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
28279 for flag in $(EXTRA_TARGET_FLAGS); do \
28280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28281 done; \
28282 (cd $(TARGET_SUBDIR)/examples && \
28283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28285 "RANLIB=$${RANLIB}" \
28286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28287 maintainer-clean) \
28288 || exit 1
28290 @endif target-examples
28293 .PHONY: configure-target-libffi maybe-configure-target-libffi
28294 maybe-configure-target-libffi:
28295 @if target-libffi
28296 maybe-configure-target-libffi: configure-target-libffi
28298 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28299 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
28300 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
28301 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
28302 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
28304 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
28305 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
28306 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
28307 r=`${PWD_COMMAND}`; export r; \
28308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28309 $(SET_LIB_PATH) \
28310 $(NORMAL_TARGET_EXPORTS) \
28311 echo Configuring in $(TARGET_SUBDIR)/libffi; \
28312 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
28313 case $(srcdir) in \
28314 /* | [A-Za-z]:[\\/]*) \
28315 topdir=$(srcdir) ;; \
28316 *) \
28317 case "$(TARGET_SUBDIR)" in \
28318 .) topdir="../$(srcdir)" ;; \
28319 *) topdir="../../$(srcdir)" ;; \
28320 esac ;; \
28321 esac; \
28322 srcdiroption="--srcdir=$${topdir}/libffi"; \
28323 libsrcdir="$$s/libffi"; \
28324 rm -f no-such-file || : ; \
28325 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28326 $(TARGET_CONFIGARGS) $${srcdiroption} \
28327 --with-target-subdir="$(TARGET_SUBDIR)" \
28328 || exit 1
28329 @endif target-libffi
28331 .PHONY: all-target-libffi maybe-all-target-libffi
28332 maybe-all-target-libffi:
28333 @if target-libffi
28334 TARGET-target-libffi=all
28335 maybe-all-target-libffi: all-target-libffi
28336 all-target-libffi: configure-target-libffi
28337 @r=`${PWD_COMMAND}`; export r; \
28338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28339 $(SET_LIB_PATH) \
28340 $(NORMAL_TARGET_EXPORTS) \
28341 (cd $(TARGET_SUBDIR)/libffi && \
28342 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
28343 @endif target-libffi
28345 .PHONY: check-target-libffi maybe-check-target-libffi
28346 maybe-check-target-libffi:
28347 @if target-libffi
28348 maybe-check-target-libffi: check-target-libffi
28350 check-target-libffi:
28351 @r=`${PWD_COMMAND}`; export r; \
28352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28353 $(SET_LIB_PATH) \
28354 $(NORMAL_TARGET_EXPORTS) \
28355 (cd $(TARGET_SUBDIR)/libffi && \
28356 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28358 @endif target-libffi
28360 .PHONY: install-target-libffi maybe-install-target-libffi
28361 maybe-install-target-libffi:
28362 @if target-libffi
28363 maybe-install-target-libffi: install-target-libffi
28365 install-target-libffi: installdirs
28366 @r=`${PWD_COMMAND}`; export r; \
28367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28368 $(SET_LIB_PATH) \
28369 $(NORMAL_TARGET_EXPORTS) \
28370 (cd $(TARGET_SUBDIR)/libffi && \
28371 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28373 @endif target-libffi
28375 # Other targets (info, dvi, etc.)
28377 .PHONY: maybe-info-target-libffi info-target-libffi
28378 maybe-info-target-libffi:
28379 @if target-libffi
28380 maybe-info-target-libffi: info-target-libffi
28382 info-target-libffi: \
28383 configure-target-libffi
28384 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28385 r=`${PWD_COMMAND}`; export r; \
28386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28387 $(SET_LIB_PATH) \
28388 $(NORMAL_TARGET_EXPORTS) \
28389 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
28390 for flag in $(EXTRA_TARGET_FLAGS); do \
28391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28392 done; \
28393 (cd $(TARGET_SUBDIR)/libffi && \
28394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28396 "RANLIB=$${RANLIB}" \
28397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28398 info) \
28399 || exit 1
28401 @endif target-libffi
28403 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
28404 maybe-dvi-target-libffi:
28405 @if target-libffi
28406 maybe-dvi-target-libffi: dvi-target-libffi
28408 dvi-target-libffi: \
28409 configure-target-libffi
28410 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28411 r=`${PWD_COMMAND}`; export r; \
28412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28413 $(SET_LIB_PATH) \
28414 $(NORMAL_TARGET_EXPORTS) \
28415 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
28416 for flag in $(EXTRA_TARGET_FLAGS); do \
28417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28418 done; \
28419 (cd $(TARGET_SUBDIR)/libffi && \
28420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28422 "RANLIB=$${RANLIB}" \
28423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28424 dvi) \
28425 || exit 1
28427 @endif target-libffi
28429 .PHONY: maybe-html-target-libffi html-target-libffi
28430 maybe-html-target-libffi:
28431 @if target-libffi
28432 maybe-html-target-libffi: html-target-libffi
28434 html-target-libffi: \
28435 configure-target-libffi
28436 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28437 r=`${PWD_COMMAND}`; export r; \
28438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28439 $(SET_LIB_PATH) \
28440 $(NORMAL_TARGET_EXPORTS) \
28441 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
28442 for flag in $(EXTRA_TARGET_FLAGS); do \
28443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28444 done; \
28445 (cd $(TARGET_SUBDIR)/libffi && \
28446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28448 "RANLIB=$${RANLIB}" \
28449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28450 html) \
28451 || exit 1
28453 @endif target-libffi
28455 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
28456 maybe-TAGS-target-libffi:
28457 @if target-libffi
28458 maybe-TAGS-target-libffi: TAGS-target-libffi
28460 TAGS-target-libffi: \
28461 configure-target-libffi
28462 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28463 r=`${PWD_COMMAND}`; export r; \
28464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28465 $(SET_LIB_PATH) \
28466 $(NORMAL_TARGET_EXPORTS) \
28467 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
28468 for flag in $(EXTRA_TARGET_FLAGS); do \
28469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28470 done; \
28471 (cd $(TARGET_SUBDIR)/libffi && \
28472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28474 "RANLIB=$${RANLIB}" \
28475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28476 TAGS) \
28477 || exit 1
28479 @endif target-libffi
28481 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
28482 maybe-install-info-target-libffi:
28483 @if target-libffi
28484 maybe-install-info-target-libffi: install-info-target-libffi
28486 install-info-target-libffi: \
28487 configure-target-libffi \
28488 info-target-libffi
28489 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28490 r=`${PWD_COMMAND}`; export r; \
28491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28492 $(SET_LIB_PATH) \
28493 $(NORMAL_TARGET_EXPORTS) \
28494 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
28495 for flag in $(EXTRA_TARGET_FLAGS); do \
28496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28497 done; \
28498 (cd $(TARGET_SUBDIR)/libffi && \
28499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28501 "RANLIB=$${RANLIB}" \
28502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28503 install-info) \
28504 || exit 1
28506 @endif target-libffi
28508 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
28509 maybe-installcheck-target-libffi:
28510 @if target-libffi
28511 maybe-installcheck-target-libffi: installcheck-target-libffi
28513 installcheck-target-libffi: \
28514 configure-target-libffi
28515 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28516 r=`${PWD_COMMAND}`; export r; \
28517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28518 $(SET_LIB_PATH) \
28519 $(NORMAL_TARGET_EXPORTS) \
28520 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
28521 for flag in $(EXTRA_TARGET_FLAGS); do \
28522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28523 done; \
28524 (cd $(TARGET_SUBDIR)/libffi && \
28525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28527 "RANLIB=$${RANLIB}" \
28528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28529 installcheck) \
28530 || exit 1
28532 @endif target-libffi
28534 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
28535 maybe-mostlyclean-target-libffi:
28536 @if target-libffi
28537 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
28539 mostlyclean-target-libffi:
28540 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28541 r=`${PWD_COMMAND}`; export r; \
28542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28543 $(SET_LIB_PATH) \
28544 $(NORMAL_TARGET_EXPORTS) \
28545 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
28546 for flag in $(EXTRA_TARGET_FLAGS); do \
28547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28548 done; \
28549 (cd $(TARGET_SUBDIR)/libffi && \
28550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28552 "RANLIB=$${RANLIB}" \
28553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28554 mostlyclean) \
28555 || exit 1
28557 @endif target-libffi
28559 .PHONY: maybe-clean-target-libffi clean-target-libffi
28560 maybe-clean-target-libffi:
28561 @if target-libffi
28562 maybe-clean-target-libffi: clean-target-libffi
28564 clean-target-libffi:
28565 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28566 r=`${PWD_COMMAND}`; export r; \
28567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28568 $(SET_LIB_PATH) \
28569 $(NORMAL_TARGET_EXPORTS) \
28570 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
28571 for flag in $(EXTRA_TARGET_FLAGS); do \
28572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28573 done; \
28574 (cd $(TARGET_SUBDIR)/libffi && \
28575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28577 "RANLIB=$${RANLIB}" \
28578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28579 clean) \
28580 || exit 1
28582 @endif target-libffi
28584 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
28585 maybe-distclean-target-libffi:
28586 @if target-libffi
28587 maybe-distclean-target-libffi: distclean-target-libffi
28589 distclean-target-libffi:
28590 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28591 r=`${PWD_COMMAND}`; export r; \
28592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28593 $(SET_LIB_PATH) \
28594 $(NORMAL_TARGET_EXPORTS) \
28595 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
28596 for flag in $(EXTRA_TARGET_FLAGS); do \
28597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28598 done; \
28599 (cd $(TARGET_SUBDIR)/libffi && \
28600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28602 "RANLIB=$${RANLIB}" \
28603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28604 distclean) \
28605 || exit 1
28607 @endif target-libffi
28609 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
28610 maybe-maintainer-clean-target-libffi:
28611 @if target-libffi
28612 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
28614 maintainer-clean-target-libffi:
28615 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28616 r=`${PWD_COMMAND}`; export r; \
28617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28618 $(SET_LIB_PATH) \
28619 $(NORMAL_TARGET_EXPORTS) \
28620 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
28621 for flag in $(EXTRA_TARGET_FLAGS); do \
28622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28623 done; \
28624 (cd $(TARGET_SUBDIR)/libffi && \
28625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28627 "RANLIB=$${RANLIB}" \
28628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28629 maintainer-clean) \
28630 || exit 1
28632 @endif target-libffi
28635 .PHONY: configure-target-libjava maybe-configure-target-libjava
28636 maybe-configure-target-libjava:
28637 @if target-libjava
28638 maybe-configure-target-libjava: configure-target-libjava
28640 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28641 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
28642 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28643 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
28644 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
28646 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
28647 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
28648 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28649 r=`${PWD_COMMAND}`; export r; \
28650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28651 $(SET_LIB_PATH) \
28652 $(RAW_CXX_TARGET_EXPORTS) \
28653 echo Configuring in $(TARGET_SUBDIR)/libjava; \
28654 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
28655 case $(srcdir) in \
28656 /* | [A-Za-z]:[\\/]*) \
28657 topdir=$(srcdir) ;; \
28658 *) \
28659 case "$(TARGET_SUBDIR)" in \
28660 .) topdir="../$(srcdir)" ;; \
28661 *) topdir="../../$(srcdir)" ;; \
28662 esac ;; \
28663 esac; \
28664 srcdiroption="--srcdir=$${topdir}/libjava"; \
28665 libsrcdir="$$s/libjava"; \
28666 rm -f no-such-file || : ; \
28667 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28668 $(TARGET_CONFIGARGS) $${srcdiroption} \
28669 --with-target-subdir="$(TARGET_SUBDIR)" \
28670 || exit 1
28671 @endif target-libjava
28673 .PHONY: all-target-libjava maybe-all-target-libjava
28674 maybe-all-target-libjava:
28675 @if target-libjava
28676 TARGET-target-libjava=all
28677 maybe-all-target-libjava: all-target-libjava
28678 all-target-libjava: configure-target-libjava
28679 @r=`${PWD_COMMAND}`; export r; \
28680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28681 $(SET_LIB_PATH) \
28682 $(RAW_CXX_TARGET_EXPORTS) \
28683 (cd $(TARGET_SUBDIR)/libjava && \
28684 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
28685 @endif target-libjava
28687 .PHONY: check-target-libjava maybe-check-target-libjava
28688 maybe-check-target-libjava:
28689 @if target-libjava
28690 maybe-check-target-libjava: check-target-libjava
28692 check-target-libjava:
28693 @r=`${PWD_COMMAND}`; export r; \
28694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28695 $(SET_LIB_PATH) \
28696 $(RAW_CXX_TARGET_EXPORTS) \
28697 (cd $(TARGET_SUBDIR)/libjava && \
28698 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28700 @endif target-libjava
28702 .PHONY: install-target-libjava maybe-install-target-libjava
28703 maybe-install-target-libjava:
28704 @if target-libjava
28705 maybe-install-target-libjava: install-target-libjava
28707 install-target-libjava: installdirs
28708 @r=`${PWD_COMMAND}`; export r; \
28709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28710 $(SET_LIB_PATH) \
28711 $(RAW_CXX_TARGET_EXPORTS) \
28712 (cd $(TARGET_SUBDIR)/libjava && \
28713 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28715 @endif target-libjava
28717 # Other targets (info, dvi, etc.)
28719 .PHONY: maybe-info-target-libjava info-target-libjava
28720 maybe-info-target-libjava:
28721 @if target-libjava
28722 maybe-info-target-libjava: info-target-libjava
28724 info-target-libjava: \
28725 configure-target-libjava
28726 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28727 r=`${PWD_COMMAND}`; export r; \
28728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28729 $(SET_LIB_PATH) \
28730 $(RAW_CXX_TARGET_EXPORTS) \
28731 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
28732 for flag in $(EXTRA_TARGET_FLAGS); do \
28733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28734 done; \
28735 (cd $(TARGET_SUBDIR)/libjava && \
28736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28738 "RANLIB=$${RANLIB}" \
28739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28740 info) \
28741 || exit 1
28743 @endif target-libjava
28745 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
28746 maybe-dvi-target-libjava:
28747 @if target-libjava
28748 maybe-dvi-target-libjava: dvi-target-libjava
28750 dvi-target-libjava: \
28751 configure-target-libjava
28752 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28753 r=`${PWD_COMMAND}`; export r; \
28754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28755 $(SET_LIB_PATH) \
28756 $(RAW_CXX_TARGET_EXPORTS) \
28757 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
28758 for flag in $(EXTRA_TARGET_FLAGS); do \
28759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28760 done; \
28761 (cd $(TARGET_SUBDIR)/libjava && \
28762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28764 "RANLIB=$${RANLIB}" \
28765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28766 dvi) \
28767 || exit 1
28769 @endif target-libjava
28771 .PHONY: maybe-html-target-libjava html-target-libjava
28772 maybe-html-target-libjava:
28773 @if target-libjava
28774 maybe-html-target-libjava: html-target-libjava
28776 html-target-libjava: \
28777 configure-target-libjava
28778 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28779 r=`${PWD_COMMAND}`; export r; \
28780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28781 $(SET_LIB_PATH) \
28782 $(RAW_CXX_TARGET_EXPORTS) \
28783 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
28784 for flag in $(EXTRA_TARGET_FLAGS); do \
28785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28786 done; \
28787 (cd $(TARGET_SUBDIR)/libjava && \
28788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28790 "RANLIB=$${RANLIB}" \
28791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28792 html) \
28793 || exit 1
28795 @endif target-libjava
28797 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
28798 maybe-TAGS-target-libjava:
28799 @if target-libjava
28800 maybe-TAGS-target-libjava: TAGS-target-libjava
28802 TAGS-target-libjava: \
28803 configure-target-libjava
28804 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28805 r=`${PWD_COMMAND}`; export r; \
28806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28807 $(SET_LIB_PATH) \
28808 $(RAW_CXX_TARGET_EXPORTS) \
28809 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
28810 for flag in $(EXTRA_TARGET_FLAGS); do \
28811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28812 done; \
28813 (cd $(TARGET_SUBDIR)/libjava && \
28814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28816 "RANLIB=$${RANLIB}" \
28817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28818 TAGS) \
28819 || exit 1
28821 @endif target-libjava
28823 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
28824 maybe-install-info-target-libjava:
28825 @if target-libjava
28826 maybe-install-info-target-libjava: install-info-target-libjava
28828 install-info-target-libjava: \
28829 configure-target-libjava \
28830 info-target-libjava
28831 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28832 r=`${PWD_COMMAND}`; export r; \
28833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28834 $(SET_LIB_PATH) \
28835 $(RAW_CXX_TARGET_EXPORTS) \
28836 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
28837 for flag in $(EXTRA_TARGET_FLAGS); do \
28838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28839 done; \
28840 (cd $(TARGET_SUBDIR)/libjava && \
28841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28843 "RANLIB=$${RANLIB}" \
28844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28845 install-info) \
28846 || exit 1
28848 @endif target-libjava
28850 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
28851 maybe-installcheck-target-libjava:
28852 @if target-libjava
28853 maybe-installcheck-target-libjava: installcheck-target-libjava
28855 installcheck-target-libjava: \
28856 configure-target-libjava
28857 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28858 r=`${PWD_COMMAND}`; export r; \
28859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28860 $(SET_LIB_PATH) \
28861 $(RAW_CXX_TARGET_EXPORTS) \
28862 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
28863 for flag in $(EXTRA_TARGET_FLAGS); do \
28864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28865 done; \
28866 (cd $(TARGET_SUBDIR)/libjava && \
28867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28869 "RANLIB=$${RANLIB}" \
28870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28871 installcheck) \
28872 || exit 1
28874 @endif target-libjava
28876 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
28877 maybe-mostlyclean-target-libjava:
28878 @if target-libjava
28879 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
28881 mostlyclean-target-libjava:
28882 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28883 r=`${PWD_COMMAND}`; export r; \
28884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28885 $(SET_LIB_PATH) \
28886 $(RAW_CXX_TARGET_EXPORTS) \
28887 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
28888 for flag in $(EXTRA_TARGET_FLAGS); do \
28889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28890 done; \
28891 (cd $(TARGET_SUBDIR)/libjava && \
28892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28894 "RANLIB=$${RANLIB}" \
28895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28896 mostlyclean) \
28897 || exit 1
28899 @endif target-libjava
28901 .PHONY: maybe-clean-target-libjava clean-target-libjava
28902 maybe-clean-target-libjava:
28903 @if target-libjava
28904 maybe-clean-target-libjava: clean-target-libjava
28906 clean-target-libjava:
28907 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28908 r=`${PWD_COMMAND}`; export r; \
28909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28910 $(SET_LIB_PATH) \
28911 $(RAW_CXX_TARGET_EXPORTS) \
28912 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
28913 for flag in $(EXTRA_TARGET_FLAGS); do \
28914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28915 done; \
28916 (cd $(TARGET_SUBDIR)/libjava && \
28917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28919 "RANLIB=$${RANLIB}" \
28920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28921 clean) \
28922 || exit 1
28924 @endif target-libjava
28926 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
28927 maybe-distclean-target-libjava:
28928 @if target-libjava
28929 maybe-distclean-target-libjava: distclean-target-libjava
28931 distclean-target-libjava:
28932 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28933 r=`${PWD_COMMAND}`; export r; \
28934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28935 $(SET_LIB_PATH) \
28936 $(RAW_CXX_TARGET_EXPORTS) \
28937 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
28938 for flag in $(EXTRA_TARGET_FLAGS); do \
28939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28940 done; \
28941 (cd $(TARGET_SUBDIR)/libjava && \
28942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28944 "RANLIB=$${RANLIB}" \
28945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28946 distclean) \
28947 || exit 1
28949 @endif target-libjava
28951 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
28952 maybe-maintainer-clean-target-libjava:
28953 @if target-libjava
28954 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
28956 maintainer-clean-target-libjava:
28957 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28958 r=`${PWD_COMMAND}`; export r; \
28959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28960 $(SET_LIB_PATH) \
28961 $(RAW_CXX_TARGET_EXPORTS) \
28962 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
28963 for flag in $(EXTRA_TARGET_FLAGS); do \
28964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28965 done; \
28966 (cd $(TARGET_SUBDIR)/libjava && \
28967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28969 "RANLIB=$${RANLIB}" \
28970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28971 maintainer-clean) \
28972 || exit 1
28974 @endif target-libjava
28977 .PHONY: configure-target-zlib maybe-configure-target-zlib
28978 maybe-configure-target-zlib:
28979 @if target-zlib
28980 maybe-configure-target-zlib: configure-target-zlib
28982 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28983 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
28984 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28985 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
28986 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
28988 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
28989 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
28990 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28991 r=`${PWD_COMMAND}`; export r; \
28992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28993 $(SET_LIB_PATH) \
28994 $(NORMAL_TARGET_EXPORTS) \
28995 echo Configuring in $(TARGET_SUBDIR)/zlib; \
28996 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
28997 case $(srcdir) in \
28998 /* | [A-Za-z]:[\\/]*) \
28999 topdir=$(srcdir) ;; \
29000 *) \
29001 case "$(TARGET_SUBDIR)" in \
29002 .) topdir="../$(srcdir)" ;; \
29003 *) topdir="../../$(srcdir)" ;; \
29004 esac ;; \
29005 esac; \
29006 if [ "$(srcdir)" = "." ] ; then \
29007 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
29008 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
29009 if [ -f Makefile ]; then \
29010 if $(MAKE) distclean; then \
29011 true; \
29012 else \
29013 exit 1; \
29014 fi; \
29015 else \
29016 true; \
29017 fi; \
29018 else \
29019 exit 1; \
29020 fi; \
29021 else \
29022 true; \
29023 fi; \
29024 srcdiroption="--srcdir=."; \
29025 libsrcdir="."; \
29026 else \
29027 srcdiroption="--srcdir=$${topdir}/zlib"; \
29028 libsrcdir="$$s/zlib"; \
29029 fi; \
29030 rm -f no-such-file || : ; \
29031 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29032 $(TARGET_CONFIGARGS) $${srcdiroption} \
29033 --with-target-subdir="$(TARGET_SUBDIR)" \
29034 || exit 1
29035 @endif target-zlib
29037 .PHONY: all-target-zlib maybe-all-target-zlib
29038 maybe-all-target-zlib:
29039 @if target-zlib
29040 TARGET-target-zlib=all
29041 maybe-all-target-zlib: all-target-zlib
29042 all-target-zlib: configure-target-zlib
29043 @r=`${PWD_COMMAND}`; export r; \
29044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29045 $(SET_LIB_PATH) \
29046 $(NORMAL_TARGET_EXPORTS) \
29047 (cd $(TARGET_SUBDIR)/zlib && \
29048 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
29049 @endif target-zlib
29051 .PHONY: check-target-zlib maybe-check-target-zlib
29052 maybe-check-target-zlib:
29053 @if target-zlib
29054 maybe-check-target-zlib: check-target-zlib
29056 check-target-zlib:
29057 @r=`${PWD_COMMAND}`; export r; \
29058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29059 $(SET_LIB_PATH) \
29060 $(NORMAL_TARGET_EXPORTS) \
29061 (cd $(TARGET_SUBDIR)/zlib && \
29062 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29064 @endif target-zlib
29066 .PHONY: install-target-zlib maybe-install-target-zlib
29067 maybe-install-target-zlib:
29068 @if target-zlib
29069 maybe-install-target-zlib: install-target-zlib
29071 install-target-zlib: installdirs
29072 @r=`${PWD_COMMAND}`; export r; \
29073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29074 $(SET_LIB_PATH) \
29075 $(NORMAL_TARGET_EXPORTS) \
29076 (cd $(TARGET_SUBDIR)/zlib && \
29077 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29079 @endif target-zlib
29081 # Other targets (info, dvi, etc.)
29083 .PHONY: maybe-info-target-zlib info-target-zlib
29084 maybe-info-target-zlib:
29085 @if target-zlib
29086 maybe-info-target-zlib: info-target-zlib
29088 info-target-zlib: \
29089 configure-target-zlib
29090 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29091 r=`${PWD_COMMAND}`; export r; \
29092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29093 $(SET_LIB_PATH) \
29094 $(NORMAL_TARGET_EXPORTS) \
29095 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
29096 for flag in $(EXTRA_TARGET_FLAGS); do \
29097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29098 done; \
29099 (cd $(TARGET_SUBDIR)/zlib && \
29100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29102 "RANLIB=$${RANLIB}" \
29103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29104 info) \
29105 || exit 1
29107 @endif target-zlib
29109 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
29110 maybe-dvi-target-zlib:
29111 @if target-zlib
29112 maybe-dvi-target-zlib: dvi-target-zlib
29114 dvi-target-zlib: \
29115 configure-target-zlib
29116 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29117 r=`${PWD_COMMAND}`; export r; \
29118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29119 $(SET_LIB_PATH) \
29120 $(NORMAL_TARGET_EXPORTS) \
29121 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
29122 for flag in $(EXTRA_TARGET_FLAGS); do \
29123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29124 done; \
29125 (cd $(TARGET_SUBDIR)/zlib && \
29126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29128 "RANLIB=$${RANLIB}" \
29129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29130 dvi) \
29131 || exit 1
29133 @endif target-zlib
29135 .PHONY: maybe-html-target-zlib html-target-zlib
29136 maybe-html-target-zlib:
29137 @if target-zlib
29138 maybe-html-target-zlib: html-target-zlib
29140 html-target-zlib: \
29141 configure-target-zlib
29142 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29143 r=`${PWD_COMMAND}`; export r; \
29144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29145 $(SET_LIB_PATH) \
29146 $(NORMAL_TARGET_EXPORTS) \
29147 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
29148 for flag in $(EXTRA_TARGET_FLAGS); do \
29149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29150 done; \
29151 (cd $(TARGET_SUBDIR)/zlib && \
29152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29154 "RANLIB=$${RANLIB}" \
29155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29156 html) \
29157 || exit 1
29159 @endif target-zlib
29161 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
29162 maybe-TAGS-target-zlib:
29163 @if target-zlib
29164 maybe-TAGS-target-zlib: TAGS-target-zlib
29166 TAGS-target-zlib: \
29167 configure-target-zlib
29168 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29169 r=`${PWD_COMMAND}`; export r; \
29170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29171 $(SET_LIB_PATH) \
29172 $(NORMAL_TARGET_EXPORTS) \
29173 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
29174 for flag in $(EXTRA_TARGET_FLAGS); do \
29175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29176 done; \
29177 (cd $(TARGET_SUBDIR)/zlib && \
29178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29180 "RANLIB=$${RANLIB}" \
29181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29182 TAGS) \
29183 || exit 1
29185 @endif target-zlib
29187 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
29188 maybe-install-info-target-zlib:
29189 @if target-zlib
29190 maybe-install-info-target-zlib: install-info-target-zlib
29192 install-info-target-zlib: \
29193 configure-target-zlib \
29194 info-target-zlib
29195 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29196 r=`${PWD_COMMAND}`; export r; \
29197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29198 $(SET_LIB_PATH) \
29199 $(NORMAL_TARGET_EXPORTS) \
29200 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
29201 for flag in $(EXTRA_TARGET_FLAGS); do \
29202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29203 done; \
29204 (cd $(TARGET_SUBDIR)/zlib && \
29205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29207 "RANLIB=$${RANLIB}" \
29208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29209 install-info) \
29210 || exit 1
29212 @endif target-zlib
29214 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
29215 maybe-installcheck-target-zlib:
29216 @if target-zlib
29217 maybe-installcheck-target-zlib: installcheck-target-zlib
29219 installcheck-target-zlib: \
29220 configure-target-zlib
29221 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29222 r=`${PWD_COMMAND}`; export r; \
29223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29224 $(SET_LIB_PATH) \
29225 $(NORMAL_TARGET_EXPORTS) \
29226 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
29227 for flag in $(EXTRA_TARGET_FLAGS); do \
29228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29229 done; \
29230 (cd $(TARGET_SUBDIR)/zlib && \
29231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29233 "RANLIB=$${RANLIB}" \
29234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29235 installcheck) \
29236 || exit 1
29238 @endif target-zlib
29240 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
29241 maybe-mostlyclean-target-zlib:
29242 @if target-zlib
29243 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
29245 mostlyclean-target-zlib:
29246 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29247 r=`${PWD_COMMAND}`; export r; \
29248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29249 $(SET_LIB_PATH) \
29250 $(NORMAL_TARGET_EXPORTS) \
29251 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
29252 for flag in $(EXTRA_TARGET_FLAGS); do \
29253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29254 done; \
29255 (cd $(TARGET_SUBDIR)/zlib && \
29256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29258 "RANLIB=$${RANLIB}" \
29259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29260 mostlyclean) \
29261 || exit 1
29263 @endif target-zlib
29265 .PHONY: maybe-clean-target-zlib clean-target-zlib
29266 maybe-clean-target-zlib:
29267 @if target-zlib
29268 maybe-clean-target-zlib: clean-target-zlib
29270 clean-target-zlib:
29271 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29272 r=`${PWD_COMMAND}`; export r; \
29273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29274 $(SET_LIB_PATH) \
29275 $(NORMAL_TARGET_EXPORTS) \
29276 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
29277 for flag in $(EXTRA_TARGET_FLAGS); do \
29278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29279 done; \
29280 (cd $(TARGET_SUBDIR)/zlib && \
29281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29283 "RANLIB=$${RANLIB}" \
29284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29285 clean) \
29286 || exit 1
29288 @endif target-zlib
29290 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
29291 maybe-distclean-target-zlib:
29292 @if target-zlib
29293 maybe-distclean-target-zlib: distclean-target-zlib
29295 distclean-target-zlib:
29296 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29297 r=`${PWD_COMMAND}`; export r; \
29298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29299 $(SET_LIB_PATH) \
29300 $(NORMAL_TARGET_EXPORTS) \
29301 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
29302 for flag in $(EXTRA_TARGET_FLAGS); do \
29303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29304 done; \
29305 (cd $(TARGET_SUBDIR)/zlib && \
29306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29308 "RANLIB=$${RANLIB}" \
29309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29310 distclean) \
29311 || exit 1
29313 @endif target-zlib
29315 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
29316 maybe-maintainer-clean-target-zlib:
29317 @if target-zlib
29318 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
29320 maintainer-clean-target-zlib:
29321 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29322 r=`${PWD_COMMAND}`; export r; \
29323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29324 $(SET_LIB_PATH) \
29325 $(NORMAL_TARGET_EXPORTS) \
29326 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
29327 for flag in $(EXTRA_TARGET_FLAGS); do \
29328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29329 done; \
29330 (cd $(TARGET_SUBDIR)/zlib && \
29331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29333 "RANLIB=$${RANLIB}" \
29334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29335 maintainer-clean) \
29336 || exit 1
29338 @endif target-zlib
29341 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
29342 maybe-configure-target-boehm-gc:
29343 @if target-boehm-gc
29344 maybe-configure-target-boehm-gc: configure-target-boehm-gc
29346 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29347 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
29348 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29349 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
29350 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
29352 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
29353 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
29354 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29355 r=`${PWD_COMMAND}`; export r; \
29356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29357 $(SET_LIB_PATH) \
29358 $(NORMAL_TARGET_EXPORTS) \
29359 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
29360 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
29361 case $(srcdir) in \
29362 /* | [A-Za-z]:[\\/]*) \
29363 topdir=$(srcdir) ;; \
29364 *) \
29365 case "$(TARGET_SUBDIR)" in \
29366 .) topdir="../$(srcdir)" ;; \
29367 *) topdir="../../$(srcdir)" ;; \
29368 esac ;; \
29369 esac; \
29370 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
29371 libsrcdir="$$s/boehm-gc"; \
29372 rm -f no-such-file || : ; \
29373 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29374 $(TARGET_CONFIGARGS) $${srcdiroption} \
29375 --with-target-subdir="$(TARGET_SUBDIR)" \
29376 || exit 1
29377 @endif target-boehm-gc
29379 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
29380 maybe-all-target-boehm-gc:
29381 @if target-boehm-gc
29382 TARGET-target-boehm-gc=all
29383 maybe-all-target-boehm-gc: all-target-boehm-gc
29384 all-target-boehm-gc: configure-target-boehm-gc
29385 @r=`${PWD_COMMAND}`; export r; \
29386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29387 $(SET_LIB_PATH) \
29388 $(NORMAL_TARGET_EXPORTS) \
29389 (cd $(TARGET_SUBDIR)/boehm-gc && \
29390 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
29391 @endif target-boehm-gc
29393 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
29394 maybe-check-target-boehm-gc:
29395 @if target-boehm-gc
29396 maybe-check-target-boehm-gc: check-target-boehm-gc
29398 check-target-boehm-gc:
29399 @r=`${PWD_COMMAND}`; export r; \
29400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29401 $(SET_LIB_PATH) \
29402 $(NORMAL_TARGET_EXPORTS) \
29403 (cd $(TARGET_SUBDIR)/boehm-gc && \
29404 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29406 @endif target-boehm-gc
29408 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
29409 maybe-install-target-boehm-gc:
29410 @if target-boehm-gc
29411 maybe-install-target-boehm-gc: install-target-boehm-gc
29413 install-target-boehm-gc: installdirs
29414 @r=`${PWD_COMMAND}`; export r; \
29415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29416 $(SET_LIB_PATH) \
29417 $(NORMAL_TARGET_EXPORTS) \
29418 (cd $(TARGET_SUBDIR)/boehm-gc && \
29419 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29421 @endif target-boehm-gc
29423 # Other targets (info, dvi, etc.)
29425 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
29426 maybe-info-target-boehm-gc:
29427 @if target-boehm-gc
29428 maybe-info-target-boehm-gc: info-target-boehm-gc
29430 info-target-boehm-gc: \
29431 configure-target-boehm-gc
29432 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29433 r=`${PWD_COMMAND}`; export r; \
29434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29435 $(SET_LIB_PATH) \
29436 $(NORMAL_TARGET_EXPORTS) \
29437 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
29438 for flag in $(EXTRA_TARGET_FLAGS); do \
29439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29440 done; \
29441 (cd $(TARGET_SUBDIR)/boehm-gc && \
29442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29444 "RANLIB=$${RANLIB}" \
29445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29446 info) \
29447 || exit 1
29449 @endif target-boehm-gc
29451 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
29452 maybe-dvi-target-boehm-gc:
29453 @if target-boehm-gc
29454 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
29456 dvi-target-boehm-gc: \
29457 configure-target-boehm-gc
29458 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29459 r=`${PWD_COMMAND}`; export r; \
29460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29461 $(SET_LIB_PATH) \
29462 $(NORMAL_TARGET_EXPORTS) \
29463 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
29464 for flag in $(EXTRA_TARGET_FLAGS); do \
29465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29466 done; \
29467 (cd $(TARGET_SUBDIR)/boehm-gc && \
29468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29470 "RANLIB=$${RANLIB}" \
29471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29472 dvi) \
29473 || exit 1
29475 @endif target-boehm-gc
29477 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
29478 maybe-html-target-boehm-gc:
29479 @if target-boehm-gc
29480 maybe-html-target-boehm-gc: html-target-boehm-gc
29482 html-target-boehm-gc: \
29483 configure-target-boehm-gc
29484 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29485 r=`${PWD_COMMAND}`; export r; \
29486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29487 $(SET_LIB_PATH) \
29488 $(NORMAL_TARGET_EXPORTS) \
29489 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
29490 for flag in $(EXTRA_TARGET_FLAGS); do \
29491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29492 done; \
29493 (cd $(TARGET_SUBDIR)/boehm-gc && \
29494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29496 "RANLIB=$${RANLIB}" \
29497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29498 html) \
29499 || exit 1
29501 @endif target-boehm-gc
29503 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
29504 maybe-TAGS-target-boehm-gc:
29505 @if target-boehm-gc
29506 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
29508 TAGS-target-boehm-gc: \
29509 configure-target-boehm-gc
29510 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29511 r=`${PWD_COMMAND}`; export r; \
29512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29513 $(SET_LIB_PATH) \
29514 $(NORMAL_TARGET_EXPORTS) \
29515 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
29516 for flag in $(EXTRA_TARGET_FLAGS); do \
29517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29518 done; \
29519 (cd $(TARGET_SUBDIR)/boehm-gc && \
29520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29522 "RANLIB=$${RANLIB}" \
29523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29524 TAGS) \
29525 || exit 1
29527 @endif target-boehm-gc
29529 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
29530 maybe-install-info-target-boehm-gc:
29531 @if target-boehm-gc
29532 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
29534 install-info-target-boehm-gc: \
29535 configure-target-boehm-gc \
29536 info-target-boehm-gc
29537 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29538 r=`${PWD_COMMAND}`; export r; \
29539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29540 $(SET_LIB_PATH) \
29541 $(NORMAL_TARGET_EXPORTS) \
29542 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
29543 for flag in $(EXTRA_TARGET_FLAGS); do \
29544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29545 done; \
29546 (cd $(TARGET_SUBDIR)/boehm-gc && \
29547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29549 "RANLIB=$${RANLIB}" \
29550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29551 install-info) \
29552 || exit 1
29554 @endif target-boehm-gc
29556 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
29557 maybe-installcheck-target-boehm-gc:
29558 @if target-boehm-gc
29559 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
29561 installcheck-target-boehm-gc: \
29562 configure-target-boehm-gc
29563 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29564 r=`${PWD_COMMAND}`; export r; \
29565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29566 $(SET_LIB_PATH) \
29567 $(NORMAL_TARGET_EXPORTS) \
29568 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
29569 for flag in $(EXTRA_TARGET_FLAGS); do \
29570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29571 done; \
29572 (cd $(TARGET_SUBDIR)/boehm-gc && \
29573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29575 "RANLIB=$${RANLIB}" \
29576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29577 installcheck) \
29578 || exit 1
29580 @endif target-boehm-gc
29582 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
29583 maybe-mostlyclean-target-boehm-gc:
29584 @if target-boehm-gc
29585 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
29587 mostlyclean-target-boehm-gc:
29588 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29589 r=`${PWD_COMMAND}`; export r; \
29590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29591 $(SET_LIB_PATH) \
29592 $(NORMAL_TARGET_EXPORTS) \
29593 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29594 for flag in $(EXTRA_TARGET_FLAGS); do \
29595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29596 done; \
29597 (cd $(TARGET_SUBDIR)/boehm-gc && \
29598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29600 "RANLIB=$${RANLIB}" \
29601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29602 mostlyclean) \
29603 || exit 1
29605 @endif target-boehm-gc
29607 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
29608 maybe-clean-target-boehm-gc:
29609 @if target-boehm-gc
29610 maybe-clean-target-boehm-gc: clean-target-boehm-gc
29612 clean-target-boehm-gc:
29613 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29614 r=`${PWD_COMMAND}`; export r; \
29615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29616 $(SET_LIB_PATH) \
29617 $(NORMAL_TARGET_EXPORTS) \
29618 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29619 for flag in $(EXTRA_TARGET_FLAGS); do \
29620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29621 done; \
29622 (cd $(TARGET_SUBDIR)/boehm-gc && \
29623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29625 "RANLIB=$${RANLIB}" \
29626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29627 clean) \
29628 || exit 1
29630 @endif target-boehm-gc
29632 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
29633 maybe-distclean-target-boehm-gc:
29634 @if target-boehm-gc
29635 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
29637 distclean-target-boehm-gc:
29638 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29639 r=`${PWD_COMMAND}`; export r; \
29640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29641 $(SET_LIB_PATH) \
29642 $(NORMAL_TARGET_EXPORTS) \
29643 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29644 for flag in $(EXTRA_TARGET_FLAGS); do \
29645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29646 done; \
29647 (cd $(TARGET_SUBDIR)/boehm-gc && \
29648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29650 "RANLIB=$${RANLIB}" \
29651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29652 distclean) \
29653 || exit 1
29655 @endif target-boehm-gc
29657 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
29658 maybe-maintainer-clean-target-boehm-gc:
29659 @if target-boehm-gc
29660 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
29662 maintainer-clean-target-boehm-gc:
29663 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29664 r=`${PWD_COMMAND}`; export r; \
29665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29666 $(SET_LIB_PATH) \
29667 $(NORMAL_TARGET_EXPORTS) \
29668 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29669 for flag in $(EXTRA_TARGET_FLAGS); do \
29670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29671 done; \
29672 (cd $(TARGET_SUBDIR)/boehm-gc && \
29673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29675 "RANLIB=$${RANLIB}" \
29676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29677 maintainer-clean) \
29678 || exit 1
29680 @endif target-boehm-gc
29683 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
29684 maybe-configure-target-qthreads:
29685 @if target-qthreads
29686 maybe-configure-target-qthreads: configure-target-qthreads
29688 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29689 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
29690 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29691 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
29692 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
29694 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
29695 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
29696 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29697 r=`${PWD_COMMAND}`; export r; \
29698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29699 $(SET_LIB_PATH) \
29700 $(NORMAL_TARGET_EXPORTS) \
29701 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
29702 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
29703 case $(srcdir) in \
29704 /* | [A-Za-z]:[\\/]*) \
29705 topdir=$(srcdir) ;; \
29706 *) \
29707 case "$(TARGET_SUBDIR)" in \
29708 .) topdir="../$(srcdir)" ;; \
29709 *) topdir="../../$(srcdir)" ;; \
29710 esac ;; \
29711 esac; \
29712 srcdiroption="--srcdir=$${topdir}/qthreads"; \
29713 libsrcdir="$$s/qthreads"; \
29714 rm -f no-such-file || : ; \
29715 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29716 $(TARGET_CONFIGARGS) $${srcdiroption} \
29717 --with-target-subdir="$(TARGET_SUBDIR)" \
29718 || exit 1
29719 @endif target-qthreads
29721 .PHONY: all-target-qthreads maybe-all-target-qthreads
29722 maybe-all-target-qthreads:
29723 @if target-qthreads
29724 TARGET-target-qthreads=all
29725 maybe-all-target-qthreads: all-target-qthreads
29726 all-target-qthreads: configure-target-qthreads
29727 @r=`${PWD_COMMAND}`; export r; \
29728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29729 $(SET_LIB_PATH) \
29730 $(NORMAL_TARGET_EXPORTS) \
29731 (cd $(TARGET_SUBDIR)/qthreads && \
29732 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
29733 @endif target-qthreads
29735 .PHONY: check-target-qthreads maybe-check-target-qthreads
29736 maybe-check-target-qthreads:
29737 @if target-qthreads
29738 maybe-check-target-qthreads: check-target-qthreads
29740 check-target-qthreads:
29741 @r=`${PWD_COMMAND}`; export r; \
29742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29743 $(SET_LIB_PATH) \
29744 $(NORMAL_TARGET_EXPORTS) \
29745 (cd $(TARGET_SUBDIR)/qthreads && \
29746 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29748 @endif target-qthreads
29750 .PHONY: install-target-qthreads maybe-install-target-qthreads
29751 maybe-install-target-qthreads:
29752 @if target-qthreads
29753 maybe-install-target-qthreads: install-target-qthreads
29755 install-target-qthreads: installdirs
29756 @r=`${PWD_COMMAND}`; export r; \
29757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29758 $(SET_LIB_PATH) \
29759 $(NORMAL_TARGET_EXPORTS) \
29760 (cd $(TARGET_SUBDIR)/qthreads && \
29761 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29763 @endif target-qthreads
29765 # Other targets (info, dvi, etc.)
29767 .PHONY: maybe-info-target-qthreads info-target-qthreads
29768 maybe-info-target-qthreads:
29769 @if target-qthreads
29770 maybe-info-target-qthreads: info-target-qthreads
29772 info-target-qthreads: \
29773 configure-target-qthreads
29774 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29775 r=`${PWD_COMMAND}`; export r; \
29776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29777 $(SET_LIB_PATH) \
29778 $(NORMAL_TARGET_EXPORTS) \
29779 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
29780 for flag in $(EXTRA_TARGET_FLAGS); do \
29781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29782 done; \
29783 (cd $(TARGET_SUBDIR)/qthreads && \
29784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29786 "RANLIB=$${RANLIB}" \
29787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29788 info) \
29789 || exit 1
29791 @endif target-qthreads
29793 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
29794 maybe-dvi-target-qthreads:
29795 @if target-qthreads
29796 maybe-dvi-target-qthreads: dvi-target-qthreads
29798 dvi-target-qthreads: \
29799 configure-target-qthreads
29800 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29801 r=`${PWD_COMMAND}`; export r; \
29802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29803 $(SET_LIB_PATH) \
29804 $(NORMAL_TARGET_EXPORTS) \
29805 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
29806 for flag in $(EXTRA_TARGET_FLAGS); do \
29807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29808 done; \
29809 (cd $(TARGET_SUBDIR)/qthreads && \
29810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29812 "RANLIB=$${RANLIB}" \
29813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29814 dvi) \
29815 || exit 1
29817 @endif target-qthreads
29819 .PHONY: maybe-html-target-qthreads html-target-qthreads
29820 maybe-html-target-qthreads:
29821 @if target-qthreads
29822 maybe-html-target-qthreads: html-target-qthreads
29824 html-target-qthreads: \
29825 configure-target-qthreads
29826 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29827 r=`${PWD_COMMAND}`; export r; \
29828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29829 $(SET_LIB_PATH) \
29830 $(NORMAL_TARGET_EXPORTS) \
29831 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
29832 for flag in $(EXTRA_TARGET_FLAGS); do \
29833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29834 done; \
29835 (cd $(TARGET_SUBDIR)/qthreads && \
29836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29838 "RANLIB=$${RANLIB}" \
29839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29840 html) \
29841 || exit 1
29843 @endif target-qthreads
29845 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
29846 maybe-TAGS-target-qthreads:
29847 @if target-qthreads
29848 maybe-TAGS-target-qthreads: TAGS-target-qthreads
29850 TAGS-target-qthreads: \
29851 configure-target-qthreads
29852 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29853 r=`${PWD_COMMAND}`; export r; \
29854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29855 $(SET_LIB_PATH) \
29856 $(NORMAL_TARGET_EXPORTS) \
29857 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
29858 for flag in $(EXTRA_TARGET_FLAGS); do \
29859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29860 done; \
29861 (cd $(TARGET_SUBDIR)/qthreads && \
29862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29864 "RANLIB=$${RANLIB}" \
29865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29866 TAGS) \
29867 || exit 1
29869 @endif target-qthreads
29871 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
29872 maybe-install-info-target-qthreads:
29873 @if target-qthreads
29874 maybe-install-info-target-qthreads: install-info-target-qthreads
29876 install-info-target-qthreads: \
29877 configure-target-qthreads \
29878 info-target-qthreads
29879 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29880 r=`${PWD_COMMAND}`; export r; \
29881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29882 $(SET_LIB_PATH) \
29883 $(NORMAL_TARGET_EXPORTS) \
29884 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
29885 for flag in $(EXTRA_TARGET_FLAGS); do \
29886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29887 done; \
29888 (cd $(TARGET_SUBDIR)/qthreads && \
29889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29891 "RANLIB=$${RANLIB}" \
29892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29893 install-info) \
29894 || exit 1
29896 @endif target-qthreads
29898 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
29899 maybe-installcheck-target-qthreads:
29900 @if target-qthreads
29901 maybe-installcheck-target-qthreads: installcheck-target-qthreads
29903 installcheck-target-qthreads: \
29904 configure-target-qthreads
29905 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29906 r=`${PWD_COMMAND}`; export r; \
29907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29908 $(SET_LIB_PATH) \
29909 $(NORMAL_TARGET_EXPORTS) \
29910 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
29911 for flag in $(EXTRA_TARGET_FLAGS); do \
29912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29913 done; \
29914 (cd $(TARGET_SUBDIR)/qthreads && \
29915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29917 "RANLIB=$${RANLIB}" \
29918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29919 installcheck) \
29920 || exit 1
29922 @endif target-qthreads
29924 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
29925 maybe-mostlyclean-target-qthreads:
29926 @if target-qthreads
29927 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
29929 mostlyclean-target-qthreads:
29930 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29931 r=`${PWD_COMMAND}`; export r; \
29932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29933 $(SET_LIB_PATH) \
29934 $(NORMAL_TARGET_EXPORTS) \
29935 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
29936 for flag in $(EXTRA_TARGET_FLAGS); do \
29937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29938 done; \
29939 (cd $(TARGET_SUBDIR)/qthreads && \
29940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29942 "RANLIB=$${RANLIB}" \
29943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29944 mostlyclean) \
29945 || exit 1
29947 @endif target-qthreads
29949 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
29950 maybe-clean-target-qthreads:
29951 @if target-qthreads
29952 maybe-clean-target-qthreads: clean-target-qthreads
29954 clean-target-qthreads:
29955 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29956 r=`${PWD_COMMAND}`; export r; \
29957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29958 $(SET_LIB_PATH) \
29959 $(NORMAL_TARGET_EXPORTS) \
29960 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
29961 for flag in $(EXTRA_TARGET_FLAGS); do \
29962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29963 done; \
29964 (cd $(TARGET_SUBDIR)/qthreads && \
29965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29967 "RANLIB=$${RANLIB}" \
29968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29969 clean) \
29970 || exit 1
29972 @endif target-qthreads
29974 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
29975 maybe-distclean-target-qthreads:
29976 @if target-qthreads
29977 maybe-distclean-target-qthreads: distclean-target-qthreads
29979 distclean-target-qthreads:
29980 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29981 r=`${PWD_COMMAND}`; export r; \
29982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29983 $(SET_LIB_PATH) \
29984 $(NORMAL_TARGET_EXPORTS) \
29985 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
29986 for flag in $(EXTRA_TARGET_FLAGS); do \
29987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29988 done; \
29989 (cd $(TARGET_SUBDIR)/qthreads && \
29990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29992 "RANLIB=$${RANLIB}" \
29993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29994 distclean) \
29995 || exit 1
29997 @endif target-qthreads
29999 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
30000 maybe-maintainer-clean-target-qthreads:
30001 @if target-qthreads
30002 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
30004 maintainer-clean-target-qthreads:
30005 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
30006 r=`${PWD_COMMAND}`; export r; \
30007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30008 $(SET_LIB_PATH) \
30009 $(NORMAL_TARGET_EXPORTS) \
30010 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
30011 for flag in $(EXTRA_TARGET_FLAGS); do \
30012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30013 done; \
30014 (cd $(TARGET_SUBDIR)/qthreads && \
30015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30017 "RANLIB=$${RANLIB}" \
30018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30019 maintainer-clean) \
30020 || exit 1
30022 @endif target-qthreads
30025 .PHONY: configure-target-rda maybe-configure-target-rda
30026 maybe-configure-target-rda:
30027 @if target-rda
30028 maybe-configure-target-rda: configure-target-rda
30030 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30031 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
30032 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
30033 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
30034 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
30036 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
30037 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
30038 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
30039 r=`${PWD_COMMAND}`; export r; \
30040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30041 $(SET_LIB_PATH) \
30042 $(NORMAL_TARGET_EXPORTS) \
30043 echo Configuring in $(TARGET_SUBDIR)/rda; \
30044 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
30045 case $(srcdir) in \
30046 /* | [A-Za-z]:[\\/]*) \
30047 topdir=$(srcdir) ;; \
30048 *) \
30049 case "$(TARGET_SUBDIR)" in \
30050 .) topdir="../$(srcdir)" ;; \
30051 *) topdir="../../$(srcdir)" ;; \
30052 esac ;; \
30053 esac; \
30054 srcdiroption="--srcdir=$${topdir}/rda"; \
30055 libsrcdir="$$s/rda"; \
30056 rm -f no-such-file || : ; \
30057 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30058 $(TARGET_CONFIGARGS) $${srcdiroption} \
30059 --with-target-subdir="$(TARGET_SUBDIR)" \
30060 || exit 1
30061 @endif target-rda
30063 .PHONY: all-target-rda maybe-all-target-rda
30064 maybe-all-target-rda:
30065 @if target-rda
30066 TARGET-target-rda=all
30067 maybe-all-target-rda: all-target-rda
30068 all-target-rda: configure-target-rda
30069 @r=`${PWD_COMMAND}`; export r; \
30070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30071 $(SET_LIB_PATH) \
30072 $(NORMAL_TARGET_EXPORTS) \
30073 (cd $(TARGET_SUBDIR)/rda && \
30074 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
30075 @endif target-rda
30077 .PHONY: check-target-rda maybe-check-target-rda
30078 maybe-check-target-rda:
30079 @if target-rda
30080 maybe-check-target-rda: check-target-rda
30082 check-target-rda:
30083 @r=`${PWD_COMMAND}`; export r; \
30084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30085 $(SET_LIB_PATH) \
30086 $(NORMAL_TARGET_EXPORTS) \
30087 (cd $(TARGET_SUBDIR)/rda && \
30088 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30090 @endif target-rda
30092 .PHONY: install-target-rda maybe-install-target-rda
30093 maybe-install-target-rda:
30094 @if target-rda
30095 maybe-install-target-rda: install-target-rda
30097 install-target-rda: installdirs
30098 @r=`${PWD_COMMAND}`; export r; \
30099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30100 $(SET_LIB_PATH) \
30101 $(NORMAL_TARGET_EXPORTS) \
30102 (cd $(TARGET_SUBDIR)/rda && \
30103 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30105 @endif target-rda
30107 # Other targets (info, dvi, etc.)
30109 .PHONY: maybe-info-target-rda info-target-rda
30110 maybe-info-target-rda:
30111 @if target-rda
30112 maybe-info-target-rda: info-target-rda
30114 info-target-rda: \
30115 configure-target-rda
30116 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30117 r=`${PWD_COMMAND}`; export r; \
30118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30119 $(SET_LIB_PATH) \
30120 $(NORMAL_TARGET_EXPORTS) \
30121 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
30122 for flag in $(EXTRA_TARGET_FLAGS); do \
30123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30124 done; \
30125 (cd $(TARGET_SUBDIR)/rda && \
30126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30128 "RANLIB=$${RANLIB}" \
30129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30130 info) \
30131 || exit 1
30133 @endif target-rda
30135 .PHONY: maybe-dvi-target-rda dvi-target-rda
30136 maybe-dvi-target-rda:
30137 @if target-rda
30138 maybe-dvi-target-rda: dvi-target-rda
30140 dvi-target-rda: \
30141 configure-target-rda
30142 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30143 r=`${PWD_COMMAND}`; export r; \
30144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30145 $(SET_LIB_PATH) \
30146 $(NORMAL_TARGET_EXPORTS) \
30147 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
30148 for flag in $(EXTRA_TARGET_FLAGS); do \
30149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30150 done; \
30151 (cd $(TARGET_SUBDIR)/rda && \
30152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30154 "RANLIB=$${RANLIB}" \
30155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30156 dvi) \
30157 || exit 1
30159 @endif target-rda
30161 .PHONY: maybe-html-target-rda html-target-rda
30162 maybe-html-target-rda:
30163 @if target-rda
30164 maybe-html-target-rda: html-target-rda
30166 html-target-rda: \
30167 configure-target-rda
30168 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30169 r=`${PWD_COMMAND}`; export r; \
30170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30171 $(SET_LIB_PATH) \
30172 $(NORMAL_TARGET_EXPORTS) \
30173 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
30174 for flag in $(EXTRA_TARGET_FLAGS); do \
30175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30176 done; \
30177 (cd $(TARGET_SUBDIR)/rda && \
30178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30180 "RANLIB=$${RANLIB}" \
30181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30182 html) \
30183 || exit 1
30185 @endif target-rda
30187 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
30188 maybe-TAGS-target-rda:
30189 @if target-rda
30190 maybe-TAGS-target-rda: TAGS-target-rda
30192 TAGS-target-rda: \
30193 configure-target-rda
30194 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30195 r=`${PWD_COMMAND}`; export r; \
30196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30197 $(SET_LIB_PATH) \
30198 $(NORMAL_TARGET_EXPORTS) \
30199 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
30200 for flag in $(EXTRA_TARGET_FLAGS); do \
30201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30202 done; \
30203 (cd $(TARGET_SUBDIR)/rda && \
30204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30206 "RANLIB=$${RANLIB}" \
30207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30208 TAGS) \
30209 || exit 1
30211 @endif target-rda
30213 .PHONY: maybe-install-info-target-rda install-info-target-rda
30214 maybe-install-info-target-rda:
30215 @if target-rda
30216 maybe-install-info-target-rda: install-info-target-rda
30218 install-info-target-rda: \
30219 configure-target-rda \
30220 info-target-rda
30221 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30222 r=`${PWD_COMMAND}`; export r; \
30223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30224 $(SET_LIB_PATH) \
30225 $(NORMAL_TARGET_EXPORTS) \
30226 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
30227 for flag in $(EXTRA_TARGET_FLAGS); do \
30228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30229 done; \
30230 (cd $(TARGET_SUBDIR)/rda && \
30231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30233 "RANLIB=$${RANLIB}" \
30234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30235 install-info) \
30236 || exit 1
30238 @endif target-rda
30240 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
30241 maybe-installcheck-target-rda:
30242 @if target-rda
30243 maybe-installcheck-target-rda: installcheck-target-rda
30245 installcheck-target-rda: \
30246 configure-target-rda
30247 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30248 r=`${PWD_COMMAND}`; export r; \
30249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30250 $(SET_LIB_PATH) \
30251 $(NORMAL_TARGET_EXPORTS) \
30252 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
30253 for flag in $(EXTRA_TARGET_FLAGS); do \
30254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30255 done; \
30256 (cd $(TARGET_SUBDIR)/rda && \
30257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30259 "RANLIB=$${RANLIB}" \
30260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30261 installcheck) \
30262 || exit 1
30264 @endif target-rda
30266 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
30267 maybe-mostlyclean-target-rda:
30268 @if target-rda
30269 maybe-mostlyclean-target-rda: mostlyclean-target-rda
30271 mostlyclean-target-rda:
30272 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30273 r=`${PWD_COMMAND}`; export r; \
30274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30275 $(SET_LIB_PATH) \
30276 $(NORMAL_TARGET_EXPORTS) \
30277 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
30278 for flag in $(EXTRA_TARGET_FLAGS); do \
30279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30280 done; \
30281 (cd $(TARGET_SUBDIR)/rda && \
30282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30284 "RANLIB=$${RANLIB}" \
30285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30286 mostlyclean) \
30287 || exit 1
30289 @endif target-rda
30291 .PHONY: maybe-clean-target-rda clean-target-rda
30292 maybe-clean-target-rda:
30293 @if target-rda
30294 maybe-clean-target-rda: clean-target-rda
30296 clean-target-rda:
30297 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30298 r=`${PWD_COMMAND}`; export r; \
30299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30300 $(SET_LIB_PATH) \
30301 $(NORMAL_TARGET_EXPORTS) \
30302 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
30303 for flag in $(EXTRA_TARGET_FLAGS); do \
30304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30305 done; \
30306 (cd $(TARGET_SUBDIR)/rda && \
30307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30309 "RANLIB=$${RANLIB}" \
30310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30311 clean) \
30312 || exit 1
30314 @endif target-rda
30316 .PHONY: maybe-distclean-target-rda distclean-target-rda
30317 maybe-distclean-target-rda:
30318 @if target-rda
30319 maybe-distclean-target-rda: distclean-target-rda
30321 distclean-target-rda:
30322 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30323 r=`${PWD_COMMAND}`; export r; \
30324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30325 $(SET_LIB_PATH) \
30326 $(NORMAL_TARGET_EXPORTS) \
30327 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
30328 for flag in $(EXTRA_TARGET_FLAGS); do \
30329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30330 done; \
30331 (cd $(TARGET_SUBDIR)/rda && \
30332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30334 "RANLIB=$${RANLIB}" \
30335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30336 distclean) \
30337 || exit 1
30339 @endif target-rda
30341 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
30342 maybe-maintainer-clean-target-rda:
30343 @if target-rda
30344 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
30346 maintainer-clean-target-rda:
30347 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30348 r=`${PWD_COMMAND}`; export r; \
30349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30350 $(SET_LIB_PATH) \
30351 $(NORMAL_TARGET_EXPORTS) \
30352 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
30353 for flag in $(EXTRA_TARGET_FLAGS); do \
30354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30355 done; \
30356 (cd $(TARGET_SUBDIR)/rda && \
30357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30359 "RANLIB=$${RANLIB}" \
30360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30361 maintainer-clean) \
30362 || exit 1
30364 @endif target-rda
30367 .PHONY: configure-target-libada maybe-configure-target-libada
30368 maybe-configure-target-libada:
30369 @if target-libada
30370 maybe-configure-target-libada: configure-target-libada
30372 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30373 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
30374 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30375 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
30376 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
30378 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
30379 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
30380 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30381 r=`${PWD_COMMAND}`; export r; \
30382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30383 $(SET_LIB_PATH) \
30384 $(NORMAL_TARGET_EXPORTS) \
30385 echo Configuring in $(TARGET_SUBDIR)/libada; \
30386 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
30387 case $(srcdir) in \
30388 /* | [A-Za-z]:[\\/]*) \
30389 topdir=$(srcdir) ;; \
30390 *) \
30391 case "$(TARGET_SUBDIR)" in \
30392 .) topdir="../$(srcdir)" ;; \
30393 *) topdir="../../$(srcdir)" ;; \
30394 esac ;; \
30395 esac; \
30396 srcdiroption="--srcdir=$${topdir}/libada"; \
30397 libsrcdir="$$s/libada"; \
30398 rm -f no-such-file || : ; \
30399 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30400 $(TARGET_CONFIGARGS) $${srcdiroption} \
30401 --with-target-subdir="$(TARGET_SUBDIR)" \
30402 || exit 1
30403 @endif target-libada
30405 .PHONY: all-target-libada maybe-all-target-libada
30406 maybe-all-target-libada:
30407 @if target-libada
30408 TARGET-target-libada=all
30409 maybe-all-target-libada: all-target-libada
30410 all-target-libada: configure-target-libada
30411 @r=`${PWD_COMMAND}`; export r; \
30412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30413 $(SET_LIB_PATH) \
30414 $(NORMAL_TARGET_EXPORTS) \
30415 (cd $(TARGET_SUBDIR)/libada && \
30416 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
30417 @endif target-libada
30419 .PHONY: check-target-libada maybe-check-target-libada
30420 maybe-check-target-libada:
30421 @if target-libada
30422 maybe-check-target-libada: check-target-libada
30424 check-target-libada:
30425 @r=`${PWD_COMMAND}`; export r; \
30426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30427 $(SET_LIB_PATH) \
30428 $(NORMAL_TARGET_EXPORTS) \
30429 (cd $(TARGET_SUBDIR)/libada && \
30430 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30432 @endif target-libada
30434 .PHONY: install-target-libada maybe-install-target-libada
30435 maybe-install-target-libada:
30436 @if target-libada
30437 maybe-install-target-libada: install-target-libada
30439 install-target-libada: installdirs
30440 @r=`${PWD_COMMAND}`; export r; \
30441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30442 $(SET_LIB_PATH) \
30443 $(NORMAL_TARGET_EXPORTS) \
30444 (cd $(TARGET_SUBDIR)/libada && \
30445 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30447 @endif target-libada
30449 # Other targets (info, dvi, etc.)
30451 .PHONY: maybe-info-target-libada info-target-libada
30452 maybe-info-target-libada:
30453 @if target-libada
30454 maybe-info-target-libada: info-target-libada
30456 info-target-libada: \
30457 configure-target-libada
30458 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30459 r=`${PWD_COMMAND}`; export r; \
30460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30461 $(SET_LIB_PATH) \
30462 $(NORMAL_TARGET_EXPORTS) \
30463 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
30464 for flag in $(EXTRA_TARGET_FLAGS); do \
30465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30466 done; \
30467 (cd $(TARGET_SUBDIR)/libada && \
30468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30470 "RANLIB=$${RANLIB}" \
30471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30472 info) \
30473 || exit 1
30475 @endif target-libada
30477 .PHONY: maybe-dvi-target-libada dvi-target-libada
30478 maybe-dvi-target-libada:
30479 @if target-libada
30480 maybe-dvi-target-libada: dvi-target-libada
30482 dvi-target-libada: \
30483 configure-target-libada
30484 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30485 r=`${PWD_COMMAND}`; export r; \
30486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30487 $(SET_LIB_PATH) \
30488 $(NORMAL_TARGET_EXPORTS) \
30489 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
30490 for flag in $(EXTRA_TARGET_FLAGS); do \
30491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30492 done; \
30493 (cd $(TARGET_SUBDIR)/libada && \
30494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30496 "RANLIB=$${RANLIB}" \
30497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30498 dvi) \
30499 || exit 1
30501 @endif target-libada
30503 .PHONY: maybe-html-target-libada html-target-libada
30504 maybe-html-target-libada:
30505 @if target-libada
30506 maybe-html-target-libada: html-target-libada
30508 html-target-libada: \
30509 configure-target-libada
30510 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30511 r=`${PWD_COMMAND}`; export r; \
30512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30513 $(SET_LIB_PATH) \
30514 $(NORMAL_TARGET_EXPORTS) \
30515 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
30516 for flag in $(EXTRA_TARGET_FLAGS); do \
30517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30518 done; \
30519 (cd $(TARGET_SUBDIR)/libada && \
30520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30522 "RANLIB=$${RANLIB}" \
30523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30524 html) \
30525 || exit 1
30527 @endif target-libada
30529 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
30530 maybe-TAGS-target-libada:
30531 @if target-libada
30532 maybe-TAGS-target-libada: TAGS-target-libada
30534 TAGS-target-libada: \
30535 configure-target-libada
30536 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30537 r=`${PWD_COMMAND}`; export r; \
30538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30539 $(SET_LIB_PATH) \
30540 $(NORMAL_TARGET_EXPORTS) \
30541 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
30542 for flag in $(EXTRA_TARGET_FLAGS); do \
30543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30544 done; \
30545 (cd $(TARGET_SUBDIR)/libada && \
30546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30548 "RANLIB=$${RANLIB}" \
30549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30550 TAGS) \
30551 || exit 1
30553 @endif target-libada
30555 .PHONY: maybe-install-info-target-libada install-info-target-libada
30556 maybe-install-info-target-libada:
30557 @if target-libada
30558 maybe-install-info-target-libada: install-info-target-libada
30560 install-info-target-libada: \
30561 configure-target-libada \
30562 info-target-libada
30563 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30564 r=`${PWD_COMMAND}`; export r; \
30565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30566 $(SET_LIB_PATH) \
30567 $(NORMAL_TARGET_EXPORTS) \
30568 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
30569 for flag in $(EXTRA_TARGET_FLAGS); do \
30570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30571 done; \
30572 (cd $(TARGET_SUBDIR)/libada && \
30573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30575 "RANLIB=$${RANLIB}" \
30576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30577 install-info) \
30578 || exit 1
30580 @endif target-libada
30582 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
30583 maybe-installcheck-target-libada:
30584 @if target-libada
30585 maybe-installcheck-target-libada: installcheck-target-libada
30587 installcheck-target-libada: \
30588 configure-target-libada
30589 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30590 r=`${PWD_COMMAND}`; export r; \
30591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30592 $(SET_LIB_PATH) \
30593 $(NORMAL_TARGET_EXPORTS) \
30594 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
30595 for flag in $(EXTRA_TARGET_FLAGS); do \
30596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30597 done; \
30598 (cd $(TARGET_SUBDIR)/libada && \
30599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30601 "RANLIB=$${RANLIB}" \
30602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30603 installcheck) \
30604 || exit 1
30606 @endif target-libada
30608 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
30609 maybe-mostlyclean-target-libada:
30610 @if target-libada
30611 maybe-mostlyclean-target-libada: mostlyclean-target-libada
30613 mostlyclean-target-libada:
30614 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30615 r=`${PWD_COMMAND}`; export r; \
30616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30617 $(SET_LIB_PATH) \
30618 $(NORMAL_TARGET_EXPORTS) \
30619 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
30620 for flag in $(EXTRA_TARGET_FLAGS); do \
30621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30622 done; \
30623 (cd $(TARGET_SUBDIR)/libada && \
30624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30626 "RANLIB=$${RANLIB}" \
30627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30628 mostlyclean) \
30629 || exit 1
30631 @endif target-libada
30633 .PHONY: maybe-clean-target-libada clean-target-libada
30634 maybe-clean-target-libada:
30635 @if target-libada
30636 maybe-clean-target-libada: clean-target-libada
30638 clean-target-libada:
30639 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30640 r=`${PWD_COMMAND}`; export r; \
30641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30642 $(SET_LIB_PATH) \
30643 $(NORMAL_TARGET_EXPORTS) \
30644 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
30645 for flag in $(EXTRA_TARGET_FLAGS); do \
30646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30647 done; \
30648 (cd $(TARGET_SUBDIR)/libada && \
30649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30651 "RANLIB=$${RANLIB}" \
30652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30653 clean) \
30654 || exit 1
30656 @endif target-libada
30658 .PHONY: maybe-distclean-target-libada distclean-target-libada
30659 maybe-distclean-target-libada:
30660 @if target-libada
30661 maybe-distclean-target-libada: distclean-target-libada
30663 distclean-target-libada:
30664 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30665 r=`${PWD_COMMAND}`; export r; \
30666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30667 $(SET_LIB_PATH) \
30668 $(NORMAL_TARGET_EXPORTS) \
30669 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
30670 for flag in $(EXTRA_TARGET_FLAGS); do \
30671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30672 done; \
30673 (cd $(TARGET_SUBDIR)/libada && \
30674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30676 "RANLIB=$${RANLIB}" \
30677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30678 distclean) \
30679 || exit 1
30681 @endif target-libada
30683 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
30684 maybe-maintainer-clean-target-libada:
30685 @if target-libada
30686 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
30688 maintainer-clean-target-libada:
30689 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30690 r=`${PWD_COMMAND}`; export r; \
30691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30692 $(SET_LIB_PATH) \
30693 $(NORMAL_TARGET_EXPORTS) \
30694 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
30695 for flag in $(EXTRA_TARGET_FLAGS); do \
30696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30697 done; \
30698 (cd $(TARGET_SUBDIR)/libada && \
30699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30701 "RANLIB=$${RANLIB}" \
30702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30703 maintainer-clean) \
30704 || exit 1
30706 @endif target-libada
30710 # ----------
30711 # GCC module
30712 # ----------
30714 @if gcc-no-bootstrap
30715 # GCC has some more recursive targets, which trigger the old
30716 # (but still current, until the toplevel bootstrap project
30717 # is finished) compiler bootstrapping rules.
30719 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
30720 .PHONY: $(GCC_STRAP_TARGETS)
30721 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
30722 @r=`${PWD_COMMAND}`; export r; \
30723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30724 $(SET_LIB_PATH) \
30725 $(HOST_EXPORTS) \
30726 echo "Bootstrapping the compiler"; \
30727 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
30728 @r=`${PWD_COMMAND}`; export r; \
30729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30730 case "$@" in \
30731 *bootstrap4-lean ) \
30732 msg="Comparing stage3 and stage4 of the compiler"; \
30733 compare=compare3-lean ;; \
30734 *bootstrap4 ) \
30735 msg="Comparing stage3 and stage4 of the compiler"; \
30736 compare=compare3 ;; \
30737 *-lean ) \
30738 msg="Comparing stage2 and stage3 of the compiler"; \
30739 compare=compare-lean ;; \
30740 * ) \
30741 msg="Comparing stage2 and stage3 of the compiler"; \
30742 compare=compare ;; \
30743 esac; \
30744 $(SET_LIB_PATH) \
30745 $(HOST_EXPORTS) \
30746 echo "$$msg"; \
30747 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
30748 @r=`${PWD_COMMAND}`; export r; \
30749 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30750 $(SET_LIB_PATH) \
30751 echo "Building runtime libraries"; \
30752 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30754 profiledbootstrap: all-prebootstrap configure-gcc
30755 @r=`${PWD_COMMAND}`; export r; \
30756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30757 $(SET_LIB_PATH) \
30758 $(HOST_EXPORTS) \
30759 echo "Bootstrapping training compiler"; \
30760 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
30761 @r=`${PWD_COMMAND}`; export r; \
30762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30763 $(SET_LIB_PATH) \
30764 $(HOST_EXPORTS) \
30765 echo "Building feedback based compiler"; \
30766 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
30767 @r=`${PWD_COMMAND}`; export r; \
30768 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30769 $(SET_LIB_PATH) \
30770 echo "Building runtime libraries"; \
30771 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30773 .PHONY: cross
30774 cross: all-build all-gas all-ld
30775 @r=`${PWD_COMMAND}`; export r; \
30776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30777 $(SET_LIB_PATH) \
30778 $(HOST_EXPORTS) \
30779 echo "Building the C and C++ compiler"; \
30780 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
30781 @r=`${PWD_COMMAND}`; export r; \
30782 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30783 $(SET_LIB_PATH) \
30784 echo "Building runtime libraries"; \
30785 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
30786 @endif gcc-no-bootstrap
30788 @if gcc
30789 .PHONY: check-gcc-c++
30790 check-gcc-c++:
30791 @if [ -f ./gcc/Makefile ] ; then \
30792 r=`${PWD_COMMAND}`; export r; \
30793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30794 $(SET_LIB_PATH) \
30795 $(HOST_EXPORTS) \
30796 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
30797 else \
30798 true; \
30801 .PHONY: check-c++
30802 check-c++: check-target-libstdc++-v3 check-gcc-c++
30804 # Install the gcc headers files, but not the fixed include files,
30805 # which Cygnus is not allowed to distribute. This rule is very
30806 # dependent on the workings of the gcc Makefile.in.
30807 .PHONY: gcc-no-fixedincludes
30808 gcc-no-fixedincludes:
30809 @if [ -f ./gcc/Makefile ]; then \
30810 rm -rf gcc/tmp-include; \
30811 mv gcc/include gcc/tmp-include 2>/dev/null; \
30812 mkdir gcc/include; \
30813 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
30814 touch gcc/stmp-fixinc gcc/include/fixed; \
30815 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
30816 r=`${PWD_COMMAND}`; export r; \
30817 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30818 $(SET_LIB_PATH) \
30819 $(HOST_EXPORTS) \
30820 (cd ./gcc && \
30821 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
30822 rm -rf gcc/include; \
30823 mv gcc/tmp-include gcc/include 2>/dev/null; \
30824 else true; fi
30825 @endif gcc
30827 # ---------------------
30828 # GCC bootstrap support
30829 # ---------------------
30831 # We track the current stage (the one in 'gcc') in the stage_current file.
30832 # stage_last instead tracks the stage that was built last. These targets
30833 # are dummy when toplevel bootstrap is not active.
30835 .PHONY: unstage
30836 unstage:
30837 @if gcc-bootstrap
30838 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
30839 @endif gcc-bootstrap
30841 .PHONY: stage
30842 stage:
30843 @if gcc-bootstrap
30844 @$(MAKE) `cat stage_current`-end
30845 @endif gcc-bootstrap
30847 # We name the build directories for the various stages "stage1-gcc",
30848 # "stage2-gcc","stage3-gcc", etc.
30850 # Since the 'compare' process will fail (on debugging information) if any
30851 # directory names are different, we need to link the gcc directory for
30852 # the previous stage to a constant name ('gcc-prev'), and to make the name of
30853 # the build directories constant as well. For the latter, we use naked names
30854 # like 'gcc', because the scripts in that directory assume it. We use
30855 # mv on platforms where symlinks to directories do not work or are not
30856 # reliable.
30858 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
30859 # be kept, so that libraries can find it. Ick!
30861 # It would be best to preinstall gcc into a staging area (and in the
30862 # future, gather there all prebootstrap packages). This would allow
30863 # assemblers and linkers can be bootstrapped as well as the compiler
30864 # (both in a combined tree, or separately). This however requires some
30865 # change to the gcc driver, again in order to avoid comparison failures.
30867 # Bugs: This is crippled when doing parallel make, the `make all-host'
30868 # and `make all-target' phases can be parallelized.
30871 # 'touch' doesn't work right on some platforms.
30872 STAMP = echo timestamp >
30874 # Only build the C compiler for stage1, because that is the only one that
30875 # we can guarantee will build with the native compiler, and also it is the
30876 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
30877 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
30878 # overrideable (for a bootstrap build stage1 also builds gcc.info).
30880 STAGE1_CFLAGS=@stage1_cflags@
30881 STAGE1_LANGUAGES=@stage1_languages@
30883 # We only want to compare .o files, so set this!
30884 objext = .o
30886 # Flags to pass to stage2 and later makes.
30887 POSTSTAGE1_FLAGS_TO_PASS = \
30888 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
30889 STAGE_PREFIX=$$r/stage-gcc/ \
30890 CFLAGS="$(BOOT_CFLAGS)" \
30891 ADAC="\$$(CC)"
30893 # For stage 1:
30894 # * We force-disable intermodule optimizations, even if
30895 # --enable-intermodule was passed, since the installed compiler probably
30896 # can't handle them. Luckily, autoconf always respects
30897 # the last argument when conflicting --enable arguments are passed.
30898 # * Likewise, we force-disable coverage flags, since the installed compiler
30899 # probably has never heard of them.
30900 # * We build only C (and possibly Ada).
30903 .PHONY: stage1-start stage1-end
30905 stage1-start::
30906 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30907 echo stage1 > stage_current ; \
30908 echo stage1 > stage_last
30909 @if bfd
30910 @[ -d stage1-bfd ] || mkdir stage1-bfd; \
30911 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
30912 @endif bfd
30913 @if opcodes
30914 @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
30915 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
30916 @endif opcodes
30917 @if binutils
30918 @[ -d stage1-binutils ] || mkdir stage1-binutils; \
30919 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
30920 @endif binutils
30921 @if gas
30922 @[ -d stage1-gas ] || mkdir stage1-gas; \
30923 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
30924 @endif gas
30925 @if gcc
30926 @[ -d stage1-gcc ] || mkdir stage1-gcc; \
30927 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
30928 @endif gcc
30929 @if intl
30930 @[ -d stage1-intl ] || mkdir stage1-intl; \
30931 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
30932 @endif intl
30933 @if ld
30934 @[ -d stage1-ld ] || mkdir stage1-ld; \
30935 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
30936 @endif ld
30937 @if libcpp
30938 @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
30939 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
30940 @endif libcpp
30941 @if libiberty
30942 @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
30943 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
30944 @endif libiberty
30945 @if zlib
30946 @[ -d stage1-zlib ] || mkdir stage1-zlib; \
30947 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
30948 @endif zlib
30950 stage1-end::
30951 @rm -f stage_current
30952 @if bfd
30953 @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
30954 @endif bfd
30955 @if opcodes
30956 @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
30957 @endif opcodes
30958 @if binutils
30959 @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
30960 @endif binutils
30961 @if gas
30962 @set gas stage1-gas ; @UNDO_LINK_TO_DIR@
30963 @endif gas
30964 @if gcc
30965 @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
30966 @endif gcc
30967 @if intl
30968 @set intl stage1-intl ; @UNDO_LINK_TO_DIR@
30969 @endif intl
30970 @if ld
30971 @set ld stage1-ld ; @UNDO_LINK_TO_DIR@
30972 @endif ld
30973 @if libcpp
30974 @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
30975 @endif libcpp
30976 @if libiberty
30977 @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
30978 @endif libiberty
30979 @if zlib
30980 @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
30981 @endif zlib
30983 # Bubble a bugfix through all the stages up to stage 1. They
30984 # are remade, but not reconfigured. The next stage (if any) will not
30985 # be reconfigured as well.
30986 .PHONY: stage1-bubble
30987 stage1-bubble::
30988 @if test -f stage1-lean ; then \
30989 echo Skipping rebuild of stage1 ; \
30990 else \
30991 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
30994 .PHONY: all-stage1 clean-stage1
30995 all-stage1: \
30996 maybe-all-stage1-bfd \
30997 maybe-all-stage1-opcodes \
30998 maybe-all-stage1-binutils \
30999 maybe-all-stage1-gas \
31000 maybe-all-stage1-gcc \
31001 maybe-all-stage1-intl \
31002 maybe-all-stage1-ld \
31003 maybe-all-stage1-libcpp \
31004 maybe-all-stage1-libiberty \
31005 maybe-all-stage1-zlib
31007 do-clean: clean-stage1
31008 clean-stage1: \
31009 maybe-clean-stage1-bfd \
31010 maybe-clean-stage1-opcodes \
31011 maybe-clean-stage1-binutils \
31012 maybe-clean-stage1-gas \
31013 maybe-clean-stage1-gcc \
31014 maybe-clean-stage1-intl \
31015 maybe-clean-stage1-ld \
31016 maybe-clean-stage1-libcpp \
31017 maybe-clean-stage1-libiberty \
31018 maybe-clean-stage1-zlib
31021 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
31022 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
31023 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
31025 maybe-configure-stage1-bfd:
31026 maybe-all-stage1-bfd:
31027 maybe-clean-stage1-bfd:
31029 @if bfd-bootstrap
31030 maybe-configure-stage1-bfd: configure-stage1-bfd
31031 configure-stage1-bfd:
31032 @$(MAKE) stage1-start
31033 @[ -f bfd/Makefile ] && exit 0 || : ; \
31034 r=`${PWD_COMMAND}`; export r; \
31035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31036 $(HOST_EXPORTS) \
31037 echo Configuring stage 1 in bfd ; \
31038 cd bfd || exit 1; \
31039 case $(srcdir) in \
31040 \.) \
31041 srcdiroption="--srcdir=."; \
31042 libsrcdir=".";; \
31043 /* | [A-Za-z]:[\\/]*) \
31044 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31045 libsrcdir="$$s/bfd";; \
31046 *) \
31047 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31048 libsrcdir="$$s/bfd";; \
31049 esac; \
31050 $(SHELL) $${libsrcdir}/configure \
31051 $(HOST_CONFIGARGS) $${srcdiroption} \
31052 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31054 maybe-all-stage1-bfd: all-stage1-bfd
31055 all-stage1-bfd: configure-stage1-bfd
31056 @$(MAKE) stage1-start
31057 @r=`${PWD_COMMAND}`; export r; \
31058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31059 $(HOST_EXPORTS) \
31060 cd bfd && \
31061 $(MAKE) $(FLAGS_TO_PASS) \
31062 CFLAGS="$(STAGE1_CFLAGS)"
31064 maybe-clean-stage1-bfd: clean-stage1-bfd
31065 clean-stage1-bfd:
31066 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
31067 || exit 0 ; \
31068 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
31069 cd bfd && \
31070 $(MAKE) $(FLAGS_TO_PASS) \
31071 CFLAGS="$(STAGE1_CFLAGS)" clean
31072 @endif bfd-bootstrap
31075 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
31076 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
31077 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
31079 maybe-configure-stage1-opcodes:
31080 maybe-all-stage1-opcodes:
31081 maybe-clean-stage1-opcodes:
31083 @if opcodes-bootstrap
31084 maybe-configure-stage1-opcodes: configure-stage1-opcodes
31085 configure-stage1-opcodes:
31086 @$(MAKE) stage1-start
31087 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31088 r=`${PWD_COMMAND}`; export r; \
31089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31090 $(HOST_EXPORTS) \
31091 echo Configuring stage 1 in opcodes ; \
31092 cd opcodes || exit 1; \
31093 case $(srcdir) in \
31094 \.) \
31095 srcdiroption="--srcdir=."; \
31096 libsrcdir=".";; \
31097 /* | [A-Za-z]:[\\/]*) \
31098 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31099 libsrcdir="$$s/opcodes";; \
31100 *) \
31101 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31102 libsrcdir="$$s/opcodes";; \
31103 esac; \
31104 $(SHELL) $${libsrcdir}/configure \
31105 $(HOST_CONFIGARGS) $${srcdiroption} \
31106 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31108 maybe-all-stage1-opcodes: all-stage1-opcodes
31109 all-stage1-opcodes: configure-stage1-opcodes
31110 @$(MAKE) stage1-start
31111 @r=`${PWD_COMMAND}`; export r; \
31112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31113 $(HOST_EXPORTS) \
31114 cd opcodes && \
31115 $(MAKE) $(FLAGS_TO_PASS) \
31116 CFLAGS="$(STAGE1_CFLAGS)"
31118 maybe-clean-stage1-opcodes: clean-stage1-opcodes
31119 clean-stage1-opcodes:
31120 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
31121 || exit 0 ; \
31122 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
31123 cd opcodes && \
31124 $(MAKE) $(FLAGS_TO_PASS) \
31125 CFLAGS="$(STAGE1_CFLAGS)" clean
31126 @endif opcodes-bootstrap
31129 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
31130 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
31131 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
31133 maybe-configure-stage1-binutils:
31134 maybe-all-stage1-binutils:
31135 maybe-clean-stage1-binutils:
31137 @if binutils-bootstrap
31138 maybe-configure-stage1-binutils: configure-stage1-binutils
31139 configure-stage1-binutils:
31140 @$(MAKE) stage1-start
31141 @[ -f binutils/Makefile ] && exit 0 || : ; \
31142 r=`${PWD_COMMAND}`; export r; \
31143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31144 $(HOST_EXPORTS) \
31145 echo Configuring stage 1 in binutils ; \
31146 cd binutils || exit 1; \
31147 case $(srcdir) in \
31148 \.) \
31149 srcdiroption="--srcdir=."; \
31150 libsrcdir=".";; \
31151 /* | [A-Za-z]:[\\/]*) \
31152 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31153 libsrcdir="$$s/binutils";; \
31154 *) \
31155 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31156 libsrcdir="$$s/binutils";; \
31157 esac; \
31158 $(SHELL) $${libsrcdir}/configure \
31159 $(HOST_CONFIGARGS) $${srcdiroption} \
31160 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31162 maybe-all-stage1-binutils: all-stage1-binutils
31163 all-stage1-binutils: configure-stage1-binutils
31164 @$(MAKE) stage1-start
31165 @r=`${PWD_COMMAND}`; export r; \
31166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31167 $(HOST_EXPORTS) \
31168 cd binutils && \
31169 $(MAKE) $(FLAGS_TO_PASS) \
31170 CFLAGS="$(STAGE1_CFLAGS)"
31172 maybe-clean-stage1-binutils: clean-stage1-binutils
31173 clean-stage1-binutils:
31174 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
31175 || exit 0 ; \
31176 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
31177 cd binutils && \
31178 $(MAKE) $(FLAGS_TO_PASS) \
31179 CFLAGS="$(STAGE1_CFLAGS)" clean
31180 @endif binutils-bootstrap
31183 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
31184 .PHONY: all-stage1-gas maybe-all-stage1-gas
31185 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
31187 maybe-configure-stage1-gas:
31188 maybe-all-stage1-gas:
31189 maybe-clean-stage1-gas:
31191 @if gas-bootstrap
31192 maybe-configure-stage1-gas: configure-stage1-gas
31193 configure-stage1-gas:
31194 @$(MAKE) stage1-start
31195 @[ -f gas/Makefile ] && exit 0 || : ; \
31196 r=`${PWD_COMMAND}`; export r; \
31197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31198 $(HOST_EXPORTS) \
31199 echo Configuring stage 1 in gas ; \
31200 cd gas || exit 1; \
31201 case $(srcdir) in \
31202 \.) \
31203 srcdiroption="--srcdir=."; \
31204 libsrcdir=".";; \
31205 /* | [A-Za-z]:[\\/]*) \
31206 srcdiroption="--srcdir=$(srcdir)/gas"; \
31207 libsrcdir="$$s/gas";; \
31208 *) \
31209 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31210 libsrcdir="$$s/gas";; \
31211 esac; \
31212 $(SHELL) $${libsrcdir}/configure \
31213 $(HOST_CONFIGARGS) $${srcdiroption} \
31214 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31216 maybe-all-stage1-gas: all-stage1-gas
31217 all-stage1-gas: configure-stage1-gas
31218 @$(MAKE) stage1-start
31219 @r=`${PWD_COMMAND}`; export r; \
31220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31221 $(HOST_EXPORTS) \
31222 cd gas && \
31223 $(MAKE) $(FLAGS_TO_PASS) \
31224 CFLAGS="$(STAGE1_CFLAGS)"
31226 maybe-clean-stage1-gas: clean-stage1-gas
31227 clean-stage1-gas:
31228 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
31229 || exit 0 ; \
31230 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
31231 cd gas && \
31232 $(MAKE) $(FLAGS_TO_PASS) \
31233 CFLAGS="$(STAGE1_CFLAGS)" clean
31234 @endif gas-bootstrap
31237 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
31238 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
31239 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
31241 maybe-configure-stage1-gcc:
31242 maybe-all-stage1-gcc:
31243 maybe-clean-stage1-gcc:
31245 @if gcc-bootstrap
31246 maybe-configure-stage1-gcc: configure-stage1-gcc
31247 configure-stage1-gcc:
31248 @$(MAKE) stage1-start
31249 @[ -f gcc/Makefile ] && exit 0 || : ; \
31250 r=`${PWD_COMMAND}`; export r; \
31251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31252 $(HOST_EXPORTS) \
31253 echo Configuring stage 1 in gcc ; \
31254 cd gcc || exit 1; \
31255 case $(srcdir) in \
31256 \.) \
31257 srcdiroption="--srcdir=."; \
31258 libsrcdir=".";; \
31259 /* | [A-Za-z]:[\\/]*) \
31260 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31261 libsrcdir="$$s/gcc";; \
31262 *) \
31263 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31264 libsrcdir="$$s/gcc";; \
31265 esac; \
31266 $(SHELL) $${libsrcdir}/configure \
31267 $(HOST_CONFIGARGS) $${srcdiroption} \
31268 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31270 maybe-all-stage1-gcc: all-stage1-gcc
31271 all-stage1-gcc: configure-stage1-gcc
31272 @$(MAKE) stage1-start
31273 @r=`${PWD_COMMAND}`; export r; \
31274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31275 $(HOST_EXPORTS) \
31276 cd gcc && \
31277 $(MAKE) $(FLAGS_TO_PASS) \
31278 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
31280 maybe-clean-stage1-gcc: clean-stage1-gcc
31281 clean-stage1-gcc:
31282 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
31283 || exit 0 ; \
31284 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
31285 cd gcc && \
31286 $(MAKE) $(FLAGS_TO_PASS) \
31287 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
31288 @endif gcc-bootstrap
31291 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
31292 .PHONY: all-stage1-intl maybe-all-stage1-intl
31293 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
31295 maybe-configure-stage1-intl:
31296 maybe-all-stage1-intl:
31297 maybe-clean-stage1-intl:
31299 @if intl-bootstrap
31300 maybe-configure-stage1-intl: configure-stage1-intl
31301 configure-stage1-intl:
31302 @$(MAKE) stage1-start
31303 @[ -f intl/Makefile ] && exit 0 || : ; \
31304 r=`${PWD_COMMAND}`; export r; \
31305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31306 $(HOST_EXPORTS) \
31307 echo Configuring stage 1 in intl ; \
31308 cd intl || exit 1; \
31309 case $(srcdir) in \
31310 \.) \
31311 srcdiroption="--srcdir=."; \
31312 libsrcdir=".";; \
31313 /* | [A-Za-z]:[\\/]*) \
31314 srcdiroption="--srcdir=$(srcdir)/intl"; \
31315 libsrcdir="$$s/intl";; \
31316 *) \
31317 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31318 libsrcdir="$$s/intl";; \
31319 esac; \
31320 $(SHELL) $${libsrcdir}/configure \
31321 $(HOST_CONFIGARGS) $${srcdiroption} \
31322 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31324 maybe-all-stage1-intl: all-stage1-intl
31325 all-stage1-intl: configure-stage1-intl
31326 @$(MAKE) stage1-start
31327 @r=`${PWD_COMMAND}`; export r; \
31328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31329 $(HOST_EXPORTS) \
31330 cd intl && \
31331 $(MAKE) $(FLAGS_TO_PASS) \
31332 CFLAGS="$(STAGE1_CFLAGS)"
31334 maybe-clean-stage1-intl: clean-stage1-intl
31335 clean-stage1-intl:
31336 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
31337 || exit 0 ; \
31338 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
31339 cd intl && \
31340 $(MAKE) $(FLAGS_TO_PASS) \
31341 CFLAGS="$(STAGE1_CFLAGS)" clean
31342 @endif intl-bootstrap
31345 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
31346 .PHONY: all-stage1-ld maybe-all-stage1-ld
31347 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
31349 maybe-configure-stage1-ld:
31350 maybe-all-stage1-ld:
31351 maybe-clean-stage1-ld:
31353 @if ld-bootstrap
31354 maybe-configure-stage1-ld: configure-stage1-ld
31355 configure-stage1-ld:
31356 @$(MAKE) stage1-start
31357 @[ -f ld/Makefile ] && exit 0 || : ; \
31358 r=`${PWD_COMMAND}`; export r; \
31359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31360 $(HOST_EXPORTS) \
31361 echo Configuring stage 1 in ld ; \
31362 cd ld || exit 1; \
31363 case $(srcdir) in \
31364 \.) \
31365 srcdiroption="--srcdir=."; \
31366 libsrcdir=".";; \
31367 /* | [A-Za-z]:[\\/]*) \
31368 srcdiroption="--srcdir=$(srcdir)/ld"; \
31369 libsrcdir="$$s/ld";; \
31370 *) \
31371 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31372 libsrcdir="$$s/ld";; \
31373 esac; \
31374 $(SHELL) $${libsrcdir}/configure \
31375 $(HOST_CONFIGARGS) $${srcdiroption} \
31376 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31378 maybe-all-stage1-ld: all-stage1-ld
31379 all-stage1-ld: configure-stage1-ld
31380 @$(MAKE) stage1-start
31381 @r=`${PWD_COMMAND}`; export r; \
31382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31383 $(HOST_EXPORTS) \
31384 cd ld && \
31385 $(MAKE) $(FLAGS_TO_PASS) \
31386 CFLAGS="$(STAGE1_CFLAGS)"
31388 maybe-clean-stage1-ld: clean-stage1-ld
31389 clean-stage1-ld:
31390 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
31391 || exit 0 ; \
31392 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
31393 cd ld && \
31394 $(MAKE) $(FLAGS_TO_PASS) \
31395 CFLAGS="$(STAGE1_CFLAGS)" clean
31396 @endif ld-bootstrap
31399 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
31400 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
31401 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
31403 maybe-configure-stage1-libcpp:
31404 maybe-all-stage1-libcpp:
31405 maybe-clean-stage1-libcpp:
31407 @if libcpp-bootstrap
31408 maybe-configure-stage1-libcpp: configure-stage1-libcpp
31409 configure-stage1-libcpp:
31410 @$(MAKE) stage1-start
31411 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31412 r=`${PWD_COMMAND}`; export r; \
31413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31414 $(HOST_EXPORTS) \
31415 echo Configuring stage 1 in libcpp ; \
31416 cd libcpp || exit 1; \
31417 case $(srcdir) in \
31418 \.) \
31419 srcdiroption="--srcdir=."; \
31420 libsrcdir=".";; \
31421 /* | [A-Za-z]:[\\/]*) \
31422 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31423 libsrcdir="$$s/libcpp";; \
31424 *) \
31425 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31426 libsrcdir="$$s/libcpp";; \
31427 esac; \
31428 $(SHELL) $${libsrcdir}/configure \
31429 $(HOST_CONFIGARGS) $${srcdiroption} \
31430 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31432 maybe-all-stage1-libcpp: all-stage1-libcpp
31433 all-stage1-libcpp: configure-stage1-libcpp
31434 @$(MAKE) stage1-start
31435 @r=`${PWD_COMMAND}`; export r; \
31436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31437 $(HOST_EXPORTS) \
31438 cd libcpp && \
31439 $(MAKE) $(FLAGS_TO_PASS) \
31440 CFLAGS="$(STAGE1_CFLAGS)"
31442 maybe-clean-stage1-libcpp: clean-stage1-libcpp
31443 clean-stage1-libcpp:
31444 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
31445 || exit 0 ; \
31446 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
31447 cd libcpp && \
31448 $(MAKE) $(FLAGS_TO_PASS) \
31449 CFLAGS="$(STAGE1_CFLAGS)" clean
31450 @endif libcpp-bootstrap
31453 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
31454 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
31455 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
31457 maybe-configure-stage1-libiberty:
31458 maybe-all-stage1-libiberty:
31459 maybe-clean-stage1-libiberty:
31461 @if libiberty-bootstrap
31462 maybe-configure-stage1-libiberty: configure-stage1-libiberty
31463 configure-stage1-libiberty:
31464 @$(MAKE) stage1-start
31465 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31466 r=`${PWD_COMMAND}`; export r; \
31467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31468 $(HOST_EXPORTS) \
31469 echo Configuring stage 1 in libiberty ; \
31470 cd libiberty || exit 1; \
31471 case $(srcdir) in \
31472 \.) \
31473 srcdiroption="--srcdir=."; \
31474 libsrcdir=".";; \
31475 /* | [A-Za-z]:[\\/]*) \
31476 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31477 libsrcdir="$$s/libiberty";; \
31478 *) \
31479 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31480 libsrcdir="$$s/libiberty";; \
31481 esac; \
31482 $(SHELL) $${libsrcdir}/configure \
31483 $(HOST_CONFIGARGS) $${srcdiroption} \
31484 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31486 maybe-all-stage1-libiberty: all-stage1-libiberty
31487 all-stage1-libiberty: configure-stage1-libiberty
31488 @$(MAKE) stage1-start
31489 @r=`${PWD_COMMAND}`; export r; \
31490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31491 $(HOST_EXPORTS) \
31492 cd libiberty && \
31493 $(MAKE) $(FLAGS_TO_PASS) \
31494 CFLAGS="$(STAGE1_CFLAGS)"
31496 maybe-clean-stage1-libiberty: clean-stage1-libiberty
31497 clean-stage1-libiberty:
31498 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
31499 || exit 0 ; \
31500 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
31501 cd libiberty && \
31502 $(MAKE) $(FLAGS_TO_PASS) \
31503 CFLAGS="$(STAGE1_CFLAGS)" clean
31504 @endif libiberty-bootstrap
31507 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31508 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
31509 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
31511 maybe-configure-stage1-zlib:
31512 maybe-all-stage1-zlib:
31513 maybe-clean-stage1-zlib:
31515 @if zlib-bootstrap
31516 maybe-configure-stage1-zlib: configure-stage1-zlib
31517 configure-stage1-zlib:
31518 @$(MAKE) stage1-start
31519 @[ -f zlib/Makefile ] && exit 0 || : ; \
31520 r=`${PWD_COMMAND}`; export r; \
31521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31522 $(HOST_EXPORTS) \
31523 echo Configuring stage 1 in zlib ; \
31524 cd zlib || exit 1; \
31525 case $(srcdir) in \
31526 \.) \
31527 srcdiroption="--srcdir=."; \
31528 libsrcdir=".";; \
31529 /* | [A-Za-z]:[\\/]*) \
31530 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31531 libsrcdir="$$s/zlib";; \
31532 *) \
31533 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31534 libsrcdir="$$s/zlib";; \
31535 esac; \
31536 $(SHELL) $${libsrcdir}/configure \
31537 $(HOST_CONFIGARGS) $${srcdiroption} \
31538 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31540 maybe-all-stage1-zlib: all-stage1-zlib
31541 all-stage1-zlib: configure-stage1-zlib
31542 @$(MAKE) stage1-start
31543 @r=`${PWD_COMMAND}`; export r; \
31544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31545 $(HOST_EXPORTS) \
31546 cd zlib && \
31547 $(MAKE) $(FLAGS_TO_PASS) \
31548 CFLAGS="$(STAGE1_CFLAGS)"
31550 maybe-clean-stage1-zlib: clean-stage1-zlib
31551 clean-stage1-zlib:
31552 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
31553 || exit 0 ; \
31554 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
31555 cd zlib && \
31556 $(MAKE) $(FLAGS_TO_PASS) \
31557 CFLAGS="$(STAGE1_CFLAGS)" clean
31558 @endif zlib-bootstrap
31562 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31563 # only possibility, but now it conflicts with no-bootstrap rules
31564 @if gcc-bootstrap
31569 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31571 .PHONY: distclean-stage1
31572 distclean-stage1::
31573 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31574 rm -rf stage1-*
31577 @endif gcc-bootstrap
31580 .PHONY: stage2-start stage2-end
31582 stage2-start::
31583 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31584 echo stage2 > stage_current ; \
31585 echo stage2 > stage_last
31586 @if bfd
31587 @[ -d stage2-bfd ] || mkdir stage2-bfd; \
31588 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31589 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31590 @endif bfd
31591 @if opcodes
31592 @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
31593 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31594 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31595 @endif opcodes
31596 @if binutils
31597 @[ -d stage2-binutils ] || mkdir stage2-binutils; \
31598 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31599 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31600 @endif binutils
31601 @if gas
31602 @[ -d stage2-gas ] || mkdir stage2-gas; \
31603 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31604 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31605 @endif gas
31606 @if gcc
31607 @[ -d stage2-gcc ] || mkdir stage2-gcc; \
31608 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31609 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31610 @endif gcc
31611 @if intl
31612 @[ -d stage2-intl ] || mkdir stage2-intl; \
31613 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31614 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31615 @endif intl
31616 @if ld
31617 @[ -d stage2-ld ] || mkdir stage2-ld; \
31618 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31619 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31620 @endif ld
31621 @if libcpp
31622 @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
31623 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31624 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31625 @endif libcpp
31626 @if libiberty
31627 @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
31628 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31629 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31630 @endif libiberty
31631 @if zlib
31632 @[ -d stage2-zlib ] || mkdir stage2-zlib; \
31633 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31634 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31635 @endif zlib
31637 stage2-end::
31638 @rm -f stage_current
31639 @if bfd
31640 @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
31641 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31642 @endif bfd
31643 @if opcodes
31644 @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31645 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31646 @endif opcodes
31647 @if binutils
31648 @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
31649 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31650 @endif binutils
31651 @if gas
31652 @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
31653 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31654 @endif gas
31655 @if gcc
31656 @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
31657 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31658 @endif gcc
31659 @if intl
31660 @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
31661 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31662 @endif intl
31663 @if ld
31664 @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
31665 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31666 @endif ld
31667 @if libcpp
31668 @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31669 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31670 @endif libcpp
31671 @if libiberty
31672 @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31673 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31674 @endif libiberty
31675 @if zlib
31676 @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
31677 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31678 @endif zlib
31680 # Bubble a bugfix through all the stages up to stage 2. They
31681 # are remade, but not reconfigured. The next stage (if any) will not
31682 # be reconfigured as well.
31683 .PHONY: stage2-bubble
31684 stage2-bubble:: stage1-bubble
31685 @if test -f stage2-lean || test -f stage1-lean ; then \
31686 echo Skipping rebuild of stage2 ; \
31687 else \
31688 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
31691 .PHONY: all-stage2 clean-stage2
31692 all-stage2: \
31693 maybe-all-stage2-bfd \
31694 maybe-all-stage2-opcodes \
31695 maybe-all-stage2-binutils \
31696 maybe-all-stage2-gas \
31697 maybe-all-stage2-gcc \
31698 maybe-all-stage2-intl \
31699 maybe-all-stage2-ld \
31700 maybe-all-stage2-libcpp \
31701 maybe-all-stage2-libiberty \
31702 maybe-all-stage2-zlib
31704 do-clean: clean-stage2
31705 clean-stage2: \
31706 maybe-clean-stage2-bfd \
31707 maybe-clean-stage2-opcodes \
31708 maybe-clean-stage2-binutils \
31709 maybe-clean-stage2-gas \
31710 maybe-clean-stage2-gcc \
31711 maybe-clean-stage2-intl \
31712 maybe-clean-stage2-ld \
31713 maybe-clean-stage2-libcpp \
31714 maybe-clean-stage2-libiberty \
31715 maybe-clean-stage2-zlib
31718 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
31719 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
31720 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
31722 maybe-configure-stage2-bfd:
31723 maybe-all-stage2-bfd:
31724 maybe-clean-stage2-bfd:
31726 @if bfd-bootstrap
31727 maybe-configure-stage2-bfd: configure-stage2-bfd
31728 configure-stage2-bfd:
31729 @$(MAKE) stage2-start
31730 @[ -f bfd/Makefile ] && exit 0 || : ; \
31731 r=`${PWD_COMMAND}`; export r; \
31732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31733 $(STAGE_HOST_EXPORTS) \
31734 echo Configuring stage 2 in bfd ; \
31735 cd bfd || exit 1; \
31736 case $(srcdir) in \
31737 \.) \
31738 srcdiroption="--srcdir=."; \
31739 libsrcdir=".";; \
31740 /* | [A-Za-z]:[\\/]*) \
31741 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31742 libsrcdir="$$s/bfd";; \
31743 *) \
31744 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31745 libsrcdir="$$s/bfd";; \
31746 esac; \
31747 $(SHELL) $${libsrcdir}/configure \
31748 $(HOST_CONFIGARGS) $${srcdiroption} \
31749 @stage2_werror_flag@
31751 maybe-all-stage2-bfd: all-stage2-bfd
31752 all-stage2-bfd: configure-stage2-bfd
31753 @$(MAKE) stage2-start
31754 @r=`${PWD_COMMAND}`; export r; \
31755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31756 $(STAGE_HOST_EXPORTS) \
31757 cd bfd && \
31758 $(MAKE) $(FLAGS_TO_PASS) \
31759 $(POSTSTAGE1_FLAGS_TO_PASS) \
31762 maybe-clean-stage2-bfd: clean-stage2-bfd
31763 clean-stage2-bfd:
31764 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
31765 || exit 0 ; \
31766 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
31767 cd bfd && \
31768 $(MAKE) $(FLAGS_TO_PASS) \
31769 $(POSTSTAGE1_FLAGS_TO_PASS) \
31770 clean
31771 @endif bfd-bootstrap
31774 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
31775 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
31776 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
31778 maybe-configure-stage2-opcodes:
31779 maybe-all-stage2-opcodes:
31780 maybe-clean-stage2-opcodes:
31782 @if opcodes-bootstrap
31783 maybe-configure-stage2-opcodes: configure-stage2-opcodes
31784 configure-stage2-opcodes:
31785 @$(MAKE) stage2-start
31786 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31787 r=`${PWD_COMMAND}`; export r; \
31788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31789 $(STAGE_HOST_EXPORTS) \
31790 echo Configuring stage 2 in opcodes ; \
31791 cd opcodes || exit 1; \
31792 case $(srcdir) in \
31793 \.) \
31794 srcdiroption="--srcdir=."; \
31795 libsrcdir=".";; \
31796 /* | [A-Za-z]:[\\/]*) \
31797 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31798 libsrcdir="$$s/opcodes";; \
31799 *) \
31800 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31801 libsrcdir="$$s/opcodes";; \
31802 esac; \
31803 $(SHELL) $${libsrcdir}/configure \
31804 $(HOST_CONFIGARGS) $${srcdiroption} \
31805 @stage2_werror_flag@
31807 maybe-all-stage2-opcodes: all-stage2-opcodes
31808 all-stage2-opcodes: configure-stage2-opcodes
31809 @$(MAKE) stage2-start
31810 @r=`${PWD_COMMAND}`; export r; \
31811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31812 $(STAGE_HOST_EXPORTS) \
31813 cd opcodes && \
31814 $(MAKE) $(FLAGS_TO_PASS) \
31815 $(POSTSTAGE1_FLAGS_TO_PASS) \
31818 maybe-clean-stage2-opcodes: clean-stage2-opcodes
31819 clean-stage2-opcodes:
31820 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
31821 || exit 0 ; \
31822 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
31823 cd opcodes && \
31824 $(MAKE) $(FLAGS_TO_PASS) \
31825 $(POSTSTAGE1_FLAGS_TO_PASS) \
31826 clean
31827 @endif opcodes-bootstrap
31830 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
31831 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
31832 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
31834 maybe-configure-stage2-binutils:
31835 maybe-all-stage2-binutils:
31836 maybe-clean-stage2-binutils:
31838 @if binutils-bootstrap
31839 maybe-configure-stage2-binutils: configure-stage2-binutils
31840 configure-stage2-binutils:
31841 @$(MAKE) stage2-start
31842 @[ -f binutils/Makefile ] && exit 0 || : ; \
31843 r=`${PWD_COMMAND}`; export r; \
31844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31845 $(STAGE_HOST_EXPORTS) \
31846 echo Configuring stage 2 in binutils ; \
31847 cd binutils || exit 1; \
31848 case $(srcdir) in \
31849 \.) \
31850 srcdiroption="--srcdir=."; \
31851 libsrcdir=".";; \
31852 /* | [A-Za-z]:[\\/]*) \
31853 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31854 libsrcdir="$$s/binutils";; \
31855 *) \
31856 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31857 libsrcdir="$$s/binutils";; \
31858 esac; \
31859 $(SHELL) $${libsrcdir}/configure \
31860 $(HOST_CONFIGARGS) $${srcdiroption} \
31861 @stage2_werror_flag@
31863 maybe-all-stage2-binutils: all-stage2-binutils
31864 all-stage2-binutils: configure-stage2-binutils
31865 @$(MAKE) stage2-start
31866 @r=`${PWD_COMMAND}`; export r; \
31867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31868 $(STAGE_HOST_EXPORTS) \
31869 cd binutils && \
31870 $(MAKE) $(FLAGS_TO_PASS) \
31871 $(POSTSTAGE1_FLAGS_TO_PASS) \
31874 maybe-clean-stage2-binutils: clean-stage2-binutils
31875 clean-stage2-binutils:
31876 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
31877 || exit 0 ; \
31878 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
31879 cd binutils && \
31880 $(MAKE) $(FLAGS_TO_PASS) \
31881 $(POSTSTAGE1_FLAGS_TO_PASS) \
31882 clean
31883 @endif binutils-bootstrap
31886 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
31887 .PHONY: all-stage2-gas maybe-all-stage2-gas
31888 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
31890 maybe-configure-stage2-gas:
31891 maybe-all-stage2-gas:
31892 maybe-clean-stage2-gas:
31894 @if gas-bootstrap
31895 maybe-configure-stage2-gas: configure-stage2-gas
31896 configure-stage2-gas:
31897 @$(MAKE) stage2-start
31898 @[ -f gas/Makefile ] && exit 0 || : ; \
31899 r=`${PWD_COMMAND}`; export r; \
31900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31901 $(STAGE_HOST_EXPORTS) \
31902 echo Configuring stage 2 in gas ; \
31903 cd gas || exit 1; \
31904 case $(srcdir) in \
31905 \.) \
31906 srcdiroption="--srcdir=."; \
31907 libsrcdir=".";; \
31908 /* | [A-Za-z]:[\\/]*) \
31909 srcdiroption="--srcdir=$(srcdir)/gas"; \
31910 libsrcdir="$$s/gas";; \
31911 *) \
31912 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31913 libsrcdir="$$s/gas";; \
31914 esac; \
31915 $(SHELL) $${libsrcdir}/configure \
31916 $(HOST_CONFIGARGS) $${srcdiroption} \
31917 @stage2_werror_flag@
31919 maybe-all-stage2-gas: all-stage2-gas
31920 all-stage2-gas: configure-stage2-gas
31921 @$(MAKE) stage2-start
31922 @r=`${PWD_COMMAND}`; export r; \
31923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31924 $(STAGE_HOST_EXPORTS) \
31925 cd gas && \
31926 $(MAKE) $(FLAGS_TO_PASS) \
31927 $(POSTSTAGE1_FLAGS_TO_PASS) \
31930 maybe-clean-stage2-gas: clean-stage2-gas
31931 clean-stage2-gas:
31932 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
31933 || exit 0 ; \
31934 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
31935 cd gas && \
31936 $(MAKE) $(FLAGS_TO_PASS) \
31937 $(POSTSTAGE1_FLAGS_TO_PASS) \
31938 clean
31939 @endif gas-bootstrap
31942 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
31943 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
31944 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
31946 maybe-configure-stage2-gcc:
31947 maybe-all-stage2-gcc:
31948 maybe-clean-stage2-gcc:
31950 @if gcc-bootstrap
31951 maybe-configure-stage2-gcc: configure-stage2-gcc
31952 configure-stage2-gcc:
31953 @$(MAKE) stage2-start
31954 @[ -f gcc/Makefile ] && exit 0 || : ; \
31955 r=`${PWD_COMMAND}`; export r; \
31956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31957 $(STAGE_HOST_EXPORTS) \
31958 echo Configuring stage 2 in gcc ; \
31959 cd gcc || exit 1; \
31960 case $(srcdir) in \
31961 \.) \
31962 srcdiroption="--srcdir=."; \
31963 libsrcdir=".";; \
31964 /* | [A-Za-z]:[\\/]*) \
31965 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31966 libsrcdir="$$s/gcc";; \
31967 *) \
31968 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31969 libsrcdir="$$s/gcc";; \
31970 esac; \
31971 $(SHELL) $${libsrcdir}/configure \
31972 $(HOST_CONFIGARGS) $${srcdiroption} \
31973 @stage2_werror_flag@
31975 maybe-all-stage2-gcc: all-stage2-gcc
31976 all-stage2-gcc: configure-stage2-gcc
31977 @$(MAKE) stage2-start
31978 @r=`${PWD_COMMAND}`; export r; \
31979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31980 $(STAGE_HOST_EXPORTS) \
31981 cd gcc && \
31982 $(MAKE) $(FLAGS_TO_PASS) \
31983 $(POSTSTAGE1_FLAGS_TO_PASS) \
31984 $(EXTRA_GCC_FLAGS)
31986 maybe-clean-stage2-gcc: clean-stage2-gcc
31987 clean-stage2-gcc:
31988 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
31989 || exit 0 ; \
31990 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
31991 cd gcc && \
31992 $(MAKE) $(FLAGS_TO_PASS) \
31993 $(POSTSTAGE1_FLAGS_TO_PASS) \
31994 $(EXTRA_GCC_FLAGS) clean
31995 @endif gcc-bootstrap
31998 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
31999 .PHONY: all-stage2-intl maybe-all-stage2-intl
32000 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
32002 maybe-configure-stage2-intl:
32003 maybe-all-stage2-intl:
32004 maybe-clean-stage2-intl:
32006 @if intl-bootstrap
32007 maybe-configure-stage2-intl: configure-stage2-intl
32008 configure-stage2-intl:
32009 @$(MAKE) stage2-start
32010 @[ -f intl/Makefile ] && exit 0 || : ; \
32011 r=`${PWD_COMMAND}`; export r; \
32012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32013 $(STAGE_HOST_EXPORTS) \
32014 echo Configuring stage 2 in intl ; \
32015 cd intl || exit 1; \
32016 case $(srcdir) in \
32017 \.) \
32018 srcdiroption="--srcdir=."; \
32019 libsrcdir=".";; \
32020 /* | [A-Za-z]:[\\/]*) \
32021 srcdiroption="--srcdir=$(srcdir)/intl"; \
32022 libsrcdir="$$s/intl";; \
32023 *) \
32024 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32025 libsrcdir="$$s/intl";; \
32026 esac; \
32027 $(SHELL) $${libsrcdir}/configure \
32028 $(HOST_CONFIGARGS) $${srcdiroption} \
32029 @stage2_werror_flag@
32031 maybe-all-stage2-intl: all-stage2-intl
32032 all-stage2-intl: configure-stage2-intl
32033 @$(MAKE) stage2-start
32034 @r=`${PWD_COMMAND}`; export r; \
32035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32036 $(STAGE_HOST_EXPORTS) \
32037 cd intl && \
32038 $(MAKE) $(FLAGS_TO_PASS) \
32039 $(POSTSTAGE1_FLAGS_TO_PASS) \
32042 maybe-clean-stage2-intl: clean-stage2-intl
32043 clean-stage2-intl:
32044 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
32045 || exit 0 ; \
32046 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
32047 cd intl && \
32048 $(MAKE) $(FLAGS_TO_PASS) \
32049 $(POSTSTAGE1_FLAGS_TO_PASS) \
32050 clean
32051 @endif intl-bootstrap
32054 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
32055 .PHONY: all-stage2-ld maybe-all-stage2-ld
32056 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
32058 maybe-configure-stage2-ld:
32059 maybe-all-stage2-ld:
32060 maybe-clean-stage2-ld:
32062 @if ld-bootstrap
32063 maybe-configure-stage2-ld: configure-stage2-ld
32064 configure-stage2-ld:
32065 @$(MAKE) stage2-start
32066 @[ -f ld/Makefile ] && exit 0 || : ; \
32067 r=`${PWD_COMMAND}`; export r; \
32068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32069 $(STAGE_HOST_EXPORTS) \
32070 echo Configuring stage 2 in ld ; \
32071 cd ld || exit 1; \
32072 case $(srcdir) in \
32073 \.) \
32074 srcdiroption="--srcdir=."; \
32075 libsrcdir=".";; \
32076 /* | [A-Za-z]:[\\/]*) \
32077 srcdiroption="--srcdir=$(srcdir)/ld"; \
32078 libsrcdir="$$s/ld";; \
32079 *) \
32080 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32081 libsrcdir="$$s/ld";; \
32082 esac; \
32083 $(SHELL) $${libsrcdir}/configure \
32084 $(HOST_CONFIGARGS) $${srcdiroption} \
32085 @stage2_werror_flag@
32087 maybe-all-stage2-ld: all-stage2-ld
32088 all-stage2-ld: configure-stage2-ld
32089 @$(MAKE) stage2-start
32090 @r=`${PWD_COMMAND}`; export r; \
32091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32092 $(STAGE_HOST_EXPORTS) \
32093 cd ld && \
32094 $(MAKE) $(FLAGS_TO_PASS) \
32095 $(POSTSTAGE1_FLAGS_TO_PASS) \
32098 maybe-clean-stage2-ld: clean-stage2-ld
32099 clean-stage2-ld:
32100 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
32101 || exit 0 ; \
32102 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
32103 cd ld && \
32104 $(MAKE) $(FLAGS_TO_PASS) \
32105 $(POSTSTAGE1_FLAGS_TO_PASS) \
32106 clean
32107 @endif ld-bootstrap
32110 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
32111 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
32112 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
32114 maybe-configure-stage2-libcpp:
32115 maybe-all-stage2-libcpp:
32116 maybe-clean-stage2-libcpp:
32118 @if libcpp-bootstrap
32119 maybe-configure-stage2-libcpp: configure-stage2-libcpp
32120 configure-stage2-libcpp:
32121 @$(MAKE) stage2-start
32122 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32123 r=`${PWD_COMMAND}`; export r; \
32124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32125 $(STAGE_HOST_EXPORTS) \
32126 echo Configuring stage 2 in libcpp ; \
32127 cd libcpp || exit 1; \
32128 case $(srcdir) in \
32129 \.) \
32130 srcdiroption="--srcdir=."; \
32131 libsrcdir=".";; \
32132 /* | [A-Za-z]:[\\/]*) \
32133 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32134 libsrcdir="$$s/libcpp";; \
32135 *) \
32136 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32137 libsrcdir="$$s/libcpp";; \
32138 esac; \
32139 $(SHELL) $${libsrcdir}/configure \
32140 $(HOST_CONFIGARGS) $${srcdiroption} \
32141 @stage2_werror_flag@
32143 maybe-all-stage2-libcpp: all-stage2-libcpp
32144 all-stage2-libcpp: configure-stage2-libcpp
32145 @$(MAKE) stage2-start
32146 @r=`${PWD_COMMAND}`; export r; \
32147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32148 $(STAGE_HOST_EXPORTS) \
32149 cd libcpp && \
32150 $(MAKE) $(FLAGS_TO_PASS) \
32151 $(POSTSTAGE1_FLAGS_TO_PASS) \
32154 maybe-clean-stage2-libcpp: clean-stage2-libcpp
32155 clean-stage2-libcpp:
32156 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
32157 || exit 0 ; \
32158 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
32159 cd libcpp && \
32160 $(MAKE) $(FLAGS_TO_PASS) \
32161 $(POSTSTAGE1_FLAGS_TO_PASS) \
32162 clean
32163 @endif libcpp-bootstrap
32166 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
32167 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
32168 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
32170 maybe-configure-stage2-libiberty:
32171 maybe-all-stage2-libiberty:
32172 maybe-clean-stage2-libiberty:
32174 @if libiberty-bootstrap
32175 maybe-configure-stage2-libiberty: configure-stage2-libiberty
32176 configure-stage2-libiberty:
32177 @$(MAKE) stage2-start
32178 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32179 r=`${PWD_COMMAND}`; export r; \
32180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32181 $(STAGE_HOST_EXPORTS) \
32182 echo Configuring stage 2 in libiberty ; \
32183 cd libiberty || exit 1; \
32184 case $(srcdir) in \
32185 \.) \
32186 srcdiroption="--srcdir=."; \
32187 libsrcdir=".";; \
32188 /* | [A-Za-z]:[\\/]*) \
32189 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32190 libsrcdir="$$s/libiberty";; \
32191 *) \
32192 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32193 libsrcdir="$$s/libiberty";; \
32194 esac; \
32195 $(SHELL) $${libsrcdir}/configure \
32196 $(HOST_CONFIGARGS) $${srcdiroption} \
32197 @stage2_werror_flag@
32199 maybe-all-stage2-libiberty: all-stage2-libiberty
32200 all-stage2-libiberty: configure-stage2-libiberty
32201 @$(MAKE) stage2-start
32202 @r=`${PWD_COMMAND}`; export r; \
32203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32204 $(STAGE_HOST_EXPORTS) \
32205 cd libiberty && \
32206 $(MAKE) $(FLAGS_TO_PASS) \
32207 $(POSTSTAGE1_FLAGS_TO_PASS) \
32210 maybe-clean-stage2-libiberty: clean-stage2-libiberty
32211 clean-stage2-libiberty:
32212 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
32213 || exit 0 ; \
32214 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
32215 cd libiberty && \
32216 $(MAKE) $(FLAGS_TO_PASS) \
32217 $(POSTSTAGE1_FLAGS_TO_PASS) \
32218 clean
32219 @endif libiberty-bootstrap
32222 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
32223 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
32224 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
32226 maybe-configure-stage2-zlib:
32227 maybe-all-stage2-zlib:
32228 maybe-clean-stage2-zlib:
32230 @if zlib-bootstrap
32231 maybe-configure-stage2-zlib: configure-stage2-zlib
32232 configure-stage2-zlib:
32233 @$(MAKE) stage2-start
32234 @[ -f zlib/Makefile ] && exit 0 || : ; \
32235 r=`${PWD_COMMAND}`; export r; \
32236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32237 $(STAGE_HOST_EXPORTS) \
32238 echo Configuring stage 2 in zlib ; \
32239 cd zlib || exit 1; \
32240 case $(srcdir) in \
32241 \.) \
32242 srcdiroption="--srcdir=."; \
32243 libsrcdir=".";; \
32244 /* | [A-Za-z]:[\\/]*) \
32245 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32246 libsrcdir="$$s/zlib";; \
32247 *) \
32248 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32249 libsrcdir="$$s/zlib";; \
32250 esac; \
32251 $(SHELL) $${libsrcdir}/configure \
32252 $(HOST_CONFIGARGS) $${srcdiroption} \
32253 @stage2_werror_flag@
32255 maybe-all-stage2-zlib: all-stage2-zlib
32256 all-stage2-zlib: configure-stage2-zlib
32257 @$(MAKE) stage2-start
32258 @r=`${PWD_COMMAND}`; export r; \
32259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32260 $(STAGE_HOST_EXPORTS) \
32261 cd zlib && \
32262 $(MAKE) $(FLAGS_TO_PASS) \
32263 $(POSTSTAGE1_FLAGS_TO_PASS) \
32266 maybe-clean-stage2-zlib: clean-stage2-zlib
32267 clean-stage2-zlib:
32268 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
32269 || exit 0 ; \
32270 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
32271 cd zlib && \
32272 $(MAKE) $(FLAGS_TO_PASS) \
32273 $(POSTSTAGE1_FLAGS_TO_PASS) \
32274 clean
32275 @endif zlib-bootstrap
32279 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32280 # only possibility, but now it conflicts with no-bootstrap rules
32281 @if gcc-bootstrap
32285 .PHONY: bootstrap2
32286 bootstrap2: stage2-bubble all
32289 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32290 distclean-stage1:: distclean-stage2
32291 .PHONY: distclean-stage2
32292 distclean-stage2::
32293 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32294 rm -rf stage2-*
32297 @endif gcc-bootstrap
32300 .PHONY: stage3-start stage3-end
32302 stage3-start::
32303 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32304 echo stage3 > stage_current ; \
32305 echo stage3 > stage_last
32306 @if bfd
32307 @[ -d stage3-bfd ] || mkdir stage3-bfd; \
32308 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
32309 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
32310 @endif bfd
32311 @if opcodes
32312 @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
32313 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
32314 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
32315 @endif opcodes
32316 @if binutils
32317 @[ -d stage3-binutils ] || mkdir stage3-binutils; \
32318 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
32319 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
32320 @endif binutils
32321 @if gas
32322 @[ -d stage3-gas ] || mkdir stage3-gas; \
32323 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
32324 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
32325 @endif gas
32326 @if gcc
32327 @[ -d stage3-gcc ] || mkdir stage3-gcc; \
32328 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
32329 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
32330 @endif gcc
32331 @if intl
32332 @[ -d stage3-intl ] || mkdir stage3-intl; \
32333 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
32334 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
32335 @endif intl
32336 @if ld
32337 @[ -d stage3-ld ] || mkdir stage3-ld; \
32338 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
32339 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
32340 @endif ld
32341 @if libcpp
32342 @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
32343 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
32344 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
32345 @endif libcpp
32346 @if libiberty
32347 @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
32348 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32349 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32350 @endif libiberty
32351 @if zlib
32352 @[ -d stage3-zlib ] || mkdir stage3-zlib; \
32353 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32354 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32355 @endif zlib
32357 stage3-end::
32358 @rm -f stage_current
32359 @if bfd
32360 @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
32361 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
32362 @endif bfd
32363 @if opcodes
32364 @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32365 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
32366 @endif opcodes
32367 @if binutils
32368 @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
32369 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
32370 @endif binutils
32371 @if gas
32372 @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
32373 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
32374 @endif gas
32375 @if gcc
32376 @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
32377 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
32378 @endif gcc
32379 @if intl
32380 @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
32381 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
32382 @endif intl
32383 @if ld
32384 @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
32385 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
32386 @endif ld
32387 @if libcpp
32388 @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32389 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
32390 @endif libcpp
32391 @if libiberty
32392 @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32393 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
32394 @endif libiberty
32395 @if zlib
32396 @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
32397 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
32398 @endif zlib
32400 # Bubble a bugfix through all the stages up to stage 3. They
32401 # are remade, but not reconfigured. The next stage (if any) will not
32402 # be reconfigured as well.
32403 .PHONY: stage3-bubble
32404 stage3-bubble:: stage2-bubble
32405 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
32406 @if test -f stage3-lean || test -f stage2-lean ; then \
32407 echo Skipping rebuild of stage3 ; \
32408 else \
32409 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
32412 .PHONY: all-stage3 clean-stage3
32413 all-stage3: \
32414 maybe-all-stage3-bfd \
32415 maybe-all-stage3-opcodes \
32416 maybe-all-stage3-binutils \
32417 maybe-all-stage3-gas \
32418 maybe-all-stage3-gcc \
32419 maybe-all-stage3-intl \
32420 maybe-all-stage3-ld \
32421 maybe-all-stage3-libcpp \
32422 maybe-all-stage3-libiberty \
32423 maybe-all-stage3-zlib
32425 do-clean: clean-stage3
32426 clean-stage3: \
32427 maybe-clean-stage3-bfd \
32428 maybe-clean-stage3-opcodes \
32429 maybe-clean-stage3-binutils \
32430 maybe-clean-stage3-gas \
32431 maybe-clean-stage3-gcc \
32432 maybe-clean-stage3-intl \
32433 maybe-clean-stage3-ld \
32434 maybe-clean-stage3-libcpp \
32435 maybe-clean-stage3-libiberty \
32436 maybe-clean-stage3-zlib
32439 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
32440 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
32441 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
32443 maybe-configure-stage3-bfd:
32444 maybe-all-stage3-bfd:
32445 maybe-clean-stage3-bfd:
32447 @if bfd-bootstrap
32448 maybe-configure-stage3-bfd: configure-stage3-bfd
32449 configure-stage3-bfd:
32450 @$(MAKE) stage3-start
32451 @[ -f bfd/Makefile ] && exit 0 || : ; \
32452 r=`${PWD_COMMAND}`; export r; \
32453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32454 $(STAGE_HOST_EXPORTS) \
32455 echo Configuring stage 3 in bfd ; \
32456 cd bfd || exit 1; \
32457 case $(srcdir) in \
32458 \.) \
32459 srcdiroption="--srcdir=."; \
32460 libsrcdir=".";; \
32461 /* | [A-Za-z]:[\\/]*) \
32462 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32463 libsrcdir="$$s/bfd";; \
32464 *) \
32465 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32466 libsrcdir="$$s/bfd";; \
32467 esac; \
32468 $(SHELL) $${libsrcdir}/configure \
32469 $(HOST_CONFIGARGS) $${srcdiroption} \
32470 @stage2_werror_flag@
32472 maybe-all-stage3-bfd: all-stage3-bfd
32473 all-stage3-bfd: configure-stage3-bfd
32474 @$(MAKE) stage3-start
32475 @r=`${PWD_COMMAND}`; export r; \
32476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32477 $(STAGE_HOST_EXPORTS) \
32478 cd bfd && \
32479 $(MAKE) $(FLAGS_TO_PASS) \
32480 $(POSTSTAGE1_FLAGS_TO_PASS) \
32483 maybe-clean-stage3-bfd: clean-stage3-bfd
32484 clean-stage3-bfd:
32485 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
32486 || exit 0 ; \
32487 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
32488 cd bfd && \
32489 $(MAKE) $(FLAGS_TO_PASS) \
32490 $(POSTSTAGE1_FLAGS_TO_PASS) \
32491 clean
32492 @endif bfd-bootstrap
32495 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
32496 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
32497 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
32499 maybe-configure-stage3-opcodes:
32500 maybe-all-stage3-opcodes:
32501 maybe-clean-stage3-opcodes:
32503 @if opcodes-bootstrap
32504 maybe-configure-stage3-opcodes: configure-stage3-opcodes
32505 configure-stage3-opcodes:
32506 @$(MAKE) stage3-start
32507 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32508 r=`${PWD_COMMAND}`; export r; \
32509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32510 $(STAGE_HOST_EXPORTS) \
32511 echo Configuring stage 3 in opcodes ; \
32512 cd opcodes || exit 1; \
32513 case $(srcdir) in \
32514 \.) \
32515 srcdiroption="--srcdir=."; \
32516 libsrcdir=".";; \
32517 /* | [A-Za-z]:[\\/]*) \
32518 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32519 libsrcdir="$$s/opcodes";; \
32520 *) \
32521 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32522 libsrcdir="$$s/opcodes";; \
32523 esac; \
32524 $(SHELL) $${libsrcdir}/configure \
32525 $(HOST_CONFIGARGS) $${srcdiroption} \
32526 @stage2_werror_flag@
32528 maybe-all-stage3-opcodes: all-stage3-opcodes
32529 all-stage3-opcodes: configure-stage3-opcodes
32530 @$(MAKE) stage3-start
32531 @r=`${PWD_COMMAND}`; export r; \
32532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32533 $(STAGE_HOST_EXPORTS) \
32534 cd opcodes && \
32535 $(MAKE) $(FLAGS_TO_PASS) \
32536 $(POSTSTAGE1_FLAGS_TO_PASS) \
32539 maybe-clean-stage3-opcodes: clean-stage3-opcodes
32540 clean-stage3-opcodes:
32541 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
32542 || exit 0 ; \
32543 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
32544 cd opcodes && \
32545 $(MAKE) $(FLAGS_TO_PASS) \
32546 $(POSTSTAGE1_FLAGS_TO_PASS) \
32547 clean
32548 @endif opcodes-bootstrap
32551 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
32552 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
32553 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
32555 maybe-configure-stage3-binutils:
32556 maybe-all-stage3-binutils:
32557 maybe-clean-stage3-binutils:
32559 @if binutils-bootstrap
32560 maybe-configure-stage3-binutils: configure-stage3-binutils
32561 configure-stage3-binutils:
32562 @$(MAKE) stage3-start
32563 @[ -f binutils/Makefile ] && exit 0 || : ; \
32564 r=`${PWD_COMMAND}`; export r; \
32565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32566 $(STAGE_HOST_EXPORTS) \
32567 echo Configuring stage 3 in binutils ; \
32568 cd binutils || exit 1; \
32569 case $(srcdir) in \
32570 \.) \
32571 srcdiroption="--srcdir=."; \
32572 libsrcdir=".";; \
32573 /* | [A-Za-z]:[\\/]*) \
32574 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32575 libsrcdir="$$s/binutils";; \
32576 *) \
32577 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32578 libsrcdir="$$s/binutils";; \
32579 esac; \
32580 $(SHELL) $${libsrcdir}/configure \
32581 $(HOST_CONFIGARGS) $${srcdiroption} \
32582 @stage2_werror_flag@
32584 maybe-all-stage3-binutils: all-stage3-binutils
32585 all-stage3-binutils: configure-stage3-binutils
32586 @$(MAKE) stage3-start
32587 @r=`${PWD_COMMAND}`; export r; \
32588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32589 $(STAGE_HOST_EXPORTS) \
32590 cd binutils && \
32591 $(MAKE) $(FLAGS_TO_PASS) \
32592 $(POSTSTAGE1_FLAGS_TO_PASS) \
32595 maybe-clean-stage3-binutils: clean-stage3-binutils
32596 clean-stage3-binutils:
32597 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
32598 || exit 0 ; \
32599 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
32600 cd binutils && \
32601 $(MAKE) $(FLAGS_TO_PASS) \
32602 $(POSTSTAGE1_FLAGS_TO_PASS) \
32603 clean
32604 @endif binutils-bootstrap
32607 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
32608 .PHONY: all-stage3-gas maybe-all-stage3-gas
32609 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
32611 maybe-configure-stage3-gas:
32612 maybe-all-stage3-gas:
32613 maybe-clean-stage3-gas:
32615 @if gas-bootstrap
32616 maybe-configure-stage3-gas: configure-stage3-gas
32617 configure-stage3-gas:
32618 @$(MAKE) stage3-start
32619 @[ -f gas/Makefile ] && exit 0 || : ; \
32620 r=`${PWD_COMMAND}`; export r; \
32621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32622 $(STAGE_HOST_EXPORTS) \
32623 echo Configuring stage 3 in gas ; \
32624 cd gas || exit 1; \
32625 case $(srcdir) in \
32626 \.) \
32627 srcdiroption="--srcdir=."; \
32628 libsrcdir=".";; \
32629 /* | [A-Za-z]:[\\/]*) \
32630 srcdiroption="--srcdir=$(srcdir)/gas"; \
32631 libsrcdir="$$s/gas";; \
32632 *) \
32633 srcdiroption="--srcdir=../$(srcdir)/gas"; \
32634 libsrcdir="$$s/gas";; \
32635 esac; \
32636 $(SHELL) $${libsrcdir}/configure \
32637 $(HOST_CONFIGARGS) $${srcdiroption} \
32638 @stage2_werror_flag@
32640 maybe-all-stage3-gas: all-stage3-gas
32641 all-stage3-gas: configure-stage3-gas
32642 @$(MAKE) stage3-start
32643 @r=`${PWD_COMMAND}`; export r; \
32644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32645 $(STAGE_HOST_EXPORTS) \
32646 cd gas && \
32647 $(MAKE) $(FLAGS_TO_PASS) \
32648 $(POSTSTAGE1_FLAGS_TO_PASS) \
32651 maybe-clean-stage3-gas: clean-stage3-gas
32652 clean-stage3-gas:
32653 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
32654 || exit 0 ; \
32655 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
32656 cd gas && \
32657 $(MAKE) $(FLAGS_TO_PASS) \
32658 $(POSTSTAGE1_FLAGS_TO_PASS) \
32659 clean
32660 @endif gas-bootstrap
32663 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
32664 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
32665 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
32667 maybe-configure-stage3-gcc:
32668 maybe-all-stage3-gcc:
32669 maybe-clean-stage3-gcc:
32671 @if gcc-bootstrap
32672 maybe-configure-stage3-gcc: configure-stage3-gcc
32673 configure-stage3-gcc:
32674 @$(MAKE) stage3-start
32675 @[ -f gcc/Makefile ] && exit 0 || : ; \
32676 r=`${PWD_COMMAND}`; export r; \
32677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32678 $(STAGE_HOST_EXPORTS) \
32679 echo Configuring stage 3 in gcc ; \
32680 cd gcc || exit 1; \
32681 case $(srcdir) in \
32682 \.) \
32683 srcdiroption="--srcdir=."; \
32684 libsrcdir=".";; \
32685 /* | [A-Za-z]:[\\/]*) \
32686 srcdiroption="--srcdir=$(srcdir)/gcc"; \
32687 libsrcdir="$$s/gcc";; \
32688 *) \
32689 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
32690 libsrcdir="$$s/gcc";; \
32691 esac; \
32692 $(SHELL) $${libsrcdir}/configure \
32693 $(HOST_CONFIGARGS) $${srcdiroption} \
32694 @stage2_werror_flag@
32696 maybe-all-stage3-gcc: all-stage3-gcc
32697 all-stage3-gcc: configure-stage3-gcc
32698 @$(MAKE) stage3-start
32699 @r=`${PWD_COMMAND}`; export r; \
32700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32701 $(STAGE_HOST_EXPORTS) \
32702 cd gcc && \
32703 $(MAKE) $(FLAGS_TO_PASS) \
32704 $(POSTSTAGE1_FLAGS_TO_PASS) \
32705 $(EXTRA_GCC_FLAGS)
32707 maybe-clean-stage3-gcc: clean-stage3-gcc
32708 clean-stage3-gcc:
32709 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
32710 || exit 0 ; \
32711 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
32712 cd gcc && \
32713 $(MAKE) $(FLAGS_TO_PASS) \
32714 $(POSTSTAGE1_FLAGS_TO_PASS) \
32715 $(EXTRA_GCC_FLAGS) clean
32716 @endif gcc-bootstrap
32719 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
32720 .PHONY: all-stage3-intl maybe-all-stage3-intl
32721 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
32723 maybe-configure-stage3-intl:
32724 maybe-all-stage3-intl:
32725 maybe-clean-stage3-intl:
32727 @if intl-bootstrap
32728 maybe-configure-stage3-intl: configure-stage3-intl
32729 configure-stage3-intl:
32730 @$(MAKE) stage3-start
32731 @[ -f intl/Makefile ] && exit 0 || : ; \
32732 r=`${PWD_COMMAND}`; export r; \
32733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32734 $(STAGE_HOST_EXPORTS) \
32735 echo Configuring stage 3 in intl ; \
32736 cd intl || exit 1; \
32737 case $(srcdir) in \
32738 \.) \
32739 srcdiroption="--srcdir=."; \
32740 libsrcdir=".";; \
32741 /* | [A-Za-z]:[\\/]*) \
32742 srcdiroption="--srcdir=$(srcdir)/intl"; \
32743 libsrcdir="$$s/intl";; \
32744 *) \
32745 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32746 libsrcdir="$$s/intl";; \
32747 esac; \
32748 $(SHELL) $${libsrcdir}/configure \
32749 $(HOST_CONFIGARGS) $${srcdiroption} \
32750 @stage2_werror_flag@
32752 maybe-all-stage3-intl: all-stage3-intl
32753 all-stage3-intl: configure-stage3-intl
32754 @$(MAKE) stage3-start
32755 @r=`${PWD_COMMAND}`; export r; \
32756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32757 $(STAGE_HOST_EXPORTS) \
32758 cd intl && \
32759 $(MAKE) $(FLAGS_TO_PASS) \
32760 $(POSTSTAGE1_FLAGS_TO_PASS) \
32763 maybe-clean-stage3-intl: clean-stage3-intl
32764 clean-stage3-intl:
32765 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
32766 || exit 0 ; \
32767 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
32768 cd intl && \
32769 $(MAKE) $(FLAGS_TO_PASS) \
32770 $(POSTSTAGE1_FLAGS_TO_PASS) \
32771 clean
32772 @endif intl-bootstrap
32775 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
32776 .PHONY: all-stage3-ld maybe-all-stage3-ld
32777 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
32779 maybe-configure-stage3-ld:
32780 maybe-all-stage3-ld:
32781 maybe-clean-stage3-ld:
32783 @if ld-bootstrap
32784 maybe-configure-stage3-ld: configure-stage3-ld
32785 configure-stage3-ld:
32786 @$(MAKE) stage3-start
32787 @[ -f ld/Makefile ] && exit 0 || : ; \
32788 r=`${PWD_COMMAND}`; export r; \
32789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32790 $(STAGE_HOST_EXPORTS) \
32791 echo Configuring stage 3 in ld ; \
32792 cd ld || exit 1; \
32793 case $(srcdir) in \
32794 \.) \
32795 srcdiroption="--srcdir=."; \
32796 libsrcdir=".";; \
32797 /* | [A-Za-z]:[\\/]*) \
32798 srcdiroption="--srcdir=$(srcdir)/ld"; \
32799 libsrcdir="$$s/ld";; \
32800 *) \
32801 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32802 libsrcdir="$$s/ld";; \
32803 esac; \
32804 $(SHELL) $${libsrcdir}/configure \
32805 $(HOST_CONFIGARGS) $${srcdiroption} \
32806 @stage2_werror_flag@
32808 maybe-all-stage3-ld: all-stage3-ld
32809 all-stage3-ld: configure-stage3-ld
32810 @$(MAKE) stage3-start
32811 @r=`${PWD_COMMAND}`; export r; \
32812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32813 $(STAGE_HOST_EXPORTS) \
32814 cd ld && \
32815 $(MAKE) $(FLAGS_TO_PASS) \
32816 $(POSTSTAGE1_FLAGS_TO_PASS) \
32819 maybe-clean-stage3-ld: clean-stage3-ld
32820 clean-stage3-ld:
32821 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
32822 || exit 0 ; \
32823 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
32824 cd ld && \
32825 $(MAKE) $(FLAGS_TO_PASS) \
32826 $(POSTSTAGE1_FLAGS_TO_PASS) \
32827 clean
32828 @endif ld-bootstrap
32831 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
32832 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
32833 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
32835 maybe-configure-stage3-libcpp:
32836 maybe-all-stage3-libcpp:
32837 maybe-clean-stage3-libcpp:
32839 @if libcpp-bootstrap
32840 maybe-configure-stage3-libcpp: configure-stage3-libcpp
32841 configure-stage3-libcpp:
32842 @$(MAKE) stage3-start
32843 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32844 r=`${PWD_COMMAND}`; export r; \
32845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32846 $(STAGE_HOST_EXPORTS) \
32847 echo Configuring stage 3 in libcpp ; \
32848 cd libcpp || exit 1; \
32849 case $(srcdir) in \
32850 \.) \
32851 srcdiroption="--srcdir=."; \
32852 libsrcdir=".";; \
32853 /* | [A-Za-z]:[\\/]*) \
32854 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32855 libsrcdir="$$s/libcpp";; \
32856 *) \
32857 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32858 libsrcdir="$$s/libcpp";; \
32859 esac; \
32860 $(SHELL) $${libsrcdir}/configure \
32861 $(HOST_CONFIGARGS) $${srcdiroption} \
32862 @stage2_werror_flag@
32864 maybe-all-stage3-libcpp: all-stage3-libcpp
32865 all-stage3-libcpp: configure-stage3-libcpp
32866 @$(MAKE) stage3-start
32867 @r=`${PWD_COMMAND}`; export r; \
32868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32869 $(STAGE_HOST_EXPORTS) \
32870 cd libcpp && \
32871 $(MAKE) $(FLAGS_TO_PASS) \
32872 $(POSTSTAGE1_FLAGS_TO_PASS) \
32875 maybe-clean-stage3-libcpp: clean-stage3-libcpp
32876 clean-stage3-libcpp:
32877 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
32878 || exit 0 ; \
32879 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
32880 cd libcpp && \
32881 $(MAKE) $(FLAGS_TO_PASS) \
32882 $(POSTSTAGE1_FLAGS_TO_PASS) \
32883 clean
32884 @endif libcpp-bootstrap
32887 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
32888 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
32889 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
32891 maybe-configure-stage3-libiberty:
32892 maybe-all-stage3-libiberty:
32893 maybe-clean-stage3-libiberty:
32895 @if libiberty-bootstrap
32896 maybe-configure-stage3-libiberty: configure-stage3-libiberty
32897 configure-stage3-libiberty:
32898 @$(MAKE) stage3-start
32899 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32900 r=`${PWD_COMMAND}`; export r; \
32901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32902 $(STAGE_HOST_EXPORTS) \
32903 echo Configuring stage 3 in libiberty ; \
32904 cd libiberty || exit 1; \
32905 case $(srcdir) in \
32906 \.) \
32907 srcdiroption="--srcdir=."; \
32908 libsrcdir=".";; \
32909 /* | [A-Za-z]:[\\/]*) \
32910 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32911 libsrcdir="$$s/libiberty";; \
32912 *) \
32913 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32914 libsrcdir="$$s/libiberty";; \
32915 esac; \
32916 $(SHELL) $${libsrcdir}/configure \
32917 $(HOST_CONFIGARGS) $${srcdiroption} \
32918 @stage2_werror_flag@
32920 maybe-all-stage3-libiberty: all-stage3-libiberty
32921 all-stage3-libiberty: configure-stage3-libiberty
32922 @$(MAKE) stage3-start
32923 @r=`${PWD_COMMAND}`; export r; \
32924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32925 $(STAGE_HOST_EXPORTS) \
32926 cd libiberty && \
32927 $(MAKE) $(FLAGS_TO_PASS) \
32928 $(POSTSTAGE1_FLAGS_TO_PASS) \
32931 maybe-clean-stage3-libiberty: clean-stage3-libiberty
32932 clean-stage3-libiberty:
32933 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
32934 || exit 0 ; \
32935 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
32936 cd libiberty && \
32937 $(MAKE) $(FLAGS_TO_PASS) \
32938 $(POSTSTAGE1_FLAGS_TO_PASS) \
32939 clean
32940 @endif libiberty-bootstrap
32943 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32944 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32945 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32947 maybe-configure-stage3-zlib:
32948 maybe-all-stage3-zlib:
32949 maybe-clean-stage3-zlib:
32951 @if zlib-bootstrap
32952 maybe-configure-stage3-zlib: configure-stage3-zlib
32953 configure-stage3-zlib:
32954 @$(MAKE) stage3-start
32955 @[ -f zlib/Makefile ] && exit 0 || : ; \
32956 r=`${PWD_COMMAND}`; export r; \
32957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32958 $(STAGE_HOST_EXPORTS) \
32959 echo Configuring stage 3 in zlib ; \
32960 cd zlib || exit 1; \
32961 case $(srcdir) in \
32962 \.) \
32963 srcdiroption="--srcdir=."; \
32964 libsrcdir=".";; \
32965 /* | [A-Za-z]:[\\/]*) \
32966 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32967 libsrcdir="$$s/zlib";; \
32968 *) \
32969 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32970 libsrcdir="$$s/zlib";; \
32971 esac; \
32972 $(SHELL) $${libsrcdir}/configure \
32973 $(HOST_CONFIGARGS) $${srcdiroption} \
32974 @stage2_werror_flag@
32976 maybe-all-stage3-zlib: all-stage3-zlib
32977 all-stage3-zlib: configure-stage3-zlib
32978 @$(MAKE) stage3-start
32979 @r=`${PWD_COMMAND}`; export r; \
32980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32981 $(STAGE_HOST_EXPORTS) \
32982 cd zlib && \
32983 $(MAKE) $(FLAGS_TO_PASS) \
32984 $(POSTSTAGE1_FLAGS_TO_PASS) \
32987 maybe-clean-stage3-zlib: clean-stage3-zlib
32988 clean-stage3-zlib:
32989 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
32990 || exit 0 ; \
32991 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
32992 cd zlib && \
32993 $(MAKE) $(FLAGS_TO_PASS) \
32994 $(POSTSTAGE1_FLAGS_TO_PASS) \
32995 clean
32996 @endif zlib-bootstrap
33000 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33001 # only possibility, but now it conflicts with no-bootstrap rules
33002 @if gcc-bootstrap
33004 compare:
33005 @if test -f stage2-lean; then \
33006 echo Cannot compare object files as stage 2 was deleted. ; \
33007 exit 0 ; \
33008 fi; \
33009 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33010 @r=`${PWD_COMMAND}`; export r; \
33011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33012 rm -f .bad_compare ; \
33013 cd stage3-gcc; \
33014 files=`find . -name "*$(objext)" -print` ; \
33015 cd .. ; \
33016 for file in $${files} ; do \
33017 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
33018 @do_compare@ > /dev/null 2>&1; \
33019 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
33020 done ; \
33021 if [ -f .bad_compare ]; then \
33022 echo "Bootstrap comparison failure!"; \
33023 cat .bad_compare; \
33024 exit 1; \
33025 else \
33026 true; \
33027 fi ; \
33028 $(STAMP) compare
33029 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
33033 .PHONY: bootstrap
33034 bootstrap: stage3-bubble compare all
33037 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33038 distclean-stage2:: distclean-stage3
33039 .PHONY: distclean-stage3
33040 distclean-stage3::
33041 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33042 rm -rf stage3-* compare
33045 .PHONY: cleanstrap
33046 cleanstrap: distclean bootstrap
33048 @endif gcc-bootstrap
33051 .PHONY: stage4-start stage4-end
33053 stage4-start::
33054 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33055 echo stage4 > stage_current ; \
33056 echo stage4 > stage_last
33057 @if bfd
33058 @[ -d stage4-bfd ] || mkdir stage4-bfd; \
33059 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
33060 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
33061 @endif bfd
33062 @if opcodes
33063 @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
33064 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
33065 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
33066 @endif opcodes
33067 @if binutils
33068 @[ -d stage4-binutils ] || mkdir stage4-binutils; \
33069 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
33070 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
33071 @endif binutils
33072 @if gas
33073 @[ -d stage4-gas ] || mkdir stage4-gas; \
33074 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
33075 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
33076 @endif gas
33077 @if gcc
33078 @[ -d stage4-gcc ] || mkdir stage4-gcc; \
33079 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
33080 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
33081 @endif gcc
33082 @if intl
33083 @[ -d stage4-intl ] || mkdir stage4-intl; \
33084 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
33085 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
33086 @endif intl
33087 @if ld
33088 @[ -d stage4-ld ] || mkdir stage4-ld; \
33089 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
33090 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
33091 @endif ld
33092 @if libcpp
33093 @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
33094 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
33095 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
33096 @endif libcpp
33097 @if libiberty
33098 @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
33099 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
33100 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
33101 @endif libiberty
33102 @if zlib
33103 @[ -d stage4-zlib ] || mkdir stage4-zlib; \
33104 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
33105 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
33106 @endif zlib
33108 stage4-end::
33109 @rm -f stage_current
33110 @if bfd
33111 @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
33112 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
33113 @endif bfd
33114 @if opcodes
33115 @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
33116 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
33117 @endif opcodes
33118 @if binutils
33119 @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
33120 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
33121 @endif binutils
33122 @if gas
33123 @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
33124 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
33125 @endif gas
33126 @if gcc
33127 @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
33128 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
33129 @endif gcc
33130 @if intl
33131 @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
33132 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
33133 @endif intl
33134 @if ld
33135 @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
33136 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
33137 @endif ld
33138 @if libcpp
33139 @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
33140 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
33141 @endif libcpp
33142 @if libiberty
33143 @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
33144 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
33145 @endif libiberty
33146 @if zlib
33147 @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
33148 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
33149 @endif zlib
33151 # Bubble a bugfix through all the stages up to stage 4. They
33152 # are remade, but not reconfigured. The next stage (if any) will not
33153 # be reconfigured as well.
33154 .PHONY: stage4-bubble
33155 stage4-bubble:: stage3-bubble
33156 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
33157 @if test -f stage4-lean || test -f stage3-lean ; then \
33158 echo Skipping rebuild of stage4 ; \
33159 else \
33160 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
33163 .PHONY: all-stage4 clean-stage4
33164 all-stage4: \
33165 maybe-all-stage4-bfd \
33166 maybe-all-stage4-opcodes \
33167 maybe-all-stage4-binutils \
33168 maybe-all-stage4-gas \
33169 maybe-all-stage4-gcc \
33170 maybe-all-stage4-intl \
33171 maybe-all-stage4-ld \
33172 maybe-all-stage4-libcpp \
33173 maybe-all-stage4-libiberty \
33174 maybe-all-stage4-zlib
33176 do-clean: clean-stage4
33177 clean-stage4: \
33178 maybe-clean-stage4-bfd \
33179 maybe-clean-stage4-opcodes \
33180 maybe-clean-stage4-binutils \
33181 maybe-clean-stage4-gas \
33182 maybe-clean-stage4-gcc \
33183 maybe-clean-stage4-intl \
33184 maybe-clean-stage4-ld \
33185 maybe-clean-stage4-libcpp \
33186 maybe-clean-stage4-libiberty \
33187 maybe-clean-stage4-zlib
33190 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
33191 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
33192 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
33194 maybe-configure-stage4-bfd:
33195 maybe-all-stage4-bfd:
33196 maybe-clean-stage4-bfd:
33198 @if bfd-bootstrap
33199 maybe-configure-stage4-bfd: configure-stage4-bfd
33200 configure-stage4-bfd:
33201 @$(MAKE) stage4-start
33202 @[ -f bfd/Makefile ] && exit 0 || : ; \
33203 r=`${PWD_COMMAND}`; export r; \
33204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33205 $(STAGE_HOST_EXPORTS) \
33206 echo Configuring stage 4 in bfd ; \
33207 cd bfd || exit 1; \
33208 case $(srcdir) in \
33209 \.) \
33210 srcdiroption="--srcdir=."; \
33211 libsrcdir=".";; \
33212 /* | [A-Za-z]:[\\/]*) \
33213 srcdiroption="--srcdir=$(srcdir)/bfd"; \
33214 libsrcdir="$$s/bfd";; \
33215 *) \
33216 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
33217 libsrcdir="$$s/bfd";; \
33218 esac; \
33219 $(SHELL) $${libsrcdir}/configure \
33220 $(HOST_CONFIGARGS) $${srcdiroption} \
33221 @stage2_werror_flag@
33223 maybe-all-stage4-bfd: all-stage4-bfd
33224 all-stage4-bfd: configure-stage4-bfd
33225 @$(MAKE) stage4-start
33226 @r=`${PWD_COMMAND}`; export r; \
33227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33228 $(STAGE_HOST_EXPORTS) \
33229 cd bfd && \
33230 $(MAKE) $(FLAGS_TO_PASS) \
33231 $(POSTSTAGE1_FLAGS_TO_PASS) \
33234 maybe-clean-stage4-bfd: clean-stage4-bfd
33235 clean-stage4-bfd:
33236 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
33237 || exit 0 ; \
33238 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
33239 cd bfd && \
33240 $(MAKE) $(FLAGS_TO_PASS) \
33241 $(POSTSTAGE1_FLAGS_TO_PASS) \
33242 clean
33243 @endif bfd-bootstrap
33246 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
33247 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
33248 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
33250 maybe-configure-stage4-opcodes:
33251 maybe-all-stage4-opcodes:
33252 maybe-clean-stage4-opcodes:
33254 @if opcodes-bootstrap
33255 maybe-configure-stage4-opcodes: configure-stage4-opcodes
33256 configure-stage4-opcodes:
33257 @$(MAKE) stage4-start
33258 @[ -f opcodes/Makefile ] && exit 0 || : ; \
33259 r=`${PWD_COMMAND}`; export r; \
33260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33261 $(STAGE_HOST_EXPORTS) \
33262 echo Configuring stage 4 in opcodes ; \
33263 cd opcodes || exit 1; \
33264 case $(srcdir) in \
33265 \.) \
33266 srcdiroption="--srcdir=."; \
33267 libsrcdir=".";; \
33268 /* | [A-Za-z]:[\\/]*) \
33269 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
33270 libsrcdir="$$s/opcodes";; \
33271 *) \
33272 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
33273 libsrcdir="$$s/opcodes";; \
33274 esac; \
33275 $(SHELL) $${libsrcdir}/configure \
33276 $(HOST_CONFIGARGS) $${srcdiroption} \
33277 @stage2_werror_flag@
33279 maybe-all-stage4-opcodes: all-stage4-opcodes
33280 all-stage4-opcodes: configure-stage4-opcodes
33281 @$(MAKE) stage4-start
33282 @r=`${PWD_COMMAND}`; export r; \
33283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33284 $(STAGE_HOST_EXPORTS) \
33285 cd opcodes && \
33286 $(MAKE) $(FLAGS_TO_PASS) \
33287 $(POSTSTAGE1_FLAGS_TO_PASS) \
33290 maybe-clean-stage4-opcodes: clean-stage4-opcodes
33291 clean-stage4-opcodes:
33292 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
33293 || exit 0 ; \
33294 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
33295 cd opcodes && \
33296 $(MAKE) $(FLAGS_TO_PASS) \
33297 $(POSTSTAGE1_FLAGS_TO_PASS) \
33298 clean
33299 @endif opcodes-bootstrap
33302 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
33303 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
33304 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
33306 maybe-configure-stage4-binutils:
33307 maybe-all-stage4-binutils:
33308 maybe-clean-stage4-binutils:
33310 @if binutils-bootstrap
33311 maybe-configure-stage4-binutils: configure-stage4-binutils
33312 configure-stage4-binutils:
33313 @$(MAKE) stage4-start
33314 @[ -f binutils/Makefile ] && exit 0 || : ; \
33315 r=`${PWD_COMMAND}`; export r; \
33316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33317 $(STAGE_HOST_EXPORTS) \
33318 echo Configuring stage 4 in binutils ; \
33319 cd binutils || exit 1; \
33320 case $(srcdir) in \
33321 \.) \
33322 srcdiroption="--srcdir=."; \
33323 libsrcdir=".";; \
33324 /* | [A-Za-z]:[\\/]*) \
33325 srcdiroption="--srcdir=$(srcdir)/binutils"; \
33326 libsrcdir="$$s/binutils";; \
33327 *) \
33328 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
33329 libsrcdir="$$s/binutils";; \
33330 esac; \
33331 $(SHELL) $${libsrcdir}/configure \
33332 $(HOST_CONFIGARGS) $${srcdiroption} \
33333 @stage2_werror_flag@
33335 maybe-all-stage4-binutils: all-stage4-binutils
33336 all-stage4-binutils: configure-stage4-binutils
33337 @$(MAKE) stage4-start
33338 @r=`${PWD_COMMAND}`; export r; \
33339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33340 $(STAGE_HOST_EXPORTS) \
33341 cd binutils && \
33342 $(MAKE) $(FLAGS_TO_PASS) \
33343 $(POSTSTAGE1_FLAGS_TO_PASS) \
33346 maybe-clean-stage4-binutils: clean-stage4-binutils
33347 clean-stage4-binutils:
33348 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
33349 || exit 0 ; \
33350 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
33351 cd binutils && \
33352 $(MAKE) $(FLAGS_TO_PASS) \
33353 $(POSTSTAGE1_FLAGS_TO_PASS) \
33354 clean
33355 @endif binutils-bootstrap
33358 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
33359 .PHONY: all-stage4-gas maybe-all-stage4-gas
33360 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
33362 maybe-configure-stage4-gas:
33363 maybe-all-stage4-gas:
33364 maybe-clean-stage4-gas:
33366 @if gas-bootstrap
33367 maybe-configure-stage4-gas: configure-stage4-gas
33368 configure-stage4-gas:
33369 @$(MAKE) stage4-start
33370 @[ -f gas/Makefile ] && exit 0 || : ; \
33371 r=`${PWD_COMMAND}`; export r; \
33372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33373 $(STAGE_HOST_EXPORTS) \
33374 echo Configuring stage 4 in gas ; \
33375 cd gas || exit 1; \
33376 case $(srcdir) in \
33377 \.) \
33378 srcdiroption="--srcdir=."; \
33379 libsrcdir=".";; \
33380 /* | [A-Za-z]:[\\/]*) \
33381 srcdiroption="--srcdir=$(srcdir)/gas"; \
33382 libsrcdir="$$s/gas";; \
33383 *) \
33384 srcdiroption="--srcdir=../$(srcdir)/gas"; \
33385 libsrcdir="$$s/gas";; \
33386 esac; \
33387 $(SHELL) $${libsrcdir}/configure \
33388 $(HOST_CONFIGARGS) $${srcdiroption} \
33389 @stage2_werror_flag@
33391 maybe-all-stage4-gas: all-stage4-gas
33392 all-stage4-gas: configure-stage4-gas
33393 @$(MAKE) stage4-start
33394 @r=`${PWD_COMMAND}`; export r; \
33395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33396 $(STAGE_HOST_EXPORTS) \
33397 cd gas && \
33398 $(MAKE) $(FLAGS_TO_PASS) \
33399 $(POSTSTAGE1_FLAGS_TO_PASS) \
33402 maybe-clean-stage4-gas: clean-stage4-gas
33403 clean-stage4-gas:
33404 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
33405 || exit 0 ; \
33406 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
33407 cd gas && \
33408 $(MAKE) $(FLAGS_TO_PASS) \
33409 $(POSTSTAGE1_FLAGS_TO_PASS) \
33410 clean
33411 @endif gas-bootstrap
33414 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
33415 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
33416 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
33418 maybe-configure-stage4-gcc:
33419 maybe-all-stage4-gcc:
33420 maybe-clean-stage4-gcc:
33422 @if gcc-bootstrap
33423 maybe-configure-stage4-gcc: configure-stage4-gcc
33424 configure-stage4-gcc:
33425 @$(MAKE) stage4-start
33426 @[ -f gcc/Makefile ] && exit 0 || : ; \
33427 r=`${PWD_COMMAND}`; export r; \
33428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33429 $(STAGE_HOST_EXPORTS) \
33430 echo Configuring stage 4 in gcc ; \
33431 cd gcc || exit 1; \
33432 case $(srcdir) in \
33433 \.) \
33434 srcdiroption="--srcdir=."; \
33435 libsrcdir=".";; \
33436 /* | [A-Za-z]:[\\/]*) \
33437 srcdiroption="--srcdir=$(srcdir)/gcc"; \
33438 libsrcdir="$$s/gcc";; \
33439 *) \
33440 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
33441 libsrcdir="$$s/gcc";; \
33442 esac; \
33443 $(SHELL) $${libsrcdir}/configure \
33444 $(HOST_CONFIGARGS) $${srcdiroption} \
33445 @stage2_werror_flag@
33447 maybe-all-stage4-gcc: all-stage4-gcc
33448 all-stage4-gcc: configure-stage4-gcc
33449 @$(MAKE) stage4-start
33450 @r=`${PWD_COMMAND}`; export r; \
33451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33452 $(STAGE_HOST_EXPORTS) \
33453 cd gcc && \
33454 $(MAKE) $(FLAGS_TO_PASS) \
33455 $(POSTSTAGE1_FLAGS_TO_PASS) \
33456 $(EXTRA_GCC_FLAGS)
33458 maybe-clean-stage4-gcc: clean-stage4-gcc
33459 clean-stage4-gcc:
33460 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
33461 || exit 0 ; \
33462 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
33463 cd gcc && \
33464 $(MAKE) $(FLAGS_TO_PASS) \
33465 $(POSTSTAGE1_FLAGS_TO_PASS) \
33466 $(EXTRA_GCC_FLAGS) clean
33467 @endif gcc-bootstrap
33470 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
33471 .PHONY: all-stage4-intl maybe-all-stage4-intl
33472 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
33474 maybe-configure-stage4-intl:
33475 maybe-all-stage4-intl:
33476 maybe-clean-stage4-intl:
33478 @if intl-bootstrap
33479 maybe-configure-stage4-intl: configure-stage4-intl
33480 configure-stage4-intl:
33481 @$(MAKE) stage4-start
33482 @[ -f intl/Makefile ] && exit 0 || : ; \
33483 r=`${PWD_COMMAND}`; export r; \
33484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33485 $(STAGE_HOST_EXPORTS) \
33486 echo Configuring stage 4 in intl ; \
33487 cd intl || exit 1; \
33488 case $(srcdir) in \
33489 \.) \
33490 srcdiroption="--srcdir=."; \
33491 libsrcdir=".";; \
33492 /* | [A-Za-z]:[\\/]*) \
33493 srcdiroption="--srcdir=$(srcdir)/intl"; \
33494 libsrcdir="$$s/intl";; \
33495 *) \
33496 srcdiroption="--srcdir=../$(srcdir)/intl"; \
33497 libsrcdir="$$s/intl";; \
33498 esac; \
33499 $(SHELL) $${libsrcdir}/configure \
33500 $(HOST_CONFIGARGS) $${srcdiroption} \
33501 @stage2_werror_flag@
33503 maybe-all-stage4-intl: all-stage4-intl
33504 all-stage4-intl: configure-stage4-intl
33505 @$(MAKE) stage4-start
33506 @r=`${PWD_COMMAND}`; export r; \
33507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33508 $(STAGE_HOST_EXPORTS) \
33509 cd intl && \
33510 $(MAKE) $(FLAGS_TO_PASS) \
33511 $(POSTSTAGE1_FLAGS_TO_PASS) \
33514 maybe-clean-stage4-intl: clean-stage4-intl
33515 clean-stage4-intl:
33516 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
33517 || exit 0 ; \
33518 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
33519 cd intl && \
33520 $(MAKE) $(FLAGS_TO_PASS) \
33521 $(POSTSTAGE1_FLAGS_TO_PASS) \
33522 clean
33523 @endif intl-bootstrap
33526 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
33527 .PHONY: all-stage4-ld maybe-all-stage4-ld
33528 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
33530 maybe-configure-stage4-ld:
33531 maybe-all-stage4-ld:
33532 maybe-clean-stage4-ld:
33534 @if ld-bootstrap
33535 maybe-configure-stage4-ld: configure-stage4-ld
33536 configure-stage4-ld:
33537 @$(MAKE) stage4-start
33538 @[ -f ld/Makefile ] && exit 0 || : ; \
33539 r=`${PWD_COMMAND}`; export r; \
33540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33541 $(STAGE_HOST_EXPORTS) \
33542 echo Configuring stage 4 in ld ; \
33543 cd ld || exit 1; \
33544 case $(srcdir) in \
33545 \.) \
33546 srcdiroption="--srcdir=."; \
33547 libsrcdir=".";; \
33548 /* | [A-Za-z]:[\\/]*) \
33549 srcdiroption="--srcdir=$(srcdir)/ld"; \
33550 libsrcdir="$$s/ld";; \
33551 *) \
33552 srcdiroption="--srcdir=../$(srcdir)/ld"; \
33553 libsrcdir="$$s/ld";; \
33554 esac; \
33555 $(SHELL) $${libsrcdir}/configure \
33556 $(HOST_CONFIGARGS) $${srcdiroption} \
33557 @stage2_werror_flag@
33559 maybe-all-stage4-ld: all-stage4-ld
33560 all-stage4-ld: configure-stage4-ld
33561 @$(MAKE) stage4-start
33562 @r=`${PWD_COMMAND}`; export r; \
33563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33564 $(STAGE_HOST_EXPORTS) \
33565 cd ld && \
33566 $(MAKE) $(FLAGS_TO_PASS) \
33567 $(POSTSTAGE1_FLAGS_TO_PASS) \
33570 maybe-clean-stage4-ld: clean-stage4-ld
33571 clean-stage4-ld:
33572 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
33573 || exit 0 ; \
33574 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
33575 cd ld && \
33576 $(MAKE) $(FLAGS_TO_PASS) \
33577 $(POSTSTAGE1_FLAGS_TO_PASS) \
33578 clean
33579 @endif ld-bootstrap
33582 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
33583 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
33584 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
33586 maybe-configure-stage4-libcpp:
33587 maybe-all-stage4-libcpp:
33588 maybe-clean-stage4-libcpp:
33590 @if libcpp-bootstrap
33591 maybe-configure-stage4-libcpp: configure-stage4-libcpp
33592 configure-stage4-libcpp:
33593 @$(MAKE) stage4-start
33594 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33595 r=`${PWD_COMMAND}`; export r; \
33596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33597 $(STAGE_HOST_EXPORTS) \
33598 echo Configuring stage 4 in libcpp ; \
33599 cd libcpp || exit 1; \
33600 case $(srcdir) in \
33601 \.) \
33602 srcdiroption="--srcdir=."; \
33603 libsrcdir=".";; \
33604 /* | [A-Za-z]:[\\/]*) \
33605 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
33606 libsrcdir="$$s/libcpp";; \
33607 *) \
33608 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
33609 libsrcdir="$$s/libcpp";; \
33610 esac; \
33611 $(SHELL) $${libsrcdir}/configure \
33612 $(HOST_CONFIGARGS) $${srcdiroption} \
33613 @stage2_werror_flag@
33615 maybe-all-stage4-libcpp: all-stage4-libcpp
33616 all-stage4-libcpp: configure-stage4-libcpp
33617 @$(MAKE) stage4-start
33618 @r=`${PWD_COMMAND}`; export r; \
33619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33620 $(STAGE_HOST_EXPORTS) \
33621 cd libcpp && \
33622 $(MAKE) $(FLAGS_TO_PASS) \
33623 $(POSTSTAGE1_FLAGS_TO_PASS) \
33626 maybe-clean-stage4-libcpp: clean-stage4-libcpp
33627 clean-stage4-libcpp:
33628 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
33629 || exit 0 ; \
33630 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
33631 cd libcpp && \
33632 $(MAKE) $(FLAGS_TO_PASS) \
33633 $(POSTSTAGE1_FLAGS_TO_PASS) \
33634 clean
33635 @endif libcpp-bootstrap
33638 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
33639 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
33640 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
33642 maybe-configure-stage4-libiberty:
33643 maybe-all-stage4-libiberty:
33644 maybe-clean-stage4-libiberty:
33646 @if libiberty-bootstrap
33647 maybe-configure-stage4-libiberty: configure-stage4-libiberty
33648 configure-stage4-libiberty:
33649 @$(MAKE) stage4-start
33650 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33651 r=`${PWD_COMMAND}`; export r; \
33652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33653 $(STAGE_HOST_EXPORTS) \
33654 echo Configuring stage 4 in libiberty ; \
33655 cd libiberty || exit 1; \
33656 case $(srcdir) in \
33657 \.) \
33658 srcdiroption="--srcdir=."; \
33659 libsrcdir=".";; \
33660 /* | [A-Za-z]:[\\/]*) \
33661 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
33662 libsrcdir="$$s/libiberty";; \
33663 *) \
33664 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
33665 libsrcdir="$$s/libiberty";; \
33666 esac; \
33667 $(SHELL) $${libsrcdir}/configure \
33668 $(HOST_CONFIGARGS) $${srcdiroption} \
33669 @stage2_werror_flag@
33671 maybe-all-stage4-libiberty: all-stage4-libiberty
33672 all-stage4-libiberty: configure-stage4-libiberty
33673 @$(MAKE) stage4-start
33674 @r=`${PWD_COMMAND}`; export r; \
33675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33676 $(STAGE_HOST_EXPORTS) \
33677 cd libiberty && \
33678 $(MAKE) $(FLAGS_TO_PASS) \
33679 $(POSTSTAGE1_FLAGS_TO_PASS) \
33682 maybe-clean-stage4-libiberty: clean-stage4-libiberty
33683 clean-stage4-libiberty:
33684 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
33685 || exit 0 ; \
33686 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
33687 cd libiberty && \
33688 $(MAKE) $(FLAGS_TO_PASS) \
33689 $(POSTSTAGE1_FLAGS_TO_PASS) \
33690 clean
33691 @endif libiberty-bootstrap
33694 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
33695 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
33696 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
33698 maybe-configure-stage4-zlib:
33699 maybe-all-stage4-zlib:
33700 maybe-clean-stage4-zlib:
33702 @if zlib-bootstrap
33703 maybe-configure-stage4-zlib: configure-stage4-zlib
33704 configure-stage4-zlib:
33705 @$(MAKE) stage4-start
33706 @[ -f zlib/Makefile ] && exit 0 || : ; \
33707 r=`${PWD_COMMAND}`; export r; \
33708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33709 $(STAGE_HOST_EXPORTS) \
33710 echo Configuring stage 4 in zlib ; \
33711 cd zlib || exit 1; \
33712 case $(srcdir) in \
33713 \.) \
33714 srcdiroption="--srcdir=."; \
33715 libsrcdir=".";; \
33716 /* | [A-Za-z]:[\\/]*) \
33717 srcdiroption="--srcdir=$(srcdir)/zlib"; \
33718 libsrcdir="$$s/zlib";; \
33719 *) \
33720 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
33721 libsrcdir="$$s/zlib";; \
33722 esac; \
33723 $(SHELL) $${libsrcdir}/configure \
33724 $(HOST_CONFIGARGS) $${srcdiroption} \
33725 @stage2_werror_flag@
33727 maybe-all-stage4-zlib: all-stage4-zlib
33728 all-stage4-zlib: configure-stage4-zlib
33729 @$(MAKE) stage4-start
33730 @r=`${PWD_COMMAND}`; export r; \
33731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33732 $(STAGE_HOST_EXPORTS) \
33733 cd zlib && \
33734 $(MAKE) $(FLAGS_TO_PASS) \
33735 $(POSTSTAGE1_FLAGS_TO_PASS) \
33738 maybe-clean-stage4-zlib: clean-stage4-zlib
33739 clean-stage4-zlib:
33740 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
33741 || exit 0 ; \
33742 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
33743 cd zlib && \
33744 $(MAKE) $(FLAGS_TO_PASS) \
33745 $(POSTSTAGE1_FLAGS_TO_PASS) \
33746 clean
33747 @endif zlib-bootstrap
33751 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33752 # only possibility, but now it conflicts with no-bootstrap rules
33753 @if gcc-bootstrap
33755 compare3:
33756 @if test -f stage3-lean; then \
33757 echo Cannot compare object files as stage 3 was deleted. ; \
33758 exit 0 ; \
33759 fi; \
33760 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33761 @r=`${PWD_COMMAND}`; export r; \
33762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33763 rm -f .bad_compare ; \
33764 cd stage4-gcc; \
33765 files=`find . -name "*$(objext)" -print` ; \
33766 cd .. ; \
33767 for file in $${files} ; do \
33768 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
33769 @do_compare@ > /dev/null 2>&1; \
33770 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
33771 done ; \
33772 if [ -f .bad_compare ]; then \
33773 echo "Bootstrap comparison failure!"; \
33774 cat .bad_compare; \
33775 exit 1; \
33776 else \
33777 true; \
33778 fi ; \
33779 $(STAMP) compare3
33780 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
33784 .PHONY: bootstrap4
33785 bootstrap4: stage4-bubble compare3 all
33788 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33789 distclean-stage3:: distclean-stage4
33790 .PHONY: distclean-stage4
33791 distclean-stage4::
33792 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33793 rm -rf stage4-* compare3
33796 @endif gcc-bootstrap
33799 .PHONY: stageprofile-start stageprofile-end
33801 stageprofile-start::
33802 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33803 echo stageprofile > stage_current ; \
33804 echo stageprofile > stage_last
33805 @if bfd
33806 @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
33807 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
33808 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
33809 @endif bfd
33810 @if opcodes
33811 @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
33812 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
33813 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
33814 @endif opcodes
33815 @if binutils
33816 @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
33817 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
33818 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
33819 @endif binutils
33820 @if gas
33821 @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
33822 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
33823 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
33824 @endif gas
33825 @if gcc
33826 @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
33827 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
33828 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
33829 @endif gcc
33830 @if intl
33831 @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
33832 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
33833 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
33834 @endif intl
33835 @if ld
33836 @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
33837 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
33838 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
33839 @endif ld
33840 @if libcpp
33841 @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
33842 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
33843 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
33844 @endif libcpp
33845 @if libiberty
33846 @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
33847 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
33848 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
33849 @endif libiberty
33850 @if zlib
33851 @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
33852 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
33853 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
33854 @endif zlib
33856 stageprofile-end::
33857 @rm -f stage_current
33858 @if bfd
33859 @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
33860 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
33861 @endif bfd
33862 @if opcodes
33863 @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
33864 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
33865 @endif opcodes
33866 @if binutils
33867 @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
33868 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
33869 @endif binutils
33870 @if gas
33871 @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
33872 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
33873 @endif gas
33874 @if gcc
33875 @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
33876 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
33877 @endif gcc
33878 @if intl
33879 @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
33880 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
33881 @endif intl
33882 @if ld
33883 @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
33884 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
33885 @endif ld
33886 @if libcpp
33887 @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
33888 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
33889 @endif libcpp
33890 @if libiberty
33891 @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
33892 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
33893 @endif libiberty
33894 @if zlib
33895 @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
33896 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
33897 @endif zlib
33899 # Bubble a bugfix through all the stages up to stage profile. They
33900 # are remade, but not reconfigured. The next stage (if any) will not
33901 # be reconfigured as well.
33902 .PHONY: stageprofile-bubble
33903 stageprofile-bubble:: stage1-bubble
33904 @if test -f stageprofile-lean || test -f stage1-lean ; then \
33905 echo Skipping rebuild of stageprofile ; \
33906 else \
33907 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
33910 .PHONY: all-stageprofile clean-stageprofile
33911 all-stageprofile: \
33912 maybe-all-stageprofile-bfd \
33913 maybe-all-stageprofile-opcodes \
33914 maybe-all-stageprofile-binutils \
33915 maybe-all-stageprofile-gas \
33916 maybe-all-stageprofile-gcc \
33917 maybe-all-stageprofile-intl \
33918 maybe-all-stageprofile-ld \
33919 maybe-all-stageprofile-libcpp \
33920 maybe-all-stageprofile-libiberty \
33921 maybe-all-stageprofile-zlib
33923 do-clean: clean-stageprofile
33924 clean-stageprofile: \
33925 maybe-clean-stageprofile-bfd \
33926 maybe-clean-stageprofile-opcodes \
33927 maybe-clean-stageprofile-binutils \
33928 maybe-clean-stageprofile-gas \
33929 maybe-clean-stageprofile-gcc \
33930 maybe-clean-stageprofile-intl \
33931 maybe-clean-stageprofile-ld \
33932 maybe-clean-stageprofile-libcpp \
33933 maybe-clean-stageprofile-libiberty \
33934 maybe-clean-stageprofile-zlib
33937 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
33938 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
33939 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
33941 maybe-configure-stageprofile-bfd:
33942 maybe-all-stageprofile-bfd:
33943 maybe-clean-stageprofile-bfd:
33945 @if bfd-bootstrap
33946 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
33947 configure-stageprofile-bfd:
33948 @$(MAKE) stageprofile-start
33949 @[ -f bfd/Makefile ] && exit 0 || : ; \
33950 r=`${PWD_COMMAND}`; export r; \
33951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33952 $(STAGE_HOST_EXPORTS) \
33953 echo Configuring stage profile in bfd ; \
33954 cd bfd || exit 1; \
33955 case $(srcdir) in \
33956 \.) \
33957 srcdiroption="--srcdir=."; \
33958 libsrcdir=".";; \
33959 /* | [A-Za-z]:[\\/]*) \
33960 srcdiroption="--srcdir=$(srcdir)/bfd"; \
33961 libsrcdir="$$s/bfd";; \
33962 *) \
33963 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
33964 libsrcdir="$$s/bfd";; \
33965 esac; \
33966 $(SHELL) $${libsrcdir}/configure \
33967 $(HOST_CONFIGARGS) $${srcdiroption} \
33968 @stage2_werror_flag@
33970 maybe-all-stageprofile-bfd: all-stageprofile-bfd
33971 all-stageprofile-bfd: configure-stageprofile-bfd
33972 @$(MAKE) stageprofile-start
33973 @r=`${PWD_COMMAND}`; export r; \
33974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33975 $(STAGE_HOST_EXPORTS) \
33976 cd bfd && \
33977 $(MAKE) $(FLAGS_TO_PASS) \
33978 $(POSTSTAGE1_FLAGS_TO_PASS) \
33979 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33981 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
33982 clean-stageprofile-bfd:
33983 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
33984 || exit 0 ; \
33985 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
33986 cd bfd && \
33987 $(MAKE) $(FLAGS_TO_PASS) \
33988 $(POSTSTAGE1_FLAGS_TO_PASS) \
33989 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33990 @endif bfd-bootstrap
33993 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
33994 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
33995 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
33997 maybe-configure-stageprofile-opcodes:
33998 maybe-all-stageprofile-opcodes:
33999 maybe-clean-stageprofile-opcodes:
34001 @if opcodes-bootstrap
34002 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
34003 configure-stageprofile-opcodes:
34004 @$(MAKE) stageprofile-start
34005 @[ -f opcodes/Makefile ] && exit 0 || : ; \
34006 r=`${PWD_COMMAND}`; export r; \
34007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34008 $(STAGE_HOST_EXPORTS) \
34009 echo Configuring stage profile in opcodes ; \
34010 cd opcodes || exit 1; \
34011 case $(srcdir) in \
34012 \.) \
34013 srcdiroption="--srcdir=."; \
34014 libsrcdir=".";; \
34015 /* | [A-Za-z]:[\\/]*) \
34016 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
34017 libsrcdir="$$s/opcodes";; \
34018 *) \
34019 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
34020 libsrcdir="$$s/opcodes";; \
34021 esac; \
34022 $(SHELL) $${libsrcdir}/configure \
34023 $(HOST_CONFIGARGS) $${srcdiroption} \
34024 @stage2_werror_flag@
34026 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
34027 all-stageprofile-opcodes: configure-stageprofile-opcodes
34028 @$(MAKE) stageprofile-start
34029 @r=`${PWD_COMMAND}`; export r; \
34030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34031 $(STAGE_HOST_EXPORTS) \
34032 cd opcodes && \
34033 $(MAKE) $(FLAGS_TO_PASS) \
34034 $(POSTSTAGE1_FLAGS_TO_PASS) \
34035 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34037 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
34038 clean-stageprofile-opcodes:
34039 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
34040 || exit 0 ; \
34041 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
34042 cd opcodes && \
34043 $(MAKE) $(FLAGS_TO_PASS) \
34044 $(POSTSTAGE1_FLAGS_TO_PASS) \
34045 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34046 @endif opcodes-bootstrap
34049 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
34050 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
34051 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
34053 maybe-configure-stageprofile-binutils:
34054 maybe-all-stageprofile-binutils:
34055 maybe-clean-stageprofile-binutils:
34057 @if binutils-bootstrap
34058 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
34059 configure-stageprofile-binutils:
34060 @$(MAKE) stageprofile-start
34061 @[ -f binutils/Makefile ] && exit 0 || : ; \
34062 r=`${PWD_COMMAND}`; export r; \
34063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34064 $(STAGE_HOST_EXPORTS) \
34065 echo Configuring stage profile in binutils ; \
34066 cd binutils || exit 1; \
34067 case $(srcdir) in \
34068 \.) \
34069 srcdiroption="--srcdir=."; \
34070 libsrcdir=".";; \
34071 /* | [A-Za-z]:[\\/]*) \
34072 srcdiroption="--srcdir=$(srcdir)/binutils"; \
34073 libsrcdir="$$s/binutils";; \
34074 *) \
34075 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
34076 libsrcdir="$$s/binutils";; \
34077 esac; \
34078 $(SHELL) $${libsrcdir}/configure \
34079 $(HOST_CONFIGARGS) $${srcdiroption} \
34080 @stage2_werror_flag@
34082 maybe-all-stageprofile-binutils: all-stageprofile-binutils
34083 all-stageprofile-binutils: configure-stageprofile-binutils
34084 @$(MAKE) stageprofile-start
34085 @r=`${PWD_COMMAND}`; export r; \
34086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34087 $(STAGE_HOST_EXPORTS) \
34088 cd binutils && \
34089 $(MAKE) $(FLAGS_TO_PASS) \
34090 $(POSTSTAGE1_FLAGS_TO_PASS) \
34091 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34093 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
34094 clean-stageprofile-binutils:
34095 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
34096 || exit 0 ; \
34097 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
34098 cd binutils && \
34099 $(MAKE) $(FLAGS_TO_PASS) \
34100 $(POSTSTAGE1_FLAGS_TO_PASS) \
34101 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34102 @endif binutils-bootstrap
34105 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
34106 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
34107 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
34109 maybe-configure-stageprofile-gas:
34110 maybe-all-stageprofile-gas:
34111 maybe-clean-stageprofile-gas:
34113 @if gas-bootstrap
34114 maybe-configure-stageprofile-gas: configure-stageprofile-gas
34115 configure-stageprofile-gas:
34116 @$(MAKE) stageprofile-start
34117 @[ -f gas/Makefile ] && exit 0 || : ; \
34118 r=`${PWD_COMMAND}`; export r; \
34119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34120 $(STAGE_HOST_EXPORTS) \
34121 echo Configuring stage profile in gas ; \
34122 cd gas || exit 1; \
34123 case $(srcdir) in \
34124 \.) \
34125 srcdiroption="--srcdir=."; \
34126 libsrcdir=".";; \
34127 /* | [A-Za-z]:[\\/]*) \
34128 srcdiroption="--srcdir=$(srcdir)/gas"; \
34129 libsrcdir="$$s/gas";; \
34130 *) \
34131 srcdiroption="--srcdir=../$(srcdir)/gas"; \
34132 libsrcdir="$$s/gas";; \
34133 esac; \
34134 $(SHELL) $${libsrcdir}/configure \
34135 $(HOST_CONFIGARGS) $${srcdiroption} \
34136 @stage2_werror_flag@
34138 maybe-all-stageprofile-gas: all-stageprofile-gas
34139 all-stageprofile-gas: configure-stageprofile-gas
34140 @$(MAKE) stageprofile-start
34141 @r=`${PWD_COMMAND}`; export r; \
34142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34143 $(STAGE_HOST_EXPORTS) \
34144 cd gas && \
34145 $(MAKE) $(FLAGS_TO_PASS) \
34146 $(POSTSTAGE1_FLAGS_TO_PASS) \
34147 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34149 maybe-clean-stageprofile-gas: clean-stageprofile-gas
34150 clean-stageprofile-gas:
34151 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
34152 || exit 0 ; \
34153 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
34154 cd gas && \
34155 $(MAKE) $(FLAGS_TO_PASS) \
34156 $(POSTSTAGE1_FLAGS_TO_PASS) \
34157 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34158 @endif gas-bootstrap
34161 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
34162 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
34163 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
34165 maybe-configure-stageprofile-gcc:
34166 maybe-all-stageprofile-gcc:
34167 maybe-clean-stageprofile-gcc:
34169 @if gcc-bootstrap
34170 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
34171 configure-stageprofile-gcc:
34172 @$(MAKE) stageprofile-start
34173 @[ -f gcc/Makefile ] && exit 0 || : ; \
34174 r=`${PWD_COMMAND}`; export r; \
34175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34176 $(STAGE_HOST_EXPORTS) \
34177 echo Configuring stage profile in gcc ; \
34178 cd gcc || exit 1; \
34179 case $(srcdir) in \
34180 \.) \
34181 srcdiroption="--srcdir=."; \
34182 libsrcdir=".";; \
34183 /* | [A-Za-z]:[\\/]*) \
34184 srcdiroption="--srcdir=$(srcdir)/gcc"; \
34185 libsrcdir="$$s/gcc";; \
34186 *) \
34187 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
34188 libsrcdir="$$s/gcc";; \
34189 esac; \
34190 $(SHELL) $${libsrcdir}/configure \
34191 $(HOST_CONFIGARGS) $${srcdiroption} \
34192 @stage2_werror_flag@
34194 maybe-all-stageprofile-gcc: all-stageprofile-gcc
34195 all-stageprofile-gcc: configure-stageprofile-gcc
34196 @$(MAKE) stageprofile-start
34197 @r=`${PWD_COMMAND}`; export r; \
34198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34199 $(STAGE_HOST_EXPORTS) \
34200 cd gcc && \
34201 $(MAKE) $(FLAGS_TO_PASS) \
34202 $(POSTSTAGE1_FLAGS_TO_PASS) \
34203 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
34205 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
34206 clean-stageprofile-gcc:
34207 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
34208 || exit 0 ; \
34209 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
34210 cd gcc && \
34211 $(MAKE) $(FLAGS_TO_PASS) \
34212 $(POSTSTAGE1_FLAGS_TO_PASS) \
34213 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
34214 @endif gcc-bootstrap
34217 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
34218 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
34219 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
34221 maybe-configure-stageprofile-intl:
34222 maybe-all-stageprofile-intl:
34223 maybe-clean-stageprofile-intl:
34225 @if intl-bootstrap
34226 maybe-configure-stageprofile-intl: configure-stageprofile-intl
34227 configure-stageprofile-intl:
34228 @$(MAKE) stageprofile-start
34229 @[ -f intl/Makefile ] && exit 0 || : ; \
34230 r=`${PWD_COMMAND}`; export r; \
34231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34232 $(STAGE_HOST_EXPORTS) \
34233 echo Configuring stage profile in intl ; \
34234 cd intl || exit 1; \
34235 case $(srcdir) in \
34236 \.) \
34237 srcdiroption="--srcdir=."; \
34238 libsrcdir=".";; \
34239 /* | [A-Za-z]:[\\/]*) \
34240 srcdiroption="--srcdir=$(srcdir)/intl"; \
34241 libsrcdir="$$s/intl";; \
34242 *) \
34243 srcdiroption="--srcdir=../$(srcdir)/intl"; \
34244 libsrcdir="$$s/intl";; \
34245 esac; \
34246 $(SHELL) $${libsrcdir}/configure \
34247 $(HOST_CONFIGARGS) $${srcdiroption} \
34248 @stage2_werror_flag@
34250 maybe-all-stageprofile-intl: all-stageprofile-intl
34251 all-stageprofile-intl: configure-stageprofile-intl
34252 @$(MAKE) stageprofile-start
34253 @r=`${PWD_COMMAND}`; export r; \
34254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34255 $(STAGE_HOST_EXPORTS) \
34256 cd intl && \
34257 $(MAKE) $(FLAGS_TO_PASS) \
34258 $(POSTSTAGE1_FLAGS_TO_PASS) \
34259 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34261 maybe-clean-stageprofile-intl: clean-stageprofile-intl
34262 clean-stageprofile-intl:
34263 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
34264 || exit 0 ; \
34265 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
34266 cd intl && \
34267 $(MAKE) $(FLAGS_TO_PASS) \
34268 $(POSTSTAGE1_FLAGS_TO_PASS) \
34269 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34270 @endif intl-bootstrap
34273 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
34274 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
34275 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
34277 maybe-configure-stageprofile-ld:
34278 maybe-all-stageprofile-ld:
34279 maybe-clean-stageprofile-ld:
34281 @if ld-bootstrap
34282 maybe-configure-stageprofile-ld: configure-stageprofile-ld
34283 configure-stageprofile-ld:
34284 @$(MAKE) stageprofile-start
34285 @[ -f ld/Makefile ] && exit 0 || : ; \
34286 r=`${PWD_COMMAND}`; export r; \
34287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34288 $(STAGE_HOST_EXPORTS) \
34289 echo Configuring stage profile in ld ; \
34290 cd ld || exit 1; \
34291 case $(srcdir) in \
34292 \.) \
34293 srcdiroption="--srcdir=."; \
34294 libsrcdir=".";; \
34295 /* | [A-Za-z]:[\\/]*) \
34296 srcdiroption="--srcdir=$(srcdir)/ld"; \
34297 libsrcdir="$$s/ld";; \
34298 *) \
34299 srcdiroption="--srcdir=../$(srcdir)/ld"; \
34300 libsrcdir="$$s/ld";; \
34301 esac; \
34302 $(SHELL) $${libsrcdir}/configure \
34303 $(HOST_CONFIGARGS) $${srcdiroption} \
34304 @stage2_werror_flag@
34306 maybe-all-stageprofile-ld: all-stageprofile-ld
34307 all-stageprofile-ld: configure-stageprofile-ld
34308 @$(MAKE) stageprofile-start
34309 @r=`${PWD_COMMAND}`; export r; \
34310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34311 $(STAGE_HOST_EXPORTS) \
34312 cd ld && \
34313 $(MAKE) $(FLAGS_TO_PASS) \
34314 $(POSTSTAGE1_FLAGS_TO_PASS) \
34315 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34317 maybe-clean-stageprofile-ld: clean-stageprofile-ld
34318 clean-stageprofile-ld:
34319 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
34320 || exit 0 ; \
34321 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
34322 cd ld && \
34323 $(MAKE) $(FLAGS_TO_PASS) \
34324 $(POSTSTAGE1_FLAGS_TO_PASS) \
34325 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34326 @endif ld-bootstrap
34329 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
34330 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
34331 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
34333 maybe-configure-stageprofile-libcpp:
34334 maybe-all-stageprofile-libcpp:
34335 maybe-clean-stageprofile-libcpp:
34337 @if libcpp-bootstrap
34338 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
34339 configure-stageprofile-libcpp:
34340 @$(MAKE) stageprofile-start
34341 @[ -f libcpp/Makefile ] && exit 0 || : ; \
34342 r=`${PWD_COMMAND}`; export r; \
34343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34344 $(STAGE_HOST_EXPORTS) \
34345 echo Configuring stage profile in libcpp ; \
34346 cd libcpp || exit 1; \
34347 case $(srcdir) in \
34348 \.) \
34349 srcdiroption="--srcdir=."; \
34350 libsrcdir=".";; \
34351 /* | [A-Za-z]:[\\/]*) \
34352 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
34353 libsrcdir="$$s/libcpp";; \
34354 *) \
34355 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
34356 libsrcdir="$$s/libcpp";; \
34357 esac; \
34358 $(SHELL) $${libsrcdir}/configure \
34359 $(HOST_CONFIGARGS) $${srcdiroption} \
34360 @stage2_werror_flag@
34362 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
34363 all-stageprofile-libcpp: configure-stageprofile-libcpp
34364 @$(MAKE) stageprofile-start
34365 @r=`${PWD_COMMAND}`; export r; \
34366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34367 $(STAGE_HOST_EXPORTS) \
34368 cd libcpp && \
34369 $(MAKE) $(FLAGS_TO_PASS) \
34370 $(POSTSTAGE1_FLAGS_TO_PASS) \
34371 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34373 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
34374 clean-stageprofile-libcpp:
34375 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
34376 || exit 0 ; \
34377 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
34378 cd libcpp && \
34379 $(MAKE) $(FLAGS_TO_PASS) \
34380 $(POSTSTAGE1_FLAGS_TO_PASS) \
34381 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34382 @endif libcpp-bootstrap
34385 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
34386 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
34387 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
34389 maybe-configure-stageprofile-libiberty:
34390 maybe-all-stageprofile-libiberty:
34391 maybe-clean-stageprofile-libiberty:
34393 @if libiberty-bootstrap
34394 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
34395 configure-stageprofile-libiberty:
34396 @$(MAKE) stageprofile-start
34397 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34398 r=`${PWD_COMMAND}`; export r; \
34399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34400 $(STAGE_HOST_EXPORTS) \
34401 echo Configuring stage profile in libiberty ; \
34402 cd libiberty || exit 1; \
34403 case $(srcdir) in \
34404 \.) \
34405 srcdiroption="--srcdir=."; \
34406 libsrcdir=".";; \
34407 /* | [A-Za-z]:[\\/]*) \
34408 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
34409 libsrcdir="$$s/libiberty";; \
34410 *) \
34411 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
34412 libsrcdir="$$s/libiberty";; \
34413 esac; \
34414 $(SHELL) $${libsrcdir}/configure \
34415 $(HOST_CONFIGARGS) $${srcdiroption} \
34416 @stage2_werror_flag@
34418 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
34419 all-stageprofile-libiberty: configure-stageprofile-libiberty
34420 @$(MAKE) stageprofile-start
34421 @r=`${PWD_COMMAND}`; export r; \
34422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34423 $(STAGE_HOST_EXPORTS) \
34424 cd libiberty && \
34425 $(MAKE) $(FLAGS_TO_PASS) \
34426 $(POSTSTAGE1_FLAGS_TO_PASS) \
34427 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34429 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
34430 clean-stageprofile-libiberty:
34431 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
34432 || exit 0 ; \
34433 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
34434 cd libiberty && \
34435 $(MAKE) $(FLAGS_TO_PASS) \
34436 $(POSTSTAGE1_FLAGS_TO_PASS) \
34437 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34438 @endif libiberty-bootstrap
34441 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
34442 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
34443 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
34445 maybe-configure-stageprofile-zlib:
34446 maybe-all-stageprofile-zlib:
34447 maybe-clean-stageprofile-zlib:
34449 @if zlib-bootstrap
34450 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
34451 configure-stageprofile-zlib:
34452 @$(MAKE) stageprofile-start
34453 @[ -f zlib/Makefile ] && exit 0 || : ; \
34454 r=`${PWD_COMMAND}`; export r; \
34455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34456 $(STAGE_HOST_EXPORTS) \
34457 echo Configuring stage profile in zlib ; \
34458 cd zlib || exit 1; \
34459 case $(srcdir) in \
34460 \.) \
34461 srcdiroption="--srcdir=."; \
34462 libsrcdir=".";; \
34463 /* | [A-Za-z]:[\\/]*) \
34464 srcdiroption="--srcdir=$(srcdir)/zlib"; \
34465 libsrcdir="$$s/zlib";; \
34466 *) \
34467 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
34468 libsrcdir="$$s/zlib";; \
34469 esac; \
34470 $(SHELL) $${libsrcdir}/configure \
34471 $(HOST_CONFIGARGS) $${srcdiroption} \
34472 @stage2_werror_flag@
34474 maybe-all-stageprofile-zlib: all-stageprofile-zlib
34475 all-stageprofile-zlib: configure-stageprofile-zlib
34476 @$(MAKE) stageprofile-start
34477 @r=`${PWD_COMMAND}`; export r; \
34478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34479 $(STAGE_HOST_EXPORTS) \
34480 cd zlib && \
34481 $(MAKE) $(FLAGS_TO_PASS) \
34482 $(POSTSTAGE1_FLAGS_TO_PASS) \
34483 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34485 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
34486 clean-stageprofile-zlib:
34487 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
34488 || exit 0 ; \
34489 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
34490 cd zlib && \
34491 $(MAKE) $(FLAGS_TO_PASS) \
34492 $(POSTSTAGE1_FLAGS_TO_PASS) \
34493 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34494 @endif zlib-bootstrap
34498 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34499 # only possibility, but now it conflicts with no-bootstrap rules
34500 @if gcc-bootstrap
34505 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34506 distclean-stage1:: distclean-stageprofile
34507 .PHONY: distclean-stageprofile
34508 distclean-stageprofile::
34509 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34510 rm -rf stageprofile-*
34513 @endif gcc-bootstrap
34516 .PHONY: stagefeedback-start stagefeedback-end
34518 stagefeedback-start::
34519 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34520 echo stagefeedback > stage_current ; \
34521 echo stagefeedback > stage_last
34522 @if bfd
34523 @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
34524 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
34525 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
34526 @endif bfd
34527 @if opcodes
34528 @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
34529 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
34530 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
34531 @endif opcodes
34532 @if binutils
34533 @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
34534 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
34535 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
34536 @endif binutils
34537 @if gas
34538 @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
34539 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
34540 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
34541 @endif gas
34542 @if gcc
34543 @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
34544 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
34545 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
34546 @endif gcc
34547 @if intl
34548 @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
34549 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
34550 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
34551 @endif intl
34552 @if ld
34553 @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
34554 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
34555 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
34556 @endif ld
34557 @if libcpp
34558 @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
34559 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
34560 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
34561 @endif libcpp
34562 @if libiberty
34563 @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
34564 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
34565 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
34566 @endif libiberty
34567 @if zlib
34568 @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
34569 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
34570 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
34571 @endif zlib
34573 stagefeedback-end::
34574 @rm -f stage_current
34575 @if bfd
34576 @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
34577 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
34578 @endif bfd
34579 @if opcodes
34580 @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
34581 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
34582 @endif opcodes
34583 @if binutils
34584 @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
34585 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
34586 @endif binutils
34587 @if gas
34588 @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
34589 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
34590 @endif gas
34591 @if gcc
34592 @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
34593 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
34594 @endif gcc
34595 @if intl
34596 @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
34597 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
34598 @endif intl
34599 @if ld
34600 @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
34601 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
34602 @endif ld
34603 @if libcpp
34604 @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
34605 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
34606 @endif libcpp
34607 @if libiberty
34608 @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
34609 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
34610 @endif libiberty
34611 @if zlib
34612 @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
34613 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
34614 @endif zlib
34616 # Bubble a bugfix through all the stages up to stage feedback. They
34617 # are remade, but not reconfigured. The next stage (if any) will not
34618 # be reconfigured as well.
34619 .PHONY: stagefeedback-bubble
34620 stagefeedback-bubble:: stage1-bubble
34621 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
34622 echo Skipping rebuild of stagefeedback ; \
34623 else \
34624 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34627 .PHONY: all-stagefeedback clean-stagefeedback
34628 all-stagefeedback: \
34629 maybe-all-stagefeedback-bfd \
34630 maybe-all-stagefeedback-opcodes \
34631 maybe-all-stagefeedback-binutils \
34632 maybe-all-stagefeedback-gas \
34633 maybe-all-stagefeedback-gcc \
34634 maybe-all-stagefeedback-intl \
34635 maybe-all-stagefeedback-ld \
34636 maybe-all-stagefeedback-libcpp \
34637 maybe-all-stagefeedback-libiberty \
34638 maybe-all-stagefeedback-zlib
34640 do-clean: clean-stagefeedback
34641 clean-stagefeedback: \
34642 maybe-clean-stagefeedback-bfd \
34643 maybe-clean-stagefeedback-opcodes \
34644 maybe-clean-stagefeedback-binutils \
34645 maybe-clean-stagefeedback-gas \
34646 maybe-clean-stagefeedback-gcc \
34647 maybe-clean-stagefeedback-intl \
34648 maybe-clean-stagefeedback-ld \
34649 maybe-clean-stagefeedback-libcpp \
34650 maybe-clean-stagefeedback-libiberty \
34651 maybe-clean-stagefeedback-zlib
34654 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
34655 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
34656 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
34658 maybe-configure-stagefeedback-bfd:
34659 maybe-all-stagefeedback-bfd:
34660 maybe-clean-stagefeedback-bfd:
34662 @if bfd-bootstrap
34663 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
34664 configure-stagefeedback-bfd:
34665 @$(MAKE) stagefeedback-start
34666 @[ -f bfd/Makefile ] && exit 0 || : ; \
34667 r=`${PWD_COMMAND}`; export r; \
34668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34669 $(STAGE_HOST_EXPORTS) \
34670 echo Configuring stage feedback in bfd ; \
34671 cd bfd || exit 1; \
34672 case $(srcdir) in \
34673 \.) \
34674 srcdiroption="--srcdir=."; \
34675 libsrcdir=".";; \
34676 /* | [A-Za-z]:[\\/]*) \
34677 srcdiroption="--srcdir=$(srcdir)/bfd"; \
34678 libsrcdir="$$s/bfd";; \
34679 *) \
34680 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
34681 libsrcdir="$$s/bfd";; \
34682 esac; \
34683 $(SHELL) $${libsrcdir}/configure \
34684 $(HOST_CONFIGARGS) $${srcdiroption} \
34685 @stage2_werror_flag@
34687 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
34688 all-stagefeedback-bfd: configure-stagefeedback-bfd
34689 @$(MAKE) stagefeedback-start
34690 @r=`${PWD_COMMAND}`; export r; \
34691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34692 $(STAGE_HOST_EXPORTS) \
34693 cd bfd && \
34694 $(MAKE) $(FLAGS_TO_PASS) \
34695 $(POSTSTAGE1_FLAGS_TO_PASS) \
34696 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34698 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
34699 clean-stagefeedback-bfd:
34700 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
34701 || exit 0 ; \
34702 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
34703 cd bfd && \
34704 $(MAKE) $(FLAGS_TO_PASS) \
34705 $(POSTSTAGE1_FLAGS_TO_PASS) \
34706 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34707 @endif bfd-bootstrap
34710 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
34711 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
34712 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
34714 maybe-configure-stagefeedback-opcodes:
34715 maybe-all-stagefeedback-opcodes:
34716 maybe-clean-stagefeedback-opcodes:
34718 @if opcodes-bootstrap
34719 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
34720 configure-stagefeedback-opcodes:
34721 @$(MAKE) stagefeedback-start
34722 @[ -f opcodes/Makefile ] && exit 0 || : ; \
34723 r=`${PWD_COMMAND}`; export r; \
34724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34725 $(STAGE_HOST_EXPORTS) \
34726 echo Configuring stage feedback in opcodes ; \
34727 cd opcodes || exit 1; \
34728 case $(srcdir) in \
34729 \.) \
34730 srcdiroption="--srcdir=."; \
34731 libsrcdir=".";; \
34732 /* | [A-Za-z]:[\\/]*) \
34733 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
34734 libsrcdir="$$s/opcodes";; \
34735 *) \
34736 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
34737 libsrcdir="$$s/opcodes";; \
34738 esac; \
34739 $(SHELL) $${libsrcdir}/configure \
34740 $(HOST_CONFIGARGS) $${srcdiroption} \
34741 @stage2_werror_flag@
34743 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
34744 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
34745 @$(MAKE) stagefeedback-start
34746 @r=`${PWD_COMMAND}`; export r; \
34747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34748 $(STAGE_HOST_EXPORTS) \
34749 cd opcodes && \
34750 $(MAKE) $(FLAGS_TO_PASS) \
34751 $(POSTSTAGE1_FLAGS_TO_PASS) \
34752 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34754 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
34755 clean-stagefeedback-opcodes:
34756 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
34757 || exit 0 ; \
34758 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
34759 cd opcodes && \
34760 $(MAKE) $(FLAGS_TO_PASS) \
34761 $(POSTSTAGE1_FLAGS_TO_PASS) \
34762 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34763 @endif opcodes-bootstrap
34766 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
34767 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
34768 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
34770 maybe-configure-stagefeedback-binutils:
34771 maybe-all-stagefeedback-binutils:
34772 maybe-clean-stagefeedback-binutils:
34774 @if binutils-bootstrap
34775 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
34776 configure-stagefeedback-binutils:
34777 @$(MAKE) stagefeedback-start
34778 @[ -f binutils/Makefile ] && exit 0 || : ; \
34779 r=`${PWD_COMMAND}`; export r; \
34780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34781 $(STAGE_HOST_EXPORTS) \
34782 echo Configuring stage feedback in binutils ; \
34783 cd binutils || exit 1; \
34784 case $(srcdir) in \
34785 \.) \
34786 srcdiroption="--srcdir=."; \
34787 libsrcdir=".";; \
34788 /* | [A-Za-z]:[\\/]*) \
34789 srcdiroption="--srcdir=$(srcdir)/binutils"; \
34790 libsrcdir="$$s/binutils";; \
34791 *) \
34792 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
34793 libsrcdir="$$s/binutils";; \
34794 esac; \
34795 $(SHELL) $${libsrcdir}/configure \
34796 $(HOST_CONFIGARGS) $${srcdiroption} \
34797 @stage2_werror_flag@
34799 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
34800 all-stagefeedback-binutils: configure-stagefeedback-binutils
34801 @$(MAKE) stagefeedback-start
34802 @r=`${PWD_COMMAND}`; export r; \
34803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34804 $(STAGE_HOST_EXPORTS) \
34805 cd binutils && \
34806 $(MAKE) $(FLAGS_TO_PASS) \
34807 $(POSTSTAGE1_FLAGS_TO_PASS) \
34808 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34810 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
34811 clean-stagefeedback-binutils:
34812 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
34813 || exit 0 ; \
34814 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
34815 cd binutils && \
34816 $(MAKE) $(FLAGS_TO_PASS) \
34817 $(POSTSTAGE1_FLAGS_TO_PASS) \
34818 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34819 @endif binutils-bootstrap
34822 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
34823 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
34824 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
34826 maybe-configure-stagefeedback-gas:
34827 maybe-all-stagefeedback-gas:
34828 maybe-clean-stagefeedback-gas:
34830 @if gas-bootstrap
34831 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
34832 configure-stagefeedback-gas:
34833 @$(MAKE) stagefeedback-start
34834 @[ -f gas/Makefile ] && exit 0 || : ; \
34835 r=`${PWD_COMMAND}`; export r; \
34836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34837 $(STAGE_HOST_EXPORTS) \
34838 echo Configuring stage feedback in gas ; \
34839 cd gas || exit 1; \
34840 case $(srcdir) in \
34841 \.) \
34842 srcdiroption="--srcdir=."; \
34843 libsrcdir=".";; \
34844 /* | [A-Za-z]:[\\/]*) \
34845 srcdiroption="--srcdir=$(srcdir)/gas"; \
34846 libsrcdir="$$s/gas";; \
34847 *) \
34848 srcdiroption="--srcdir=../$(srcdir)/gas"; \
34849 libsrcdir="$$s/gas";; \
34850 esac; \
34851 $(SHELL) $${libsrcdir}/configure \
34852 $(HOST_CONFIGARGS) $${srcdiroption} \
34853 @stage2_werror_flag@
34855 maybe-all-stagefeedback-gas: all-stagefeedback-gas
34856 all-stagefeedback-gas: configure-stagefeedback-gas
34857 @$(MAKE) stagefeedback-start
34858 @r=`${PWD_COMMAND}`; export r; \
34859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34860 $(STAGE_HOST_EXPORTS) \
34861 cd gas && \
34862 $(MAKE) $(FLAGS_TO_PASS) \
34863 $(POSTSTAGE1_FLAGS_TO_PASS) \
34864 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34866 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
34867 clean-stagefeedback-gas:
34868 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
34869 || exit 0 ; \
34870 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
34871 cd gas && \
34872 $(MAKE) $(FLAGS_TO_PASS) \
34873 $(POSTSTAGE1_FLAGS_TO_PASS) \
34874 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34875 @endif gas-bootstrap
34878 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
34879 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
34880 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
34882 maybe-configure-stagefeedback-gcc:
34883 maybe-all-stagefeedback-gcc:
34884 maybe-clean-stagefeedback-gcc:
34886 @if gcc-bootstrap
34887 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
34888 configure-stagefeedback-gcc:
34889 @$(MAKE) stagefeedback-start
34890 @[ -f gcc/Makefile ] && exit 0 || : ; \
34891 r=`${PWD_COMMAND}`; export r; \
34892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34893 $(STAGE_HOST_EXPORTS) \
34894 echo Configuring stage feedback in gcc ; \
34895 cd gcc || exit 1; \
34896 case $(srcdir) in \
34897 \.) \
34898 srcdiroption="--srcdir=."; \
34899 libsrcdir=".";; \
34900 /* | [A-Za-z]:[\\/]*) \
34901 srcdiroption="--srcdir=$(srcdir)/gcc"; \
34902 libsrcdir="$$s/gcc";; \
34903 *) \
34904 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
34905 libsrcdir="$$s/gcc";; \
34906 esac; \
34907 $(SHELL) $${libsrcdir}/configure \
34908 $(HOST_CONFIGARGS) $${srcdiroption} \
34909 @stage2_werror_flag@
34911 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
34912 all-stagefeedback-gcc: configure-stagefeedback-gcc
34913 @$(MAKE) stagefeedback-start
34914 @r=`${PWD_COMMAND}`; export r; \
34915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34916 $(STAGE_HOST_EXPORTS) \
34917 cd gcc && \
34918 $(MAKE) $(FLAGS_TO_PASS) \
34919 $(POSTSTAGE1_FLAGS_TO_PASS) \
34920 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
34922 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
34923 clean-stagefeedback-gcc:
34924 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
34925 || exit 0 ; \
34926 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
34927 cd gcc && \
34928 $(MAKE) $(FLAGS_TO_PASS) \
34929 $(POSTSTAGE1_FLAGS_TO_PASS) \
34930 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
34931 @endif gcc-bootstrap
34934 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
34935 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
34936 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
34938 maybe-configure-stagefeedback-intl:
34939 maybe-all-stagefeedback-intl:
34940 maybe-clean-stagefeedback-intl:
34942 @if intl-bootstrap
34943 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
34944 configure-stagefeedback-intl:
34945 @$(MAKE) stagefeedback-start
34946 @[ -f intl/Makefile ] && exit 0 || : ; \
34947 r=`${PWD_COMMAND}`; export r; \
34948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34949 $(STAGE_HOST_EXPORTS) \
34950 echo Configuring stage feedback in intl ; \
34951 cd intl || exit 1; \
34952 case $(srcdir) in \
34953 \.) \
34954 srcdiroption="--srcdir=."; \
34955 libsrcdir=".";; \
34956 /* | [A-Za-z]:[\\/]*) \
34957 srcdiroption="--srcdir=$(srcdir)/intl"; \
34958 libsrcdir="$$s/intl";; \
34959 *) \
34960 srcdiroption="--srcdir=../$(srcdir)/intl"; \
34961 libsrcdir="$$s/intl";; \
34962 esac; \
34963 $(SHELL) $${libsrcdir}/configure \
34964 $(HOST_CONFIGARGS) $${srcdiroption} \
34965 @stage2_werror_flag@
34967 maybe-all-stagefeedback-intl: all-stagefeedback-intl
34968 all-stagefeedback-intl: configure-stagefeedback-intl
34969 @$(MAKE) stagefeedback-start
34970 @r=`${PWD_COMMAND}`; export r; \
34971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34972 $(STAGE_HOST_EXPORTS) \
34973 cd intl && \
34974 $(MAKE) $(FLAGS_TO_PASS) \
34975 $(POSTSTAGE1_FLAGS_TO_PASS) \
34976 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34978 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
34979 clean-stagefeedback-intl:
34980 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
34981 || exit 0 ; \
34982 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
34983 cd intl && \
34984 $(MAKE) $(FLAGS_TO_PASS) \
34985 $(POSTSTAGE1_FLAGS_TO_PASS) \
34986 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34987 @endif intl-bootstrap
34990 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
34991 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
34992 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
34994 maybe-configure-stagefeedback-ld:
34995 maybe-all-stagefeedback-ld:
34996 maybe-clean-stagefeedback-ld:
34998 @if ld-bootstrap
34999 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
35000 configure-stagefeedback-ld:
35001 @$(MAKE) stagefeedback-start
35002 @[ -f ld/Makefile ] && exit 0 || : ; \
35003 r=`${PWD_COMMAND}`; export r; \
35004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35005 $(STAGE_HOST_EXPORTS) \
35006 echo Configuring stage feedback in ld ; \
35007 cd ld || exit 1; \
35008 case $(srcdir) in \
35009 \.) \
35010 srcdiroption="--srcdir=."; \
35011 libsrcdir=".";; \
35012 /* | [A-Za-z]:[\\/]*) \
35013 srcdiroption="--srcdir=$(srcdir)/ld"; \
35014 libsrcdir="$$s/ld";; \
35015 *) \
35016 srcdiroption="--srcdir=../$(srcdir)/ld"; \
35017 libsrcdir="$$s/ld";; \
35018 esac; \
35019 $(SHELL) $${libsrcdir}/configure \
35020 $(HOST_CONFIGARGS) $${srcdiroption} \
35021 @stage2_werror_flag@
35023 maybe-all-stagefeedback-ld: all-stagefeedback-ld
35024 all-stagefeedback-ld: configure-stagefeedback-ld
35025 @$(MAKE) stagefeedback-start
35026 @r=`${PWD_COMMAND}`; export r; \
35027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35028 $(STAGE_HOST_EXPORTS) \
35029 cd ld && \
35030 $(MAKE) $(FLAGS_TO_PASS) \
35031 $(POSTSTAGE1_FLAGS_TO_PASS) \
35032 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
35034 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
35035 clean-stagefeedback-ld:
35036 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
35037 || exit 0 ; \
35038 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
35039 cd ld && \
35040 $(MAKE) $(FLAGS_TO_PASS) \
35041 $(POSTSTAGE1_FLAGS_TO_PASS) \
35042 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
35043 @endif ld-bootstrap
35046 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
35047 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
35048 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
35050 maybe-configure-stagefeedback-libcpp:
35051 maybe-all-stagefeedback-libcpp:
35052 maybe-clean-stagefeedback-libcpp:
35054 @if libcpp-bootstrap
35055 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
35056 configure-stagefeedback-libcpp:
35057 @$(MAKE) stagefeedback-start
35058 @[ -f libcpp/Makefile ] && exit 0 || : ; \
35059 r=`${PWD_COMMAND}`; export r; \
35060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35061 $(STAGE_HOST_EXPORTS) \
35062 echo Configuring stage feedback in libcpp ; \
35063 cd libcpp || exit 1; \
35064 case $(srcdir) in \
35065 \.) \
35066 srcdiroption="--srcdir=."; \
35067 libsrcdir=".";; \
35068 /* | [A-Za-z]:[\\/]*) \
35069 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
35070 libsrcdir="$$s/libcpp";; \
35071 *) \
35072 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
35073 libsrcdir="$$s/libcpp";; \
35074 esac; \
35075 $(SHELL) $${libsrcdir}/configure \
35076 $(HOST_CONFIGARGS) $${srcdiroption} \
35077 @stage2_werror_flag@
35079 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
35080 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
35081 @$(MAKE) stagefeedback-start
35082 @r=`${PWD_COMMAND}`; export r; \
35083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35084 $(STAGE_HOST_EXPORTS) \
35085 cd libcpp && \
35086 $(MAKE) $(FLAGS_TO_PASS) \
35087 $(POSTSTAGE1_FLAGS_TO_PASS) \
35088 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
35090 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
35091 clean-stagefeedback-libcpp:
35092 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
35093 || exit 0 ; \
35094 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
35095 cd libcpp && \
35096 $(MAKE) $(FLAGS_TO_PASS) \
35097 $(POSTSTAGE1_FLAGS_TO_PASS) \
35098 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
35099 @endif libcpp-bootstrap
35102 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
35103 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
35104 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
35106 maybe-configure-stagefeedback-libiberty:
35107 maybe-all-stagefeedback-libiberty:
35108 maybe-clean-stagefeedback-libiberty:
35110 @if libiberty-bootstrap
35111 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
35112 configure-stagefeedback-libiberty:
35113 @$(MAKE) stagefeedback-start
35114 @[ -f libiberty/Makefile ] && exit 0 || : ; \
35115 r=`${PWD_COMMAND}`; export r; \
35116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35117 $(STAGE_HOST_EXPORTS) \
35118 echo Configuring stage feedback in libiberty ; \
35119 cd libiberty || exit 1; \
35120 case $(srcdir) in \
35121 \.) \
35122 srcdiroption="--srcdir=."; \
35123 libsrcdir=".";; \
35124 /* | [A-Za-z]:[\\/]*) \
35125 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
35126 libsrcdir="$$s/libiberty";; \
35127 *) \
35128 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
35129 libsrcdir="$$s/libiberty";; \
35130 esac; \
35131 $(SHELL) $${libsrcdir}/configure \
35132 $(HOST_CONFIGARGS) $${srcdiroption} \
35133 @stage2_werror_flag@
35135 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
35136 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
35137 @$(MAKE) stagefeedback-start
35138 @r=`${PWD_COMMAND}`; export r; \
35139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35140 $(STAGE_HOST_EXPORTS) \
35141 cd libiberty && \
35142 $(MAKE) $(FLAGS_TO_PASS) \
35143 $(POSTSTAGE1_FLAGS_TO_PASS) \
35144 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
35146 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
35147 clean-stagefeedback-libiberty:
35148 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
35149 || exit 0 ; \
35150 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
35151 cd libiberty && \
35152 $(MAKE) $(FLAGS_TO_PASS) \
35153 $(POSTSTAGE1_FLAGS_TO_PASS) \
35154 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
35155 @endif libiberty-bootstrap
35158 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
35159 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
35160 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
35162 maybe-configure-stagefeedback-zlib:
35163 maybe-all-stagefeedback-zlib:
35164 maybe-clean-stagefeedback-zlib:
35166 @if zlib-bootstrap
35167 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
35168 configure-stagefeedback-zlib:
35169 @$(MAKE) stagefeedback-start
35170 @[ -f zlib/Makefile ] && exit 0 || : ; \
35171 r=`${PWD_COMMAND}`; export r; \
35172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35173 $(STAGE_HOST_EXPORTS) \
35174 echo Configuring stage feedback in zlib ; \
35175 cd zlib || exit 1; \
35176 case $(srcdir) in \
35177 \.) \
35178 srcdiroption="--srcdir=."; \
35179 libsrcdir=".";; \
35180 /* | [A-Za-z]:[\\/]*) \
35181 srcdiroption="--srcdir=$(srcdir)/zlib"; \
35182 libsrcdir="$$s/zlib";; \
35183 *) \
35184 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
35185 libsrcdir="$$s/zlib";; \
35186 esac; \
35187 $(SHELL) $${libsrcdir}/configure \
35188 $(HOST_CONFIGARGS) $${srcdiroption} \
35189 @stage2_werror_flag@
35191 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
35192 all-stagefeedback-zlib: configure-stagefeedback-zlib
35193 @$(MAKE) stagefeedback-start
35194 @r=`${PWD_COMMAND}`; export r; \
35195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35196 $(STAGE_HOST_EXPORTS) \
35197 cd zlib && \
35198 $(MAKE) $(FLAGS_TO_PASS) \
35199 $(POSTSTAGE1_FLAGS_TO_PASS) \
35200 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
35202 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
35203 clean-stagefeedback-zlib:
35204 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
35205 || exit 0 ; \
35206 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
35207 cd zlib && \
35208 $(MAKE) $(FLAGS_TO_PASS) \
35209 $(POSTSTAGE1_FLAGS_TO_PASS) \
35210 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
35211 @endif zlib-bootstrap
35215 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35216 # only possibility, but now it conflicts with no-bootstrap rules
35217 @if gcc-bootstrap
35222 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35223 distclean-stage1:: distclean-stagefeedback
35224 .PHONY: distclean-stagefeedback
35225 distclean-stagefeedback::
35226 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35227 rm -rf stagefeedback-*
35230 @endif gcc-bootstrap
35234 stagefeedback-start::
35235 @r=`${PWD_COMMAND}`; export r; \
35236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35237 cd stageprofile-gcc && \
35238 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
35239 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
35241 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35242 # only possibility, but now it conflicts with no-bootstrap rules
35243 @if gcc-bootstrap
35244 profiledbootstrap:
35245 @r=`${PWD_COMMAND}`; export r; \
35246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35247 $(SET_LIB_PATH) \
35248 $(HOST_EXPORTS) \
35249 echo "Bootstrapping the compiler"; \
35250 $(MAKE) stageprofile-bubble distclean-stagefeedback
35251 @r=`${PWD_COMMAND}`; export r; \
35252 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35253 $(SET_LIB_PATH) \
35254 echo "Building runtime libraries and training compiler"; \
35255 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
35256 @r=`${PWD_COMMAND}`; export r; \
35257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35258 $(SET_LIB_PATH) \
35259 $(HOST_EXPORTS) \
35260 echo "Building feedback based compiler"; \
35261 $(MAKE) stagefeedback-bubble stagefeedback-end
35262 @endif gcc-bootstrap
35264 @if gcc-bootstrap
35265 NOTPARALLEL = .NOTPARALLEL
35266 $(NOTPARALLEL):
35267 do-distclean: distclean-stage1
35268 @endif gcc-bootstrap
35270 # --------------------------------------
35271 # Dependencies between different modules
35272 # --------------------------------------
35274 # Generic dependencies for target modules on host stuff, especially gcc
35276 configure-target-libstdc++-v3: maybe-all-gcc
35278 configure-target-libmudflap: maybe-all-gcc
35280 configure-target-newlib: maybe-all-gcc
35282 configure-target-libgfortran: maybe-all-gcc
35284 configure-target-libobjc: maybe-all-gcc
35286 configure-target-libtermcap: maybe-all-gcc
35288 configure-target-winsup: maybe-all-gcc
35290 configure-target-libgloss: maybe-all-gcc
35292 configure-target-libiberty: maybe-all-gcc
35294 configure-target-gperf: maybe-all-gcc
35296 configure-target-examples: maybe-all-gcc
35298 configure-target-libffi: maybe-all-gcc
35300 configure-target-libjava: maybe-all-gcc
35302 configure-target-zlib: maybe-all-gcc
35304 configure-target-boehm-gc: maybe-all-gcc
35306 configure-target-qthreads: maybe-all-gcc
35308 configure-target-rda: maybe-all-gcc
35310 configure-target-libada: maybe-all-gcc
35314 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
35316 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
35317 configure-target-gperf: maybe-all-target-libstdc++-v3
35319 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
35321 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
35323 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
35325 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
35326 configure-target-libjava: maybe-all-target-libstdc++-v3
35328 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
35330 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
35332 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
35334 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
35336 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
35338 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
35340 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
35342 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
35345 # There are two types of dependencies here: 'hard' dependencies, where one
35346 # module simply won't build without the other; and 'soft' dependencies, where
35347 # if the depended-on module is missing, the depending module will do without
35348 # or find a substitute somewhere (perhaps installed). Soft dependencies
35349 # are made here to depend on a 'maybe-' target. If you're not sure,
35350 # it's safer to use a soft dependency.
35356 # With all the machinery above in place, it is pretty easy to generate
35357 # dependencies. Host dependencies are a bit more complex because we have
35358 # to check for bootstrap/prebootstrap dependencies. To resolve
35359 # prebootstrap dependencies, prebootstrap modules are gathered in
35360 # a hash table.
35361 all-build-bison: maybe-all-build-texinfo
35362 all-build-byacc: maybe-all-build-texinfo
35363 all-build-flex: maybe-all-build-texinfo
35364 all-build-flex: maybe-all-build-bison
35365 all-build-flex: maybe-all-build-byacc
35366 all-build-flex: maybe-all-build-m4
35367 all-build-libiberty: maybe-all-build-texinfo
35368 all-build-m4: maybe-all-build-texinfo
35369 all-build-fixincludes: maybe-all-build-libiberty
35370 configure-gcc: maybe-configure-intl
35372 configure-stage1-gcc: maybe-configure-stage1-intl
35373 configure-stage2-gcc: maybe-configure-stage2-intl
35374 configure-stage3-gcc: maybe-configure-stage3-intl
35375 configure-stage4-gcc: maybe-configure-stage4-intl
35376 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
35377 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
35378 configure-gcc: maybe-configure-binutils
35380 configure-stage1-gcc: maybe-configure-stage1-binutils
35381 configure-stage2-gcc: maybe-configure-stage2-binutils
35382 configure-stage3-gcc: maybe-configure-stage3-binutils
35383 configure-stage4-gcc: maybe-configure-stage4-binutils
35384 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
35385 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
35386 configure-gcc: maybe-configure-gas
35388 configure-stage1-gcc: maybe-configure-stage1-gas
35389 configure-stage2-gcc: maybe-configure-stage2-gas
35390 configure-stage3-gcc: maybe-configure-stage3-gas
35391 configure-stage4-gcc: maybe-configure-stage4-gas
35392 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
35393 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
35394 configure-gcc: maybe-configure-ld
35396 configure-stage1-gcc: maybe-configure-stage1-ld
35397 configure-stage2-gcc: maybe-configure-stage2-ld
35398 configure-stage3-gcc: maybe-configure-stage3-ld
35399 configure-stage4-gcc: maybe-configure-stage4-ld
35400 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
35401 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
35402 all-gcc: all-libiberty
35404 all-stage1-gcc: all-stage1-libiberty
35405 all-stage2-gcc: all-stage2-libiberty
35406 all-stage3-gcc: all-stage3-libiberty
35407 all-stage4-gcc: all-stage4-libiberty
35408 all-stageprofile-gcc: all-stageprofile-libiberty
35409 all-stagefeedback-gcc: all-stagefeedback-libiberty
35410 all-gcc: maybe-all-intl
35412 all-stage1-gcc: maybe-all-stage1-intl
35413 all-stage2-gcc: maybe-all-stage2-intl
35414 all-stage3-gcc: maybe-all-stage3-intl
35415 all-stage4-gcc: maybe-all-stage4-intl
35416 all-stageprofile-gcc: maybe-all-stageprofile-intl
35417 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35418 all-gcc: maybe-all-build-texinfo
35420 all-stage1-gcc: maybe-all-build-texinfo
35421 all-stage2-gcc: maybe-all-build-texinfo
35422 all-stage3-gcc: maybe-all-build-texinfo
35423 all-stage4-gcc: maybe-all-build-texinfo
35424 all-stageprofile-gcc: maybe-all-build-texinfo
35425 all-stagefeedback-gcc: maybe-all-build-texinfo
35426 all-prebootstrap: maybe-all-build-texinfo
35427 all-gcc: maybe-all-build-bison
35429 all-stage1-gcc: maybe-all-build-bison
35430 all-stage2-gcc: maybe-all-build-bison
35431 all-stage3-gcc: maybe-all-build-bison
35432 all-stage4-gcc: maybe-all-build-bison
35433 all-stageprofile-gcc: maybe-all-build-bison
35434 all-stagefeedback-gcc: maybe-all-build-bison
35435 all-prebootstrap: maybe-all-build-bison
35436 all-gcc: maybe-all-build-byacc
35438 all-stage1-gcc: maybe-all-build-byacc
35439 all-stage2-gcc: maybe-all-build-byacc
35440 all-stage3-gcc: maybe-all-build-byacc
35441 all-stage4-gcc: maybe-all-build-byacc
35442 all-stageprofile-gcc: maybe-all-build-byacc
35443 all-stagefeedback-gcc: maybe-all-build-byacc
35444 all-prebootstrap: maybe-all-build-byacc
35445 all-gcc: maybe-all-build-flex
35447 all-stage1-gcc: maybe-all-build-flex
35448 all-stage2-gcc: maybe-all-build-flex
35449 all-stage3-gcc: maybe-all-build-flex
35450 all-stage4-gcc: maybe-all-build-flex
35451 all-stageprofile-gcc: maybe-all-build-flex
35452 all-stagefeedback-gcc: maybe-all-build-flex
35453 all-prebootstrap: maybe-all-build-flex
35454 all-gcc: maybe-all-build-libiberty
35456 all-stage1-gcc: maybe-all-build-libiberty
35457 all-stage2-gcc: maybe-all-build-libiberty
35458 all-stage3-gcc: maybe-all-build-libiberty
35459 all-stage4-gcc: maybe-all-build-libiberty
35460 all-stageprofile-gcc: maybe-all-build-libiberty
35461 all-stagefeedback-gcc: maybe-all-build-libiberty
35462 all-prebootstrap: maybe-all-build-libiberty
35463 all-gcc: maybe-all-build-fixincludes
35465 all-stage1-gcc: maybe-all-build-fixincludes
35466 all-stage2-gcc: maybe-all-build-fixincludes
35467 all-stage3-gcc: maybe-all-build-fixincludes
35468 all-stage4-gcc: maybe-all-build-fixincludes
35469 all-stageprofile-gcc: maybe-all-build-fixincludes
35470 all-stagefeedback-gcc: maybe-all-build-fixincludes
35471 all-prebootstrap: maybe-all-build-fixincludes
35472 all-gcc: maybe-all-binutils
35474 all-stage1-gcc: maybe-all-stage1-binutils
35475 all-stage2-gcc: maybe-all-stage2-binutils
35476 all-stage3-gcc: maybe-all-stage3-binutils
35477 all-stage4-gcc: maybe-all-stage4-binutils
35478 all-stageprofile-gcc: maybe-all-stageprofile-binutils
35479 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35480 all-gcc: maybe-all-gas
35482 all-stage1-gcc: maybe-all-stage1-gas
35483 all-stage2-gcc: maybe-all-stage2-gas
35484 all-stage3-gcc: maybe-all-stage3-gas
35485 all-stage4-gcc: maybe-all-stage4-gas
35486 all-stageprofile-gcc: maybe-all-stageprofile-gas
35487 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
35488 all-gcc: maybe-all-ld
35490 all-stage1-gcc: maybe-all-stage1-ld
35491 all-stage2-gcc: maybe-all-stage2-ld
35492 all-stage3-gcc: maybe-all-stage3-ld
35493 all-stage4-gcc: maybe-all-stage4-ld
35494 all-stageprofile-gcc: maybe-all-stageprofile-ld
35495 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
35496 all-gcc: maybe-all-zlib
35498 all-stage1-gcc: maybe-all-stage1-zlib
35499 all-stage2-gcc: maybe-all-stage2-zlib
35500 all-stage3-gcc: maybe-all-stage3-zlib
35501 all-stage4-gcc: maybe-all-stage4-zlib
35502 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35503 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35504 all-gcc: all-libcpp
35506 all-stage1-gcc: all-stage1-libcpp
35507 all-stage2-gcc: all-stage2-libcpp
35508 all-stage3-gcc: all-stage3-libcpp
35509 all-stage4-gcc: all-stage4-libcpp
35510 all-stageprofile-gcc: all-stageprofile-libcpp
35511 all-stagefeedback-gcc: all-stagefeedback-libcpp
35512 all-gcc: maybe-all-libiberty
35514 all-stage1-gcc: maybe-all-stage1-libiberty
35515 all-stage2-gcc: maybe-all-stage2-libiberty
35516 all-stage3-gcc: maybe-all-stage3-libiberty
35517 all-stage4-gcc: maybe-all-stage4-libiberty
35518 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35519 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35520 all-gcc: maybe-all-fixincludes
35521 install-gcc: maybe-install-fixincludes
35522 configure-libcpp: configure-libiberty
35524 configure-stage1-libcpp: configure-stage1-libiberty
35525 configure-stage2-libcpp: configure-stage2-libiberty
35526 configure-stage3-libcpp: configure-stage3-libiberty
35527 configure-stage4-libcpp: configure-stage4-libiberty
35528 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35529 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35530 configure-libcpp: maybe-configure-intl
35532 configure-stage1-libcpp: maybe-configure-stage1-intl
35533 configure-stage2-libcpp: maybe-configure-stage2-intl
35534 configure-stage3-libcpp: maybe-configure-stage3-intl
35535 configure-stage4-libcpp: maybe-configure-stage4-intl
35536 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35537 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35538 all-libcpp: all-libiberty
35540 all-stage1-libcpp: all-stage1-libiberty
35541 all-stage2-libcpp: all-stage2-libiberty
35542 all-stage3-libcpp: all-stage3-libiberty
35543 all-stage4-libcpp: all-stage4-libiberty
35544 all-stageprofile-libcpp: all-stageprofile-libiberty
35545 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35546 all-libcpp: maybe-all-intl
35548 all-stage1-libcpp: maybe-all-stage1-intl
35549 all-stage2-libcpp: maybe-all-stage2-intl
35550 all-stage3-libcpp: maybe-all-stage3-intl
35551 all-stage4-libcpp: maybe-all-stage4-intl
35552 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35553 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35554 all-fixincludes: maybe-all-libiberty
35555 all-gnattools: maybe-all-target-libada
35556 configure-gdb: maybe-configure-itcl
35557 configure-gdb: maybe-configure-tcl
35558 configure-gdb: maybe-configure-tk
35559 configure-gdb: maybe-configure-sim
35560 all-gdb: maybe-all-libiberty
35561 all-gdb: maybe-all-opcodes
35562 all-gdb: maybe-all-bfd
35563 all-gdb: maybe-all-readline
35564 all-gdb: maybe-all-build-bison
35565 all-gdb: maybe-all-build-byacc
35566 all-gdb: maybe-all-sim
35567 install-gdb: maybe-install-tcl
35568 install-gdb: maybe-install-tk
35569 install-gdb: maybe-install-itcl
35570 install-gdb: maybe-install-libgui
35571 configure-libgui: maybe-configure-tcl
35572 configure-libgui: maybe-configure-tk
35573 all-libgui: maybe-all-tcl
35574 all-libgui: maybe-all-tk
35575 all-libgui: maybe-all-itcl
35576 configure-bfd: configure-libiberty
35578 configure-stage1-bfd: configure-stage1-libiberty
35579 configure-stage2-bfd: configure-stage2-libiberty
35580 configure-stage3-bfd: configure-stage3-libiberty
35581 configure-stage4-bfd: configure-stage4-libiberty
35582 configure-stageprofile-bfd: configure-stageprofile-libiberty
35583 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35584 all-bfd: maybe-all-libiberty
35586 all-stage1-bfd: maybe-all-stage1-libiberty
35587 all-stage2-bfd: maybe-all-stage2-libiberty
35588 all-stage3-bfd: maybe-all-stage3-libiberty
35589 all-stage4-bfd: maybe-all-stage4-libiberty
35590 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35591 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35592 all-bfd: maybe-all-intl
35594 all-stage1-bfd: maybe-all-stage1-intl
35595 all-stage2-bfd: maybe-all-stage2-intl
35596 all-stage3-bfd: maybe-all-stage3-intl
35597 all-stage4-bfd: maybe-all-stage4-intl
35598 all-stageprofile-bfd: maybe-all-stageprofile-intl
35599 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35600 all-binutils: maybe-all-libiberty
35602 all-stage1-binutils: maybe-all-stage1-libiberty
35603 all-stage2-binutils: maybe-all-stage2-libiberty
35604 all-stage3-binutils: maybe-all-stage3-libiberty
35605 all-stage4-binutils: maybe-all-stage4-libiberty
35606 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35607 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35608 all-binutils: maybe-all-opcodes
35610 all-stage1-binutils: maybe-all-stage1-opcodes
35611 all-stage2-binutils: maybe-all-stage2-opcodes
35612 all-stage3-binutils: maybe-all-stage3-opcodes
35613 all-stage4-binutils: maybe-all-stage4-opcodes
35614 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35615 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35616 all-binutils: maybe-all-bfd
35618 all-stage1-binutils: maybe-all-stage1-bfd
35619 all-stage2-binutils: maybe-all-stage2-bfd
35620 all-stage3-binutils: maybe-all-stage3-bfd
35621 all-stage4-binutils: maybe-all-stage4-bfd
35622 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35623 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35624 all-binutils: maybe-all-build-flex
35626 all-stage1-binutils: maybe-all-build-flex
35627 all-stage2-binutils: maybe-all-build-flex
35628 all-stage3-binutils: maybe-all-build-flex
35629 all-stage4-binutils: maybe-all-build-flex
35630 all-stageprofile-binutils: maybe-all-build-flex
35631 all-stagefeedback-binutils: maybe-all-build-flex
35632 all-prebootstrap: maybe-all-build-flex
35633 all-binutils: maybe-all-build-bison
35635 all-stage1-binutils: maybe-all-build-bison
35636 all-stage2-binutils: maybe-all-build-bison
35637 all-stage3-binutils: maybe-all-build-bison
35638 all-stage4-binutils: maybe-all-build-bison
35639 all-stageprofile-binutils: maybe-all-build-bison
35640 all-stagefeedback-binutils: maybe-all-build-bison
35641 all-prebootstrap: maybe-all-build-bison
35642 all-binutils: maybe-all-build-byacc
35644 all-stage1-binutils: maybe-all-build-byacc
35645 all-stage2-binutils: maybe-all-build-byacc
35646 all-stage3-binutils: maybe-all-build-byacc
35647 all-stage4-binutils: maybe-all-build-byacc
35648 all-stageprofile-binutils: maybe-all-build-byacc
35649 all-stagefeedback-binutils: maybe-all-build-byacc
35650 all-prebootstrap: maybe-all-build-byacc
35651 all-binutils: maybe-all-intl
35653 all-stage1-binutils: maybe-all-stage1-intl
35654 all-stage2-binutils: maybe-all-stage2-intl
35655 all-stage3-binutils: maybe-all-stage3-intl
35656 all-stage4-binutils: maybe-all-stage4-intl
35657 all-stageprofile-binutils: maybe-all-stageprofile-intl
35658 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35659 install-binutils: maybe-install-opcodes
35660 install-opcodes: maybe-install-bfd
35661 all-gas: maybe-all-libiberty
35663 all-stage1-gas: maybe-all-stage1-libiberty
35664 all-stage2-gas: maybe-all-stage2-libiberty
35665 all-stage3-gas: maybe-all-stage3-libiberty
35666 all-stage4-gas: maybe-all-stage4-libiberty
35667 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35668 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35669 all-gas: maybe-all-opcodes
35671 all-stage1-gas: maybe-all-stage1-opcodes
35672 all-stage2-gas: maybe-all-stage2-opcodes
35673 all-stage3-gas: maybe-all-stage3-opcodes
35674 all-stage4-gas: maybe-all-stage4-opcodes
35675 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35676 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35677 all-gas: maybe-all-bfd
35679 all-stage1-gas: maybe-all-stage1-bfd
35680 all-stage2-gas: maybe-all-stage2-bfd
35681 all-stage3-gas: maybe-all-stage3-bfd
35682 all-stage4-gas: maybe-all-stage4-bfd
35683 all-stageprofile-gas: maybe-all-stageprofile-bfd
35684 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35685 all-gas: maybe-all-intl
35687 all-stage1-gas: maybe-all-stage1-intl
35688 all-stage2-gas: maybe-all-stage2-intl
35689 all-stage3-gas: maybe-all-stage3-intl
35690 all-stage4-gas: maybe-all-stage4-intl
35691 all-stageprofile-gas: maybe-all-stageprofile-intl
35692 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35693 all-gprof: maybe-all-libiberty
35694 all-gprof: maybe-all-bfd
35695 all-gprof: maybe-all-opcodes
35696 all-gprof: maybe-all-intl
35697 all-ld: maybe-all-libiberty
35699 all-stage1-ld: maybe-all-stage1-libiberty
35700 all-stage2-ld: maybe-all-stage2-libiberty
35701 all-stage3-ld: maybe-all-stage3-libiberty
35702 all-stage4-ld: maybe-all-stage4-libiberty
35703 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35704 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35705 all-ld: maybe-all-bfd
35707 all-stage1-ld: maybe-all-stage1-bfd
35708 all-stage2-ld: maybe-all-stage2-bfd
35709 all-stage3-ld: maybe-all-stage3-bfd
35710 all-stage4-ld: maybe-all-stage4-bfd
35711 all-stageprofile-ld: maybe-all-stageprofile-bfd
35712 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35713 all-ld: maybe-all-opcodes
35715 all-stage1-ld: maybe-all-stage1-opcodes
35716 all-stage2-ld: maybe-all-stage2-opcodes
35717 all-stage3-ld: maybe-all-stage3-opcodes
35718 all-stage4-ld: maybe-all-stage4-opcodes
35719 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35720 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35721 all-ld: maybe-all-build-bison
35723 all-stage1-ld: maybe-all-build-bison
35724 all-stage2-ld: maybe-all-build-bison
35725 all-stage3-ld: maybe-all-build-bison
35726 all-stage4-ld: maybe-all-build-bison
35727 all-stageprofile-ld: maybe-all-build-bison
35728 all-stagefeedback-ld: maybe-all-build-bison
35729 all-prebootstrap: maybe-all-build-bison
35730 all-ld: maybe-all-build-byacc
35732 all-stage1-ld: maybe-all-build-byacc
35733 all-stage2-ld: maybe-all-build-byacc
35734 all-stage3-ld: maybe-all-build-byacc
35735 all-stage4-ld: maybe-all-build-byacc
35736 all-stageprofile-ld: maybe-all-build-byacc
35737 all-stagefeedback-ld: maybe-all-build-byacc
35738 all-prebootstrap: maybe-all-build-byacc
35739 all-ld: maybe-all-build-flex
35741 all-stage1-ld: maybe-all-build-flex
35742 all-stage2-ld: maybe-all-build-flex
35743 all-stage3-ld: maybe-all-build-flex
35744 all-stage4-ld: maybe-all-build-flex
35745 all-stageprofile-ld: maybe-all-build-flex
35746 all-stagefeedback-ld: maybe-all-build-flex
35747 all-prebootstrap: maybe-all-build-flex
35748 all-ld: maybe-all-intl
35750 all-stage1-ld: maybe-all-stage1-intl
35751 all-stage2-ld: maybe-all-stage2-intl
35752 all-stage3-ld: maybe-all-stage3-intl
35753 all-stage4-ld: maybe-all-stage4-intl
35754 all-stageprofile-ld: maybe-all-stageprofile-intl
35755 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35756 all-opcodes: maybe-all-bfd
35758 all-stage1-opcodes: maybe-all-stage1-bfd
35759 all-stage2-opcodes: maybe-all-stage2-bfd
35760 all-stage3-opcodes: maybe-all-stage3-bfd
35761 all-stage4-opcodes: maybe-all-stage4-bfd
35762 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35763 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35764 all-opcodes: maybe-all-libiberty
35766 all-stage1-opcodes: maybe-all-stage1-libiberty
35767 all-stage2-opcodes: maybe-all-stage2-libiberty
35768 all-stage3-opcodes: maybe-all-stage3-libiberty
35769 all-stage4-opcodes: maybe-all-stage4-libiberty
35770 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35771 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35772 all-dejagnu: maybe-all-tcl
35773 all-dejagnu: maybe-all-expect
35774 all-dejagnu: maybe-all-tk
35775 configure-expect: maybe-configure-tcl
35776 configure-expect: maybe-configure-tk
35777 all-expect: maybe-all-tcl
35778 all-expect: maybe-all-tk
35779 configure-itcl: maybe-configure-tcl
35780 configure-itcl: maybe-configure-tk
35781 all-itcl: maybe-all-tcl
35782 all-itcl: maybe-all-tk
35783 install-itcl: maybe-install-tcl
35784 configure-tk: maybe-configure-tcl
35785 all-tk: maybe-all-tcl
35786 all-sid: maybe-all-libiberty
35787 all-sid: maybe-all-bfd
35788 all-sid: maybe-all-opcodes
35789 all-sid: maybe-all-tcl
35790 all-sid: maybe-all-tk
35791 install-sid: maybe-install-tcl
35792 install-sid: maybe-install-tk
35793 all-sim: maybe-all-libiberty
35794 all-sim: maybe-all-bfd
35795 all-sim: maybe-all-opcodes
35796 all-sim: maybe-all-readline
35797 all-sim: maybe-configure-gdb
35798 all-fastjar: maybe-all-zlib
35799 all-fastjar: maybe-all-build-texinfo
35800 all-fastjar: maybe-all-libiberty
35801 all-autoconf: maybe-all-m4
35802 all-autoconf: maybe-all-build-texinfo
35803 all-automake: maybe-all-m4
35804 all-automake: maybe-all-build-texinfo
35805 all-automake: maybe-all-autoconf
35806 all-bison: maybe-all-intl
35807 all-bison: maybe-all-build-texinfo
35808 all-diff: maybe-all-intl
35809 all-diff: maybe-all-build-texinfo
35810 all-fileutils: maybe-all-intl
35811 all-fileutils: maybe-all-build-texinfo
35812 all-flex: maybe-all-build-bison
35813 all-flex: maybe-all-build-byacc
35814 all-flex: maybe-all-intl
35815 all-flex: maybe-all-m4
35816 all-flex: maybe-all-build-texinfo
35817 all-gzip: maybe-all-intl
35818 all-gzip: maybe-all-zlib
35819 all-gzip: maybe-all-build-texinfo
35820 all-hello: maybe-all-intl
35821 all-hello: maybe-all-build-texinfo
35822 all-m4: maybe-all-intl
35823 all-m4: maybe-all-build-texinfo
35824 all-make: maybe-all-intl
35825 all-make: maybe-all-build-texinfo
35826 all-patch: maybe-all-build-texinfo
35827 all-make: maybe-all-build-texinfo
35828 all-prms: maybe-all-libiberty
35829 all-recode: maybe-all-build-texinfo
35830 all-sed: maybe-all-build-texinfo
35831 all-send-pr: maybe-all-prms
35832 all-tar: maybe-all-build-texinfo
35833 all-uudecode: maybe-all-build-texinfo
35834 configure-target-boehm-gc: maybe-configure-target-qthreads
35835 configure-target-fastjar: maybe-configure-target-zlib
35836 all-target-fastjar: maybe-all-target-zlib
35837 all-target-fastjar: maybe-all-target-libiberty
35838 configure-target-libjava: maybe-configure-target-zlib
35839 configure-target-libjava: maybe-configure-target-boehm-gc
35840 configure-target-libjava: maybe-configure-target-qthreads
35841 configure-target-libjava: maybe-configure-target-libffi
35842 all-target-libjava: maybe-all-fastjar
35843 all-target-libjava: maybe-all-target-zlib
35844 all-target-libjava: maybe-all-target-boehm-gc
35845 all-target-libjava: maybe-all-target-qthreads
35846 all-target-libjava: maybe-all-target-libffi
35847 all-target-libobjc: maybe-all-target-libiberty
35848 all-target-libstdc++-v3: maybe-all-target-libiberty
35849 all-target-libgloss: maybe-configure-target-newlib
35850 all-target-winsup: maybe-all-target-libiberty
35851 all-target-winsup: maybe-all-target-libtermcap
35854 # Non-toplevel bootstrap rules must depend on several packages, to be built
35855 # before gcc. Another wart that will go away, hopefully soon.
35856 @if gcc-no-bootstrap
35858 all-prebootstrap: maybe-all-bfd
35859 all-prebootstrap: maybe-all-opcodes
35860 all-prebootstrap: maybe-all-binutils
35861 all-prebootstrap: maybe-all-gas
35862 all-prebootstrap: maybe-all-intl
35863 all-prebootstrap: maybe-all-ld
35864 all-prebootstrap: maybe-all-libcpp
35865 all-prebootstrap: maybe-all-libiberty
35866 all-prebootstrap: maybe-all-zlib
35867 @endif gcc-no-bootstrap
35869 GDB_TK = @GDB_TK@
35870 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35872 # Serialization dependencies. Host configures don't work well in parallel to
35873 # each other, due to contention over config.cache. Target configures and
35874 # build configures are similar.
35875 @serialization_dependencies@
35877 # --------------------------------
35878 # Regenerating top level configury
35879 # --------------------------------
35881 # Multilib.out tells target dirs what multilibs they should build.
35882 # There is really only one copy. We use the 'timestamp' method to
35883 # work around various timestamp bugs on some systems.
35884 # We use move-if-change so that it's only considered updated when it
35885 # actually changes, because it has to depend on a phony target.
35886 multilib.out: maybe-all-gcc
35887 @r=`${PWD_COMMAND}`; export r; \
35888 echo "Checking multilib configuration..."; \
35889 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35890 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35892 # Rebuilding Makefile.in, using autogen.
35893 AUTOGEN = autogen
35894 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35895 cd $(srcdir) && $(AUTOGEN) Makefile.def
35897 # Rebuilding Makefile.
35898 Makefile: $(srcdir)/Makefile.in config.status
35899 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35901 config.status: configure $(gcc_version_trigger)
35902 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35904 # Rebuilding configure.
35905 AUTOCONF = autoconf
35906 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35907 cd $(srcdir) && $(AUTOCONF)
35909 # ------------------------------
35910 # Special directives to GNU Make
35911 # ------------------------------
35913 # Don't pass command-line variables to submakes.
35914 .NOEXPORT:
35915 MAKEOVERRIDES=
35917 # end of Makefile.in