rs6000.c (rs6000_override_options): Protect darwin_one_byte_bool with #if.
[official-gcc.git] / Makefile.in
blob63dc6eaa8e709cb5c7e84369fa869e22e6a3b68d
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="$(CFLAGS_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 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
556 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
557 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
558 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
559 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
560 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
561 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
562 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
563 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
564 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
565 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
566 "CONFIG_SHELL=$(SHELL)" \
567 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
569 # For any flags above that may contain shell code that varies from one
570 # target library to another. When doing recursive invocations of the
571 # top-level Makefile, we don't want the outer make to evaluate them,
572 # so we pass these variables down unchanged. They must not contain
573 # single nor double quotes.
574 RECURSE_FLAGS = \
575 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
576 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
578 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
580 # Flags to pass down to most sub-makes, in which we're building with
581 # the host environment.
582 EXTRA_HOST_FLAGS = \
583 'AR=$(AR)' \
584 'AS=$(AS)' \
585 'CC=$(CC)' \
586 'CXX=$(CXX)' \
587 'DLLTOOL=$(DLLTOOL)' \
588 'LD=$(LD)' \
589 'NM=$(NM)' \
590 'RANLIB=$(RANLIB)' \
591 'WINDRES=$(WINDRES)'
593 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
595 # Flags that are concerned with the location of the X11 include files
596 # and library files
598 # NOTE: until the top-level is getting the values via autoconf, it only
599 # causes problems to have this top-level Makefile overriding the autoconf-set
600 # values in child directories. Only variables that don't conflict with
601 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
603 X11_FLAGS_TO_PASS = \
604 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
605 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
607 # Flags to pass down to makes which are built with the target environment.
608 # The double $ decreases the length of the command line; the variables
609 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
610 EXTRA_TARGET_FLAGS = \
611 'AR=$$(AR_FOR_TARGET)' \
612 'AS=$$(AS_FOR_TARGET)' \
613 'CC=$$(CC_FOR_TARGET)' \
614 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
615 'CXX=$$(CXX_FOR_TARGET)' \
616 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
617 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
618 'LD=$$(LD_FOR_TARGET)' \
619 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
620 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
621 'NM=$$(NM_FOR_TARGET)' \
622 'RANLIB=$$(RANLIB_FOR_TARGET)' \
623 'WINDRES=$$(WINDRES_FOR_TARGET)'
625 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
627 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
628 # unfortunately needs the native compiler and the target ar and
629 # ranlib.
630 # If any variables are added here, they must be added to do-*, below.
631 # The BUILD_* variables are a special case, which are used for the gcc
632 # cross-building scheme.
633 EXTRA_GCC_FLAGS = \
634 'BUILD_PREFIX=$(BUILD_PREFIX)' \
635 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
636 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
637 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
638 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
643 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
644 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
645 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
646 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
648 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
650 .PHONY: configure-host
651 configure-host: \
652 maybe-configure-ash \
653 maybe-configure-autoconf \
654 maybe-configure-automake \
655 maybe-configure-bash \
656 maybe-configure-bfd \
657 maybe-configure-opcodes \
658 maybe-configure-binutils \
659 maybe-configure-bison \
660 maybe-configure-byacc \
661 maybe-configure-bzip2 \
662 maybe-configure-dejagnu \
663 maybe-configure-diff \
664 maybe-configure-dosutils \
665 maybe-configure-etc \
666 maybe-configure-fastjar \
667 maybe-configure-fileutils \
668 maybe-configure-findutils \
669 maybe-configure-find \
670 maybe-configure-fixincludes \
671 maybe-configure-flex \
672 maybe-configure-gas \
673 maybe-configure-gcc \
674 maybe-configure-gawk \
675 maybe-configure-gettext \
676 maybe-configure-gnuserv \
677 maybe-configure-gprof \
678 maybe-configure-gzip \
679 maybe-configure-hello \
680 maybe-configure-indent \
681 maybe-configure-intl \
682 maybe-configure-tcl \
683 maybe-configure-itcl \
684 maybe-configure-ld \
685 maybe-configure-libcpp \
686 maybe-configure-libgui \
687 maybe-configure-libiberty \
688 maybe-configure-libtool \
689 maybe-configure-m4 \
690 maybe-configure-make \
691 maybe-configure-mmalloc \
692 maybe-configure-patch \
693 maybe-configure-perl \
694 maybe-configure-prms \
695 maybe-configure-rcs \
696 maybe-configure-readline \
697 maybe-configure-release \
698 maybe-configure-recode \
699 maybe-configure-sed \
700 maybe-configure-send-pr \
701 maybe-configure-shellutils \
702 maybe-configure-sid \
703 maybe-configure-sim \
704 maybe-configure-tar \
705 maybe-configure-texinfo \
706 maybe-configure-textutils \
707 maybe-configure-time \
708 maybe-configure-uudecode \
709 maybe-configure-wdiff \
710 maybe-configure-zip \
711 maybe-configure-zlib \
712 maybe-configure-gdb \
713 maybe-configure-expect \
714 maybe-configure-guile \
715 maybe-configure-tk \
716 maybe-configure-libtermcap \
717 maybe-configure-utils
718 .PHONY: configure-target
719 configure-target: \
720 maybe-configure-target-libstdc++-v3 \
721 maybe-configure-target-libmudflap \
722 maybe-configure-target-newlib \
723 maybe-configure-target-libgfortran \
724 maybe-configure-target-libobjc \
725 maybe-configure-target-libtermcap \
726 maybe-configure-target-winsup \
727 maybe-configure-target-libgloss \
728 maybe-configure-target-libiberty \
729 maybe-configure-target-gperf \
730 maybe-configure-target-examples \
731 maybe-configure-target-libffi \
732 maybe-configure-target-libjava \
733 maybe-configure-target-zlib \
734 maybe-configure-target-boehm-gc \
735 maybe-configure-target-qthreads \
736 maybe-configure-target-rda \
737 maybe-configure-target-libada
739 # The target built for a native non-bootstrap build.
740 .PHONY: all
741 all: unstage all-host all-target stage
743 .PHONY: all-build
744 all-build: \
745 maybe-all-build-libiberty \
746 maybe-all-build-bison \
747 maybe-all-build-byacc \
748 maybe-all-build-flex \
749 maybe-all-build-m4 \
750 maybe-all-build-texinfo \
751 maybe-all-build-fixincludes
752 .PHONY: all-host
753 all-host: \
754 maybe-all-ash \
755 maybe-all-autoconf \
756 maybe-all-automake \
757 maybe-all-bash \
758 maybe-all-bfd \
759 maybe-all-opcodes \
760 maybe-all-binutils \
761 maybe-all-bison \
762 maybe-all-byacc \
763 maybe-all-bzip2 \
764 maybe-all-dejagnu \
765 maybe-all-diff \
766 maybe-all-dosutils \
767 maybe-all-etc \
768 maybe-all-fastjar \
769 maybe-all-fileutils \
770 maybe-all-findutils \
771 maybe-all-find \
772 maybe-all-fixincludes \
773 maybe-all-flex \
774 maybe-all-gas \
775 maybe-all-gcc \
776 maybe-all-gawk \
777 maybe-all-gettext \
778 maybe-all-gnuserv \
779 maybe-all-gprof \
780 maybe-all-gzip \
781 maybe-all-hello \
782 maybe-all-indent \
783 maybe-all-intl \
784 maybe-all-tcl \
785 maybe-all-itcl \
786 maybe-all-ld \
787 maybe-all-libcpp \
788 maybe-all-libgui \
789 maybe-all-libiberty \
790 maybe-all-libtool \
791 maybe-all-m4 \
792 maybe-all-make \
793 maybe-all-mmalloc \
794 maybe-all-patch \
795 maybe-all-perl \
796 maybe-all-prms \
797 maybe-all-rcs \
798 maybe-all-readline \
799 maybe-all-release \
800 maybe-all-recode \
801 maybe-all-sed \
802 maybe-all-send-pr \
803 maybe-all-shellutils \
804 maybe-all-sid \
805 maybe-all-sim \
806 maybe-all-tar \
807 maybe-all-texinfo \
808 maybe-all-textutils \
809 maybe-all-time \
810 maybe-all-uudecode \
811 maybe-all-wdiff \
812 maybe-all-zip \
813 maybe-all-zlib \
814 maybe-all-gdb \
815 maybe-all-expect \
816 maybe-all-guile \
817 maybe-all-tk \
818 maybe-all-libtermcap \
819 maybe-all-utils
820 .PHONY: all-target
821 all-target: \
822 maybe-all-target-libstdc++-v3 \
823 maybe-all-target-libmudflap \
824 maybe-all-target-newlib \
825 maybe-all-target-libgfortran \
826 maybe-all-target-libobjc \
827 maybe-all-target-libtermcap \
828 maybe-all-target-winsup \
829 maybe-all-target-libgloss \
830 maybe-all-target-libiberty \
831 maybe-all-target-gperf \
832 maybe-all-target-examples \
833 maybe-all-target-libffi \
834 maybe-all-target-libjava \
835 maybe-all-target-zlib \
836 maybe-all-target-boehm-gc \
837 maybe-all-target-qthreads \
838 maybe-all-target-rda \
839 maybe-all-target-libada
841 # Do a target for all the subdirectories. A ``make do-X'' will do a
842 # ``make X'' in all subdirectories (because, in general, there is a
843 # dependency (below) of X upon do-X, a ``make X'' will also do this,
844 # but it may do additional work as well).
846 .PHONY: do-info
847 do-info: unstage info-host info-target stage
849 .PHONY: info-host
850 info-host: \
851 maybe-info-ash \
852 maybe-info-autoconf \
853 maybe-info-automake \
854 maybe-info-bash \
855 maybe-info-bfd \
856 maybe-info-opcodes \
857 maybe-info-binutils \
858 maybe-info-bison \
859 maybe-info-byacc \
860 maybe-info-bzip2 \
861 maybe-info-dejagnu \
862 maybe-info-diff \
863 maybe-info-dosutils \
864 maybe-info-etc \
865 maybe-info-fastjar \
866 maybe-info-fileutils \
867 maybe-info-findutils \
868 maybe-info-find \
869 maybe-info-fixincludes \
870 maybe-info-flex \
871 maybe-info-gas \
872 maybe-info-gcc \
873 maybe-info-gawk \
874 maybe-info-gettext \
875 maybe-info-gnuserv \
876 maybe-info-gprof \
877 maybe-info-gzip \
878 maybe-info-hello \
879 maybe-info-indent \
880 maybe-info-intl \
881 maybe-info-tcl \
882 maybe-info-itcl \
883 maybe-info-ld \
884 maybe-info-libcpp \
885 maybe-info-libgui \
886 maybe-info-libiberty \
887 maybe-info-libtool \
888 maybe-info-m4 \
889 maybe-info-make \
890 maybe-info-mmalloc \
891 maybe-info-patch \
892 maybe-info-perl \
893 maybe-info-prms \
894 maybe-info-rcs \
895 maybe-info-readline \
896 maybe-info-release \
897 maybe-info-recode \
898 maybe-info-sed \
899 maybe-info-send-pr \
900 maybe-info-shellutils \
901 maybe-info-sid \
902 maybe-info-sim \
903 maybe-info-tar \
904 maybe-info-texinfo \
905 maybe-info-textutils \
906 maybe-info-time \
907 maybe-info-uudecode \
908 maybe-info-wdiff \
909 maybe-info-zip \
910 maybe-info-zlib \
911 maybe-info-gdb \
912 maybe-info-expect \
913 maybe-info-guile \
914 maybe-info-tk \
915 maybe-info-libtermcap \
916 maybe-info-utils
918 .PHONY: info-target
919 info-target: \
920 maybe-info-target-libstdc++-v3 \
921 maybe-info-target-libmudflap \
922 maybe-info-target-newlib \
923 maybe-info-target-libgfortran \
924 maybe-info-target-libobjc \
925 maybe-info-target-libtermcap \
926 maybe-info-target-winsup \
927 maybe-info-target-libgloss \
928 maybe-info-target-libiberty \
929 maybe-info-target-gperf \
930 maybe-info-target-examples \
931 maybe-info-target-libffi \
932 maybe-info-target-libjava \
933 maybe-info-target-zlib \
934 maybe-info-target-boehm-gc \
935 maybe-info-target-qthreads \
936 maybe-info-target-rda \
937 maybe-info-target-libada
939 .PHONY: do-dvi
940 do-dvi: unstage dvi-host dvi-target stage
942 .PHONY: dvi-host
943 dvi-host: \
944 maybe-dvi-ash \
945 maybe-dvi-autoconf \
946 maybe-dvi-automake \
947 maybe-dvi-bash \
948 maybe-dvi-bfd \
949 maybe-dvi-opcodes \
950 maybe-dvi-binutils \
951 maybe-dvi-bison \
952 maybe-dvi-byacc \
953 maybe-dvi-bzip2 \
954 maybe-dvi-dejagnu \
955 maybe-dvi-diff \
956 maybe-dvi-dosutils \
957 maybe-dvi-etc \
958 maybe-dvi-fastjar \
959 maybe-dvi-fileutils \
960 maybe-dvi-findutils \
961 maybe-dvi-find \
962 maybe-dvi-fixincludes \
963 maybe-dvi-flex \
964 maybe-dvi-gas \
965 maybe-dvi-gcc \
966 maybe-dvi-gawk \
967 maybe-dvi-gettext \
968 maybe-dvi-gnuserv \
969 maybe-dvi-gprof \
970 maybe-dvi-gzip \
971 maybe-dvi-hello \
972 maybe-dvi-indent \
973 maybe-dvi-intl \
974 maybe-dvi-tcl \
975 maybe-dvi-itcl \
976 maybe-dvi-ld \
977 maybe-dvi-libcpp \
978 maybe-dvi-libgui \
979 maybe-dvi-libiberty \
980 maybe-dvi-libtool \
981 maybe-dvi-m4 \
982 maybe-dvi-make \
983 maybe-dvi-mmalloc \
984 maybe-dvi-patch \
985 maybe-dvi-perl \
986 maybe-dvi-prms \
987 maybe-dvi-rcs \
988 maybe-dvi-readline \
989 maybe-dvi-release \
990 maybe-dvi-recode \
991 maybe-dvi-sed \
992 maybe-dvi-send-pr \
993 maybe-dvi-shellutils \
994 maybe-dvi-sid \
995 maybe-dvi-sim \
996 maybe-dvi-tar \
997 maybe-dvi-texinfo \
998 maybe-dvi-textutils \
999 maybe-dvi-time \
1000 maybe-dvi-uudecode \
1001 maybe-dvi-wdiff \
1002 maybe-dvi-zip \
1003 maybe-dvi-zlib \
1004 maybe-dvi-gdb \
1005 maybe-dvi-expect \
1006 maybe-dvi-guile \
1007 maybe-dvi-tk \
1008 maybe-dvi-libtermcap \
1009 maybe-dvi-utils
1011 .PHONY: dvi-target
1012 dvi-target: \
1013 maybe-dvi-target-libstdc++-v3 \
1014 maybe-dvi-target-libmudflap \
1015 maybe-dvi-target-newlib \
1016 maybe-dvi-target-libgfortran \
1017 maybe-dvi-target-libobjc \
1018 maybe-dvi-target-libtermcap \
1019 maybe-dvi-target-winsup \
1020 maybe-dvi-target-libgloss \
1021 maybe-dvi-target-libiberty \
1022 maybe-dvi-target-gperf \
1023 maybe-dvi-target-examples \
1024 maybe-dvi-target-libffi \
1025 maybe-dvi-target-libjava \
1026 maybe-dvi-target-zlib \
1027 maybe-dvi-target-boehm-gc \
1028 maybe-dvi-target-qthreads \
1029 maybe-dvi-target-rda \
1030 maybe-dvi-target-libada
1032 .PHONY: do-html
1033 do-html: unstage html-host html-target stage
1035 .PHONY: html-host
1036 html-host: \
1037 maybe-html-ash \
1038 maybe-html-autoconf \
1039 maybe-html-automake \
1040 maybe-html-bash \
1041 maybe-html-bfd \
1042 maybe-html-opcodes \
1043 maybe-html-binutils \
1044 maybe-html-bison \
1045 maybe-html-byacc \
1046 maybe-html-bzip2 \
1047 maybe-html-dejagnu \
1048 maybe-html-diff \
1049 maybe-html-dosutils \
1050 maybe-html-etc \
1051 maybe-html-fastjar \
1052 maybe-html-fileutils \
1053 maybe-html-findutils \
1054 maybe-html-find \
1055 maybe-html-fixincludes \
1056 maybe-html-flex \
1057 maybe-html-gas \
1058 maybe-html-gcc \
1059 maybe-html-gawk \
1060 maybe-html-gettext \
1061 maybe-html-gnuserv \
1062 maybe-html-gprof \
1063 maybe-html-gzip \
1064 maybe-html-hello \
1065 maybe-html-indent \
1066 maybe-html-intl \
1067 maybe-html-tcl \
1068 maybe-html-itcl \
1069 maybe-html-ld \
1070 maybe-html-libcpp \
1071 maybe-html-libgui \
1072 maybe-html-libiberty \
1073 maybe-html-libtool \
1074 maybe-html-m4 \
1075 maybe-html-make \
1076 maybe-html-mmalloc \
1077 maybe-html-patch \
1078 maybe-html-perl \
1079 maybe-html-prms \
1080 maybe-html-rcs \
1081 maybe-html-readline \
1082 maybe-html-release \
1083 maybe-html-recode \
1084 maybe-html-sed \
1085 maybe-html-send-pr \
1086 maybe-html-shellutils \
1087 maybe-html-sid \
1088 maybe-html-sim \
1089 maybe-html-tar \
1090 maybe-html-texinfo \
1091 maybe-html-textutils \
1092 maybe-html-time \
1093 maybe-html-uudecode \
1094 maybe-html-wdiff \
1095 maybe-html-zip \
1096 maybe-html-zlib \
1097 maybe-html-gdb \
1098 maybe-html-expect \
1099 maybe-html-guile \
1100 maybe-html-tk \
1101 maybe-html-libtermcap \
1102 maybe-html-utils
1104 .PHONY: html-target
1105 html-target: \
1106 maybe-html-target-libstdc++-v3 \
1107 maybe-html-target-libmudflap \
1108 maybe-html-target-newlib \
1109 maybe-html-target-libgfortran \
1110 maybe-html-target-libobjc \
1111 maybe-html-target-libtermcap \
1112 maybe-html-target-winsup \
1113 maybe-html-target-libgloss \
1114 maybe-html-target-libiberty \
1115 maybe-html-target-gperf \
1116 maybe-html-target-examples \
1117 maybe-html-target-libffi \
1118 maybe-html-target-libjava \
1119 maybe-html-target-zlib \
1120 maybe-html-target-boehm-gc \
1121 maybe-html-target-qthreads \
1122 maybe-html-target-rda \
1123 maybe-html-target-libada
1125 .PHONY: do-TAGS
1126 do-TAGS: unstage TAGS-host TAGS-target stage
1128 .PHONY: TAGS-host
1129 TAGS-host: \
1130 maybe-TAGS-ash \
1131 maybe-TAGS-autoconf \
1132 maybe-TAGS-automake \
1133 maybe-TAGS-bash \
1134 maybe-TAGS-bfd \
1135 maybe-TAGS-opcodes \
1136 maybe-TAGS-binutils \
1137 maybe-TAGS-bison \
1138 maybe-TAGS-byacc \
1139 maybe-TAGS-bzip2 \
1140 maybe-TAGS-dejagnu \
1141 maybe-TAGS-diff \
1142 maybe-TAGS-dosutils \
1143 maybe-TAGS-etc \
1144 maybe-TAGS-fastjar \
1145 maybe-TAGS-fileutils \
1146 maybe-TAGS-findutils \
1147 maybe-TAGS-find \
1148 maybe-TAGS-fixincludes \
1149 maybe-TAGS-flex \
1150 maybe-TAGS-gas \
1151 maybe-TAGS-gcc \
1152 maybe-TAGS-gawk \
1153 maybe-TAGS-gettext \
1154 maybe-TAGS-gnuserv \
1155 maybe-TAGS-gprof \
1156 maybe-TAGS-gzip \
1157 maybe-TAGS-hello \
1158 maybe-TAGS-indent \
1159 maybe-TAGS-intl \
1160 maybe-TAGS-tcl \
1161 maybe-TAGS-itcl \
1162 maybe-TAGS-ld \
1163 maybe-TAGS-libcpp \
1164 maybe-TAGS-libgui \
1165 maybe-TAGS-libiberty \
1166 maybe-TAGS-libtool \
1167 maybe-TAGS-m4 \
1168 maybe-TAGS-make \
1169 maybe-TAGS-mmalloc \
1170 maybe-TAGS-patch \
1171 maybe-TAGS-perl \
1172 maybe-TAGS-prms \
1173 maybe-TAGS-rcs \
1174 maybe-TAGS-readline \
1175 maybe-TAGS-release \
1176 maybe-TAGS-recode \
1177 maybe-TAGS-sed \
1178 maybe-TAGS-send-pr \
1179 maybe-TAGS-shellutils \
1180 maybe-TAGS-sid \
1181 maybe-TAGS-sim \
1182 maybe-TAGS-tar \
1183 maybe-TAGS-texinfo \
1184 maybe-TAGS-textutils \
1185 maybe-TAGS-time \
1186 maybe-TAGS-uudecode \
1187 maybe-TAGS-wdiff \
1188 maybe-TAGS-zip \
1189 maybe-TAGS-zlib \
1190 maybe-TAGS-gdb \
1191 maybe-TAGS-expect \
1192 maybe-TAGS-guile \
1193 maybe-TAGS-tk \
1194 maybe-TAGS-libtermcap \
1195 maybe-TAGS-utils
1197 .PHONY: TAGS-target
1198 TAGS-target: \
1199 maybe-TAGS-target-libstdc++-v3 \
1200 maybe-TAGS-target-libmudflap \
1201 maybe-TAGS-target-newlib \
1202 maybe-TAGS-target-libgfortran \
1203 maybe-TAGS-target-libobjc \
1204 maybe-TAGS-target-libtermcap \
1205 maybe-TAGS-target-winsup \
1206 maybe-TAGS-target-libgloss \
1207 maybe-TAGS-target-libiberty \
1208 maybe-TAGS-target-gperf \
1209 maybe-TAGS-target-examples \
1210 maybe-TAGS-target-libffi \
1211 maybe-TAGS-target-libjava \
1212 maybe-TAGS-target-zlib \
1213 maybe-TAGS-target-boehm-gc \
1214 maybe-TAGS-target-qthreads \
1215 maybe-TAGS-target-rda \
1216 maybe-TAGS-target-libada
1218 .PHONY: do-install-info
1219 do-install-info: unstage install-info-host install-info-target stage
1221 .PHONY: install-info-host
1222 install-info-host: \
1223 maybe-install-info-ash \
1224 maybe-install-info-autoconf \
1225 maybe-install-info-automake \
1226 maybe-install-info-bash \
1227 maybe-install-info-bfd \
1228 maybe-install-info-opcodes \
1229 maybe-install-info-binutils \
1230 maybe-install-info-bison \
1231 maybe-install-info-byacc \
1232 maybe-install-info-bzip2 \
1233 maybe-install-info-dejagnu \
1234 maybe-install-info-diff \
1235 maybe-install-info-dosutils \
1236 maybe-install-info-etc \
1237 maybe-install-info-fastjar \
1238 maybe-install-info-fileutils \
1239 maybe-install-info-findutils \
1240 maybe-install-info-find \
1241 maybe-install-info-fixincludes \
1242 maybe-install-info-flex \
1243 maybe-install-info-gas \
1244 maybe-install-info-gcc \
1245 maybe-install-info-gawk \
1246 maybe-install-info-gettext \
1247 maybe-install-info-gnuserv \
1248 maybe-install-info-gprof \
1249 maybe-install-info-gzip \
1250 maybe-install-info-hello \
1251 maybe-install-info-indent \
1252 maybe-install-info-intl \
1253 maybe-install-info-tcl \
1254 maybe-install-info-itcl \
1255 maybe-install-info-ld \
1256 maybe-install-info-libcpp \
1257 maybe-install-info-libgui \
1258 maybe-install-info-libiberty \
1259 maybe-install-info-libtool \
1260 maybe-install-info-m4 \
1261 maybe-install-info-make \
1262 maybe-install-info-mmalloc \
1263 maybe-install-info-patch \
1264 maybe-install-info-perl \
1265 maybe-install-info-prms \
1266 maybe-install-info-rcs \
1267 maybe-install-info-readline \
1268 maybe-install-info-release \
1269 maybe-install-info-recode \
1270 maybe-install-info-sed \
1271 maybe-install-info-send-pr \
1272 maybe-install-info-shellutils \
1273 maybe-install-info-sid \
1274 maybe-install-info-sim \
1275 maybe-install-info-tar \
1276 maybe-install-info-texinfo \
1277 maybe-install-info-textutils \
1278 maybe-install-info-time \
1279 maybe-install-info-uudecode \
1280 maybe-install-info-wdiff \
1281 maybe-install-info-zip \
1282 maybe-install-info-zlib \
1283 maybe-install-info-gdb \
1284 maybe-install-info-expect \
1285 maybe-install-info-guile \
1286 maybe-install-info-tk \
1287 maybe-install-info-libtermcap \
1288 maybe-install-info-utils
1290 .PHONY: install-info-target
1291 install-info-target: \
1292 maybe-install-info-target-libstdc++-v3 \
1293 maybe-install-info-target-libmudflap \
1294 maybe-install-info-target-newlib \
1295 maybe-install-info-target-libgfortran \
1296 maybe-install-info-target-libobjc \
1297 maybe-install-info-target-libtermcap \
1298 maybe-install-info-target-winsup \
1299 maybe-install-info-target-libgloss \
1300 maybe-install-info-target-libiberty \
1301 maybe-install-info-target-gperf \
1302 maybe-install-info-target-examples \
1303 maybe-install-info-target-libffi \
1304 maybe-install-info-target-libjava \
1305 maybe-install-info-target-zlib \
1306 maybe-install-info-target-boehm-gc \
1307 maybe-install-info-target-qthreads \
1308 maybe-install-info-target-rda \
1309 maybe-install-info-target-libada
1311 .PHONY: do-installcheck
1312 do-installcheck: unstage installcheck-host installcheck-target stage
1314 .PHONY: installcheck-host
1315 installcheck-host: \
1316 maybe-installcheck-ash \
1317 maybe-installcheck-autoconf \
1318 maybe-installcheck-automake \
1319 maybe-installcheck-bash \
1320 maybe-installcheck-bfd \
1321 maybe-installcheck-opcodes \
1322 maybe-installcheck-binutils \
1323 maybe-installcheck-bison \
1324 maybe-installcheck-byacc \
1325 maybe-installcheck-bzip2 \
1326 maybe-installcheck-dejagnu \
1327 maybe-installcheck-diff \
1328 maybe-installcheck-dosutils \
1329 maybe-installcheck-etc \
1330 maybe-installcheck-fastjar \
1331 maybe-installcheck-fileutils \
1332 maybe-installcheck-findutils \
1333 maybe-installcheck-find \
1334 maybe-installcheck-fixincludes \
1335 maybe-installcheck-flex \
1336 maybe-installcheck-gas \
1337 maybe-installcheck-gcc \
1338 maybe-installcheck-gawk \
1339 maybe-installcheck-gettext \
1340 maybe-installcheck-gnuserv \
1341 maybe-installcheck-gprof \
1342 maybe-installcheck-gzip \
1343 maybe-installcheck-hello \
1344 maybe-installcheck-indent \
1345 maybe-installcheck-intl \
1346 maybe-installcheck-tcl \
1347 maybe-installcheck-itcl \
1348 maybe-installcheck-ld \
1349 maybe-installcheck-libcpp \
1350 maybe-installcheck-libgui \
1351 maybe-installcheck-libiberty \
1352 maybe-installcheck-libtool \
1353 maybe-installcheck-m4 \
1354 maybe-installcheck-make \
1355 maybe-installcheck-mmalloc \
1356 maybe-installcheck-patch \
1357 maybe-installcheck-perl \
1358 maybe-installcheck-prms \
1359 maybe-installcheck-rcs \
1360 maybe-installcheck-readline \
1361 maybe-installcheck-release \
1362 maybe-installcheck-recode \
1363 maybe-installcheck-sed \
1364 maybe-installcheck-send-pr \
1365 maybe-installcheck-shellutils \
1366 maybe-installcheck-sid \
1367 maybe-installcheck-sim \
1368 maybe-installcheck-tar \
1369 maybe-installcheck-texinfo \
1370 maybe-installcheck-textutils \
1371 maybe-installcheck-time \
1372 maybe-installcheck-uudecode \
1373 maybe-installcheck-wdiff \
1374 maybe-installcheck-zip \
1375 maybe-installcheck-zlib \
1376 maybe-installcheck-gdb \
1377 maybe-installcheck-expect \
1378 maybe-installcheck-guile \
1379 maybe-installcheck-tk \
1380 maybe-installcheck-libtermcap \
1381 maybe-installcheck-utils
1383 .PHONY: installcheck-target
1384 installcheck-target: \
1385 maybe-installcheck-target-libstdc++-v3 \
1386 maybe-installcheck-target-libmudflap \
1387 maybe-installcheck-target-newlib \
1388 maybe-installcheck-target-libgfortran \
1389 maybe-installcheck-target-libobjc \
1390 maybe-installcheck-target-libtermcap \
1391 maybe-installcheck-target-winsup \
1392 maybe-installcheck-target-libgloss \
1393 maybe-installcheck-target-libiberty \
1394 maybe-installcheck-target-gperf \
1395 maybe-installcheck-target-examples \
1396 maybe-installcheck-target-libffi \
1397 maybe-installcheck-target-libjava \
1398 maybe-installcheck-target-zlib \
1399 maybe-installcheck-target-boehm-gc \
1400 maybe-installcheck-target-qthreads \
1401 maybe-installcheck-target-rda \
1402 maybe-installcheck-target-libada
1404 .PHONY: do-mostlyclean
1405 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1407 .PHONY: mostlyclean-host
1408 mostlyclean-host: \
1409 maybe-mostlyclean-ash \
1410 maybe-mostlyclean-autoconf \
1411 maybe-mostlyclean-automake \
1412 maybe-mostlyclean-bash \
1413 maybe-mostlyclean-bfd \
1414 maybe-mostlyclean-opcodes \
1415 maybe-mostlyclean-binutils \
1416 maybe-mostlyclean-bison \
1417 maybe-mostlyclean-byacc \
1418 maybe-mostlyclean-bzip2 \
1419 maybe-mostlyclean-dejagnu \
1420 maybe-mostlyclean-diff \
1421 maybe-mostlyclean-dosutils \
1422 maybe-mostlyclean-etc \
1423 maybe-mostlyclean-fastjar \
1424 maybe-mostlyclean-fileutils \
1425 maybe-mostlyclean-findutils \
1426 maybe-mostlyclean-find \
1427 maybe-mostlyclean-fixincludes \
1428 maybe-mostlyclean-flex \
1429 maybe-mostlyclean-gas \
1430 maybe-mostlyclean-gcc \
1431 maybe-mostlyclean-gawk \
1432 maybe-mostlyclean-gettext \
1433 maybe-mostlyclean-gnuserv \
1434 maybe-mostlyclean-gprof \
1435 maybe-mostlyclean-gzip \
1436 maybe-mostlyclean-hello \
1437 maybe-mostlyclean-indent \
1438 maybe-mostlyclean-intl \
1439 maybe-mostlyclean-tcl \
1440 maybe-mostlyclean-itcl \
1441 maybe-mostlyclean-ld \
1442 maybe-mostlyclean-libcpp \
1443 maybe-mostlyclean-libgui \
1444 maybe-mostlyclean-libiberty \
1445 maybe-mostlyclean-libtool \
1446 maybe-mostlyclean-m4 \
1447 maybe-mostlyclean-make \
1448 maybe-mostlyclean-mmalloc \
1449 maybe-mostlyclean-patch \
1450 maybe-mostlyclean-perl \
1451 maybe-mostlyclean-prms \
1452 maybe-mostlyclean-rcs \
1453 maybe-mostlyclean-readline \
1454 maybe-mostlyclean-release \
1455 maybe-mostlyclean-recode \
1456 maybe-mostlyclean-sed \
1457 maybe-mostlyclean-send-pr \
1458 maybe-mostlyclean-shellutils \
1459 maybe-mostlyclean-sid \
1460 maybe-mostlyclean-sim \
1461 maybe-mostlyclean-tar \
1462 maybe-mostlyclean-texinfo \
1463 maybe-mostlyclean-textutils \
1464 maybe-mostlyclean-time \
1465 maybe-mostlyclean-uudecode \
1466 maybe-mostlyclean-wdiff \
1467 maybe-mostlyclean-zip \
1468 maybe-mostlyclean-zlib \
1469 maybe-mostlyclean-gdb \
1470 maybe-mostlyclean-expect \
1471 maybe-mostlyclean-guile \
1472 maybe-mostlyclean-tk \
1473 maybe-mostlyclean-libtermcap \
1474 maybe-mostlyclean-utils
1476 .PHONY: mostlyclean-target
1477 mostlyclean-target: \
1478 maybe-mostlyclean-target-libstdc++-v3 \
1479 maybe-mostlyclean-target-libmudflap \
1480 maybe-mostlyclean-target-newlib \
1481 maybe-mostlyclean-target-libgfortran \
1482 maybe-mostlyclean-target-libobjc \
1483 maybe-mostlyclean-target-libtermcap \
1484 maybe-mostlyclean-target-winsup \
1485 maybe-mostlyclean-target-libgloss \
1486 maybe-mostlyclean-target-libiberty \
1487 maybe-mostlyclean-target-gperf \
1488 maybe-mostlyclean-target-examples \
1489 maybe-mostlyclean-target-libffi \
1490 maybe-mostlyclean-target-libjava \
1491 maybe-mostlyclean-target-zlib \
1492 maybe-mostlyclean-target-boehm-gc \
1493 maybe-mostlyclean-target-qthreads \
1494 maybe-mostlyclean-target-rda \
1495 maybe-mostlyclean-target-libada
1497 .PHONY: do-clean
1498 do-clean: unstage clean-host clean-target stage
1500 .PHONY: clean-host
1501 clean-host: \
1502 maybe-clean-ash \
1503 maybe-clean-autoconf \
1504 maybe-clean-automake \
1505 maybe-clean-bash \
1506 maybe-clean-bfd \
1507 maybe-clean-opcodes \
1508 maybe-clean-binutils \
1509 maybe-clean-bison \
1510 maybe-clean-byacc \
1511 maybe-clean-bzip2 \
1512 maybe-clean-dejagnu \
1513 maybe-clean-diff \
1514 maybe-clean-dosutils \
1515 maybe-clean-etc \
1516 maybe-clean-fastjar \
1517 maybe-clean-fileutils \
1518 maybe-clean-findutils \
1519 maybe-clean-find \
1520 maybe-clean-fixincludes \
1521 maybe-clean-flex \
1522 maybe-clean-gas \
1523 maybe-clean-gcc \
1524 maybe-clean-gawk \
1525 maybe-clean-gettext \
1526 maybe-clean-gnuserv \
1527 maybe-clean-gprof \
1528 maybe-clean-gzip \
1529 maybe-clean-hello \
1530 maybe-clean-indent \
1531 maybe-clean-intl \
1532 maybe-clean-tcl \
1533 maybe-clean-itcl \
1534 maybe-clean-ld \
1535 maybe-clean-libcpp \
1536 maybe-clean-libgui \
1537 maybe-clean-libiberty \
1538 maybe-clean-libtool \
1539 maybe-clean-m4 \
1540 maybe-clean-make \
1541 maybe-clean-mmalloc \
1542 maybe-clean-patch \
1543 maybe-clean-perl \
1544 maybe-clean-prms \
1545 maybe-clean-rcs \
1546 maybe-clean-readline \
1547 maybe-clean-release \
1548 maybe-clean-recode \
1549 maybe-clean-sed \
1550 maybe-clean-send-pr \
1551 maybe-clean-shellutils \
1552 maybe-clean-sid \
1553 maybe-clean-sim \
1554 maybe-clean-tar \
1555 maybe-clean-texinfo \
1556 maybe-clean-textutils \
1557 maybe-clean-time \
1558 maybe-clean-uudecode \
1559 maybe-clean-wdiff \
1560 maybe-clean-zip \
1561 maybe-clean-zlib \
1562 maybe-clean-gdb \
1563 maybe-clean-expect \
1564 maybe-clean-guile \
1565 maybe-clean-tk \
1566 maybe-clean-libtermcap \
1567 maybe-clean-utils
1569 .PHONY: clean-target
1570 clean-target: \
1571 maybe-clean-target-libstdc++-v3 \
1572 maybe-clean-target-libmudflap \
1573 maybe-clean-target-newlib \
1574 maybe-clean-target-libgfortran \
1575 maybe-clean-target-libobjc \
1576 maybe-clean-target-libtermcap \
1577 maybe-clean-target-winsup \
1578 maybe-clean-target-libgloss \
1579 maybe-clean-target-libiberty \
1580 maybe-clean-target-gperf \
1581 maybe-clean-target-examples \
1582 maybe-clean-target-libffi \
1583 maybe-clean-target-libjava \
1584 maybe-clean-target-zlib \
1585 maybe-clean-target-boehm-gc \
1586 maybe-clean-target-qthreads \
1587 maybe-clean-target-rda \
1588 maybe-clean-target-libada
1590 .PHONY: do-distclean
1591 do-distclean: unstage distclean-host distclean-target stage
1593 .PHONY: distclean-host
1594 distclean-host: \
1595 maybe-distclean-ash \
1596 maybe-distclean-autoconf \
1597 maybe-distclean-automake \
1598 maybe-distclean-bash \
1599 maybe-distclean-bfd \
1600 maybe-distclean-opcodes \
1601 maybe-distclean-binutils \
1602 maybe-distclean-bison \
1603 maybe-distclean-byacc \
1604 maybe-distclean-bzip2 \
1605 maybe-distclean-dejagnu \
1606 maybe-distclean-diff \
1607 maybe-distclean-dosutils \
1608 maybe-distclean-etc \
1609 maybe-distclean-fastjar \
1610 maybe-distclean-fileutils \
1611 maybe-distclean-findutils \
1612 maybe-distclean-find \
1613 maybe-distclean-fixincludes \
1614 maybe-distclean-flex \
1615 maybe-distclean-gas \
1616 maybe-distclean-gcc \
1617 maybe-distclean-gawk \
1618 maybe-distclean-gettext \
1619 maybe-distclean-gnuserv \
1620 maybe-distclean-gprof \
1621 maybe-distclean-gzip \
1622 maybe-distclean-hello \
1623 maybe-distclean-indent \
1624 maybe-distclean-intl \
1625 maybe-distclean-tcl \
1626 maybe-distclean-itcl \
1627 maybe-distclean-ld \
1628 maybe-distclean-libcpp \
1629 maybe-distclean-libgui \
1630 maybe-distclean-libiberty \
1631 maybe-distclean-libtool \
1632 maybe-distclean-m4 \
1633 maybe-distclean-make \
1634 maybe-distclean-mmalloc \
1635 maybe-distclean-patch \
1636 maybe-distclean-perl \
1637 maybe-distclean-prms \
1638 maybe-distclean-rcs \
1639 maybe-distclean-readline \
1640 maybe-distclean-release \
1641 maybe-distclean-recode \
1642 maybe-distclean-sed \
1643 maybe-distclean-send-pr \
1644 maybe-distclean-shellutils \
1645 maybe-distclean-sid \
1646 maybe-distclean-sim \
1647 maybe-distclean-tar \
1648 maybe-distclean-texinfo \
1649 maybe-distclean-textutils \
1650 maybe-distclean-time \
1651 maybe-distclean-uudecode \
1652 maybe-distclean-wdiff \
1653 maybe-distclean-zip \
1654 maybe-distclean-zlib \
1655 maybe-distclean-gdb \
1656 maybe-distclean-expect \
1657 maybe-distclean-guile \
1658 maybe-distclean-tk \
1659 maybe-distclean-libtermcap \
1660 maybe-distclean-utils
1662 .PHONY: distclean-target
1663 distclean-target: \
1664 maybe-distclean-target-libstdc++-v3 \
1665 maybe-distclean-target-libmudflap \
1666 maybe-distclean-target-newlib \
1667 maybe-distclean-target-libgfortran \
1668 maybe-distclean-target-libobjc \
1669 maybe-distclean-target-libtermcap \
1670 maybe-distclean-target-winsup \
1671 maybe-distclean-target-libgloss \
1672 maybe-distclean-target-libiberty \
1673 maybe-distclean-target-gperf \
1674 maybe-distclean-target-examples \
1675 maybe-distclean-target-libffi \
1676 maybe-distclean-target-libjava \
1677 maybe-distclean-target-zlib \
1678 maybe-distclean-target-boehm-gc \
1679 maybe-distclean-target-qthreads \
1680 maybe-distclean-target-rda \
1681 maybe-distclean-target-libada
1683 .PHONY: do-maintainer-clean
1684 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1686 .PHONY: maintainer-clean-host
1687 maintainer-clean-host: \
1688 maybe-maintainer-clean-ash \
1689 maybe-maintainer-clean-autoconf \
1690 maybe-maintainer-clean-automake \
1691 maybe-maintainer-clean-bash \
1692 maybe-maintainer-clean-bfd \
1693 maybe-maintainer-clean-opcodes \
1694 maybe-maintainer-clean-binutils \
1695 maybe-maintainer-clean-bison \
1696 maybe-maintainer-clean-byacc \
1697 maybe-maintainer-clean-bzip2 \
1698 maybe-maintainer-clean-dejagnu \
1699 maybe-maintainer-clean-diff \
1700 maybe-maintainer-clean-dosutils \
1701 maybe-maintainer-clean-etc \
1702 maybe-maintainer-clean-fastjar \
1703 maybe-maintainer-clean-fileutils \
1704 maybe-maintainer-clean-findutils \
1705 maybe-maintainer-clean-find \
1706 maybe-maintainer-clean-fixincludes \
1707 maybe-maintainer-clean-flex \
1708 maybe-maintainer-clean-gas \
1709 maybe-maintainer-clean-gcc \
1710 maybe-maintainer-clean-gawk \
1711 maybe-maintainer-clean-gettext \
1712 maybe-maintainer-clean-gnuserv \
1713 maybe-maintainer-clean-gprof \
1714 maybe-maintainer-clean-gzip \
1715 maybe-maintainer-clean-hello \
1716 maybe-maintainer-clean-indent \
1717 maybe-maintainer-clean-intl \
1718 maybe-maintainer-clean-tcl \
1719 maybe-maintainer-clean-itcl \
1720 maybe-maintainer-clean-ld \
1721 maybe-maintainer-clean-libcpp \
1722 maybe-maintainer-clean-libgui \
1723 maybe-maintainer-clean-libiberty \
1724 maybe-maintainer-clean-libtool \
1725 maybe-maintainer-clean-m4 \
1726 maybe-maintainer-clean-make \
1727 maybe-maintainer-clean-mmalloc \
1728 maybe-maintainer-clean-patch \
1729 maybe-maintainer-clean-perl \
1730 maybe-maintainer-clean-prms \
1731 maybe-maintainer-clean-rcs \
1732 maybe-maintainer-clean-readline \
1733 maybe-maintainer-clean-release \
1734 maybe-maintainer-clean-recode \
1735 maybe-maintainer-clean-sed \
1736 maybe-maintainer-clean-send-pr \
1737 maybe-maintainer-clean-shellutils \
1738 maybe-maintainer-clean-sid \
1739 maybe-maintainer-clean-sim \
1740 maybe-maintainer-clean-tar \
1741 maybe-maintainer-clean-texinfo \
1742 maybe-maintainer-clean-textutils \
1743 maybe-maintainer-clean-time \
1744 maybe-maintainer-clean-uudecode \
1745 maybe-maintainer-clean-wdiff \
1746 maybe-maintainer-clean-zip \
1747 maybe-maintainer-clean-zlib \
1748 maybe-maintainer-clean-gdb \
1749 maybe-maintainer-clean-expect \
1750 maybe-maintainer-clean-guile \
1751 maybe-maintainer-clean-tk \
1752 maybe-maintainer-clean-libtermcap \
1753 maybe-maintainer-clean-utils
1755 .PHONY: maintainer-clean-target
1756 maintainer-clean-target: \
1757 maybe-maintainer-clean-target-libstdc++-v3 \
1758 maybe-maintainer-clean-target-libmudflap \
1759 maybe-maintainer-clean-target-newlib \
1760 maybe-maintainer-clean-target-libgfortran \
1761 maybe-maintainer-clean-target-libobjc \
1762 maybe-maintainer-clean-target-libtermcap \
1763 maybe-maintainer-clean-target-winsup \
1764 maybe-maintainer-clean-target-libgloss \
1765 maybe-maintainer-clean-target-libiberty \
1766 maybe-maintainer-clean-target-gperf \
1767 maybe-maintainer-clean-target-examples \
1768 maybe-maintainer-clean-target-libffi \
1769 maybe-maintainer-clean-target-libjava \
1770 maybe-maintainer-clean-target-zlib \
1771 maybe-maintainer-clean-target-boehm-gc \
1772 maybe-maintainer-clean-target-qthreads \
1773 maybe-maintainer-clean-target-rda \
1774 maybe-maintainer-clean-target-libada
1777 # Here are the targets which correspond to the do-X targets.
1779 .PHONY: info installcheck dvi html install-info
1780 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1781 .PHONY: local-clean local-distclean local-maintainer-clean
1782 info: do-info
1783 installcheck: do-installcheck
1784 dvi: do-dvi
1785 html: do-html
1787 # Make sure makeinfo is built before we do a `make info', if we're
1788 # in fact building texinfo.
1789 do-info: maybe-all-texinfo
1791 install-info: do-install-info dir.info
1792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1793 if [ -f dir.info ] ; then \
1794 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1795 else true ; fi
1797 local-clean:
1798 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1800 local-distclean:
1801 -rm -f Makefile config.status config.cache mh-frag mt-frag
1802 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1803 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1804 rm -rf $(TARGET_SUBDIR); \
1805 else true; fi
1806 -rm -rf $(BUILD_SUBDIR)
1807 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1808 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1809 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1810 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1811 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1813 local-maintainer-clean:
1814 @echo "This command is intended for maintainers to use;"
1815 @echo "it deletes files that may require special tools to rebuild."
1817 clean: do-clean local-clean
1818 mostlyclean: do-mostlyclean local-clean
1819 distclean: do-distclean local-clean local-distclean
1820 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1821 maintainer-clean: local-distclean
1822 realclean: maintainer-clean
1824 # Extra dependency for clean-target, owing to the mixed nature of gcc
1825 clean-target: clean-target-libgcc
1826 clean-target-libgcc:
1827 test ! -d gcc/libgcc || \
1828 (cd gcc/libgcc && find . -type d -print) | \
1829 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1830 -rm -rf gcc/libgcc
1831 -rm -f gcc/stmp-dirs
1833 # Check target.
1835 .PHONY: check do-check
1836 check: do-check
1838 # Only include modules actually being configured and built.
1839 do-check: unstage \
1840 maybe-check-ash \
1841 maybe-check-autoconf \
1842 maybe-check-automake \
1843 maybe-check-bash \
1844 maybe-check-bfd \
1845 maybe-check-opcodes \
1846 maybe-check-binutils \
1847 maybe-check-bison \
1848 maybe-check-byacc \
1849 maybe-check-bzip2 \
1850 maybe-check-dejagnu \
1851 maybe-check-diff \
1852 maybe-check-dosutils \
1853 maybe-check-etc \
1854 maybe-check-fastjar \
1855 maybe-check-fileutils \
1856 maybe-check-findutils \
1857 maybe-check-find \
1858 maybe-check-fixincludes \
1859 maybe-check-flex \
1860 maybe-check-gas \
1861 maybe-check-gcc \
1862 maybe-check-gawk \
1863 maybe-check-gettext \
1864 maybe-check-gnuserv \
1865 maybe-check-gprof \
1866 maybe-check-gzip \
1867 maybe-check-hello \
1868 maybe-check-indent \
1869 maybe-check-intl \
1870 maybe-check-tcl \
1871 maybe-check-itcl \
1872 maybe-check-ld \
1873 maybe-check-libcpp \
1874 maybe-check-libgui \
1875 maybe-check-libiberty \
1876 maybe-check-libtool \
1877 maybe-check-m4 \
1878 maybe-check-make \
1879 maybe-check-mmalloc \
1880 maybe-check-patch \
1881 maybe-check-perl \
1882 maybe-check-prms \
1883 maybe-check-rcs \
1884 maybe-check-readline \
1885 maybe-check-release \
1886 maybe-check-recode \
1887 maybe-check-sed \
1888 maybe-check-send-pr \
1889 maybe-check-shellutils \
1890 maybe-check-sid \
1891 maybe-check-sim \
1892 maybe-check-tar \
1893 maybe-check-texinfo \
1894 maybe-check-textutils \
1895 maybe-check-time \
1896 maybe-check-uudecode \
1897 maybe-check-wdiff \
1898 maybe-check-zip \
1899 maybe-check-zlib \
1900 maybe-check-gdb \
1901 maybe-check-expect \
1902 maybe-check-guile \
1903 maybe-check-tk \
1904 maybe-check-libtermcap \
1905 maybe-check-utils \
1906 maybe-check-target-libstdc++-v3 \
1907 maybe-check-target-libmudflap \
1908 maybe-check-target-newlib \
1909 maybe-check-target-libgfortran \
1910 maybe-check-target-libobjc \
1911 maybe-check-target-libtermcap \
1912 maybe-check-target-winsup \
1913 maybe-check-target-libgloss \
1914 maybe-check-target-libiberty \
1915 maybe-check-target-gperf \
1916 maybe-check-target-examples \
1917 maybe-check-target-libffi \
1918 maybe-check-target-libjava \
1919 maybe-check-target-zlib \
1920 maybe-check-target-boehm-gc \
1921 maybe-check-target-qthreads \
1922 maybe-check-target-rda \
1923 maybe-check-target-libada stage
1925 # Automated reporting of test results.
1927 warning.log: build.log
1928 $(srcdir)/contrib/warn_summary build.log > $@
1930 mail-report.log:
1931 if test x'$(BOOT_CFLAGS)' != x''; then \
1932 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1933 fi; \
1934 $(srcdir)/contrib/test_summary -t >$@
1935 chmod +x $@
1936 echo If you really want to send e-mail, run ./$@ now
1938 mail-report-with-warnings.log: warning.log
1939 if test x'$(BOOT_CFLAGS)' != x''; then \
1940 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1941 fi; \
1942 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1943 chmod +x $@
1944 echo If you really want to send e-mail, run ./$@ now
1946 # Installation targets.
1948 .PHONY: install uninstall
1949 install: installdirs install-host install-target
1951 .PHONY: install-host-nogcc
1952 install-host-nogcc: \
1953 maybe-install-ash \
1954 maybe-install-autoconf \
1955 maybe-install-automake \
1956 maybe-install-bash \
1957 maybe-install-bfd \
1958 maybe-install-opcodes \
1959 maybe-install-binutils \
1960 maybe-install-bison \
1961 maybe-install-byacc \
1962 maybe-install-bzip2 \
1963 maybe-install-dejagnu \
1964 maybe-install-diff \
1965 maybe-install-dosutils \
1966 maybe-install-etc \
1967 maybe-install-fastjar \
1968 maybe-install-fileutils \
1969 maybe-install-findutils \
1970 maybe-install-find \
1971 maybe-install-fixincludes \
1972 maybe-install-flex \
1973 maybe-install-gas \
1974 maybe-install-gawk \
1975 maybe-install-gettext \
1976 maybe-install-gnuserv \
1977 maybe-install-gprof \
1978 maybe-install-gzip \
1979 maybe-install-hello \
1980 maybe-install-indent \
1981 maybe-install-intl \
1982 maybe-install-tcl \
1983 maybe-install-itcl \
1984 maybe-install-ld \
1985 maybe-install-libcpp \
1986 maybe-install-libgui \
1987 maybe-install-libiberty \
1988 maybe-install-libtool \
1989 maybe-install-m4 \
1990 maybe-install-make \
1991 maybe-install-mmalloc \
1992 maybe-install-patch \
1993 maybe-install-perl \
1994 maybe-install-prms \
1995 maybe-install-rcs \
1996 maybe-install-readline \
1997 maybe-install-release \
1998 maybe-install-recode \
1999 maybe-install-sed \
2000 maybe-install-send-pr \
2001 maybe-install-shellutils \
2002 maybe-install-sid \
2003 maybe-install-sim \
2004 maybe-install-tar \
2005 maybe-install-texinfo \
2006 maybe-install-textutils \
2007 maybe-install-time \
2008 maybe-install-uudecode \
2009 maybe-install-wdiff \
2010 maybe-install-zip \
2011 maybe-install-zlib \
2012 maybe-install-gdb \
2013 maybe-install-expect \
2014 maybe-install-guile \
2015 maybe-install-tk \
2016 maybe-install-libtermcap \
2017 maybe-install-utils
2019 .PHONY: install-host
2020 install-host: \
2021 maybe-install-ash \
2022 maybe-install-autoconf \
2023 maybe-install-automake \
2024 maybe-install-bash \
2025 maybe-install-bfd \
2026 maybe-install-opcodes \
2027 maybe-install-binutils \
2028 maybe-install-bison \
2029 maybe-install-byacc \
2030 maybe-install-bzip2 \
2031 maybe-install-dejagnu \
2032 maybe-install-diff \
2033 maybe-install-dosutils \
2034 maybe-install-etc \
2035 maybe-install-fastjar \
2036 maybe-install-fileutils \
2037 maybe-install-findutils \
2038 maybe-install-find \
2039 maybe-install-fixincludes \
2040 maybe-install-flex \
2041 maybe-install-gas \
2042 maybe-install-gcc \
2043 maybe-install-gawk \
2044 maybe-install-gettext \
2045 maybe-install-gnuserv \
2046 maybe-install-gprof \
2047 maybe-install-gzip \
2048 maybe-install-hello \
2049 maybe-install-indent \
2050 maybe-install-intl \
2051 maybe-install-tcl \
2052 maybe-install-itcl \
2053 maybe-install-ld \
2054 maybe-install-libcpp \
2055 maybe-install-libgui \
2056 maybe-install-libiberty \
2057 maybe-install-libtool \
2058 maybe-install-m4 \
2059 maybe-install-make \
2060 maybe-install-mmalloc \
2061 maybe-install-patch \
2062 maybe-install-perl \
2063 maybe-install-prms \
2064 maybe-install-rcs \
2065 maybe-install-readline \
2066 maybe-install-release \
2067 maybe-install-recode \
2068 maybe-install-sed \
2069 maybe-install-send-pr \
2070 maybe-install-shellutils \
2071 maybe-install-sid \
2072 maybe-install-sim \
2073 maybe-install-tar \
2074 maybe-install-texinfo \
2075 maybe-install-textutils \
2076 maybe-install-time \
2077 maybe-install-uudecode \
2078 maybe-install-wdiff \
2079 maybe-install-zip \
2080 maybe-install-zlib \
2081 maybe-install-gdb \
2082 maybe-install-expect \
2083 maybe-install-guile \
2084 maybe-install-tk \
2085 maybe-install-libtermcap \
2086 maybe-install-utils
2088 .PHONY: install-target
2089 install-target: \
2090 maybe-install-target-libstdc++-v3 \
2091 maybe-install-target-libmudflap \
2092 maybe-install-target-newlib \
2093 maybe-install-target-libgfortran \
2094 maybe-install-target-libobjc \
2095 maybe-install-target-libtermcap \
2096 maybe-install-target-winsup \
2097 maybe-install-target-libgloss \
2098 maybe-install-target-libiberty \
2099 maybe-install-target-gperf \
2100 maybe-install-target-examples \
2101 maybe-install-target-libffi \
2102 maybe-install-target-libjava \
2103 maybe-install-target-zlib \
2104 maybe-install-target-boehm-gc \
2105 maybe-install-target-qthreads \
2106 maybe-install-target-rda \
2107 maybe-install-target-libada
2109 uninstall:
2110 @echo "the uninstall target is not supported in this tree"
2112 .PHONY: install.all
2113 install.all: install-no-fixedincludes
2114 @if [ -f ./gcc/Makefile ] ; then \
2115 r=`${PWD_COMMAND}` ; export r ; \
2116 $(SET_LIB_PATH) \
2117 $(HOST_EXPORTS) \
2118 (cd ./gcc && \
2119 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2120 else \
2121 true ; \
2124 # install-no-fixedincludes is used because Cygnus can not distribute
2125 # the fixed header files.
2126 .PHONY: install-no-fixedincludes
2127 install-no-fixedincludes: installdirs install-host-nogcc \
2128 install-target gcc-no-fixedincludes
2130 ### other supporting targets
2132 MAKEDIRS= \
2133 $(DESTDIR)$(prefix) \
2134 $(DESTDIR)$(exec_prefix)
2135 .PHONY: installdirs
2136 installdirs: mkinstalldirs
2137 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2139 dir.info: do-install-info
2140 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2141 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2142 mv -f dir.info.new dir.info ; \
2143 else true ; \
2146 dist:
2147 @echo "Building a full distribution of this tree isn't done"
2148 @echo "via 'make dist'. Check out the etc/ subdirectory"
2150 etags tags: TAGS
2152 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2153 # ability to use several tags files at once, so there is probably no need
2154 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2155 # (if we felt like it) have this Makefile write a piece of elisp which
2156 # the user could load to tell emacs19 where all the TAGS files we just
2157 # built are.
2158 TAGS: do-TAGS
2160 # --------------------------------------
2161 # Modules which run on the build machine
2162 # --------------------------------------
2164 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2165 maybe-configure-build-libiberty:
2166 @if build-libiberty
2167 maybe-configure-build-libiberty: configure-build-libiberty
2168 configure-build-libiberty:
2169 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2170 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2171 r=`${PWD_COMMAND}`; export r; \
2172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2173 $(BUILD_EXPORTS) \
2174 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2175 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2176 case $(srcdir) in \
2177 /* | [A-Za-z]:[\\/]*) \
2178 topdir=$(srcdir) ;; \
2179 *) \
2180 case "$(BUILD_SUBDIR)" in \
2181 .) topdir="../$(srcdir)" ;; \
2182 *) topdir="../../$(srcdir)" ;; \
2183 esac ;; \
2184 esac; \
2185 if [ "$(srcdir)" = "." ] ; then \
2186 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2187 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2188 if [ -f Makefile ]; then \
2189 if $(MAKE) distclean; then \
2190 true; \
2191 else \
2192 exit 1; \
2193 fi; \
2194 else \
2195 true; \
2196 fi; \
2197 else \
2198 exit 1; \
2199 fi; \
2200 else \
2201 true; \
2202 fi; \
2203 srcdiroption="--srcdir=."; \
2204 libsrcdir="."; \
2205 else \
2206 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2207 libsrcdir="$$s/libiberty"; \
2208 fi; \
2209 rm -f no-such-file || : ; \
2210 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2211 $(BUILD_CONFIGARGS) $${srcdiroption} \
2212 --with-build-subdir="$(BUILD_SUBDIR)" \
2213 || exit 1
2214 @endif build-libiberty
2216 .PHONY: all-build-libiberty maybe-all-build-libiberty
2217 maybe-all-build-libiberty:
2218 @if build-libiberty
2219 TARGET-build-libiberty=all
2220 maybe-all-build-libiberty: all-build-libiberty
2221 all-build-libiberty: configure-build-libiberty
2222 @r=`${PWD_COMMAND}`; export r; \
2223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2224 $(BUILD_EXPORTS) \
2225 (cd $(BUILD_SUBDIR)/libiberty && \
2226 $(MAKE) $(TARGET-build-libiberty))
2227 @endif build-libiberty
2229 .PHONY: configure-build-bison maybe-configure-build-bison
2230 maybe-configure-build-bison:
2231 @if build-bison
2232 maybe-configure-build-bison: configure-build-bison
2233 configure-build-bison:
2234 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2235 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2236 r=`${PWD_COMMAND}`; export r; \
2237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2238 $(BUILD_EXPORTS) \
2239 echo Configuring in $(BUILD_SUBDIR)/bison; \
2240 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2241 case $(srcdir) in \
2242 /* | [A-Za-z]:[\\/]*) \
2243 topdir=$(srcdir) ;; \
2244 *) \
2245 case "$(BUILD_SUBDIR)" in \
2246 .) topdir="../$(srcdir)" ;; \
2247 *) topdir="../../$(srcdir)" ;; \
2248 esac ;; \
2249 esac; \
2250 if [ "$(srcdir)" = "." ] ; then \
2251 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2252 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2253 if [ -f Makefile ]; then \
2254 if $(MAKE) distclean; then \
2255 true; \
2256 else \
2257 exit 1; \
2258 fi; \
2259 else \
2260 true; \
2261 fi; \
2262 else \
2263 exit 1; \
2264 fi; \
2265 else \
2266 true; \
2267 fi; \
2268 srcdiroption="--srcdir=."; \
2269 libsrcdir="."; \
2270 else \
2271 srcdiroption="--srcdir=$${topdir}/bison"; \
2272 libsrcdir="$$s/bison"; \
2273 fi; \
2274 rm -f no-such-file || : ; \
2275 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2276 $(BUILD_CONFIGARGS) $${srcdiroption} \
2277 --with-build-subdir="$(BUILD_SUBDIR)" \
2278 || exit 1
2279 @endif build-bison
2281 .PHONY: all-build-bison maybe-all-build-bison
2282 maybe-all-build-bison:
2283 @if build-bison
2284 TARGET-build-bison=all
2285 maybe-all-build-bison: all-build-bison
2286 all-build-bison: configure-build-bison
2287 @r=`${PWD_COMMAND}`; export r; \
2288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2289 $(BUILD_EXPORTS) \
2290 (cd $(BUILD_SUBDIR)/bison && \
2291 $(MAKE) $(TARGET-build-bison))
2292 @endif build-bison
2294 .PHONY: configure-build-byacc maybe-configure-build-byacc
2295 maybe-configure-build-byacc:
2296 @if build-byacc
2297 maybe-configure-build-byacc: configure-build-byacc
2298 configure-build-byacc:
2299 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2300 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2301 r=`${PWD_COMMAND}`; export r; \
2302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2303 $(BUILD_EXPORTS) \
2304 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2305 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2306 case $(srcdir) in \
2307 /* | [A-Za-z]:[\\/]*) \
2308 topdir=$(srcdir) ;; \
2309 *) \
2310 case "$(BUILD_SUBDIR)" in \
2311 .) topdir="../$(srcdir)" ;; \
2312 *) topdir="../../$(srcdir)" ;; \
2313 esac ;; \
2314 esac; \
2315 if [ "$(srcdir)" = "." ] ; then \
2316 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2317 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2318 if [ -f Makefile ]; then \
2319 if $(MAKE) distclean; then \
2320 true; \
2321 else \
2322 exit 1; \
2323 fi; \
2324 else \
2325 true; \
2326 fi; \
2327 else \
2328 exit 1; \
2329 fi; \
2330 else \
2331 true; \
2332 fi; \
2333 srcdiroption="--srcdir=."; \
2334 libsrcdir="."; \
2335 else \
2336 srcdiroption="--srcdir=$${topdir}/byacc"; \
2337 libsrcdir="$$s/byacc"; \
2338 fi; \
2339 rm -f no-such-file || : ; \
2340 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2341 $(BUILD_CONFIGARGS) $${srcdiroption} \
2342 --with-build-subdir="$(BUILD_SUBDIR)" \
2343 || exit 1
2344 @endif build-byacc
2346 .PHONY: all-build-byacc maybe-all-build-byacc
2347 maybe-all-build-byacc:
2348 @if build-byacc
2349 TARGET-build-byacc=all
2350 maybe-all-build-byacc: all-build-byacc
2351 all-build-byacc: configure-build-byacc
2352 @r=`${PWD_COMMAND}`; export r; \
2353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2354 $(BUILD_EXPORTS) \
2355 (cd $(BUILD_SUBDIR)/byacc && \
2356 $(MAKE) $(TARGET-build-byacc))
2357 @endif build-byacc
2359 .PHONY: configure-build-flex maybe-configure-build-flex
2360 maybe-configure-build-flex:
2361 @if build-flex
2362 maybe-configure-build-flex: configure-build-flex
2363 configure-build-flex:
2364 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2365 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2366 r=`${PWD_COMMAND}`; export r; \
2367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2368 $(BUILD_EXPORTS) \
2369 echo Configuring in $(BUILD_SUBDIR)/flex; \
2370 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2371 case $(srcdir) in \
2372 /* | [A-Za-z]:[\\/]*) \
2373 topdir=$(srcdir) ;; \
2374 *) \
2375 case "$(BUILD_SUBDIR)" in \
2376 .) topdir="../$(srcdir)" ;; \
2377 *) topdir="../../$(srcdir)" ;; \
2378 esac ;; \
2379 esac; \
2380 if [ "$(srcdir)" = "." ] ; then \
2381 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2382 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2383 if [ -f Makefile ]; then \
2384 if $(MAKE) distclean; then \
2385 true; \
2386 else \
2387 exit 1; \
2388 fi; \
2389 else \
2390 true; \
2391 fi; \
2392 else \
2393 exit 1; \
2394 fi; \
2395 else \
2396 true; \
2397 fi; \
2398 srcdiroption="--srcdir=."; \
2399 libsrcdir="."; \
2400 else \
2401 srcdiroption="--srcdir=$${topdir}/flex"; \
2402 libsrcdir="$$s/flex"; \
2403 fi; \
2404 rm -f no-such-file || : ; \
2405 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2406 $(BUILD_CONFIGARGS) $${srcdiroption} \
2407 --with-build-subdir="$(BUILD_SUBDIR)" \
2408 || exit 1
2409 @endif build-flex
2411 .PHONY: all-build-flex maybe-all-build-flex
2412 maybe-all-build-flex:
2413 @if build-flex
2414 TARGET-build-flex=all
2415 maybe-all-build-flex: all-build-flex
2416 all-build-flex: configure-build-flex
2417 @r=`${PWD_COMMAND}`; export r; \
2418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2419 $(BUILD_EXPORTS) \
2420 (cd $(BUILD_SUBDIR)/flex && \
2421 $(MAKE) $(TARGET-build-flex))
2422 @endif build-flex
2424 .PHONY: configure-build-m4 maybe-configure-build-m4
2425 maybe-configure-build-m4:
2426 @if build-m4
2427 maybe-configure-build-m4: configure-build-m4
2428 configure-build-m4:
2429 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2430 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2431 r=`${PWD_COMMAND}`; export r; \
2432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2433 $(BUILD_EXPORTS) \
2434 echo Configuring in $(BUILD_SUBDIR)/m4; \
2435 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2436 case $(srcdir) in \
2437 /* | [A-Za-z]:[\\/]*) \
2438 topdir=$(srcdir) ;; \
2439 *) \
2440 case "$(BUILD_SUBDIR)" in \
2441 .) topdir="../$(srcdir)" ;; \
2442 *) topdir="../../$(srcdir)" ;; \
2443 esac ;; \
2444 esac; \
2445 if [ "$(srcdir)" = "." ] ; then \
2446 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2447 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2448 if [ -f Makefile ]; then \
2449 if $(MAKE) distclean; then \
2450 true; \
2451 else \
2452 exit 1; \
2453 fi; \
2454 else \
2455 true; \
2456 fi; \
2457 else \
2458 exit 1; \
2459 fi; \
2460 else \
2461 true; \
2462 fi; \
2463 srcdiroption="--srcdir=."; \
2464 libsrcdir="."; \
2465 else \
2466 srcdiroption="--srcdir=$${topdir}/m4"; \
2467 libsrcdir="$$s/m4"; \
2468 fi; \
2469 rm -f no-such-file || : ; \
2470 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2471 $(BUILD_CONFIGARGS) $${srcdiroption} \
2472 --with-build-subdir="$(BUILD_SUBDIR)" \
2473 || exit 1
2474 @endif build-m4
2476 .PHONY: all-build-m4 maybe-all-build-m4
2477 maybe-all-build-m4:
2478 @if build-m4
2479 TARGET-build-m4=all
2480 maybe-all-build-m4: all-build-m4
2481 all-build-m4: configure-build-m4
2482 @r=`${PWD_COMMAND}`; export r; \
2483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2484 $(BUILD_EXPORTS) \
2485 (cd $(BUILD_SUBDIR)/m4 && \
2486 $(MAKE) $(TARGET-build-m4))
2487 @endif build-m4
2489 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2490 maybe-configure-build-texinfo:
2491 @if build-texinfo
2492 maybe-configure-build-texinfo: configure-build-texinfo
2493 configure-build-texinfo:
2494 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2495 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2496 r=`${PWD_COMMAND}`; export r; \
2497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2498 $(BUILD_EXPORTS) \
2499 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2500 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2501 case $(srcdir) in \
2502 /* | [A-Za-z]:[\\/]*) \
2503 topdir=$(srcdir) ;; \
2504 *) \
2505 case "$(BUILD_SUBDIR)" in \
2506 .) topdir="../$(srcdir)" ;; \
2507 *) topdir="../../$(srcdir)" ;; \
2508 esac ;; \
2509 esac; \
2510 if [ "$(srcdir)" = "." ] ; then \
2511 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2512 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2513 if [ -f Makefile ]; then \
2514 if $(MAKE) distclean; then \
2515 true; \
2516 else \
2517 exit 1; \
2518 fi; \
2519 else \
2520 true; \
2521 fi; \
2522 else \
2523 exit 1; \
2524 fi; \
2525 else \
2526 true; \
2527 fi; \
2528 srcdiroption="--srcdir=."; \
2529 libsrcdir="."; \
2530 else \
2531 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2532 libsrcdir="$$s/texinfo"; \
2533 fi; \
2534 rm -f no-such-file || : ; \
2535 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2536 $(BUILD_CONFIGARGS) $${srcdiroption} \
2537 --with-build-subdir="$(BUILD_SUBDIR)" \
2538 || exit 1
2539 @endif build-texinfo
2541 .PHONY: all-build-texinfo maybe-all-build-texinfo
2542 maybe-all-build-texinfo:
2543 @if build-texinfo
2544 TARGET-build-texinfo=all
2545 maybe-all-build-texinfo: all-build-texinfo
2546 all-build-texinfo: configure-build-texinfo
2547 @r=`${PWD_COMMAND}`; export r; \
2548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2549 $(BUILD_EXPORTS) \
2550 (cd $(BUILD_SUBDIR)/texinfo && \
2551 $(MAKE) $(TARGET-build-texinfo))
2552 @endif build-texinfo
2554 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2555 maybe-configure-build-fixincludes:
2556 @if build-fixincludes
2557 maybe-configure-build-fixincludes: configure-build-fixincludes
2558 configure-build-fixincludes:
2559 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2560 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2561 r=`${PWD_COMMAND}`; export r; \
2562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2563 $(BUILD_EXPORTS) \
2564 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2565 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2566 case $(srcdir) in \
2567 /* | [A-Za-z]:[\\/]*) \
2568 topdir=$(srcdir) ;; \
2569 *) \
2570 case "$(BUILD_SUBDIR)" in \
2571 .) topdir="../$(srcdir)" ;; \
2572 *) topdir="../../$(srcdir)" ;; \
2573 esac ;; \
2574 esac; \
2575 if [ "$(srcdir)" = "." ] ; then \
2576 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2577 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2578 if [ -f Makefile ]; then \
2579 if $(MAKE) distclean; then \
2580 true; \
2581 else \
2582 exit 1; \
2583 fi; \
2584 else \
2585 true; \
2586 fi; \
2587 else \
2588 exit 1; \
2589 fi; \
2590 else \
2591 true; \
2592 fi; \
2593 srcdiroption="--srcdir=."; \
2594 libsrcdir="."; \
2595 else \
2596 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2597 libsrcdir="$$s/fixincludes"; \
2598 fi; \
2599 rm -f no-such-file || : ; \
2600 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2601 $(BUILD_CONFIGARGS) $${srcdiroption} \
2602 --with-build-subdir="$(BUILD_SUBDIR)" \
2603 || exit 1
2604 @endif build-fixincludes
2606 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2607 maybe-all-build-fixincludes:
2608 @if build-fixincludes
2609 TARGET-build-fixincludes=all
2610 maybe-all-build-fixincludes: all-build-fixincludes
2611 all-build-fixincludes: configure-build-fixincludes
2612 @r=`${PWD_COMMAND}`; export r; \
2613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2614 $(BUILD_EXPORTS) \
2615 (cd $(BUILD_SUBDIR)/fixincludes && \
2616 $(MAKE) $(TARGET-build-fixincludes))
2617 @endif build-fixincludes
2620 # --------------------------------------
2621 # Modules which run on the host machine
2622 # --------------------------------------
2624 .PHONY: configure-ash maybe-configure-ash
2625 maybe-configure-ash:
2626 @if ash
2627 maybe-configure-ash: configure-ash
2628 configure-ash:
2629 @test ! -f ash/Makefile || exit 0; \
2630 [ -d ash ] || mkdir ash; \
2631 r=`${PWD_COMMAND}`; export r; \
2632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2633 $(HOST_EXPORTS) \
2634 echo Configuring in ash; \
2635 cd ash || exit 1; \
2636 case $(srcdir) in \
2637 \.) \
2638 srcdiroption="--srcdir=."; \
2639 libsrcdir=".";; \
2640 /* | [A-Za-z]:[\\/]*) \
2641 srcdiroption="--srcdir=$(srcdir)/ash"; \
2642 libsrcdir="$$s/ash";; \
2643 *) \
2644 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2645 libsrcdir="$$s/ash";; \
2646 esac; \
2647 $(SHELL) $${libsrcdir}/configure \
2648 $(HOST_CONFIGARGS) $${srcdiroption} \
2649 || exit 1
2650 @endif ash
2652 .PHONY: all-ash maybe-all-ash
2653 maybe-all-ash:
2654 @if ash
2655 TARGET-ash=all
2656 maybe-all-ash: all-ash
2657 all-ash: configure-ash
2658 @r=`${PWD_COMMAND}`; export r; \
2659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2660 $(SET_LIB_PATH) \
2661 $(HOST_EXPORTS) \
2662 (cd ash && $(MAKE) $(FLAGS_TO_PASS) \
2663 $(TARGET-ash))
2664 @endif ash
2666 .PHONY: check-ash maybe-check-ash
2667 maybe-check-ash:
2668 @if ash
2669 maybe-check-ash: check-ash
2671 check-ash:
2672 @r=`${PWD_COMMAND}`; export r; \
2673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2674 $(SET_LIB_PATH) \
2675 $(HOST_EXPORTS) \
2676 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2678 @endif ash
2680 .PHONY: install-ash maybe-install-ash
2681 maybe-install-ash:
2682 @if ash
2683 maybe-install-ash: install-ash
2685 install-ash: installdirs
2686 @r=`${PWD_COMMAND}`; export r; \
2687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2688 $(SET_LIB_PATH) \
2689 $(HOST_EXPORTS) \
2690 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2692 @endif ash
2694 # Other targets (info, dvi, etc.)
2696 .PHONY: maybe-info-ash info-ash
2697 maybe-info-ash:
2698 @if ash
2699 maybe-info-ash: info-ash
2701 info-ash: \
2702 configure-ash
2703 @[ -f ./ash/Makefile ] || exit 0; \
2704 r=`${PWD_COMMAND}`; export r; \
2705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2706 $(SET_LIB_PATH) \
2707 $(HOST_EXPORTS) \
2708 for flag in $(EXTRA_HOST_FLAGS) ; do \
2709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2710 done; \
2711 echo "Doing info in ash" ; \
2712 (cd ash && \
2713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2715 "RANLIB=$${RANLIB}" \
2716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2717 info) \
2718 || exit 1
2720 @endif ash
2722 .PHONY: maybe-dvi-ash dvi-ash
2723 maybe-dvi-ash:
2724 @if ash
2725 maybe-dvi-ash: dvi-ash
2727 dvi-ash: \
2728 configure-ash
2729 @[ -f ./ash/Makefile ] || exit 0; \
2730 r=`${PWD_COMMAND}`; export r; \
2731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2732 $(SET_LIB_PATH) \
2733 $(HOST_EXPORTS) \
2734 for flag in $(EXTRA_HOST_FLAGS) ; do \
2735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2736 done; \
2737 echo "Doing dvi in ash" ; \
2738 (cd ash && \
2739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2741 "RANLIB=$${RANLIB}" \
2742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2743 dvi) \
2744 || exit 1
2746 @endif ash
2748 .PHONY: maybe-html-ash html-ash
2749 maybe-html-ash:
2750 @if ash
2751 maybe-html-ash: html-ash
2753 html-ash: \
2754 configure-ash
2755 @[ -f ./ash/Makefile ] || exit 0; \
2756 r=`${PWD_COMMAND}`; export r; \
2757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2758 $(SET_LIB_PATH) \
2759 $(HOST_EXPORTS) \
2760 for flag in $(EXTRA_HOST_FLAGS) ; do \
2761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2762 done; \
2763 echo "Doing html in ash" ; \
2764 (cd ash && \
2765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2767 "RANLIB=$${RANLIB}" \
2768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2769 html) \
2770 || exit 1
2772 @endif ash
2774 .PHONY: maybe-TAGS-ash TAGS-ash
2775 maybe-TAGS-ash:
2776 @if ash
2777 maybe-TAGS-ash: TAGS-ash
2779 TAGS-ash: \
2780 configure-ash
2781 @[ -f ./ash/Makefile ] || exit 0; \
2782 r=`${PWD_COMMAND}`; export r; \
2783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2784 $(SET_LIB_PATH) \
2785 $(HOST_EXPORTS) \
2786 for flag in $(EXTRA_HOST_FLAGS) ; do \
2787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2788 done; \
2789 echo "Doing TAGS in ash" ; \
2790 (cd ash && \
2791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2793 "RANLIB=$${RANLIB}" \
2794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2795 TAGS) \
2796 || exit 1
2798 @endif ash
2800 .PHONY: maybe-install-info-ash install-info-ash
2801 maybe-install-info-ash:
2802 @if ash
2803 maybe-install-info-ash: install-info-ash
2805 install-info-ash: \
2806 configure-ash \
2807 info-ash
2808 @[ -f ./ash/Makefile ] || exit 0; \
2809 r=`${PWD_COMMAND}`; export r; \
2810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2811 $(SET_LIB_PATH) \
2812 $(HOST_EXPORTS) \
2813 for flag in $(EXTRA_HOST_FLAGS) ; do \
2814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2815 done; \
2816 echo "Doing install-info in ash" ; \
2817 (cd ash && \
2818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2820 "RANLIB=$${RANLIB}" \
2821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2822 install-info) \
2823 || exit 1
2825 @endif ash
2827 .PHONY: maybe-installcheck-ash installcheck-ash
2828 maybe-installcheck-ash:
2829 @if ash
2830 maybe-installcheck-ash: installcheck-ash
2832 installcheck-ash: \
2833 configure-ash
2834 @[ -f ./ash/Makefile ] || exit 0; \
2835 r=`${PWD_COMMAND}`; export r; \
2836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2837 $(SET_LIB_PATH) \
2838 $(HOST_EXPORTS) \
2839 for flag in $(EXTRA_HOST_FLAGS) ; do \
2840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2841 done; \
2842 echo "Doing installcheck in ash" ; \
2843 (cd ash && \
2844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2846 "RANLIB=$${RANLIB}" \
2847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2848 installcheck) \
2849 || exit 1
2851 @endif ash
2853 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2854 maybe-mostlyclean-ash:
2855 @if ash
2856 maybe-mostlyclean-ash: mostlyclean-ash
2858 mostlyclean-ash:
2859 @[ -f ./ash/Makefile ] || exit 0; \
2860 r=`${PWD_COMMAND}`; export r; \
2861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2862 $(SET_LIB_PATH) \
2863 $(HOST_EXPORTS) \
2864 for flag in $(EXTRA_HOST_FLAGS) ; do \
2865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2866 done; \
2867 echo "Doing mostlyclean in ash" ; \
2868 (cd ash && \
2869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2871 "RANLIB=$${RANLIB}" \
2872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2873 mostlyclean) \
2874 || exit 1
2876 @endif ash
2878 .PHONY: maybe-clean-ash clean-ash
2879 maybe-clean-ash:
2880 @if ash
2881 maybe-clean-ash: clean-ash
2883 clean-ash:
2884 @[ -f ./ash/Makefile ] || exit 0; \
2885 r=`${PWD_COMMAND}`; export r; \
2886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2887 $(SET_LIB_PATH) \
2888 $(HOST_EXPORTS) \
2889 for flag in $(EXTRA_HOST_FLAGS) ; do \
2890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2891 done; \
2892 echo "Doing clean in ash" ; \
2893 (cd ash && \
2894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2896 "RANLIB=$${RANLIB}" \
2897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2898 clean) \
2899 || exit 1
2901 @endif ash
2903 .PHONY: maybe-distclean-ash distclean-ash
2904 maybe-distclean-ash:
2905 @if ash
2906 maybe-distclean-ash: distclean-ash
2908 distclean-ash:
2909 @[ -f ./ash/Makefile ] || exit 0; \
2910 r=`${PWD_COMMAND}`; export r; \
2911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2912 $(SET_LIB_PATH) \
2913 $(HOST_EXPORTS) \
2914 for flag in $(EXTRA_HOST_FLAGS) ; do \
2915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2916 done; \
2917 echo "Doing distclean in ash" ; \
2918 (cd ash && \
2919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2921 "RANLIB=$${RANLIB}" \
2922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2923 distclean) \
2924 || exit 1
2926 @endif ash
2928 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2929 maybe-maintainer-clean-ash:
2930 @if ash
2931 maybe-maintainer-clean-ash: maintainer-clean-ash
2933 maintainer-clean-ash:
2934 @[ -f ./ash/Makefile ] || exit 0; \
2935 r=`${PWD_COMMAND}`; export r; \
2936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2937 $(SET_LIB_PATH) \
2938 $(HOST_EXPORTS) \
2939 for flag in $(EXTRA_HOST_FLAGS) ; do \
2940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2941 done; \
2942 echo "Doing maintainer-clean in ash" ; \
2943 (cd ash && \
2944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2946 "RANLIB=$${RANLIB}" \
2947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2948 maintainer-clean) \
2949 || exit 1
2951 @endif ash
2954 .PHONY: configure-autoconf maybe-configure-autoconf
2955 maybe-configure-autoconf:
2956 @if autoconf
2957 maybe-configure-autoconf: configure-autoconf
2958 configure-autoconf:
2959 @test ! -f autoconf/Makefile || exit 0; \
2960 [ -d autoconf ] || mkdir autoconf; \
2961 r=`${PWD_COMMAND}`; export r; \
2962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2963 $(HOST_EXPORTS) \
2964 echo Configuring in autoconf; \
2965 cd autoconf || exit 1; \
2966 case $(srcdir) in \
2967 \.) \
2968 srcdiroption="--srcdir=."; \
2969 libsrcdir=".";; \
2970 /* | [A-Za-z]:[\\/]*) \
2971 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2972 libsrcdir="$$s/autoconf";; \
2973 *) \
2974 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2975 libsrcdir="$$s/autoconf";; \
2976 esac; \
2977 $(SHELL) $${libsrcdir}/configure \
2978 $(HOST_CONFIGARGS) $${srcdiroption} \
2979 || exit 1
2980 @endif autoconf
2982 .PHONY: all-autoconf maybe-all-autoconf
2983 maybe-all-autoconf:
2984 @if autoconf
2985 TARGET-autoconf=all
2986 maybe-all-autoconf: all-autoconf
2987 all-autoconf: configure-autoconf
2988 @r=`${PWD_COMMAND}`; export r; \
2989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2990 $(SET_LIB_PATH) \
2991 $(HOST_EXPORTS) \
2992 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) \
2993 $(TARGET-autoconf))
2994 @endif autoconf
2996 .PHONY: check-autoconf maybe-check-autoconf
2997 maybe-check-autoconf:
2998 @if autoconf
2999 maybe-check-autoconf: check-autoconf
3001 check-autoconf:
3002 @r=`${PWD_COMMAND}`; export r; \
3003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3004 $(SET_LIB_PATH) \
3005 $(HOST_EXPORTS) \
3006 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
3008 @endif autoconf
3010 .PHONY: install-autoconf maybe-install-autoconf
3011 maybe-install-autoconf:
3012 @if autoconf
3013 maybe-install-autoconf: install-autoconf
3015 install-autoconf: installdirs
3016 @r=`${PWD_COMMAND}`; export r; \
3017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3018 $(SET_LIB_PATH) \
3019 $(HOST_EXPORTS) \
3020 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
3022 @endif autoconf
3024 # Other targets (info, dvi, etc.)
3026 .PHONY: maybe-info-autoconf info-autoconf
3027 maybe-info-autoconf:
3028 @if autoconf
3029 maybe-info-autoconf: info-autoconf
3031 info-autoconf: \
3032 configure-autoconf
3033 @[ -f ./autoconf/Makefile ] || exit 0; \
3034 r=`${PWD_COMMAND}`; export r; \
3035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3036 $(SET_LIB_PATH) \
3037 $(HOST_EXPORTS) \
3038 for flag in $(EXTRA_HOST_FLAGS) ; do \
3039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3040 done; \
3041 echo "Doing info in autoconf" ; \
3042 (cd autoconf && \
3043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3045 "RANLIB=$${RANLIB}" \
3046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3047 info) \
3048 || exit 1
3050 @endif autoconf
3052 .PHONY: maybe-dvi-autoconf dvi-autoconf
3053 maybe-dvi-autoconf:
3054 @if autoconf
3055 maybe-dvi-autoconf: dvi-autoconf
3057 dvi-autoconf: \
3058 configure-autoconf
3059 @[ -f ./autoconf/Makefile ] || exit 0; \
3060 r=`${PWD_COMMAND}`; export r; \
3061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3062 $(SET_LIB_PATH) \
3063 $(HOST_EXPORTS) \
3064 for flag in $(EXTRA_HOST_FLAGS) ; do \
3065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3066 done; \
3067 echo "Doing dvi in autoconf" ; \
3068 (cd autoconf && \
3069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3071 "RANLIB=$${RANLIB}" \
3072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3073 dvi) \
3074 || exit 1
3076 @endif autoconf
3078 .PHONY: maybe-html-autoconf html-autoconf
3079 maybe-html-autoconf:
3080 @if autoconf
3081 maybe-html-autoconf: html-autoconf
3083 html-autoconf: \
3084 configure-autoconf
3085 @[ -f ./autoconf/Makefile ] || exit 0; \
3086 r=`${PWD_COMMAND}`; export r; \
3087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3088 $(SET_LIB_PATH) \
3089 $(HOST_EXPORTS) \
3090 for flag in $(EXTRA_HOST_FLAGS) ; do \
3091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3092 done; \
3093 echo "Doing html in autoconf" ; \
3094 (cd autoconf && \
3095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3097 "RANLIB=$${RANLIB}" \
3098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3099 html) \
3100 || exit 1
3102 @endif autoconf
3104 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3105 maybe-TAGS-autoconf:
3106 @if autoconf
3107 maybe-TAGS-autoconf: TAGS-autoconf
3109 TAGS-autoconf: \
3110 configure-autoconf
3111 @[ -f ./autoconf/Makefile ] || exit 0; \
3112 r=`${PWD_COMMAND}`; export r; \
3113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3114 $(SET_LIB_PATH) \
3115 $(HOST_EXPORTS) \
3116 for flag in $(EXTRA_HOST_FLAGS) ; do \
3117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3118 done; \
3119 echo "Doing TAGS in autoconf" ; \
3120 (cd autoconf && \
3121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3123 "RANLIB=$${RANLIB}" \
3124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3125 TAGS) \
3126 || exit 1
3128 @endif autoconf
3130 .PHONY: maybe-install-info-autoconf install-info-autoconf
3131 maybe-install-info-autoconf:
3132 @if autoconf
3133 maybe-install-info-autoconf: install-info-autoconf
3135 install-info-autoconf: \
3136 configure-autoconf \
3137 info-autoconf
3138 @[ -f ./autoconf/Makefile ] || exit 0; \
3139 r=`${PWD_COMMAND}`; export r; \
3140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3141 $(SET_LIB_PATH) \
3142 $(HOST_EXPORTS) \
3143 for flag in $(EXTRA_HOST_FLAGS) ; do \
3144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3145 done; \
3146 echo "Doing install-info in autoconf" ; \
3147 (cd autoconf && \
3148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3150 "RANLIB=$${RANLIB}" \
3151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3152 install-info) \
3153 || exit 1
3155 @endif autoconf
3157 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3158 maybe-installcheck-autoconf:
3159 @if autoconf
3160 maybe-installcheck-autoconf: installcheck-autoconf
3162 installcheck-autoconf: \
3163 configure-autoconf
3164 @[ -f ./autoconf/Makefile ] || exit 0; \
3165 r=`${PWD_COMMAND}`; export r; \
3166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3167 $(SET_LIB_PATH) \
3168 $(HOST_EXPORTS) \
3169 for flag in $(EXTRA_HOST_FLAGS) ; do \
3170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3171 done; \
3172 echo "Doing installcheck in autoconf" ; \
3173 (cd autoconf && \
3174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3176 "RANLIB=$${RANLIB}" \
3177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3178 installcheck) \
3179 || exit 1
3181 @endif autoconf
3183 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3184 maybe-mostlyclean-autoconf:
3185 @if autoconf
3186 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3188 mostlyclean-autoconf:
3189 @[ -f ./autoconf/Makefile ] || exit 0; \
3190 r=`${PWD_COMMAND}`; export r; \
3191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3192 $(SET_LIB_PATH) \
3193 $(HOST_EXPORTS) \
3194 for flag in $(EXTRA_HOST_FLAGS) ; do \
3195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3196 done; \
3197 echo "Doing mostlyclean in autoconf" ; \
3198 (cd autoconf && \
3199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3201 "RANLIB=$${RANLIB}" \
3202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3203 mostlyclean) \
3204 || exit 1
3206 @endif autoconf
3208 .PHONY: maybe-clean-autoconf clean-autoconf
3209 maybe-clean-autoconf:
3210 @if autoconf
3211 maybe-clean-autoconf: clean-autoconf
3213 clean-autoconf:
3214 @[ -f ./autoconf/Makefile ] || exit 0; \
3215 r=`${PWD_COMMAND}`; export r; \
3216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3217 $(SET_LIB_PATH) \
3218 $(HOST_EXPORTS) \
3219 for flag in $(EXTRA_HOST_FLAGS) ; do \
3220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3221 done; \
3222 echo "Doing clean in autoconf" ; \
3223 (cd autoconf && \
3224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3226 "RANLIB=$${RANLIB}" \
3227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3228 clean) \
3229 || exit 1
3231 @endif autoconf
3233 .PHONY: maybe-distclean-autoconf distclean-autoconf
3234 maybe-distclean-autoconf:
3235 @if autoconf
3236 maybe-distclean-autoconf: distclean-autoconf
3238 distclean-autoconf:
3239 @[ -f ./autoconf/Makefile ] || exit 0; \
3240 r=`${PWD_COMMAND}`; export r; \
3241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3242 $(SET_LIB_PATH) \
3243 $(HOST_EXPORTS) \
3244 for flag in $(EXTRA_HOST_FLAGS) ; do \
3245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3246 done; \
3247 echo "Doing distclean in autoconf" ; \
3248 (cd autoconf && \
3249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3251 "RANLIB=$${RANLIB}" \
3252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3253 distclean) \
3254 || exit 1
3256 @endif autoconf
3258 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3259 maybe-maintainer-clean-autoconf:
3260 @if autoconf
3261 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3263 maintainer-clean-autoconf:
3264 @[ -f ./autoconf/Makefile ] || exit 0; \
3265 r=`${PWD_COMMAND}`; export r; \
3266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3267 $(SET_LIB_PATH) \
3268 $(HOST_EXPORTS) \
3269 for flag in $(EXTRA_HOST_FLAGS) ; do \
3270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3271 done; \
3272 echo "Doing maintainer-clean in autoconf" ; \
3273 (cd autoconf && \
3274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3276 "RANLIB=$${RANLIB}" \
3277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3278 maintainer-clean) \
3279 || exit 1
3281 @endif autoconf
3284 .PHONY: configure-automake maybe-configure-automake
3285 maybe-configure-automake:
3286 @if automake
3287 maybe-configure-automake: configure-automake
3288 configure-automake:
3289 @test ! -f automake/Makefile || exit 0; \
3290 [ -d automake ] || mkdir automake; \
3291 r=`${PWD_COMMAND}`; export r; \
3292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3293 $(HOST_EXPORTS) \
3294 echo Configuring in automake; \
3295 cd automake || exit 1; \
3296 case $(srcdir) in \
3297 \.) \
3298 srcdiroption="--srcdir=."; \
3299 libsrcdir=".";; \
3300 /* | [A-Za-z]:[\\/]*) \
3301 srcdiroption="--srcdir=$(srcdir)/automake"; \
3302 libsrcdir="$$s/automake";; \
3303 *) \
3304 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3305 libsrcdir="$$s/automake";; \
3306 esac; \
3307 $(SHELL) $${libsrcdir}/configure \
3308 $(HOST_CONFIGARGS) $${srcdiroption} \
3309 || exit 1
3310 @endif automake
3312 .PHONY: all-automake maybe-all-automake
3313 maybe-all-automake:
3314 @if automake
3315 TARGET-automake=all
3316 maybe-all-automake: all-automake
3317 all-automake: configure-automake
3318 @r=`${PWD_COMMAND}`; export r; \
3319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3320 $(SET_LIB_PATH) \
3321 $(HOST_EXPORTS) \
3322 (cd automake && $(MAKE) $(FLAGS_TO_PASS) \
3323 $(TARGET-automake))
3324 @endif automake
3326 .PHONY: check-automake maybe-check-automake
3327 maybe-check-automake:
3328 @if automake
3329 maybe-check-automake: check-automake
3331 check-automake:
3332 @r=`${PWD_COMMAND}`; export r; \
3333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3334 $(SET_LIB_PATH) \
3335 $(HOST_EXPORTS) \
3336 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3338 @endif automake
3340 .PHONY: install-automake maybe-install-automake
3341 maybe-install-automake:
3342 @if automake
3343 maybe-install-automake: install-automake
3345 install-automake: installdirs
3346 @r=`${PWD_COMMAND}`; export r; \
3347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3348 $(SET_LIB_PATH) \
3349 $(HOST_EXPORTS) \
3350 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3352 @endif automake
3354 # Other targets (info, dvi, etc.)
3356 .PHONY: maybe-info-automake info-automake
3357 maybe-info-automake:
3358 @if automake
3359 maybe-info-automake: info-automake
3361 info-automake: \
3362 configure-automake
3363 @[ -f ./automake/Makefile ] || exit 0; \
3364 r=`${PWD_COMMAND}`; export r; \
3365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3366 $(SET_LIB_PATH) \
3367 $(HOST_EXPORTS) \
3368 for flag in $(EXTRA_HOST_FLAGS) ; do \
3369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3370 done; \
3371 echo "Doing info in automake" ; \
3372 (cd automake && \
3373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3375 "RANLIB=$${RANLIB}" \
3376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3377 info) \
3378 || exit 1
3380 @endif automake
3382 .PHONY: maybe-dvi-automake dvi-automake
3383 maybe-dvi-automake:
3384 @if automake
3385 maybe-dvi-automake: dvi-automake
3387 dvi-automake: \
3388 configure-automake
3389 @[ -f ./automake/Makefile ] || exit 0; \
3390 r=`${PWD_COMMAND}`; export r; \
3391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3392 $(SET_LIB_PATH) \
3393 $(HOST_EXPORTS) \
3394 for flag in $(EXTRA_HOST_FLAGS) ; do \
3395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3396 done; \
3397 echo "Doing dvi in automake" ; \
3398 (cd automake && \
3399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3401 "RANLIB=$${RANLIB}" \
3402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3403 dvi) \
3404 || exit 1
3406 @endif automake
3408 .PHONY: maybe-html-automake html-automake
3409 maybe-html-automake:
3410 @if automake
3411 maybe-html-automake: html-automake
3413 html-automake: \
3414 configure-automake
3415 @[ -f ./automake/Makefile ] || exit 0; \
3416 r=`${PWD_COMMAND}`; export r; \
3417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3418 $(SET_LIB_PATH) \
3419 $(HOST_EXPORTS) \
3420 for flag in $(EXTRA_HOST_FLAGS) ; do \
3421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3422 done; \
3423 echo "Doing html in automake" ; \
3424 (cd automake && \
3425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3427 "RANLIB=$${RANLIB}" \
3428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3429 html) \
3430 || exit 1
3432 @endif automake
3434 .PHONY: maybe-TAGS-automake TAGS-automake
3435 maybe-TAGS-automake:
3436 @if automake
3437 maybe-TAGS-automake: TAGS-automake
3439 TAGS-automake: \
3440 configure-automake
3441 @[ -f ./automake/Makefile ] || exit 0; \
3442 r=`${PWD_COMMAND}`; export r; \
3443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3444 $(SET_LIB_PATH) \
3445 $(HOST_EXPORTS) \
3446 for flag in $(EXTRA_HOST_FLAGS) ; do \
3447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3448 done; \
3449 echo "Doing TAGS in automake" ; \
3450 (cd automake && \
3451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3453 "RANLIB=$${RANLIB}" \
3454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3455 TAGS) \
3456 || exit 1
3458 @endif automake
3460 .PHONY: maybe-install-info-automake install-info-automake
3461 maybe-install-info-automake:
3462 @if automake
3463 maybe-install-info-automake: install-info-automake
3465 install-info-automake: \
3466 configure-automake \
3467 info-automake
3468 @[ -f ./automake/Makefile ] || exit 0; \
3469 r=`${PWD_COMMAND}`; export r; \
3470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3471 $(SET_LIB_PATH) \
3472 $(HOST_EXPORTS) \
3473 for flag in $(EXTRA_HOST_FLAGS) ; do \
3474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3475 done; \
3476 echo "Doing install-info in automake" ; \
3477 (cd automake && \
3478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3480 "RANLIB=$${RANLIB}" \
3481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3482 install-info) \
3483 || exit 1
3485 @endif automake
3487 .PHONY: maybe-installcheck-automake installcheck-automake
3488 maybe-installcheck-automake:
3489 @if automake
3490 maybe-installcheck-automake: installcheck-automake
3492 installcheck-automake: \
3493 configure-automake
3494 @[ -f ./automake/Makefile ] || exit 0; \
3495 r=`${PWD_COMMAND}`; export r; \
3496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3497 $(SET_LIB_PATH) \
3498 $(HOST_EXPORTS) \
3499 for flag in $(EXTRA_HOST_FLAGS) ; do \
3500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3501 done; \
3502 echo "Doing installcheck in automake" ; \
3503 (cd automake && \
3504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3506 "RANLIB=$${RANLIB}" \
3507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3508 installcheck) \
3509 || exit 1
3511 @endif automake
3513 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3514 maybe-mostlyclean-automake:
3515 @if automake
3516 maybe-mostlyclean-automake: mostlyclean-automake
3518 mostlyclean-automake:
3519 @[ -f ./automake/Makefile ] || exit 0; \
3520 r=`${PWD_COMMAND}`; export r; \
3521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3522 $(SET_LIB_PATH) \
3523 $(HOST_EXPORTS) \
3524 for flag in $(EXTRA_HOST_FLAGS) ; do \
3525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3526 done; \
3527 echo "Doing mostlyclean in automake" ; \
3528 (cd automake && \
3529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3531 "RANLIB=$${RANLIB}" \
3532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3533 mostlyclean) \
3534 || exit 1
3536 @endif automake
3538 .PHONY: maybe-clean-automake clean-automake
3539 maybe-clean-automake:
3540 @if automake
3541 maybe-clean-automake: clean-automake
3543 clean-automake:
3544 @[ -f ./automake/Makefile ] || exit 0; \
3545 r=`${PWD_COMMAND}`; export r; \
3546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3547 $(SET_LIB_PATH) \
3548 $(HOST_EXPORTS) \
3549 for flag in $(EXTRA_HOST_FLAGS) ; do \
3550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3551 done; \
3552 echo "Doing clean in automake" ; \
3553 (cd automake && \
3554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3556 "RANLIB=$${RANLIB}" \
3557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3558 clean) \
3559 || exit 1
3561 @endif automake
3563 .PHONY: maybe-distclean-automake distclean-automake
3564 maybe-distclean-automake:
3565 @if automake
3566 maybe-distclean-automake: distclean-automake
3568 distclean-automake:
3569 @[ -f ./automake/Makefile ] || exit 0; \
3570 r=`${PWD_COMMAND}`; export r; \
3571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3572 $(SET_LIB_PATH) \
3573 $(HOST_EXPORTS) \
3574 for flag in $(EXTRA_HOST_FLAGS) ; do \
3575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3576 done; \
3577 echo "Doing distclean in automake" ; \
3578 (cd automake && \
3579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3581 "RANLIB=$${RANLIB}" \
3582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3583 distclean) \
3584 || exit 1
3586 @endif automake
3588 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3589 maybe-maintainer-clean-automake:
3590 @if automake
3591 maybe-maintainer-clean-automake: maintainer-clean-automake
3593 maintainer-clean-automake:
3594 @[ -f ./automake/Makefile ] || exit 0; \
3595 r=`${PWD_COMMAND}`; export r; \
3596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3597 $(SET_LIB_PATH) \
3598 $(HOST_EXPORTS) \
3599 for flag in $(EXTRA_HOST_FLAGS) ; do \
3600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3601 done; \
3602 echo "Doing maintainer-clean in automake" ; \
3603 (cd automake && \
3604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3606 "RANLIB=$${RANLIB}" \
3607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3608 maintainer-clean) \
3609 || exit 1
3611 @endif automake
3614 .PHONY: configure-bash maybe-configure-bash
3615 maybe-configure-bash:
3616 @if bash
3617 maybe-configure-bash: configure-bash
3618 configure-bash:
3619 @test ! -f bash/Makefile || exit 0; \
3620 [ -d bash ] || mkdir bash; \
3621 r=`${PWD_COMMAND}`; export r; \
3622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3623 $(HOST_EXPORTS) \
3624 echo Configuring in bash; \
3625 cd bash || exit 1; \
3626 case $(srcdir) in \
3627 \.) \
3628 srcdiroption="--srcdir=."; \
3629 libsrcdir=".";; \
3630 /* | [A-Za-z]:[\\/]*) \
3631 srcdiroption="--srcdir=$(srcdir)/bash"; \
3632 libsrcdir="$$s/bash";; \
3633 *) \
3634 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3635 libsrcdir="$$s/bash";; \
3636 esac; \
3637 $(SHELL) $${libsrcdir}/configure \
3638 $(HOST_CONFIGARGS) $${srcdiroption} \
3639 || exit 1
3640 @endif bash
3642 .PHONY: all-bash maybe-all-bash
3643 maybe-all-bash:
3644 @if bash
3645 TARGET-bash=all
3646 maybe-all-bash: all-bash
3647 all-bash: configure-bash
3648 @r=`${PWD_COMMAND}`; export r; \
3649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3650 $(SET_LIB_PATH) \
3651 $(HOST_EXPORTS) \
3652 (cd bash && $(MAKE) $(FLAGS_TO_PASS) \
3653 $(TARGET-bash))
3654 @endif bash
3656 .PHONY: check-bash maybe-check-bash
3657 maybe-check-bash:
3658 @if bash
3659 maybe-check-bash: check-bash
3661 check-bash:
3662 @r=`${PWD_COMMAND}`; export r; \
3663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3664 $(SET_LIB_PATH) \
3665 $(HOST_EXPORTS) \
3666 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3668 @endif bash
3670 .PHONY: install-bash maybe-install-bash
3671 maybe-install-bash:
3672 @if bash
3673 maybe-install-bash: install-bash
3675 install-bash: installdirs
3676 @r=`${PWD_COMMAND}`; export r; \
3677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3678 $(SET_LIB_PATH) \
3679 $(HOST_EXPORTS) \
3680 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3682 @endif bash
3684 # Other targets (info, dvi, etc.)
3686 .PHONY: maybe-info-bash info-bash
3687 maybe-info-bash:
3688 @if bash
3689 maybe-info-bash: info-bash
3691 info-bash: \
3692 configure-bash
3693 @[ -f ./bash/Makefile ] || exit 0; \
3694 r=`${PWD_COMMAND}`; export r; \
3695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3696 $(SET_LIB_PATH) \
3697 $(HOST_EXPORTS) \
3698 for flag in $(EXTRA_HOST_FLAGS) ; do \
3699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3700 done; \
3701 echo "Doing info in bash" ; \
3702 (cd bash && \
3703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3705 "RANLIB=$${RANLIB}" \
3706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3707 info) \
3708 || exit 1
3710 @endif bash
3712 .PHONY: maybe-dvi-bash dvi-bash
3713 maybe-dvi-bash:
3714 @if bash
3715 maybe-dvi-bash: dvi-bash
3717 dvi-bash: \
3718 configure-bash
3719 @[ -f ./bash/Makefile ] || exit 0; \
3720 r=`${PWD_COMMAND}`; export r; \
3721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3722 $(SET_LIB_PATH) \
3723 $(HOST_EXPORTS) \
3724 for flag in $(EXTRA_HOST_FLAGS) ; do \
3725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3726 done; \
3727 echo "Doing dvi in bash" ; \
3728 (cd bash && \
3729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3731 "RANLIB=$${RANLIB}" \
3732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3733 dvi) \
3734 || exit 1
3736 @endif bash
3738 .PHONY: maybe-html-bash html-bash
3739 maybe-html-bash:
3740 @if bash
3741 maybe-html-bash: html-bash
3743 html-bash: \
3744 configure-bash
3745 @[ -f ./bash/Makefile ] || exit 0; \
3746 r=`${PWD_COMMAND}`; export r; \
3747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3748 $(SET_LIB_PATH) \
3749 $(HOST_EXPORTS) \
3750 for flag in $(EXTRA_HOST_FLAGS) ; do \
3751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3752 done; \
3753 echo "Doing html in bash" ; \
3754 (cd bash && \
3755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3757 "RANLIB=$${RANLIB}" \
3758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3759 html) \
3760 || exit 1
3762 @endif bash
3764 .PHONY: maybe-TAGS-bash TAGS-bash
3765 maybe-TAGS-bash:
3766 @if bash
3767 maybe-TAGS-bash: TAGS-bash
3769 TAGS-bash: \
3770 configure-bash
3771 @[ -f ./bash/Makefile ] || exit 0; \
3772 r=`${PWD_COMMAND}`; export r; \
3773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3774 $(SET_LIB_PATH) \
3775 $(HOST_EXPORTS) \
3776 for flag in $(EXTRA_HOST_FLAGS) ; do \
3777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3778 done; \
3779 echo "Doing TAGS in bash" ; \
3780 (cd bash && \
3781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3783 "RANLIB=$${RANLIB}" \
3784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3785 TAGS) \
3786 || exit 1
3788 @endif bash
3790 .PHONY: maybe-install-info-bash install-info-bash
3791 maybe-install-info-bash:
3792 @if bash
3793 maybe-install-info-bash: install-info-bash
3795 install-info-bash: \
3796 configure-bash \
3797 info-bash
3798 @[ -f ./bash/Makefile ] || exit 0; \
3799 r=`${PWD_COMMAND}`; export r; \
3800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3801 $(SET_LIB_PATH) \
3802 $(HOST_EXPORTS) \
3803 for flag in $(EXTRA_HOST_FLAGS) ; do \
3804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3805 done; \
3806 echo "Doing install-info in bash" ; \
3807 (cd bash && \
3808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3810 "RANLIB=$${RANLIB}" \
3811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3812 install-info) \
3813 || exit 1
3815 @endif bash
3817 .PHONY: maybe-installcheck-bash installcheck-bash
3818 maybe-installcheck-bash:
3819 @if bash
3820 maybe-installcheck-bash: installcheck-bash
3822 installcheck-bash: \
3823 configure-bash
3824 @[ -f ./bash/Makefile ] || exit 0; \
3825 r=`${PWD_COMMAND}`; export r; \
3826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3827 $(SET_LIB_PATH) \
3828 $(HOST_EXPORTS) \
3829 for flag in $(EXTRA_HOST_FLAGS) ; do \
3830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3831 done; \
3832 echo "Doing installcheck in bash" ; \
3833 (cd bash && \
3834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3836 "RANLIB=$${RANLIB}" \
3837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3838 installcheck) \
3839 || exit 1
3841 @endif bash
3843 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3844 maybe-mostlyclean-bash:
3845 @if bash
3846 maybe-mostlyclean-bash: mostlyclean-bash
3848 mostlyclean-bash:
3849 @[ -f ./bash/Makefile ] || exit 0; \
3850 r=`${PWD_COMMAND}`; export r; \
3851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3852 $(SET_LIB_PATH) \
3853 $(HOST_EXPORTS) \
3854 for flag in $(EXTRA_HOST_FLAGS) ; do \
3855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3856 done; \
3857 echo "Doing mostlyclean in bash" ; \
3858 (cd bash && \
3859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3861 "RANLIB=$${RANLIB}" \
3862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3863 mostlyclean) \
3864 || exit 1
3866 @endif bash
3868 .PHONY: maybe-clean-bash clean-bash
3869 maybe-clean-bash:
3870 @if bash
3871 maybe-clean-bash: clean-bash
3873 clean-bash:
3874 @[ -f ./bash/Makefile ] || exit 0; \
3875 r=`${PWD_COMMAND}`; export r; \
3876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3877 $(SET_LIB_PATH) \
3878 $(HOST_EXPORTS) \
3879 for flag in $(EXTRA_HOST_FLAGS) ; do \
3880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3881 done; \
3882 echo "Doing clean in bash" ; \
3883 (cd bash && \
3884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3886 "RANLIB=$${RANLIB}" \
3887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3888 clean) \
3889 || exit 1
3891 @endif bash
3893 .PHONY: maybe-distclean-bash distclean-bash
3894 maybe-distclean-bash:
3895 @if bash
3896 maybe-distclean-bash: distclean-bash
3898 distclean-bash:
3899 @[ -f ./bash/Makefile ] || exit 0; \
3900 r=`${PWD_COMMAND}`; export r; \
3901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3902 $(SET_LIB_PATH) \
3903 $(HOST_EXPORTS) \
3904 for flag in $(EXTRA_HOST_FLAGS) ; do \
3905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3906 done; \
3907 echo "Doing distclean in bash" ; \
3908 (cd bash && \
3909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3911 "RANLIB=$${RANLIB}" \
3912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3913 distclean) \
3914 || exit 1
3916 @endif bash
3918 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3919 maybe-maintainer-clean-bash:
3920 @if bash
3921 maybe-maintainer-clean-bash: maintainer-clean-bash
3923 maintainer-clean-bash:
3924 @[ -f ./bash/Makefile ] || exit 0; \
3925 r=`${PWD_COMMAND}`; export r; \
3926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3927 $(SET_LIB_PATH) \
3928 $(HOST_EXPORTS) \
3929 for flag in $(EXTRA_HOST_FLAGS) ; do \
3930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3931 done; \
3932 echo "Doing maintainer-clean in bash" ; \
3933 (cd bash && \
3934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3936 "RANLIB=$${RANLIB}" \
3937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3938 maintainer-clean) \
3939 || exit 1
3941 @endif bash
3944 .PHONY: configure-bfd maybe-configure-bfd
3945 maybe-configure-bfd:
3946 @if bfd
3947 maybe-configure-bfd: configure-bfd
3948 configure-bfd:
3949 @test -f stage_last && exit 0; \
3950 test ! -f bfd/Makefile || exit 0; \
3951 [ -d bfd ] || mkdir bfd; \
3952 r=`${PWD_COMMAND}`; export r; \
3953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3954 $(HOST_EXPORTS) \
3955 echo Configuring in bfd; \
3956 cd bfd || exit 1; \
3957 case $(srcdir) in \
3958 \.) \
3959 srcdiroption="--srcdir=."; \
3960 libsrcdir=".";; \
3961 /* | [A-Za-z]:[\\/]*) \
3962 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3963 libsrcdir="$$s/bfd";; \
3964 *) \
3965 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3966 libsrcdir="$$s/bfd";; \
3967 esac; \
3968 $(SHELL) $${libsrcdir}/configure \
3969 $(HOST_CONFIGARGS) $${srcdiroption} \
3970 || exit 1
3971 @endif bfd
3973 .PHONY: all-bfd maybe-all-bfd
3974 maybe-all-bfd:
3975 @if bfd
3976 TARGET-bfd=all
3977 maybe-all-bfd: all-bfd
3978 all-bfd: configure-bfd
3979 @test -f stage_last && exit 0; \
3980 r=`${PWD_COMMAND}`; export r; \
3981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3982 $(SET_LIB_PATH) \
3983 $(HOST_EXPORTS) \
3984 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) \
3985 $(TARGET-bfd))
3986 @endif bfd
3988 .PHONY: check-bfd maybe-check-bfd
3989 maybe-check-bfd:
3990 @if bfd
3991 maybe-check-bfd: check-bfd
3993 check-bfd:
3994 @r=`${PWD_COMMAND}`; export r; \
3995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3996 $(SET_LIB_PATH) \
3997 $(HOST_EXPORTS) \
3998 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
4000 @endif bfd
4002 .PHONY: install-bfd maybe-install-bfd
4003 maybe-install-bfd:
4004 @if bfd
4005 maybe-install-bfd: install-bfd
4007 install-bfd: installdirs
4008 @r=`${PWD_COMMAND}`; export r; \
4009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4010 $(SET_LIB_PATH) \
4011 $(HOST_EXPORTS) \
4012 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
4014 @endif bfd
4016 # Other targets (info, dvi, etc.)
4018 .PHONY: maybe-info-bfd info-bfd
4019 maybe-info-bfd:
4020 @if bfd
4021 maybe-info-bfd: info-bfd
4023 info-bfd: \
4024 configure-bfd
4025 @[ -f ./bfd/Makefile ] || exit 0; \
4026 r=`${PWD_COMMAND}`; export r; \
4027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4028 $(SET_LIB_PATH) \
4029 $(HOST_EXPORTS) \
4030 for flag in $(EXTRA_HOST_FLAGS) ; do \
4031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4032 done; \
4033 echo "Doing info in bfd" ; \
4034 (cd bfd && \
4035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4037 "RANLIB=$${RANLIB}" \
4038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4039 info) \
4040 || exit 1
4042 @endif bfd
4044 .PHONY: maybe-dvi-bfd dvi-bfd
4045 maybe-dvi-bfd:
4046 @if bfd
4047 maybe-dvi-bfd: dvi-bfd
4049 dvi-bfd: \
4050 configure-bfd
4051 @[ -f ./bfd/Makefile ] || exit 0; \
4052 r=`${PWD_COMMAND}`; export r; \
4053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4054 $(SET_LIB_PATH) \
4055 $(HOST_EXPORTS) \
4056 for flag in $(EXTRA_HOST_FLAGS) ; do \
4057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4058 done; \
4059 echo "Doing dvi in bfd" ; \
4060 (cd bfd && \
4061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4063 "RANLIB=$${RANLIB}" \
4064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4065 dvi) \
4066 || exit 1
4068 @endif bfd
4070 .PHONY: maybe-html-bfd html-bfd
4071 maybe-html-bfd:
4072 @if bfd
4073 maybe-html-bfd: html-bfd
4075 html-bfd: \
4076 configure-bfd
4077 @[ -f ./bfd/Makefile ] || exit 0; \
4078 r=`${PWD_COMMAND}`; export r; \
4079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4080 $(SET_LIB_PATH) \
4081 $(HOST_EXPORTS) \
4082 for flag in $(EXTRA_HOST_FLAGS) ; do \
4083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4084 done; \
4085 echo "Doing html in bfd" ; \
4086 (cd bfd && \
4087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4089 "RANLIB=$${RANLIB}" \
4090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4091 html) \
4092 || exit 1
4094 @endif bfd
4096 .PHONY: maybe-TAGS-bfd TAGS-bfd
4097 maybe-TAGS-bfd:
4098 @if bfd
4099 maybe-TAGS-bfd: TAGS-bfd
4101 TAGS-bfd: \
4102 configure-bfd
4103 @[ -f ./bfd/Makefile ] || exit 0; \
4104 r=`${PWD_COMMAND}`; export r; \
4105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4106 $(SET_LIB_PATH) \
4107 $(HOST_EXPORTS) \
4108 for flag in $(EXTRA_HOST_FLAGS) ; do \
4109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4110 done; \
4111 echo "Doing TAGS in bfd" ; \
4112 (cd bfd && \
4113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4115 "RANLIB=$${RANLIB}" \
4116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4117 TAGS) \
4118 || exit 1
4120 @endif bfd
4122 .PHONY: maybe-install-info-bfd install-info-bfd
4123 maybe-install-info-bfd:
4124 @if bfd
4125 maybe-install-info-bfd: install-info-bfd
4127 install-info-bfd: \
4128 configure-bfd \
4129 info-bfd
4130 @[ -f ./bfd/Makefile ] || exit 0; \
4131 r=`${PWD_COMMAND}`; export r; \
4132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4133 $(SET_LIB_PATH) \
4134 $(HOST_EXPORTS) \
4135 for flag in $(EXTRA_HOST_FLAGS) ; do \
4136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4137 done; \
4138 echo "Doing install-info in bfd" ; \
4139 (cd bfd && \
4140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4142 "RANLIB=$${RANLIB}" \
4143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4144 install-info) \
4145 || exit 1
4147 @endif bfd
4149 .PHONY: maybe-installcheck-bfd installcheck-bfd
4150 maybe-installcheck-bfd:
4151 @if bfd
4152 maybe-installcheck-bfd: installcheck-bfd
4154 installcheck-bfd: \
4155 configure-bfd
4156 @[ -f ./bfd/Makefile ] || exit 0; \
4157 r=`${PWD_COMMAND}`; export r; \
4158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4159 $(SET_LIB_PATH) \
4160 $(HOST_EXPORTS) \
4161 for flag in $(EXTRA_HOST_FLAGS) ; do \
4162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4163 done; \
4164 echo "Doing installcheck in bfd" ; \
4165 (cd bfd && \
4166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4168 "RANLIB=$${RANLIB}" \
4169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4170 installcheck) \
4171 || exit 1
4173 @endif bfd
4175 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4176 maybe-mostlyclean-bfd:
4177 @if bfd
4178 maybe-mostlyclean-bfd: mostlyclean-bfd
4180 mostlyclean-bfd:
4181 @[ -f ./bfd/Makefile ] || exit 0; \
4182 r=`${PWD_COMMAND}`; export r; \
4183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4184 $(SET_LIB_PATH) \
4185 $(HOST_EXPORTS) \
4186 for flag in $(EXTRA_HOST_FLAGS) ; do \
4187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4188 done; \
4189 echo "Doing mostlyclean in bfd" ; \
4190 (cd bfd && \
4191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4193 "RANLIB=$${RANLIB}" \
4194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4195 mostlyclean) \
4196 || exit 1
4198 @endif bfd
4200 .PHONY: maybe-clean-bfd clean-bfd
4201 maybe-clean-bfd:
4202 @if bfd
4203 maybe-clean-bfd: clean-bfd
4205 clean-bfd:
4206 @[ -f ./bfd/Makefile ] || exit 0; \
4207 r=`${PWD_COMMAND}`; export r; \
4208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4209 $(SET_LIB_PATH) \
4210 $(HOST_EXPORTS) \
4211 for flag in $(EXTRA_HOST_FLAGS) ; do \
4212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4213 done; \
4214 echo "Doing clean in bfd" ; \
4215 (cd bfd && \
4216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4218 "RANLIB=$${RANLIB}" \
4219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4220 clean) \
4221 || exit 1
4223 @endif bfd
4225 .PHONY: maybe-distclean-bfd distclean-bfd
4226 maybe-distclean-bfd:
4227 @if bfd
4228 maybe-distclean-bfd: distclean-bfd
4230 distclean-bfd:
4231 @[ -f ./bfd/Makefile ] || exit 0; \
4232 r=`${PWD_COMMAND}`; export r; \
4233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4234 $(SET_LIB_PATH) \
4235 $(HOST_EXPORTS) \
4236 for flag in $(EXTRA_HOST_FLAGS) ; do \
4237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4238 done; \
4239 echo "Doing distclean in bfd" ; \
4240 (cd bfd && \
4241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4243 "RANLIB=$${RANLIB}" \
4244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4245 distclean) \
4246 || exit 1
4248 @endif bfd
4250 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4251 maybe-maintainer-clean-bfd:
4252 @if bfd
4253 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4255 maintainer-clean-bfd:
4256 @[ -f ./bfd/Makefile ] || exit 0; \
4257 r=`${PWD_COMMAND}`; export r; \
4258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4259 $(SET_LIB_PATH) \
4260 $(HOST_EXPORTS) \
4261 for flag in $(EXTRA_HOST_FLAGS) ; do \
4262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4263 done; \
4264 echo "Doing maintainer-clean in bfd" ; \
4265 (cd bfd && \
4266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4268 "RANLIB=$${RANLIB}" \
4269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4270 maintainer-clean) \
4271 || exit 1
4273 @endif bfd
4276 .PHONY: configure-opcodes maybe-configure-opcodes
4277 maybe-configure-opcodes:
4278 @if opcodes
4279 maybe-configure-opcodes: configure-opcodes
4280 configure-opcodes:
4281 @test -f stage_last && exit 0; \
4282 test ! -f opcodes/Makefile || exit 0; \
4283 [ -d opcodes ] || mkdir opcodes; \
4284 r=`${PWD_COMMAND}`; export r; \
4285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4286 $(HOST_EXPORTS) \
4287 echo Configuring in opcodes; \
4288 cd opcodes || exit 1; \
4289 case $(srcdir) in \
4290 \.) \
4291 srcdiroption="--srcdir=."; \
4292 libsrcdir=".";; \
4293 /* | [A-Za-z]:[\\/]*) \
4294 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4295 libsrcdir="$$s/opcodes";; \
4296 *) \
4297 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4298 libsrcdir="$$s/opcodes";; \
4299 esac; \
4300 $(SHELL) $${libsrcdir}/configure \
4301 $(HOST_CONFIGARGS) $${srcdiroption} \
4302 || exit 1
4303 @endif opcodes
4305 .PHONY: all-opcodes maybe-all-opcodes
4306 maybe-all-opcodes:
4307 @if opcodes
4308 TARGET-opcodes=all
4309 maybe-all-opcodes: all-opcodes
4310 all-opcodes: configure-opcodes
4311 @test -f stage_last && exit 0; \
4312 r=`${PWD_COMMAND}`; export r; \
4313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4314 $(SET_LIB_PATH) \
4315 $(HOST_EXPORTS) \
4316 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) \
4317 $(TARGET-opcodes))
4318 @endif opcodes
4320 .PHONY: check-opcodes maybe-check-opcodes
4321 maybe-check-opcodes:
4322 @if opcodes
4323 maybe-check-opcodes: check-opcodes
4325 check-opcodes:
4326 @r=`${PWD_COMMAND}`; export r; \
4327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4328 $(SET_LIB_PATH) \
4329 $(HOST_EXPORTS) \
4330 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4332 @endif opcodes
4334 .PHONY: install-opcodes maybe-install-opcodes
4335 maybe-install-opcodes:
4336 @if opcodes
4337 maybe-install-opcodes: install-opcodes
4339 install-opcodes: installdirs
4340 @r=`${PWD_COMMAND}`; export r; \
4341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4342 $(SET_LIB_PATH) \
4343 $(HOST_EXPORTS) \
4344 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4346 @endif opcodes
4348 # Other targets (info, dvi, etc.)
4350 .PHONY: maybe-info-opcodes info-opcodes
4351 maybe-info-opcodes:
4352 @if opcodes
4353 maybe-info-opcodes: info-opcodes
4355 info-opcodes: \
4356 configure-opcodes
4357 @[ -f ./opcodes/Makefile ] || exit 0; \
4358 r=`${PWD_COMMAND}`; export r; \
4359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4360 $(SET_LIB_PATH) \
4361 $(HOST_EXPORTS) \
4362 for flag in $(EXTRA_HOST_FLAGS) ; do \
4363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4364 done; \
4365 echo "Doing info in opcodes" ; \
4366 (cd opcodes && \
4367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4369 "RANLIB=$${RANLIB}" \
4370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4371 info) \
4372 || exit 1
4374 @endif opcodes
4376 .PHONY: maybe-dvi-opcodes dvi-opcodes
4377 maybe-dvi-opcodes:
4378 @if opcodes
4379 maybe-dvi-opcodes: dvi-opcodes
4381 dvi-opcodes: \
4382 configure-opcodes
4383 @[ -f ./opcodes/Makefile ] || exit 0; \
4384 r=`${PWD_COMMAND}`; export r; \
4385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4386 $(SET_LIB_PATH) \
4387 $(HOST_EXPORTS) \
4388 for flag in $(EXTRA_HOST_FLAGS) ; do \
4389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4390 done; \
4391 echo "Doing dvi in opcodes" ; \
4392 (cd opcodes && \
4393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4395 "RANLIB=$${RANLIB}" \
4396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4397 dvi) \
4398 || exit 1
4400 @endif opcodes
4402 .PHONY: maybe-html-opcodes html-opcodes
4403 maybe-html-opcodes:
4404 @if opcodes
4405 maybe-html-opcodes: html-opcodes
4407 html-opcodes: \
4408 configure-opcodes
4409 @[ -f ./opcodes/Makefile ] || exit 0; \
4410 r=`${PWD_COMMAND}`; export r; \
4411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4412 $(SET_LIB_PATH) \
4413 $(HOST_EXPORTS) \
4414 for flag in $(EXTRA_HOST_FLAGS) ; do \
4415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4416 done; \
4417 echo "Doing html in opcodes" ; \
4418 (cd opcodes && \
4419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4421 "RANLIB=$${RANLIB}" \
4422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4423 html) \
4424 || exit 1
4426 @endif opcodes
4428 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4429 maybe-TAGS-opcodes:
4430 @if opcodes
4431 maybe-TAGS-opcodes: TAGS-opcodes
4433 TAGS-opcodes: \
4434 configure-opcodes
4435 @[ -f ./opcodes/Makefile ] || exit 0; \
4436 r=`${PWD_COMMAND}`; export r; \
4437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4438 $(SET_LIB_PATH) \
4439 $(HOST_EXPORTS) \
4440 for flag in $(EXTRA_HOST_FLAGS) ; do \
4441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4442 done; \
4443 echo "Doing TAGS in opcodes" ; \
4444 (cd opcodes && \
4445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4447 "RANLIB=$${RANLIB}" \
4448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4449 TAGS) \
4450 || exit 1
4452 @endif opcodes
4454 .PHONY: maybe-install-info-opcodes install-info-opcodes
4455 maybe-install-info-opcodes:
4456 @if opcodes
4457 maybe-install-info-opcodes: install-info-opcodes
4459 install-info-opcodes: \
4460 configure-opcodes \
4461 info-opcodes
4462 @[ -f ./opcodes/Makefile ] || exit 0; \
4463 r=`${PWD_COMMAND}`; export r; \
4464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4465 $(SET_LIB_PATH) \
4466 $(HOST_EXPORTS) \
4467 for flag in $(EXTRA_HOST_FLAGS) ; do \
4468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4469 done; \
4470 echo "Doing install-info in opcodes" ; \
4471 (cd opcodes && \
4472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4474 "RANLIB=$${RANLIB}" \
4475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4476 install-info) \
4477 || exit 1
4479 @endif opcodes
4481 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4482 maybe-installcheck-opcodes:
4483 @if opcodes
4484 maybe-installcheck-opcodes: installcheck-opcodes
4486 installcheck-opcodes: \
4487 configure-opcodes
4488 @[ -f ./opcodes/Makefile ] || exit 0; \
4489 r=`${PWD_COMMAND}`; export r; \
4490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4491 $(SET_LIB_PATH) \
4492 $(HOST_EXPORTS) \
4493 for flag in $(EXTRA_HOST_FLAGS) ; do \
4494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4495 done; \
4496 echo "Doing installcheck in opcodes" ; \
4497 (cd opcodes && \
4498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4500 "RANLIB=$${RANLIB}" \
4501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4502 installcheck) \
4503 || exit 1
4505 @endif opcodes
4507 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4508 maybe-mostlyclean-opcodes:
4509 @if opcodes
4510 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4512 mostlyclean-opcodes:
4513 @[ -f ./opcodes/Makefile ] || exit 0; \
4514 r=`${PWD_COMMAND}`; export r; \
4515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4516 $(SET_LIB_PATH) \
4517 $(HOST_EXPORTS) \
4518 for flag in $(EXTRA_HOST_FLAGS) ; do \
4519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4520 done; \
4521 echo "Doing mostlyclean in opcodes" ; \
4522 (cd opcodes && \
4523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4525 "RANLIB=$${RANLIB}" \
4526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4527 mostlyclean) \
4528 || exit 1
4530 @endif opcodes
4532 .PHONY: maybe-clean-opcodes clean-opcodes
4533 maybe-clean-opcodes:
4534 @if opcodes
4535 maybe-clean-opcodes: clean-opcodes
4537 clean-opcodes:
4538 @[ -f ./opcodes/Makefile ] || exit 0; \
4539 r=`${PWD_COMMAND}`; export r; \
4540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4541 $(SET_LIB_PATH) \
4542 $(HOST_EXPORTS) \
4543 for flag in $(EXTRA_HOST_FLAGS) ; do \
4544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4545 done; \
4546 echo "Doing clean in opcodes" ; \
4547 (cd opcodes && \
4548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4550 "RANLIB=$${RANLIB}" \
4551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4552 clean) \
4553 || exit 1
4555 @endif opcodes
4557 .PHONY: maybe-distclean-opcodes distclean-opcodes
4558 maybe-distclean-opcodes:
4559 @if opcodes
4560 maybe-distclean-opcodes: distclean-opcodes
4562 distclean-opcodes:
4563 @[ -f ./opcodes/Makefile ] || exit 0; \
4564 r=`${PWD_COMMAND}`; export r; \
4565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4566 $(SET_LIB_PATH) \
4567 $(HOST_EXPORTS) \
4568 for flag in $(EXTRA_HOST_FLAGS) ; do \
4569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4570 done; \
4571 echo "Doing distclean in opcodes" ; \
4572 (cd opcodes && \
4573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4575 "RANLIB=$${RANLIB}" \
4576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4577 distclean) \
4578 || exit 1
4580 @endif opcodes
4582 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4583 maybe-maintainer-clean-opcodes:
4584 @if opcodes
4585 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4587 maintainer-clean-opcodes:
4588 @[ -f ./opcodes/Makefile ] || exit 0; \
4589 r=`${PWD_COMMAND}`; export r; \
4590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4591 $(SET_LIB_PATH) \
4592 $(HOST_EXPORTS) \
4593 for flag in $(EXTRA_HOST_FLAGS) ; do \
4594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4595 done; \
4596 echo "Doing maintainer-clean in opcodes" ; \
4597 (cd opcodes && \
4598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4600 "RANLIB=$${RANLIB}" \
4601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4602 maintainer-clean) \
4603 || exit 1
4605 @endif opcodes
4608 .PHONY: configure-binutils maybe-configure-binutils
4609 maybe-configure-binutils:
4610 @if binutils
4611 maybe-configure-binutils: configure-binutils
4612 configure-binutils:
4613 @test -f stage_last && exit 0; \
4614 test ! -f binutils/Makefile || exit 0; \
4615 [ -d binutils ] || mkdir binutils; \
4616 r=`${PWD_COMMAND}`; export r; \
4617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4618 $(HOST_EXPORTS) \
4619 echo Configuring in binutils; \
4620 cd binutils || exit 1; \
4621 case $(srcdir) in \
4622 \.) \
4623 srcdiroption="--srcdir=."; \
4624 libsrcdir=".";; \
4625 /* | [A-Za-z]:[\\/]*) \
4626 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4627 libsrcdir="$$s/binutils";; \
4628 *) \
4629 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4630 libsrcdir="$$s/binutils";; \
4631 esac; \
4632 $(SHELL) $${libsrcdir}/configure \
4633 $(HOST_CONFIGARGS) $${srcdiroption} \
4634 || exit 1
4635 @endif binutils
4637 .PHONY: all-binutils maybe-all-binutils
4638 maybe-all-binutils:
4639 @if binutils
4640 TARGET-binutils=all
4641 maybe-all-binutils: all-binutils
4642 all-binutils: configure-binutils
4643 @test -f stage_last && exit 0; \
4644 r=`${PWD_COMMAND}`; export r; \
4645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4646 $(SET_LIB_PATH) \
4647 $(HOST_EXPORTS) \
4648 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) \
4649 $(TARGET-binutils))
4650 @endif binutils
4652 .PHONY: check-binutils maybe-check-binutils
4653 maybe-check-binutils:
4654 @if binutils
4655 maybe-check-binutils: check-binutils
4657 check-binutils:
4658 @r=`${PWD_COMMAND}`; export r; \
4659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4660 $(SET_LIB_PATH) \
4661 $(HOST_EXPORTS) \
4662 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4664 @endif binutils
4666 .PHONY: install-binutils maybe-install-binutils
4667 maybe-install-binutils:
4668 @if binutils
4669 maybe-install-binutils: install-binutils
4671 install-binutils: installdirs
4672 @r=`${PWD_COMMAND}`; export r; \
4673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4674 $(SET_LIB_PATH) \
4675 $(HOST_EXPORTS) \
4676 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4678 @endif binutils
4680 # Other targets (info, dvi, etc.)
4682 .PHONY: maybe-info-binutils info-binutils
4683 maybe-info-binutils:
4684 @if binutils
4685 maybe-info-binutils: info-binutils
4687 info-binutils: \
4688 configure-binutils
4689 @[ -f ./binutils/Makefile ] || exit 0; \
4690 r=`${PWD_COMMAND}`; export r; \
4691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4692 $(SET_LIB_PATH) \
4693 $(HOST_EXPORTS) \
4694 for flag in $(EXTRA_HOST_FLAGS) ; do \
4695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4696 done; \
4697 echo "Doing info in binutils" ; \
4698 (cd binutils && \
4699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4701 "RANLIB=$${RANLIB}" \
4702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4703 info) \
4704 || exit 1
4706 @endif binutils
4708 .PHONY: maybe-dvi-binutils dvi-binutils
4709 maybe-dvi-binutils:
4710 @if binutils
4711 maybe-dvi-binutils: dvi-binutils
4713 dvi-binutils: \
4714 configure-binutils
4715 @[ -f ./binutils/Makefile ] || exit 0; \
4716 r=`${PWD_COMMAND}`; export r; \
4717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4718 $(SET_LIB_PATH) \
4719 $(HOST_EXPORTS) \
4720 for flag in $(EXTRA_HOST_FLAGS) ; do \
4721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4722 done; \
4723 echo "Doing dvi in binutils" ; \
4724 (cd binutils && \
4725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4727 "RANLIB=$${RANLIB}" \
4728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4729 dvi) \
4730 || exit 1
4732 @endif binutils
4734 .PHONY: maybe-html-binutils html-binutils
4735 maybe-html-binutils:
4736 @if binutils
4737 maybe-html-binutils: html-binutils
4739 html-binutils: \
4740 configure-binutils
4741 @[ -f ./binutils/Makefile ] || exit 0; \
4742 r=`${PWD_COMMAND}`; export r; \
4743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4744 $(SET_LIB_PATH) \
4745 $(HOST_EXPORTS) \
4746 for flag in $(EXTRA_HOST_FLAGS) ; do \
4747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4748 done; \
4749 echo "Doing html in binutils" ; \
4750 (cd binutils && \
4751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4753 "RANLIB=$${RANLIB}" \
4754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4755 html) \
4756 || exit 1
4758 @endif binutils
4760 .PHONY: maybe-TAGS-binutils TAGS-binutils
4761 maybe-TAGS-binutils:
4762 @if binutils
4763 maybe-TAGS-binutils: TAGS-binutils
4765 TAGS-binutils: \
4766 configure-binutils
4767 @[ -f ./binutils/Makefile ] || exit 0; \
4768 r=`${PWD_COMMAND}`; export r; \
4769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4770 $(SET_LIB_PATH) \
4771 $(HOST_EXPORTS) \
4772 for flag in $(EXTRA_HOST_FLAGS) ; do \
4773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4774 done; \
4775 echo "Doing TAGS in binutils" ; \
4776 (cd binutils && \
4777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4779 "RANLIB=$${RANLIB}" \
4780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4781 TAGS) \
4782 || exit 1
4784 @endif binutils
4786 .PHONY: maybe-install-info-binutils install-info-binutils
4787 maybe-install-info-binutils:
4788 @if binutils
4789 maybe-install-info-binutils: install-info-binutils
4791 install-info-binutils: \
4792 configure-binutils \
4793 info-binutils
4794 @[ -f ./binutils/Makefile ] || exit 0; \
4795 r=`${PWD_COMMAND}`; export r; \
4796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4797 $(SET_LIB_PATH) \
4798 $(HOST_EXPORTS) \
4799 for flag in $(EXTRA_HOST_FLAGS) ; do \
4800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4801 done; \
4802 echo "Doing install-info in binutils" ; \
4803 (cd binutils && \
4804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4806 "RANLIB=$${RANLIB}" \
4807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4808 install-info) \
4809 || exit 1
4811 @endif binutils
4813 .PHONY: maybe-installcheck-binutils installcheck-binutils
4814 maybe-installcheck-binutils:
4815 @if binutils
4816 maybe-installcheck-binutils: installcheck-binutils
4818 installcheck-binutils: \
4819 configure-binutils
4820 @[ -f ./binutils/Makefile ] || exit 0; \
4821 r=`${PWD_COMMAND}`; export r; \
4822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4823 $(SET_LIB_PATH) \
4824 $(HOST_EXPORTS) \
4825 for flag in $(EXTRA_HOST_FLAGS) ; do \
4826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4827 done; \
4828 echo "Doing installcheck in binutils" ; \
4829 (cd binutils && \
4830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4832 "RANLIB=$${RANLIB}" \
4833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4834 installcheck) \
4835 || exit 1
4837 @endif binutils
4839 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4840 maybe-mostlyclean-binutils:
4841 @if binutils
4842 maybe-mostlyclean-binutils: mostlyclean-binutils
4844 mostlyclean-binutils:
4845 @[ -f ./binutils/Makefile ] || exit 0; \
4846 r=`${PWD_COMMAND}`; export r; \
4847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4848 $(SET_LIB_PATH) \
4849 $(HOST_EXPORTS) \
4850 for flag in $(EXTRA_HOST_FLAGS) ; do \
4851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4852 done; \
4853 echo "Doing mostlyclean in binutils" ; \
4854 (cd binutils && \
4855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4857 "RANLIB=$${RANLIB}" \
4858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4859 mostlyclean) \
4860 || exit 1
4862 @endif binutils
4864 .PHONY: maybe-clean-binutils clean-binutils
4865 maybe-clean-binutils:
4866 @if binutils
4867 maybe-clean-binutils: clean-binutils
4869 clean-binutils:
4870 @[ -f ./binutils/Makefile ] || exit 0; \
4871 r=`${PWD_COMMAND}`; export r; \
4872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4873 $(SET_LIB_PATH) \
4874 $(HOST_EXPORTS) \
4875 for flag in $(EXTRA_HOST_FLAGS) ; do \
4876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4877 done; \
4878 echo "Doing clean in binutils" ; \
4879 (cd binutils && \
4880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4882 "RANLIB=$${RANLIB}" \
4883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4884 clean) \
4885 || exit 1
4887 @endif binutils
4889 .PHONY: maybe-distclean-binutils distclean-binutils
4890 maybe-distclean-binutils:
4891 @if binutils
4892 maybe-distclean-binutils: distclean-binutils
4894 distclean-binutils:
4895 @[ -f ./binutils/Makefile ] || exit 0; \
4896 r=`${PWD_COMMAND}`; export r; \
4897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4898 $(SET_LIB_PATH) \
4899 $(HOST_EXPORTS) \
4900 for flag in $(EXTRA_HOST_FLAGS) ; do \
4901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4902 done; \
4903 echo "Doing distclean in binutils" ; \
4904 (cd binutils && \
4905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4907 "RANLIB=$${RANLIB}" \
4908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4909 distclean) \
4910 || exit 1
4912 @endif binutils
4914 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4915 maybe-maintainer-clean-binutils:
4916 @if binutils
4917 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4919 maintainer-clean-binutils:
4920 @[ -f ./binutils/Makefile ] || exit 0; \
4921 r=`${PWD_COMMAND}`; export r; \
4922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4923 $(SET_LIB_PATH) \
4924 $(HOST_EXPORTS) \
4925 for flag in $(EXTRA_HOST_FLAGS) ; do \
4926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4927 done; \
4928 echo "Doing maintainer-clean in binutils" ; \
4929 (cd binutils && \
4930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4932 "RANLIB=$${RANLIB}" \
4933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4934 maintainer-clean) \
4935 || exit 1
4937 @endif binutils
4940 .PHONY: configure-bison maybe-configure-bison
4941 maybe-configure-bison:
4942 @if bison
4943 maybe-configure-bison: configure-bison
4944 configure-bison:
4945 @test ! -f bison/Makefile || exit 0; \
4946 [ -d bison ] || mkdir bison; \
4947 r=`${PWD_COMMAND}`; export r; \
4948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4949 $(HOST_EXPORTS) \
4950 echo Configuring in bison; \
4951 cd bison || exit 1; \
4952 case $(srcdir) in \
4953 \.) \
4954 srcdiroption="--srcdir=."; \
4955 libsrcdir=".";; \
4956 /* | [A-Za-z]:[\\/]*) \
4957 srcdiroption="--srcdir=$(srcdir)/bison"; \
4958 libsrcdir="$$s/bison";; \
4959 *) \
4960 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4961 libsrcdir="$$s/bison";; \
4962 esac; \
4963 $(SHELL) $${libsrcdir}/configure \
4964 $(HOST_CONFIGARGS) $${srcdiroption} \
4965 || exit 1
4966 @endif bison
4968 .PHONY: all-bison maybe-all-bison
4969 maybe-all-bison:
4970 @if bison
4971 TARGET-bison=all
4972 maybe-all-bison: all-bison
4973 all-bison: configure-bison
4974 @r=`${PWD_COMMAND}`; export r; \
4975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4976 $(SET_LIB_PATH) \
4977 $(HOST_EXPORTS) \
4978 (cd bison && $(MAKE) $(FLAGS_TO_PASS) \
4979 $(TARGET-bison))
4980 @endif bison
4982 .PHONY: check-bison maybe-check-bison
4983 maybe-check-bison:
4984 @if bison
4985 maybe-check-bison: check-bison
4987 # This module is only tested in a native toolchain.
4988 check-bison:
4989 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
4997 @endif bison
4999 .PHONY: install-bison maybe-install-bison
5000 maybe-install-bison:
5001 @if bison
5002 maybe-install-bison: install-bison
5004 install-bison: installdirs
5005 @r=`${PWD_COMMAND}`; export r; \
5006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5007 $(SET_LIB_PATH) \
5008 $(HOST_EXPORTS) \
5009 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
5011 @endif bison
5013 # Other targets (info, dvi, etc.)
5015 .PHONY: maybe-info-bison info-bison
5016 maybe-info-bison:
5017 @if bison
5018 maybe-info-bison: info-bison
5020 info-bison: \
5021 configure-bison
5022 @[ -f ./bison/Makefile ] || exit 0; \
5023 r=`${PWD_COMMAND}`; export r; \
5024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5025 $(SET_LIB_PATH) \
5026 $(HOST_EXPORTS) \
5027 for flag in $(EXTRA_HOST_FLAGS) ; do \
5028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5029 done; \
5030 echo "Doing info in bison" ; \
5031 (cd bison && \
5032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5034 "RANLIB=$${RANLIB}" \
5035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5036 info) \
5037 || exit 1
5039 @endif bison
5041 .PHONY: maybe-dvi-bison dvi-bison
5042 maybe-dvi-bison:
5043 @if bison
5044 maybe-dvi-bison: dvi-bison
5046 dvi-bison: \
5047 configure-bison
5048 @[ -f ./bison/Makefile ] || exit 0; \
5049 r=`${PWD_COMMAND}`; export r; \
5050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5051 $(SET_LIB_PATH) \
5052 $(HOST_EXPORTS) \
5053 for flag in $(EXTRA_HOST_FLAGS) ; do \
5054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5055 done; \
5056 echo "Doing dvi in bison" ; \
5057 (cd bison && \
5058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5060 "RANLIB=$${RANLIB}" \
5061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5062 dvi) \
5063 || exit 1
5065 @endif bison
5067 .PHONY: maybe-html-bison html-bison
5068 maybe-html-bison:
5069 @if bison
5070 maybe-html-bison: html-bison
5072 html-bison: \
5073 configure-bison
5074 @[ -f ./bison/Makefile ] || exit 0; \
5075 r=`${PWD_COMMAND}`; export r; \
5076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5077 $(SET_LIB_PATH) \
5078 $(HOST_EXPORTS) \
5079 for flag in $(EXTRA_HOST_FLAGS) ; do \
5080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5081 done; \
5082 echo "Doing html in bison" ; \
5083 (cd bison && \
5084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5086 "RANLIB=$${RANLIB}" \
5087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5088 html) \
5089 || exit 1
5091 @endif bison
5093 .PHONY: maybe-TAGS-bison TAGS-bison
5094 maybe-TAGS-bison:
5095 @if bison
5096 maybe-TAGS-bison: TAGS-bison
5098 TAGS-bison: \
5099 configure-bison
5100 @[ -f ./bison/Makefile ] || exit 0; \
5101 r=`${PWD_COMMAND}`; export r; \
5102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5103 $(SET_LIB_PATH) \
5104 $(HOST_EXPORTS) \
5105 for flag in $(EXTRA_HOST_FLAGS) ; do \
5106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5107 done; \
5108 echo "Doing TAGS in bison" ; \
5109 (cd bison && \
5110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5112 "RANLIB=$${RANLIB}" \
5113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5114 TAGS) \
5115 || exit 1
5117 @endif bison
5119 .PHONY: maybe-install-info-bison install-info-bison
5120 maybe-install-info-bison:
5121 @if bison
5122 maybe-install-info-bison: install-info-bison
5124 install-info-bison: \
5125 configure-bison \
5126 info-bison
5127 @[ -f ./bison/Makefile ] || exit 0; \
5128 r=`${PWD_COMMAND}`; export r; \
5129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5130 $(SET_LIB_PATH) \
5131 $(HOST_EXPORTS) \
5132 for flag in $(EXTRA_HOST_FLAGS) ; do \
5133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5134 done; \
5135 echo "Doing install-info in bison" ; \
5136 (cd bison && \
5137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5139 "RANLIB=$${RANLIB}" \
5140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5141 install-info) \
5142 || exit 1
5144 @endif bison
5146 .PHONY: maybe-installcheck-bison installcheck-bison
5147 maybe-installcheck-bison:
5148 @if bison
5149 maybe-installcheck-bison: installcheck-bison
5151 installcheck-bison: \
5152 configure-bison
5153 @[ -f ./bison/Makefile ] || exit 0; \
5154 r=`${PWD_COMMAND}`; export r; \
5155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5156 $(SET_LIB_PATH) \
5157 $(HOST_EXPORTS) \
5158 for flag in $(EXTRA_HOST_FLAGS) ; do \
5159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5160 done; \
5161 echo "Doing installcheck in bison" ; \
5162 (cd bison && \
5163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5165 "RANLIB=$${RANLIB}" \
5166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5167 installcheck) \
5168 || exit 1
5170 @endif bison
5172 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5173 maybe-mostlyclean-bison:
5174 @if bison
5175 maybe-mostlyclean-bison: mostlyclean-bison
5177 mostlyclean-bison:
5178 @[ -f ./bison/Makefile ] || exit 0; \
5179 r=`${PWD_COMMAND}`; export r; \
5180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5181 $(SET_LIB_PATH) \
5182 $(HOST_EXPORTS) \
5183 for flag in $(EXTRA_HOST_FLAGS) ; do \
5184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5185 done; \
5186 echo "Doing mostlyclean in bison" ; \
5187 (cd bison && \
5188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5190 "RANLIB=$${RANLIB}" \
5191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5192 mostlyclean) \
5193 || exit 1
5195 @endif bison
5197 .PHONY: maybe-clean-bison clean-bison
5198 maybe-clean-bison:
5199 @if bison
5200 maybe-clean-bison: clean-bison
5202 clean-bison:
5203 @[ -f ./bison/Makefile ] || exit 0; \
5204 r=`${PWD_COMMAND}`; export r; \
5205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5206 $(SET_LIB_PATH) \
5207 $(HOST_EXPORTS) \
5208 for flag in $(EXTRA_HOST_FLAGS) ; do \
5209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5210 done; \
5211 echo "Doing clean in bison" ; \
5212 (cd bison && \
5213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5215 "RANLIB=$${RANLIB}" \
5216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5217 clean) \
5218 || exit 1
5220 @endif bison
5222 .PHONY: maybe-distclean-bison distclean-bison
5223 maybe-distclean-bison:
5224 @if bison
5225 maybe-distclean-bison: distclean-bison
5227 distclean-bison:
5228 @[ -f ./bison/Makefile ] || exit 0; \
5229 r=`${PWD_COMMAND}`; export r; \
5230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5231 $(SET_LIB_PATH) \
5232 $(HOST_EXPORTS) \
5233 for flag in $(EXTRA_HOST_FLAGS) ; do \
5234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5235 done; \
5236 echo "Doing distclean in bison" ; \
5237 (cd bison && \
5238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5240 "RANLIB=$${RANLIB}" \
5241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5242 distclean) \
5243 || exit 1
5245 @endif bison
5247 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5248 maybe-maintainer-clean-bison:
5249 @if bison
5250 maybe-maintainer-clean-bison: maintainer-clean-bison
5252 maintainer-clean-bison:
5253 @[ -f ./bison/Makefile ] || exit 0; \
5254 r=`${PWD_COMMAND}`; export r; \
5255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5256 $(SET_LIB_PATH) \
5257 $(HOST_EXPORTS) \
5258 for flag in $(EXTRA_HOST_FLAGS) ; do \
5259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5260 done; \
5261 echo "Doing maintainer-clean in bison" ; \
5262 (cd bison && \
5263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5265 "RANLIB=$${RANLIB}" \
5266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5267 maintainer-clean) \
5268 || exit 1
5270 @endif bison
5273 .PHONY: configure-byacc maybe-configure-byacc
5274 maybe-configure-byacc:
5275 @if byacc
5276 maybe-configure-byacc: configure-byacc
5277 configure-byacc:
5278 @test ! -f byacc/Makefile || exit 0; \
5279 [ -d byacc ] || mkdir byacc; \
5280 r=`${PWD_COMMAND}`; export r; \
5281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5282 $(HOST_EXPORTS) \
5283 echo Configuring in byacc; \
5284 cd byacc || exit 1; \
5285 case $(srcdir) in \
5286 \.) \
5287 srcdiroption="--srcdir=."; \
5288 libsrcdir=".";; \
5289 /* | [A-Za-z]:[\\/]*) \
5290 srcdiroption="--srcdir=$(srcdir)/byacc"; \
5291 libsrcdir="$$s/byacc";; \
5292 *) \
5293 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
5294 libsrcdir="$$s/byacc";; \
5295 esac; \
5296 $(SHELL) $${libsrcdir}/configure \
5297 $(HOST_CONFIGARGS) $${srcdiroption} \
5298 || exit 1
5299 @endif byacc
5301 .PHONY: all-byacc maybe-all-byacc
5302 maybe-all-byacc:
5303 @if byacc
5304 TARGET-byacc=all
5305 maybe-all-byacc: all-byacc
5306 all-byacc: configure-byacc
5307 @r=`${PWD_COMMAND}`; export r; \
5308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5309 $(SET_LIB_PATH) \
5310 $(HOST_EXPORTS) \
5311 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) \
5312 $(TARGET-byacc))
5313 @endif byacc
5315 .PHONY: check-byacc maybe-check-byacc
5316 maybe-check-byacc:
5317 @if byacc
5318 maybe-check-byacc: check-byacc
5320 # This module is only tested in a native toolchain.
5321 check-byacc:
5322 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
5330 @endif byacc
5332 .PHONY: install-byacc maybe-install-byacc
5333 maybe-install-byacc:
5334 @if byacc
5335 maybe-install-byacc: install-byacc
5337 install-byacc: installdirs
5338 @r=`${PWD_COMMAND}`; export r; \
5339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5340 $(SET_LIB_PATH) \
5341 $(HOST_EXPORTS) \
5342 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5344 @endif byacc
5346 # Other targets (info, dvi, etc.)
5348 .PHONY: maybe-info-byacc info-byacc
5349 maybe-info-byacc:
5350 @if byacc
5351 maybe-info-byacc: info-byacc
5353 info-byacc: \
5354 configure-byacc
5355 @[ -f ./byacc/Makefile ] || exit 0; \
5356 r=`${PWD_COMMAND}`; export r; \
5357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5358 $(SET_LIB_PATH) \
5359 $(HOST_EXPORTS) \
5360 for flag in $(EXTRA_HOST_FLAGS) ; do \
5361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5362 done; \
5363 echo "Doing info in byacc" ; \
5364 (cd byacc && \
5365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5367 "RANLIB=$${RANLIB}" \
5368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5369 info) \
5370 || exit 1
5372 @endif byacc
5374 .PHONY: maybe-dvi-byacc dvi-byacc
5375 maybe-dvi-byacc:
5376 @if byacc
5377 maybe-dvi-byacc: dvi-byacc
5379 dvi-byacc: \
5380 configure-byacc
5381 @[ -f ./byacc/Makefile ] || exit 0; \
5382 r=`${PWD_COMMAND}`; export r; \
5383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5384 $(SET_LIB_PATH) \
5385 $(HOST_EXPORTS) \
5386 for flag in $(EXTRA_HOST_FLAGS) ; do \
5387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5388 done; \
5389 echo "Doing dvi in byacc" ; \
5390 (cd byacc && \
5391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5393 "RANLIB=$${RANLIB}" \
5394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5395 dvi) \
5396 || exit 1
5398 @endif byacc
5400 .PHONY: maybe-html-byacc html-byacc
5401 maybe-html-byacc:
5402 @if byacc
5403 maybe-html-byacc: html-byacc
5405 html-byacc: \
5406 configure-byacc
5407 @[ -f ./byacc/Makefile ] || exit 0; \
5408 r=`${PWD_COMMAND}`; export r; \
5409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5410 $(SET_LIB_PATH) \
5411 $(HOST_EXPORTS) \
5412 for flag in $(EXTRA_HOST_FLAGS) ; do \
5413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5414 done; \
5415 echo "Doing html in byacc" ; \
5416 (cd byacc && \
5417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5419 "RANLIB=$${RANLIB}" \
5420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5421 html) \
5422 || exit 1
5424 @endif byacc
5426 .PHONY: maybe-TAGS-byacc TAGS-byacc
5427 maybe-TAGS-byacc:
5428 @if byacc
5429 maybe-TAGS-byacc: TAGS-byacc
5431 TAGS-byacc: \
5432 configure-byacc
5433 @[ -f ./byacc/Makefile ] || exit 0; \
5434 r=`${PWD_COMMAND}`; export r; \
5435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5436 $(SET_LIB_PATH) \
5437 $(HOST_EXPORTS) \
5438 for flag in $(EXTRA_HOST_FLAGS) ; do \
5439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5440 done; \
5441 echo "Doing TAGS in byacc" ; \
5442 (cd byacc && \
5443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5445 "RANLIB=$${RANLIB}" \
5446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5447 TAGS) \
5448 || exit 1
5450 @endif byacc
5452 .PHONY: maybe-install-info-byacc install-info-byacc
5453 maybe-install-info-byacc:
5454 @if byacc
5455 maybe-install-info-byacc: install-info-byacc
5457 install-info-byacc: \
5458 configure-byacc \
5459 info-byacc
5460 @[ -f ./byacc/Makefile ] || exit 0; \
5461 r=`${PWD_COMMAND}`; export r; \
5462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5463 $(SET_LIB_PATH) \
5464 $(HOST_EXPORTS) \
5465 for flag in $(EXTRA_HOST_FLAGS) ; do \
5466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5467 done; \
5468 echo "Doing install-info in byacc" ; \
5469 (cd byacc && \
5470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5472 "RANLIB=$${RANLIB}" \
5473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5474 install-info) \
5475 || exit 1
5477 @endif byacc
5479 .PHONY: maybe-installcheck-byacc installcheck-byacc
5480 maybe-installcheck-byacc:
5481 @if byacc
5482 maybe-installcheck-byacc: installcheck-byacc
5484 installcheck-byacc: \
5485 configure-byacc
5486 @[ -f ./byacc/Makefile ] || exit 0; \
5487 r=`${PWD_COMMAND}`; export r; \
5488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5489 $(SET_LIB_PATH) \
5490 $(HOST_EXPORTS) \
5491 for flag in $(EXTRA_HOST_FLAGS) ; do \
5492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5493 done; \
5494 echo "Doing installcheck in byacc" ; \
5495 (cd byacc && \
5496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5498 "RANLIB=$${RANLIB}" \
5499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5500 installcheck) \
5501 || exit 1
5503 @endif byacc
5505 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5506 maybe-mostlyclean-byacc:
5507 @if byacc
5508 maybe-mostlyclean-byacc: mostlyclean-byacc
5510 mostlyclean-byacc:
5511 @[ -f ./byacc/Makefile ] || exit 0; \
5512 r=`${PWD_COMMAND}`; export r; \
5513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5514 $(SET_LIB_PATH) \
5515 $(HOST_EXPORTS) \
5516 for flag in $(EXTRA_HOST_FLAGS) ; do \
5517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5518 done; \
5519 echo "Doing mostlyclean in byacc" ; \
5520 (cd byacc && \
5521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5523 "RANLIB=$${RANLIB}" \
5524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5525 mostlyclean) \
5526 || exit 1
5528 @endif byacc
5530 .PHONY: maybe-clean-byacc clean-byacc
5531 maybe-clean-byacc:
5532 @if byacc
5533 maybe-clean-byacc: clean-byacc
5535 clean-byacc:
5536 @[ -f ./byacc/Makefile ] || exit 0; \
5537 r=`${PWD_COMMAND}`; export r; \
5538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5539 $(SET_LIB_PATH) \
5540 $(HOST_EXPORTS) \
5541 for flag in $(EXTRA_HOST_FLAGS) ; do \
5542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5543 done; \
5544 echo "Doing clean in byacc" ; \
5545 (cd byacc && \
5546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5548 "RANLIB=$${RANLIB}" \
5549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5550 clean) \
5551 || exit 1
5553 @endif byacc
5555 .PHONY: maybe-distclean-byacc distclean-byacc
5556 maybe-distclean-byacc:
5557 @if byacc
5558 maybe-distclean-byacc: distclean-byacc
5560 distclean-byacc:
5561 @[ -f ./byacc/Makefile ] || exit 0; \
5562 r=`${PWD_COMMAND}`; export r; \
5563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5564 $(SET_LIB_PATH) \
5565 $(HOST_EXPORTS) \
5566 for flag in $(EXTRA_HOST_FLAGS) ; do \
5567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5568 done; \
5569 echo "Doing distclean in byacc" ; \
5570 (cd byacc && \
5571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5573 "RANLIB=$${RANLIB}" \
5574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5575 distclean) \
5576 || exit 1
5578 @endif byacc
5580 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5581 maybe-maintainer-clean-byacc:
5582 @if byacc
5583 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5585 maintainer-clean-byacc:
5586 @[ -f ./byacc/Makefile ] || exit 0; \
5587 r=`${PWD_COMMAND}`; export r; \
5588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5589 $(SET_LIB_PATH) \
5590 $(HOST_EXPORTS) \
5591 for flag in $(EXTRA_HOST_FLAGS) ; do \
5592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5593 done; \
5594 echo "Doing maintainer-clean in byacc" ; \
5595 (cd byacc && \
5596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5598 "RANLIB=$${RANLIB}" \
5599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5600 maintainer-clean) \
5601 || exit 1
5603 @endif byacc
5606 .PHONY: configure-bzip2 maybe-configure-bzip2
5607 maybe-configure-bzip2:
5608 @if bzip2
5609 maybe-configure-bzip2: configure-bzip2
5610 configure-bzip2:
5611 @test ! -f bzip2/Makefile || exit 0; \
5612 [ -d bzip2 ] || mkdir bzip2; \
5613 r=`${PWD_COMMAND}`; export r; \
5614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5615 $(HOST_EXPORTS) \
5616 echo Configuring in bzip2; \
5617 cd bzip2 || exit 1; \
5618 case $(srcdir) in \
5619 \.) \
5620 srcdiroption="--srcdir=."; \
5621 libsrcdir=".";; \
5622 /* | [A-Za-z]:[\\/]*) \
5623 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5624 libsrcdir="$$s/bzip2";; \
5625 *) \
5626 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5627 libsrcdir="$$s/bzip2";; \
5628 esac; \
5629 $(SHELL) $${libsrcdir}/configure \
5630 $(HOST_CONFIGARGS) $${srcdiroption} \
5631 || exit 1
5632 @endif bzip2
5634 .PHONY: all-bzip2 maybe-all-bzip2
5635 maybe-all-bzip2:
5636 @if bzip2
5637 TARGET-bzip2=all
5638 maybe-all-bzip2: all-bzip2
5639 all-bzip2: configure-bzip2
5640 @r=`${PWD_COMMAND}`; export r; \
5641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5642 $(SET_LIB_PATH) \
5643 $(HOST_EXPORTS) \
5644 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) \
5645 $(TARGET-bzip2))
5646 @endif bzip2
5648 .PHONY: check-bzip2 maybe-check-bzip2
5649 maybe-check-bzip2:
5650 @if bzip2
5651 maybe-check-bzip2: check-bzip2
5653 check-bzip2:
5654 @r=`${PWD_COMMAND}`; export r; \
5655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5656 $(SET_LIB_PATH) \
5657 $(HOST_EXPORTS) \
5658 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5660 @endif bzip2
5662 .PHONY: install-bzip2 maybe-install-bzip2
5663 maybe-install-bzip2:
5664 @if bzip2
5665 maybe-install-bzip2: install-bzip2
5667 install-bzip2: installdirs
5668 @r=`${PWD_COMMAND}`; export r; \
5669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5670 $(SET_LIB_PATH) \
5671 $(HOST_EXPORTS) \
5672 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5674 @endif bzip2
5676 # Other targets (info, dvi, etc.)
5678 .PHONY: maybe-info-bzip2 info-bzip2
5679 maybe-info-bzip2:
5680 @if bzip2
5681 maybe-info-bzip2: info-bzip2
5683 info-bzip2: \
5684 configure-bzip2
5685 @[ -f ./bzip2/Makefile ] || exit 0; \
5686 r=`${PWD_COMMAND}`; export r; \
5687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5688 $(SET_LIB_PATH) \
5689 $(HOST_EXPORTS) \
5690 for flag in $(EXTRA_HOST_FLAGS) ; do \
5691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5692 done; \
5693 echo "Doing info in bzip2" ; \
5694 (cd bzip2 && \
5695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5697 "RANLIB=$${RANLIB}" \
5698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5699 info) \
5700 || exit 1
5702 @endif bzip2
5704 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5705 maybe-dvi-bzip2:
5706 @if bzip2
5707 maybe-dvi-bzip2: dvi-bzip2
5709 dvi-bzip2: \
5710 configure-bzip2
5711 @[ -f ./bzip2/Makefile ] || exit 0; \
5712 r=`${PWD_COMMAND}`; export r; \
5713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5714 $(SET_LIB_PATH) \
5715 $(HOST_EXPORTS) \
5716 for flag in $(EXTRA_HOST_FLAGS) ; do \
5717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5718 done; \
5719 echo "Doing dvi in bzip2" ; \
5720 (cd bzip2 && \
5721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5723 "RANLIB=$${RANLIB}" \
5724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5725 dvi) \
5726 || exit 1
5728 @endif bzip2
5730 .PHONY: maybe-html-bzip2 html-bzip2
5731 maybe-html-bzip2:
5732 @if bzip2
5733 maybe-html-bzip2: html-bzip2
5735 html-bzip2: \
5736 configure-bzip2
5737 @[ -f ./bzip2/Makefile ] || exit 0; \
5738 r=`${PWD_COMMAND}`; export r; \
5739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5740 $(SET_LIB_PATH) \
5741 $(HOST_EXPORTS) \
5742 for flag in $(EXTRA_HOST_FLAGS) ; do \
5743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5744 done; \
5745 echo "Doing html in bzip2" ; \
5746 (cd bzip2 && \
5747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5749 "RANLIB=$${RANLIB}" \
5750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5751 html) \
5752 || exit 1
5754 @endif bzip2
5756 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5757 maybe-TAGS-bzip2:
5758 @if bzip2
5759 maybe-TAGS-bzip2: TAGS-bzip2
5761 TAGS-bzip2: \
5762 configure-bzip2
5763 @[ -f ./bzip2/Makefile ] || exit 0; \
5764 r=`${PWD_COMMAND}`; export r; \
5765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5766 $(SET_LIB_PATH) \
5767 $(HOST_EXPORTS) \
5768 for flag in $(EXTRA_HOST_FLAGS) ; do \
5769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5770 done; \
5771 echo "Doing TAGS in bzip2" ; \
5772 (cd bzip2 && \
5773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5775 "RANLIB=$${RANLIB}" \
5776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5777 TAGS) \
5778 || exit 1
5780 @endif bzip2
5782 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5783 maybe-install-info-bzip2:
5784 @if bzip2
5785 maybe-install-info-bzip2: install-info-bzip2
5787 install-info-bzip2: \
5788 configure-bzip2 \
5789 info-bzip2
5790 @[ -f ./bzip2/Makefile ] || exit 0; \
5791 r=`${PWD_COMMAND}`; export r; \
5792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5793 $(SET_LIB_PATH) \
5794 $(HOST_EXPORTS) \
5795 for flag in $(EXTRA_HOST_FLAGS) ; do \
5796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5797 done; \
5798 echo "Doing install-info in bzip2" ; \
5799 (cd bzip2 && \
5800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5802 "RANLIB=$${RANLIB}" \
5803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5804 install-info) \
5805 || exit 1
5807 @endif bzip2
5809 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5810 maybe-installcheck-bzip2:
5811 @if bzip2
5812 maybe-installcheck-bzip2: installcheck-bzip2
5814 installcheck-bzip2: \
5815 configure-bzip2
5816 @[ -f ./bzip2/Makefile ] || exit 0; \
5817 r=`${PWD_COMMAND}`; export r; \
5818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5819 $(SET_LIB_PATH) \
5820 $(HOST_EXPORTS) \
5821 for flag in $(EXTRA_HOST_FLAGS) ; do \
5822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5823 done; \
5824 echo "Doing installcheck in bzip2" ; \
5825 (cd bzip2 && \
5826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5828 "RANLIB=$${RANLIB}" \
5829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5830 installcheck) \
5831 || exit 1
5833 @endif bzip2
5835 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5836 maybe-mostlyclean-bzip2:
5837 @if bzip2
5838 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5840 mostlyclean-bzip2:
5841 @[ -f ./bzip2/Makefile ] || exit 0; \
5842 r=`${PWD_COMMAND}`; export r; \
5843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5844 $(SET_LIB_PATH) \
5845 $(HOST_EXPORTS) \
5846 for flag in $(EXTRA_HOST_FLAGS) ; do \
5847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5848 done; \
5849 echo "Doing mostlyclean in bzip2" ; \
5850 (cd bzip2 && \
5851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5853 "RANLIB=$${RANLIB}" \
5854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5855 mostlyclean) \
5856 || exit 1
5858 @endif bzip2
5860 .PHONY: maybe-clean-bzip2 clean-bzip2
5861 maybe-clean-bzip2:
5862 @if bzip2
5863 maybe-clean-bzip2: clean-bzip2
5865 clean-bzip2:
5866 @[ -f ./bzip2/Makefile ] || exit 0; \
5867 r=`${PWD_COMMAND}`; export r; \
5868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5869 $(SET_LIB_PATH) \
5870 $(HOST_EXPORTS) \
5871 for flag in $(EXTRA_HOST_FLAGS) ; do \
5872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5873 done; \
5874 echo "Doing clean in bzip2" ; \
5875 (cd bzip2 && \
5876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5878 "RANLIB=$${RANLIB}" \
5879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5880 clean) \
5881 || exit 1
5883 @endif bzip2
5885 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5886 maybe-distclean-bzip2:
5887 @if bzip2
5888 maybe-distclean-bzip2: distclean-bzip2
5890 distclean-bzip2:
5891 @[ -f ./bzip2/Makefile ] || exit 0; \
5892 r=`${PWD_COMMAND}`; export r; \
5893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5894 $(SET_LIB_PATH) \
5895 $(HOST_EXPORTS) \
5896 for flag in $(EXTRA_HOST_FLAGS) ; do \
5897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5898 done; \
5899 echo "Doing distclean in bzip2" ; \
5900 (cd bzip2 && \
5901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5903 "RANLIB=$${RANLIB}" \
5904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5905 distclean) \
5906 || exit 1
5908 @endif bzip2
5910 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5911 maybe-maintainer-clean-bzip2:
5912 @if bzip2
5913 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5915 maintainer-clean-bzip2:
5916 @[ -f ./bzip2/Makefile ] || exit 0; \
5917 r=`${PWD_COMMAND}`; export r; \
5918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5919 $(SET_LIB_PATH) \
5920 $(HOST_EXPORTS) \
5921 for flag in $(EXTRA_HOST_FLAGS) ; do \
5922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5923 done; \
5924 echo "Doing maintainer-clean in bzip2" ; \
5925 (cd bzip2 && \
5926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5928 "RANLIB=$${RANLIB}" \
5929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5930 maintainer-clean) \
5931 || exit 1
5933 @endif bzip2
5936 .PHONY: configure-dejagnu maybe-configure-dejagnu
5937 maybe-configure-dejagnu:
5938 @if dejagnu
5939 maybe-configure-dejagnu: configure-dejagnu
5940 configure-dejagnu:
5941 @test ! -f dejagnu/Makefile || exit 0; \
5942 [ -d dejagnu ] || mkdir dejagnu; \
5943 r=`${PWD_COMMAND}`; export r; \
5944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5945 $(HOST_EXPORTS) \
5946 echo Configuring in dejagnu; \
5947 cd dejagnu || exit 1; \
5948 case $(srcdir) in \
5949 \.) \
5950 srcdiroption="--srcdir=."; \
5951 libsrcdir=".";; \
5952 /* | [A-Za-z]:[\\/]*) \
5953 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5954 libsrcdir="$$s/dejagnu";; \
5955 *) \
5956 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5957 libsrcdir="$$s/dejagnu";; \
5958 esac; \
5959 $(SHELL) $${libsrcdir}/configure \
5960 $(HOST_CONFIGARGS) $${srcdiroption} \
5961 || exit 1
5962 @endif dejagnu
5964 .PHONY: all-dejagnu maybe-all-dejagnu
5965 maybe-all-dejagnu:
5966 @if dejagnu
5967 TARGET-dejagnu=all
5968 maybe-all-dejagnu: all-dejagnu
5969 all-dejagnu: configure-dejagnu
5970 @r=`${PWD_COMMAND}`; export r; \
5971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5972 $(SET_LIB_PATH) \
5973 $(HOST_EXPORTS) \
5974 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) \
5975 $(TARGET-dejagnu))
5976 @endif dejagnu
5978 .PHONY: check-dejagnu maybe-check-dejagnu
5979 maybe-check-dejagnu:
5980 @if dejagnu
5981 maybe-check-dejagnu: check-dejagnu
5983 check-dejagnu:
5984 @r=`${PWD_COMMAND}`; export r; \
5985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5986 $(SET_LIB_PATH) \
5987 $(HOST_EXPORTS) \
5988 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5990 @endif dejagnu
5992 .PHONY: install-dejagnu maybe-install-dejagnu
5993 maybe-install-dejagnu:
5994 @if dejagnu
5995 maybe-install-dejagnu: install-dejagnu
5997 install-dejagnu: installdirs
5998 @r=`${PWD_COMMAND}`; export r; \
5999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6000 $(SET_LIB_PATH) \
6001 $(HOST_EXPORTS) \
6002 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
6004 @endif dejagnu
6006 # Other targets (info, dvi, etc.)
6008 .PHONY: maybe-info-dejagnu info-dejagnu
6009 maybe-info-dejagnu:
6010 @if dejagnu
6011 maybe-info-dejagnu: info-dejagnu
6013 info-dejagnu: \
6014 configure-dejagnu
6015 @[ -f ./dejagnu/Makefile ] || exit 0; \
6016 r=`${PWD_COMMAND}`; export r; \
6017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6018 $(SET_LIB_PATH) \
6019 $(HOST_EXPORTS) \
6020 for flag in $(EXTRA_HOST_FLAGS) ; do \
6021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6022 done; \
6023 echo "Doing info in dejagnu" ; \
6024 (cd dejagnu && \
6025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6027 "RANLIB=$${RANLIB}" \
6028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6029 info) \
6030 || exit 1
6032 @endif dejagnu
6034 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6035 maybe-dvi-dejagnu:
6036 @if dejagnu
6037 maybe-dvi-dejagnu: dvi-dejagnu
6039 dvi-dejagnu: \
6040 configure-dejagnu
6041 @[ -f ./dejagnu/Makefile ] || exit 0; \
6042 r=`${PWD_COMMAND}`; export r; \
6043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6044 $(SET_LIB_PATH) \
6045 $(HOST_EXPORTS) \
6046 for flag in $(EXTRA_HOST_FLAGS) ; do \
6047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6048 done; \
6049 echo "Doing dvi in dejagnu" ; \
6050 (cd dejagnu && \
6051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6053 "RANLIB=$${RANLIB}" \
6054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6055 dvi) \
6056 || exit 1
6058 @endif dejagnu
6060 .PHONY: maybe-html-dejagnu html-dejagnu
6061 maybe-html-dejagnu:
6062 @if dejagnu
6063 maybe-html-dejagnu: html-dejagnu
6065 html-dejagnu: \
6066 configure-dejagnu
6067 @[ -f ./dejagnu/Makefile ] || exit 0; \
6068 r=`${PWD_COMMAND}`; export r; \
6069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6070 $(SET_LIB_PATH) \
6071 $(HOST_EXPORTS) \
6072 for flag in $(EXTRA_HOST_FLAGS) ; do \
6073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6074 done; \
6075 echo "Doing html in dejagnu" ; \
6076 (cd dejagnu && \
6077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6079 "RANLIB=$${RANLIB}" \
6080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6081 html) \
6082 || exit 1
6084 @endif dejagnu
6086 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6087 maybe-TAGS-dejagnu:
6088 @if dejagnu
6089 maybe-TAGS-dejagnu: TAGS-dejagnu
6091 TAGS-dejagnu: \
6092 configure-dejagnu
6093 @[ -f ./dejagnu/Makefile ] || exit 0; \
6094 r=`${PWD_COMMAND}`; export r; \
6095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6096 $(SET_LIB_PATH) \
6097 $(HOST_EXPORTS) \
6098 for flag in $(EXTRA_HOST_FLAGS) ; do \
6099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6100 done; \
6101 echo "Doing TAGS in dejagnu" ; \
6102 (cd dejagnu && \
6103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6105 "RANLIB=$${RANLIB}" \
6106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6107 TAGS) \
6108 || exit 1
6110 @endif dejagnu
6112 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6113 maybe-install-info-dejagnu:
6114 @if dejagnu
6115 maybe-install-info-dejagnu: install-info-dejagnu
6117 install-info-dejagnu: \
6118 configure-dejagnu \
6119 info-dejagnu
6120 @[ -f ./dejagnu/Makefile ] || exit 0; \
6121 r=`${PWD_COMMAND}`; export r; \
6122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6123 $(SET_LIB_PATH) \
6124 $(HOST_EXPORTS) \
6125 for flag in $(EXTRA_HOST_FLAGS) ; do \
6126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6127 done; \
6128 echo "Doing install-info in dejagnu" ; \
6129 (cd dejagnu && \
6130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6132 "RANLIB=$${RANLIB}" \
6133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6134 install-info) \
6135 || exit 1
6137 @endif dejagnu
6139 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6140 maybe-installcheck-dejagnu:
6141 @if dejagnu
6142 maybe-installcheck-dejagnu: installcheck-dejagnu
6144 installcheck-dejagnu: \
6145 configure-dejagnu
6146 @[ -f ./dejagnu/Makefile ] || exit 0; \
6147 r=`${PWD_COMMAND}`; export r; \
6148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6149 $(SET_LIB_PATH) \
6150 $(HOST_EXPORTS) \
6151 for flag in $(EXTRA_HOST_FLAGS) ; do \
6152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6153 done; \
6154 echo "Doing installcheck in dejagnu" ; \
6155 (cd dejagnu && \
6156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6158 "RANLIB=$${RANLIB}" \
6159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6160 installcheck) \
6161 || exit 1
6163 @endif dejagnu
6165 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6166 maybe-mostlyclean-dejagnu:
6167 @if dejagnu
6168 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6170 mostlyclean-dejagnu:
6171 @[ -f ./dejagnu/Makefile ] || exit 0; \
6172 r=`${PWD_COMMAND}`; export r; \
6173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6174 $(SET_LIB_PATH) \
6175 $(HOST_EXPORTS) \
6176 for flag in $(EXTRA_HOST_FLAGS) ; do \
6177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6178 done; \
6179 echo "Doing mostlyclean in dejagnu" ; \
6180 (cd dejagnu && \
6181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6183 "RANLIB=$${RANLIB}" \
6184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6185 mostlyclean) \
6186 || exit 1
6188 @endif dejagnu
6190 .PHONY: maybe-clean-dejagnu clean-dejagnu
6191 maybe-clean-dejagnu:
6192 @if dejagnu
6193 maybe-clean-dejagnu: clean-dejagnu
6195 clean-dejagnu:
6196 @[ -f ./dejagnu/Makefile ] || exit 0; \
6197 r=`${PWD_COMMAND}`; export r; \
6198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6199 $(SET_LIB_PATH) \
6200 $(HOST_EXPORTS) \
6201 for flag in $(EXTRA_HOST_FLAGS) ; do \
6202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6203 done; \
6204 echo "Doing clean in dejagnu" ; \
6205 (cd dejagnu && \
6206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6208 "RANLIB=$${RANLIB}" \
6209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6210 clean) \
6211 || exit 1
6213 @endif dejagnu
6215 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6216 maybe-distclean-dejagnu:
6217 @if dejagnu
6218 maybe-distclean-dejagnu: distclean-dejagnu
6220 distclean-dejagnu:
6221 @[ -f ./dejagnu/Makefile ] || exit 0; \
6222 r=`${PWD_COMMAND}`; export r; \
6223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6224 $(SET_LIB_PATH) \
6225 $(HOST_EXPORTS) \
6226 for flag in $(EXTRA_HOST_FLAGS) ; do \
6227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6228 done; \
6229 echo "Doing distclean in dejagnu" ; \
6230 (cd dejagnu && \
6231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6233 "RANLIB=$${RANLIB}" \
6234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6235 distclean) \
6236 || exit 1
6238 @endif dejagnu
6240 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6241 maybe-maintainer-clean-dejagnu:
6242 @if dejagnu
6243 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6245 maintainer-clean-dejagnu:
6246 @[ -f ./dejagnu/Makefile ] || exit 0; \
6247 r=`${PWD_COMMAND}`; export r; \
6248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6249 $(SET_LIB_PATH) \
6250 $(HOST_EXPORTS) \
6251 for flag in $(EXTRA_HOST_FLAGS) ; do \
6252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6253 done; \
6254 echo "Doing maintainer-clean in dejagnu" ; \
6255 (cd dejagnu && \
6256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6258 "RANLIB=$${RANLIB}" \
6259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6260 maintainer-clean) \
6261 || exit 1
6263 @endif dejagnu
6266 .PHONY: configure-diff maybe-configure-diff
6267 maybe-configure-diff:
6268 @if diff
6269 maybe-configure-diff: configure-diff
6270 configure-diff:
6271 @test ! -f diff/Makefile || exit 0; \
6272 [ -d diff ] || mkdir diff; \
6273 r=`${PWD_COMMAND}`; export r; \
6274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6275 $(HOST_EXPORTS) \
6276 echo Configuring in diff; \
6277 cd diff || exit 1; \
6278 case $(srcdir) in \
6279 \.) \
6280 srcdiroption="--srcdir=."; \
6281 libsrcdir=".";; \
6282 /* | [A-Za-z]:[\\/]*) \
6283 srcdiroption="--srcdir=$(srcdir)/diff"; \
6284 libsrcdir="$$s/diff";; \
6285 *) \
6286 srcdiroption="--srcdir=../$(srcdir)/diff"; \
6287 libsrcdir="$$s/diff";; \
6288 esac; \
6289 $(SHELL) $${libsrcdir}/configure \
6290 $(HOST_CONFIGARGS) $${srcdiroption} \
6291 || exit 1
6292 @endif diff
6294 .PHONY: all-diff maybe-all-diff
6295 maybe-all-diff:
6296 @if diff
6297 TARGET-diff=all
6298 maybe-all-diff: all-diff
6299 all-diff: configure-diff
6300 @r=`${PWD_COMMAND}`; export r; \
6301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6302 $(SET_LIB_PATH) \
6303 $(HOST_EXPORTS) \
6304 (cd diff && $(MAKE) $(FLAGS_TO_PASS) \
6305 $(TARGET-diff))
6306 @endif diff
6308 .PHONY: check-diff maybe-check-diff
6309 maybe-check-diff:
6310 @if diff
6311 maybe-check-diff: check-diff
6313 check-diff:
6314 @r=`${PWD_COMMAND}`; export r; \
6315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6316 $(SET_LIB_PATH) \
6317 $(HOST_EXPORTS) \
6318 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
6320 @endif diff
6322 .PHONY: install-diff maybe-install-diff
6323 maybe-install-diff:
6324 @if diff
6325 maybe-install-diff: install-diff
6327 install-diff: installdirs
6328 @r=`${PWD_COMMAND}`; export r; \
6329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6330 $(SET_LIB_PATH) \
6331 $(HOST_EXPORTS) \
6332 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
6334 @endif diff
6336 # Other targets (info, dvi, etc.)
6338 .PHONY: maybe-info-diff info-diff
6339 maybe-info-diff:
6340 @if diff
6341 maybe-info-diff: info-diff
6343 info-diff: \
6344 configure-diff
6345 @[ -f ./diff/Makefile ] || exit 0; \
6346 r=`${PWD_COMMAND}`; export r; \
6347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6348 $(SET_LIB_PATH) \
6349 $(HOST_EXPORTS) \
6350 for flag in $(EXTRA_HOST_FLAGS) ; do \
6351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6352 done; \
6353 echo "Doing info in diff" ; \
6354 (cd diff && \
6355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6357 "RANLIB=$${RANLIB}" \
6358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6359 info) \
6360 || exit 1
6362 @endif diff
6364 .PHONY: maybe-dvi-diff dvi-diff
6365 maybe-dvi-diff:
6366 @if diff
6367 maybe-dvi-diff: dvi-diff
6369 dvi-diff: \
6370 configure-diff
6371 @[ -f ./diff/Makefile ] || exit 0; \
6372 r=`${PWD_COMMAND}`; export r; \
6373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6374 $(SET_LIB_PATH) \
6375 $(HOST_EXPORTS) \
6376 for flag in $(EXTRA_HOST_FLAGS) ; do \
6377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6378 done; \
6379 echo "Doing dvi in diff" ; \
6380 (cd diff && \
6381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6383 "RANLIB=$${RANLIB}" \
6384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6385 dvi) \
6386 || exit 1
6388 @endif diff
6390 .PHONY: maybe-html-diff html-diff
6391 maybe-html-diff:
6392 @if diff
6393 maybe-html-diff: html-diff
6395 html-diff: \
6396 configure-diff
6397 @[ -f ./diff/Makefile ] || exit 0; \
6398 r=`${PWD_COMMAND}`; export r; \
6399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6400 $(SET_LIB_PATH) \
6401 $(HOST_EXPORTS) \
6402 for flag in $(EXTRA_HOST_FLAGS) ; do \
6403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6404 done; \
6405 echo "Doing html in diff" ; \
6406 (cd diff && \
6407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6409 "RANLIB=$${RANLIB}" \
6410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6411 html) \
6412 || exit 1
6414 @endif diff
6416 .PHONY: maybe-TAGS-diff TAGS-diff
6417 maybe-TAGS-diff:
6418 @if diff
6419 maybe-TAGS-diff: TAGS-diff
6421 TAGS-diff: \
6422 configure-diff
6423 @[ -f ./diff/Makefile ] || exit 0; \
6424 r=`${PWD_COMMAND}`; export r; \
6425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6426 $(SET_LIB_PATH) \
6427 $(HOST_EXPORTS) \
6428 for flag in $(EXTRA_HOST_FLAGS) ; do \
6429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6430 done; \
6431 echo "Doing TAGS in diff" ; \
6432 (cd diff && \
6433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6435 "RANLIB=$${RANLIB}" \
6436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6437 TAGS) \
6438 || exit 1
6440 @endif diff
6442 .PHONY: maybe-install-info-diff install-info-diff
6443 maybe-install-info-diff:
6444 @if diff
6445 maybe-install-info-diff: install-info-diff
6447 install-info-diff: \
6448 configure-diff \
6449 info-diff
6450 @[ -f ./diff/Makefile ] || exit 0; \
6451 r=`${PWD_COMMAND}`; export r; \
6452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6453 $(SET_LIB_PATH) \
6454 $(HOST_EXPORTS) \
6455 for flag in $(EXTRA_HOST_FLAGS) ; do \
6456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6457 done; \
6458 echo "Doing install-info in diff" ; \
6459 (cd diff && \
6460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6462 "RANLIB=$${RANLIB}" \
6463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6464 install-info) \
6465 || exit 1
6467 @endif diff
6469 .PHONY: maybe-installcheck-diff installcheck-diff
6470 maybe-installcheck-diff:
6471 @if diff
6472 maybe-installcheck-diff: installcheck-diff
6474 installcheck-diff: \
6475 configure-diff
6476 @[ -f ./diff/Makefile ] || exit 0; \
6477 r=`${PWD_COMMAND}`; export r; \
6478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6479 $(SET_LIB_PATH) \
6480 $(HOST_EXPORTS) \
6481 for flag in $(EXTRA_HOST_FLAGS) ; do \
6482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6483 done; \
6484 echo "Doing installcheck in diff" ; \
6485 (cd diff && \
6486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6488 "RANLIB=$${RANLIB}" \
6489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6490 installcheck) \
6491 || exit 1
6493 @endif diff
6495 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6496 maybe-mostlyclean-diff:
6497 @if diff
6498 maybe-mostlyclean-diff: mostlyclean-diff
6500 mostlyclean-diff:
6501 @[ -f ./diff/Makefile ] || exit 0; \
6502 r=`${PWD_COMMAND}`; export r; \
6503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6504 $(SET_LIB_PATH) \
6505 $(HOST_EXPORTS) \
6506 for flag in $(EXTRA_HOST_FLAGS) ; do \
6507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6508 done; \
6509 echo "Doing mostlyclean in diff" ; \
6510 (cd diff && \
6511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6513 "RANLIB=$${RANLIB}" \
6514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6515 mostlyclean) \
6516 || exit 1
6518 @endif diff
6520 .PHONY: maybe-clean-diff clean-diff
6521 maybe-clean-diff:
6522 @if diff
6523 maybe-clean-diff: clean-diff
6525 clean-diff:
6526 @[ -f ./diff/Makefile ] || exit 0; \
6527 r=`${PWD_COMMAND}`; export r; \
6528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6529 $(SET_LIB_PATH) \
6530 $(HOST_EXPORTS) \
6531 for flag in $(EXTRA_HOST_FLAGS) ; do \
6532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6533 done; \
6534 echo "Doing clean in diff" ; \
6535 (cd diff && \
6536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6538 "RANLIB=$${RANLIB}" \
6539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6540 clean) \
6541 || exit 1
6543 @endif diff
6545 .PHONY: maybe-distclean-diff distclean-diff
6546 maybe-distclean-diff:
6547 @if diff
6548 maybe-distclean-diff: distclean-diff
6550 distclean-diff:
6551 @[ -f ./diff/Makefile ] || exit 0; \
6552 r=`${PWD_COMMAND}`; export r; \
6553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6554 $(SET_LIB_PATH) \
6555 $(HOST_EXPORTS) \
6556 for flag in $(EXTRA_HOST_FLAGS) ; do \
6557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6558 done; \
6559 echo "Doing distclean in diff" ; \
6560 (cd diff && \
6561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6563 "RANLIB=$${RANLIB}" \
6564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6565 distclean) \
6566 || exit 1
6568 @endif diff
6570 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6571 maybe-maintainer-clean-diff:
6572 @if diff
6573 maybe-maintainer-clean-diff: maintainer-clean-diff
6575 maintainer-clean-diff:
6576 @[ -f ./diff/Makefile ] || exit 0; \
6577 r=`${PWD_COMMAND}`; export r; \
6578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6579 $(SET_LIB_PATH) \
6580 $(HOST_EXPORTS) \
6581 for flag in $(EXTRA_HOST_FLAGS) ; do \
6582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6583 done; \
6584 echo "Doing maintainer-clean in diff" ; \
6585 (cd diff && \
6586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6588 "RANLIB=$${RANLIB}" \
6589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6590 maintainer-clean) \
6591 || exit 1
6593 @endif diff
6596 .PHONY: configure-dosutils maybe-configure-dosutils
6597 maybe-configure-dosutils:
6598 @if dosutils
6599 maybe-configure-dosutils: configure-dosutils
6600 configure-dosutils:
6601 @test ! -f dosutils/Makefile || exit 0; \
6602 [ -d dosutils ] || mkdir dosutils; \
6603 r=`${PWD_COMMAND}`; export r; \
6604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6605 $(HOST_EXPORTS) \
6606 echo Configuring in dosutils; \
6607 cd dosutils || exit 1; \
6608 case $(srcdir) in \
6609 \.) \
6610 srcdiroption="--srcdir=."; \
6611 libsrcdir=".";; \
6612 /* | [A-Za-z]:[\\/]*) \
6613 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6614 libsrcdir="$$s/dosutils";; \
6615 *) \
6616 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6617 libsrcdir="$$s/dosutils";; \
6618 esac; \
6619 $(SHELL) $${libsrcdir}/configure \
6620 $(HOST_CONFIGARGS) $${srcdiroption} \
6621 || exit 1
6622 @endif dosutils
6624 .PHONY: all-dosutils maybe-all-dosutils
6625 maybe-all-dosutils:
6626 @if dosutils
6627 TARGET-dosutils=all
6628 maybe-all-dosutils: all-dosutils
6629 all-dosutils: configure-dosutils
6630 @r=`${PWD_COMMAND}`; export r; \
6631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6632 $(SET_LIB_PATH) \
6633 $(HOST_EXPORTS) \
6634 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) \
6635 $(TARGET-dosutils))
6636 @endif dosutils
6638 .PHONY: check-dosutils maybe-check-dosutils
6639 maybe-check-dosutils:
6640 @if dosutils
6641 maybe-check-dosutils: check-dosutils
6643 check-dosutils:
6645 @endif dosutils
6647 .PHONY: install-dosutils maybe-install-dosutils
6648 maybe-install-dosutils:
6649 @if dosutils
6650 maybe-install-dosutils: install-dosutils
6652 install-dosutils: installdirs
6653 @r=`${PWD_COMMAND}`; export r; \
6654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6655 $(SET_LIB_PATH) \
6656 $(HOST_EXPORTS) \
6657 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6659 @endif dosutils
6661 # Other targets (info, dvi, etc.)
6663 .PHONY: maybe-info-dosutils info-dosutils
6664 maybe-info-dosutils:
6665 @if dosutils
6666 maybe-info-dosutils: info-dosutils
6668 info-dosutils: \
6669 configure-dosutils
6670 @[ -f ./dosutils/Makefile ] || exit 0; \
6671 r=`${PWD_COMMAND}`; export r; \
6672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6673 $(SET_LIB_PATH) \
6674 $(HOST_EXPORTS) \
6675 for flag in $(EXTRA_HOST_FLAGS) ; do \
6676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6677 done; \
6678 echo "Doing info in dosutils" ; \
6679 (cd dosutils && \
6680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6682 "RANLIB=$${RANLIB}" \
6683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6684 info) \
6685 || exit 1
6687 @endif dosutils
6689 .PHONY: maybe-dvi-dosutils dvi-dosutils
6690 maybe-dvi-dosutils:
6691 @if dosutils
6692 maybe-dvi-dosutils: dvi-dosutils
6694 dvi-dosutils: \
6695 configure-dosutils
6696 @[ -f ./dosutils/Makefile ] || exit 0; \
6697 r=`${PWD_COMMAND}`; export r; \
6698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6699 $(SET_LIB_PATH) \
6700 $(HOST_EXPORTS) \
6701 for flag in $(EXTRA_HOST_FLAGS) ; do \
6702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6703 done; \
6704 echo "Doing dvi in dosutils" ; \
6705 (cd dosutils && \
6706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6708 "RANLIB=$${RANLIB}" \
6709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6710 dvi) \
6711 || exit 1
6713 @endif dosutils
6715 .PHONY: maybe-html-dosutils html-dosutils
6716 maybe-html-dosutils:
6717 @if dosutils
6718 maybe-html-dosutils: html-dosutils
6720 html-dosutils: \
6721 configure-dosutils
6722 @[ -f ./dosutils/Makefile ] || exit 0; \
6723 r=`${PWD_COMMAND}`; export r; \
6724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6725 $(SET_LIB_PATH) \
6726 $(HOST_EXPORTS) \
6727 for flag in $(EXTRA_HOST_FLAGS) ; do \
6728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6729 done; \
6730 echo "Doing html in dosutils" ; \
6731 (cd dosutils && \
6732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6734 "RANLIB=$${RANLIB}" \
6735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6736 html) \
6737 || exit 1
6739 @endif dosutils
6741 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6742 maybe-TAGS-dosutils:
6743 @if dosutils
6744 maybe-TAGS-dosutils: TAGS-dosutils
6746 TAGS-dosutils: \
6747 configure-dosutils
6748 @[ -f ./dosutils/Makefile ] || exit 0; \
6749 r=`${PWD_COMMAND}`; export r; \
6750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6751 $(SET_LIB_PATH) \
6752 $(HOST_EXPORTS) \
6753 for flag in $(EXTRA_HOST_FLAGS) ; do \
6754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6755 done; \
6756 echo "Doing TAGS in dosutils" ; \
6757 (cd dosutils && \
6758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6760 "RANLIB=$${RANLIB}" \
6761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6762 TAGS) \
6763 || exit 1
6765 @endif dosutils
6767 .PHONY: maybe-install-info-dosutils install-info-dosutils
6768 maybe-install-info-dosutils:
6769 @if dosutils
6770 maybe-install-info-dosutils: install-info-dosutils
6772 install-info-dosutils: \
6773 configure-dosutils \
6774 info-dosutils
6775 @[ -f ./dosutils/Makefile ] || exit 0; \
6776 r=`${PWD_COMMAND}`; export r; \
6777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6778 $(SET_LIB_PATH) \
6779 $(HOST_EXPORTS) \
6780 for flag in $(EXTRA_HOST_FLAGS) ; do \
6781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6782 done; \
6783 echo "Doing install-info in dosutils" ; \
6784 (cd dosutils && \
6785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6787 "RANLIB=$${RANLIB}" \
6788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6789 install-info) \
6790 || exit 1
6792 @endif dosutils
6794 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6795 maybe-installcheck-dosutils:
6796 @if dosutils
6797 maybe-installcheck-dosutils: installcheck-dosutils
6799 installcheck-dosutils: \
6800 configure-dosutils
6801 @[ -f ./dosutils/Makefile ] || exit 0; \
6802 r=`${PWD_COMMAND}`; export r; \
6803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6804 $(SET_LIB_PATH) \
6805 $(HOST_EXPORTS) \
6806 for flag in $(EXTRA_HOST_FLAGS) ; do \
6807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6808 done; \
6809 echo "Doing installcheck in dosutils" ; \
6810 (cd dosutils && \
6811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6813 "RANLIB=$${RANLIB}" \
6814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6815 installcheck) \
6816 || exit 1
6818 @endif dosutils
6820 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6821 maybe-mostlyclean-dosutils:
6822 @if dosutils
6823 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6825 mostlyclean-dosutils:
6826 @[ -f ./dosutils/Makefile ] || exit 0; \
6827 r=`${PWD_COMMAND}`; export r; \
6828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6829 $(SET_LIB_PATH) \
6830 $(HOST_EXPORTS) \
6831 for flag in $(EXTRA_HOST_FLAGS) ; do \
6832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6833 done; \
6834 echo "Doing mostlyclean in dosutils" ; \
6835 (cd dosutils && \
6836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6838 "RANLIB=$${RANLIB}" \
6839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6840 mostlyclean) \
6841 || exit 1
6843 @endif dosutils
6845 .PHONY: maybe-clean-dosutils clean-dosutils
6846 maybe-clean-dosutils:
6847 @if dosutils
6848 maybe-clean-dosutils: clean-dosutils
6850 clean-dosutils:
6851 @[ -f ./dosutils/Makefile ] || exit 0; \
6852 r=`${PWD_COMMAND}`; export r; \
6853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6854 $(SET_LIB_PATH) \
6855 $(HOST_EXPORTS) \
6856 for flag in $(EXTRA_HOST_FLAGS) ; do \
6857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6858 done; \
6859 echo "Doing clean in dosutils" ; \
6860 (cd dosutils && \
6861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6863 "RANLIB=$${RANLIB}" \
6864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6865 clean) \
6866 || exit 1
6868 @endif dosutils
6870 .PHONY: maybe-distclean-dosutils distclean-dosutils
6871 maybe-distclean-dosutils:
6872 @if dosutils
6873 maybe-distclean-dosutils: distclean-dosutils
6875 distclean-dosutils:
6876 @[ -f ./dosutils/Makefile ] || exit 0; \
6877 r=`${PWD_COMMAND}`; export r; \
6878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6879 $(SET_LIB_PATH) \
6880 $(HOST_EXPORTS) \
6881 for flag in $(EXTRA_HOST_FLAGS) ; do \
6882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6883 done; \
6884 echo "Doing distclean in dosutils" ; \
6885 (cd dosutils && \
6886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6888 "RANLIB=$${RANLIB}" \
6889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6890 distclean) \
6891 || exit 1
6893 @endif dosutils
6895 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6896 maybe-maintainer-clean-dosutils:
6897 @if dosutils
6898 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6900 maintainer-clean-dosutils:
6901 @[ -f ./dosutils/Makefile ] || exit 0; \
6902 r=`${PWD_COMMAND}`; export r; \
6903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6904 $(SET_LIB_PATH) \
6905 $(HOST_EXPORTS) \
6906 for flag in $(EXTRA_HOST_FLAGS) ; do \
6907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6908 done; \
6909 echo "Doing maintainer-clean in dosutils" ; \
6910 (cd dosutils && \
6911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6913 "RANLIB=$${RANLIB}" \
6914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6915 maintainer-clean) \
6916 || exit 1
6918 @endif dosutils
6921 .PHONY: configure-etc maybe-configure-etc
6922 maybe-configure-etc:
6923 @if etc
6924 maybe-configure-etc: configure-etc
6925 configure-etc:
6926 @test ! -f etc/Makefile || exit 0; \
6927 [ -d etc ] || mkdir etc; \
6928 r=`${PWD_COMMAND}`; export r; \
6929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6930 $(HOST_EXPORTS) \
6931 echo Configuring in etc; \
6932 cd etc || exit 1; \
6933 case $(srcdir) in \
6934 \.) \
6935 srcdiroption="--srcdir=."; \
6936 libsrcdir=".";; \
6937 /* | [A-Za-z]:[\\/]*) \
6938 srcdiroption="--srcdir=$(srcdir)/etc"; \
6939 libsrcdir="$$s/etc";; \
6940 *) \
6941 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6942 libsrcdir="$$s/etc";; \
6943 esac; \
6944 $(SHELL) $${libsrcdir}/configure \
6945 $(HOST_CONFIGARGS) $${srcdiroption} \
6946 || exit 1
6947 @endif etc
6949 .PHONY: all-etc maybe-all-etc
6950 maybe-all-etc:
6951 @if etc
6952 TARGET-etc=all
6953 maybe-all-etc: all-etc
6954 all-etc: configure-etc
6955 @r=`${PWD_COMMAND}`; export r; \
6956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6957 $(SET_LIB_PATH) \
6958 $(HOST_EXPORTS) \
6959 (cd etc && $(MAKE) $(FLAGS_TO_PASS) \
6960 $(TARGET-etc))
6961 @endif etc
6963 .PHONY: check-etc maybe-check-etc
6964 maybe-check-etc:
6965 @if etc
6966 maybe-check-etc: check-etc
6968 check-etc:
6969 @r=`${PWD_COMMAND}`; export r; \
6970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6971 $(SET_LIB_PATH) \
6972 $(HOST_EXPORTS) \
6973 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6975 @endif etc
6977 .PHONY: install-etc maybe-install-etc
6978 maybe-install-etc:
6979 @if etc
6980 maybe-install-etc: install-etc
6982 install-etc: installdirs
6983 @r=`${PWD_COMMAND}`; export r; \
6984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6985 $(SET_LIB_PATH) \
6986 $(HOST_EXPORTS) \
6987 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6989 @endif etc
6991 # Other targets (info, dvi, etc.)
6993 .PHONY: maybe-info-etc info-etc
6994 maybe-info-etc:
6995 @if etc
6996 maybe-info-etc: info-etc
6998 info-etc: \
6999 configure-etc
7000 @[ -f ./etc/Makefile ] || exit 0; \
7001 r=`${PWD_COMMAND}`; export r; \
7002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7003 $(SET_LIB_PATH) \
7004 $(HOST_EXPORTS) \
7005 for flag in $(EXTRA_HOST_FLAGS) ; do \
7006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7007 done; \
7008 echo "Doing info in etc" ; \
7009 (cd etc && \
7010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7012 "RANLIB=$${RANLIB}" \
7013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7014 info) \
7015 || exit 1
7017 @endif etc
7019 .PHONY: maybe-dvi-etc dvi-etc
7020 maybe-dvi-etc:
7021 @if etc
7022 maybe-dvi-etc: dvi-etc
7024 dvi-etc: \
7025 configure-etc
7026 @[ -f ./etc/Makefile ] || exit 0; \
7027 r=`${PWD_COMMAND}`; export r; \
7028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7029 $(SET_LIB_PATH) \
7030 $(HOST_EXPORTS) \
7031 for flag in $(EXTRA_HOST_FLAGS) ; do \
7032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7033 done; \
7034 echo "Doing dvi in etc" ; \
7035 (cd etc && \
7036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7038 "RANLIB=$${RANLIB}" \
7039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7040 dvi) \
7041 || exit 1
7043 @endif etc
7045 .PHONY: maybe-html-etc html-etc
7046 maybe-html-etc:
7047 @if etc
7048 maybe-html-etc: html-etc
7050 html-etc: \
7051 configure-etc
7052 @[ -f ./etc/Makefile ] || exit 0; \
7053 r=`${PWD_COMMAND}`; export r; \
7054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7055 $(SET_LIB_PATH) \
7056 $(HOST_EXPORTS) \
7057 for flag in $(EXTRA_HOST_FLAGS) ; do \
7058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7059 done; \
7060 echo "Doing html in etc" ; \
7061 (cd etc && \
7062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7064 "RANLIB=$${RANLIB}" \
7065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7066 html) \
7067 || exit 1
7069 @endif etc
7071 .PHONY: maybe-TAGS-etc TAGS-etc
7072 maybe-TAGS-etc:
7073 @if etc
7074 maybe-TAGS-etc: TAGS-etc
7076 TAGS-etc: \
7077 configure-etc
7078 @[ -f ./etc/Makefile ] || exit 0; \
7079 r=`${PWD_COMMAND}`; export r; \
7080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7081 $(SET_LIB_PATH) \
7082 $(HOST_EXPORTS) \
7083 for flag in $(EXTRA_HOST_FLAGS) ; do \
7084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7085 done; \
7086 echo "Doing TAGS in etc" ; \
7087 (cd etc && \
7088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7090 "RANLIB=$${RANLIB}" \
7091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7092 TAGS) \
7093 || exit 1
7095 @endif etc
7097 .PHONY: maybe-install-info-etc install-info-etc
7098 maybe-install-info-etc:
7099 @if etc
7100 maybe-install-info-etc: install-info-etc
7102 install-info-etc: \
7103 configure-etc \
7104 info-etc
7105 @[ -f ./etc/Makefile ] || exit 0; \
7106 r=`${PWD_COMMAND}`; export r; \
7107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7108 $(SET_LIB_PATH) \
7109 $(HOST_EXPORTS) \
7110 for flag in $(EXTRA_HOST_FLAGS) ; do \
7111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7112 done; \
7113 echo "Doing install-info in etc" ; \
7114 (cd etc && \
7115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7117 "RANLIB=$${RANLIB}" \
7118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7119 install-info) \
7120 || exit 1
7122 @endif etc
7124 .PHONY: maybe-installcheck-etc installcheck-etc
7125 maybe-installcheck-etc:
7126 @if etc
7127 maybe-installcheck-etc: installcheck-etc
7129 installcheck-etc: \
7130 configure-etc
7131 @[ -f ./etc/Makefile ] || exit 0; \
7132 r=`${PWD_COMMAND}`; export r; \
7133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7134 $(SET_LIB_PATH) \
7135 $(HOST_EXPORTS) \
7136 for flag in $(EXTRA_HOST_FLAGS) ; do \
7137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7138 done; \
7139 echo "Doing installcheck in etc" ; \
7140 (cd etc && \
7141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7143 "RANLIB=$${RANLIB}" \
7144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7145 installcheck) \
7146 || exit 1
7148 @endif etc
7150 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7151 maybe-mostlyclean-etc:
7152 @if etc
7153 maybe-mostlyclean-etc: mostlyclean-etc
7155 mostlyclean-etc:
7156 @[ -f ./etc/Makefile ] || exit 0; \
7157 r=`${PWD_COMMAND}`; export r; \
7158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7159 $(SET_LIB_PATH) \
7160 $(HOST_EXPORTS) \
7161 for flag in $(EXTRA_HOST_FLAGS) ; do \
7162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7163 done; \
7164 echo "Doing mostlyclean in etc" ; \
7165 (cd etc && \
7166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7168 "RANLIB=$${RANLIB}" \
7169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7170 mostlyclean) \
7171 || exit 1
7173 @endif etc
7175 .PHONY: maybe-clean-etc clean-etc
7176 maybe-clean-etc:
7177 @if etc
7178 maybe-clean-etc: clean-etc
7180 clean-etc:
7181 @[ -f ./etc/Makefile ] || exit 0; \
7182 r=`${PWD_COMMAND}`; export r; \
7183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7184 $(SET_LIB_PATH) \
7185 $(HOST_EXPORTS) \
7186 for flag in $(EXTRA_HOST_FLAGS) ; do \
7187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7188 done; \
7189 echo "Doing clean in etc" ; \
7190 (cd etc && \
7191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7193 "RANLIB=$${RANLIB}" \
7194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7195 clean) \
7196 || exit 1
7198 @endif etc
7200 .PHONY: maybe-distclean-etc distclean-etc
7201 maybe-distclean-etc:
7202 @if etc
7203 maybe-distclean-etc: distclean-etc
7205 distclean-etc:
7206 @[ -f ./etc/Makefile ] || exit 0; \
7207 r=`${PWD_COMMAND}`; export r; \
7208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7209 $(SET_LIB_PATH) \
7210 $(HOST_EXPORTS) \
7211 for flag in $(EXTRA_HOST_FLAGS) ; do \
7212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7213 done; \
7214 echo "Doing distclean in etc" ; \
7215 (cd etc && \
7216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7218 "RANLIB=$${RANLIB}" \
7219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7220 distclean) \
7221 || exit 1
7223 @endif etc
7225 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7226 maybe-maintainer-clean-etc:
7227 @if etc
7228 maybe-maintainer-clean-etc: maintainer-clean-etc
7230 maintainer-clean-etc:
7231 @[ -f ./etc/Makefile ] || exit 0; \
7232 r=`${PWD_COMMAND}`; export r; \
7233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7234 $(SET_LIB_PATH) \
7235 $(HOST_EXPORTS) \
7236 for flag in $(EXTRA_HOST_FLAGS) ; do \
7237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7238 done; \
7239 echo "Doing maintainer-clean in etc" ; \
7240 (cd etc && \
7241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7243 "RANLIB=$${RANLIB}" \
7244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7245 maintainer-clean) \
7246 || exit 1
7248 @endif etc
7251 .PHONY: configure-fastjar maybe-configure-fastjar
7252 maybe-configure-fastjar:
7253 @if fastjar
7254 maybe-configure-fastjar: configure-fastjar
7255 configure-fastjar:
7256 @test ! -f fastjar/Makefile || exit 0; \
7257 [ -d fastjar ] || mkdir fastjar; \
7258 r=`${PWD_COMMAND}`; export r; \
7259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7260 $(HOST_EXPORTS) \
7261 echo Configuring in fastjar; \
7262 cd fastjar || exit 1; \
7263 case $(srcdir) in \
7264 \.) \
7265 srcdiroption="--srcdir=."; \
7266 libsrcdir=".";; \
7267 /* | [A-Za-z]:[\\/]*) \
7268 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
7269 libsrcdir="$$s/fastjar";; \
7270 *) \
7271 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
7272 libsrcdir="$$s/fastjar";; \
7273 esac; \
7274 $(SHELL) $${libsrcdir}/configure \
7275 $(HOST_CONFIGARGS) $${srcdiroption} \
7276 || exit 1
7277 @endif fastjar
7279 .PHONY: all-fastjar maybe-all-fastjar
7280 maybe-all-fastjar:
7281 @if fastjar
7282 TARGET-fastjar=all
7283 maybe-all-fastjar: all-fastjar
7284 all-fastjar: configure-fastjar
7285 @r=`${PWD_COMMAND}`; export r; \
7286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7287 $(SET_LIB_PATH) \
7288 $(HOST_EXPORTS) \
7289 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) \
7290 $(TARGET-fastjar))
7291 @endif fastjar
7293 .PHONY: check-fastjar maybe-check-fastjar
7294 maybe-check-fastjar:
7295 @if fastjar
7296 maybe-check-fastjar: check-fastjar
7298 # This module is only tested in a native toolchain.
7299 check-fastjar:
7300 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
7308 @endif fastjar
7310 .PHONY: install-fastjar maybe-install-fastjar
7311 maybe-install-fastjar:
7312 @if fastjar
7313 maybe-install-fastjar: install-fastjar
7315 install-fastjar: installdirs
7316 @r=`${PWD_COMMAND}`; export r; \
7317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7318 $(SET_LIB_PATH) \
7319 $(HOST_EXPORTS) \
7320 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
7322 @endif fastjar
7324 # Other targets (info, dvi, etc.)
7326 .PHONY: maybe-info-fastjar info-fastjar
7327 maybe-info-fastjar:
7328 @if fastjar
7329 maybe-info-fastjar: info-fastjar
7331 info-fastjar: \
7332 configure-fastjar
7333 @[ -f ./fastjar/Makefile ] || exit 0; \
7334 r=`${PWD_COMMAND}`; export r; \
7335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7336 $(SET_LIB_PATH) \
7337 $(HOST_EXPORTS) \
7338 for flag in $(EXTRA_HOST_FLAGS) ; do \
7339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7340 done; \
7341 echo "Doing info in fastjar" ; \
7342 (cd fastjar && \
7343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7345 "RANLIB=$${RANLIB}" \
7346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7347 info) \
7348 || exit 1
7350 @endif fastjar
7352 .PHONY: maybe-dvi-fastjar dvi-fastjar
7353 maybe-dvi-fastjar:
7354 @if fastjar
7355 maybe-dvi-fastjar: dvi-fastjar
7357 dvi-fastjar: \
7358 configure-fastjar
7359 @[ -f ./fastjar/Makefile ] || exit 0; \
7360 r=`${PWD_COMMAND}`; export r; \
7361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7362 $(SET_LIB_PATH) \
7363 $(HOST_EXPORTS) \
7364 for flag in $(EXTRA_HOST_FLAGS) ; do \
7365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7366 done; \
7367 echo "Doing dvi in fastjar" ; \
7368 (cd fastjar && \
7369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7371 "RANLIB=$${RANLIB}" \
7372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7373 dvi) \
7374 || exit 1
7376 @endif fastjar
7378 .PHONY: maybe-html-fastjar html-fastjar
7379 maybe-html-fastjar:
7380 @if fastjar
7381 maybe-html-fastjar: html-fastjar
7383 html-fastjar: \
7384 configure-fastjar
7385 @[ -f ./fastjar/Makefile ] || exit 0; \
7386 r=`${PWD_COMMAND}`; export r; \
7387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7388 $(SET_LIB_PATH) \
7389 $(HOST_EXPORTS) \
7390 for flag in $(EXTRA_HOST_FLAGS) ; do \
7391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7392 done; \
7393 echo "Doing html in fastjar" ; \
7394 (cd fastjar && \
7395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7397 "RANLIB=$${RANLIB}" \
7398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7399 html) \
7400 || exit 1
7402 @endif fastjar
7404 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7405 maybe-TAGS-fastjar:
7406 @if fastjar
7407 maybe-TAGS-fastjar: TAGS-fastjar
7409 TAGS-fastjar: \
7410 configure-fastjar
7411 @[ -f ./fastjar/Makefile ] || exit 0; \
7412 r=`${PWD_COMMAND}`; export r; \
7413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7414 $(SET_LIB_PATH) \
7415 $(HOST_EXPORTS) \
7416 for flag in $(EXTRA_HOST_FLAGS) ; do \
7417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7418 done; \
7419 echo "Doing TAGS in fastjar" ; \
7420 (cd fastjar && \
7421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7423 "RANLIB=$${RANLIB}" \
7424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7425 TAGS) \
7426 || exit 1
7428 @endif fastjar
7430 .PHONY: maybe-install-info-fastjar install-info-fastjar
7431 maybe-install-info-fastjar:
7432 @if fastjar
7433 maybe-install-info-fastjar: install-info-fastjar
7435 install-info-fastjar: \
7436 configure-fastjar \
7437 info-fastjar
7438 @[ -f ./fastjar/Makefile ] || exit 0; \
7439 r=`${PWD_COMMAND}`; export r; \
7440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7441 $(SET_LIB_PATH) \
7442 $(HOST_EXPORTS) \
7443 for flag in $(EXTRA_HOST_FLAGS) ; do \
7444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7445 done; \
7446 echo "Doing install-info in fastjar" ; \
7447 (cd fastjar && \
7448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7450 "RANLIB=$${RANLIB}" \
7451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7452 install-info) \
7453 || exit 1
7455 @endif fastjar
7457 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7458 maybe-installcheck-fastjar:
7459 @if fastjar
7460 maybe-installcheck-fastjar: installcheck-fastjar
7462 installcheck-fastjar: \
7463 configure-fastjar
7464 @[ -f ./fastjar/Makefile ] || exit 0; \
7465 r=`${PWD_COMMAND}`; export r; \
7466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7467 $(SET_LIB_PATH) \
7468 $(HOST_EXPORTS) \
7469 for flag in $(EXTRA_HOST_FLAGS) ; do \
7470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7471 done; \
7472 echo "Doing installcheck in fastjar" ; \
7473 (cd fastjar && \
7474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7476 "RANLIB=$${RANLIB}" \
7477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7478 installcheck) \
7479 || exit 1
7481 @endif fastjar
7483 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7484 maybe-mostlyclean-fastjar:
7485 @if fastjar
7486 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7488 mostlyclean-fastjar:
7489 @[ -f ./fastjar/Makefile ] || exit 0; \
7490 r=`${PWD_COMMAND}`; export r; \
7491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7492 $(SET_LIB_PATH) \
7493 $(HOST_EXPORTS) \
7494 for flag in $(EXTRA_HOST_FLAGS) ; do \
7495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7496 done; \
7497 echo "Doing mostlyclean in fastjar" ; \
7498 (cd fastjar && \
7499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7501 "RANLIB=$${RANLIB}" \
7502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7503 mostlyclean) \
7504 || exit 1
7506 @endif fastjar
7508 .PHONY: maybe-clean-fastjar clean-fastjar
7509 maybe-clean-fastjar:
7510 @if fastjar
7511 maybe-clean-fastjar: clean-fastjar
7513 clean-fastjar:
7514 @[ -f ./fastjar/Makefile ] || exit 0; \
7515 r=`${PWD_COMMAND}`; export r; \
7516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7517 $(SET_LIB_PATH) \
7518 $(HOST_EXPORTS) \
7519 for flag in $(EXTRA_HOST_FLAGS) ; do \
7520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7521 done; \
7522 echo "Doing clean in fastjar" ; \
7523 (cd fastjar && \
7524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7526 "RANLIB=$${RANLIB}" \
7527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7528 clean) \
7529 || exit 1
7531 @endif fastjar
7533 .PHONY: maybe-distclean-fastjar distclean-fastjar
7534 maybe-distclean-fastjar:
7535 @if fastjar
7536 maybe-distclean-fastjar: distclean-fastjar
7538 distclean-fastjar:
7539 @[ -f ./fastjar/Makefile ] || exit 0; \
7540 r=`${PWD_COMMAND}`; export r; \
7541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7542 $(SET_LIB_PATH) \
7543 $(HOST_EXPORTS) \
7544 for flag in $(EXTRA_HOST_FLAGS) ; do \
7545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7546 done; \
7547 echo "Doing distclean in fastjar" ; \
7548 (cd fastjar && \
7549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7551 "RANLIB=$${RANLIB}" \
7552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7553 distclean) \
7554 || exit 1
7556 @endif fastjar
7558 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7559 maybe-maintainer-clean-fastjar:
7560 @if fastjar
7561 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7563 maintainer-clean-fastjar:
7564 @[ -f ./fastjar/Makefile ] || exit 0; \
7565 r=`${PWD_COMMAND}`; export r; \
7566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7567 $(SET_LIB_PATH) \
7568 $(HOST_EXPORTS) \
7569 for flag in $(EXTRA_HOST_FLAGS) ; do \
7570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7571 done; \
7572 echo "Doing maintainer-clean in fastjar" ; \
7573 (cd fastjar && \
7574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7576 "RANLIB=$${RANLIB}" \
7577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7578 maintainer-clean) \
7579 || exit 1
7581 @endif fastjar
7584 .PHONY: configure-fileutils maybe-configure-fileutils
7585 maybe-configure-fileutils:
7586 @if fileutils
7587 maybe-configure-fileutils: configure-fileutils
7588 configure-fileutils:
7589 @test ! -f fileutils/Makefile || exit 0; \
7590 [ -d fileutils ] || mkdir fileutils; \
7591 r=`${PWD_COMMAND}`; export r; \
7592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7593 $(HOST_EXPORTS) \
7594 echo Configuring in fileutils; \
7595 cd fileutils || exit 1; \
7596 case $(srcdir) in \
7597 \.) \
7598 srcdiroption="--srcdir=."; \
7599 libsrcdir=".";; \
7600 /* | [A-Za-z]:[\\/]*) \
7601 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7602 libsrcdir="$$s/fileutils";; \
7603 *) \
7604 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7605 libsrcdir="$$s/fileutils";; \
7606 esac; \
7607 $(SHELL) $${libsrcdir}/configure \
7608 $(HOST_CONFIGARGS) $${srcdiroption} \
7609 || exit 1
7610 @endif fileutils
7612 .PHONY: all-fileutils maybe-all-fileutils
7613 maybe-all-fileutils:
7614 @if fileutils
7615 TARGET-fileutils=all
7616 maybe-all-fileutils: all-fileutils
7617 all-fileutils: configure-fileutils
7618 @r=`${PWD_COMMAND}`; export r; \
7619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7620 $(SET_LIB_PATH) \
7621 $(HOST_EXPORTS) \
7622 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) \
7623 $(TARGET-fileutils))
7624 @endif fileutils
7626 .PHONY: check-fileutils maybe-check-fileutils
7627 maybe-check-fileutils:
7628 @if fileutils
7629 maybe-check-fileutils: check-fileutils
7631 check-fileutils:
7632 @r=`${PWD_COMMAND}`; export r; \
7633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7634 $(SET_LIB_PATH) \
7635 $(HOST_EXPORTS) \
7636 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7638 @endif fileutils
7640 .PHONY: install-fileutils maybe-install-fileutils
7641 maybe-install-fileutils:
7642 @if fileutils
7643 maybe-install-fileutils: install-fileutils
7645 install-fileutils: installdirs
7646 @r=`${PWD_COMMAND}`; export r; \
7647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7648 $(SET_LIB_PATH) \
7649 $(HOST_EXPORTS) \
7650 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7652 @endif fileutils
7654 # Other targets (info, dvi, etc.)
7656 .PHONY: maybe-info-fileutils info-fileutils
7657 maybe-info-fileutils:
7658 @if fileutils
7659 maybe-info-fileutils: info-fileutils
7661 info-fileutils: \
7662 configure-fileutils
7663 @[ -f ./fileutils/Makefile ] || exit 0; \
7664 r=`${PWD_COMMAND}`; export r; \
7665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7666 $(SET_LIB_PATH) \
7667 $(HOST_EXPORTS) \
7668 for flag in $(EXTRA_HOST_FLAGS) ; do \
7669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7670 done; \
7671 echo "Doing info in fileutils" ; \
7672 (cd fileutils && \
7673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7675 "RANLIB=$${RANLIB}" \
7676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7677 info) \
7678 || exit 1
7680 @endif fileutils
7682 .PHONY: maybe-dvi-fileutils dvi-fileutils
7683 maybe-dvi-fileutils:
7684 @if fileutils
7685 maybe-dvi-fileutils: dvi-fileutils
7687 dvi-fileutils: \
7688 configure-fileutils
7689 @[ -f ./fileutils/Makefile ] || exit 0; \
7690 r=`${PWD_COMMAND}`; export r; \
7691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7692 $(SET_LIB_PATH) \
7693 $(HOST_EXPORTS) \
7694 for flag in $(EXTRA_HOST_FLAGS) ; do \
7695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7696 done; \
7697 echo "Doing dvi in fileutils" ; \
7698 (cd fileutils && \
7699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7701 "RANLIB=$${RANLIB}" \
7702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7703 dvi) \
7704 || exit 1
7706 @endif fileutils
7708 .PHONY: maybe-html-fileutils html-fileutils
7709 maybe-html-fileutils:
7710 @if fileutils
7711 maybe-html-fileutils: html-fileutils
7713 html-fileutils: \
7714 configure-fileutils
7715 @[ -f ./fileutils/Makefile ] || exit 0; \
7716 r=`${PWD_COMMAND}`; export r; \
7717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7718 $(SET_LIB_PATH) \
7719 $(HOST_EXPORTS) \
7720 for flag in $(EXTRA_HOST_FLAGS) ; do \
7721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7722 done; \
7723 echo "Doing html in fileutils" ; \
7724 (cd fileutils && \
7725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7727 "RANLIB=$${RANLIB}" \
7728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7729 html) \
7730 || exit 1
7732 @endif fileutils
7734 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7735 maybe-TAGS-fileutils:
7736 @if fileutils
7737 maybe-TAGS-fileutils: TAGS-fileutils
7739 TAGS-fileutils: \
7740 configure-fileutils
7741 @[ -f ./fileutils/Makefile ] || exit 0; \
7742 r=`${PWD_COMMAND}`; export r; \
7743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7744 $(SET_LIB_PATH) \
7745 $(HOST_EXPORTS) \
7746 for flag in $(EXTRA_HOST_FLAGS) ; do \
7747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7748 done; \
7749 echo "Doing TAGS in fileutils" ; \
7750 (cd fileutils && \
7751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7753 "RANLIB=$${RANLIB}" \
7754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7755 TAGS) \
7756 || exit 1
7758 @endif fileutils
7760 .PHONY: maybe-install-info-fileutils install-info-fileutils
7761 maybe-install-info-fileutils:
7762 @if fileutils
7763 maybe-install-info-fileutils: install-info-fileutils
7765 install-info-fileutils: \
7766 configure-fileutils \
7767 info-fileutils
7768 @[ -f ./fileutils/Makefile ] || exit 0; \
7769 r=`${PWD_COMMAND}`; export r; \
7770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7771 $(SET_LIB_PATH) \
7772 $(HOST_EXPORTS) \
7773 for flag in $(EXTRA_HOST_FLAGS) ; do \
7774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7775 done; \
7776 echo "Doing install-info in fileutils" ; \
7777 (cd fileutils && \
7778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7780 "RANLIB=$${RANLIB}" \
7781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7782 install-info) \
7783 || exit 1
7785 @endif fileutils
7787 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7788 maybe-installcheck-fileutils:
7789 @if fileutils
7790 maybe-installcheck-fileutils: installcheck-fileutils
7792 installcheck-fileutils: \
7793 configure-fileutils
7794 @[ -f ./fileutils/Makefile ] || exit 0; \
7795 r=`${PWD_COMMAND}`; export r; \
7796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7797 $(SET_LIB_PATH) \
7798 $(HOST_EXPORTS) \
7799 for flag in $(EXTRA_HOST_FLAGS) ; do \
7800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7801 done; \
7802 echo "Doing installcheck in fileutils" ; \
7803 (cd fileutils && \
7804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7806 "RANLIB=$${RANLIB}" \
7807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7808 installcheck) \
7809 || exit 1
7811 @endif fileutils
7813 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7814 maybe-mostlyclean-fileutils:
7815 @if fileutils
7816 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7818 mostlyclean-fileutils:
7819 @[ -f ./fileutils/Makefile ] || exit 0; \
7820 r=`${PWD_COMMAND}`; export r; \
7821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7822 $(SET_LIB_PATH) \
7823 $(HOST_EXPORTS) \
7824 for flag in $(EXTRA_HOST_FLAGS) ; do \
7825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7826 done; \
7827 echo "Doing mostlyclean in fileutils" ; \
7828 (cd fileutils && \
7829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7831 "RANLIB=$${RANLIB}" \
7832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7833 mostlyclean) \
7834 || exit 1
7836 @endif fileutils
7838 .PHONY: maybe-clean-fileutils clean-fileutils
7839 maybe-clean-fileutils:
7840 @if fileutils
7841 maybe-clean-fileutils: clean-fileutils
7843 clean-fileutils:
7844 @[ -f ./fileutils/Makefile ] || exit 0; \
7845 r=`${PWD_COMMAND}`; export r; \
7846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7847 $(SET_LIB_PATH) \
7848 $(HOST_EXPORTS) \
7849 for flag in $(EXTRA_HOST_FLAGS) ; do \
7850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7851 done; \
7852 echo "Doing clean in fileutils" ; \
7853 (cd fileutils && \
7854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7856 "RANLIB=$${RANLIB}" \
7857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7858 clean) \
7859 || exit 1
7861 @endif fileutils
7863 .PHONY: maybe-distclean-fileutils distclean-fileutils
7864 maybe-distclean-fileutils:
7865 @if fileutils
7866 maybe-distclean-fileutils: distclean-fileutils
7868 distclean-fileutils:
7869 @[ -f ./fileutils/Makefile ] || exit 0; \
7870 r=`${PWD_COMMAND}`; export r; \
7871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7872 $(SET_LIB_PATH) \
7873 $(HOST_EXPORTS) \
7874 for flag in $(EXTRA_HOST_FLAGS) ; do \
7875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7876 done; \
7877 echo "Doing distclean in fileutils" ; \
7878 (cd fileutils && \
7879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7881 "RANLIB=$${RANLIB}" \
7882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7883 distclean) \
7884 || exit 1
7886 @endif fileutils
7888 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7889 maybe-maintainer-clean-fileutils:
7890 @if fileutils
7891 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7893 maintainer-clean-fileutils:
7894 @[ -f ./fileutils/Makefile ] || exit 0; \
7895 r=`${PWD_COMMAND}`; export r; \
7896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7897 $(SET_LIB_PATH) \
7898 $(HOST_EXPORTS) \
7899 for flag in $(EXTRA_HOST_FLAGS) ; do \
7900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7901 done; \
7902 echo "Doing maintainer-clean in fileutils" ; \
7903 (cd fileutils && \
7904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7906 "RANLIB=$${RANLIB}" \
7907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7908 maintainer-clean) \
7909 || exit 1
7911 @endif fileutils
7914 .PHONY: configure-findutils maybe-configure-findutils
7915 maybe-configure-findutils:
7916 @if findutils
7917 maybe-configure-findutils: configure-findutils
7918 configure-findutils:
7919 @test ! -f findutils/Makefile || exit 0; \
7920 [ -d findutils ] || mkdir findutils; \
7921 r=`${PWD_COMMAND}`; export r; \
7922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7923 $(HOST_EXPORTS) \
7924 echo Configuring in findutils; \
7925 cd findutils || exit 1; \
7926 case $(srcdir) in \
7927 \.) \
7928 srcdiroption="--srcdir=."; \
7929 libsrcdir=".";; \
7930 /* | [A-Za-z]:[\\/]*) \
7931 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7932 libsrcdir="$$s/findutils";; \
7933 *) \
7934 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7935 libsrcdir="$$s/findutils";; \
7936 esac; \
7937 $(SHELL) $${libsrcdir}/configure \
7938 $(HOST_CONFIGARGS) $${srcdiroption} \
7939 || exit 1
7940 @endif findutils
7942 .PHONY: all-findutils maybe-all-findutils
7943 maybe-all-findutils:
7944 @if findutils
7945 TARGET-findutils=all
7946 maybe-all-findutils: all-findutils
7947 all-findutils: configure-findutils
7948 @r=`${PWD_COMMAND}`; export r; \
7949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7950 $(SET_LIB_PATH) \
7951 $(HOST_EXPORTS) \
7952 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) \
7953 $(TARGET-findutils))
7954 @endif findutils
7956 .PHONY: check-findutils maybe-check-findutils
7957 maybe-check-findutils:
7958 @if findutils
7959 maybe-check-findutils: check-findutils
7961 check-findutils:
7962 @r=`${PWD_COMMAND}`; export r; \
7963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7964 $(SET_LIB_PATH) \
7965 $(HOST_EXPORTS) \
7966 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7968 @endif findutils
7970 .PHONY: install-findutils maybe-install-findutils
7971 maybe-install-findutils:
7972 @if findutils
7973 maybe-install-findutils: install-findutils
7975 install-findutils: installdirs
7976 @r=`${PWD_COMMAND}`; export r; \
7977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7978 $(SET_LIB_PATH) \
7979 $(HOST_EXPORTS) \
7980 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7982 @endif findutils
7984 # Other targets (info, dvi, etc.)
7986 .PHONY: maybe-info-findutils info-findutils
7987 maybe-info-findutils:
7988 @if findutils
7989 maybe-info-findutils: info-findutils
7991 info-findutils: \
7992 configure-findutils
7993 @[ -f ./findutils/Makefile ] || exit 0; \
7994 r=`${PWD_COMMAND}`; export r; \
7995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7996 $(SET_LIB_PATH) \
7997 $(HOST_EXPORTS) \
7998 for flag in $(EXTRA_HOST_FLAGS) ; do \
7999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8000 done; \
8001 echo "Doing info in findutils" ; \
8002 (cd findutils && \
8003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8005 "RANLIB=$${RANLIB}" \
8006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8007 info) \
8008 || exit 1
8010 @endif findutils
8012 .PHONY: maybe-dvi-findutils dvi-findutils
8013 maybe-dvi-findutils:
8014 @if findutils
8015 maybe-dvi-findutils: dvi-findutils
8017 dvi-findutils: \
8018 configure-findutils
8019 @[ -f ./findutils/Makefile ] || exit 0; \
8020 r=`${PWD_COMMAND}`; export r; \
8021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8022 $(SET_LIB_PATH) \
8023 $(HOST_EXPORTS) \
8024 for flag in $(EXTRA_HOST_FLAGS) ; do \
8025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8026 done; \
8027 echo "Doing dvi in findutils" ; \
8028 (cd findutils && \
8029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8031 "RANLIB=$${RANLIB}" \
8032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8033 dvi) \
8034 || exit 1
8036 @endif findutils
8038 .PHONY: maybe-html-findutils html-findutils
8039 maybe-html-findutils:
8040 @if findutils
8041 maybe-html-findutils: html-findutils
8043 html-findutils: \
8044 configure-findutils
8045 @[ -f ./findutils/Makefile ] || exit 0; \
8046 r=`${PWD_COMMAND}`; export r; \
8047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8048 $(SET_LIB_PATH) \
8049 $(HOST_EXPORTS) \
8050 for flag in $(EXTRA_HOST_FLAGS) ; do \
8051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8052 done; \
8053 echo "Doing html in findutils" ; \
8054 (cd findutils && \
8055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8057 "RANLIB=$${RANLIB}" \
8058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8059 html) \
8060 || exit 1
8062 @endif findutils
8064 .PHONY: maybe-TAGS-findutils TAGS-findutils
8065 maybe-TAGS-findutils:
8066 @if findutils
8067 maybe-TAGS-findutils: TAGS-findutils
8069 TAGS-findutils: \
8070 configure-findutils
8071 @[ -f ./findutils/Makefile ] || exit 0; \
8072 r=`${PWD_COMMAND}`; export r; \
8073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8074 $(SET_LIB_PATH) \
8075 $(HOST_EXPORTS) \
8076 for flag in $(EXTRA_HOST_FLAGS) ; do \
8077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8078 done; \
8079 echo "Doing TAGS in findutils" ; \
8080 (cd findutils && \
8081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8083 "RANLIB=$${RANLIB}" \
8084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8085 TAGS) \
8086 || exit 1
8088 @endif findutils
8090 .PHONY: maybe-install-info-findutils install-info-findutils
8091 maybe-install-info-findutils:
8092 @if findutils
8093 maybe-install-info-findutils: install-info-findutils
8095 install-info-findutils: \
8096 configure-findutils \
8097 info-findutils
8098 @[ -f ./findutils/Makefile ] || exit 0; \
8099 r=`${PWD_COMMAND}`; export r; \
8100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8101 $(SET_LIB_PATH) \
8102 $(HOST_EXPORTS) \
8103 for flag in $(EXTRA_HOST_FLAGS) ; do \
8104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8105 done; \
8106 echo "Doing install-info in findutils" ; \
8107 (cd findutils && \
8108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8110 "RANLIB=$${RANLIB}" \
8111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8112 install-info) \
8113 || exit 1
8115 @endif findutils
8117 .PHONY: maybe-installcheck-findutils installcheck-findutils
8118 maybe-installcheck-findutils:
8119 @if findutils
8120 maybe-installcheck-findutils: installcheck-findutils
8122 installcheck-findutils: \
8123 configure-findutils
8124 @[ -f ./findutils/Makefile ] || exit 0; \
8125 r=`${PWD_COMMAND}`; export r; \
8126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8127 $(SET_LIB_PATH) \
8128 $(HOST_EXPORTS) \
8129 for flag in $(EXTRA_HOST_FLAGS) ; do \
8130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8131 done; \
8132 echo "Doing installcheck in findutils" ; \
8133 (cd findutils && \
8134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8136 "RANLIB=$${RANLIB}" \
8137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8138 installcheck) \
8139 || exit 1
8141 @endif findutils
8143 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
8144 maybe-mostlyclean-findutils:
8145 @if findutils
8146 maybe-mostlyclean-findutils: mostlyclean-findutils
8148 mostlyclean-findutils:
8149 @[ -f ./findutils/Makefile ] || exit 0; \
8150 r=`${PWD_COMMAND}`; export r; \
8151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8152 $(SET_LIB_PATH) \
8153 $(HOST_EXPORTS) \
8154 for flag in $(EXTRA_HOST_FLAGS) ; do \
8155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8156 done; \
8157 echo "Doing mostlyclean in findutils" ; \
8158 (cd findutils && \
8159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8161 "RANLIB=$${RANLIB}" \
8162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8163 mostlyclean) \
8164 || exit 1
8166 @endif findutils
8168 .PHONY: maybe-clean-findutils clean-findutils
8169 maybe-clean-findutils:
8170 @if findutils
8171 maybe-clean-findutils: clean-findutils
8173 clean-findutils:
8174 @[ -f ./findutils/Makefile ] || exit 0; \
8175 r=`${PWD_COMMAND}`; export r; \
8176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8177 $(SET_LIB_PATH) \
8178 $(HOST_EXPORTS) \
8179 for flag in $(EXTRA_HOST_FLAGS) ; do \
8180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8181 done; \
8182 echo "Doing clean in findutils" ; \
8183 (cd findutils && \
8184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8186 "RANLIB=$${RANLIB}" \
8187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8188 clean) \
8189 || exit 1
8191 @endif findutils
8193 .PHONY: maybe-distclean-findutils distclean-findutils
8194 maybe-distclean-findutils:
8195 @if findutils
8196 maybe-distclean-findutils: distclean-findutils
8198 distclean-findutils:
8199 @[ -f ./findutils/Makefile ] || exit 0; \
8200 r=`${PWD_COMMAND}`; export r; \
8201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8202 $(SET_LIB_PATH) \
8203 $(HOST_EXPORTS) \
8204 for flag in $(EXTRA_HOST_FLAGS) ; do \
8205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8206 done; \
8207 echo "Doing distclean in findutils" ; \
8208 (cd findutils && \
8209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8211 "RANLIB=$${RANLIB}" \
8212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8213 distclean) \
8214 || exit 1
8216 @endif findutils
8218 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
8219 maybe-maintainer-clean-findutils:
8220 @if findutils
8221 maybe-maintainer-clean-findutils: maintainer-clean-findutils
8223 maintainer-clean-findutils:
8224 @[ -f ./findutils/Makefile ] || exit 0; \
8225 r=`${PWD_COMMAND}`; export r; \
8226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8227 $(SET_LIB_PATH) \
8228 $(HOST_EXPORTS) \
8229 for flag in $(EXTRA_HOST_FLAGS) ; do \
8230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8231 done; \
8232 echo "Doing maintainer-clean in findutils" ; \
8233 (cd findutils && \
8234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8236 "RANLIB=$${RANLIB}" \
8237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8238 maintainer-clean) \
8239 || exit 1
8241 @endif findutils
8244 .PHONY: configure-find maybe-configure-find
8245 maybe-configure-find:
8246 @if find
8247 maybe-configure-find: configure-find
8248 configure-find:
8249 @test ! -f find/Makefile || exit 0; \
8250 [ -d find ] || mkdir find; \
8251 r=`${PWD_COMMAND}`; export r; \
8252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8253 $(HOST_EXPORTS) \
8254 echo Configuring in find; \
8255 cd find || exit 1; \
8256 case $(srcdir) in \
8257 \.) \
8258 srcdiroption="--srcdir=."; \
8259 libsrcdir=".";; \
8260 /* | [A-Za-z]:[\\/]*) \
8261 srcdiroption="--srcdir=$(srcdir)/find"; \
8262 libsrcdir="$$s/find";; \
8263 *) \
8264 srcdiroption="--srcdir=../$(srcdir)/find"; \
8265 libsrcdir="$$s/find";; \
8266 esac; \
8267 $(SHELL) $${libsrcdir}/configure \
8268 $(HOST_CONFIGARGS) $${srcdiroption} \
8269 || exit 1
8270 @endif find
8272 .PHONY: all-find maybe-all-find
8273 maybe-all-find:
8274 @if find
8275 TARGET-find=all
8276 maybe-all-find: all-find
8277 all-find: configure-find
8278 @r=`${PWD_COMMAND}`; export r; \
8279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8280 $(SET_LIB_PATH) \
8281 $(HOST_EXPORTS) \
8282 (cd find && $(MAKE) $(FLAGS_TO_PASS) \
8283 $(TARGET-find))
8284 @endif find
8286 .PHONY: check-find maybe-check-find
8287 maybe-check-find:
8288 @if find
8289 maybe-check-find: check-find
8291 check-find:
8292 @r=`${PWD_COMMAND}`; export r; \
8293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8294 $(SET_LIB_PATH) \
8295 $(HOST_EXPORTS) \
8296 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
8298 @endif find
8300 .PHONY: install-find maybe-install-find
8301 maybe-install-find:
8302 @if find
8303 maybe-install-find: install-find
8305 install-find: installdirs
8306 @r=`${PWD_COMMAND}`; export r; \
8307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8308 $(SET_LIB_PATH) \
8309 $(HOST_EXPORTS) \
8310 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
8312 @endif find
8314 # Other targets (info, dvi, etc.)
8316 .PHONY: maybe-info-find info-find
8317 maybe-info-find:
8318 @if find
8319 maybe-info-find: info-find
8321 info-find: \
8322 configure-find
8323 @[ -f ./find/Makefile ] || exit 0; \
8324 r=`${PWD_COMMAND}`; export r; \
8325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8326 $(SET_LIB_PATH) \
8327 $(HOST_EXPORTS) \
8328 for flag in $(EXTRA_HOST_FLAGS) ; do \
8329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8330 done; \
8331 echo "Doing info in find" ; \
8332 (cd find && \
8333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8335 "RANLIB=$${RANLIB}" \
8336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8337 info) \
8338 || exit 1
8340 @endif find
8342 .PHONY: maybe-dvi-find dvi-find
8343 maybe-dvi-find:
8344 @if find
8345 maybe-dvi-find: dvi-find
8347 dvi-find: \
8348 configure-find
8349 @[ -f ./find/Makefile ] || exit 0; \
8350 r=`${PWD_COMMAND}`; export r; \
8351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8352 $(SET_LIB_PATH) \
8353 $(HOST_EXPORTS) \
8354 for flag in $(EXTRA_HOST_FLAGS) ; do \
8355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8356 done; \
8357 echo "Doing dvi in find" ; \
8358 (cd find && \
8359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8361 "RANLIB=$${RANLIB}" \
8362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8363 dvi) \
8364 || exit 1
8366 @endif find
8368 .PHONY: maybe-html-find html-find
8369 maybe-html-find:
8370 @if find
8371 maybe-html-find: html-find
8373 html-find: \
8374 configure-find
8375 @[ -f ./find/Makefile ] || exit 0; \
8376 r=`${PWD_COMMAND}`; export r; \
8377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8378 $(SET_LIB_PATH) \
8379 $(HOST_EXPORTS) \
8380 for flag in $(EXTRA_HOST_FLAGS) ; do \
8381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8382 done; \
8383 echo "Doing html in find" ; \
8384 (cd find && \
8385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8387 "RANLIB=$${RANLIB}" \
8388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8389 html) \
8390 || exit 1
8392 @endif find
8394 .PHONY: maybe-TAGS-find TAGS-find
8395 maybe-TAGS-find:
8396 @if find
8397 maybe-TAGS-find: TAGS-find
8399 TAGS-find: \
8400 configure-find
8401 @[ -f ./find/Makefile ] || exit 0; \
8402 r=`${PWD_COMMAND}`; export r; \
8403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8404 $(SET_LIB_PATH) \
8405 $(HOST_EXPORTS) \
8406 for flag in $(EXTRA_HOST_FLAGS) ; do \
8407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8408 done; \
8409 echo "Doing TAGS in find" ; \
8410 (cd find && \
8411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8413 "RANLIB=$${RANLIB}" \
8414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8415 TAGS) \
8416 || exit 1
8418 @endif find
8420 .PHONY: maybe-install-info-find install-info-find
8421 maybe-install-info-find:
8422 @if find
8423 maybe-install-info-find: install-info-find
8425 install-info-find: \
8426 configure-find \
8427 info-find
8428 @[ -f ./find/Makefile ] || exit 0; \
8429 r=`${PWD_COMMAND}`; export r; \
8430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8431 $(SET_LIB_PATH) \
8432 $(HOST_EXPORTS) \
8433 for flag in $(EXTRA_HOST_FLAGS) ; do \
8434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8435 done; \
8436 echo "Doing install-info in find" ; \
8437 (cd find && \
8438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8440 "RANLIB=$${RANLIB}" \
8441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8442 install-info) \
8443 || exit 1
8445 @endif find
8447 .PHONY: maybe-installcheck-find installcheck-find
8448 maybe-installcheck-find:
8449 @if find
8450 maybe-installcheck-find: installcheck-find
8452 installcheck-find: \
8453 configure-find
8454 @[ -f ./find/Makefile ] || exit 0; \
8455 r=`${PWD_COMMAND}`; export r; \
8456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8457 $(SET_LIB_PATH) \
8458 $(HOST_EXPORTS) \
8459 for flag in $(EXTRA_HOST_FLAGS) ; do \
8460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8461 done; \
8462 echo "Doing installcheck in find" ; \
8463 (cd find && \
8464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8466 "RANLIB=$${RANLIB}" \
8467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8468 installcheck) \
8469 || exit 1
8471 @endif find
8473 .PHONY: maybe-mostlyclean-find mostlyclean-find
8474 maybe-mostlyclean-find:
8475 @if find
8476 maybe-mostlyclean-find: mostlyclean-find
8478 mostlyclean-find:
8479 @[ -f ./find/Makefile ] || exit 0; \
8480 r=`${PWD_COMMAND}`; export r; \
8481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8482 $(SET_LIB_PATH) \
8483 $(HOST_EXPORTS) \
8484 for flag in $(EXTRA_HOST_FLAGS) ; do \
8485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8486 done; \
8487 echo "Doing mostlyclean in find" ; \
8488 (cd find && \
8489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8491 "RANLIB=$${RANLIB}" \
8492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8493 mostlyclean) \
8494 || exit 1
8496 @endif find
8498 .PHONY: maybe-clean-find clean-find
8499 maybe-clean-find:
8500 @if find
8501 maybe-clean-find: clean-find
8503 clean-find:
8504 @[ -f ./find/Makefile ] || exit 0; \
8505 r=`${PWD_COMMAND}`; export r; \
8506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8507 $(SET_LIB_PATH) \
8508 $(HOST_EXPORTS) \
8509 for flag in $(EXTRA_HOST_FLAGS) ; do \
8510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8511 done; \
8512 echo "Doing clean in find" ; \
8513 (cd find && \
8514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8516 "RANLIB=$${RANLIB}" \
8517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8518 clean) \
8519 || exit 1
8521 @endif find
8523 .PHONY: maybe-distclean-find distclean-find
8524 maybe-distclean-find:
8525 @if find
8526 maybe-distclean-find: distclean-find
8528 distclean-find:
8529 @[ -f ./find/Makefile ] || exit 0; \
8530 r=`${PWD_COMMAND}`; export r; \
8531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8532 $(SET_LIB_PATH) \
8533 $(HOST_EXPORTS) \
8534 for flag in $(EXTRA_HOST_FLAGS) ; do \
8535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8536 done; \
8537 echo "Doing distclean in find" ; \
8538 (cd find && \
8539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8541 "RANLIB=$${RANLIB}" \
8542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8543 distclean) \
8544 || exit 1
8546 @endif find
8548 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
8549 maybe-maintainer-clean-find:
8550 @if find
8551 maybe-maintainer-clean-find: maintainer-clean-find
8553 maintainer-clean-find:
8554 @[ -f ./find/Makefile ] || exit 0; \
8555 r=`${PWD_COMMAND}`; export r; \
8556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8557 $(SET_LIB_PATH) \
8558 $(HOST_EXPORTS) \
8559 for flag in $(EXTRA_HOST_FLAGS) ; do \
8560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8561 done; \
8562 echo "Doing maintainer-clean in find" ; \
8563 (cd find && \
8564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8566 "RANLIB=$${RANLIB}" \
8567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8568 maintainer-clean) \
8569 || exit 1
8571 @endif find
8574 .PHONY: configure-fixincludes maybe-configure-fixincludes
8575 maybe-configure-fixincludes:
8576 @if fixincludes
8577 maybe-configure-fixincludes: configure-fixincludes
8578 configure-fixincludes:
8579 @test ! -f fixincludes/Makefile || exit 0; \
8580 [ -d fixincludes ] || mkdir fixincludes; \
8581 r=`${PWD_COMMAND}`; export r; \
8582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8583 $(HOST_EXPORTS) \
8584 echo Configuring in fixincludes; \
8585 cd fixincludes || exit 1; \
8586 case $(srcdir) in \
8587 \.) \
8588 srcdiroption="--srcdir=."; \
8589 libsrcdir=".";; \
8590 /* | [A-Za-z]:[\\/]*) \
8591 srcdiroption="--srcdir=$(srcdir)/fixincludes"; \
8592 libsrcdir="$$s/fixincludes";; \
8593 *) \
8594 srcdiroption="--srcdir=../$(srcdir)/fixincludes"; \
8595 libsrcdir="$$s/fixincludes";; \
8596 esac; \
8597 $(SHELL) $${libsrcdir}/configure \
8598 $(HOST_CONFIGARGS) $${srcdiroption} \
8599 || exit 1
8600 @endif fixincludes
8602 .PHONY: all-fixincludes maybe-all-fixincludes
8603 maybe-all-fixincludes:
8604 @if fixincludes
8605 TARGET-fixincludes=all
8606 maybe-all-fixincludes: all-fixincludes
8607 all-fixincludes: configure-fixincludes
8608 @r=`${PWD_COMMAND}`; export r; \
8609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8610 $(SET_LIB_PATH) \
8611 $(HOST_EXPORTS) \
8612 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) \
8613 $(TARGET-fixincludes))
8614 @endif fixincludes
8616 .PHONY: check-fixincludes maybe-check-fixincludes
8617 maybe-check-fixincludes:
8618 @if fixincludes
8619 maybe-check-fixincludes: check-fixincludes
8621 check-fixincludes:
8622 @r=`${PWD_COMMAND}`; export r; \
8623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8624 $(SET_LIB_PATH) \
8625 $(HOST_EXPORTS) \
8626 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) check)
8628 @endif fixincludes
8630 .PHONY: install-fixincludes maybe-install-fixincludes
8631 maybe-install-fixincludes:
8632 @if fixincludes
8633 maybe-install-fixincludes: install-fixincludes
8635 install-fixincludes: installdirs
8636 @r=`${PWD_COMMAND}`; export r; \
8637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8638 $(SET_LIB_PATH) \
8639 $(HOST_EXPORTS) \
8640 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) install)
8642 @endif fixincludes
8644 # Other targets (info, dvi, etc.)
8646 .PHONY: maybe-info-fixincludes info-fixincludes
8647 maybe-info-fixincludes:
8648 @if fixincludes
8649 maybe-info-fixincludes: info-fixincludes
8651 # fixincludes doesn't support info.
8652 info-fixincludes:
8654 @endif fixincludes
8656 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8657 maybe-dvi-fixincludes:
8658 @if fixincludes
8659 maybe-dvi-fixincludes: dvi-fixincludes
8661 # fixincludes doesn't support dvi.
8662 dvi-fixincludes:
8664 @endif fixincludes
8666 .PHONY: maybe-html-fixincludes html-fixincludes
8667 maybe-html-fixincludes:
8668 @if fixincludes
8669 maybe-html-fixincludes: html-fixincludes
8671 html-fixincludes: \
8672 configure-fixincludes
8673 @[ -f ./fixincludes/Makefile ] || exit 0; \
8674 r=`${PWD_COMMAND}`; export r; \
8675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8676 $(SET_LIB_PATH) \
8677 $(HOST_EXPORTS) \
8678 for flag in $(EXTRA_HOST_FLAGS) ; do \
8679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8680 done; \
8681 echo "Doing html in fixincludes" ; \
8682 (cd fixincludes && \
8683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8685 "RANLIB=$${RANLIB}" \
8686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8687 html) \
8688 || exit 1
8690 @endif fixincludes
8692 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8693 maybe-TAGS-fixincludes:
8694 @if fixincludes
8695 maybe-TAGS-fixincludes: TAGS-fixincludes
8697 # fixincludes doesn't support TAGS.
8698 TAGS-fixincludes:
8700 @endif fixincludes
8702 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8703 maybe-install-info-fixincludes:
8704 @if fixincludes
8705 maybe-install-info-fixincludes: install-info-fixincludes
8707 # fixincludes doesn't support install-info.
8708 install-info-fixincludes:
8710 @endif fixincludes
8712 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8713 maybe-installcheck-fixincludes:
8714 @if fixincludes
8715 maybe-installcheck-fixincludes: installcheck-fixincludes
8717 # fixincludes doesn't support installcheck.
8718 installcheck-fixincludes:
8720 @endif fixincludes
8722 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8723 maybe-mostlyclean-fixincludes:
8724 @if fixincludes
8725 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8727 mostlyclean-fixincludes:
8728 @[ -f ./fixincludes/Makefile ] || exit 0; \
8729 r=`${PWD_COMMAND}`; export r; \
8730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8731 $(SET_LIB_PATH) \
8732 $(HOST_EXPORTS) \
8733 for flag in $(EXTRA_HOST_FLAGS) ; do \
8734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8735 done; \
8736 echo "Doing mostlyclean in fixincludes" ; \
8737 (cd fixincludes && \
8738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8740 "RANLIB=$${RANLIB}" \
8741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8742 mostlyclean) \
8743 || exit 1
8745 @endif fixincludes
8747 .PHONY: maybe-clean-fixincludes clean-fixincludes
8748 maybe-clean-fixincludes:
8749 @if fixincludes
8750 maybe-clean-fixincludes: clean-fixincludes
8752 clean-fixincludes:
8753 @[ -f ./fixincludes/Makefile ] || exit 0; \
8754 r=`${PWD_COMMAND}`; export r; \
8755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8756 $(SET_LIB_PATH) \
8757 $(HOST_EXPORTS) \
8758 for flag in $(EXTRA_HOST_FLAGS) ; do \
8759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8760 done; \
8761 echo "Doing clean in fixincludes" ; \
8762 (cd fixincludes && \
8763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8765 "RANLIB=$${RANLIB}" \
8766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8767 clean) \
8768 || exit 1
8770 @endif fixincludes
8772 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8773 maybe-distclean-fixincludes:
8774 @if fixincludes
8775 maybe-distclean-fixincludes: distclean-fixincludes
8777 distclean-fixincludes:
8778 @[ -f ./fixincludes/Makefile ] || exit 0; \
8779 r=`${PWD_COMMAND}`; export r; \
8780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8781 $(SET_LIB_PATH) \
8782 $(HOST_EXPORTS) \
8783 for flag in $(EXTRA_HOST_FLAGS) ; do \
8784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8785 done; \
8786 echo "Doing distclean in fixincludes" ; \
8787 (cd fixincludes && \
8788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8790 "RANLIB=$${RANLIB}" \
8791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8792 distclean) \
8793 || exit 1
8795 @endif fixincludes
8797 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8798 maybe-maintainer-clean-fixincludes:
8799 @if fixincludes
8800 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8802 maintainer-clean-fixincludes:
8803 @[ -f ./fixincludes/Makefile ] || exit 0; \
8804 r=`${PWD_COMMAND}`; export r; \
8805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8806 $(SET_LIB_PATH) \
8807 $(HOST_EXPORTS) \
8808 for flag in $(EXTRA_HOST_FLAGS) ; do \
8809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8810 done; \
8811 echo "Doing maintainer-clean in fixincludes" ; \
8812 (cd fixincludes && \
8813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8815 "RANLIB=$${RANLIB}" \
8816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8817 maintainer-clean) \
8818 || exit 1
8820 @endif fixincludes
8823 .PHONY: configure-flex maybe-configure-flex
8824 maybe-configure-flex:
8825 @if flex
8826 maybe-configure-flex: configure-flex
8827 configure-flex:
8828 @test ! -f flex/Makefile || exit 0; \
8829 [ -d flex ] || mkdir flex; \
8830 r=`${PWD_COMMAND}`; export r; \
8831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8832 $(HOST_EXPORTS) \
8833 echo Configuring in flex; \
8834 cd flex || exit 1; \
8835 case $(srcdir) in \
8836 \.) \
8837 srcdiroption="--srcdir=."; \
8838 libsrcdir=".";; \
8839 /* | [A-Za-z]:[\\/]*) \
8840 srcdiroption="--srcdir=$(srcdir)/flex"; \
8841 libsrcdir="$$s/flex";; \
8842 *) \
8843 srcdiroption="--srcdir=../$(srcdir)/flex"; \
8844 libsrcdir="$$s/flex";; \
8845 esac; \
8846 $(SHELL) $${libsrcdir}/configure \
8847 $(HOST_CONFIGARGS) $${srcdiroption} \
8848 || exit 1
8849 @endif flex
8851 .PHONY: all-flex maybe-all-flex
8852 maybe-all-flex:
8853 @if flex
8854 TARGET-flex=all
8855 maybe-all-flex: all-flex
8856 all-flex: configure-flex
8857 @r=`${PWD_COMMAND}`; export r; \
8858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8859 $(SET_LIB_PATH) \
8860 $(HOST_EXPORTS) \
8861 (cd flex && $(MAKE) $(FLAGS_TO_PASS) \
8862 $(TARGET-flex))
8863 @endif flex
8865 .PHONY: check-flex maybe-check-flex
8866 maybe-check-flex:
8867 @if flex
8868 maybe-check-flex: check-flex
8870 # This module is only tested in a native toolchain.
8871 check-flex:
8872 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
8880 @endif flex
8882 .PHONY: install-flex maybe-install-flex
8883 maybe-install-flex:
8884 @if flex
8885 maybe-install-flex: install-flex
8887 install-flex: installdirs
8888 @r=`${PWD_COMMAND}`; export r; \
8889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8890 $(SET_LIB_PATH) \
8891 $(HOST_EXPORTS) \
8892 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8894 @endif flex
8896 # Other targets (info, dvi, etc.)
8898 .PHONY: maybe-info-flex info-flex
8899 maybe-info-flex:
8900 @if flex
8901 maybe-info-flex: info-flex
8903 info-flex: \
8904 configure-flex
8905 @[ -f ./flex/Makefile ] || exit 0; \
8906 r=`${PWD_COMMAND}`; export r; \
8907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8908 $(SET_LIB_PATH) \
8909 $(HOST_EXPORTS) \
8910 for flag in $(EXTRA_HOST_FLAGS) ; do \
8911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8912 done; \
8913 echo "Doing info in flex" ; \
8914 (cd flex && \
8915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8917 "RANLIB=$${RANLIB}" \
8918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8919 info) \
8920 || exit 1
8922 @endif flex
8924 .PHONY: maybe-dvi-flex dvi-flex
8925 maybe-dvi-flex:
8926 @if flex
8927 maybe-dvi-flex: dvi-flex
8929 dvi-flex: \
8930 configure-flex
8931 @[ -f ./flex/Makefile ] || exit 0; \
8932 r=`${PWD_COMMAND}`; export r; \
8933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8934 $(SET_LIB_PATH) \
8935 $(HOST_EXPORTS) \
8936 for flag in $(EXTRA_HOST_FLAGS) ; do \
8937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8938 done; \
8939 echo "Doing dvi in flex" ; \
8940 (cd flex && \
8941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8943 "RANLIB=$${RANLIB}" \
8944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8945 dvi) \
8946 || exit 1
8948 @endif flex
8950 .PHONY: maybe-html-flex html-flex
8951 maybe-html-flex:
8952 @if flex
8953 maybe-html-flex: html-flex
8955 html-flex: \
8956 configure-flex
8957 @[ -f ./flex/Makefile ] || exit 0; \
8958 r=`${PWD_COMMAND}`; export r; \
8959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8960 $(SET_LIB_PATH) \
8961 $(HOST_EXPORTS) \
8962 for flag in $(EXTRA_HOST_FLAGS) ; do \
8963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8964 done; \
8965 echo "Doing html in flex" ; \
8966 (cd flex && \
8967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8969 "RANLIB=$${RANLIB}" \
8970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8971 html) \
8972 || exit 1
8974 @endif flex
8976 .PHONY: maybe-TAGS-flex TAGS-flex
8977 maybe-TAGS-flex:
8978 @if flex
8979 maybe-TAGS-flex: TAGS-flex
8981 TAGS-flex: \
8982 configure-flex
8983 @[ -f ./flex/Makefile ] || exit 0; \
8984 r=`${PWD_COMMAND}`; export r; \
8985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8986 $(SET_LIB_PATH) \
8987 $(HOST_EXPORTS) \
8988 for flag in $(EXTRA_HOST_FLAGS) ; do \
8989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8990 done; \
8991 echo "Doing TAGS in flex" ; \
8992 (cd flex && \
8993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8995 "RANLIB=$${RANLIB}" \
8996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8997 TAGS) \
8998 || exit 1
9000 @endif flex
9002 .PHONY: maybe-install-info-flex install-info-flex
9003 maybe-install-info-flex:
9004 @if flex
9005 maybe-install-info-flex: install-info-flex
9007 install-info-flex: \
9008 configure-flex \
9009 info-flex
9010 @[ -f ./flex/Makefile ] || exit 0; \
9011 r=`${PWD_COMMAND}`; export r; \
9012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9013 $(SET_LIB_PATH) \
9014 $(HOST_EXPORTS) \
9015 for flag in $(EXTRA_HOST_FLAGS) ; do \
9016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9017 done; \
9018 echo "Doing install-info in flex" ; \
9019 (cd flex && \
9020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9022 "RANLIB=$${RANLIB}" \
9023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9024 install-info) \
9025 || exit 1
9027 @endif flex
9029 .PHONY: maybe-installcheck-flex installcheck-flex
9030 maybe-installcheck-flex:
9031 @if flex
9032 maybe-installcheck-flex: installcheck-flex
9034 installcheck-flex: \
9035 configure-flex
9036 @[ -f ./flex/Makefile ] || exit 0; \
9037 r=`${PWD_COMMAND}`; export r; \
9038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9039 $(SET_LIB_PATH) \
9040 $(HOST_EXPORTS) \
9041 for flag in $(EXTRA_HOST_FLAGS) ; do \
9042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9043 done; \
9044 echo "Doing installcheck in flex" ; \
9045 (cd flex && \
9046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9048 "RANLIB=$${RANLIB}" \
9049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9050 installcheck) \
9051 || exit 1
9053 @endif flex
9055 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9056 maybe-mostlyclean-flex:
9057 @if flex
9058 maybe-mostlyclean-flex: mostlyclean-flex
9060 mostlyclean-flex:
9061 @[ -f ./flex/Makefile ] || exit 0; \
9062 r=`${PWD_COMMAND}`; export r; \
9063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9064 $(SET_LIB_PATH) \
9065 $(HOST_EXPORTS) \
9066 for flag in $(EXTRA_HOST_FLAGS) ; do \
9067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9068 done; \
9069 echo "Doing mostlyclean in flex" ; \
9070 (cd flex && \
9071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9073 "RANLIB=$${RANLIB}" \
9074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9075 mostlyclean) \
9076 || exit 1
9078 @endif flex
9080 .PHONY: maybe-clean-flex clean-flex
9081 maybe-clean-flex:
9082 @if flex
9083 maybe-clean-flex: clean-flex
9085 clean-flex:
9086 @[ -f ./flex/Makefile ] || exit 0; \
9087 r=`${PWD_COMMAND}`; export r; \
9088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9089 $(SET_LIB_PATH) \
9090 $(HOST_EXPORTS) \
9091 for flag in $(EXTRA_HOST_FLAGS) ; do \
9092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9093 done; \
9094 echo "Doing clean in flex" ; \
9095 (cd flex && \
9096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9098 "RANLIB=$${RANLIB}" \
9099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9100 clean) \
9101 || exit 1
9103 @endif flex
9105 .PHONY: maybe-distclean-flex distclean-flex
9106 maybe-distclean-flex:
9107 @if flex
9108 maybe-distclean-flex: distclean-flex
9110 distclean-flex:
9111 @[ -f ./flex/Makefile ] || exit 0; \
9112 r=`${PWD_COMMAND}`; export r; \
9113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9114 $(SET_LIB_PATH) \
9115 $(HOST_EXPORTS) \
9116 for flag in $(EXTRA_HOST_FLAGS) ; do \
9117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9118 done; \
9119 echo "Doing distclean in flex" ; \
9120 (cd flex && \
9121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9123 "RANLIB=$${RANLIB}" \
9124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9125 distclean) \
9126 || exit 1
9128 @endif flex
9130 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9131 maybe-maintainer-clean-flex:
9132 @if flex
9133 maybe-maintainer-clean-flex: maintainer-clean-flex
9135 maintainer-clean-flex:
9136 @[ -f ./flex/Makefile ] || exit 0; \
9137 r=`${PWD_COMMAND}`; export r; \
9138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9139 $(SET_LIB_PATH) \
9140 $(HOST_EXPORTS) \
9141 for flag in $(EXTRA_HOST_FLAGS) ; do \
9142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9143 done; \
9144 echo "Doing maintainer-clean in flex" ; \
9145 (cd flex && \
9146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9148 "RANLIB=$${RANLIB}" \
9149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9150 maintainer-clean) \
9151 || exit 1
9153 @endif flex
9156 .PHONY: configure-gas maybe-configure-gas
9157 maybe-configure-gas:
9158 @if gas
9159 maybe-configure-gas: configure-gas
9160 configure-gas:
9161 @test -f stage_last && exit 0; \
9162 test ! -f gas/Makefile || exit 0; \
9163 [ -d gas ] || mkdir gas; \
9164 r=`${PWD_COMMAND}`; export r; \
9165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9166 $(HOST_EXPORTS) \
9167 echo Configuring in gas; \
9168 cd gas || exit 1; \
9169 case $(srcdir) in \
9170 \.) \
9171 srcdiroption="--srcdir=."; \
9172 libsrcdir=".";; \
9173 /* | [A-Za-z]:[\\/]*) \
9174 srcdiroption="--srcdir=$(srcdir)/gas"; \
9175 libsrcdir="$$s/gas";; \
9176 *) \
9177 srcdiroption="--srcdir=../$(srcdir)/gas"; \
9178 libsrcdir="$$s/gas";; \
9179 esac; \
9180 $(SHELL) $${libsrcdir}/configure \
9181 $(HOST_CONFIGARGS) $${srcdiroption} \
9182 || exit 1
9183 @endif gas
9185 .PHONY: all-gas maybe-all-gas
9186 maybe-all-gas:
9187 @if gas
9188 TARGET-gas=all
9189 maybe-all-gas: all-gas
9190 all-gas: configure-gas
9191 @test -f stage_last && exit 0; \
9192 r=`${PWD_COMMAND}`; export r; \
9193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9194 $(SET_LIB_PATH) \
9195 $(HOST_EXPORTS) \
9196 (cd gas && $(MAKE) $(FLAGS_TO_PASS) \
9197 $(TARGET-gas))
9198 @endif gas
9200 .PHONY: check-gas maybe-check-gas
9201 maybe-check-gas:
9202 @if gas
9203 maybe-check-gas: check-gas
9205 check-gas:
9206 @r=`${PWD_COMMAND}`; export r; \
9207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9208 $(SET_LIB_PATH) \
9209 $(HOST_EXPORTS) \
9210 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
9212 @endif gas
9214 .PHONY: install-gas maybe-install-gas
9215 maybe-install-gas:
9216 @if gas
9217 maybe-install-gas: install-gas
9219 install-gas: installdirs
9220 @r=`${PWD_COMMAND}`; export r; \
9221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9222 $(SET_LIB_PATH) \
9223 $(HOST_EXPORTS) \
9224 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
9226 @endif gas
9228 # Other targets (info, dvi, etc.)
9230 .PHONY: maybe-info-gas info-gas
9231 maybe-info-gas:
9232 @if gas
9233 maybe-info-gas: info-gas
9235 info-gas: \
9236 configure-gas
9237 @[ -f ./gas/Makefile ] || exit 0; \
9238 r=`${PWD_COMMAND}`; export r; \
9239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9240 $(SET_LIB_PATH) \
9241 $(HOST_EXPORTS) \
9242 for flag in $(EXTRA_HOST_FLAGS) ; do \
9243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9244 done; \
9245 echo "Doing info in gas" ; \
9246 (cd gas && \
9247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9249 "RANLIB=$${RANLIB}" \
9250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9251 info) \
9252 || exit 1
9254 @endif gas
9256 .PHONY: maybe-dvi-gas dvi-gas
9257 maybe-dvi-gas:
9258 @if gas
9259 maybe-dvi-gas: dvi-gas
9261 dvi-gas: \
9262 configure-gas
9263 @[ -f ./gas/Makefile ] || exit 0; \
9264 r=`${PWD_COMMAND}`; export r; \
9265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9266 $(SET_LIB_PATH) \
9267 $(HOST_EXPORTS) \
9268 for flag in $(EXTRA_HOST_FLAGS) ; do \
9269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9270 done; \
9271 echo "Doing dvi in gas" ; \
9272 (cd gas && \
9273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9275 "RANLIB=$${RANLIB}" \
9276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9277 dvi) \
9278 || exit 1
9280 @endif gas
9282 .PHONY: maybe-html-gas html-gas
9283 maybe-html-gas:
9284 @if gas
9285 maybe-html-gas: html-gas
9287 html-gas: \
9288 configure-gas
9289 @[ -f ./gas/Makefile ] || exit 0; \
9290 r=`${PWD_COMMAND}`; export r; \
9291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9292 $(SET_LIB_PATH) \
9293 $(HOST_EXPORTS) \
9294 for flag in $(EXTRA_HOST_FLAGS) ; do \
9295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9296 done; \
9297 echo "Doing html in gas" ; \
9298 (cd gas && \
9299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9301 "RANLIB=$${RANLIB}" \
9302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9303 html) \
9304 || exit 1
9306 @endif gas
9308 .PHONY: maybe-TAGS-gas TAGS-gas
9309 maybe-TAGS-gas:
9310 @if gas
9311 maybe-TAGS-gas: TAGS-gas
9313 TAGS-gas: \
9314 configure-gas
9315 @[ -f ./gas/Makefile ] || exit 0; \
9316 r=`${PWD_COMMAND}`; export r; \
9317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9318 $(SET_LIB_PATH) \
9319 $(HOST_EXPORTS) \
9320 for flag in $(EXTRA_HOST_FLAGS) ; do \
9321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9322 done; \
9323 echo "Doing TAGS in gas" ; \
9324 (cd gas && \
9325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9327 "RANLIB=$${RANLIB}" \
9328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9329 TAGS) \
9330 || exit 1
9332 @endif gas
9334 .PHONY: maybe-install-info-gas install-info-gas
9335 maybe-install-info-gas:
9336 @if gas
9337 maybe-install-info-gas: install-info-gas
9339 install-info-gas: \
9340 configure-gas \
9341 info-gas
9342 @[ -f ./gas/Makefile ] || exit 0; \
9343 r=`${PWD_COMMAND}`; export r; \
9344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9345 $(SET_LIB_PATH) \
9346 $(HOST_EXPORTS) \
9347 for flag in $(EXTRA_HOST_FLAGS) ; do \
9348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9349 done; \
9350 echo "Doing install-info in gas" ; \
9351 (cd gas && \
9352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9354 "RANLIB=$${RANLIB}" \
9355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9356 install-info) \
9357 || exit 1
9359 @endif gas
9361 .PHONY: maybe-installcheck-gas installcheck-gas
9362 maybe-installcheck-gas:
9363 @if gas
9364 maybe-installcheck-gas: installcheck-gas
9366 installcheck-gas: \
9367 configure-gas
9368 @[ -f ./gas/Makefile ] || exit 0; \
9369 r=`${PWD_COMMAND}`; export r; \
9370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9371 $(SET_LIB_PATH) \
9372 $(HOST_EXPORTS) \
9373 for flag in $(EXTRA_HOST_FLAGS) ; do \
9374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9375 done; \
9376 echo "Doing installcheck in gas" ; \
9377 (cd gas && \
9378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9380 "RANLIB=$${RANLIB}" \
9381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9382 installcheck) \
9383 || exit 1
9385 @endif gas
9387 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9388 maybe-mostlyclean-gas:
9389 @if gas
9390 maybe-mostlyclean-gas: mostlyclean-gas
9392 mostlyclean-gas:
9393 @[ -f ./gas/Makefile ] || exit 0; \
9394 r=`${PWD_COMMAND}`; export r; \
9395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9396 $(SET_LIB_PATH) \
9397 $(HOST_EXPORTS) \
9398 for flag in $(EXTRA_HOST_FLAGS) ; do \
9399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9400 done; \
9401 echo "Doing mostlyclean in gas" ; \
9402 (cd gas && \
9403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9405 "RANLIB=$${RANLIB}" \
9406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9407 mostlyclean) \
9408 || exit 1
9410 @endif gas
9412 .PHONY: maybe-clean-gas clean-gas
9413 maybe-clean-gas:
9414 @if gas
9415 maybe-clean-gas: clean-gas
9417 clean-gas:
9418 @[ -f ./gas/Makefile ] || exit 0; \
9419 r=`${PWD_COMMAND}`; export r; \
9420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9421 $(SET_LIB_PATH) \
9422 $(HOST_EXPORTS) \
9423 for flag in $(EXTRA_HOST_FLAGS) ; do \
9424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9425 done; \
9426 echo "Doing clean in gas" ; \
9427 (cd gas && \
9428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9430 "RANLIB=$${RANLIB}" \
9431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9432 clean) \
9433 || exit 1
9435 @endif gas
9437 .PHONY: maybe-distclean-gas distclean-gas
9438 maybe-distclean-gas:
9439 @if gas
9440 maybe-distclean-gas: distclean-gas
9442 distclean-gas:
9443 @[ -f ./gas/Makefile ] || exit 0; \
9444 r=`${PWD_COMMAND}`; export r; \
9445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9446 $(SET_LIB_PATH) \
9447 $(HOST_EXPORTS) \
9448 for flag in $(EXTRA_HOST_FLAGS) ; do \
9449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9450 done; \
9451 echo "Doing distclean in gas" ; \
9452 (cd gas && \
9453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9455 "RANLIB=$${RANLIB}" \
9456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9457 distclean) \
9458 || exit 1
9460 @endif gas
9462 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9463 maybe-maintainer-clean-gas:
9464 @if gas
9465 maybe-maintainer-clean-gas: maintainer-clean-gas
9467 maintainer-clean-gas:
9468 @[ -f ./gas/Makefile ] || exit 0; \
9469 r=`${PWD_COMMAND}`; export r; \
9470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9471 $(SET_LIB_PATH) \
9472 $(HOST_EXPORTS) \
9473 for flag in $(EXTRA_HOST_FLAGS) ; do \
9474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9475 done; \
9476 echo "Doing maintainer-clean in gas" ; \
9477 (cd gas && \
9478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9480 "RANLIB=$${RANLIB}" \
9481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9482 maintainer-clean) \
9483 || exit 1
9485 @endif gas
9488 .PHONY: configure-gcc maybe-configure-gcc
9489 maybe-configure-gcc:
9490 @if gcc
9491 maybe-configure-gcc: configure-gcc
9492 configure-gcc:
9493 @test -f stage_last && exit 0; \
9494 test ! -f gcc/Makefile || exit 0; \
9495 [ -d gcc ] || mkdir gcc; \
9496 r=`${PWD_COMMAND}`; export r; \
9497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9498 $(HOST_EXPORTS) \
9499 echo Configuring in gcc; \
9500 cd gcc || exit 1; \
9501 case $(srcdir) in \
9502 \.) \
9503 srcdiroption="--srcdir=."; \
9504 libsrcdir=".";; \
9505 /* | [A-Za-z]:[\\/]*) \
9506 srcdiroption="--srcdir=$(srcdir)/gcc"; \
9507 libsrcdir="$$s/gcc";; \
9508 *) \
9509 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
9510 libsrcdir="$$s/gcc";; \
9511 esac; \
9512 $(SHELL) $${libsrcdir}/configure \
9513 $(HOST_CONFIGARGS) $${srcdiroption} \
9514 || exit 1
9515 @endif gcc
9517 .PHONY: all-gcc maybe-all-gcc
9518 maybe-all-gcc:
9519 @if gcc
9520 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
9521 maybe-all-gcc: all-gcc
9522 all-gcc: configure-gcc
9523 @test -f stage_last && exit 0; \
9524 r=`${PWD_COMMAND}`; export r; \
9525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9526 $(SET_LIB_PATH) \
9527 $(HOST_EXPORTS) \
9528 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9529 $(TARGET-gcc))
9530 @endif gcc
9532 .PHONY: check-gcc maybe-check-gcc
9533 maybe-check-gcc:
9534 @if gcc
9535 maybe-check-gcc: check-gcc
9537 check-gcc:
9538 @r=`${PWD_COMMAND}`; export r; \
9539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9540 $(SET_LIB_PATH) \
9541 $(HOST_EXPORTS) \
9542 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
9544 @endif gcc
9546 .PHONY: install-gcc maybe-install-gcc
9547 maybe-install-gcc:
9548 @if gcc
9549 maybe-install-gcc: install-gcc
9551 install-gcc: installdirs
9552 @r=`${PWD_COMMAND}`; export r; \
9553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9554 $(SET_LIB_PATH) \
9555 $(HOST_EXPORTS) \
9556 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
9558 @endif gcc
9560 # Other targets (info, dvi, etc.)
9562 .PHONY: maybe-info-gcc info-gcc
9563 maybe-info-gcc:
9564 @if gcc
9565 maybe-info-gcc: info-gcc
9567 info-gcc: \
9568 configure-gcc
9569 @[ -f ./gcc/Makefile ] || exit 0; \
9570 r=`${PWD_COMMAND}`; export r; \
9571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9572 $(SET_LIB_PATH) \
9573 $(HOST_EXPORTS) \
9574 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9576 done; \
9577 echo "Doing info in gcc" ; \
9578 (cd gcc && \
9579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9581 "RANLIB=$${RANLIB}" \
9582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9583 info) \
9584 || exit 1
9586 @endif gcc
9588 .PHONY: maybe-dvi-gcc dvi-gcc
9589 maybe-dvi-gcc:
9590 @if gcc
9591 maybe-dvi-gcc: dvi-gcc
9593 dvi-gcc: \
9594 configure-gcc
9595 @[ -f ./gcc/Makefile ] || exit 0; \
9596 r=`${PWD_COMMAND}`; export r; \
9597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9598 $(SET_LIB_PATH) \
9599 $(HOST_EXPORTS) \
9600 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9602 done; \
9603 echo "Doing dvi in gcc" ; \
9604 (cd gcc && \
9605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9607 "RANLIB=$${RANLIB}" \
9608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9609 dvi) \
9610 || exit 1
9612 @endif gcc
9614 .PHONY: maybe-html-gcc html-gcc
9615 maybe-html-gcc:
9616 @if gcc
9617 maybe-html-gcc: html-gcc
9619 html-gcc: \
9620 configure-gcc
9621 @[ -f ./gcc/Makefile ] || exit 0; \
9622 r=`${PWD_COMMAND}`; export r; \
9623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9624 $(SET_LIB_PATH) \
9625 $(HOST_EXPORTS) \
9626 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9628 done; \
9629 echo "Doing html in gcc" ; \
9630 (cd gcc && \
9631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9633 "RANLIB=$${RANLIB}" \
9634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9635 html) \
9636 || exit 1
9638 @endif gcc
9640 .PHONY: maybe-TAGS-gcc TAGS-gcc
9641 maybe-TAGS-gcc:
9642 @if gcc
9643 maybe-TAGS-gcc: TAGS-gcc
9645 TAGS-gcc: \
9646 configure-gcc
9647 @[ -f ./gcc/Makefile ] || exit 0; \
9648 r=`${PWD_COMMAND}`; export r; \
9649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9650 $(SET_LIB_PATH) \
9651 $(HOST_EXPORTS) \
9652 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9654 done; \
9655 echo "Doing TAGS in gcc" ; \
9656 (cd gcc && \
9657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9659 "RANLIB=$${RANLIB}" \
9660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9661 TAGS) \
9662 || exit 1
9664 @endif gcc
9666 .PHONY: maybe-install-info-gcc install-info-gcc
9667 maybe-install-info-gcc:
9668 @if gcc
9669 maybe-install-info-gcc: install-info-gcc
9671 install-info-gcc: \
9672 configure-gcc \
9673 info-gcc
9674 @[ -f ./gcc/Makefile ] || exit 0; \
9675 r=`${PWD_COMMAND}`; export r; \
9676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9677 $(SET_LIB_PATH) \
9678 $(HOST_EXPORTS) \
9679 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9681 done; \
9682 echo "Doing install-info in gcc" ; \
9683 (cd gcc && \
9684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9686 "RANLIB=$${RANLIB}" \
9687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9688 install-info) \
9689 || exit 1
9691 @endif gcc
9693 .PHONY: maybe-installcheck-gcc installcheck-gcc
9694 maybe-installcheck-gcc:
9695 @if gcc
9696 maybe-installcheck-gcc: installcheck-gcc
9698 installcheck-gcc: \
9699 configure-gcc
9700 @[ -f ./gcc/Makefile ] || exit 0; \
9701 r=`${PWD_COMMAND}`; export r; \
9702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9703 $(SET_LIB_PATH) \
9704 $(HOST_EXPORTS) \
9705 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9707 done; \
9708 echo "Doing installcheck in gcc" ; \
9709 (cd gcc && \
9710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9712 "RANLIB=$${RANLIB}" \
9713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9714 installcheck) \
9715 || exit 1
9717 @endif gcc
9719 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9720 maybe-mostlyclean-gcc:
9721 @if gcc
9722 maybe-mostlyclean-gcc: mostlyclean-gcc
9724 mostlyclean-gcc:
9725 @[ -f ./gcc/Makefile ] || exit 0; \
9726 r=`${PWD_COMMAND}`; export r; \
9727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9728 $(SET_LIB_PATH) \
9729 $(HOST_EXPORTS) \
9730 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9732 done; \
9733 echo "Doing mostlyclean in gcc" ; \
9734 (cd gcc && \
9735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9737 "RANLIB=$${RANLIB}" \
9738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9739 mostlyclean) \
9740 || exit 1
9742 @endif gcc
9744 .PHONY: maybe-clean-gcc clean-gcc
9745 maybe-clean-gcc:
9746 @if gcc
9747 maybe-clean-gcc: clean-gcc
9749 clean-gcc:
9750 @[ -f ./gcc/Makefile ] || exit 0; \
9751 r=`${PWD_COMMAND}`; export r; \
9752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9753 $(SET_LIB_PATH) \
9754 $(HOST_EXPORTS) \
9755 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9757 done; \
9758 echo "Doing clean in gcc" ; \
9759 (cd gcc && \
9760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9762 "RANLIB=$${RANLIB}" \
9763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9764 clean) \
9765 || exit 1
9767 @endif gcc
9769 .PHONY: maybe-distclean-gcc distclean-gcc
9770 maybe-distclean-gcc:
9771 @if gcc
9772 maybe-distclean-gcc: distclean-gcc
9774 distclean-gcc:
9775 @[ -f ./gcc/Makefile ] || exit 0; \
9776 r=`${PWD_COMMAND}`; export r; \
9777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9778 $(SET_LIB_PATH) \
9779 $(HOST_EXPORTS) \
9780 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9782 done; \
9783 echo "Doing distclean in gcc" ; \
9784 (cd gcc && \
9785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9787 "RANLIB=$${RANLIB}" \
9788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9789 distclean) \
9790 || exit 1
9792 @endif gcc
9794 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9795 maybe-maintainer-clean-gcc:
9796 @if gcc
9797 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9799 maintainer-clean-gcc:
9800 @[ -f ./gcc/Makefile ] || exit 0; \
9801 r=`${PWD_COMMAND}`; export r; \
9802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9803 $(SET_LIB_PATH) \
9804 $(HOST_EXPORTS) \
9805 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9807 done; \
9808 echo "Doing maintainer-clean in gcc" ; \
9809 (cd gcc && \
9810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9812 "RANLIB=$${RANLIB}" \
9813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9814 maintainer-clean) \
9815 || exit 1
9817 @endif gcc
9820 .PHONY: configure-gawk maybe-configure-gawk
9821 maybe-configure-gawk:
9822 @if gawk
9823 maybe-configure-gawk: configure-gawk
9824 configure-gawk:
9825 @test ! -f gawk/Makefile || exit 0; \
9826 [ -d gawk ] || mkdir gawk; \
9827 r=`${PWD_COMMAND}`; export r; \
9828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9829 $(HOST_EXPORTS) \
9830 echo Configuring in gawk; \
9831 cd gawk || exit 1; \
9832 case $(srcdir) in \
9833 \.) \
9834 srcdiroption="--srcdir=."; \
9835 libsrcdir=".";; \
9836 /* | [A-Za-z]:[\\/]*) \
9837 srcdiroption="--srcdir=$(srcdir)/gawk"; \
9838 libsrcdir="$$s/gawk";; \
9839 *) \
9840 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
9841 libsrcdir="$$s/gawk";; \
9842 esac; \
9843 $(SHELL) $${libsrcdir}/configure \
9844 $(HOST_CONFIGARGS) $${srcdiroption} \
9845 || exit 1
9846 @endif gawk
9848 .PHONY: all-gawk maybe-all-gawk
9849 maybe-all-gawk:
9850 @if gawk
9851 TARGET-gawk=all
9852 maybe-all-gawk: all-gawk
9853 all-gawk: configure-gawk
9854 @r=`${PWD_COMMAND}`; export r; \
9855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9856 $(SET_LIB_PATH) \
9857 $(HOST_EXPORTS) \
9858 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) \
9859 $(TARGET-gawk))
9860 @endif gawk
9862 .PHONY: check-gawk maybe-check-gawk
9863 maybe-check-gawk:
9864 @if gawk
9865 maybe-check-gawk: check-gawk
9867 check-gawk:
9868 @r=`${PWD_COMMAND}`; export r; \
9869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9870 $(SET_LIB_PATH) \
9871 $(HOST_EXPORTS) \
9872 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
9874 @endif gawk
9876 .PHONY: install-gawk maybe-install-gawk
9877 maybe-install-gawk:
9878 @if gawk
9879 maybe-install-gawk: install-gawk
9881 install-gawk: installdirs
9882 @r=`${PWD_COMMAND}`; export r; \
9883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9884 $(SET_LIB_PATH) \
9885 $(HOST_EXPORTS) \
9886 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
9888 @endif gawk
9890 # Other targets (info, dvi, etc.)
9892 .PHONY: maybe-info-gawk info-gawk
9893 maybe-info-gawk:
9894 @if gawk
9895 maybe-info-gawk: info-gawk
9897 info-gawk: \
9898 configure-gawk
9899 @[ -f ./gawk/Makefile ] || exit 0; \
9900 r=`${PWD_COMMAND}`; export r; \
9901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9902 $(SET_LIB_PATH) \
9903 $(HOST_EXPORTS) \
9904 for flag in $(EXTRA_HOST_FLAGS) ; do \
9905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9906 done; \
9907 echo "Doing info in gawk" ; \
9908 (cd gawk && \
9909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9911 "RANLIB=$${RANLIB}" \
9912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9913 info) \
9914 || exit 1
9916 @endif gawk
9918 .PHONY: maybe-dvi-gawk dvi-gawk
9919 maybe-dvi-gawk:
9920 @if gawk
9921 maybe-dvi-gawk: dvi-gawk
9923 dvi-gawk: \
9924 configure-gawk
9925 @[ -f ./gawk/Makefile ] || exit 0; \
9926 r=`${PWD_COMMAND}`; export r; \
9927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9928 $(SET_LIB_PATH) \
9929 $(HOST_EXPORTS) \
9930 for flag in $(EXTRA_HOST_FLAGS) ; do \
9931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9932 done; \
9933 echo "Doing dvi in gawk" ; \
9934 (cd gawk && \
9935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9937 "RANLIB=$${RANLIB}" \
9938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9939 dvi) \
9940 || exit 1
9942 @endif gawk
9944 .PHONY: maybe-html-gawk html-gawk
9945 maybe-html-gawk:
9946 @if gawk
9947 maybe-html-gawk: html-gawk
9949 html-gawk: \
9950 configure-gawk
9951 @[ -f ./gawk/Makefile ] || exit 0; \
9952 r=`${PWD_COMMAND}`; export r; \
9953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9954 $(SET_LIB_PATH) \
9955 $(HOST_EXPORTS) \
9956 for flag in $(EXTRA_HOST_FLAGS) ; do \
9957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9958 done; \
9959 echo "Doing html in gawk" ; \
9960 (cd gawk && \
9961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9963 "RANLIB=$${RANLIB}" \
9964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9965 html) \
9966 || exit 1
9968 @endif gawk
9970 .PHONY: maybe-TAGS-gawk TAGS-gawk
9971 maybe-TAGS-gawk:
9972 @if gawk
9973 maybe-TAGS-gawk: TAGS-gawk
9975 TAGS-gawk: \
9976 configure-gawk
9977 @[ -f ./gawk/Makefile ] || exit 0; \
9978 r=`${PWD_COMMAND}`; export r; \
9979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9980 $(SET_LIB_PATH) \
9981 $(HOST_EXPORTS) \
9982 for flag in $(EXTRA_HOST_FLAGS) ; do \
9983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9984 done; \
9985 echo "Doing TAGS in gawk" ; \
9986 (cd gawk && \
9987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9989 "RANLIB=$${RANLIB}" \
9990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9991 TAGS) \
9992 || exit 1
9994 @endif gawk
9996 .PHONY: maybe-install-info-gawk install-info-gawk
9997 maybe-install-info-gawk:
9998 @if gawk
9999 maybe-install-info-gawk: install-info-gawk
10001 install-info-gawk: \
10002 configure-gawk \
10003 info-gawk
10004 @[ -f ./gawk/Makefile ] || exit 0; \
10005 r=`${PWD_COMMAND}`; export r; \
10006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10007 $(SET_LIB_PATH) \
10008 $(HOST_EXPORTS) \
10009 for flag in $(EXTRA_HOST_FLAGS) ; do \
10010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10011 done; \
10012 echo "Doing install-info in gawk" ; \
10013 (cd gawk && \
10014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10016 "RANLIB=$${RANLIB}" \
10017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10018 install-info) \
10019 || exit 1
10021 @endif gawk
10023 .PHONY: maybe-installcheck-gawk installcheck-gawk
10024 maybe-installcheck-gawk:
10025 @if gawk
10026 maybe-installcheck-gawk: installcheck-gawk
10028 installcheck-gawk: \
10029 configure-gawk
10030 @[ -f ./gawk/Makefile ] || exit 0; \
10031 r=`${PWD_COMMAND}`; export r; \
10032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10033 $(SET_LIB_PATH) \
10034 $(HOST_EXPORTS) \
10035 for flag in $(EXTRA_HOST_FLAGS) ; do \
10036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10037 done; \
10038 echo "Doing installcheck in gawk" ; \
10039 (cd gawk && \
10040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10042 "RANLIB=$${RANLIB}" \
10043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10044 installcheck) \
10045 || exit 1
10047 @endif gawk
10049 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
10050 maybe-mostlyclean-gawk:
10051 @if gawk
10052 maybe-mostlyclean-gawk: mostlyclean-gawk
10054 mostlyclean-gawk:
10055 @[ -f ./gawk/Makefile ] || exit 0; \
10056 r=`${PWD_COMMAND}`; export r; \
10057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10058 $(SET_LIB_PATH) \
10059 $(HOST_EXPORTS) \
10060 for flag in $(EXTRA_HOST_FLAGS) ; do \
10061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10062 done; \
10063 echo "Doing mostlyclean in gawk" ; \
10064 (cd gawk && \
10065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10067 "RANLIB=$${RANLIB}" \
10068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10069 mostlyclean) \
10070 || exit 1
10072 @endif gawk
10074 .PHONY: maybe-clean-gawk clean-gawk
10075 maybe-clean-gawk:
10076 @if gawk
10077 maybe-clean-gawk: clean-gawk
10079 clean-gawk:
10080 @[ -f ./gawk/Makefile ] || exit 0; \
10081 r=`${PWD_COMMAND}`; export r; \
10082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10083 $(SET_LIB_PATH) \
10084 $(HOST_EXPORTS) \
10085 for flag in $(EXTRA_HOST_FLAGS) ; do \
10086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10087 done; \
10088 echo "Doing clean in gawk" ; \
10089 (cd gawk && \
10090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10092 "RANLIB=$${RANLIB}" \
10093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10094 clean) \
10095 || exit 1
10097 @endif gawk
10099 .PHONY: maybe-distclean-gawk distclean-gawk
10100 maybe-distclean-gawk:
10101 @if gawk
10102 maybe-distclean-gawk: distclean-gawk
10104 distclean-gawk:
10105 @[ -f ./gawk/Makefile ] || exit 0; \
10106 r=`${PWD_COMMAND}`; export r; \
10107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10108 $(SET_LIB_PATH) \
10109 $(HOST_EXPORTS) \
10110 for flag in $(EXTRA_HOST_FLAGS) ; do \
10111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10112 done; \
10113 echo "Doing distclean in gawk" ; \
10114 (cd gawk && \
10115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10117 "RANLIB=$${RANLIB}" \
10118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10119 distclean) \
10120 || exit 1
10122 @endif gawk
10124 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
10125 maybe-maintainer-clean-gawk:
10126 @if gawk
10127 maybe-maintainer-clean-gawk: maintainer-clean-gawk
10129 maintainer-clean-gawk:
10130 @[ -f ./gawk/Makefile ] || exit 0; \
10131 r=`${PWD_COMMAND}`; export r; \
10132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10133 $(SET_LIB_PATH) \
10134 $(HOST_EXPORTS) \
10135 for flag in $(EXTRA_HOST_FLAGS) ; do \
10136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10137 done; \
10138 echo "Doing maintainer-clean in gawk" ; \
10139 (cd gawk && \
10140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10142 "RANLIB=$${RANLIB}" \
10143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10144 maintainer-clean) \
10145 || exit 1
10147 @endif gawk
10150 .PHONY: configure-gettext maybe-configure-gettext
10151 maybe-configure-gettext:
10152 @if gettext
10153 maybe-configure-gettext: configure-gettext
10154 configure-gettext:
10155 @test ! -f gettext/Makefile || exit 0; \
10156 [ -d gettext ] || mkdir gettext; \
10157 r=`${PWD_COMMAND}`; export r; \
10158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10159 $(HOST_EXPORTS) \
10160 echo Configuring in gettext; \
10161 cd gettext || exit 1; \
10162 case $(srcdir) in \
10163 \.) \
10164 srcdiroption="--srcdir=."; \
10165 libsrcdir=".";; \
10166 /* | [A-Za-z]:[\\/]*) \
10167 srcdiroption="--srcdir=$(srcdir)/gettext"; \
10168 libsrcdir="$$s/gettext";; \
10169 *) \
10170 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
10171 libsrcdir="$$s/gettext";; \
10172 esac; \
10173 $(SHELL) $${libsrcdir}/configure \
10174 $(HOST_CONFIGARGS) $${srcdiroption} \
10175 || exit 1
10176 @endif gettext
10178 .PHONY: all-gettext maybe-all-gettext
10179 maybe-all-gettext:
10180 @if gettext
10181 TARGET-gettext=all
10182 maybe-all-gettext: all-gettext
10183 all-gettext: configure-gettext
10184 @r=`${PWD_COMMAND}`; export r; \
10185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10186 $(SET_LIB_PATH) \
10187 $(HOST_EXPORTS) \
10188 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) \
10189 $(TARGET-gettext))
10190 @endif gettext
10192 .PHONY: check-gettext maybe-check-gettext
10193 maybe-check-gettext:
10194 @if gettext
10195 maybe-check-gettext: check-gettext
10197 check-gettext:
10198 @r=`${PWD_COMMAND}`; export r; \
10199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10200 $(SET_LIB_PATH) \
10201 $(HOST_EXPORTS) \
10202 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
10204 @endif gettext
10206 .PHONY: install-gettext maybe-install-gettext
10207 maybe-install-gettext:
10208 @if gettext
10209 maybe-install-gettext: install-gettext
10211 install-gettext: installdirs
10212 @r=`${PWD_COMMAND}`; export r; \
10213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10214 $(SET_LIB_PATH) \
10215 $(HOST_EXPORTS) \
10216 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
10218 @endif gettext
10220 # Other targets (info, dvi, etc.)
10222 .PHONY: maybe-info-gettext info-gettext
10223 maybe-info-gettext:
10224 @if gettext
10225 maybe-info-gettext: info-gettext
10227 info-gettext: \
10228 configure-gettext
10229 @[ -f ./gettext/Makefile ] || exit 0; \
10230 r=`${PWD_COMMAND}`; export r; \
10231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10232 $(SET_LIB_PATH) \
10233 $(HOST_EXPORTS) \
10234 for flag in $(EXTRA_HOST_FLAGS) ; do \
10235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10236 done; \
10237 echo "Doing info in gettext" ; \
10238 (cd gettext && \
10239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10241 "RANLIB=$${RANLIB}" \
10242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10243 info) \
10244 || exit 1
10246 @endif gettext
10248 .PHONY: maybe-dvi-gettext dvi-gettext
10249 maybe-dvi-gettext:
10250 @if gettext
10251 maybe-dvi-gettext: dvi-gettext
10253 dvi-gettext: \
10254 configure-gettext
10255 @[ -f ./gettext/Makefile ] || exit 0; \
10256 r=`${PWD_COMMAND}`; export r; \
10257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10258 $(SET_LIB_PATH) \
10259 $(HOST_EXPORTS) \
10260 for flag in $(EXTRA_HOST_FLAGS) ; do \
10261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10262 done; \
10263 echo "Doing dvi in gettext" ; \
10264 (cd gettext && \
10265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10267 "RANLIB=$${RANLIB}" \
10268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10269 dvi) \
10270 || exit 1
10272 @endif gettext
10274 .PHONY: maybe-html-gettext html-gettext
10275 maybe-html-gettext:
10276 @if gettext
10277 maybe-html-gettext: html-gettext
10279 html-gettext: \
10280 configure-gettext
10281 @[ -f ./gettext/Makefile ] || exit 0; \
10282 r=`${PWD_COMMAND}`; export r; \
10283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10284 $(SET_LIB_PATH) \
10285 $(HOST_EXPORTS) \
10286 for flag in $(EXTRA_HOST_FLAGS) ; do \
10287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10288 done; \
10289 echo "Doing html in gettext" ; \
10290 (cd gettext && \
10291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10293 "RANLIB=$${RANLIB}" \
10294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10295 html) \
10296 || exit 1
10298 @endif gettext
10300 .PHONY: maybe-TAGS-gettext TAGS-gettext
10301 maybe-TAGS-gettext:
10302 @if gettext
10303 maybe-TAGS-gettext: TAGS-gettext
10305 TAGS-gettext: \
10306 configure-gettext
10307 @[ -f ./gettext/Makefile ] || exit 0; \
10308 r=`${PWD_COMMAND}`; export r; \
10309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10310 $(SET_LIB_PATH) \
10311 $(HOST_EXPORTS) \
10312 for flag in $(EXTRA_HOST_FLAGS) ; do \
10313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10314 done; \
10315 echo "Doing TAGS in gettext" ; \
10316 (cd gettext && \
10317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10319 "RANLIB=$${RANLIB}" \
10320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10321 TAGS) \
10322 || exit 1
10324 @endif gettext
10326 .PHONY: maybe-install-info-gettext install-info-gettext
10327 maybe-install-info-gettext:
10328 @if gettext
10329 maybe-install-info-gettext: install-info-gettext
10331 install-info-gettext: \
10332 configure-gettext \
10333 info-gettext
10334 @[ -f ./gettext/Makefile ] || exit 0; \
10335 r=`${PWD_COMMAND}`; export r; \
10336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10337 $(SET_LIB_PATH) \
10338 $(HOST_EXPORTS) \
10339 for flag in $(EXTRA_HOST_FLAGS) ; do \
10340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10341 done; \
10342 echo "Doing install-info in gettext" ; \
10343 (cd gettext && \
10344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10346 "RANLIB=$${RANLIB}" \
10347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10348 install-info) \
10349 || exit 1
10351 @endif gettext
10353 .PHONY: maybe-installcheck-gettext installcheck-gettext
10354 maybe-installcheck-gettext:
10355 @if gettext
10356 maybe-installcheck-gettext: installcheck-gettext
10358 installcheck-gettext: \
10359 configure-gettext
10360 @[ -f ./gettext/Makefile ] || exit 0; \
10361 r=`${PWD_COMMAND}`; export r; \
10362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10363 $(SET_LIB_PATH) \
10364 $(HOST_EXPORTS) \
10365 for flag in $(EXTRA_HOST_FLAGS) ; do \
10366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10367 done; \
10368 echo "Doing installcheck in gettext" ; \
10369 (cd gettext && \
10370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10372 "RANLIB=$${RANLIB}" \
10373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10374 installcheck) \
10375 || exit 1
10377 @endif gettext
10379 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10380 maybe-mostlyclean-gettext:
10381 @if gettext
10382 maybe-mostlyclean-gettext: mostlyclean-gettext
10384 mostlyclean-gettext:
10385 @[ -f ./gettext/Makefile ] || exit 0; \
10386 r=`${PWD_COMMAND}`; export r; \
10387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10388 $(SET_LIB_PATH) \
10389 $(HOST_EXPORTS) \
10390 for flag in $(EXTRA_HOST_FLAGS) ; do \
10391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10392 done; \
10393 echo "Doing mostlyclean in gettext" ; \
10394 (cd gettext && \
10395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10397 "RANLIB=$${RANLIB}" \
10398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10399 mostlyclean) \
10400 || exit 1
10402 @endif gettext
10404 .PHONY: maybe-clean-gettext clean-gettext
10405 maybe-clean-gettext:
10406 @if gettext
10407 maybe-clean-gettext: clean-gettext
10409 clean-gettext:
10410 @[ -f ./gettext/Makefile ] || exit 0; \
10411 r=`${PWD_COMMAND}`; export r; \
10412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10413 $(SET_LIB_PATH) \
10414 $(HOST_EXPORTS) \
10415 for flag in $(EXTRA_HOST_FLAGS) ; do \
10416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10417 done; \
10418 echo "Doing clean in gettext" ; \
10419 (cd gettext && \
10420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10422 "RANLIB=$${RANLIB}" \
10423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10424 clean) \
10425 || exit 1
10427 @endif gettext
10429 .PHONY: maybe-distclean-gettext distclean-gettext
10430 maybe-distclean-gettext:
10431 @if gettext
10432 maybe-distclean-gettext: distclean-gettext
10434 distclean-gettext:
10435 @[ -f ./gettext/Makefile ] || exit 0; \
10436 r=`${PWD_COMMAND}`; export r; \
10437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10438 $(SET_LIB_PATH) \
10439 $(HOST_EXPORTS) \
10440 for flag in $(EXTRA_HOST_FLAGS) ; do \
10441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10442 done; \
10443 echo "Doing distclean in gettext" ; \
10444 (cd gettext && \
10445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10447 "RANLIB=$${RANLIB}" \
10448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10449 distclean) \
10450 || exit 1
10452 @endif gettext
10454 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
10455 maybe-maintainer-clean-gettext:
10456 @if gettext
10457 maybe-maintainer-clean-gettext: maintainer-clean-gettext
10459 maintainer-clean-gettext:
10460 @[ -f ./gettext/Makefile ] || exit 0; \
10461 r=`${PWD_COMMAND}`; export r; \
10462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10463 $(SET_LIB_PATH) \
10464 $(HOST_EXPORTS) \
10465 for flag in $(EXTRA_HOST_FLAGS) ; do \
10466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10467 done; \
10468 echo "Doing maintainer-clean in gettext" ; \
10469 (cd gettext && \
10470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10472 "RANLIB=$${RANLIB}" \
10473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10474 maintainer-clean) \
10475 || exit 1
10477 @endif gettext
10480 .PHONY: configure-gnuserv maybe-configure-gnuserv
10481 maybe-configure-gnuserv:
10482 @if gnuserv
10483 maybe-configure-gnuserv: configure-gnuserv
10484 configure-gnuserv:
10485 @test ! -f gnuserv/Makefile || exit 0; \
10486 [ -d gnuserv ] || mkdir gnuserv; \
10487 r=`${PWD_COMMAND}`; export r; \
10488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10489 $(HOST_EXPORTS) \
10490 echo Configuring in gnuserv; \
10491 cd gnuserv || exit 1; \
10492 case $(srcdir) in \
10493 \.) \
10494 srcdiroption="--srcdir=."; \
10495 libsrcdir=".";; \
10496 /* | [A-Za-z]:[\\/]*) \
10497 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
10498 libsrcdir="$$s/gnuserv";; \
10499 *) \
10500 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
10501 libsrcdir="$$s/gnuserv";; \
10502 esac; \
10503 $(SHELL) $${libsrcdir}/configure \
10504 $(HOST_CONFIGARGS) $${srcdiroption} \
10505 || exit 1
10506 @endif gnuserv
10508 .PHONY: all-gnuserv maybe-all-gnuserv
10509 maybe-all-gnuserv:
10510 @if gnuserv
10511 TARGET-gnuserv=all
10512 maybe-all-gnuserv: all-gnuserv
10513 all-gnuserv: configure-gnuserv
10514 @r=`${PWD_COMMAND}`; export r; \
10515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10516 $(SET_LIB_PATH) \
10517 $(HOST_EXPORTS) \
10518 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) \
10519 $(TARGET-gnuserv))
10520 @endif gnuserv
10522 .PHONY: check-gnuserv maybe-check-gnuserv
10523 maybe-check-gnuserv:
10524 @if gnuserv
10525 maybe-check-gnuserv: check-gnuserv
10527 check-gnuserv:
10528 @r=`${PWD_COMMAND}`; export r; \
10529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10530 $(SET_LIB_PATH) \
10531 $(HOST_EXPORTS) \
10532 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
10534 @endif gnuserv
10536 .PHONY: install-gnuserv maybe-install-gnuserv
10537 maybe-install-gnuserv:
10538 @if gnuserv
10539 maybe-install-gnuserv: install-gnuserv
10541 install-gnuserv: installdirs
10542 @r=`${PWD_COMMAND}`; export r; \
10543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10544 $(SET_LIB_PATH) \
10545 $(HOST_EXPORTS) \
10546 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
10548 @endif gnuserv
10550 # Other targets (info, dvi, etc.)
10552 .PHONY: maybe-info-gnuserv info-gnuserv
10553 maybe-info-gnuserv:
10554 @if gnuserv
10555 maybe-info-gnuserv: info-gnuserv
10557 info-gnuserv: \
10558 configure-gnuserv
10559 @[ -f ./gnuserv/Makefile ] || exit 0; \
10560 r=`${PWD_COMMAND}`; export r; \
10561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10562 $(SET_LIB_PATH) \
10563 $(HOST_EXPORTS) \
10564 for flag in $(EXTRA_HOST_FLAGS) ; do \
10565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10566 done; \
10567 echo "Doing info in gnuserv" ; \
10568 (cd gnuserv && \
10569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10571 "RANLIB=$${RANLIB}" \
10572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10573 info) \
10574 || exit 1
10576 @endif gnuserv
10578 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
10579 maybe-dvi-gnuserv:
10580 @if gnuserv
10581 maybe-dvi-gnuserv: dvi-gnuserv
10583 dvi-gnuserv: \
10584 configure-gnuserv
10585 @[ -f ./gnuserv/Makefile ] || exit 0; \
10586 r=`${PWD_COMMAND}`; export r; \
10587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10588 $(SET_LIB_PATH) \
10589 $(HOST_EXPORTS) \
10590 for flag in $(EXTRA_HOST_FLAGS) ; do \
10591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10592 done; \
10593 echo "Doing dvi in gnuserv" ; \
10594 (cd gnuserv && \
10595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10597 "RANLIB=$${RANLIB}" \
10598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10599 dvi) \
10600 || exit 1
10602 @endif gnuserv
10604 .PHONY: maybe-html-gnuserv html-gnuserv
10605 maybe-html-gnuserv:
10606 @if gnuserv
10607 maybe-html-gnuserv: html-gnuserv
10609 html-gnuserv: \
10610 configure-gnuserv
10611 @[ -f ./gnuserv/Makefile ] || exit 0; \
10612 r=`${PWD_COMMAND}`; export r; \
10613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10614 $(SET_LIB_PATH) \
10615 $(HOST_EXPORTS) \
10616 for flag in $(EXTRA_HOST_FLAGS) ; do \
10617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10618 done; \
10619 echo "Doing html in gnuserv" ; \
10620 (cd gnuserv && \
10621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10623 "RANLIB=$${RANLIB}" \
10624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10625 html) \
10626 || exit 1
10628 @endif gnuserv
10630 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
10631 maybe-TAGS-gnuserv:
10632 @if gnuserv
10633 maybe-TAGS-gnuserv: TAGS-gnuserv
10635 TAGS-gnuserv: \
10636 configure-gnuserv
10637 @[ -f ./gnuserv/Makefile ] || exit 0; \
10638 r=`${PWD_COMMAND}`; export r; \
10639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10640 $(SET_LIB_PATH) \
10641 $(HOST_EXPORTS) \
10642 for flag in $(EXTRA_HOST_FLAGS) ; do \
10643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10644 done; \
10645 echo "Doing TAGS in gnuserv" ; \
10646 (cd gnuserv && \
10647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10649 "RANLIB=$${RANLIB}" \
10650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10651 TAGS) \
10652 || exit 1
10654 @endif gnuserv
10656 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
10657 maybe-install-info-gnuserv:
10658 @if gnuserv
10659 maybe-install-info-gnuserv: install-info-gnuserv
10661 install-info-gnuserv: \
10662 configure-gnuserv \
10663 info-gnuserv
10664 @[ -f ./gnuserv/Makefile ] || exit 0; \
10665 r=`${PWD_COMMAND}`; export r; \
10666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10667 $(SET_LIB_PATH) \
10668 $(HOST_EXPORTS) \
10669 for flag in $(EXTRA_HOST_FLAGS) ; do \
10670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10671 done; \
10672 echo "Doing install-info in gnuserv" ; \
10673 (cd gnuserv && \
10674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10676 "RANLIB=$${RANLIB}" \
10677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10678 install-info) \
10679 || exit 1
10681 @endif gnuserv
10683 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10684 maybe-installcheck-gnuserv:
10685 @if gnuserv
10686 maybe-installcheck-gnuserv: installcheck-gnuserv
10688 installcheck-gnuserv: \
10689 configure-gnuserv
10690 @[ -f ./gnuserv/Makefile ] || exit 0; \
10691 r=`${PWD_COMMAND}`; export r; \
10692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10693 $(SET_LIB_PATH) \
10694 $(HOST_EXPORTS) \
10695 for flag in $(EXTRA_HOST_FLAGS) ; do \
10696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10697 done; \
10698 echo "Doing installcheck in gnuserv" ; \
10699 (cd gnuserv && \
10700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10702 "RANLIB=$${RANLIB}" \
10703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10704 installcheck) \
10705 || exit 1
10707 @endif gnuserv
10709 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10710 maybe-mostlyclean-gnuserv:
10711 @if gnuserv
10712 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10714 mostlyclean-gnuserv:
10715 @[ -f ./gnuserv/Makefile ] || exit 0; \
10716 r=`${PWD_COMMAND}`; export r; \
10717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10718 $(SET_LIB_PATH) \
10719 $(HOST_EXPORTS) \
10720 for flag in $(EXTRA_HOST_FLAGS) ; do \
10721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10722 done; \
10723 echo "Doing mostlyclean in gnuserv" ; \
10724 (cd gnuserv && \
10725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10727 "RANLIB=$${RANLIB}" \
10728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10729 mostlyclean) \
10730 || exit 1
10732 @endif gnuserv
10734 .PHONY: maybe-clean-gnuserv clean-gnuserv
10735 maybe-clean-gnuserv:
10736 @if gnuserv
10737 maybe-clean-gnuserv: clean-gnuserv
10739 clean-gnuserv:
10740 @[ -f ./gnuserv/Makefile ] || exit 0; \
10741 r=`${PWD_COMMAND}`; export r; \
10742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10743 $(SET_LIB_PATH) \
10744 $(HOST_EXPORTS) \
10745 for flag in $(EXTRA_HOST_FLAGS) ; do \
10746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10747 done; \
10748 echo "Doing clean in gnuserv" ; \
10749 (cd gnuserv && \
10750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10752 "RANLIB=$${RANLIB}" \
10753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10754 clean) \
10755 || exit 1
10757 @endif gnuserv
10759 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10760 maybe-distclean-gnuserv:
10761 @if gnuserv
10762 maybe-distclean-gnuserv: distclean-gnuserv
10764 distclean-gnuserv:
10765 @[ -f ./gnuserv/Makefile ] || exit 0; \
10766 r=`${PWD_COMMAND}`; export r; \
10767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10768 $(SET_LIB_PATH) \
10769 $(HOST_EXPORTS) \
10770 for flag in $(EXTRA_HOST_FLAGS) ; do \
10771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10772 done; \
10773 echo "Doing distclean in gnuserv" ; \
10774 (cd gnuserv && \
10775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10777 "RANLIB=$${RANLIB}" \
10778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10779 distclean) \
10780 || exit 1
10782 @endif gnuserv
10784 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10785 maybe-maintainer-clean-gnuserv:
10786 @if gnuserv
10787 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10789 maintainer-clean-gnuserv:
10790 @[ -f ./gnuserv/Makefile ] || exit 0; \
10791 r=`${PWD_COMMAND}`; export r; \
10792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10793 $(SET_LIB_PATH) \
10794 $(HOST_EXPORTS) \
10795 for flag in $(EXTRA_HOST_FLAGS) ; do \
10796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10797 done; \
10798 echo "Doing maintainer-clean in gnuserv" ; \
10799 (cd gnuserv && \
10800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10802 "RANLIB=$${RANLIB}" \
10803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10804 maintainer-clean) \
10805 || exit 1
10807 @endif gnuserv
10810 .PHONY: configure-gprof maybe-configure-gprof
10811 maybe-configure-gprof:
10812 @if gprof
10813 maybe-configure-gprof: configure-gprof
10814 configure-gprof:
10815 @test ! -f gprof/Makefile || exit 0; \
10816 [ -d gprof ] || mkdir gprof; \
10817 r=`${PWD_COMMAND}`; export r; \
10818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10819 $(HOST_EXPORTS) \
10820 echo Configuring in gprof; \
10821 cd gprof || exit 1; \
10822 case $(srcdir) in \
10823 \.) \
10824 srcdiroption="--srcdir=."; \
10825 libsrcdir=".";; \
10826 /* | [A-Za-z]:[\\/]*) \
10827 srcdiroption="--srcdir=$(srcdir)/gprof"; \
10828 libsrcdir="$$s/gprof";; \
10829 *) \
10830 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
10831 libsrcdir="$$s/gprof";; \
10832 esac; \
10833 $(SHELL) $${libsrcdir}/configure \
10834 $(HOST_CONFIGARGS) $${srcdiroption} \
10835 || exit 1
10836 @endif gprof
10838 .PHONY: all-gprof maybe-all-gprof
10839 maybe-all-gprof:
10840 @if gprof
10841 TARGET-gprof=all
10842 maybe-all-gprof: all-gprof
10843 all-gprof: configure-gprof
10844 @r=`${PWD_COMMAND}`; export r; \
10845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10846 $(SET_LIB_PATH) \
10847 $(HOST_EXPORTS) \
10848 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) \
10849 $(TARGET-gprof))
10850 @endif gprof
10852 .PHONY: check-gprof maybe-check-gprof
10853 maybe-check-gprof:
10854 @if gprof
10855 maybe-check-gprof: check-gprof
10857 check-gprof:
10858 @r=`${PWD_COMMAND}`; export r; \
10859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10860 $(SET_LIB_PATH) \
10861 $(HOST_EXPORTS) \
10862 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
10864 @endif gprof
10866 .PHONY: install-gprof maybe-install-gprof
10867 maybe-install-gprof:
10868 @if gprof
10869 maybe-install-gprof: install-gprof
10871 install-gprof: installdirs
10872 @r=`${PWD_COMMAND}`; export r; \
10873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10874 $(SET_LIB_PATH) \
10875 $(HOST_EXPORTS) \
10876 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
10878 @endif gprof
10880 # Other targets (info, dvi, etc.)
10882 .PHONY: maybe-info-gprof info-gprof
10883 maybe-info-gprof:
10884 @if gprof
10885 maybe-info-gprof: info-gprof
10887 info-gprof: \
10888 configure-gprof
10889 @[ -f ./gprof/Makefile ] || exit 0; \
10890 r=`${PWD_COMMAND}`; export r; \
10891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10892 $(SET_LIB_PATH) \
10893 $(HOST_EXPORTS) \
10894 for flag in $(EXTRA_HOST_FLAGS) ; do \
10895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10896 done; \
10897 echo "Doing info in gprof" ; \
10898 (cd gprof && \
10899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10901 "RANLIB=$${RANLIB}" \
10902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10903 info) \
10904 || exit 1
10906 @endif gprof
10908 .PHONY: maybe-dvi-gprof dvi-gprof
10909 maybe-dvi-gprof:
10910 @if gprof
10911 maybe-dvi-gprof: dvi-gprof
10913 dvi-gprof: \
10914 configure-gprof
10915 @[ -f ./gprof/Makefile ] || exit 0; \
10916 r=`${PWD_COMMAND}`; export r; \
10917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10918 $(SET_LIB_PATH) \
10919 $(HOST_EXPORTS) \
10920 for flag in $(EXTRA_HOST_FLAGS) ; do \
10921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10922 done; \
10923 echo "Doing dvi in gprof" ; \
10924 (cd gprof && \
10925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10927 "RANLIB=$${RANLIB}" \
10928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10929 dvi) \
10930 || exit 1
10932 @endif gprof
10934 .PHONY: maybe-html-gprof html-gprof
10935 maybe-html-gprof:
10936 @if gprof
10937 maybe-html-gprof: html-gprof
10939 html-gprof: \
10940 configure-gprof
10941 @[ -f ./gprof/Makefile ] || exit 0; \
10942 r=`${PWD_COMMAND}`; export r; \
10943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10944 $(SET_LIB_PATH) \
10945 $(HOST_EXPORTS) \
10946 for flag in $(EXTRA_HOST_FLAGS) ; do \
10947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10948 done; \
10949 echo "Doing html in gprof" ; \
10950 (cd gprof && \
10951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10953 "RANLIB=$${RANLIB}" \
10954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10955 html) \
10956 || exit 1
10958 @endif gprof
10960 .PHONY: maybe-TAGS-gprof TAGS-gprof
10961 maybe-TAGS-gprof:
10962 @if gprof
10963 maybe-TAGS-gprof: TAGS-gprof
10965 TAGS-gprof: \
10966 configure-gprof
10967 @[ -f ./gprof/Makefile ] || exit 0; \
10968 r=`${PWD_COMMAND}`; export r; \
10969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10970 $(SET_LIB_PATH) \
10971 $(HOST_EXPORTS) \
10972 for flag in $(EXTRA_HOST_FLAGS) ; do \
10973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10974 done; \
10975 echo "Doing TAGS in gprof" ; \
10976 (cd gprof && \
10977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10979 "RANLIB=$${RANLIB}" \
10980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10981 TAGS) \
10982 || exit 1
10984 @endif gprof
10986 .PHONY: maybe-install-info-gprof install-info-gprof
10987 maybe-install-info-gprof:
10988 @if gprof
10989 maybe-install-info-gprof: install-info-gprof
10991 install-info-gprof: \
10992 configure-gprof \
10993 info-gprof
10994 @[ -f ./gprof/Makefile ] || exit 0; \
10995 r=`${PWD_COMMAND}`; export r; \
10996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10997 $(SET_LIB_PATH) \
10998 $(HOST_EXPORTS) \
10999 for flag in $(EXTRA_HOST_FLAGS) ; do \
11000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11001 done; \
11002 echo "Doing install-info in gprof" ; \
11003 (cd gprof && \
11004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11006 "RANLIB=$${RANLIB}" \
11007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11008 install-info) \
11009 || exit 1
11011 @endif gprof
11013 .PHONY: maybe-installcheck-gprof installcheck-gprof
11014 maybe-installcheck-gprof:
11015 @if gprof
11016 maybe-installcheck-gprof: installcheck-gprof
11018 installcheck-gprof: \
11019 configure-gprof
11020 @[ -f ./gprof/Makefile ] || exit 0; \
11021 r=`${PWD_COMMAND}`; export r; \
11022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11023 $(SET_LIB_PATH) \
11024 $(HOST_EXPORTS) \
11025 for flag in $(EXTRA_HOST_FLAGS) ; do \
11026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11027 done; \
11028 echo "Doing installcheck in gprof" ; \
11029 (cd gprof && \
11030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11032 "RANLIB=$${RANLIB}" \
11033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11034 installcheck) \
11035 || exit 1
11037 @endif gprof
11039 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
11040 maybe-mostlyclean-gprof:
11041 @if gprof
11042 maybe-mostlyclean-gprof: mostlyclean-gprof
11044 mostlyclean-gprof:
11045 @[ -f ./gprof/Makefile ] || exit 0; \
11046 r=`${PWD_COMMAND}`; export r; \
11047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11048 $(SET_LIB_PATH) \
11049 $(HOST_EXPORTS) \
11050 for flag in $(EXTRA_HOST_FLAGS) ; do \
11051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11052 done; \
11053 echo "Doing mostlyclean in gprof" ; \
11054 (cd gprof && \
11055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11057 "RANLIB=$${RANLIB}" \
11058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11059 mostlyclean) \
11060 || exit 1
11062 @endif gprof
11064 .PHONY: maybe-clean-gprof clean-gprof
11065 maybe-clean-gprof:
11066 @if gprof
11067 maybe-clean-gprof: clean-gprof
11069 clean-gprof:
11070 @[ -f ./gprof/Makefile ] || exit 0; \
11071 r=`${PWD_COMMAND}`; export r; \
11072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11073 $(SET_LIB_PATH) \
11074 $(HOST_EXPORTS) \
11075 for flag in $(EXTRA_HOST_FLAGS) ; do \
11076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11077 done; \
11078 echo "Doing clean in gprof" ; \
11079 (cd gprof && \
11080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11082 "RANLIB=$${RANLIB}" \
11083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11084 clean) \
11085 || exit 1
11087 @endif gprof
11089 .PHONY: maybe-distclean-gprof distclean-gprof
11090 maybe-distclean-gprof:
11091 @if gprof
11092 maybe-distclean-gprof: distclean-gprof
11094 distclean-gprof:
11095 @[ -f ./gprof/Makefile ] || exit 0; \
11096 r=`${PWD_COMMAND}`; export r; \
11097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11098 $(SET_LIB_PATH) \
11099 $(HOST_EXPORTS) \
11100 for flag in $(EXTRA_HOST_FLAGS) ; do \
11101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11102 done; \
11103 echo "Doing distclean in gprof" ; \
11104 (cd gprof && \
11105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11107 "RANLIB=$${RANLIB}" \
11108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11109 distclean) \
11110 || exit 1
11112 @endif gprof
11114 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
11115 maybe-maintainer-clean-gprof:
11116 @if gprof
11117 maybe-maintainer-clean-gprof: maintainer-clean-gprof
11119 maintainer-clean-gprof:
11120 @[ -f ./gprof/Makefile ] || exit 0; \
11121 r=`${PWD_COMMAND}`; export r; \
11122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11123 $(SET_LIB_PATH) \
11124 $(HOST_EXPORTS) \
11125 for flag in $(EXTRA_HOST_FLAGS) ; do \
11126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11127 done; \
11128 echo "Doing maintainer-clean in gprof" ; \
11129 (cd gprof && \
11130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11132 "RANLIB=$${RANLIB}" \
11133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11134 maintainer-clean) \
11135 || exit 1
11137 @endif gprof
11140 .PHONY: configure-gzip maybe-configure-gzip
11141 maybe-configure-gzip:
11142 @if gzip
11143 maybe-configure-gzip: configure-gzip
11144 configure-gzip:
11145 @test ! -f gzip/Makefile || exit 0; \
11146 [ -d gzip ] || mkdir gzip; \
11147 r=`${PWD_COMMAND}`; export r; \
11148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11149 $(HOST_EXPORTS) \
11150 echo Configuring in gzip; \
11151 cd gzip || exit 1; \
11152 case $(srcdir) in \
11153 \.) \
11154 srcdiroption="--srcdir=."; \
11155 libsrcdir=".";; \
11156 /* | [A-Za-z]:[\\/]*) \
11157 srcdiroption="--srcdir=$(srcdir)/gzip"; \
11158 libsrcdir="$$s/gzip";; \
11159 *) \
11160 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
11161 libsrcdir="$$s/gzip";; \
11162 esac; \
11163 $(SHELL) $${libsrcdir}/configure \
11164 $(HOST_CONFIGARGS) $${srcdiroption} \
11165 || exit 1
11166 @endif gzip
11168 .PHONY: all-gzip maybe-all-gzip
11169 maybe-all-gzip:
11170 @if gzip
11171 TARGET-gzip=all
11172 maybe-all-gzip: all-gzip
11173 all-gzip: configure-gzip
11174 @r=`${PWD_COMMAND}`; export r; \
11175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11176 $(SET_LIB_PATH) \
11177 $(HOST_EXPORTS) \
11178 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) \
11179 $(TARGET-gzip))
11180 @endif gzip
11182 .PHONY: check-gzip maybe-check-gzip
11183 maybe-check-gzip:
11184 @if gzip
11185 maybe-check-gzip: check-gzip
11187 check-gzip:
11188 @r=`${PWD_COMMAND}`; export r; \
11189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11190 $(SET_LIB_PATH) \
11191 $(HOST_EXPORTS) \
11192 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
11194 @endif gzip
11196 .PHONY: install-gzip maybe-install-gzip
11197 maybe-install-gzip:
11198 @if gzip
11199 maybe-install-gzip: install-gzip
11201 install-gzip: installdirs
11202 @r=`${PWD_COMMAND}`; export r; \
11203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11204 $(SET_LIB_PATH) \
11205 $(HOST_EXPORTS) \
11206 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
11208 @endif gzip
11210 # Other targets (info, dvi, etc.)
11212 .PHONY: maybe-info-gzip info-gzip
11213 maybe-info-gzip:
11214 @if gzip
11215 maybe-info-gzip: info-gzip
11217 info-gzip: \
11218 configure-gzip
11219 @[ -f ./gzip/Makefile ] || exit 0; \
11220 r=`${PWD_COMMAND}`; export r; \
11221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11222 $(SET_LIB_PATH) \
11223 $(HOST_EXPORTS) \
11224 for flag in $(EXTRA_HOST_FLAGS) ; do \
11225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11226 done; \
11227 echo "Doing info in gzip" ; \
11228 (cd gzip && \
11229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11231 "RANLIB=$${RANLIB}" \
11232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11233 info) \
11234 || exit 1
11236 @endif gzip
11238 .PHONY: maybe-dvi-gzip dvi-gzip
11239 maybe-dvi-gzip:
11240 @if gzip
11241 maybe-dvi-gzip: dvi-gzip
11243 dvi-gzip: \
11244 configure-gzip
11245 @[ -f ./gzip/Makefile ] || exit 0; \
11246 r=`${PWD_COMMAND}`; export r; \
11247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11248 $(SET_LIB_PATH) \
11249 $(HOST_EXPORTS) \
11250 for flag in $(EXTRA_HOST_FLAGS) ; do \
11251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11252 done; \
11253 echo "Doing dvi in gzip" ; \
11254 (cd gzip && \
11255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11257 "RANLIB=$${RANLIB}" \
11258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11259 dvi) \
11260 || exit 1
11262 @endif gzip
11264 .PHONY: maybe-html-gzip html-gzip
11265 maybe-html-gzip:
11266 @if gzip
11267 maybe-html-gzip: html-gzip
11269 html-gzip: \
11270 configure-gzip
11271 @[ -f ./gzip/Makefile ] || exit 0; \
11272 r=`${PWD_COMMAND}`; export r; \
11273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11274 $(SET_LIB_PATH) \
11275 $(HOST_EXPORTS) \
11276 for flag in $(EXTRA_HOST_FLAGS) ; do \
11277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11278 done; \
11279 echo "Doing html in gzip" ; \
11280 (cd gzip && \
11281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11283 "RANLIB=$${RANLIB}" \
11284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11285 html) \
11286 || exit 1
11288 @endif gzip
11290 .PHONY: maybe-TAGS-gzip TAGS-gzip
11291 maybe-TAGS-gzip:
11292 @if gzip
11293 maybe-TAGS-gzip: TAGS-gzip
11295 TAGS-gzip: \
11296 configure-gzip
11297 @[ -f ./gzip/Makefile ] || exit 0; \
11298 r=`${PWD_COMMAND}`; export r; \
11299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11300 $(SET_LIB_PATH) \
11301 $(HOST_EXPORTS) \
11302 for flag in $(EXTRA_HOST_FLAGS) ; do \
11303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11304 done; \
11305 echo "Doing TAGS in gzip" ; \
11306 (cd gzip && \
11307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11309 "RANLIB=$${RANLIB}" \
11310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11311 TAGS) \
11312 || exit 1
11314 @endif gzip
11316 .PHONY: maybe-install-info-gzip install-info-gzip
11317 maybe-install-info-gzip:
11318 @if gzip
11319 maybe-install-info-gzip: install-info-gzip
11321 install-info-gzip: \
11322 configure-gzip \
11323 info-gzip
11324 @[ -f ./gzip/Makefile ] || exit 0; \
11325 r=`${PWD_COMMAND}`; export r; \
11326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11327 $(SET_LIB_PATH) \
11328 $(HOST_EXPORTS) \
11329 for flag in $(EXTRA_HOST_FLAGS) ; do \
11330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11331 done; \
11332 echo "Doing install-info in gzip" ; \
11333 (cd gzip && \
11334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11336 "RANLIB=$${RANLIB}" \
11337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11338 install-info) \
11339 || exit 1
11341 @endif gzip
11343 .PHONY: maybe-installcheck-gzip installcheck-gzip
11344 maybe-installcheck-gzip:
11345 @if gzip
11346 maybe-installcheck-gzip: installcheck-gzip
11348 installcheck-gzip: \
11349 configure-gzip
11350 @[ -f ./gzip/Makefile ] || exit 0; \
11351 r=`${PWD_COMMAND}`; export r; \
11352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11353 $(SET_LIB_PATH) \
11354 $(HOST_EXPORTS) \
11355 for flag in $(EXTRA_HOST_FLAGS) ; do \
11356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11357 done; \
11358 echo "Doing installcheck in gzip" ; \
11359 (cd gzip && \
11360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11362 "RANLIB=$${RANLIB}" \
11363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11364 installcheck) \
11365 || exit 1
11367 @endif gzip
11369 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
11370 maybe-mostlyclean-gzip:
11371 @if gzip
11372 maybe-mostlyclean-gzip: mostlyclean-gzip
11374 mostlyclean-gzip:
11375 @[ -f ./gzip/Makefile ] || exit 0; \
11376 r=`${PWD_COMMAND}`; export r; \
11377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11378 $(SET_LIB_PATH) \
11379 $(HOST_EXPORTS) \
11380 for flag in $(EXTRA_HOST_FLAGS) ; do \
11381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11382 done; \
11383 echo "Doing mostlyclean in gzip" ; \
11384 (cd gzip && \
11385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11387 "RANLIB=$${RANLIB}" \
11388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11389 mostlyclean) \
11390 || exit 1
11392 @endif gzip
11394 .PHONY: maybe-clean-gzip clean-gzip
11395 maybe-clean-gzip:
11396 @if gzip
11397 maybe-clean-gzip: clean-gzip
11399 clean-gzip:
11400 @[ -f ./gzip/Makefile ] || exit 0; \
11401 r=`${PWD_COMMAND}`; export r; \
11402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11403 $(SET_LIB_PATH) \
11404 $(HOST_EXPORTS) \
11405 for flag in $(EXTRA_HOST_FLAGS) ; do \
11406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11407 done; \
11408 echo "Doing clean in gzip" ; \
11409 (cd gzip && \
11410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11412 "RANLIB=$${RANLIB}" \
11413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11414 clean) \
11415 || exit 1
11417 @endif gzip
11419 .PHONY: maybe-distclean-gzip distclean-gzip
11420 maybe-distclean-gzip:
11421 @if gzip
11422 maybe-distclean-gzip: distclean-gzip
11424 distclean-gzip:
11425 @[ -f ./gzip/Makefile ] || exit 0; \
11426 r=`${PWD_COMMAND}`; export r; \
11427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11428 $(SET_LIB_PATH) \
11429 $(HOST_EXPORTS) \
11430 for flag in $(EXTRA_HOST_FLAGS) ; do \
11431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11432 done; \
11433 echo "Doing distclean in gzip" ; \
11434 (cd gzip && \
11435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11437 "RANLIB=$${RANLIB}" \
11438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11439 distclean) \
11440 || exit 1
11442 @endif gzip
11444 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
11445 maybe-maintainer-clean-gzip:
11446 @if gzip
11447 maybe-maintainer-clean-gzip: maintainer-clean-gzip
11449 maintainer-clean-gzip:
11450 @[ -f ./gzip/Makefile ] || exit 0; \
11451 r=`${PWD_COMMAND}`; export r; \
11452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11453 $(SET_LIB_PATH) \
11454 $(HOST_EXPORTS) \
11455 for flag in $(EXTRA_HOST_FLAGS) ; do \
11456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11457 done; \
11458 echo "Doing maintainer-clean in gzip" ; \
11459 (cd gzip && \
11460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11462 "RANLIB=$${RANLIB}" \
11463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11464 maintainer-clean) \
11465 || exit 1
11467 @endif gzip
11470 .PHONY: configure-hello maybe-configure-hello
11471 maybe-configure-hello:
11472 @if hello
11473 maybe-configure-hello: configure-hello
11474 configure-hello:
11475 @test ! -f hello/Makefile || exit 0; \
11476 [ -d hello ] || mkdir hello; \
11477 r=`${PWD_COMMAND}`; export r; \
11478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11479 $(HOST_EXPORTS) \
11480 echo Configuring in hello; \
11481 cd hello || exit 1; \
11482 case $(srcdir) in \
11483 \.) \
11484 srcdiroption="--srcdir=."; \
11485 libsrcdir=".";; \
11486 /* | [A-Za-z]:[\\/]*) \
11487 srcdiroption="--srcdir=$(srcdir)/hello"; \
11488 libsrcdir="$$s/hello";; \
11489 *) \
11490 srcdiroption="--srcdir=../$(srcdir)/hello"; \
11491 libsrcdir="$$s/hello";; \
11492 esac; \
11493 $(SHELL) $${libsrcdir}/configure \
11494 $(HOST_CONFIGARGS) $${srcdiroption} \
11495 || exit 1
11496 @endif hello
11498 .PHONY: all-hello maybe-all-hello
11499 maybe-all-hello:
11500 @if hello
11501 TARGET-hello=all
11502 maybe-all-hello: all-hello
11503 all-hello: configure-hello
11504 @r=`${PWD_COMMAND}`; export r; \
11505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11506 $(SET_LIB_PATH) \
11507 $(HOST_EXPORTS) \
11508 (cd hello && $(MAKE) $(FLAGS_TO_PASS) \
11509 $(TARGET-hello))
11510 @endif hello
11512 .PHONY: check-hello maybe-check-hello
11513 maybe-check-hello:
11514 @if hello
11515 maybe-check-hello: check-hello
11517 check-hello:
11518 @r=`${PWD_COMMAND}`; export r; \
11519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11520 $(SET_LIB_PATH) \
11521 $(HOST_EXPORTS) \
11522 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
11524 @endif hello
11526 .PHONY: install-hello maybe-install-hello
11527 maybe-install-hello:
11528 @if hello
11529 maybe-install-hello: install-hello
11531 install-hello: installdirs
11532 @r=`${PWD_COMMAND}`; export r; \
11533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11534 $(SET_LIB_PATH) \
11535 $(HOST_EXPORTS) \
11536 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
11538 @endif hello
11540 # Other targets (info, dvi, etc.)
11542 .PHONY: maybe-info-hello info-hello
11543 maybe-info-hello:
11544 @if hello
11545 maybe-info-hello: info-hello
11547 info-hello: \
11548 configure-hello
11549 @[ -f ./hello/Makefile ] || exit 0; \
11550 r=`${PWD_COMMAND}`; export r; \
11551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11552 $(SET_LIB_PATH) \
11553 $(HOST_EXPORTS) \
11554 for flag in $(EXTRA_HOST_FLAGS) ; do \
11555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11556 done; \
11557 echo "Doing info in hello" ; \
11558 (cd hello && \
11559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11561 "RANLIB=$${RANLIB}" \
11562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11563 info) \
11564 || exit 1
11566 @endif hello
11568 .PHONY: maybe-dvi-hello dvi-hello
11569 maybe-dvi-hello:
11570 @if hello
11571 maybe-dvi-hello: dvi-hello
11573 dvi-hello: \
11574 configure-hello
11575 @[ -f ./hello/Makefile ] || exit 0; \
11576 r=`${PWD_COMMAND}`; export r; \
11577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11578 $(SET_LIB_PATH) \
11579 $(HOST_EXPORTS) \
11580 for flag in $(EXTRA_HOST_FLAGS) ; do \
11581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11582 done; \
11583 echo "Doing dvi in hello" ; \
11584 (cd hello && \
11585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11587 "RANLIB=$${RANLIB}" \
11588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11589 dvi) \
11590 || exit 1
11592 @endif hello
11594 .PHONY: maybe-html-hello html-hello
11595 maybe-html-hello:
11596 @if hello
11597 maybe-html-hello: html-hello
11599 html-hello: \
11600 configure-hello
11601 @[ -f ./hello/Makefile ] || exit 0; \
11602 r=`${PWD_COMMAND}`; export r; \
11603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11604 $(SET_LIB_PATH) \
11605 $(HOST_EXPORTS) \
11606 for flag in $(EXTRA_HOST_FLAGS) ; do \
11607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11608 done; \
11609 echo "Doing html in hello" ; \
11610 (cd hello && \
11611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11613 "RANLIB=$${RANLIB}" \
11614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11615 html) \
11616 || exit 1
11618 @endif hello
11620 .PHONY: maybe-TAGS-hello TAGS-hello
11621 maybe-TAGS-hello:
11622 @if hello
11623 maybe-TAGS-hello: TAGS-hello
11625 TAGS-hello: \
11626 configure-hello
11627 @[ -f ./hello/Makefile ] || exit 0; \
11628 r=`${PWD_COMMAND}`; export r; \
11629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11630 $(SET_LIB_PATH) \
11631 $(HOST_EXPORTS) \
11632 for flag in $(EXTRA_HOST_FLAGS) ; do \
11633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11634 done; \
11635 echo "Doing TAGS in hello" ; \
11636 (cd hello && \
11637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11639 "RANLIB=$${RANLIB}" \
11640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11641 TAGS) \
11642 || exit 1
11644 @endif hello
11646 .PHONY: maybe-install-info-hello install-info-hello
11647 maybe-install-info-hello:
11648 @if hello
11649 maybe-install-info-hello: install-info-hello
11651 install-info-hello: \
11652 configure-hello \
11653 info-hello
11654 @[ -f ./hello/Makefile ] || exit 0; \
11655 r=`${PWD_COMMAND}`; export r; \
11656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11657 $(SET_LIB_PATH) \
11658 $(HOST_EXPORTS) \
11659 for flag in $(EXTRA_HOST_FLAGS) ; do \
11660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11661 done; \
11662 echo "Doing install-info in hello" ; \
11663 (cd hello && \
11664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11666 "RANLIB=$${RANLIB}" \
11667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11668 install-info) \
11669 || exit 1
11671 @endif hello
11673 .PHONY: maybe-installcheck-hello installcheck-hello
11674 maybe-installcheck-hello:
11675 @if hello
11676 maybe-installcheck-hello: installcheck-hello
11678 installcheck-hello: \
11679 configure-hello
11680 @[ -f ./hello/Makefile ] || exit 0; \
11681 r=`${PWD_COMMAND}`; export r; \
11682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11683 $(SET_LIB_PATH) \
11684 $(HOST_EXPORTS) \
11685 for flag in $(EXTRA_HOST_FLAGS) ; do \
11686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11687 done; \
11688 echo "Doing installcheck in hello" ; \
11689 (cd hello && \
11690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11692 "RANLIB=$${RANLIB}" \
11693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11694 installcheck) \
11695 || exit 1
11697 @endif hello
11699 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
11700 maybe-mostlyclean-hello:
11701 @if hello
11702 maybe-mostlyclean-hello: mostlyclean-hello
11704 mostlyclean-hello:
11705 @[ -f ./hello/Makefile ] || exit 0; \
11706 r=`${PWD_COMMAND}`; export r; \
11707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11708 $(SET_LIB_PATH) \
11709 $(HOST_EXPORTS) \
11710 for flag in $(EXTRA_HOST_FLAGS) ; do \
11711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11712 done; \
11713 echo "Doing mostlyclean in hello" ; \
11714 (cd hello && \
11715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11717 "RANLIB=$${RANLIB}" \
11718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11719 mostlyclean) \
11720 || exit 1
11722 @endif hello
11724 .PHONY: maybe-clean-hello clean-hello
11725 maybe-clean-hello:
11726 @if hello
11727 maybe-clean-hello: clean-hello
11729 clean-hello:
11730 @[ -f ./hello/Makefile ] || exit 0; \
11731 r=`${PWD_COMMAND}`; export r; \
11732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11733 $(SET_LIB_PATH) \
11734 $(HOST_EXPORTS) \
11735 for flag in $(EXTRA_HOST_FLAGS) ; do \
11736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11737 done; \
11738 echo "Doing clean in hello" ; \
11739 (cd hello && \
11740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11742 "RANLIB=$${RANLIB}" \
11743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11744 clean) \
11745 || exit 1
11747 @endif hello
11749 .PHONY: maybe-distclean-hello distclean-hello
11750 maybe-distclean-hello:
11751 @if hello
11752 maybe-distclean-hello: distclean-hello
11754 distclean-hello:
11755 @[ -f ./hello/Makefile ] || exit 0; \
11756 r=`${PWD_COMMAND}`; export r; \
11757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11758 $(SET_LIB_PATH) \
11759 $(HOST_EXPORTS) \
11760 for flag in $(EXTRA_HOST_FLAGS) ; do \
11761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11762 done; \
11763 echo "Doing distclean in hello" ; \
11764 (cd hello && \
11765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11767 "RANLIB=$${RANLIB}" \
11768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11769 distclean) \
11770 || exit 1
11772 @endif hello
11774 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11775 maybe-maintainer-clean-hello:
11776 @if hello
11777 maybe-maintainer-clean-hello: maintainer-clean-hello
11779 maintainer-clean-hello:
11780 @[ -f ./hello/Makefile ] || exit 0; \
11781 r=`${PWD_COMMAND}`; export r; \
11782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11783 $(SET_LIB_PATH) \
11784 $(HOST_EXPORTS) \
11785 for flag in $(EXTRA_HOST_FLAGS) ; do \
11786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11787 done; \
11788 echo "Doing maintainer-clean in hello" ; \
11789 (cd hello && \
11790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11792 "RANLIB=$${RANLIB}" \
11793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11794 maintainer-clean) \
11795 || exit 1
11797 @endif hello
11800 .PHONY: configure-indent maybe-configure-indent
11801 maybe-configure-indent:
11802 @if indent
11803 maybe-configure-indent: configure-indent
11804 configure-indent:
11805 @test ! -f indent/Makefile || exit 0; \
11806 [ -d indent ] || mkdir indent; \
11807 r=`${PWD_COMMAND}`; export r; \
11808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11809 $(HOST_EXPORTS) \
11810 echo Configuring in indent; \
11811 cd indent || exit 1; \
11812 case $(srcdir) in \
11813 \.) \
11814 srcdiroption="--srcdir=."; \
11815 libsrcdir=".";; \
11816 /* | [A-Za-z]:[\\/]*) \
11817 srcdiroption="--srcdir=$(srcdir)/indent"; \
11818 libsrcdir="$$s/indent";; \
11819 *) \
11820 srcdiroption="--srcdir=../$(srcdir)/indent"; \
11821 libsrcdir="$$s/indent";; \
11822 esac; \
11823 $(SHELL) $${libsrcdir}/configure \
11824 $(HOST_CONFIGARGS) $${srcdiroption} \
11825 || exit 1
11826 @endif indent
11828 .PHONY: all-indent maybe-all-indent
11829 maybe-all-indent:
11830 @if indent
11831 TARGET-indent=all
11832 maybe-all-indent: all-indent
11833 all-indent: configure-indent
11834 @r=`${PWD_COMMAND}`; export r; \
11835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11836 $(SET_LIB_PATH) \
11837 $(HOST_EXPORTS) \
11838 (cd indent && $(MAKE) $(FLAGS_TO_PASS) \
11839 $(TARGET-indent))
11840 @endif indent
11842 .PHONY: check-indent maybe-check-indent
11843 maybe-check-indent:
11844 @if indent
11845 maybe-check-indent: check-indent
11847 check-indent:
11848 @r=`${PWD_COMMAND}`; export r; \
11849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11850 $(SET_LIB_PATH) \
11851 $(HOST_EXPORTS) \
11852 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
11854 @endif indent
11856 .PHONY: install-indent maybe-install-indent
11857 maybe-install-indent:
11858 @if indent
11859 maybe-install-indent: install-indent
11861 install-indent: installdirs
11862 @r=`${PWD_COMMAND}`; export r; \
11863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11864 $(SET_LIB_PATH) \
11865 $(HOST_EXPORTS) \
11866 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
11868 @endif indent
11870 # Other targets (info, dvi, etc.)
11872 .PHONY: maybe-info-indent info-indent
11873 maybe-info-indent:
11874 @if indent
11875 maybe-info-indent: info-indent
11877 info-indent: \
11878 configure-indent
11879 @[ -f ./indent/Makefile ] || exit 0; \
11880 r=`${PWD_COMMAND}`; export r; \
11881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11882 $(SET_LIB_PATH) \
11883 $(HOST_EXPORTS) \
11884 for flag in $(EXTRA_HOST_FLAGS) ; do \
11885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11886 done; \
11887 echo "Doing info in indent" ; \
11888 (cd indent && \
11889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11891 "RANLIB=$${RANLIB}" \
11892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11893 info) \
11894 || exit 1
11896 @endif indent
11898 .PHONY: maybe-dvi-indent dvi-indent
11899 maybe-dvi-indent:
11900 @if indent
11901 maybe-dvi-indent: dvi-indent
11903 dvi-indent: \
11904 configure-indent
11905 @[ -f ./indent/Makefile ] || exit 0; \
11906 r=`${PWD_COMMAND}`; export r; \
11907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11908 $(SET_LIB_PATH) \
11909 $(HOST_EXPORTS) \
11910 for flag in $(EXTRA_HOST_FLAGS) ; do \
11911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11912 done; \
11913 echo "Doing dvi in indent" ; \
11914 (cd indent && \
11915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11917 "RANLIB=$${RANLIB}" \
11918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11919 dvi) \
11920 || exit 1
11922 @endif indent
11924 .PHONY: maybe-html-indent html-indent
11925 maybe-html-indent:
11926 @if indent
11927 maybe-html-indent: html-indent
11929 html-indent: \
11930 configure-indent
11931 @[ -f ./indent/Makefile ] || exit 0; \
11932 r=`${PWD_COMMAND}`; export r; \
11933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11934 $(SET_LIB_PATH) \
11935 $(HOST_EXPORTS) \
11936 for flag in $(EXTRA_HOST_FLAGS) ; do \
11937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11938 done; \
11939 echo "Doing html in indent" ; \
11940 (cd indent && \
11941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11943 "RANLIB=$${RANLIB}" \
11944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11945 html) \
11946 || exit 1
11948 @endif indent
11950 .PHONY: maybe-TAGS-indent TAGS-indent
11951 maybe-TAGS-indent:
11952 @if indent
11953 maybe-TAGS-indent: TAGS-indent
11955 TAGS-indent: \
11956 configure-indent
11957 @[ -f ./indent/Makefile ] || exit 0; \
11958 r=`${PWD_COMMAND}`; export r; \
11959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11960 $(SET_LIB_PATH) \
11961 $(HOST_EXPORTS) \
11962 for flag in $(EXTRA_HOST_FLAGS) ; do \
11963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11964 done; \
11965 echo "Doing TAGS in indent" ; \
11966 (cd indent && \
11967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11969 "RANLIB=$${RANLIB}" \
11970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11971 TAGS) \
11972 || exit 1
11974 @endif indent
11976 .PHONY: maybe-install-info-indent install-info-indent
11977 maybe-install-info-indent:
11978 @if indent
11979 maybe-install-info-indent: install-info-indent
11981 install-info-indent: \
11982 configure-indent \
11983 info-indent
11984 @[ -f ./indent/Makefile ] || exit 0; \
11985 r=`${PWD_COMMAND}`; export r; \
11986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11987 $(SET_LIB_PATH) \
11988 $(HOST_EXPORTS) \
11989 for flag in $(EXTRA_HOST_FLAGS) ; do \
11990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11991 done; \
11992 echo "Doing install-info in indent" ; \
11993 (cd indent && \
11994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11996 "RANLIB=$${RANLIB}" \
11997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11998 install-info) \
11999 || exit 1
12001 @endif indent
12003 .PHONY: maybe-installcheck-indent installcheck-indent
12004 maybe-installcheck-indent:
12005 @if indent
12006 maybe-installcheck-indent: installcheck-indent
12008 installcheck-indent: \
12009 configure-indent
12010 @[ -f ./indent/Makefile ] || exit 0; \
12011 r=`${PWD_COMMAND}`; export r; \
12012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12013 $(SET_LIB_PATH) \
12014 $(HOST_EXPORTS) \
12015 for flag in $(EXTRA_HOST_FLAGS) ; do \
12016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12017 done; \
12018 echo "Doing installcheck in indent" ; \
12019 (cd indent && \
12020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12022 "RANLIB=$${RANLIB}" \
12023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12024 installcheck) \
12025 || exit 1
12027 @endif indent
12029 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
12030 maybe-mostlyclean-indent:
12031 @if indent
12032 maybe-mostlyclean-indent: mostlyclean-indent
12034 mostlyclean-indent:
12035 @[ -f ./indent/Makefile ] || exit 0; \
12036 r=`${PWD_COMMAND}`; export r; \
12037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12038 $(SET_LIB_PATH) \
12039 $(HOST_EXPORTS) \
12040 for flag in $(EXTRA_HOST_FLAGS) ; do \
12041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12042 done; \
12043 echo "Doing mostlyclean in indent" ; \
12044 (cd indent && \
12045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12047 "RANLIB=$${RANLIB}" \
12048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12049 mostlyclean) \
12050 || exit 1
12052 @endif indent
12054 .PHONY: maybe-clean-indent clean-indent
12055 maybe-clean-indent:
12056 @if indent
12057 maybe-clean-indent: clean-indent
12059 clean-indent:
12060 @[ -f ./indent/Makefile ] || exit 0; \
12061 r=`${PWD_COMMAND}`; export r; \
12062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12063 $(SET_LIB_PATH) \
12064 $(HOST_EXPORTS) \
12065 for flag in $(EXTRA_HOST_FLAGS) ; do \
12066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12067 done; \
12068 echo "Doing clean in indent" ; \
12069 (cd indent && \
12070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12072 "RANLIB=$${RANLIB}" \
12073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12074 clean) \
12075 || exit 1
12077 @endif indent
12079 .PHONY: maybe-distclean-indent distclean-indent
12080 maybe-distclean-indent:
12081 @if indent
12082 maybe-distclean-indent: distclean-indent
12084 distclean-indent:
12085 @[ -f ./indent/Makefile ] || exit 0; \
12086 r=`${PWD_COMMAND}`; export r; \
12087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12088 $(SET_LIB_PATH) \
12089 $(HOST_EXPORTS) \
12090 for flag in $(EXTRA_HOST_FLAGS) ; do \
12091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12092 done; \
12093 echo "Doing distclean in indent" ; \
12094 (cd indent && \
12095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12097 "RANLIB=$${RANLIB}" \
12098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12099 distclean) \
12100 || exit 1
12102 @endif indent
12104 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
12105 maybe-maintainer-clean-indent:
12106 @if indent
12107 maybe-maintainer-clean-indent: maintainer-clean-indent
12109 maintainer-clean-indent:
12110 @[ -f ./indent/Makefile ] || exit 0; \
12111 r=`${PWD_COMMAND}`; export r; \
12112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12113 $(SET_LIB_PATH) \
12114 $(HOST_EXPORTS) \
12115 for flag in $(EXTRA_HOST_FLAGS) ; do \
12116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12117 done; \
12118 echo "Doing maintainer-clean in indent" ; \
12119 (cd indent && \
12120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12122 "RANLIB=$${RANLIB}" \
12123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12124 maintainer-clean) \
12125 || exit 1
12127 @endif indent
12130 .PHONY: configure-intl maybe-configure-intl
12131 maybe-configure-intl:
12132 @if intl
12133 maybe-configure-intl: configure-intl
12134 configure-intl:
12135 @test -f stage_last && exit 0; \
12136 test ! -f intl/Makefile || exit 0; \
12137 [ -d intl ] || mkdir intl; \
12138 r=`${PWD_COMMAND}`; export r; \
12139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12140 $(HOST_EXPORTS) \
12141 echo Configuring in intl; \
12142 cd intl || exit 1; \
12143 case $(srcdir) in \
12144 \.) \
12145 srcdiroption="--srcdir=."; \
12146 libsrcdir=".";; \
12147 /* | [A-Za-z]:[\\/]*) \
12148 srcdiroption="--srcdir=$(srcdir)/intl"; \
12149 libsrcdir="$$s/intl";; \
12150 *) \
12151 srcdiroption="--srcdir=../$(srcdir)/intl"; \
12152 libsrcdir="$$s/intl";; \
12153 esac; \
12154 $(SHELL) $${libsrcdir}/configure \
12155 $(HOST_CONFIGARGS) $${srcdiroption} \
12156 || exit 1
12157 @endif intl
12159 .PHONY: all-intl maybe-all-intl
12160 maybe-all-intl:
12161 @if intl
12162 TARGET-intl=all
12163 maybe-all-intl: all-intl
12164 all-intl: configure-intl
12165 @test -f stage_last && exit 0; \
12166 r=`${PWD_COMMAND}`; export r; \
12167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12168 $(SET_LIB_PATH) \
12169 $(HOST_EXPORTS) \
12170 (cd intl && $(MAKE) $(FLAGS_TO_PASS) \
12171 $(TARGET-intl))
12172 @endif intl
12174 .PHONY: check-intl maybe-check-intl
12175 maybe-check-intl:
12176 @if intl
12177 maybe-check-intl: check-intl
12179 check-intl:
12180 @r=`${PWD_COMMAND}`; export r; \
12181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12182 $(SET_LIB_PATH) \
12183 $(HOST_EXPORTS) \
12184 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
12186 @endif intl
12188 .PHONY: install-intl maybe-install-intl
12189 maybe-install-intl:
12190 @if intl
12191 maybe-install-intl: install-intl
12193 install-intl: installdirs
12194 @r=`${PWD_COMMAND}`; export r; \
12195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12196 $(SET_LIB_PATH) \
12197 $(HOST_EXPORTS) \
12198 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
12200 @endif intl
12202 # Other targets (info, dvi, etc.)
12204 .PHONY: maybe-info-intl info-intl
12205 maybe-info-intl:
12206 @if intl
12207 maybe-info-intl: info-intl
12209 info-intl: \
12210 configure-intl
12211 @[ -f ./intl/Makefile ] || exit 0; \
12212 r=`${PWD_COMMAND}`; export r; \
12213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12214 $(SET_LIB_PATH) \
12215 $(HOST_EXPORTS) \
12216 for flag in $(EXTRA_HOST_FLAGS) ; do \
12217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12218 done; \
12219 echo "Doing info in intl" ; \
12220 (cd intl && \
12221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12223 "RANLIB=$${RANLIB}" \
12224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12225 info) \
12226 || exit 1
12228 @endif intl
12230 .PHONY: maybe-dvi-intl dvi-intl
12231 maybe-dvi-intl:
12232 @if intl
12233 maybe-dvi-intl: dvi-intl
12235 dvi-intl: \
12236 configure-intl
12237 @[ -f ./intl/Makefile ] || exit 0; \
12238 r=`${PWD_COMMAND}`; export r; \
12239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12240 $(SET_LIB_PATH) \
12241 $(HOST_EXPORTS) \
12242 for flag in $(EXTRA_HOST_FLAGS) ; do \
12243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12244 done; \
12245 echo "Doing dvi in intl" ; \
12246 (cd intl && \
12247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12249 "RANLIB=$${RANLIB}" \
12250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12251 dvi) \
12252 || exit 1
12254 @endif intl
12256 .PHONY: maybe-html-intl html-intl
12257 maybe-html-intl:
12258 @if intl
12259 maybe-html-intl: html-intl
12261 html-intl: \
12262 configure-intl
12263 @[ -f ./intl/Makefile ] || exit 0; \
12264 r=`${PWD_COMMAND}`; export r; \
12265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12266 $(SET_LIB_PATH) \
12267 $(HOST_EXPORTS) \
12268 for flag in $(EXTRA_HOST_FLAGS) ; do \
12269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12270 done; \
12271 echo "Doing html in intl" ; \
12272 (cd intl && \
12273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12275 "RANLIB=$${RANLIB}" \
12276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12277 html) \
12278 || exit 1
12280 @endif intl
12282 .PHONY: maybe-TAGS-intl TAGS-intl
12283 maybe-TAGS-intl:
12284 @if intl
12285 maybe-TAGS-intl: TAGS-intl
12287 TAGS-intl: \
12288 configure-intl
12289 @[ -f ./intl/Makefile ] || exit 0; \
12290 r=`${PWD_COMMAND}`; export r; \
12291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12292 $(SET_LIB_PATH) \
12293 $(HOST_EXPORTS) \
12294 for flag in $(EXTRA_HOST_FLAGS) ; do \
12295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12296 done; \
12297 echo "Doing TAGS in intl" ; \
12298 (cd intl && \
12299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12301 "RANLIB=$${RANLIB}" \
12302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12303 TAGS) \
12304 || exit 1
12306 @endif intl
12308 .PHONY: maybe-install-info-intl install-info-intl
12309 maybe-install-info-intl:
12310 @if intl
12311 maybe-install-info-intl: install-info-intl
12313 install-info-intl: \
12314 configure-intl \
12315 info-intl
12316 @[ -f ./intl/Makefile ] || exit 0; \
12317 r=`${PWD_COMMAND}`; export r; \
12318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12319 $(SET_LIB_PATH) \
12320 $(HOST_EXPORTS) \
12321 for flag in $(EXTRA_HOST_FLAGS) ; do \
12322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12323 done; \
12324 echo "Doing install-info in intl" ; \
12325 (cd intl && \
12326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12328 "RANLIB=$${RANLIB}" \
12329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12330 install-info) \
12331 || exit 1
12333 @endif intl
12335 .PHONY: maybe-installcheck-intl installcheck-intl
12336 maybe-installcheck-intl:
12337 @if intl
12338 maybe-installcheck-intl: installcheck-intl
12340 installcheck-intl: \
12341 configure-intl
12342 @[ -f ./intl/Makefile ] || exit 0; \
12343 r=`${PWD_COMMAND}`; export r; \
12344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12345 $(SET_LIB_PATH) \
12346 $(HOST_EXPORTS) \
12347 for flag in $(EXTRA_HOST_FLAGS) ; do \
12348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12349 done; \
12350 echo "Doing installcheck in intl" ; \
12351 (cd intl && \
12352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12354 "RANLIB=$${RANLIB}" \
12355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12356 installcheck) \
12357 || exit 1
12359 @endif intl
12361 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
12362 maybe-mostlyclean-intl:
12363 @if intl
12364 maybe-mostlyclean-intl: mostlyclean-intl
12366 mostlyclean-intl:
12367 @[ -f ./intl/Makefile ] || exit 0; \
12368 r=`${PWD_COMMAND}`; export r; \
12369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12370 $(SET_LIB_PATH) \
12371 $(HOST_EXPORTS) \
12372 for flag in $(EXTRA_HOST_FLAGS) ; do \
12373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12374 done; \
12375 echo "Doing mostlyclean in intl" ; \
12376 (cd intl && \
12377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12379 "RANLIB=$${RANLIB}" \
12380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12381 mostlyclean) \
12382 || exit 1
12384 @endif intl
12386 .PHONY: maybe-clean-intl clean-intl
12387 maybe-clean-intl:
12388 @if intl
12389 maybe-clean-intl: clean-intl
12391 clean-intl:
12392 @[ -f ./intl/Makefile ] || exit 0; \
12393 r=`${PWD_COMMAND}`; export r; \
12394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12395 $(SET_LIB_PATH) \
12396 $(HOST_EXPORTS) \
12397 for flag in $(EXTRA_HOST_FLAGS) ; do \
12398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12399 done; \
12400 echo "Doing clean in intl" ; \
12401 (cd intl && \
12402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12404 "RANLIB=$${RANLIB}" \
12405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12406 clean) \
12407 || exit 1
12409 @endif intl
12411 .PHONY: maybe-distclean-intl distclean-intl
12412 maybe-distclean-intl:
12413 @if intl
12414 maybe-distclean-intl: distclean-intl
12416 distclean-intl:
12417 @[ -f ./intl/Makefile ] || exit 0; \
12418 r=`${PWD_COMMAND}`; export r; \
12419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12420 $(SET_LIB_PATH) \
12421 $(HOST_EXPORTS) \
12422 for flag in $(EXTRA_HOST_FLAGS) ; do \
12423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12424 done; \
12425 echo "Doing distclean in intl" ; \
12426 (cd intl && \
12427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12429 "RANLIB=$${RANLIB}" \
12430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12431 distclean) \
12432 || exit 1
12434 @endif intl
12436 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
12437 maybe-maintainer-clean-intl:
12438 @if intl
12439 maybe-maintainer-clean-intl: maintainer-clean-intl
12441 maintainer-clean-intl:
12442 @[ -f ./intl/Makefile ] || exit 0; \
12443 r=`${PWD_COMMAND}`; export r; \
12444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12445 $(SET_LIB_PATH) \
12446 $(HOST_EXPORTS) \
12447 for flag in $(EXTRA_HOST_FLAGS) ; do \
12448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12449 done; \
12450 echo "Doing maintainer-clean in intl" ; \
12451 (cd intl && \
12452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12454 "RANLIB=$${RANLIB}" \
12455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12456 maintainer-clean) \
12457 || exit 1
12459 @endif intl
12462 .PHONY: configure-tcl maybe-configure-tcl
12463 maybe-configure-tcl:
12464 @if tcl
12465 maybe-configure-tcl: configure-tcl
12466 configure-tcl:
12467 @test ! -f tcl/Makefile || exit 0; \
12468 [ -d tcl ] || mkdir tcl; \
12469 r=`${PWD_COMMAND}`; export r; \
12470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12471 $(HOST_EXPORTS) \
12472 echo Configuring in tcl; \
12473 cd tcl || exit 1; \
12474 case $(srcdir) in \
12475 \.) \
12476 srcdiroption="--srcdir=."; \
12477 libsrcdir=".";; \
12478 /* | [A-Za-z]:[\\/]*) \
12479 srcdiroption="--srcdir=$(srcdir)/tcl"; \
12480 libsrcdir="$$s/tcl";; \
12481 *) \
12482 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
12483 libsrcdir="$$s/tcl";; \
12484 esac; \
12485 $(SHELL) $${libsrcdir}/configure \
12486 $(HOST_CONFIGARGS) $${srcdiroption} \
12487 || exit 1
12488 @endif tcl
12490 .PHONY: all-tcl maybe-all-tcl
12491 maybe-all-tcl:
12492 @if tcl
12493 TARGET-tcl=all
12494 maybe-all-tcl: all-tcl
12495 all-tcl: configure-tcl
12496 @r=`${PWD_COMMAND}`; export r; \
12497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12498 $(SET_LIB_PATH) \
12499 $(HOST_EXPORTS) \
12500 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) \
12501 $(TARGET-tcl))
12502 @endif tcl
12504 .PHONY: check-tcl maybe-check-tcl
12505 maybe-check-tcl:
12506 @if tcl
12507 maybe-check-tcl: check-tcl
12509 check-tcl:
12510 @r=`${PWD_COMMAND}`; export r; \
12511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12512 $(SET_LIB_PATH) \
12513 $(HOST_EXPORTS) \
12514 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
12516 @endif tcl
12518 .PHONY: install-tcl maybe-install-tcl
12519 maybe-install-tcl:
12520 @if tcl
12521 maybe-install-tcl: install-tcl
12523 install-tcl: installdirs
12524 @r=`${PWD_COMMAND}`; export r; \
12525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12526 $(SET_LIB_PATH) \
12527 $(HOST_EXPORTS) \
12528 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
12530 @endif tcl
12532 # Other targets (info, dvi, etc.)
12534 .PHONY: maybe-info-tcl info-tcl
12535 maybe-info-tcl:
12536 @if tcl
12537 maybe-info-tcl: info-tcl
12539 info-tcl: \
12540 configure-tcl
12541 @[ -f ./tcl/Makefile ] || exit 0; \
12542 r=`${PWD_COMMAND}`; export r; \
12543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12544 $(SET_LIB_PATH) \
12545 $(HOST_EXPORTS) \
12546 for flag in $(EXTRA_HOST_FLAGS) ; do \
12547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12548 done; \
12549 echo "Doing info in tcl" ; \
12550 (cd tcl && \
12551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12553 "RANLIB=$${RANLIB}" \
12554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12555 info) \
12556 || exit 1
12558 @endif tcl
12560 .PHONY: maybe-dvi-tcl dvi-tcl
12561 maybe-dvi-tcl:
12562 @if tcl
12563 maybe-dvi-tcl: dvi-tcl
12565 dvi-tcl: \
12566 configure-tcl
12567 @[ -f ./tcl/Makefile ] || exit 0; \
12568 r=`${PWD_COMMAND}`; export r; \
12569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12570 $(SET_LIB_PATH) \
12571 $(HOST_EXPORTS) \
12572 for flag in $(EXTRA_HOST_FLAGS) ; do \
12573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12574 done; \
12575 echo "Doing dvi in tcl" ; \
12576 (cd tcl && \
12577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12579 "RANLIB=$${RANLIB}" \
12580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12581 dvi) \
12582 || exit 1
12584 @endif tcl
12586 .PHONY: maybe-html-tcl html-tcl
12587 maybe-html-tcl:
12588 @if tcl
12589 maybe-html-tcl: html-tcl
12591 html-tcl: \
12592 configure-tcl
12593 @[ -f ./tcl/Makefile ] || exit 0; \
12594 r=`${PWD_COMMAND}`; export r; \
12595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12596 $(SET_LIB_PATH) \
12597 $(HOST_EXPORTS) \
12598 for flag in $(EXTRA_HOST_FLAGS) ; do \
12599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12600 done; \
12601 echo "Doing html in tcl" ; \
12602 (cd tcl && \
12603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12605 "RANLIB=$${RANLIB}" \
12606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12607 html) \
12608 || exit 1
12610 @endif tcl
12612 .PHONY: maybe-TAGS-tcl TAGS-tcl
12613 maybe-TAGS-tcl:
12614 @if tcl
12615 maybe-TAGS-tcl: TAGS-tcl
12617 TAGS-tcl: \
12618 configure-tcl
12619 @[ -f ./tcl/Makefile ] || exit 0; \
12620 r=`${PWD_COMMAND}`; export r; \
12621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12622 $(SET_LIB_PATH) \
12623 $(HOST_EXPORTS) \
12624 for flag in $(EXTRA_HOST_FLAGS) ; do \
12625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12626 done; \
12627 echo "Doing TAGS in tcl" ; \
12628 (cd tcl && \
12629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12631 "RANLIB=$${RANLIB}" \
12632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12633 TAGS) \
12634 || exit 1
12636 @endif tcl
12638 .PHONY: maybe-install-info-tcl install-info-tcl
12639 maybe-install-info-tcl:
12640 @if tcl
12641 maybe-install-info-tcl: install-info-tcl
12643 install-info-tcl: \
12644 configure-tcl \
12645 info-tcl
12646 @[ -f ./tcl/Makefile ] || exit 0; \
12647 r=`${PWD_COMMAND}`; export r; \
12648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12649 $(SET_LIB_PATH) \
12650 $(HOST_EXPORTS) \
12651 for flag in $(EXTRA_HOST_FLAGS) ; do \
12652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12653 done; \
12654 echo "Doing install-info in tcl" ; \
12655 (cd tcl && \
12656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12658 "RANLIB=$${RANLIB}" \
12659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12660 install-info) \
12661 || exit 1
12663 @endif tcl
12665 .PHONY: maybe-installcheck-tcl installcheck-tcl
12666 maybe-installcheck-tcl:
12667 @if tcl
12668 maybe-installcheck-tcl: installcheck-tcl
12670 installcheck-tcl: \
12671 configure-tcl
12672 @[ -f ./tcl/Makefile ] || exit 0; \
12673 r=`${PWD_COMMAND}`; export r; \
12674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12675 $(SET_LIB_PATH) \
12676 $(HOST_EXPORTS) \
12677 for flag in $(EXTRA_HOST_FLAGS) ; do \
12678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12679 done; \
12680 echo "Doing installcheck in tcl" ; \
12681 (cd tcl && \
12682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12684 "RANLIB=$${RANLIB}" \
12685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12686 installcheck) \
12687 || exit 1
12689 @endif tcl
12691 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
12692 maybe-mostlyclean-tcl:
12693 @if tcl
12694 maybe-mostlyclean-tcl: mostlyclean-tcl
12696 # tcl doesn't support mostlyclean.
12697 mostlyclean-tcl:
12699 @endif tcl
12701 .PHONY: maybe-clean-tcl clean-tcl
12702 maybe-clean-tcl:
12703 @if tcl
12704 maybe-clean-tcl: clean-tcl
12706 clean-tcl:
12707 @[ -f ./tcl/Makefile ] || exit 0; \
12708 r=`${PWD_COMMAND}`; export r; \
12709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12710 $(SET_LIB_PATH) \
12711 $(HOST_EXPORTS) \
12712 for flag in $(EXTRA_HOST_FLAGS) ; do \
12713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12714 done; \
12715 echo "Doing clean in tcl" ; \
12716 (cd tcl && \
12717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12719 "RANLIB=$${RANLIB}" \
12720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12721 clean) \
12722 || exit 1
12724 @endif tcl
12726 .PHONY: maybe-distclean-tcl distclean-tcl
12727 maybe-distclean-tcl:
12728 @if tcl
12729 maybe-distclean-tcl: distclean-tcl
12731 distclean-tcl:
12732 @[ -f ./tcl/Makefile ] || exit 0; \
12733 r=`${PWD_COMMAND}`; export r; \
12734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12735 $(SET_LIB_PATH) \
12736 $(HOST_EXPORTS) \
12737 for flag in $(EXTRA_HOST_FLAGS) ; do \
12738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12739 done; \
12740 echo "Doing distclean in tcl" ; \
12741 (cd tcl && \
12742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12744 "RANLIB=$${RANLIB}" \
12745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12746 distclean) \
12747 || exit 1
12749 @endif tcl
12751 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
12752 maybe-maintainer-clean-tcl:
12753 @if tcl
12754 maybe-maintainer-clean-tcl: maintainer-clean-tcl
12756 maintainer-clean-tcl:
12757 @[ -f ./tcl/Makefile ] || exit 0; \
12758 r=`${PWD_COMMAND}`; export r; \
12759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12760 $(SET_LIB_PATH) \
12761 $(HOST_EXPORTS) \
12762 for flag in $(EXTRA_HOST_FLAGS) ; do \
12763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12764 done; \
12765 echo "Doing maintainer-clean in tcl" ; \
12766 (cd tcl && \
12767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12769 "RANLIB=$${RANLIB}" \
12770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12771 maintainer-clean) \
12772 || exit 1
12774 @endif tcl
12777 .PHONY: configure-itcl maybe-configure-itcl
12778 maybe-configure-itcl:
12779 @if itcl
12780 maybe-configure-itcl: configure-itcl
12781 configure-itcl:
12782 @test ! -f itcl/Makefile || exit 0; \
12783 [ -d itcl ] || mkdir itcl; \
12784 r=`${PWD_COMMAND}`; export r; \
12785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12786 $(HOST_EXPORTS) \
12787 echo Configuring in itcl; \
12788 cd itcl || exit 1; \
12789 case $(srcdir) in \
12790 \.) \
12791 srcdiroption="--srcdir=."; \
12792 libsrcdir=".";; \
12793 /* | [A-Za-z]:[\\/]*) \
12794 srcdiroption="--srcdir=$(srcdir)/itcl"; \
12795 libsrcdir="$$s/itcl";; \
12796 *) \
12797 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
12798 libsrcdir="$$s/itcl";; \
12799 esac; \
12800 $(SHELL) $${libsrcdir}/configure \
12801 $(HOST_CONFIGARGS) $${srcdiroption} \
12802 || exit 1
12803 @endif itcl
12805 .PHONY: all-itcl maybe-all-itcl
12806 maybe-all-itcl:
12807 @if itcl
12808 TARGET-itcl=all
12809 maybe-all-itcl: all-itcl
12810 all-itcl: configure-itcl
12811 @r=`${PWD_COMMAND}`; export r; \
12812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12813 $(SET_LIB_PATH) \
12814 $(HOST_EXPORTS) \
12815 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) \
12816 $(TARGET-itcl))
12817 @endif itcl
12819 .PHONY: check-itcl maybe-check-itcl
12820 maybe-check-itcl:
12821 @if itcl
12822 maybe-check-itcl: check-itcl
12824 check-itcl:
12825 @r=`${PWD_COMMAND}`; export r; \
12826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12827 $(SET_LIB_PATH) \
12828 $(HOST_EXPORTS) \
12829 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
12831 @endif itcl
12833 .PHONY: install-itcl maybe-install-itcl
12834 maybe-install-itcl:
12835 @if itcl
12836 maybe-install-itcl: install-itcl
12838 install-itcl: installdirs
12839 @r=`${PWD_COMMAND}`; export r; \
12840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12841 $(SET_LIB_PATH) \
12842 $(HOST_EXPORTS) \
12843 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
12845 @endif itcl
12847 # Other targets (info, dvi, etc.)
12849 .PHONY: maybe-info-itcl info-itcl
12850 maybe-info-itcl:
12851 @if itcl
12852 maybe-info-itcl: info-itcl
12854 info-itcl: \
12855 configure-itcl
12856 @[ -f ./itcl/Makefile ] || exit 0; \
12857 r=`${PWD_COMMAND}`; export r; \
12858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12859 $(SET_LIB_PATH) \
12860 $(HOST_EXPORTS) \
12861 for flag in $(EXTRA_HOST_FLAGS) ; do \
12862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12863 done; \
12864 echo "Doing info in itcl" ; \
12865 (cd itcl && \
12866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12868 "RANLIB=$${RANLIB}" \
12869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12870 info) \
12871 || exit 1
12873 @endif itcl
12875 .PHONY: maybe-dvi-itcl dvi-itcl
12876 maybe-dvi-itcl:
12877 @if itcl
12878 maybe-dvi-itcl: dvi-itcl
12880 dvi-itcl: \
12881 configure-itcl
12882 @[ -f ./itcl/Makefile ] || exit 0; \
12883 r=`${PWD_COMMAND}`; export r; \
12884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12885 $(SET_LIB_PATH) \
12886 $(HOST_EXPORTS) \
12887 for flag in $(EXTRA_HOST_FLAGS) ; do \
12888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12889 done; \
12890 echo "Doing dvi in itcl" ; \
12891 (cd itcl && \
12892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12894 "RANLIB=$${RANLIB}" \
12895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12896 dvi) \
12897 || exit 1
12899 @endif itcl
12901 .PHONY: maybe-html-itcl html-itcl
12902 maybe-html-itcl:
12903 @if itcl
12904 maybe-html-itcl: html-itcl
12906 html-itcl: \
12907 configure-itcl
12908 @[ -f ./itcl/Makefile ] || exit 0; \
12909 r=`${PWD_COMMAND}`; export r; \
12910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12911 $(SET_LIB_PATH) \
12912 $(HOST_EXPORTS) \
12913 for flag in $(EXTRA_HOST_FLAGS) ; do \
12914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12915 done; \
12916 echo "Doing html in itcl" ; \
12917 (cd itcl && \
12918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12920 "RANLIB=$${RANLIB}" \
12921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12922 html) \
12923 || exit 1
12925 @endif itcl
12927 .PHONY: maybe-TAGS-itcl TAGS-itcl
12928 maybe-TAGS-itcl:
12929 @if itcl
12930 maybe-TAGS-itcl: TAGS-itcl
12932 TAGS-itcl: \
12933 configure-itcl
12934 @[ -f ./itcl/Makefile ] || exit 0; \
12935 r=`${PWD_COMMAND}`; export r; \
12936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12937 $(SET_LIB_PATH) \
12938 $(HOST_EXPORTS) \
12939 for flag in $(EXTRA_HOST_FLAGS) ; do \
12940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12941 done; \
12942 echo "Doing TAGS in itcl" ; \
12943 (cd itcl && \
12944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12946 "RANLIB=$${RANLIB}" \
12947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12948 TAGS) \
12949 || exit 1
12951 @endif itcl
12953 .PHONY: maybe-install-info-itcl install-info-itcl
12954 maybe-install-info-itcl:
12955 @if itcl
12956 maybe-install-info-itcl: install-info-itcl
12958 install-info-itcl: \
12959 configure-itcl \
12960 info-itcl
12961 @[ -f ./itcl/Makefile ] || exit 0; \
12962 r=`${PWD_COMMAND}`; export r; \
12963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12964 $(SET_LIB_PATH) \
12965 $(HOST_EXPORTS) \
12966 for flag in $(EXTRA_HOST_FLAGS) ; do \
12967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12968 done; \
12969 echo "Doing install-info in itcl" ; \
12970 (cd itcl && \
12971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12973 "RANLIB=$${RANLIB}" \
12974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12975 install-info) \
12976 || exit 1
12978 @endif itcl
12980 .PHONY: maybe-installcheck-itcl installcheck-itcl
12981 maybe-installcheck-itcl:
12982 @if itcl
12983 maybe-installcheck-itcl: installcheck-itcl
12985 installcheck-itcl: \
12986 configure-itcl
12987 @[ -f ./itcl/Makefile ] || exit 0; \
12988 r=`${PWD_COMMAND}`; export r; \
12989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12990 $(SET_LIB_PATH) \
12991 $(HOST_EXPORTS) \
12992 for flag in $(EXTRA_HOST_FLAGS) ; do \
12993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12994 done; \
12995 echo "Doing installcheck in itcl" ; \
12996 (cd itcl && \
12997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12999 "RANLIB=$${RANLIB}" \
13000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13001 installcheck) \
13002 || exit 1
13004 @endif itcl
13006 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
13007 maybe-mostlyclean-itcl:
13008 @if itcl
13009 maybe-mostlyclean-itcl: mostlyclean-itcl
13011 mostlyclean-itcl:
13012 @[ -f ./itcl/Makefile ] || exit 0; \
13013 r=`${PWD_COMMAND}`; export r; \
13014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13015 $(SET_LIB_PATH) \
13016 $(HOST_EXPORTS) \
13017 for flag in $(EXTRA_HOST_FLAGS) ; do \
13018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13019 done; \
13020 echo "Doing mostlyclean in itcl" ; \
13021 (cd itcl && \
13022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13024 "RANLIB=$${RANLIB}" \
13025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13026 mostlyclean) \
13027 || exit 1
13029 @endif itcl
13031 .PHONY: maybe-clean-itcl clean-itcl
13032 maybe-clean-itcl:
13033 @if itcl
13034 maybe-clean-itcl: clean-itcl
13036 clean-itcl:
13037 @[ -f ./itcl/Makefile ] || exit 0; \
13038 r=`${PWD_COMMAND}`; export r; \
13039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13040 $(SET_LIB_PATH) \
13041 $(HOST_EXPORTS) \
13042 for flag in $(EXTRA_HOST_FLAGS) ; do \
13043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13044 done; \
13045 echo "Doing clean in itcl" ; \
13046 (cd itcl && \
13047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13049 "RANLIB=$${RANLIB}" \
13050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13051 clean) \
13052 || exit 1
13054 @endif itcl
13056 .PHONY: maybe-distclean-itcl distclean-itcl
13057 maybe-distclean-itcl:
13058 @if itcl
13059 maybe-distclean-itcl: distclean-itcl
13061 distclean-itcl:
13062 @[ -f ./itcl/Makefile ] || exit 0; \
13063 r=`${PWD_COMMAND}`; export r; \
13064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13065 $(SET_LIB_PATH) \
13066 $(HOST_EXPORTS) \
13067 for flag in $(EXTRA_HOST_FLAGS) ; do \
13068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13069 done; \
13070 echo "Doing distclean in itcl" ; \
13071 (cd itcl && \
13072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13074 "RANLIB=$${RANLIB}" \
13075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13076 distclean) \
13077 || exit 1
13079 @endif itcl
13081 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
13082 maybe-maintainer-clean-itcl:
13083 @if itcl
13084 maybe-maintainer-clean-itcl: maintainer-clean-itcl
13086 maintainer-clean-itcl:
13087 @[ -f ./itcl/Makefile ] || exit 0; \
13088 r=`${PWD_COMMAND}`; export r; \
13089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13090 $(SET_LIB_PATH) \
13091 $(HOST_EXPORTS) \
13092 for flag in $(EXTRA_HOST_FLAGS) ; do \
13093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13094 done; \
13095 echo "Doing maintainer-clean in itcl" ; \
13096 (cd itcl && \
13097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13099 "RANLIB=$${RANLIB}" \
13100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13101 maintainer-clean) \
13102 || exit 1
13104 @endif itcl
13107 .PHONY: configure-ld maybe-configure-ld
13108 maybe-configure-ld:
13109 @if ld
13110 maybe-configure-ld: configure-ld
13111 configure-ld:
13112 @test -f stage_last && exit 0; \
13113 test ! -f ld/Makefile || exit 0; \
13114 [ -d ld ] || mkdir ld; \
13115 r=`${PWD_COMMAND}`; export r; \
13116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13117 $(HOST_EXPORTS) \
13118 echo Configuring in ld; \
13119 cd ld || exit 1; \
13120 case $(srcdir) in \
13121 \.) \
13122 srcdiroption="--srcdir=."; \
13123 libsrcdir=".";; \
13124 /* | [A-Za-z]:[\\/]*) \
13125 srcdiroption="--srcdir=$(srcdir)/ld"; \
13126 libsrcdir="$$s/ld";; \
13127 *) \
13128 srcdiroption="--srcdir=../$(srcdir)/ld"; \
13129 libsrcdir="$$s/ld";; \
13130 esac; \
13131 $(SHELL) $${libsrcdir}/configure \
13132 $(HOST_CONFIGARGS) $${srcdiroption} \
13133 || exit 1
13134 @endif ld
13136 .PHONY: all-ld maybe-all-ld
13137 maybe-all-ld:
13138 @if ld
13139 TARGET-ld=all
13140 maybe-all-ld: all-ld
13141 all-ld: configure-ld
13142 @test -f stage_last && exit 0; \
13143 r=`${PWD_COMMAND}`; export r; \
13144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13145 $(SET_LIB_PATH) \
13146 $(HOST_EXPORTS) \
13147 (cd ld && $(MAKE) $(FLAGS_TO_PASS) \
13148 $(TARGET-ld))
13149 @endif ld
13151 .PHONY: check-ld maybe-check-ld
13152 maybe-check-ld:
13153 @if ld
13154 maybe-check-ld: check-ld
13156 check-ld:
13157 @r=`${PWD_COMMAND}`; export r; \
13158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13159 $(SET_LIB_PATH) \
13160 $(HOST_EXPORTS) \
13161 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
13163 @endif ld
13165 .PHONY: install-ld maybe-install-ld
13166 maybe-install-ld:
13167 @if ld
13168 maybe-install-ld: install-ld
13170 install-ld: installdirs
13171 @r=`${PWD_COMMAND}`; export r; \
13172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13173 $(SET_LIB_PATH) \
13174 $(HOST_EXPORTS) \
13175 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
13177 @endif ld
13179 # Other targets (info, dvi, etc.)
13181 .PHONY: maybe-info-ld info-ld
13182 maybe-info-ld:
13183 @if ld
13184 maybe-info-ld: info-ld
13186 info-ld: \
13187 configure-ld
13188 @[ -f ./ld/Makefile ] || exit 0; \
13189 r=`${PWD_COMMAND}`; export r; \
13190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13191 $(SET_LIB_PATH) \
13192 $(HOST_EXPORTS) \
13193 for flag in $(EXTRA_HOST_FLAGS) ; do \
13194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13195 done; \
13196 echo "Doing info in ld" ; \
13197 (cd ld && \
13198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13200 "RANLIB=$${RANLIB}" \
13201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13202 info) \
13203 || exit 1
13205 @endif ld
13207 .PHONY: maybe-dvi-ld dvi-ld
13208 maybe-dvi-ld:
13209 @if ld
13210 maybe-dvi-ld: dvi-ld
13212 dvi-ld: \
13213 configure-ld
13214 @[ -f ./ld/Makefile ] || exit 0; \
13215 r=`${PWD_COMMAND}`; export r; \
13216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13217 $(SET_LIB_PATH) \
13218 $(HOST_EXPORTS) \
13219 for flag in $(EXTRA_HOST_FLAGS) ; do \
13220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13221 done; \
13222 echo "Doing dvi in ld" ; \
13223 (cd ld && \
13224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13226 "RANLIB=$${RANLIB}" \
13227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13228 dvi) \
13229 || exit 1
13231 @endif ld
13233 .PHONY: maybe-html-ld html-ld
13234 maybe-html-ld:
13235 @if ld
13236 maybe-html-ld: html-ld
13238 html-ld: \
13239 configure-ld
13240 @[ -f ./ld/Makefile ] || exit 0; \
13241 r=`${PWD_COMMAND}`; export r; \
13242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13243 $(SET_LIB_PATH) \
13244 $(HOST_EXPORTS) \
13245 for flag in $(EXTRA_HOST_FLAGS) ; do \
13246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13247 done; \
13248 echo "Doing html in ld" ; \
13249 (cd ld && \
13250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13252 "RANLIB=$${RANLIB}" \
13253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13254 html) \
13255 || exit 1
13257 @endif ld
13259 .PHONY: maybe-TAGS-ld TAGS-ld
13260 maybe-TAGS-ld:
13261 @if ld
13262 maybe-TAGS-ld: TAGS-ld
13264 TAGS-ld: \
13265 configure-ld
13266 @[ -f ./ld/Makefile ] || exit 0; \
13267 r=`${PWD_COMMAND}`; export r; \
13268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13269 $(SET_LIB_PATH) \
13270 $(HOST_EXPORTS) \
13271 for flag in $(EXTRA_HOST_FLAGS) ; do \
13272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13273 done; \
13274 echo "Doing TAGS in ld" ; \
13275 (cd ld && \
13276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13278 "RANLIB=$${RANLIB}" \
13279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13280 TAGS) \
13281 || exit 1
13283 @endif ld
13285 .PHONY: maybe-install-info-ld install-info-ld
13286 maybe-install-info-ld:
13287 @if ld
13288 maybe-install-info-ld: install-info-ld
13290 install-info-ld: \
13291 configure-ld \
13292 info-ld
13293 @[ -f ./ld/Makefile ] || exit 0; \
13294 r=`${PWD_COMMAND}`; export r; \
13295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13296 $(SET_LIB_PATH) \
13297 $(HOST_EXPORTS) \
13298 for flag in $(EXTRA_HOST_FLAGS) ; do \
13299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13300 done; \
13301 echo "Doing install-info in ld" ; \
13302 (cd ld && \
13303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13305 "RANLIB=$${RANLIB}" \
13306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13307 install-info) \
13308 || exit 1
13310 @endif ld
13312 .PHONY: maybe-installcheck-ld installcheck-ld
13313 maybe-installcheck-ld:
13314 @if ld
13315 maybe-installcheck-ld: installcheck-ld
13317 installcheck-ld: \
13318 configure-ld
13319 @[ -f ./ld/Makefile ] || exit 0; \
13320 r=`${PWD_COMMAND}`; export r; \
13321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13322 $(SET_LIB_PATH) \
13323 $(HOST_EXPORTS) \
13324 for flag in $(EXTRA_HOST_FLAGS) ; do \
13325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13326 done; \
13327 echo "Doing installcheck in ld" ; \
13328 (cd ld && \
13329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13331 "RANLIB=$${RANLIB}" \
13332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13333 installcheck) \
13334 || exit 1
13336 @endif ld
13338 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
13339 maybe-mostlyclean-ld:
13340 @if ld
13341 maybe-mostlyclean-ld: mostlyclean-ld
13343 mostlyclean-ld:
13344 @[ -f ./ld/Makefile ] || exit 0; \
13345 r=`${PWD_COMMAND}`; export r; \
13346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13347 $(SET_LIB_PATH) \
13348 $(HOST_EXPORTS) \
13349 for flag in $(EXTRA_HOST_FLAGS) ; do \
13350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13351 done; \
13352 echo "Doing mostlyclean in ld" ; \
13353 (cd ld && \
13354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13356 "RANLIB=$${RANLIB}" \
13357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13358 mostlyclean) \
13359 || exit 1
13361 @endif ld
13363 .PHONY: maybe-clean-ld clean-ld
13364 maybe-clean-ld:
13365 @if ld
13366 maybe-clean-ld: clean-ld
13368 clean-ld:
13369 @[ -f ./ld/Makefile ] || exit 0; \
13370 r=`${PWD_COMMAND}`; export r; \
13371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13372 $(SET_LIB_PATH) \
13373 $(HOST_EXPORTS) \
13374 for flag in $(EXTRA_HOST_FLAGS) ; do \
13375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13376 done; \
13377 echo "Doing clean in ld" ; \
13378 (cd ld && \
13379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13381 "RANLIB=$${RANLIB}" \
13382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13383 clean) \
13384 || exit 1
13386 @endif ld
13388 .PHONY: maybe-distclean-ld distclean-ld
13389 maybe-distclean-ld:
13390 @if ld
13391 maybe-distclean-ld: distclean-ld
13393 distclean-ld:
13394 @[ -f ./ld/Makefile ] || exit 0; \
13395 r=`${PWD_COMMAND}`; export r; \
13396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13397 $(SET_LIB_PATH) \
13398 $(HOST_EXPORTS) \
13399 for flag in $(EXTRA_HOST_FLAGS) ; do \
13400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13401 done; \
13402 echo "Doing distclean in ld" ; \
13403 (cd ld && \
13404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13406 "RANLIB=$${RANLIB}" \
13407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13408 distclean) \
13409 || exit 1
13411 @endif ld
13413 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
13414 maybe-maintainer-clean-ld:
13415 @if ld
13416 maybe-maintainer-clean-ld: maintainer-clean-ld
13418 maintainer-clean-ld:
13419 @[ -f ./ld/Makefile ] || exit 0; \
13420 r=`${PWD_COMMAND}`; export r; \
13421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13422 $(SET_LIB_PATH) \
13423 $(HOST_EXPORTS) \
13424 for flag in $(EXTRA_HOST_FLAGS) ; do \
13425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13426 done; \
13427 echo "Doing maintainer-clean in ld" ; \
13428 (cd ld && \
13429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13431 "RANLIB=$${RANLIB}" \
13432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13433 maintainer-clean) \
13434 || exit 1
13436 @endif ld
13439 .PHONY: configure-libcpp maybe-configure-libcpp
13440 maybe-configure-libcpp:
13441 @if libcpp
13442 maybe-configure-libcpp: configure-libcpp
13443 configure-libcpp:
13444 @test -f stage_last && exit 0; \
13445 test ! -f libcpp/Makefile || exit 0; \
13446 [ -d libcpp ] || mkdir libcpp; \
13447 r=`${PWD_COMMAND}`; export r; \
13448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13449 $(HOST_EXPORTS) \
13450 echo Configuring in libcpp; \
13451 cd libcpp || exit 1; \
13452 case $(srcdir) in \
13453 \.) \
13454 srcdiroption="--srcdir=."; \
13455 libsrcdir=".";; \
13456 /* | [A-Za-z]:[\\/]*) \
13457 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
13458 libsrcdir="$$s/libcpp";; \
13459 *) \
13460 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
13461 libsrcdir="$$s/libcpp";; \
13462 esac; \
13463 $(SHELL) $${libsrcdir}/configure \
13464 $(HOST_CONFIGARGS) $${srcdiroption} \
13465 || exit 1
13466 @endif libcpp
13468 .PHONY: all-libcpp maybe-all-libcpp
13469 maybe-all-libcpp:
13470 @if libcpp
13471 TARGET-libcpp=all
13472 maybe-all-libcpp: all-libcpp
13473 all-libcpp: configure-libcpp
13474 @test -f stage_last && exit 0; \
13475 r=`${PWD_COMMAND}`; export r; \
13476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13477 $(SET_LIB_PATH) \
13478 $(HOST_EXPORTS) \
13479 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) \
13480 $(TARGET-libcpp))
13481 @endif libcpp
13483 .PHONY: check-libcpp maybe-check-libcpp
13484 maybe-check-libcpp:
13485 @if libcpp
13486 maybe-check-libcpp: check-libcpp
13488 check-libcpp:
13489 @r=`${PWD_COMMAND}`; export r; \
13490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13491 $(SET_LIB_PATH) \
13492 $(HOST_EXPORTS) \
13493 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
13495 @endif libcpp
13497 .PHONY: install-libcpp maybe-install-libcpp
13498 maybe-install-libcpp:
13499 @if libcpp
13500 maybe-install-libcpp: install-libcpp
13502 install-libcpp: installdirs
13503 @r=`${PWD_COMMAND}`; export r; \
13504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13505 $(SET_LIB_PATH) \
13506 $(HOST_EXPORTS) \
13507 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
13509 @endif libcpp
13511 # Other targets (info, dvi, etc.)
13513 .PHONY: maybe-info-libcpp info-libcpp
13514 maybe-info-libcpp:
13515 @if libcpp
13516 maybe-info-libcpp: info-libcpp
13518 info-libcpp: \
13519 configure-libcpp
13520 @[ -f ./libcpp/Makefile ] || exit 0; \
13521 r=`${PWD_COMMAND}`; export r; \
13522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13523 $(SET_LIB_PATH) \
13524 $(HOST_EXPORTS) \
13525 for flag in $(EXTRA_HOST_FLAGS) ; do \
13526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13527 done; \
13528 echo "Doing info in libcpp" ; \
13529 (cd libcpp && \
13530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13532 "RANLIB=$${RANLIB}" \
13533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13534 info) \
13535 || exit 1
13537 @endif libcpp
13539 .PHONY: maybe-dvi-libcpp dvi-libcpp
13540 maybe-dvi-libcpp:
13541 @if libcpp
13542 maybe-dvi-libcpp: dvi-libcpp
13544 dvi-libcpp: \
13545 configure-libcpp
13546 @[ -f ./libcpp/Makefile ] || exit 0; \
13547 r=`${PWD_COMMAND}`; export r; \
13548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13549 $(SET_LIB_PATH) \
13550 $(HOST_EXPORTS) \
13551 for flag in $(EXTRA_HOST_FLAGS) ; do \
13552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13553 done; \
13554 echo "Doing dvi in libcpp" ; \
13555 (cd libcpp && \
13556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13558 "RANLIB=$${RANLIB}" \
13559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13560 dvi) \
13561 || exit 1
13563 @endif libcpp
13565 .PHONY: maybe-html-libcpp html-libcpp
13566 maybe-html-libcpp:
13567 @if libcpp
13568 maybe-html-libcpp: html-libcpp
13570 html-libcpp: \
13571 configure-libcpp
13572 @[ -f ./libcpp/Makefile ] || exit 0; \
13573 r=`${PWD_COMMAND}`; export r; \
13574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13575 $(SET_LIB_PATH) \
13576 $(HOST_EXPORTS) \
13577 for flag in $(EXTRA_HOST_FLAGS) ; do \
13578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13579 done; \
13580 echo "Doing html in libcpp" ; \
13581 (cd libcpp && \
13582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13584 "RANLIB=$${RANLIB}" \
13585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13586 html) \
13587 || exit 1
13589 @endif libcpp
13591 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
13592 maybe-TAGS-libcpp:
13593 @if libcpp
13594 maybe-TAGS-libcpp: TAGS-libcpp
13596 TAGS-libcpp: \
13597 configure-libcpp
13598 @[ -f ./libcpp/Makefile ] || exit 0; \
13599 r=`${PWD_COMMAND}`; export r; \
13600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13601 $(SET_LIB_PATH) \
13602 $(HOST_EXPORTS) \
13603 for flag in $(EXTRA_HOST_FLAGS) ; do \
13604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13605 done; \
13606 echo "Doing TAGS in libcpp" ; \
13607 (cd libcpp && \
13608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13610 "RANLIB=$${RANLIB}" \
13611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13612 TAGS) \
13613 || exit 1
13615 @endif libcpp
13617 .PHONY: maybe-install-info-libcpp install-info-libcpp
13618 maybe-install-info-libcpp:
13619 @if libcpp
13620 maybe-install-info-libcpp: install-info-libcpp
13622 install-info-libcpp: \
13623 configure-libcpp \
13624 info-libcpp
13625 @[ -f ./libcpp/Makefile ] || exit 0; \
13626 r=`${PWD_COMMAND}`; export r; \
13627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13628 $(SET_LIB_PATH) \
13629 $(HOST_EXPORTS) \
13630 for flag in $(EXTRA_HOST_FLAGS) ; do \
13631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13632 done; \
13633 echo "Doing install-info in libcpp" ; \
13634 (cd libcpp && \
13635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13637 "RANLIB=$${RANLIB}" \
13638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13639 install-info) \
13640 || exit 1
13642 @endif libcpp
13644 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
13645 maybe-installcheck-libcpp:
13646 @if libcpp
13647 maybe-installcheck-libcpp: installcheck-libcpp
13649 installcheck-libcpp: \
13650 configure-libcpp
13651 @[ -f ./libcpp/Makefile ] || exit 0; \
13652 r=`${PWD_COMMAND}`; export r; \
13653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13654 $(SET_LIB_PATH) \
13655 $(HOST_EXPORTS) \
13656 for flag in $(EXTRA_HOST_FLAGS) ; do \
13657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13658 done; \
13659 echo "Doing installcheck in libcpp" ; \
13660 (cd libcpp && \
13661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13663 "RANLIB=$${RANLIB}" \
13664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13665 installcheck) \
13666 || exit 1
13668 @endif libcpp
13670 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
13671 maybe-mostlyclean-libcpp:
13672 @if libcpp
13673 maybe-mostlyclean-libcpp: mostlyclean-libcpp
13675 mostlyclean-libcpp:
13676 @[ -f ./libcpp/Makefile ] || exit 0; \
13677 r=`${PWD_COMMAND}`; export r; \
13678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13679 $(SET_LIB_PATH) \
13680 $(HOST_EXPORTS) \
13681 for flag in $(EXTRA_HOST_FLAGS) ; do \
13682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13683 done; \
13684 echo "Doing mostlyclean in libcpp" ; \
13685 (cd libcpp && \
13686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13688 "RANLIB=$${RANLIB}" \
13689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13690 mostlyclean) \
13691 || exit 1
13693 @endif libcpp
13695 .PHONY: maybe-clean-libcpp clean-libcpp
13696 maybe-clean-libcpp:
13697 @if libcpp
13698 maybe-clean-libcpp: clean-libcpp
13700 clean-libcpp:
13701 @[ -f ./libcpp/Makefile ] || exit 0; \
13702 r=`${PWD_COMMAND}`; export r; \
13703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13704 $(SET_LIB_PATH) \
13705 $(HOST_EXPORTS) \
13706 for flag in $(EXTRA_HOST_FLAGS) ; do \
13707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13708 done; \
13709 echo "Doing clean in libcpp" ; \
13710 (cd libcpp && \
13711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13713 "RANLIB=$${RANLIB}" \
13714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13715 clean) \
13716 || exit 1
13718 @endif libcpp
13720 .PHONY: maybe-distclean-libcpp distclean-libcpp
13721 maybe-distclean-libcpp:
13722 @if libcpp
13723 maybe-distclean-libcpp: distclean-libcpp
13725 distclean-libcpp:
13726 @[ -f ./libcpp/Makefile ] || exit 0; \
13727 r=`${PWD_COMMAND}`; export r; \
13728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13729 $(SET_LIB_PATH) \
13730 $(HOST_EXPORTS) \
13731 for flag in $(EXTRA_HOST_FLAGS) ; do \
13732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13733 done; \
13734 echo "Doing distclean in libcpp" ; \
13735 (cd libcpp && \
13736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13738 "RANLIB=$${RANLIB}" \
13739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13740 distclean) \
13741 || exit 1
13743 @endif libcpp
13745 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
13746 maybe-maintainer-clean-libcpp:
13747 @if libcpp
13748 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
13750 maintainer-clean-libcpp:
13751 @[ -f ./libcpp/Makefile ] || exit 0; \
13752 r=`${PWD_COMMAND}`; export r; \
13753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13754 $(SET_LIB_PATH) \
13755 $(HOST_EXPORTS) \
13756 for flag in $(EXTRA_HOST_FLAGS) ; do \
13757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13758 done; \
13759 echo "Doing maintainer-clean in libcpp" ; \
13760 (cd libcpp && \
13761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13763 "RANLIB=$${RANLIB}" \
13764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13765 maintainer-clean) \
13766 || exit 1
13768 @endif libcpp
13771 .PHONY: configure-libgui maybe-configure-libgui
13772 maybe-configure-libgui:
13773 @if libgui
13774 maybe-configure-libgui: configure-libgui
13775 configure-libgui:
13776 @test ! -f libgui/Makefile || exit 0; \
13777 [ -d libgui ] || mkdir libgui; \
13778 r=`${PWD_COMMAND}`; export r; \
13779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13780 $(HOST_EXPORTS) \
13781 echo Configuring in libgui; \
13782 cd libgui || exit 1; \
13783 case $(srcdir) in \
13784 \.) \
13785 srcdiroption="--srcdir=."; \
13786 libsrcdir=".";; \
13787 /* | [A-Za-z]:[\\/]*) \
13788 srcdiroption="--srcdir=$(srcdir)/libgui"; \
13789 libsrcdir="$$s/libgui";; \
13790 *) \
13791 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
13792 libsrcdir="$$s/libgui";; \
13793 esac; \
13794 $(SHELL) $${libsrcdir}/configure \
13795 $(HOST_CONFIGARGS) $${srcdiroption} \
13796 || exit 1
13797 @endif libgui
13799 .PHONY: all-libgui maybe-all-libgui
13800 maybe-all-libgui:
13801 @if libgui
13802 TARGET-libgui=all
13803 maybe-all-libgui: all-libgui
13804 all-libgui: configure-libgui
13805 @r=`${PWD_COMMAND}`; export r; \
13806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13807 $(SET_LIB_PATH) \
13808 $(HOST_EXPORTS) \
13809 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) \
13810 $(TARGET-libgui))
13811 @endif libgui
13813 .PHONY: check-libgui maybe-check-libgui
13814 maybe-check-libgui:
13815 @if libgui
13816 maybe-check-libgui: check-libgui
13818 check-libgui:
13819 @r=`${PWD_COMMAND}`; export r; \
13820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13821 $(SET_LIB_PATH) \
13822 $(HOST_EXPORTS) \
13823 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
13825 @endif libgui
13827 .PHONY: install-libgui maybe-install-libgui
13828 maybe-install-libgui:
13829 @if libgui
13830 maybe-install-libgui: install-libgui
13832 install-libgui: installdirs
13833 @r=`${PWD_COMMAND}`; export r; \
13834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13835 $(SET_LIB_PATH) \
13836 $(HOST_EXPORTS) \
13837 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
13839 @endif libgui
13841 # Other targets (info, dvi, etc.)
13843 .PHONY: maybe-info-libgui info-libgui
13844 maybe-info-libgui:
13845 @if libgui
13846 maybe-info-libgui: info-libgui
13848 info-libgui: \
13849 configure-libgui
13850 @[ -f ./libgui/Makefile ] || exit 0; \
13851 r=`${PWD_COMMAND}`; export r; \
13852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13853 $(SET_LIB_PATH) \
13854 $(HOST_EXPORTS) \
13855 for flag in $(EXTRA_HOST_FLAGS) ; do \
13856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13857 done; \
13858 echo "Doing info in libgui" ; \
13859 (cd libgui && \
13860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13862 "RANLIB=$${RANLIB}" \
13863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13864 info) \
13865 || exit 1
13867 @endif libgui
13869 .PHONY: maybe-dvi-libgui dvi-libgui
13870 maybe-dvi-libgui:
13871 @if libgui
13872 maybe-dvi-libgui: dvi-libgui
13874 dvi-libgui: \
13875 configure-libgui
13876 @[ -f ./libgui/Makefile ] || exit 0; \
13877 r=`${PWD_COMMAND}`; export r; \
13878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13879 $(SET_LIB_PATH) \
13880 $(HOST_EXPORTS) \
13881 for flag in $(EXTRA_HOST_FLAGS) ; do \
13882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13883 done; \
13884 echo "Doing dvi in libgui" ; \
13885 (cd libgui && \
13886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13888 "RANLIB=$${RANLIB}" \
13889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13890 dvi) \
13891 || exit 1
13893 @endif libgui
13895 .PHONY: maybe-html-libgui html-libgui
13896 maybe-html-libgui:
13897 @if libgui
13898 maybe-html-libgui: html-libgui
13900 html-libgui: \
13901 configure-libgui
13902 @[ -f ./libgui/Makefile ] || exit 0; \
13903 r=`${PWD_COMMAND}`; export r; \
13904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13905 $(SET_LIB_PATH) \
13906 $(HOST_EXPORTS) \
13907 for flag in $(EXTRA_HOST_FLAGS) ; do \
13908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13909 done; \
13910 echo "Doing html in libgui" ; \
13911 (cd libgui && \
13912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13914 "RANLIB=$${RANLIB}" \
13915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13916 html) \
13917 || exit 1
13919 @endif libgui
13921 .PHONY: maybe-TAGS-libgui TAGS-libgui
13922 maybe-TAGS-libgui:
13923 @if libgui
13924 maybe-TAGS-libgui: TAGS-libgui
13926 TAGS-libgui: \
13927 configure-libgui
13928 @[ -f ./libgui/Makefile ] || exit 0; \
13929 r=`${PWD_COMMAND}`; export r; \
13930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13931 $(SET_LIB_PATH) \
13932 $(HOST_EXPORTS) \
13933 for flag in $(EXTRA_HOST_FLAGS) ; do \
13934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13935 done; \
13936 echo "Doing TAGS in libgui" ; \
13937 (cd libgui && \
13938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13940 "RANLIB=$${RANLIB}" \
13941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13942 TAGS) \
13943 || exit 1
13945 @endif libgui
13947 .PHONY: maybe-install-info-libgui install-info-libgui
13948 maybe-install-info-libgui:
13949 @if libgui
13950 maybe-install-info-libgui: install-info-libgui
13952 install-info-libgui: \
13953 configure-libgui \
13954 info-libgui
13955 @[ -f ./libgui/Makefile ] || exit 0; \
13956 r=`${PWD_COMMAND}`; export r; \
13957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13958 $(SET_LIB_PATH) \
13959 $(HOST_EXPORTS) \
13960 for flag in $(EXTRA_HOST_FLAGS) ; do \
13961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13962 done; \
13963 echo "Doing install-info in libgui" ; \
13964 (cd libgui && \
13965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13967 "RANLIB=$${RANLIB}" \
13968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13969 install-info) \
13970 || exit 1
13972 @endif libgui
13974 .PHONY: maybe-installcheck-libgui installcheck-libgui
13975 maybe-installcheck-libgui:
13976 @if libgui
13977 maybe-installcheck-libgui: installcheck-libgui
13979 installcheck-libgui: \
13980 configure-libgui
13981 @[ -f ./libgui/Makefile ] || exit 0; \
13982 r=`${PWD_COMMAND}`; export r; \
13983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13984 $(SET_LIB_PATH) \
13985 $(HOST_EXPORTS) \
13986 for flag in $(EXTRA_HOST_FLAGS) ; do \
13987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13988 done; \
13989 echo "Doing installcheck in libgui" ; \
13990 (cd libgui && \
13991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13993 "RANLIB=$${RANLIB}" \
13994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13995 installcheck) \
13996 || exit 1
13998 @endif libgui
14000 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
14001 maybe-mostlyclean-libgui:
14002 @if libgui
14003 maybe-mostlyclean-libgui: mostlyclean-libgui
14005 mostlyclean-libgui:
14006 @[ -f ./libgui/Makefile ] || exit 0; \
14007 r=`${PWD_COMMAND}`; export r; \
14008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14009 $(SET_LIB_PATH) \
14010 $(HOST_EXPORTS) \
14011 for flag in $(EXTRA_HOST_FLAGS) ; do \
14012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14013 done; \
14014 echo "Doing mostlyclean in libgui" ; \
14015 (cd libgui && \
14016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14018 "RANLIB=$${RANLIB}" \
14019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14020 mostlyclean) \
14021 || exit 1
14023 @endif libgui
14025 .PHONY: maybe-clean-libgui clean-libgui
14026 maybe-clean-libgui:
14027 @if libgui
14028 maybe-clean-libgui: clean-libgui
14030 clean-libgui:
14031 @[ -f ./libgui/Makefile ] || exit 0; \
14032 r=`${PWD_COMMAND}`; export r; \
14033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14034 $(SET_LIB_PATH) \
14035 $(HOST_EXPORTS) \
14036 for flag in $(EXTRA_HOST_FLAGS) ; do \
14037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14038 done; \
14039 echo "Doing clean in libgui" ; \
14040 (cd libgui && \
14041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14043 "RANLIB=$${RANLIB}" \
14044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14045 clean) \
14046 || exit 1
14048 @endif libgui
14050 .PHONY: maybe-distclean-libgui distclean-libgui
14051 maybe-distclean-libgui:
14052 @if libgui
14053 maybe-distclean-libgui: distclean-libgui
14055 distclean-libgui:
14056 @[ -f ./libgui/Makefile ] || exit 0; \
14057 r=`${PWD_COMMAND}`; export r; \
14058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14059 $(SET_LIB_PATH) \
14060 $(HOST_EXPORTS) \
14061 for flag in $(EXTRA_HOST_FLAGS) ; do \
14062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14063 done; \
14064 echo "Doing distclean in libgui" ; \
14065 (cd libgui && \
14066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14068 "RANLIB=$${RANLIB}" \
14069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14070 distclean) \
14071 || exit 1
14073 @endif libgui
14075 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
14076 maybe-maintainer-clean-libgui:
14077 @if libgui
14078 maybe-maintainer-clean-libgui: maintainer-clean-libgui
14080 maintainer-clean-libgui:
14081 @[ -f ./libgui/Makefile ] || exit 0; \
14082 r=`${PWD_COMMAND}`; export r; \
14083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14084 $(SET_LIB_PATH) \
14085 $(HOST_EXPORTS) \
14086 for flag in $(EXTRA_HOST_FLAGS) ; do \
14087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14088 done; \
14089 echo "Doing maintainer-clean in libgui" ; \
14090 (cd libgui && \
14091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14093 "RANLIB=$${RANLIB}" \
14094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14095 maintainer-clean) \
14096 || exit 1
14098 @endif libgui
14101 .PHONY: configure-libiberty maybe-configure-libiberty
14102 maybe-configure-libiberty:
14103 @if libiberty
14104 maybe-configure-libiberty: configure-libiberty
14105 configure-libiberty:
14106 @test -f stage_last && exit 0; \
14107 test ! -f libiberty/Makefile || exit 0; \
14108 [ -d libiberty ] || mkdir libiberty; \
14109 r=`${PWD_COMMAND}`; export r; \
14110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14111 $(HOST_EXPORTS) \
14112 echo Configuring in libiberty; \
14113 cd libiberty || exit 1; \
14114 case $(srcdir) in \
14115 \.) \
14116 srcdiroption="--srcdir=."; \
14117 libsrcdir=".";; \
14118 /* | [A-Za-z]:[\\/]*) \
14119 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
14120 libsrcdir="$$s/libiberty";; \
14121 *) \
14122 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
14123 libsrcdir="$$s/libiberty";; \
14124 esac; \
14125 $(SHELL) $${libsrcdir}/configure \
14126 $(HOST_CONFIGARGS) $${srcdiroption} \
14127 || exit 1
14128 @endif libiberty
14130 .PHONY: all-libiberty maybe-all-libiberty
14131 maybe-all-libiberty:
14132 @if libiberty
14133 TARGET-libiberty=all
14134 maybe-all-libiberty: all-libiberty
14135 all-libiberty: configure-libiberty
14136 @test -f stage_last && exit 0; \
14137 r=`${PWD_COMMAND}`; export r; \
14138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14139 $(SET_LIB_PATH) \
14140 $(HOST_EXPORTS) \
14141 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) \
14142 $(TARGET-libiberty))
14143 @endif libiberty
14145 .PHONY: check-libiberty maybe-check-libiberty
14146 maybe-check-libiberty:
14147 @if libiberty
14148 maybe-check-libiberty: check-libiberty
14150 check-libiberty:
14151 @r=`${PWD_COMMAND}`; export r; \
14152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14153 $(SET_LIB_PATH) \
14154 $(HOST_EXPORTS) \
14155 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
14157 @endif libiberty
14159 .PHONY: install-libiberty maybe-install-libiberty
14160 maybe-install-libiberty:
14161 @if libiberty
14162 maybe-install-libiberty: install-libiberty
14164 install-libiberty: installdirs
14165 @r=`${PWD_COMMAND}`; export r; \
14166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14167 $(SET_LIB_PATH) \
14168 $(HOST_EXPORTS) \
14169 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
14171 @endif libiberty
14173 # Other targets (info, dvi, etc.)
14175 .PHONY: maybe-info-libiberty info-libiberty
14176 maybe-info-libiberty:
14177 @if libiberty
14178 maybe-info-libiberty: info-libiberty
14180 info-libiberty: \
14181 configure-libiberty
14182 @[ -f ./libiberty/Makefile ] || exit 0; \
14183 r=`${PWD_COMMAND}`; export r; \
14184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14185 $(SET_LIB_PATH) \
14186 $(HOST_EXPORTS) \
14187 for flag in $(EXTRA_HOST_FLAGS) ; do \
14188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14189 done; \
14190 echo "Doing info in libiberty" ; \
14191 (cd libiberty && \
14192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14194 "RANLIB=$${RANLIB}" \
14195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14196 info) \
14197 || exit 1
14199 @endif libiberty
14201 .PHONY: maybe-dvi-libiberty dvi-libiberty
14202 maybe-dvi-libiberty:
14203 @if libiberty
14204 maybe-dvi-libiberty: dvi-libiberty
14206 dvi-libiberty: \
14207 configure-libiberty
14208 @[ -f ./libiberty/Makefile ] || exit 0; \
14209 r=`${PWD_COMMAND}`; export r; \
14210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14211 $(SET_LIB_PATH) \
14212 $(HOST_EXPORTS) \
14213 for flag in $(EXTRA_HOST_FLAGS) ; do \
14214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14215 done; \
14216 echo "Doing dvi in libiberty" ; \
14217 (cd libiberty && \
14218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14220 "RANLIB=$${RANLIB}" \
14221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14222 dvi) \
14223 || exit 1
14225 @endif libiberty
14227 .PHONY: maybe-html-libiberty html-libiberty
14228 maybe-html-libiberty:
14229 @if libiberty
14230 maybe-html-libiberty: html-libiberty
14232 html-libiberty: \
14233 configure-libiberty
14234 @[ -f ./libiberty/Makefile ] || exit 0; \
14235 r=`${PWD_COMMAND}`; export r; \
14236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14237 $(SET_LIB_PATH) \
14238 $(HOST_EXPORTS) \
14239 for flag in $(EXTRA_HOST_FLAGS) ; do \
14240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14241 done; \
14242 echo "Doing html in libiberty" ; \
14243 (cd libiberty && \
14244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14246 "RANLIB=$${RANLIB}" \
14247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14248 html) \
14249 || exit 1
14251 @endif libiberty
14253 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
14254 maybe-TAGS-libiberty:
14255 @if libiberty
14256 maybe-TAGS-libiberty: TAGS-libiberty
14258 TAGS-libiberty: \
14259 configure-libiberty
14260 @[ -f ./libiberty/Makefile ] || exit 0; \
14261 r=`${PWD_COMMAND}`; export r; \
14262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14263 $(SET_LIB_PATH) \
14264 $(HOST_EXPORTS) \
14265 for flag in $(EXTRA_HOST_FLAGS) ; do \
14266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14267 done; \
14268 echo "Doing TAGS in libiberty" ; \
14269 (cd libiberty && \
14270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14272 "RANLIB=$${RANLIB}" \
14273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14274 TAGS) \
14275 || exit 1
14277 @endif libiberty
14279 .PHONY: maybe-install-info-libiberty install-info-libiberty
14280 maybe-install-info-libiberty:
14281 @if libiberty
14282 maybe-install-info-libiberty: install-info-libiberty
14284 install-info-libiberty: \
14285 configure-libiberty \
14286 info-libiberty
14287 @[ -f ./libiberty/Makefile ] || exit 0; \
14288 r=`${PWD_COMMAND}`; export r; \
14289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14290 $(SET_LIB_PATH) \
14291 $(HOST_EXPORTS) \
14292 for flag in $(EXTRA_HOST_FLAGS) ; do \
14293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14294 done; \
14295 echo "Doing install-info in libiberty" ; \
14296 (cd libiberty && \
14297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14299 "RANLIB=$${RANLIB}" \
14300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14301 install-info) \
14302 || exit 1
14304 @endif libiberty
14306 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
14307 maybe-installcheck-libiberty:
14308 @if libiberty
14309 maybe-installcheck-libiberty: installcheck-libiberty
14311 installcheck-libiberty: \
14312 configure-libiberty
14313 @[ -f ./libiberty/Makefile ] || exit 0; \
14314 r=`${PWD_COMMAND}`; export r; \
14315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14316 $(SET_LIB_PATH) \
14317 $(HOST_EXPORTS) \
14318 for flag in $(EXTRA_HOST_FLAGS) ; do \
14319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14320 done; \
14321 echo "Doing installcheck in libiberty" ; \
14322 (cd libiberty && \
14323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14325 "RANLIB=$${RANLIB}" \
14326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14327 installcheck) \
14328 || exit 1
14330 @endif libiberty
14332 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
14333 maybe-mostlyclean-libiberty:
14334 @if libiberty
14335 maybe-mostlyclean-libiberty: mostlyclean-libiberty
14337 mostlyclean-libiberty:
14338 @[ -f ./libiberty/Makefile ] || exit 0; \
14339 r=`${PWD_COMMAND}`; export r; \
14340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14341 $(SET_LIB_PATH) \
14342 $(HOST_EXPORTS) \
14343 for flag in $(EXTRA_HOST_FLAGS) ; do \
14344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14345 done; \
14346 echo "Doing mostlyclean in libiberty" ; \
14347 (cd libiberty && \
14348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14350 "RANLIB=$${RANLIB}" \
14351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14352 mostlyclean) \
14353 || exit 1
14355 @endif libiberty
14357 .PHONY: maybe-clean-libiberty clean-libiberty
14358 maybe-clean-libiberty:
14359 @if libiberty
14360 maybe-clean-libiberty: clean-libiberty
14362 clean-libiberty:
14363 @[ -f ./libiberty/Makefile ] || exit 0; \
14364 r=`${PWD_COMMAND}`; export r; \
14365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14366 $(SET_LIB_PATH) \
14367 $(HOST_EXPORTS) \
14368 for flag in $(EXTRA_HOST_FLAGS) ; do \
14369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14370 done; \
14371 echo "Doing clean in libiberty" ; \
14372 (cd libiberty && \
14373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14375 "RANLIB=$${RANLIB}" \
14376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14377 clean) \
14378 || exit 1
14380 @endif libiberty
14382 .PHONY: maybe-distclean-libiberty distclean-libiberty
14383 maybe-distclean-libiberty:
14384 @if libiberty
14385 maybe-distclean-libiberty: distclean-libiberty
14387 distclean-libiberty:
14388 @[ -f ./libiberty/Makefile ] || exit 0; \
14389 r=`${PWD_COMMAND}`; export r; \
14390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14391 $(SET_LIB_PATH) \
14392 $(HOST_EXPORTS) \
14393 for flag in $(EXTRA_HOST_FLAGS) ; do \
14394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14395 done; \
14396 echo "Doing distclean in libiberty" ; \
14397 (cd libiberty && \
14398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14400 "RANLIB=$${RANLIB}" \
14401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14402 distclean) \
14403 || exit 1
14405 @endif libiberty
14407 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
14408 maybe-maintainer-clean-libiberty:
14409 @if libiberty
14410 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
14412 maintainer-clean-libiberty:
14413 @[ -f ./libiberty/Makefile ] || exit 0; \
14414 r=`${PWD_COMMAND}`; export r; \
14415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14416 $(SET_LIB_PATH) \
14417 $(HOST_EXPORTS) \
14418 for flag in $(EXTRA_HOST_FLAGS) ; do \
14419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14420 done; \
14421 echo "Doing maintainer-clean in libiberty" ; \
14422 (cd libiberty && \
14423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14425 "RANLIB=$${RANLIB}" \
14426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14427 maintainer-clean) \
14428 || exit 1
14430 @endif libiberty
14433 .PHONY: configure-libtool maybe-configure-libtool
14434 maybe-configure-libtool:
14435 @if libtool
14436 maybe-configure-libtool: configure-libtool
14437 configure-libtool:
14438 @test ! -f libtool/Makefile || exit 0; \
14439 [ -d libtool ] || mkdir libtool; \
14440 r=`${PWD_COMMAND}`; export r; \
14441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14442 $(HOST_EXPORTS) \
14443 echo Configuring in libtool; \
14444 cd libtool || exit 1; \
14445 case $(srcdir) in \
14446 \.) \
14447 srcdiroption="--srcdir=."; \
14448 libsrcdir=".";; \
14449 /* | [A-Za-z]:[\\/]*) \
14450 srcdiroption="--srcdir=$(srcdir)/libtool"; \
14451 libsrcdir="$$s/libtool";; \
14452 *) \
14453 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
14454 libsrcdir="$$s/libtool";; \
14455 esac; \
14456 $(SHELL) $${libsrcdir}/configure \
14457 $(HOST_CONFIGARGS) $${srcdiroption} \
14458 || exit 1
14459 @endif libtool
14461 .PHONY: all-libtool maybe-all-libtool
14462 maybe-all-libtool:
14463 @if libtool
14464 TARGET-libtool=all
14465 maybe-all-libtool: all-libtool
14466 all-libtool: configure-libtool
14467 @r=`${PWD_COMMAND}`; export r; \
14468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14469 $(SET_LIB_PATH) \
14470 $(HOST_EXPORTS) \
14471 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) \
14472 $(TARGET-libtool))
14473 @endif libtool
14475 .PHONY: check-libtool maybe-check-libtool
14476 maybe-check-libtool:
14477 @if libtool
14478 maybe-check-libtool: check-libtool
14480 check-libtool:
14481 @r=`${PWD_COMMAND}`; export r; \
14482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14483 $(SET_LIB_PATH) \
14484 $(HOST_EXPORTS) \
14485 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
14487 @endif libtool
14489 .PHONY: install-libtool maybe-install-libtool
14490 maybe-install-libtool:
14491 @if libtool
14492 maybe-install-libtool: install-libtool
14494 install-libtool: installdirs
14495 @r=`${PWD_COMMAND}`; export r; \
14496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14497 $(SET_LIB_PATH) \
14498 $(HOST_EXPORTS) \
14499 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
14501 @endif libtool
14503 # Other targets (info, dvi, etc.)
14505 .PHONY: maybe-info-libtool info-libtool
14506 maybe-info-libtool:
14507 @if libtool
14508 maybe-info-libtool: info-libtool
14510 info-libtool: \
14511 configure-libtool
14512 @[ -f ./libtool/Makefile ] || exit 0; \
14513 r=`${PWD_COMMAND}`; export r; \
14514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14515 $(SET_LIB_PATH) \
14516 $(HOST_EXPORTS) \
14517 for flag in $(EXTRA_HOST_FLAGS) ; do \
14518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14519 done; \
14520 echo "Doing info in libtool" ; \
14521 (cd libtool && \
14522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14524 "RANLIB=$${RANLIB}" \
14525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14526 info) \
14527 || exit 1
14529 @endif libtool
14531 .PHONY: maybe-dvi-libtool dvi-libtool
14532 maybe-dvi-libtool:
14533 @if libtool
14534 maybe-dvi-libtool: dvi-libtool
14536 dvi-libtool: \
14537 configure-libtool
14538 @[ -f ./libtool/Makefile ] || exit 0; \
14539 r=`${PWD_COMMAND}`; export r; \
14540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14541 $(SET_LIB_PATH) \
14542 $(HOST_EXPORTS) \
14543 for flag in $(EXTRA_HOST_FLAGS) ; do \
14544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14545 done; \
14546 echo "Doing dvi in libtool" ; \
14547 (cd libtool && \
14548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14550 "RANLIB=$${RANLIB}" \
14551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14552 dvi) \
14553 || exit 1
14555 @endif libtool
14557 .PHONY: maybe-html-libtool html-libtool
14558 maybe-html-libtool:
14559 @if libtool
14560 maybe-html-libtool: html-libtool
14562 html-libtool: \
14563 configure-libtool
14564 @[ -f ./libtool/Makefile ] || exit 0; \
14565 r=`${PWD_COMMAND}`; export r; \
14566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14567 $(SET_LIB_PATH) \
14568 $(HOST_EXPORTS) \
14569 for flag in $(EXTRA_HOST_FLAGS) ; do \
14570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14571 done; \
14572 echo "Doing html in libtool" ; \
14573 (cd libtool && \
14574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14576 "RANLIB=$${RANLIB}" \
14577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14578 html) \
14579 || exit 1
14581 @endif libtool
14583 .PHONY: maybe-TAGS-libtool TAGS-libtool
14584 maybe-TAGS-libtool:
14585 @if libtool
14586 maybe-TAGS-libtool: TAGS-libtool
14588 TAGS-libtool: \
14589 configure-libtool
14590 @[ -f ./libtool/Makefile ] || exit 0; \
14591 r=`${PWD_COMMAND}`; export r; \
14592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14593 $(SET_LIB_PATH) \
14594 $(HOST_EXPORTS) \
14595 for flag in $(EXTRA_HOST_FLAGS) ; do \
14596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14597 done; \
14598 echo "Doing TAGS in libtool" ; \
14599 (cd libtool && \
14600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14602 "RANLIB=$${RANLIB}" \
14603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14604 TAGS) \
14605 || exit 1
14607 @endif libtool
14609 .PHONY: maybe-install-info-libtool install-info-libtool
14610 maybe-install-info-libtool:
14611 @if libtool
14612 maybe-install-info-libtool: install-info-libtool
14614 install-info-libtool: \
14615 configure-libtool \
14616 info-libtool
14617 @[ -f ./libtool/Makefile ] || exit 0; \
14618 r=`${PWD_COMMAND}`; export r; \
14619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14620 $(SET_LIB_PATH) \
14621 $(HOST_EXPORTS) \
14622 for flag in $(EXTRA_HOST_FLAGS) ; do \
14623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14624 done; \
14625 echo "Doing install-info in libtool" ; \
14626 (cd libtool && \
14627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14629 "RANLIB=$${RANLIB}" \
14630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14631 install-info) \
14632 || exit 1
14634 @endif libtool
14636 .PHONY: maybe-installcheck-libtool installcheck-libtool
14637 maybe-installcheck-libtool:
14638 @if libtool
14639 maybe-installcheck-libtool: installcheck-libtool
14641 installcheck-libtool: \
14642 configure-libtool
14643 @[ -f ./libtool/Makefile ] || exit 0; \
14644 r=`${PWD_COMMAND}`; export r; \
14645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14646 $(SET_LIB_PATH) \
14647 $(HOST_EXPORTS) \
14648 for flag in $(EXTRA_HOST_FLAGS) ; do \
14649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14650 done; \
14651 echo "Doing installcheck in libtool" ; \
14652 (cd libtool && \
14653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14655 "RANLIB=$${RANLIB}" \
14656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14657 installcheck) \
14658 || exit 1
14660 @endif libtool
14662 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
14663 maybe-mostlyclean-libtool:
14664 @if libtool
14665 maybe-mostlyclean-libtool: mostlyclean-libtool
14667 mostlyclean-libtool:
14668 @[ -f ./libtool/Makefile ] || exit 0; \
14669 r=`${PWD_COMMAND}`; export r; \
14670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14671 $(SET_LIB_PATH) \
14672 $(HOST_EXPORTS) \
14673 for flag in $(EXTRA_HOST_FLAGS) ; do \
14674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14675 done; \
14676 echo "Doing mostlyclean in libtool" ; \
14677 (cd libtool && \
14678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14680 "RANLIB=$${RANLIB}" \
14681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14682 mostlyclean) \
14683 || exit 1
14685 @endif libtool
14687 .PHONY: maybe-clean-libtool clean-libtool
14688 maybe-clean-libtool:
14689 @if libtool
14690 maybe-clean-libtool: clean-libtool
14692 clean-libtool:
14693 @[ -f ./libtool/Makefile ] || exit 0; \
14694 r=`${PWD_COMMAND}`; export r; \
14695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14696 $(SET_LIB_PATH) \
14697 $(HOST_EXPORTS) \
14698 for flag in $(EXTRA_HOST_FLAGS) ; do \
14699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14700 done; \
14701 echo "Doing clean in libtool" ; \
14702 (cd libtool && \
14703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14705 "RANLIB=$${RANLIB}" \
14706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14707 clean) \
14708 || exit 1
14710 @endif libtool
14712 .PHONY: maybe-distclean-libtool distclean-libtool
14713 maybe-distclean-libtool:
14714 @if libtool
14715 maybe-distclean-libtool: distclean-libtool
14717 distclean-libtool:
14718 @[ -f ./libtool/Makefile ] || exit 0; \
14719 r=`${PWD_COMMAND}`; export r; \
14720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14721 $(SET_LIB_PATH) \
14722 $(HOST_EXPORTS) \
14723 for flag in $(EXTRA_HOST_FLAGS) ; do \
14724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14725 done; \
14726 echo "Doing distclean in libtool" ; \
14727 (cd libtool && \
14728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14730 "RANLIB=$${RANLIB}" \
14731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14732 distclean) \
14733 || exit 1
14735 @endif libtool
14737 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
14738 maybe-maintainer-clean-libtool:
14739 @if libtool
14740 maybe-maintainer-clean-libtool: maintainer-clean-libtool
14742 maintainer-clean-libtool:
14743 @[ -f ./libtool/Makefile ] || exit 0; \
14744 r=`${PWD_COMMAND}`; export r; \
14745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14746 $(SET_LIB_PATH) \
14747 $(HOST_EXPORTS) \
14748 for flag in $(EXTRA_HOST_FLAGS) ; do \
14749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14750 done; \
14751 echo "Doing maintainer-clean in libtool" ; \
14752 (cd libtool && \
14753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14755 "RANLIB=$${RANLIB}" \
14756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14757 maintainer-clean) \
14758 || exit 1
14760 @endif libtool
14763 .PHONY: configure-m4 maybe-configure-m4
14764 maybe-configure-m4:
14765 @if m4
14766 maybe-configure-m4: configure-m4
14767 configure-m4:
14768 @test ! -f m4/Makefile || exit 0; \
14769 [ -d m4 ] || mkdir m4; \
14770 r=`${PWD_COMMAND}`; export r; \
14771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14772 $(HOST_EXPORTS) \
14773 echo Configuring in m4; \
14774 cd m4 || exit 1; \
14775 case $(srcdir) in \
14776 \.) \
14777 srcdiroption="--srcdir=."; \
14778 libsrcdir=".";; \
14779 /* | [A-Za-z]:[\\/]*) \
14780 srcdiroption="--srcdir=$(srcdir)/m4"; \
14781 libsrcdir="$$s/m4";; \
14782 *) \
14783 srcdiroption="--srcdir=../$(srcdir)/m4"; \
14784 libsrcdir="$$s/m4";; \
14785 esac; \
14786 $(SHELL) $${libsrcdir}/configure \
14787 $(HOST_CONFIGARGS) $${srcdiroption} \
14788 || exit 1
14789 @endif m4
14791 .PHONY: all-m4 maybe-all-m4
14792 maybe-all-m4:
14793 @if m4
14794 TARGET-m4=all
14795 maybe-all-m4: all-m4
14796 all-m4: configure-m4
14797 @r=`${PWD_COMMAND}`; export r; \
14798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14799 $(SET_LIB_PATH) \
14800 $(HOST_EXPORTS) \
14801 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) \
14802 $(TARGET-m4))
14803 @endif m4
14805 .PHONY: check-m4 maybe-check-m4
14806 maybe-check-m4:
14807 @if m4
14808 maybe-check-m4: check-m4
14810 check-m4:
14811 @r=`${PWD_COMMAND}`; export r; \
14812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14813 $(SET_LIB_PATH) \
14814 $(HOST_EXPORTS) \
14815 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
14817 @endif m4
14819 .PHONY: install-m4 maybe-install-m4
14820 maybe-install-m4:
14821 @if m4
14822 maybe-install-m4: install-m4
14824 install-m4: installdirs
14825 @r=`${PWD_COMMAND}`; export r; \
14826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14827 $(SET_LIB_PATH) \
14828 $(HOST_EXPORTS) \
14829 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
14831 @endif m4
14833 # Other targets (info, dvi, etc.)
14835 .PHONY: maybe-info-m4 info-m4
14836 maybe-info-m4:
14837 @if m4
14838 maybe-info-m4: info-m4
14840 info-m4: \
14841 configure-m4
14842 @[ -f ./m4/Makefile ] || exit 0; \
14843 r=`${PWD_COMMAND}`; export r; \
14844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14845 $(SET_LIB_PATH) \
14846 $(HOST_EXPORTS) \
14847 for flag in $(EXTRA_HOST_FLAGS) ; do \
14848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14849 done; \
14850 echo "Doing info in m4" ; \
14851 (cd m4 && \
14852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14854 "RANLIB=$${RANLIB}" \
14855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14856 info) \
14857 || exit 1
14859 @endif m4
14861 .PHONY: maybe-dvi-m4 dvi-m4
14862 maybe-dvi-m4:
14863 @if m4
14864 maybe-dvi-m4: dvi-m4
14866 dvi-m4: \
14867 configure-m4
14868 @[ -f ./m4/Makefile ] || exit 0; \
14869 r=`${PWD_COMMAND}`; export r; \
14870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14871 $(SET_LIB_PATH) \
14872 $(HOST_EXPORTS) \
14873 for flag in $(EXTRA_HOST_FLAGS) ; do \
14874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14875 done; \
14876 echo "Doing dvi in m4" ; \
14877 (cd m4 && \
14878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14880 "RANLIB=$${RANLIB}" \
14881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14882 dvi) \
14883 || exit 1
14885 @endif m4
14887 .PHONY: maybe-html-m4 html-m4
14888 maybe-html-m4:
14889 @if m4
14890 maybe-html-m4: html-m4
14892 html-m4: \
14893 configure-m4
14894 @[ -f ./m4/Makefile ] || exit 0; \
14895 r=`${PWD_COMMAND}`; export r; \
14896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14897 $(SET_LIB_PATH) \
14898 $(HOST_EXPORTS) \
14899 for flag in $(EXTRA_HOST_FLAGS) ; do \
14900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14901 done; \
14902 echo "Doing html in m4" ; \
14903 (cd m4 && \
14904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14906 "RANLIB=$${RANLIB}" \
14907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14908 html) \
14909 || exit 1
14911 @endif m4
14913 .PHONY: maybe-TAGS-m4 TAGS-m4
14914 maybe-TAGS-m4:
14915 @if m4
14916 maybe-TAGS-m4: TAGS-m4
14918 TAGS-m4: \
14919 configure-m4
14920 @[ -f ./m4/Makefile ] || exit 0; \
14921 r=`${PWD_COMMAND}`; export r; \
14922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14923 $(SET_LIB_PATH) \
14924 $(HOST_EXPORTS) \
14925 for flag in $(EXTRA_HOST_FLAGS) ; do \
14926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14927 done; \
14928 echo "Doing TAGS in m4" ; \
14929 (cd m4 && \
14930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14932 "RANLIB=$${RANLIB}" \
14933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14934 TAGS) \
14935 || exit 1
14937 @endif m4
14939 .PHONY: maybe-install-info-m4 install-info-m4
14940 maybe-install-info-m4:
14941 @if m4
14942 maybe-install-info-m4: install-info-m4
14944 install-info-m4: \
14945 configure-m4 \
14946 info-m4
14947 @[ -f ./m4/Makefile ] || exit 0; \
14948 r=`${PWD_COMMAND}`; export r; \
14949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14950 $(SET_LIB_PATH) \
14951 $(HOST_EXPORTS) \
14952 for flag in $(EXTRA_HOST_FLAGS) ; do \
14953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14954 done; \
14955 echo "Doing install-info in m4" ; \
14956 (cd m4 && \
14957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14959 "RANLIB=$${RANLIB}" \
14960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14961 install-info) \
14962 || exit 1
14964 @endif m4
14966 .PHONY: maybe-installcheck-m4 installcheck-m4
14967 maybe-installcheck-m4:
14968 @if m4
14969 maybe-installcheck-m4: installcheck-m4
14971 installcheck-m4: \
14972 configure-m4
14973 @[ -f ./m4/Makefile ] || exit 0; \
14974 r=`${PWD_COMMAND}`; export r; \
14975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14976 $(SET_LIB_PATH) \
14977 $(HOST_EXPORTS) \
14978 for flag in $(EXTRA_HOST_FLAGS) ; do \
14979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14980 done; \
14981 echo "Doing installcheck in m4" ; \
14982 (cd m4 && \
14983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14985 "RANLIB=$${RANLIB}" \
14986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14987 installcheck) \
14988 || exit 1
14990 @endif m4
14992 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
14993 maybe-mostlyclean-m4:
14994 @if m4
14995 maybe-mostlyclean-m4: mostlyclean-m4
14997 mostlyclean-m4:
14998 @[ -f ./m4/Makefile ] || exit 0; \
14999 r=`${PWD_COMMAND}`; export r; \
15000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15001 $(SET_LIB_PATH) \
15002 $(HOST_EXPORTS) \
15003 for flag in $(EXTRA_HOST_FLAGS) ; do \
15004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15005 done; \
15006 echo "Doing mostlyclean in m4" ; \
15007 (cd m4 && \
15008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15010 "RANLIB=$${RANLIB}" \
15011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15012 mostlyclean) \
15013 || exit 1
15015 @endif m4
15017 .PHONY: maybe-clean-m4 clean-m4
15018 maybe-clean-m4:
15019 @if m4
15020 maybe-clean-m4: clean-m4
15022 clean-m4:
15023 @[ -f ./m4/Makefile ] || exit 0; \
15024 r=`${PWD_COMMAND}`; export r; \
15025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15026 $(SET_LIB_PATH) \
15027 $(HOST_EXPORTS) \
15028 for flag in $(EXTRA_HOST_FLAGS) ; do \
15029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15030 done; \
15031 echo "Doing clean in m4" ; \
15032 (cd m4 && \
15033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15035 "RANLIB=$${RANLIB}" \
15036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15037 clean) \
15038 || exit 1
15040 @endif m4
15042 .PHONY: maybe-distclean-m4 distclean-m4
15043 maybe-distclean-m4:
15044 @if m4
15045 maybe-distclean-m4: distclean-m4
15047 distclean-m4:
15048 @[ -f ./m4/Makefile ] || exit 0; \
15049 r=`${PWD_COMMAND}`; export r; \
15050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15051 $(SET_LIB_PATH) \
15052 $(HOST_EXPORTS) \
15053 for flag in $(EXTRA_HOST_FLAGS) ; do \
15054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15055 done; \
15056 echo "Doing distclean in m4" ; \
15057 (cd m4 && \
15058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15060 "RANLIB=$${RANLIB}" \
15061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15062 distclean) \
15063 || exit 1
15065 @endif m4
15067 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
15068 maybe-maintainer-clean-m4:
15069 @if m4
15070 maybe-maintainer-clean-m4: maintainer-clean-m4
15072 maintainer-clean-m4:
15073 @[ -f ./m4/Makefile ] || exit 0; \
15074 r=`${PWD_COMMAND}`; export r; \
15075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15076 $(SET_LIB_PATH) \
15077 $(HOST_EXPORTS) \
15078 for flag in $(EXTRA_HOST_FLAGS) ; do \
15079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15080 done; \
15081 echo "Doing maintainer-clean in m4" ; \
15082 (cd m4 && \
15083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15085 "RANLIB=$${RANLIB}" \
15086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15087 maintainer-clean) \
15088 || exit 1
15090 @endif m4
15093 .PHONY: configure-make maybe-configure-make
15094 maybe-configure-make:
15095 @if make
15096 maybe-configure-make: configure-make
15097 configure-make:
15098 @test ! -f make/Makefile || exit 0; \
15099 [ -d make ] || mkdir make; \
15100 r=`${PWD_COMMAND}`; export r; \
15101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15102 $(HOST_EXPORTS) \
15103 echo Configuring in make; \
15104 cd make || exit 1; \
15105 case $(srcdir) in \
15106 \.) \
15107 srcdiroption="--srcdir=."; \
15108 libsrcdir=".";; \
15109 /* | [A-Za-z]:[\\/]*) \
15110 srcdiroption="--srcdir=$(srcdir)/make"; \
15111 libsrcdir="$$s/make";; \
15112 *) \
15113 srcdiroption="--srcdir=../$(srcdir)/make"; \
15114 libsrcdir="$$s/make";; \
15115 esac; \
15116 $(SHELL) $${libsrcdir}/configure \
15117 $(HOST_CONFIGARGS) $${srcdiroption} \
15118 || exit 1
15119 @endif make
15121 .PHONY: all-make maybe-all-make
15122 maybe-all-make:
15123 @if make
15124 TARGET-make=all
15125 maybe-all-make: all-make
15126 all-make: configure-make
15127 @r=`${PWD_COMMAND}`; export r; \
15128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15129 $(SET_LIB_PATH) \
15130 $(HOST_EXPORTS) \
15131 (cd make && $(MAKE) $(FLAGS_TO_PASS) \
15132 $(TARGET-make))
15133 @endif make
15135 .PHONY: check-make maybe-check-make
15136 maybe-check-make:
15137 @if make
15138 maybe-check-make: check-make
15140 check-make:
15141 @r=`${PWD_COMMAND}`; export r; \
15142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15143 $(SET_LIB_PATH) \
15144 $(HOST_EXPORTS) \
15145 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
15147 @endif make
15149 .PHONY: install-make maybe-install-make
15150 maybe-install-make:
15151 @if make
15152 maybe-install-make: install-make
15154 install-make: installdirs
15155 @r=`${PWD_COMMAND}`; export r; \
15156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15157 $(SET_LIB_PATH) \
15158 $(HOST_EXPORTS) \
15159 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
15161 @endif make
15163 # Other targets (info, dvi, etc.)
15165 .PHONY: maybe-info-make info-make
15166 maybe-info-make:
15167 @if make
15168 maybe-info-make: info-make
15170 info-make: \
15171 configure-make
15172 @[ -f ./make/Makefile ] || exit 0; \
15173 r=`${PWD_COMMAND}`; export r; \
15174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15175 $(SET_LIB_PATH) \
15176 $(HOST_EXPORTS) \
15177 for flag in $(EXTRA_HOST_FLAGS) ; do \
15178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15179 done; \
15180 echo "Doing info in make" ; \
15181 (cd make && \
15182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15184 "RANLIB=$${RANLIB}" \
15185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15186 info) \
15187 || exit 1
15189 @endif make
15191 .PHONY: maybe-dvi-make dvi-make
15192 maybe-dvi-make:
15193 @if make
15194 maybe-dvi-make: dvi-make
15196 dvi-make: \
15197 configure-make
15198 @[ -f ./make/Makefile ] || exit 0; \
15199 r=`${PWD_COMMAND}`; export r; \
15200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15201 $(SET_LIB_PATH) \
15202 $(HOST_EXPORTS) \
15203 for flag in $(EXTRA_HOST_FLAGS) ; do \
15204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15205 done; \
15206 echo "Doing dvi in make" ; \
15207 (cd make && \
15208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15210 "RANLIB=$${RANLIB}" \
15211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15212 dvi) \
15213 || exit 1
15215 @endif make
15217 .PHONY: maybe-html-make html-make
15218 maybe-html-make:
15219 @if make
15220 maybe-html-make: html-make
15222 html-make: \
15223 configure-make
15224 @[ -f ./make/Makefile ] || exit 0; \
15225 r=`${PWD_COMMAND}`; export r; \
15226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15227 $(SET_LIB_PATH) \
15228 $(HOST_EXPORTS) \
15229 for flag in $(EXTRA_HOST_FLAGS) ; do \
15230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15231 done; \
15232 echo "Doing html in make" ; \
15233 (cd make && \
15234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15236 "RANLIB=$${RANLIB}" \
15237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15238 html) \
15239 || exit 1
15241 @endif make
15243 .PHONY: maybe-TAGS-make TAGS-make
15244 maybe-TAGS-make:
15245 @if make
15246 maybe-TAGS-make: TAGS-make
15248 TAGS-make: \
15249 configure-make
15250 @[ -f ./make/Makefile ] || exit 0; \
15251 r=`${PWD_COMMAND}`; export r; \
15252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15253 $(SET_LIB_PATH) \
15254 $(HOST_EXPORTS) \
15255 for flag in $(EXTRA_HOST_FLAGS) ; do \
15256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15257 done; \
15258 echo "Doing TAGS in make" ; \
15259 (cd make && \
15260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15262 "RANLIB=$${RANLIB}" \
15263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15264 TAGS) \
15265 || exit 1
15267 @endif make
15269 .PHONY: maybe-install-info-make install-info-make
15270 maybe-install-info-make:
15271 @if make
15272 maybe-install-info-make: install-info-make
15274 install-info-make: \
15275 configure-make \
15276 info-make
15277 @[ -f ./make/Makefile ] || exit 0; \
15278 r=`${PWD_COMMAND}`; export r; \
15279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15280 $(SET_LIB_PATH) \
15281 $(HOST_EXPORTS) \
15282 for flag in $(EXTRA_HOST_FLAGS) ; do \
15283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15284 done; \
15285 echo "Doing install-info in make" ; \
15286 (cd make && \
15287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15289 "RANLIB=$${RANLIB}" \
15290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15291 install-info) \
15292 || exit 1
15294 @endif make
15296 .PHONY: maybe-installcheck-make installcheck-make
15297 maybe-installcheck-make:
15298 @if make
15299 maybe-installcheck-make: installcheck-make
15301 installcheck-make: \
15302 configure-make
15303 @[ -f ./make/Makefile ] || exit 0; \
15304 r=`${PWD_COMMAND}`; export r; \
15305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15306 $(SET_LIB_PATH) \
15307 $(HOST_EXPORTS) \
15308 for flag in $(EXTRA_HOST_FLAGS) ; do \
15309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15310 done; \
15311 echo "Doing installcheck in make" ; \
15312 (cd make && \
15313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15315 "RANLIB=$${RANLIB}" \
15316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15317 installcheck) \
15318 || exit 1
15320 @endif make
15322 .PHONY: maybe-mostlyclean-make mostlyclean-make
15323 maybe-mostlyclean-make:
15324 @if make
15325 maybe-mostlyclean-make: mostlyclean-make
15327 mostlyclean-make:
15328 @[ -f ./make/Makefile ] || exit 0; \
15329 r=`${PWD_COMMAND}`; export r; \
15330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15331 $(SET_LIB_PATH) \
15332 $(HOST_EXPORTS) \
15333 for flag in $(EXTRA_HOST_FLAGS) ; do \
15334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15335 done; \
15336 echo "Doing mostlyclean in make" ; \
15337 (cd make && \
15338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15340 "RANLIB=$${RANLIB}" \
15341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15342 mostlyclean) \
15343 || exit 1
15345 @endif make
15347 .PHONY: maybe-clean-make clean-make
15348 maybe-clean-make:
15349 @if make
15350 maybe-clean-make: clean-make
15352 clean-make:
15353 @[ -f ./make/Makefile ] || exit 0; \
15354 r=`${PWD_COMMAND}`; export r; \
15355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15356 $(SET_LIB_PATH) \
15357 $(HOST_EXPORTS) \
15358 for flag in $(EXTRA_HOST_FLAGS) ; do \
15359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15360 done; \
15361 echo "Doing clean in make" ; \
15362 (cd make && \
15363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15365 "RANLIB=$${RANLIB}" \
15366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15367 clean) \
15368 || exit 1
15370 @endif make
15372 .PHONY: maybe-distclean-make distclean-make
15373 maybe-distclean-make:
15374 @if make
15375 maybe-distclean-make: distclean-make
15377 distclean-make:
15378 @[ -f ./make/Makefile ] || exit 0; \
15379 r=`${PWD_COMMAND}`; export r; \
15380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15381 $(SET_LIB_PATH) \
15382 $(HOST_EXPORTS) \
15383 for flag in $(EXTRA_HOST_FLAGS) ; do \
15384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15385 done; \
15386 echo "Doing distclean in make" ; \
15387 (cd make && \
15388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15390 "RANLIB=$${RANLIB}" \
15391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15392 distclean) \
15393 || exit 1
15395 @endif make
15397 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
15398 maybe-maintainer-clean-make:
15399 @if make
15400 maybe-maintainer-clean-make: maintainer-clean-make
15402 maintainer-clean-make:
15403 @[ -f ./make/Makefile ] || exit 0; \
15404 r=`${PWD_COMMAND}`; export r; \
15405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15406 $(SET_LIB_PATH) \
15407 $(HOST_EXPORTS) \
15408 for flag in $(EXTRA_HOST_FLAGS) ; do \
15409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15410 done; \
15411 echo "Doing maintainer-clean in make" ; \
15412 (cd make && \
15413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15415 "RANLIB=$${RANLIB}" \
15416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15417 maintainer-clean) \
15418 || exit 1
15420 @endif make
15423 .PHONY: configure-mmalloc maybe-configure-mmalloc
15424 maybe-configure-mmalloc:
15425 @if mmalloc
15426 maybe-configure-mmalloc: configure-mmalloc
15427 configure-mmalloc:
15428 @test ! -f mmalloc/Makefile || exit 0; \
15429 [ -d mmalloc ] || mkdir mmalloc; \
15430 r=`${PWD_COMMAND}`; export r; \
15431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15432 $(HOST_EXPORTS) \
15433 echo Configuring in mmalloc; \
15434 cd mmalloc || exit 1; \
15435 case $(srcdir) in \
15436 \.) \
15437 srcdiroption="--srcdir=."; \
15438 libsrcdir=".";; \
15439 /* | [A-Za-z]:[\\/]*) \
15440 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
15441 libsrcdir="$$s/mmalloc";; \
15442 *) \
15443 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
15444 libsrcdir="$$s/mmalloc";; \
15445 esac; \
15446 $(SHELL) $${libsrcdir}/configure \
15447 $(HOST_CONFIGARGS) $${srcdiroption} \
15448 || exit 1
15449 @endif mmalloc
15451 .PHONY: all-mmalloc maybe-all-mmalloc
15452 maybe-all-mmalloc:
15453 @if mmalloc
15454 TARGET-mmalloc=all
15455 maybe-all-mmalloc: all-mmalloc
15456 all-mmalloc: configure-mmalloc
15457 @r=`${PWD_COMMAND}`; export r; \
15458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15459 $(SET_LIB_PATH) \
15460 $(HOST_EXPORTS) \
15461 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) \
15462 $(TARGET-mmalloc))
15463 @endif mmalloc
15465 .PHONY: check-mmalloc maybe-check-mmalloc
15466 maybe-check-mmalloc:
15467 @if mmalloc
15468 maybe-check-mmalloc: check-mmalloc
15470 check-mmalloc:
15472 @endif mmalloc
15474 .PHONY: install-mmalloc maybe-install-mmalloc
15475 maybe-install-mmalloc:
15476 @if mmalloc
15477 maybe-install-mmalloc: install-mmalloc
15479 install-mmalloc: installdirs
15480 @r=`${PWD_COMMAND}`; export r; \
15481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15482 $(SET_LIB_PATH) \
15483 $(HOST_EXPORTS) \
15484 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
15486 @endif mmalloc
15488 # Other targets (info, dvi, etc.)
15490 .PHONY: maybe-info-mmalloc info-mmalloc
15491 maybe-info-mmalloc:
15492 @if mmalloc
15493 maybe-info-mmalloc: info-mmalloc
15495 info-mmalloc: \
15496 configure-mmalloc
15497 @[ -f ./mmalloc/Makefile ] || exit 0; \
15498 r=`${PWD_COMMAND}`; export r; \
15499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15500 $(SET_LIB_PATH) \
15501 $(HOST_EXPORTS) \
15502 for flag in $(EXTRA_HOST_FLAGS) ; do \
15503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15504 done; \
15505 echo "Doing info in mmalloc" ; \
15506 (cd mmalloc && \
15507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15509 "RANLIB=$${RANLIB}" \
15510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15511 info) \
15512 || exit 1
15514 @endif mmalloc
15516 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
15517 maybe-dvi-mmalloc:
15518 @if mmalloc
15519 maybe-dvi-mmalloc: dvi-mmalloc
15521 dvi-mmalloc: \
15522 configure-mmalloc
15523 @[ -f ./mmalloc/Makefile ] || exit 0; \
15524 r=`${PWD_COMMAND}`; export r; \
15525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15526 $(SET_LIB_PATH) \
15527 $(HOST_EXPORTS) \
15528 for flag in $(EXTRA_HOST_FLAGS) ; do \
15529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15530 done; \
15531 echo "Doing dvi in mmalloc" ; \
15532 (cd mmalloc && \
15533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15535 "RANLIB=$${RANLIB}" \
15536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15537 dvi) \
15538 || exit 1
15540 @endif mmalloc
15542 .PHONY: maybe-html-mmalloc html-mmalloc
15543 maybe-html-mmalloc:
15544 @if mmalloc
15545 maybe-html-mmalloc: html-mmalloc
15547 html-mmalloc: \
15548 configure-mmalloc
15549 @[ -f ./mmalloc/Makefile ] || exit 0; \
15550 r=`${PWD_COMMAND}`; export r; \
15551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15552 $(SET_LIB_PATH) \
15553 $(HOST_EXPORTS) \
15554 for flag in $(EXTRA_HOST_FLAGS) ; do \
15555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15556 done; \
15557 echo "Doing html in mmalloc" ; \
15558 (cd mmalloc && \
15559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15561 "RANLIB=$${RANLIB}" \
15562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15563 html) \
15564 || exit 1
15566 @endif mmalloc
15568 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
15569 maybe-TAGS-mmalloc:
15570 @if mmalloc
15571 maybe-TAGS-mmalloc: TAGS-mmalloc
15573 TAGS-mmalloc: \
15574 configure-mmalloc
15575 @[ -f ./mmalloc/Makefile ] || exit 0; \
15576 r=`${PWD_COMMAND}`; export r; \
15577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15578 $(SET_LIB_PATH) \
15579 $(HOST_EXPORTS) \
15580 for flag in $(EXTRA_HOST_FLAGS) ; do \
15581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15582 done; \
15583 echo "Doing TAGS in mmalloc" ; \
15584 (cd mmalloc && \
15585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15587 "RANLIB=$${RANLIB}" \
15588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15589 TAGS) \
15590 || exit 1
15592 @endif mmalloc
15594 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
15595 maybe-install-info-mmalloc:
15596 @if mmalloc
15597 maybe-install-info-mmalloc: install-info-mmalloc
15599 install-info-mmalloc: \
15600 configure-mmalloc \
15601 info-mmalloc
15602 @[ -f ./mmalloc/Makefile ] || exit 0; \
15603 r=`${PWD_COMMAND}`; export r; \
15604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15605 $(SET_LIB_PATH) \
15606 $(HOST_EXPORTS) \
15607 for flag in $(EXTRA_HOST_FLAGS) ; do \
15608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15609 done; \
15610 echo "Doing install-info in mmalloc" ; \
15611 (cd mmalloc && \
15612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15614 "RANLIB=$${RANLIB}" \
15615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15616 install-info) \
15617 || exit 1
15619 @endif mmalloc
15621 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
15622 maybe-installcheck-mmalloc:
15623 @if mmalloc
15624 maybe-installcheck-mmalloc: installcheck-mmalloc
15626 installcheck-mmalloc: \
15627 configure-mmalloc
15628 @[ -f ./mmalloc/Makefile ] || exit 0; \
15629 r=`${PWD_COMMAND}`; export r; \
15630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15631 $(SET_LIB_PATH) \
15632 $(HOST_EXPORTS) \
15633 for flag in $(EXTRA_HOST_FLAGS) ; do \
15634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15635 done; \
15636 echo "Doing installcheck in mmalloc" ; \
15637 (cd mmalloc && \
15638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15640 "RANLIB=$${RANLIB}" \
15641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15642 installcheck) \
15643 || exit 1
15645 @endif mmalloc
15647 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
15648 maybe-mostlyclean-mmalloc:
15649 @if mmalloc
15650 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
15652 mostlyclean-mmalloc:
15653 @[ -f ./mmalloc/Makefile ] || exit 0; \
15654 r=`${PWD_COMMAND}`; export r; \
15655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15656 $(SET_LIB_PATH) \
15657 $(HOST_EXPORTS) \
15658 for flag in $(EXTRA_HOST_FLAGS) ; do \
15659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15660 done; \
15661 echo "Doing mostlyclean in mmalloc" ; \
15662 (cd mmalloc && \
15663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15665 "RANLIB=$${RANLIB}" \
15666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15667 mostlyclean) \
15668 || exit 1
15670 @endif mmalloc
15672 .PHONY: maybe-clean-mmalloc clean-mmalloc
15673 maybe-clean-mmalloc:
15674 @if mmalloc
15675 maybe-clean-mmalloc: clean-mmalloc
15677 clean-mmalloc:
15678 @[ -f ./mmalloc/Makefile ] || exit 0; \
15679 r=`${PWD_COMMAND}`; export r; \
15680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15681 $(SET_LIB_PATH) \
15682 $(HOST_EXPORTS) \
15683 for flag in $(EXTRA_HOST_FLAGS) ; do \
15684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15685 done; \
15686 echo "Doing clean in mmalloc" ; \
15687 (cd mmalloc && \
15688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15690 "RANLIB=$${RANLIB}" \
15691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15692 clean) \
15693 || exit 1
15695 @endif mmalloc
15697 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
15698 maybe-distclean-mmalloc:
15699 @if mmalloc
15700 maybe-distclean-mmalloc: distclean-mmalloc
15702 distclean-mmalloc:
15703 @[ -f ./mmalloc/Makefile ] || exit 0; \
15704 r=`${PWD_COMMAND}`; export r; \
15705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15706 $(SET_LIB_PATH) \
15707 $(HOST_EXPORTS) \
15708 for flag in $(EXTRA_HOST_FLAGS) ; do \
15709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15710 done; \
15711 echo "Doing distclean in mmalloc" ; \
15712 (cd mmalloc && \
15713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15715 "RANLIB=$${RANLIB}" \
15716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15717 distclean) \
15718 || exit 1
15720 @endif mmalloc
15722 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
15723 maybe-maintainer-clean-mmalloc:
15724 @if mmalloc
15725 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
15727 maintainer-clean-mmalloc:
15728 @[ -f ./mmalloc/Makefile ] || exit 0; \
15729 r=`${PWD_COMMAND}`; export r; \
15730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15731 $(SET_LIB_PATH) \
15732 $(HOST_EXPORTS) \
15733 for flag in $(EXTRA_HOST_FLAGS) ; do \
15734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15735 done; \
15736 echo "Doing maintainer-clean in mmalloc" ; \
15737 (cd mmalloc && \
15738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15740 "RANLIB=$${RANLIB}" \
15741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15742 maintainer-clean) \
15743 || exit 1
15745 @endif mmalloc
15748 .PHONY: configure-patch maybe-configure-patch
15749 maybe-configure-patch:
15750 @if patch
15751 maybe-configure-patch: configure-patch
15752 configure-patch:
15753 @test ! -f patch/Makefile || exit 0; \
15754 [ -d patch ] || mkdir patch; \
15755 r=`${PWD_COMMAND}`; export r; \
15756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15757 $(HOST_EXPORTS) \
15758 echo Configuring in patch; \
15759 cd patch || exit 1; \
15760 case $(srcdir) in \
15761 \.) \
15762 srcdiroption="--srcdir=."; \
15763 libsrcdir=".";; \
15764 /* | [A-Za-z]:[\\/]*) \
15765 srcdiroption="--srcdir=$(srcdir)/patch"; \
15766 libsrcdir="$$s/patch";; \
15767 *) \
15768 srcdiroption="--srcdir=../$(srcdir)/patch"; \
15769 libsrcdir="$$s/patch";; \
15770 esac; \
15771 $(SHELL) $${libsrcdir}/configure \
15772 $(HOST_CONFIGARGS) $${srcdiroption} \
15773 || exit 1
15774 @endif patch
15776 .PHONY: all-patch maybe-all-patch
15777 maybe-all-patch:
15778 @if patch
15779 TARGET-patch=all
15780 maybe-all-patch: all-patch
15781 all-patch: configure-patch
15782 @r=`${PWD_COMMAND}`; export r; \
15783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15784 $(SET_LIB_PATH) \
15785 $(HOST_EXPORTS) \
15786 (cd patch && $(MAKE) $(FLAGS_TO_PASS) \
15787 $(TARGET-patch))
15788 @endif patch
15790 .PHONY: check-patch maybe-check-patch
15791 maybe-check-patch:
15792 @if patch
15793 maybe-check-patch: check-patch
15795 check-patch:
15796 @r=`${PWD_COMMAND}`; export r; \
15797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15798 $(SET_LIB_PATH) \
15799 $(HOST_EXPORTS) \
15800 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
15802 @endif patch
15804 .PHONY: install-patch maybe-install-patch
15805 maybe-install-patch:
15806 @if patch
15807 maybe-install-patch: install-patch
15809 install-patch: installdirs
15810 @r=`${PWD_COMMAND}`; export r; \
15811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15812 $(SET_LIB_PATH) \
15813 $(HOST_EXPORTS) \
15814 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
15816 @endif patch
15818 # Other targets (info, dvi, etc.)
15820 .PHONY: maybe-info-patch info-patch
15821 maybe-info-patch:
15822 @if patch
15823 maybe-info-patch: info-patch
15825 info-patch: \
15826 configure-patch
15827 @[ -f ./patch/Makefile ] || exit 0; \
15828 r=`${PWD_COMMAND}`; export r; \
15829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15830 $(SET_LIB_PATH) \
15831 $(HOST_EXPORTS) \
15832 for flag in $(EXTRA_HOST_FLAGS) ; do \
15833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15834 done; \
15835 echo "Doing info in patch" ; \
15836 (cd patch && \
15837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15839 "RANLIB=$${RANLIB}" \
15840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15841 info) \
15842 || exit 1
15844 @endif patch
15846 .PHONY: maybe-dvi-patch dvi-patch
15847 maybe-dvi-patch:
15848 @if patch
15849 maybe-dvi-patch: dvi-patch
15851 dvi-patch: \
15852 configure-patch
15853 @[ -f ./patch/Makefile ] || exit 0; \
15854 r=`${PWD_COMMAND}`; export r; \
15855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15856 $(SET_LIB_PATH) \
15857 $(HOST_EXPORTS) \
15858 for flag in $(EXTRA_HOST_FLAGS) ; do \
15859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15860 done; \
15861 echo "Doing dvi in patch" ; \
15862 (cd patch && \
15863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15865 "RANLIB=$${RANLIB}" \
15866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15867 dvi) \
15868 || exit 1
15870 @endif patch
15872 .PHONY: maybe-html-patch html-patch
15873 maybe-html-patch:
15874 @if patch
15875 maybe-html-patch: html-patch
15877 html-patch: \
15878 configure-patch
15879 @[ -f ./patch/Makefile ] || exit 0; \
15880 r=`${PWD_COMMAND}`; export r; \
15881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15882 $(SET_LIB_PATH) \
15883 $(HOST_EXPORTS) \
15884 for flag in $(EXTRA_HOST_FLAGS) ; do \
15885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15886 done; \
15887 echo "Doing html in patch" ; \
15888 (cd patch && \
15889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15891 "RANLIB=$${RANLIB}" \
15892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15893 html) \
15894 || exit 1
15896 @endif patch
15898 .PHONY: maybe-TAGS-patch TAGS-patch
15899 maybe-TAGS-patch:
15900 @if patch
15901 maybe-TAGS-patch: TAGS-patch
15903 TAGS-patch: \
15904 configure-patch
15905 @[ -f ./patch/Makefile ] || exit 0; \
15906 r=`${PWD_COMMAND}`; export r; \
15907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15908 $(SET_LIB_PATH) \
15909 $(HOST_EXPORTS) \
15910 for flag in $(EXTRA_HOST_FLAGS) ; do \
15911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15912 done; \
15913 echo "Doing TAGS in patch" ; \
15914 (cd patch && \
15915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15917 "RANLIB=$${RANLIB}" \
15918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15919 TAGS) \
15920 || exit 1
15922 @endif patch
15924 .PHONY: maybe-install-info-patch install-info-patch
15925 maybe-install-info-patch:
15926 @if patch
15927 maybe-install-info-patch: install-info-patch
15929 install-info-patch: \
15930 configure-patch \
15931 info-patch
15932 @[ -f ./patch/Makefile ] || exit 0; \
15933 r=`${PWD_COMMAND}`; export r; \
15934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15935 $(SET_LIB_PATH) \
15936 $(HOST_EXPORTS) \
15937 for flag in $(EXTRA_HOST_FLAGS) ; do \
15938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15939 done; \
15940 echo "Doing install-info in patch" ; \
15941 (cd patch && \
15942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15944 "RANLIB=$${RANLIB}" \
15945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15946 install-info) \
15947 || exit 1
15949 @endif patch
15951 .PHONY: maybe-installcheck-patch installcheck-patch
15952 maybe-installcheck-patch:
15953 @if patch
15954 maybe-installcheck-patch: installcheck-patch
15956 installcheck-patch: \
15957 configure-patch
15958 @[ -f ./patch/Makefile ] || exit 0; \
15959 r=`${PWD_COMMAND}`; export r; \
15960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15961 $(SET_LIB_PATH) \
15962 $(HOST_EXPORTS) \
15963 for flag in $(EXTRA_HOST_FLAGS) ; do \
15964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15965 done; \
15966 echo "Doing installcheck in patch" ; \
15967 (cd patch && \
15968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15970 "RANLIB=$${RANLIB}" \
15971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15972 installcheck) \
15973 || exit 1
15975 @endif patch
15977 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
15978 maybe-mostlyclean-patch:
15979 @if patch
15980 maybe-mostlyclean-patch: mostlyclean-patch
15982 mostlyclean-patch:
15983 @[ -f ./patch/Makefile ] || exit 0; \
15984 r=`${PWD_COMMAND}`; export r; \
15985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15986 $(SET_LIB_PATH) \
15987 $(HOST_EXPORTS) \
15988 for flag in $(EXTRA_HOST_FLAGS) ; do \
15989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15990 done; \
15991 echo "Doing mostlyclean in patch" ; \
15992 (cd patch && \
15993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15995 "RANLIB=$${RANLIB}" \
15996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15997 mostlyclean) \
15998 || exit 1
16000 @endif patch
16002 .PHONY: maybe-clean-patch clean-patch
16003 maybe-clean-patch:
16004 @if patch
16005 maybe-clean-patch: clean-patch
16007 clean-patch:
16008 @[ -f ./patch/Makefile ] || exit 0; \
16009 r=`${PWD_COMMAND}`; export r; \
16010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16011 $(SET_LIB_PATH) \
16012 $(HOST_EXPORTS) \
16013 for flag in $(EXTRA_HOST_FLAGS) ; do \
16014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16015 done; \
16016 echo "Doing clean in patch" ; \
16017 (cd patch && \
16018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16020 "RANLIB=$${RANLIB}" \
16021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16022 clean) \
16023 || exit 1
16025 @endif patch
16027 .PHONY: maybe-distclean-patch distclean-patch
16028 maybe-distclean-patch:
16029 @if patch
16030 maybe-distclean-patch: distclean-patch
16032 distclean-patch:
16033 @[ -f ./patch/Makefile ] || exit 0; \
16034 r=`${PWD_COMMAND}`; export r; \
16035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16036 $(SET_LIB_PATH) \
16037 $(HOST_EXPORTS) \
16038 for flag in $(EXTRA_HOST_FLAGS) ; do \
16039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16040 done; \
16041 echo "Doing distclean in patch" ; \
16042 (cd patch && \
16043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16045 "RANLIB=$${RANLIB}" \
16046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16047 distclean) \
16048 || exit 1
16050 @endif patch
16052 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
16053 maybe-maintainer-clean-patch:
16054 @if patch
16055 maybe-maintainer-clean-patch: maintainer-clean-patch
16057 maintainer-clean-patch:
16058 @[ -f ./patch/Makefile ] || exit 0; \
16059 r=`${PWD_COMMAND}`; export r; \
16060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16061 $(SET_LIB_PATH) \
16062 $(HOST_EXPORTS) \
16063 for flag in $(EXTRA_HOST_FLAGS) ; do \
16064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16065 done; \
16066 echo "Doing maintainer-clean in patch" ; \
16067 (cd patch && \
16068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16070 "RANLIB=$${RANLIB}" \
16071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16072 maintainer-clean) \
16073 || exit 1
16075 @endif patch
16078 .PHONY: configure-perl maybe-configure-perl
16079 maybe-configure-perl:
16080 @if perl
16081 maybe-configure-perl: configure-perl
16082 configure-perl:
16083 @test ! -f perl/Makefile || exit 0; \
16084 [ -d perl ] || mkdir perl; \
16085 r=`${PWD_COMMAND}`; export r; \
16086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16087 $(HOST_EXPORTS) \
16088 echo Configuring in perl; \
16089 cd perl || exit 1; \
16090 case $(srcdir) in \
16091 \.) \
16092 srcdiroption="--srcdir=."; \
16093 libsrcdir=".";; \
16094 /* | [A-Za-z]:[\\/]*) \
16095 srcdiroption="--srcdir=$(srcdir)/perl"; \
16096 libsrcdir="$$s/perl";; \
16097 *) \
16098 srcdiroption="--srcdir=../$(srcdir)/perl"; \
16099 libsrcdir="$$s/perl";; \
16100 esac; \
16101 $(SHELL) $${libsrcdir}/configure \
16102 $(HOST_CONFIGARGS) $${srcdiroption} \
16103 || exit 1
16104 @endif perl
16106 .PHONY: all-perl maybe-all-perl
16107 maybe-all-perl:
16108 @if perl
16109 TARGET-perl=all
16110 maybe-all-perl: all-perl
16111 all-perl: configure-perl
16112 @r=`${PWD_COMMAND}`; export r; \
16113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16114 $(SET_LIB_PATH) \
16115 $(HOST_EXPORTS) \
16116 (cd perl && $(MAKE) $(FLAGS_TO_PASS) \
16117 $(TARGET-perl))
16118 @endif perl
16120 .PHONY: check-perl maybe-check-perl
16121 maybe-check-perl:
16122 @if perl
16123 maybe-check-perl: check-perl
16125 check-perl:
16126 @r=`${PWD_COMMAND}`; export r; \
16127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16128 $(SET_LIB_PATH) \
16129 $(HOST_EXPORTS) \
16130 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
16132 @endif perl
16134 .PHONY: install-perl maybe-install-perl
16135 maybe-install-perl:
16136 @if perl
16137 maybe-install-perl: install-perl
16139 install-perl: installdirs
16140 @r=`${PWD_COMMAND}`; export r; \
16141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16142 $(SET_LIB_PATH) \
16143 $(HOST_EXPORTS) \
16144 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
16146 @endif perl
16148 # Other targets (info, dvi, etc.)
16150 .PHONY: maybe-info-perl info-perl
16151 maybe-info-perl:
16152 @if perl
16153 maybe-info-perl: info-perl
16155 info-perl: \
16156 configure-perl
16157 @[ -f ./perl/Makefile ] || exit 0; \
16158 r=`${PWD_COMMAND}`; export r; \
16159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16160 $(SET_LIB_PATH) \
16161 $(HOST_EXPORTS) \
16162 for flag in $(EXTRA_HOST_FLAGS) ; do \
16163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16164 done; \
16165 echo "Doing info in perl" ; \
16166 (cd perl && \
16167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16169 "RANLIB=$${RANLIB}" \
16170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16171 info) \
16172 || exit 1
16174 @endif perl
16176 .PHONY: maybe-dvi-perl dvi-perl
16177 maybe-dvi-perl:
16178 @if perl
16179 maybe-dvi-perl: dvi-perl
16181 dvi-perl: \
16182 configure-perl
16183 @[ -f ./perl/Makefile ] || exit 0; \
16184 r=`${PWD_COMMAND}`; export r; \
16185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16186 $(SET_LIB_PATH) \
16187 $(HOST_EXPORTS) \
16188 for flag in $(EXTRA_HOST_FLAGS) ; do \
16189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16190 done; \
16191 echo "Doing dvi in perl" ; \
16192 (cd perl && \
16193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16195 "RANLIB=$${RANLIB}" \
16196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16197 dvi) \
16198 || exit 1
16200 @endif perl
16202 .PHONY: maybe-html-perl html-perl
16203 maybe-html-perl:
16204 @if perl
16205 maybe-html-perl: html-perl
16207 html-perl: \
16208 configure-perl
16209 @[ -f ./perl/Makefile ] || exit 0; \
16210 r=`${PWD_COMMAND}`; export r; \
16211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16212 $(SET_LIB_PATH) \
16213 $(HOST_EXPORTS) \
16214 for flag in $(EXTRA_HOST_FLAGS) ; do \
16215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16216 done; \
16217 echo "Doing html in perl" ; \
16218 (cd perl && \
16219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16221 "RANLIB=$${RANLIB}" \
16222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16223 html) \
16224 || exit 1
16226 @endif perl
16228 .PHONY: maybe-TAGS-perl TAGS-perl
16229 maybe-TAGS-perl:
16230 @if perl
16231 maybe-TAGS-perl: TAGS-perl
16233 TAGS-perl: \
16234 configure-perl
16235 @[ -f ./perl/Makefile ] || exit 0; \
16236 r=`${PWD_COMMAND}`; export r; \
16237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16238 $(SET_LIB_PATH) \
16239 $(HOST_EXPORTS) \
16240 for flag in $(EXTRA_HOST_FLAGS) ; do \
16241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16242 done; \
16243 echo "Doing TAGS in perl" ; \
16244 (cd perl && \
16245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16247 "RANLIB=$${RANLIB}" \
16248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16249 TAGS) \
16250 || exit 1
16252 @endif perl
16254 .PHONY: maybe-install-info-perl install-info-perl
16255 maybe-install-info-perl:
16256 @if perl
16257 maybe-install-info-perl: install-info-perl
16259 install-info-perl: \
16260 configure-perl \
16261 info-perl
16262 @[ -f ./perl/Makefile ] || exit 0; \
16263 r=`${PWD_COMMAND}`; export r; \
16264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16265 $(SET_LIB_PATH) \
16266 $(HOST_EXPORTS) \
16267 for flag in $(EXTRA_HOST_FLAGS) ; do \
16268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16269 done; \
16270 echo "Doing install-info in perl" ; \
16271 (cd perl && \
16272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16274 "RANLIB=$${RANLIB}" \
16275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16276 install-info) \
16277 || exit 1
16279 @endif perl
16281 .PHONY: maybe-installcheck-perl installcheck-perl
16282 maybe-installcheck-perl:
16283 @if perl
16284 maybe-installcheck-perl: installcheck-perl
16286 installcheck-perl: \
16287 configure-perl
16288 @[ -f ./perl/Makefile ] || exit 0; \
16289 r=`${PWD_COMMAND}`; export r; \
16290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16291 $(SET_LIB_PATH) \
16292 $(HOST_EXPORTS) \
16293 for flag in $(EXTRA_HOST_FLAGS) ; do \
16294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16295 done; \
16296 echo "Doing installcheck in perl" ; \
16297 (cd perl && \
16298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16300 "RANLIB=$${RANLIB}" \
16301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16302 installcheck) \
16303 || exit 1
16305 @endif perl
16307 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
16308 maybe-mostlyclean-perl:
16309 @if perl
16310 maybe-mostlyclean-perl: mostlyclean-perl
16312 mostlyclean-perl:
16313 @[ -f ./perl/Makefile ] || exit 0; \
16314 r=`${PWD_COMMAND}`; export r; \
16315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16316 $(SET_LIB_PATH) \
16317 $(HOST_EXPORTS) \
16318 for flag in $(EXTRA_HOST_FLAGS) ; do \
16319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16320 done; \
16321 echo "Doing mostlyclean in perl" ; \
16322 (cd perl && \
16323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16325 "RANLIB=$${RANLIB}" \
16326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16327 mostlyclean) \
16328 || exit 1
16330 @endif perl
16332 .PHONY: maybe-clean-perl clean-perl
16333 maybe-clean-perl:
16334 @if perl
16335 maybe-clean-perl: clean-perl
16337 clean-perl:
16338 @[ -f ./perl/Makefile ] || exit 0; \
16339 r=`${PWD_COMMAND}`; export r; \
16340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16341 $(SET_LIB_PATH) \
16342 $(HOST_EXPORTS) \
16343 for flag in $(EXTRA_HOST_FLAGS) ; do \
16344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16345 done; \
16346 echo "Doing clean in perl" ; \
16347 (cd perl && \
16348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16350 "RANLIB=$${RANLIB}" \
16351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16352 clean) \
16353 || exit 1
16355 @endif perl
16357 .PHONY: maybe-distclean-perl distclean-perl
16358 maybe-distclean-perl:
16359 @if perl
16360 maybe-distclean-perl: distclean-perl
16362 distclean-perl:
16363 @[ -f ./perl/Makefile ] || exit 0; \
16364 r=`${PWD_COMMAND}`; export r; \
16365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16366 $(SET_LIB_PATH) \
16367 $(HOST_EXPORTS) \
16368 for flag in $(EXTRA_HOST_FLAGS) ; do \
16369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16370 done; \
16371 echo "Doing distclean in perl" ; \
16372 (cd perl && \
16373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16375 "RANLIB=$${RANLIB}" \
16376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16377 distclean) \
16378 || exit 1
16380 @endif perl
16382 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16383 maybe-maintainer-clean-perl:
16384 @if perl
16385 maybe-maintainer-clean-perl: maintainer-clean-perl
16387 maintainer-clean-perl:
16388 @[ -f ./perl/Makefile ] || exit 0; \
16389 r=`${PWD_COMMAND}`; export r; \
16390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16391 $(SET_LIB_PATH) \
16392 $(HOST_EXPORTS) \
16393 for flag in $(EXTRA_HOST_FLAGS) ; do \
16394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16395 done; \
16396 echo "Doing maintainer-clean in perl" ; \
16397 (cd perl && \
16398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16400 "RANLIB=$${RANLIB}" \
16401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16402 maintainer-clean) \
16403 || exit 1
16405 @endif perl
16408 .PHONY: configure-prms maybe-configure-prms
16409 maybe-configure-prms:
16410 @if prms
16411 maybe-configure-prms: configure-prms
16412 configure-prms:
16413 @test ! -f prms/Makefile || exit 0; \
16414 [ -d prms ] || mkdir prms; \
16415 r=`${PWD_COMMAND}`; export r; \
16416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16417 $(HOST_EXPORTS) \
16418 echo Configuring in prms; \
16419 cd prms || exit 1; \
16420 case $(srcdir) in \
16421 \.) \
16422 srcdiroption="--srcdir=."; \
16423 libsrcdir=".";; \
16424 /* | [A-Za-z]:[\\/]*) \
16425 srcdiroption="--srcdir=$(srcdir)/prms"; \
16426 libsrcdir="$$s/prms";; \
16427 *) \
16428 srcdiroption="--srcdir=../$(srcdir)/prms"; \
16429 libsrcdir="$$s/prms";; \
16430 esac; \
16431 $(SHELL) $${libsrcdir}/configure \
16432 $(HOST_CONFIGARGS) $${srcdiroption} \
16433 || exit 1
16434 @endif prms
16436 .PHONY: all-prms maybe-all-prms
16437 maybe-all-prms:
16438 @if prms
16439 TARGET-prms=all
16440 maybe-all-prms: all-prms
16441 all-prms: configure-prms
16442 @r=`${PWD_COMMAND}`; export r; \
16443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16444 $(SET_LIB_PATH) \
16445 $(HOST_EXPORTS) \
16446 (cd prms && $(MAKE) $(FLAGS_TO_PASS) \
16447 $(TARGET-prms))
16448 @endif prms
16450 .PHONY: check-prms maybe-check-prms
16451 maybe-check-prms:
16452 @if prms
16453 maybe-check-prms: check-prms
16455 check-prms:
16456 @r=`${PWD_COMMAND}`; export r; \
16457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16458 $(SET_LIB_PATH) \
16459 $(HOST_EXPORTS) \
16460 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
16462 @endif prms
16464 .PHONY: install-prms maybe-install-prms
16465 maybe-install-prms:
16466 @if prms
16467 maybe-install-prms: install-prms
16469 install-prms: installdirs
16470 @r=`${PWD_COMMAND}`; export r; \
16471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16472 $(SET_LIB_PATH) \
16473 $(HOST_EXPORTS) \
16474 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
16476 @endif prms
16478 # Other targets (info, dvi, etc.)
16480 .PHONY: maybe-info-prms info-prms
16481 maybe-info-prms:
16482 @if prms
16483 maybe-info-prms: info-prms
16485 info-prms: \
16486 configure-prms
16487 @[ -f ./prms/Makefile ] || exit 0; \
16488 r=`${PWD_COMMAND}`; export r; \
16489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16490 $(SET_LIB_PATH) \
16491 $(HOST_EXPORTS) \
16492 for flag in $(EXTRA_HOST_FLAGS) ; do \
16493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16494 done; \
16495 echo "Doing info in prms" ; \
16496 (cd prms && \
16497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16499 "RANLIB=$${RANLIB}" \
16500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16501 info) \
16502 || exit 1
16504 @endif prms
16506 .PHONY: maybe-dvi-prms dvi-prms
16507 maybe-dvi-prms:
16508 @if prms
16509 maybe-dvi-prms: dvi-prms
16511 dvi-prms: \
16512 configure-prms
16513 @[ -f ./prms/Makefile ] || exit 0; \
16514 r=`${PWD_COMMAND}`; export r; \
16515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16516 $(SET_LIB_PATH) \
16517 $(HOST_EXPORTS) \
16518 for flag in $(EXTRA_HOST_FLAGS) ; do \
16519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16520 done; \
16521 echo "Doing dvi in prms" ; \
16522 (cd prms && \
16523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16525 "RANLIB=$${RANLIB}" \
16526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16527 dvi) \
16528 || exit 1
16530 @endif prms
16532 .PHONY: maybe-html-prms html-prms
16533 maybe-html-prms:
16534 @if prms
16535 maybe-html-prms: html-prms
16537 html-prms: \
16538 configure-prms
16539 @[ -f ./prms/Makefile ] || exit 0; \
16540 r=`${PWD_COMMAND}`; export r; \
16541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16542 $(SET_LIB_PATH) \
16543 $(HOST_EXPORTS) \
16544 for flag in $(EXTRA_HOST_FLAGS) ; do \
16545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16546 done; \
16547 echo "Doing html in prms" ; \
16548 (cd prms && \
16549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16551 "RANLIB=$${RANLIB}" \
16552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16553 html) \
16554 || exit 1
16556 @endif prms
16558 .PHONY: maybe-TAGS-prms TAGS-prms
16559 maybe-TAGS-prms:
16560 @if prms
16561 maybe-TAGS-prms: TAGS-prms
16563 TAGS-prms: \
16564 configure-prms
16565 @[ -f ./prms/Makefile ] || exit 0; \
16566 r=`${PWD_COMMAND}`; export r; \
16567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16568 $(SET_LIB_PATH) \
16569 $(HOST_EXPORTS) \
16570 for flag in $(EXTRA_HOST_FLAGS) ; do \
16571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16572 done; \
16573 echo "Doing TAGS in prms" ; \
16574 (cd prms && \
16575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16577 "RANLIB=$${RANLIB}" \
16578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16579 TAGS) \
16580 || exit 1
16582 @endif prms
16584 .PHONY: maybe-install-info-prms install-info-prms
16585 maybe-install-info-prms:
16586 @if prms
16587 maybe-install-info-prms: install-info-prms
16589 install-info-prms: \
16590 configure-prms \
16591 info-prms
16592 @[ -f ./prms/Makefile ] || exit 0; \
16593 r=`${PWD_COMMAND}`; export r; \
16594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16595 $(SET_LIB_PATH) \
16596 $(HOST_EXPORTS) \
16597 for flag in $(EXTRA_HOST_FLAGS) ; do \
16598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16599 done; \
16600 echo "Doing install-info in prms" ; \
16601 (cd prms && \
16602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16604 "RANLIB=$${RANLIB}" \
16605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16606 install-info) \
16607 || exit 1
16609 @endif prms
16611 .PHONY: maybe-installcheck-prms installcheck-prms
16612 maybe-installcheck-prms:
16613 @if prms
16614 maybe-installcheck-prms: installcheck-prms
16616 installcheck-prms: \
16617 configure-prms
16618 @[ -f ./prms/Makefile ] || exit 0; \
16619 r=`${PWD_COMMAND}`; export r; \
16620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16621 $(SET_LIB_PATH) \
16622 $(HOST_EXPORTS) \
16623 for flag in $(EXTRA_HOST_FLAGS) ; do \
16624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16625 done; \
16626 echo "Doing installcheck in prms" ; \
16627 (cd prms && \
16628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16630 "RANLIB=$${RANLIB}" \
16631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16632 installcheck) \
16633 || exit 1
16635 @endif prms
16637 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
16638 maybe-mostlyclean-prms:
16639 @if prms
16640 maybe-mostlyclean-prms: mostlyclean-prms
16642 mostlyclean-prms:
16643 @[ -f ./prms/Makefile ] || exit 0; \
16644 r=`${PWD_COMMAND}`; export r; \
16645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16646 $(SET_LIB_PATH) \
16647 $(HOST_EXPORTS) \
16648 for flag in $(EXTRA_HOST_FLAGS) ; do \
16649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16650 done; \
16651 echo "Doing mostlyclean in prms" ; \
16652 (cd prms && \
16653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16655 "RANLIB=$${RANLIB}" \
16656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16657 mostlyclean) \
16658 || exit 1
16660 @endif prms
16662 .PHONY: maybe-clean-prms clean-prms
16663 maybe-clean-prms:
16664 @if prms
16665 maybe-clean-prms: clean-prms
16667 clean-prms:
16668 @[ -f ./prms/Makefile ] || exit 0; \
16669 r=`${PWD_COMMAND}`; export r; \
16670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16671 $(SET_LIB_PATH) \
16672 $(HOST_EXPORTS) \
16673 for flag in $(EXTRA_HOST_FLAGS) ; do \
16674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16675 done; \
16676 echo "Doing clean in prms" ; \
16677 (cd prms && \
16678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16680 "RANLIB=$${RANLIB}" \
16681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16682 clean) \
16683 || exit 1
16685 @endif prms
16687 .PHONY: maybe-distclean-prms distclean-prms
16688 maybe-distclean-prms:
16689 @if prms
16690 maybe-distclean-prms: distclean-prms
16692 distclean-prms:
16693 @[ -f ./prms/Makefile ] || exit 0; \
16694 r=`${PWD_COMMAND}`; export r; \
16695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16696 $(SET_LIB_PATH) \
16697 $(HOST_EXPORTS) \
16698 for flag in $(EXTRA_HOST_FLAGS) ; do \
16699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16700 done; \
16701 echo "Doing distclean in prms" ; \
16702 (cd prms && \
16703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16705 "RANLIB=$${RANLIB}" \
16706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16707 distclean) \
16708 || exit 1
16710 @endif prms
16712 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16713 maybe-maintainer-clean-prms:
16714 @if prms
16715 maybe-maintainer-clean-prms: maintainer-clean-prms
16717 maintainer-clean-prms:
16718 @[ -f ./prms/Makefile ] || exit 0; \
16719 r=`${PWD_COMMAND}`; export r; \
16720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16721 $(SET_LIB_PATH) \
16722 $(HOST_EXPORTS) \
16723 for flag in $(EXTRA_HOST_FLAGS) ; do \
16724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16725 done; \
16726 echo "Doing maintainer-clean in prms" ; \
16727 (cd prms && \
16728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16730 "RANLIB=$${RANLIB}" \
16731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16732 maintainer-clean) \
16733 || exit 1
16735 @endif prms
16738 .PHONY: configure-rcs maybe-configure-rcs
16739 maybe-configure-rcs:
16740 @if rcs
16741 maybe-configure-rcs: configure-rcs
16742 configure-rcs:
16743 @test ! -f rcs/Makefile || exit 0; \
16744 [ -d rcs ] || mkdir rcs; \
16745 r=`${PWD_COMMAND}`; export r; \
16746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16747 $(HOST_EXPORTS) \
16748 echo Configuring in rcs; \
16749 cd rcs || exit 1; \
16750 case $(srcdir) in \
16751 \.) \
16752 srcdiroption="--srcdir=."; \
16753 libsrcdir=".";; \
16754 /* | [A-Za-z]:[\\/]*) \
16755 srcdiroption="--srcdir=$(srcdir)/rcs"; \
16756 libsrcdir="$$s/rcs";; \
16757 *) \
16758 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
16759 libsrcdir="$$s/rcs";; \
16760 esac; \
16761 $(SHELL) $${libsrcdir}/configure \
16762 $(HOST_CONFIGARGS) $${srcdiroption} \
16763 || exit 1
16764 @endif rcs
16766 .PHONY: all-rcs maybe-all-rcs
16767 maybe-all-rcs:
16768 @if rcs
16769 TARGET-rcs=all
16770 maybe-all-rcs: all-rcs
16771 all-rcs: configure-rcs
16772 @r=`${PWD_COMMAND}`; export r; \
16773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16774 $(SET_LIB_PATH) \
16775 $(HOST_EXPORTS) \
16776 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) \
16777 $(TARGET-rcs))
16778 @endif rcs
16780 .PHONY: check-rcs maybe-check-rcs
16781 maybe-check-rcs:
16782 @if rcs
16783 maybe-check-rcs: check-rcs
16785 check-rcs:
16786 @r=`${PWD_COMMAND}`; export r; \
16787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16788 $(SET_LIB_PATH) \
16789 $(HOST_EXPORTS) \
16790 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
16792 @endif rcs
16794 .PHONY: install-rcs maybe-install-rcs
16795 maybe-install-rcs:
16796 @if rcs
16797 maybe-install-rcs: install-rcs
16799 install-rcs: installdirs
16800 @r=`${PWD_COMMAND}`; export r; \
16801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16802 $(SET_LIB_PATH) \
16803 $(HOST_EXPORTS) \
16804 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
16806 @endif rcs
16808 # Other targets (info, dvi, etc.)
16810 .PHONY: maybe-info-rcs info-rcs
16811 maybe-info-rcs:
16812 @if rcs
16813 maybe-info-rcs: info-rcs
16815 info-rcs: \
16816 configure-rcs
16817 @[ -f ./rcs/Makefile ] || exit 0; \
16818 r=`${PWD_COMMAND}`; export r; \
16819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16820 $(SET_LIB_PATH) \
16821 $(HOST_EXPORTS) \
16822 for flag in $(EXTRA_HOST_FLAGS) ; do \
16823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16824 done; \
16825 echo "Doing info in rcs" ; \
16826 (cd rcs && \
16827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16829 "RANLIB=$${RANLIB}" \
16830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16831 info) \
16832 || exit 1
16834 @endif rcs
16836 .PHONY: maybe-dvi-rcs dvi-rcs
16837 maybe-dvi-rcs:
16838 @if rcs
16839 maybe-dvi-rcs: dvi-rcs
16841 dvi-rcs: \
16842 configure-rcs
16843 @[ -f ./rcs/Makefile ] || exit 0; \
16844 r=`${PWD_COMMAND}`; export r; \
16845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16846 $(SET_LIB_PATH) \
16847 $(HOST_EXPORTS) \
16848 for flag in $(EXTRA_HOST_FLAGS) ; do \
16849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16850 done; \
16851 echo "Doing dvi in rcs" ; \
16852 (cd rcs && \
16853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16855 "RANLIB=$${RANLIB}" \
16856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16857 dvi) \
16858 || exit 1
16860 @endif rcs
16862 .PHONY: maybe-html-rcs html-rcs
16863 maybe-html-rcs:
16864 @if rcs
16865 maybe-html-rcs: html-rcs
16867 html-rcs: \
16868 configure-rcs
16869 @[ -f ./rcs/Makefile ] || exit 0; \
16870 r=`${PWD_COMMAND}`; export r; \
16871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16872 $(SET_LIB_PATH) \
16873 $(HOST_EXPORTS) \
16874 for flag in $(EXTRA_HOST_FLAGS) ; do \
16875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16876 done; \
16877 echo "Doing html in rcs" ; \
16878 (cd rcs && \
16879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16881 "RANLIB=$${RANLIB}" \
16882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16883 html) \
16884 || exit 1
16886 @endif rcs
16888 .PHONY: maybe-TAGS-rcs TAGS-rcs
16889 maybe-TAGS-rcs:
16890 @if rcs
16891 maybe-TAGS-rcs: TAGS-rcs
16893 TAGS-rcs: \
16894 configure-rcs
16895 @[ -f ./rcs/Makefile ] || exit 0; \
16896 r=`${PWD_COMMAND}`; export r; \
16897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16898 $(SET_LIB_PATH) \
16899 $(HOST_EXPORTS) \
16900 for flag in $(EXTRA_HOST_FLAGS) ; do \
16901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16902 done; \
16903 echo "Doing TAGS in rcs" ; \
16904 (cd rcs && \
16905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16907 "RANLIB=$${RANLIB}" \
16908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16909 TAGS) \
16910 || exit 1
16912 @endif rcs
16914 .PHONY: maybe-install-info-rcs install-info-rcs
16915 maybe-install-info-rcs:
16916 @if rcs
16917 maybe-install-info-rcs: install-info-rcs
16919 install-info-rcs: \
16920 configure-rcs \
16921 info-rcs
16922 @[ -f ./rcs/Makefile ] || exit 0; \
16923 r=`${PWD_COMMAND}`; export r; \
16924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16925 $(SET_LIB_PATH) \
16926 $(HOST_EXPORTS) \
16927 for flag in $(EXTRA_HOST_FLAGS) ; do \
16928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16929 done; \
16930 echo "Doing install-info in rcs" ; \
16931 (cd rcs && \
16932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16934 "RANLIB=$${RANLIB}" \
16935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16936 install-info) \
16937 || exit 1
16939 @endif rcs
16941 .PHONY: maybe-installcheck-rcs installcheck-rcs
16942 maybe-installcheck-rcs:
16943 @if rcs
16944 maybe-installcheck-rcs: installcheck-rcs
16946 installcheck-rcs: \
16947 configure-rcs
16948 @[ -f ./rcs/Makefile ] || exit 0; \
16949 r=`${PWD_COMMAND}`; export r; \
16950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16951 $(SET_LIB_PATH) \
16952 $(HOST_EXPORTS) \
16953 for flag in $(EXTRA_HOST_FLAGS) ; do \
16954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16955 done; \
16956 echo "Doing installcheck in rcs" ; \
16957 (cd rcs && \
16958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16960 "RANLIB=$${RANLIB}" \
16961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16962 installcheck) \
16963 || exit 1
16965 @endif rcs
16967 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
16968 maybe-mostlyclean-rcs:
16969 @if rcs
16970 maybe-mostlyclean-rcs: mostlyclean-rcs
16972 mostlyclean-rcs:
16973 @[ -f ./rcs/Makefile ] || exit 0; \
16974 r=`${PWD_COMMAND}`; export r; \
16975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16976 $(SET_LIB_PATH) \
16977 $(HOST_EXPORTS) \
16978 for flag in $(EXTRA_HOST_FLAGS) ; do \
16979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16980 done; \
16981 echo "Doing mostlyclean in rcs" ; \
16982 (cd rcs && \
16983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16985 "RANLIB=$${RANLIB}" \
16986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16987 mostlyclean) \
16988 || exit 1
16990 @endif rcs
16992 .PHONY: maybe-clean-rcs clean-rcs
16993 maybe-clean-rcs:
16994 @if rcs
16995 maybe-clean-rcs: clean-rcs
16997 clean-rcs:
16998 @[ -f ./rcs/Makefile ] || exit 0; \
16999 r=`${PWD_COMMAND}`; export r; \
17000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17001 $(SET_LIB_PATH) \
17002 $(HOST_EXPORTS) \
17003 for flag in $(EXTRA_HOST_FLAGS) ; do \
17004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17005 done; \
17006 echo "Doing clean in rcs" ; \
17007 (cd rcs && \
17008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17010 "RANLIB=$${RANLIB}" \
17011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17012 clean) \
17013 || exit 1
17015 @endif rcs
17017 .PHONY: maybe-distclean-rcs distclean-rcs
17018 maybe-distclean-rcs:
17019 @if rcs
17020 maybe-distclean-rcs: distclean-rcs
17022 distclean-rcs:
17023 @[ -f ./rcs/Makefile ] || exit 0; \
17024 r=`${PWD_COMMAND}`; export r; \
17025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17026 $(SET_LIB_PATH) \
17027 $(HOST_EXPORTS) \
17028 for flag in $(EXTRA_HOST_FLAGS) ; do \
17029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17030 done; \
17031 echo "Doing distclean in rcs" ; \
17032 (cd rcs && \
17033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17035 "RANLIB=$${RANLIB}" \
17036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17037 distclean) \
17038 || exit 1
17040 @endif rcs
17042 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
17043 maybe-maintainer-clean-rcs:
17044 @if rcs
17045 maybe-maintainer-clean-rcs: maintainer-clean-rcs
17047 maintainer-clean-rcs:
17048 @[ -f ./rcs/Makefile ] || exit 0; \
17049 r=`${PWD_COMMAND}`; export r; \
17050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17051 $(SET_LIB_PATH) \
17052 $(HOST_EXPORTS) \
17053 for flag in $(EXTRA_HOST_FLAGS) ; do \
17054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17055 done; \
17056 echo "Doing maintainer-clean in rcs" ; \
17057 (cd rcs && \
17058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17060 "RANLIB=$${RANLIB}" \
17061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17062 maintainer-clean) \
17063 || exit 1
17065 @endif rcs
17068 .PHONY: configure-readline maybe-configure-readline
17069 maybe-configure-readline:
17070 @if readline
17071 maybe-configure-readline: configure-readline
17072 configure-readline:
17073 @test ! -f readline/Makefile || exit 0; \
17074 [ -d readline ] || mkdir readline; \
17075 r=`${PWD_COMMAND}`; export r; \
17076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17077 $(HOST_EXPORTS) \
17078 echo Configuring in readline; \
17079 cd readline || exit 1; \
17080 case $(srcdir) in \
17081 \.) \
17082 srcdiroption="--srcdir=."; \
17083 libsrcdir=".";; \
17084 /* | [A-Za-z]:[\\/]*) \
17085 srcdiroption="--srcdir=$(srcdir)/readline"; \
17086 libsrcdir="$$s/readline";; \
17087 *) \
17088 srcdiroption="--srcdir=../$(srcdir)/readline"; \
17089 libsrcdir="$$s/readline";; \
17090 esac; \
17091 $(SHELL) $${libsrcdir}/configure \
17092 $(HOST_CONFIGARGS) $${srcdiroption} \
17093 || exit 1
17094 @endif readline
17096 .PHONY: all-readline maybe-all-readline
17097 maybe-all-readline:
17098 @if readline
17099 TARGET-readline=all
17100 maybe-all-readline: all-readline
17101 all-readline: configure-readline
17102 @r=`${PWD_COMMAND}`; export r; \
17103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17104 $(SET_LIB_PATH) \
17105 $(HOST_EXPORTS) \
17106 (cd readline && $(MAKE) $(FLAGS_TO_PASS) \
17107 $(TARGET-readline))
17108 @endif readline
17110 .PHONY: check-readline maybe-check-readline
17111 maybe-check-readline:
17112 @if readline
17113 maybe-check-readline: check-readline
17115 check-readline:
17116 @r=`${PWD_COMMAND}`; export r; \
17117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17118 $(SET_LIB_PATH) \
17119 $(HOST_EXPORTS) \
17120 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
17122 @endif readline
17124 .PHONY: install-readline maybe-install-readline
17125 maybe-install-readline:
17126 @if readline
17127 maybe-install-readline: install-readline
17129 install-readline: installdirs
17130 @r=`${PWD_COMMAND}`; export r; \
17131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17132 $(SET_LIB_PATH) \
17133 $(HOST_EXPORTS) \
17134 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
17136 @endif readline
17138 # Other targets (info, dvi, etc.)
17140 .PHONY: maybe-info-readline info-readline
17141 maybe-info-readline:
17142 @if readline
17143 maybe-info-readline: info-readline
17145 info-readline: \
17146 configure-readline
17147 @[ -f ./readline/Makefile ] || exit 0; \
17148 r=`${PWD_COMMAND}`; export r; \
17149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17150 $(SET_LIB_PATH) \
17151 $(HOST_EXPORTS) \
17152 for flag in $(EXTRA_HOST_FLAGS) ; do \
17153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17154 done; \
17155 echo "Doing info in readline" ; \
17156 (cd readline && \
17157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17159 "RANLIB=$${RANLIB}" \
17160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17161 info) \
17162 || exit 1
17164 @endif readline
17166 .PHONY: maybe-dvi-readline dvi-readline
17167 maybe-dvi-readline:
17168 @if readline
17169 maybe-dvi-readline: dvi-readline
17171 dvi-readline: \
17172 configure-readline
17173 @[ -f ./readline/Makefile ] || exit 0; \
17174 r=`${PWD_COMMAND}`; export r; \
17175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17176 $(SET_LIB_PATH) \
17177 $(HOST_EXPORTS) \
17178 for flag in $(EXTRA_HOST_FLAGS) ; do \
17179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17180 done; \
17181 echo "Doing dvi in readline" ; \
17182 (cd readline && \
17183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17185 "RANLIB=$${RANLIB}" \
17186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17187 dvi) \
17188 || exit 1
17190 @endif readline
17192 .PHONY: maybe-html-readline html-readline
17193 maybe-html-readline:
17194 @if readline
17195 maybe-html-readline: html-readline
17197 html-readline: \
17198 configure-readline
17199 @[ -f ./readline/Makefile ] || exit 0; \
17200 r=`${PWD_COMMAND}`; export r; \
17201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17202 $(SET_LIB_PATH) \
17203 $(HOST_EXPORTS) \
17204 for flag in $(EXTRA_HOST_FLAGS) ; do \
17205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17206 done; \
17207 echo "Doing html in readline" ; \
17208 (cd readline && \
17209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17211 "RANLIB=$${RANLIB}" \
17212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17213 html) \
17214 || exit 1
17216 @endif readline
17218 .PHONY: maybe-TAGS-readline TAGS-readline
17219 maybe-TAGS-readline:
17220 @if readline
17221 maybe-TAGS-readline: TAGS-readline
17223 TAGS-readline: \
17224 configure-readline
17225 @[ -f ./readline/Makefile ] || exit 0; \
17226 r=`${PWD_COMMAND}`; export r; \
17227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17228 $(SET_LIB_PATH) \
17229 $(HOST_EXPORTS) \
17230 for flag in $(EXTRA_HOST_FLAGS) ; do \
17231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17232 done; \
17233 echo "Doing TAGS in readline" ; \
17234 (cd readline && \
17235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17237 "RANLIB=$${RANLIB}" \
17238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17239 TAGS) \
17240 || exit 1
17242 @endif readline
17244 .PHONY: maybe-install-info-readline install-info-readline
17245 maybe-install-info-readline:
17246 @if readline
17247 maybe-install-info-readline: install-info-readline
17249 install-info-readline: \
17250 configure-readline \
17251 info-readline
17252 @[ -f ./readline/Makefile ] || exit 0; \
17253 r=`${PWD_COMMAND}`; export r; \
17254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17255 $(SET_LIB_PATH) \
17256 $(HOST_EXPORTS) \
17257 for flag in $(EXTRA_HOST_FLAGS) ; do \
17258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17259 done; \
17260 echo "Doing install-info in readline" ; \
17261 (cd readline && \
17262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17264 "RANLIB=$${RANLIB}" \
17265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17266 install-info) \
17267 || exit 1
17269 @endif readline
17271 .PHONY: maybe-installcheck-readline installcheck-readline
17272 maybe-installcheck-readline:
17273 @if readline
17274 maybe-installcheck-readline: installcheck-readline
17276 installcheck-readline: \
17277 configure-readline
17278 @[ -f ./readline/Makefile ] || exit 0; \
17279 r=`${PWD_COMMAND}`; export r; \
17280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17281 $(SET_LIB_PATH) \
17282 $(HOST_EXPORTS) \
17283 for flag in $(EXTRA_HOST_FLAGS) ; do \
17284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17285 done; \
17286 echo "Doing installcheck in readline" ; \
17287 (cd readline && \
17288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17290 "RANLIB=$${RANLIB}" \
17291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17292 installcheck) \
17293 || exit 1
17295 @endif readline
17297 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
17298 maybe-mostlyclean-readline:
17299 @if readline
17300 maybe-mostlyclean-readline: mostlyclean-readline
17302 mostlyclean-readline:
17303 @[ -f ./readline/Makefile ] || exit 0; \
17304 r=`${PWD_COMMAND}`; export r; \
17305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17306 $(SET_LIB_PATH) \
17307 $(HOST_EXPORTS) \
17308 for flag in $(EXTRA_HOST_FLAGS) ; do \
17309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17310 done; \
17311 echo "Doing mostlyclean in readline" ; \
17312 (cd readline && \
17313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17315 "RANLIB=$${RANLIB}" \
17316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17317 mostlyclean) \
17318 || exit 1
17320 @endif readline
17322 .PHONY: maybe-clean-readline clean-readline
17323 maybe-clean-readline:
17324 @if readline
17325 maybe-clean-readline: clean-readline
17327 clean-readline:
17328 @[ -f ./readline/Makefile ] || exit 0; \
17329 r=`${PWD_COMMAND}`; export r; \
17330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17331 $(SET_LIB_PATH) \
17332 $(HOST_EXPORTS) \
17333 for flag in $(EXTRA_HOST_FLAGS) ; do \
17334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17335 done; \
17336 echo "Doing clean in readline" ; \
17337 (cd readline && \
17338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17340 "RANLIB=$${RANLIB}" \
17341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17342 clean) \
17343 || exit 1
17345 @endif readline
17347 .PHONY: maybe-distclean-readline distclean-readline
17348 maybe-distclean-readline:
17349 @if readline
17350 maybe-distclean-readline: distclean-readline
17352 distclean-readline:
17353 @[ -f ./readline/Makefile ] || exit 0; \
17354 r=`${PWD_COMMAND}`; export r; \
17355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17356 $(SET_LIB_PATH) \
17357 $(HOST_EXPORTS) \
17358 for flag in $(EXTRA_HOST_FLAGS) ; do \
17359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17360 done; \
17361 echo "Doing distclean in readline" ; \
17362 (cd readline && \
17363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17365 "RANLIB=$${RANLIB}" \
17366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17367 distclean) \
17368 || exit 1
17370 @endif readline
17372 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
17373 maybe-maintainer-clean-readline:
17374 @if readline
17375 maybe-maintainer-clean-readline: maintainer-clean-readline
17377 maintainer-clean-readline:
17378 @[ -f ./readline/Makefile ] || exit 0; \
17379 r=`${PWD_COMMAND}`; export r; \
17380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17381 $(SET_LIB_PATH) \
17382 $(HOST_EXPORTS) \
17383 for flag in $(EXTRA_HOST_FLAGS) ; do \
17384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17385 done; \
17386 echo "Doing maintainer-clean in readline" ; \
17387 (cd readline && \
17388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17390 "RANLIB=$${RANLIB}" \
17391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17392 maintainer-clean) \
17393 || exit 1
17395 @endif readline
17398 .PHONY: configure-release maybe-configure-release
17399 maybe-configure-release:
17400 @if release
17401 maybe-configure-release: configure-release
17402 configure-release:
17403 @test ! -f release/Makefile || exit 0; \
17404 [ -d release ] || mkdir release; \
17405 r=`${PWD_COMMAND}`; export r; \
17406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17407 $(HOST_EXPORTS) \
17408 echo Configuring in release; \
17409 cd release || exit 1; \
17410 case $(srcdir) in \
17411 \.) \
17412 srcdiroption="--srcdir=."; \
17413 libsrcdir=".";; \
17414 /* | [A-Za-z]:[\\/]*) \
17415 srcdiroption="--srcdir=$(srcdir)/release"; \
17416 libsrcdir="$$s/release";; \
17417 *) \
17418 srcdiroption="--srcdir=../$(srcdir)/release"; \
17419 libsrcdir="$$s/release";; \
17420 esac; \
17421 $(SHELL) $${libsrcdir}/configure \
17422 $(HOST_CONFIGARGS) $${srcdiroption} \
17423 || exit 1
17424 @endif release
17426 .PHONY: all-release maybe-all-release
17427 maybe-all-release:
17428 @if release
17429 TARGET-release=all
17430 maybe-all-release: all-release
17431 all-release: configure-release
17432 @r=`${PWD_COMMAND}`; export r; \
17433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17434 $(SET_LIB_PATH) \
17435 $(HOST_EXPORTS) \
17436 (cd release && $(MAKE) $(FLAGS_TO_PASS) \
17437 $(TARGET-release))
17438 @endif release
17440 .PHONY: check-release maybe-check-release
17441 maybe-check-release:
17442 @if release
17443 maybe-check-release: check-release
17445 check-release:
17447 @endif release
17449 .PHONY: install-release maybe-install-release
17450 maybe-install-release:
17451 @if release
17452 maybe-install-release: install-release
17454 install-release:
17456 @endif release
17458 # Other targets (info, dvi, etc.)
17460 .PHONY: maybe-info-release info-release
17461 maybe-info-release:
17462 @if release
17463 maybe-info-release: info-release
17465 info-release: \
17466 configure-release
17467 @[ -f ./release/Makefile ] || exit 0; \
17468 r=`${PWD_COMMAND}`; export r; \
17469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17470 $(SET_LIB_PATH) \
17471 $(HOST_EXPORTS) \
17472 for flag in $(EXTRA_HOST_FLAGS) ; do \
17473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17474 done; \
17475 echo "Doing info in release" ; \
17476 (cd release && \
17477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17479 "RANLIB=$${RANLIB}" \
17480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17481 info) \
17482 || exit 1
17484 @endif release
17486 .PHONY: maybe-dvi-release dvi-release
17487 maybe-dvi-release:
17488 @if release
17489 maybe-dvi-release: dvi-release
17491 dvi-release: \
17492 configure-release
17493 @[ -f ./release/Makefile ] || exit 0; \
17494 r=`${PWD_COMMAND}`; export r; \
17495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17496 $(SET_LIB_PATH) \
17497 $(HOST_EXPORTS) \
17498 for flag in $(EXTRA_HOST_FLAGS) ; do \
17499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17500 done; \
17501 echo "Doing dvi in release" ; \
17502 (cd release && \
17503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17505 "RANLIB=$${RANLIB}" \
17506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17507 dvi) \
17508 || exit 1
17510 @endif release
17512 .PHONY: maybe-html-release html-release
17513 maybe-html-release:
17514 @if release
17515 maybe-html-release: html-release
17517 html-release: \
17518 configure-release
17519 @[ -f ./release/Makefile ] || exit 0; \
17520 r=`${PWD_COMMAND}`; export r; \
17521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17522 $(SET_LIB_PATH) \
17523 $(HOST_EXPORTS) \
17524 for flag in $(EXTRA_HOST_FLAGS) ; do \
17525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17526 done; \
17527 echo "Doing html in release" ; \
17528 (cd release && \
17529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17531 "RANLIB=$${RANLIB}" \
17532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17533 html) \
17534 || exit 1
17536 @endif release
17538 .PHONY: maybe-TAGS-release TAGS-release
17539 maybe-TAGS-release:
17540 @if release
17541 maybe-TAGS-release: TAGS-release
17543 TAGS-release: \
17544 configure-release
17545 @[ -f ./release/Makefile ] || exit 0; \
17546 r=`${PWD_COMMAND}`; export r; \
17547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17548 $(SET_LIB_PATH) \
17549 $(HOST_EXPORTS) \
17550 for flag in $(EXTRA_HOST_FLAGS) ; do \
17551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17552 done; \
17553 echo "Doing TAGS in release" ; \
17554 (cd release && \
17555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17557 "RANLIB=$${RANLIB}" \
17558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17559 TAGS) \
17560 || exit 1
17562 @endif release
17564 .PHONY: maybe-install-info-release install-info-release
17565 maybe-install-info-release:
17566 @if release
17567 maybe-install-info-release: install-info-release
17569 install-info-release: \
17570 configure-release \
17571 info-release
17572 @[ -f ./release/Makefile ] || exit 0; \
17573 r=`${PWD_COMMAND}`; export r; \
17574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17575 $(SET_LIB_PATH) \
17576 $(HOST_EXPORTS) \
17577 for flag in $(EXTRA_HOST_FLAGS) ; do \
17578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17579 done; \
17580 echo "Doing install-info in release" ; \
17581 (cd release && \
17582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17584 "RANLIB=$${RANLIB}" \
17585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17586 install-info) \
17587 || exit 1
17589 @endif release
17591 .PHONY: maybe-installcheck-release installcheck-release
17592 maybe-installcheck-release:
17593 @if release
17594 maybe-installcheck-release: installcheck-release
17596 installcheck-release: \
17597 configure-release
17598 @[ -f ./release/Makefile ] || exit 0; \
17599 r=`${PWD_COMMAND}`; export r; \
17600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17601 $(SET_LIB_PATH) \
17602 $(HOST_EXPORTS) \
17603 for flag in $(EXTRA_HOST_FLAGS) ; do \
17604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17605 done; \
17606 echo "Doing installcheck in release" ; \
17607 (cd release && \
17608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17610 "RANLIB=$${RANLIB}" \
17611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17612 installcheck) \
17613 || exit 1
17615 @endif release
17617 .PHONY: maybe-mostlyclean-release mostlyclean-release
17618 maybe-mostlyclean-release:
17619 @if release
17620 maybe-mostlyclean-release: mostlyclean-release
17622 mostlyclean-release:
17623 @[ -f ./release/Makefile ] || exit 0; \
17624 r=`${PWD_COMMAND}`; export r; \
17625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17626 $(SET_LIB_PATH) \
17627 $(HOST_EXPORTS) \
17628 for flag in $(EXTRA_HOST_FLAGS) ; do \
17629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17630 done; \
17631 echo "Doing mostlyclean in release" ; \
17632 (cd release && \
17633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17635 "RANLIB=$${RANLIB}" \
17636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17637 mostlyclean) \
17638 || exit 1
17640 @endif release
17642 .PHONY: maybe-clean-release clean-release
17643 maybe-clean-release:
17644 @if release
17645 maybe-clean-release: clean-release
17647 clean-release:
17648 @[ -f ./release/Makefile ] || exit 0; \
17649 r=`${PWD_COMMAND}`; export r; \
17650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17651 $(SET_LIB_PATH) \
17652 $(HOST_EXPORTS) \
17653 for flag in $(EXTRA_HOST_FLAGS) ; do \
17654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17655 done; \
17656 echo "Doing clean in release" ; \
17657 (cd release && \
17658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17660 "RANLIB=$${RANLIB}" \
17661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17662 clean) \
17663 || exit 1
17665 @endif release
17667 .PHONY: maybe-distclean-release distclean-release
17668 maybe-distclean-release:
17669 @if release
17670 maybe-distclean-release: distclean-release
17672 distclean-release:
17673 @[ -f ./release/Makefile ] || exit 0; \
17674 r=`${PWD_COMMAND}`; export r; \
17675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17676 $(SET_LIB_PATH) \
17677 $(HOST_EXPORTS) \
17678 for flag in $(EXTRA_HOST_FLAGS) ; do \
17679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17680 done; \
17681 echo "Doing distclean in release" ; \
17682 (cd release && \
17683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17685 "RANLIB=$${RANLIB}" \
17686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17687 distclean) \
17688 || exit 1
17690 @endif release
17692 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
17693 maybe-maintainer-clean-release:
17694 @if release
17695 maybe-maintainer-clean-release: maintainer-clean-release
17697 maintainer-clean-release:
17698 @[ -f ./release/Makefile ] || exit 0; \
17699 r=`${PWD_COMMAND}`; export r; \
17700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17701 $(SET_LIB_PATH) \
17702 $(HOST_EXPORTS) \
17703 for flag in $(EXTRA_HOST_FLAGS) ; do \
17704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17705 done; \
17706 echo "Doing maintainer-clean in release" ; \
17707 (cd release && \
17708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17710 "RANLIB=$${RANLIB}" \
17711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17712 maintainer-clean) \
17713 || exit 1
17715 @endif release
17718 .PHONY: configure-recode maybe-configure-recode
17719 maybe-configure-recode:
17720 @if recode
17721 maybe-configure-recode: configure-recode
17722 configure-recode:
17723 @test ! -f recode/Makefile || exit 0; \
17724 [ -d recode ] || mkdir recode; \
17725 r=`${PWD_COMMAND}`; export r; \
17726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17727 $(HOST_EXPORTS) \
17728 echo Configuring in recode; \
17729 cd recode || exit 1; \
17730 case $(srcdir) in \
17731 \.) \
17732 srcdiroption="--srcdir=."; \
17733 libsrcdir=".";; \
17734 /* | [A-Za-z]:[\\/]*) \
17735 srcdiroption="--srcdir=$(srcdir)/recode"; \
17736 libsrcdir="$$s/recode";; \
17737 *) \
17738 srcdiroption="--srcdir=../$(srcdir)/recode"; \
17739 libsrcdir="$$s/recode";; \
17740 esac; \
17741 $(SHELL) $${libsrcdir}/configure \
17742 $(HOST_CONFIGARGS) $${srcdiroption} \
17743 || exit 1
17744 @endif recode
17746 .PHONY: all-recode maybe-all-recode
17747 maybe-all-recode:
17748 @if recode
17749 TARGET-recode=all
17750 maybe-all-recode: all-recode
17751 all-recode: configure-recode
17752 @r=`${PWD_COMMAND}`; export r; \
17753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17754 $(SET_LIB_PATH) \
17755 $(HOST_EXPORTS) \
17756 (cd recode && $(MAKE) $(FLAGS_TO_PASS) \
17757 $(TARGET-recode))
17758 @endif recode
17760 .PHONY: check-recode maybe-check-recode
17761 maybe-check-recode:
17762 @if recode
17763 maybe-check-recode: check-recode
17765 check-recode:
17766 @r=`${PWD_COMMAND}`; export r; \
17767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17768 $(SET_LIB_PATH) \
17769 $(HOST_EXPORTS) \
17770 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
17772 @endif recode
17774 .PHONY: install-recode maybe-install-recode
17775 maybe-install-recode:
17776 @if recode
17777 maybe-install-recode: install-recode
17779 install-recode: installdirs
17780 @r=`${PWD_COMMAND}`; export r; \
17781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17782 $(SET_LIB_PATH) \
17783 $(HOST_EXPORTS) \
17784 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
17786 @endif recode
17788 # Other targets (info, dvi, etc.)
17790 .PHONY: maybe-info-recode info-recode
17791 maybe-info-recode:
17792 @if recode
17793 maybe-info-recode: info-recode
17795 info-recode: \
17796 configure-recode
17797 @[ -f ./recode/Makefile ] || exit 0; \
17798 r=`${PWD_COMMAND}`; export r; \
17799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17800 $(SET_LIB_PATH) \
17801 $(HOST_EXPORTS) \
17802 for flag in $(EXTRA_HOST_FLAGS) ; do \
17803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17804 done; \
17805 echo "Doing info in recode" ; \
17806 (cd recode && \
17807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17809 "RANLIB=$${RANLIB}" \
17810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17811 info) \
17812 || exit 1
17814 @endif recode
17816 .PHONY: maybe-dvi-recode dvi-recode
17817 maybe-dvi-recode:
17818 @if recode
17819 maybe-dvi-recode: dvi-recode
17821 dvi-recode: \
17822 configure-recode
17823 @[ -f ./recode/Makefile ] || exit 0; \
17824 r=`${PWD_COMMAND}`; export r; \
17825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17826 $(SET_LIB_PATH) \
17827 $(HOST_EXPORTS) \
17828 for flag in $(EXTRA_HOST_FLAGS) ; do \
17829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17830 done; \
17831 echo "Doing dvi in recode" ; \
17832 (cd recode && \
17833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17835 "RANLIB=$${RANLIB}" \
17836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17837 dvi) \
17838 || exit 1
17840 @endif recode
17842 .PHONY: maybe-html-recode html-recode
17843 maybe-html-recode:
17844 @if recode
17845 maybe-html-recode: html-recode
17847 html-recode: \
17848 configure-recode
17849 @[ -f ./recode/Makefile ] || exit 0; \
17850 r=`${PWD_COMMAND}`; export r; \
17851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17852 $(SET_LIB_PATH) \
17853 $(HOST_EXPORTS) \
17854 for flag in $(EXTRA_HOST_FLAGS) ; do \
17855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17856 done; \
17857 echo "Doing html in recode" ; \
17858 (cd recode && \
17859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17861 "RANLIB=$${RANLIB}" \
17862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17863 html) \
17864 || exit 1
17866 @endif recode
17868 .PHONY: maybe-TAGS-recode TAGS-recode
17869 maybe-TAGS-recode:
17870 @if recode
17871 maybe-TAGS-recode: TAGS-recode
17873 TAGS-recode: \
17874 configure-recode
17875 @[ -f ./recode/Makefile ] || exit 0; \
17876 r=`${PWD_COMMAND}`; export r; \
17877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17878 $(SET_LIB_PATH) \
17879 $(HOST_EXPORTS) \
17880 for flag in $(EXTRA_HOST_FLAGS) ; do \
17881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17882 done; \
17883 echo "Doing TAGS in recode" ; \
17884 (cd recode && \
17885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17887 "RANLIB=$${RANLIB}" \
17888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17889 TAGS) \
17890 || exit 1
17892 @endif recode
17894 .PHONY: maybe-install-info-recode install-info-recode
17895 maybe-install-info-recode:
17896 @if recode
17897 maybe-install-info-recode: install-info-recode
17899 install-info-recode: \
17900 configure-recode \
17901 info-recode
17902 @[ -f ./recode/Makefile ] || exit 0; \
17903 r=`${PWD_COMMAND}`; export r; \
17904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17905 $(SET_LIB_PATH) \
17906 $(HOST_EXPORTS) \
17907 for flag in $(EXTRA_HOST_FLAGS) ; do \
17908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17909 done; \
17910 echo "Doing install-info in recode" ; \
17911 (cd recode && \
17912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17914 "RANLIB=$${RANLIB}" \
17915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17916 install-info) \
17917 || exit 1
17919 @endif recode
17921 .PHONY: maybe-installcheck-recode installcheck-recode
17922 maybe-installcheck-recode:
17923 @if recode
17924 maybe-installcheck-recode: installcheck-recode
17926 installcheck-recode: \
17927 configure-recode
17928 @[ -f ./recode/Makefile ] || exit 0; \
17929 r=`${PWD_COMMAND}`; export r; \
17930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17931 $(SET_LIB_PATH) \
17932 $(HOST_EXPORTS) \
17933 for flag in $(EXTRA_HOST_FLAGS) ; do \
17934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17935 done; \
17936 echo "Doing installcheck in recode" ; \
17937 (cd recode && \
17938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17940 "RANLIB=$${RANLIB}" \
17941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17942 installcheck) \
17943 || exit 1
17945 @endif recode
17947 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
17948 maybe-mostlyclean-recode:
17949 @if recode
17950 maybe-mostlyclean-recode: mostlyclean-recode
17952 mostlyclean-recode:
17953 @[ -f ./recode/Makefile ] || exit 0; \
17954 r=`${PWD_COMMAND}`; export r; \
17955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17956 $(SET_LIB_PATH) \
17957 $(HOST_EXPORTS) \
17958 for flag in $(EXTRA_HOST_FLAGS) ; do \
17959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17960 done; \
17961 echo "Doing mostlyclean in recode" ; \
17962 (cd recode && \
17963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17965 "RANLIB=$${RANLIB}" \
17966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17967 mostlyclean) \
17968 || exit 1
17970 @endif recode
17972 .PHONY: maybe-clean-recode clean-recode
17973 maybe-clean-recode:
17974 @if recode
17975 maybe-clean-recode: clean-recode
17977 clean-recode:
17978 @[ -f ./recode/Makefile ] || exit 0; \
17979 r=`${PWD_COMMAND}`; export r; \
17980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17981 $(SET_LIB_PATH) \
17982 $(HOST_EXPORTS) \
17983 for flag in $(EXTRA_HOST_FLAGS) ; do \
17984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17985 done; \
17986 echo "Doing clean in recode" ; \
17987 (cd recode && \
17988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17990 "RANLIB=$${RANLIB}" \
17991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17992 clean) \
17993 || exit 1
17995 @endif recode
17997 .PHONY: maybe-distclean-recode distclean-recode
17998 maybe-distclean-recode:
17999 @if recode
18000 maybe-distclean-recode: distclean-recode
18002 distclean-recode:
18003 @[ -f ./recode/Makefile ] || exit 0; \
18004 r=`${PWD_COMMAND}`; export r; \
18005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18006 $(SET_LIB_PATH) \
18007 $(HOST_EXPORTS) \
18008 for flag in $(EXTRA_HOST_FLAGS) ; do \
18009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18010 done; \
18011 echo "Doing distclean in recode" ; \
18012 (cd recode && \
18013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18015 "RANLIB=$${RANLIB}" \
18016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18017 distclean) \
18018 || exit 1
18020 @endif recode
18022 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
18023 maybe-maintainer-clean-recode:
18024 @if recode
18025 maybe-maintainer-clean-recode: maintainer-clean-recode
18027 maintainer-clean-recode:
18028 @[ -f ./recode/Makefile ] || exit 0; \
18029 r=`${PWD_COMMAND}`; export r; \
18030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18031 $(SET_LIB_PATH) \
18032 $(HOST_EXPORTS) \
18033 for flag in $(EXTRA_HOST_FLAGS) ; do \
18034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18035 done; \
18036 echo "Doing maintainer-clean in recode" ; \
18037 (cd recode && \
18038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18040 "RANLIB=$${RANLIB}" \
18041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18042 maintainer-clean) \
18043 || exit 1
18045 @endif recode
18048 .PHONY: configure-sed maybe-configure-sed
18049 maybe-configure-sed:
18050 @if sed
18051 maybe-configure-sed: configure-sed
18052 configure-sed:
18053 @test ! -f sed/Makefile || exit 0; \
18054 [ -d sed ] || mkdir sed; \
18055 r=`${PWD_COMMAND}`; export r; \
18056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18057 $(HOST_EXPORTS) \
18058 echo Configuring in sed; \
18059 cd sed || exit 1; \
18060 case $(srcdir) in \
18061 \.) \
18062 srcdiroption="--srcdir=."; \
18063 libsrcdir=".";; \
18064 /* | [A-Za-z]:[\\/]*) \
18065 srcdiroption="--srcdir=$(srcdir)/sed"; \
18066 libsrcdir="$$s/sed";; \
18067 *) \
18068 srcdiroption="--srcdir=../$(srcdir)/sed"; \
18069 libsrcdir="$$s/sed";; \
18070 esac; \
18071 $(SHELL) $${libsrcdir}/configure \
18072 $(HOST_CONFIGARGS) $${srcdiroption} \
18073 || exit 1
18074 @endif sed
18076 .PHONY: all-sed maybe-all-sed
18077 maybe-all-sed:
18078 @if sed
18079 TARGET-sed=all
18080 maybe-all-sed: all-sed
18081 all-sed: configure-sed
18082 @r=`${PWD_COMMAND}`; export r; \
18083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18084 $(SET_LIB_PATH) \
18085 $(HOST_EXPORTS) \
18086 (cd sed && $(MAKE) $(FLAGS_TO_PASS) \
18087 $(TARGET-sed))
18088 @endif sed
18090 .PHONY: check-sed maybe-check-sed
18091 maybe-check-sed:
18092 @if sed
18093 maybe-check-sed: check-sed
18095 check-sed:
18096 @r=`${PWD_COMMAND}`; export r; \
18097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18098 $(SET_LIB_PATH) \
18099 $(HOST_EXPORTS) \
18100 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
18102 @endif sed
18104 .PHONY: install-sed maybe-install-sed
18105 maybe-install-sed:
18106 @if sed
18107 maybe-install-sed: install-sed
18109 install-sed: installdirs
18110 @r=`${PWD_COMMAND}`; export r; \
18111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18112 $(SET_LIB_PATH) \
18113 $(HOST_EXPORTS) \
18114 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
18116 @endif sed
18118 # Other targets (info, dvi, etc.)
18120 .PHONY: maybe-info-sed info-sed
18121 maybe-info-sed:
18122 @if sed
18123 maybe-info-sed: info-sed
18125 info-sed: \
18126 configure-sed
18127 @[ -f ./sed/Makefile ] || exit 0; \
18128 r=`${PWD_COMMAND}`; export r; \
18129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18130 $(SET_LIB_PATH) \
18131 $(HOST_EXPORTS) \
18132 for flag in $(EXTRA_HOST_FLAGS) ; do \
18133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18134 done; \
18135 echo "Doing info in sed" ; \
18136 (cd sed && \
18137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18139 "RANLIB=$${RANLIB}" \
18140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18141 info) \
18142 || exit 1
18144 @endif sed
18146 .PHONY: maybe-dvi-sed dvi-sed
18147 maybe-dvi-sed:
18148 @if sed
18149 maybe-dvi-sed: dvi-sed
18151 dvi-sed: \
18152 configure-sed
18153 @[ -f ./sed/Makefile ] || exit 0; \
18154 r=`${PWD_COMMAND}`; export r; \
18155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18156 $(SET_LIB_PATH) \
18157 $(HOST_EXPORTS) \
18158 for flag in $(EXTRA_HOST_FLAGS) ; do \
18159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18160 done; \
18161 echo "Doing dvi in sed" ; \
18162 (cd sed && \
18163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18165 "RANLIB=$${RANLIB}" \
18166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18167 dvi) \
18168 || exit 1
18170 @endif sed
18172 .PHONY: maybe-html-sed html-sed
18173 maybe-html-sed:
18174 @if sed
18175 maybe-html-sed: html-sed
18177 html-sed: \
18178 configure-sed
18179 @[ -f ./sed/Makefile ] || exit 0; \
18180 r=`${PWD_COMMAND}`; export r; \
18181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18182 $(SET_LIB_PATH) \
18183 $(HOST_EXPORTS) \
18184 for flag in $(EXTRA_HOST_FLAGS) ; do \
18185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18186 done; \
18187 echo "Doing html in sed" ; \
18188 (cd sed && \
18189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18191 "RANLIB=$${RANLIB}" \
18192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18193 html) \
18194 || exit 1
18196 @endif sed
18198 .PHONY: maybe-TAGS-sed TAGS-sed
18199 maybe-TAGS-sed:
18200 @if sed
18201 maybe-TAGS-sed: TAGS-sed
18203 TAGS-sed: \
18204 configure-sed
18205 @[ -f ./sed/Makefile ] || exit 0; \
18206 r=`${PWD_COMMAND}`; export r; \
18207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18208 $(SET_LIB_PATH) \
18209 $(HOST_EXPORTS) \
18210 for flag in $(EXTRA_HOST_FLAGS) ; do \
18211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18212 done; \
18213 echo "Doing TAGS in sed" ; \
18214 (cd sed && \
18215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18217 "RANLIB=$${RANLIB}" \
18218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18219 TAGS) \
18220 || exit 1
18222 @endif sed
18224 .PHONY: maybe-install-info-sed install-info-sed
18225 maybe-install-info-sed:
18226 @if sed
18227 maybe-install-info-sed: install-info-sed
18229 install-info-sed: \
18230 configure-sed \
18231 info-sed
18232 @[ -f ./sed/Makefile ] || exit 0; \
18233 r=`${PWD_COMMAND}`; export r; \
18234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18235 $(SET_LIB_PATH) \
18236 $(HOST_EXPORTS) \
18237 for flag in $(EXTRA_HOST_FLAGS) ; do \
18238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18239 done; \
18240 echo "Doing install-info in sed" ; \
18241 (cd sed && \
18242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18244 "RANLIB=$${RANLIB}" \
18245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18246 install-info) \
18247 || exit 1
18249 @endif sed
18251 .PHONY: maybe-installcheck-sed installcheck-sed
18252 maybe-installcheck-sed:
18253 @if sed
18254 maybe-installcheck-sed: installcheck-sed
18256 installcheck-sed: \
18257 configure-sed
18258 @[ -f ./sed/Makefile ] || exit 0; \
18259 r=`${PWD_COMMAND}`; export r; \
18260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18261 $(SET_LIB_PATH) \
18262 $(HOST_EXPORTS) \
18263 for flag in $(EXTRA_HOST_FLAGS) ; do \
18264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18265 done; \
18266 echo "Doing installcheck in sed" ; \
18267 (cd sed && \
18268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18270 "RANLIB=$${RANLIB}" \
18271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18272 installcheck) \
18273 || exit 1
18275 @endif sed
18277 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
18278 maybe-mostlyclean-sed:
18279 @if sed
18280 maybe-mostlyclean-sed: mostlyclean-sed
18282 mostlyclean-sed:
18283 @[ -f ./sed/Makefile ] || exit 0; \
18284 r=`${PWD_COMMAND}`; export r; \
18285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18286 $(SET_LIB_PATH) \
18287 $(HOST_EXPORTS) \
18288 for flag in $(EXTRA_HOST_FLAGS) ; do \
18289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18290 done; \
18291 echo "Doing mostlyclean in sed" ; \
18292 (cd sed && \
18293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18295 "RANLIB=$${RANLIB}" \
18296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18297 mostlyclean) \
18298 || exit 1
18300 @endif sed
18302 .PHONY: maybe-clean-sed clean-sed
18303 maybe-clean-sed:
18304 @if sed
18305 maybe-clean-sed: clean-sed
18307 clean-sed:
18308 @[ -f ./sed/Makefile ] || exit 0; \
18309 r=`${PWD_COMMAND}`; export r; \
18310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18311 $(SET_LIB_PATH) \
18312 $(HOST_EXPORTS) \
18313 for flag in $(EXTRA_HOST_FLAGS) ; do \
18314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18315 done; \
18316 echo "Doing clean in sed" ; \
18317 (cd sed && \
18318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18320 "RANLIB=$${RANLIB}" \
18321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18322 clean) \
18323 || exit 1
18325 @endif sed
18327 .PHONY: maybe-distclean-sed distclean-sed
18328 maybe-distclean-sed:
18329 @if sed
18330 maybe-distclean-sed: distclean-sed
18332 distclean-sed:
18333 @[ -f ./sed/Makefile ] || exit 0; \
18334 r=`${PWD_COMMAND}`; export r; \
18335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18336 $(SET_LIB_PATH) \
18337 $(HOST_EXPORTS) \
18338 for flag in $(EXTRA_HOST_FLAGS) ; do \
18339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18340 done; \
18341 echo "Doing distclean in sed" ; \
18342 (cd sed && \
18343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18345 "RANLIB=$${RANLIB}" \
18346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18347 distclean) \
18348 || exit 1
18350 @endif sed
18352 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
18353 maybe-maintainer-clean-sed:
18354 @if sed
18355 maybe-maintainer-clean-sed: maintainer-clean-sed
18357 maintainer-clean-sed:
18358 @[ -f ./sed/Makefile ] || exit 0; \
18359 r=`${PWD_COMMAND}`; export r; \
18360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18361 $(SET_LIB_PATH) \
18362 $(HOST_EXPORTS) \
18363 for flag in $(EXTRA_HOST_FLAGS) ; do \
18364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18365 done; \
18366 echo "Doing maintainer-clean in sed" ; \
18367 (cd sed && \
18368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18370 "RANLIB=$${RANLIB}" \
18371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18372 maintainer-clean) \
18373 || exit 1
18375 @endif sed
18378 .PHONY: configure-send-pr maybe-configure-send-pr
18379 maybe-configure-send-pr:
18380 @if send-pr
18381 maybe-configure-send-pr: configure-send-pr
18382 configure-send-pr:
18383 @test ! -f send-pr/Makefile || exit 0; \
18384 [ -d send-pr ] || mkdir send-pr; \
18385 r=`${PWD_COMMAND}`; export r; \
18386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18387 $(HOST_EXPORTS) \
18388 echo Configuring in send-pr; \
18389 cd send-pr || exit 1; \
18390 case $(srcdir) in \
18391 \.) \
18392 srcdiroption="--srcdir=."; \
18393 libsrcdir=".";; \
18394 /* | [A-Za-z]:[\\/]*) \
18395 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
18396 libsrcdir="$$s/send-pr";; \
18397 *) \
18398 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
18399 libsrcdir="$$s/send-pr";; \
18400 esac; \
18401 $(SHELL) $${libsrcdir}/configure \
18402 $(HOST_CONFIGARGS) $${srcdiroption} \
18403 || exit 1
18404 @endif send-pr
18406 .PHONY: all-send-pr maybe-all-send-pr
18407 maybe-all-send-pr:
18408 @if send-pr
18409 TARGET-send-pr=all
18410 maybe-all-send-pr: all-send-pr
18411 all-send-pr: configure-send-pr
18412 @r=`${PWD_COMMAND}`; export r; \
18413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18414 $(SET_LIB_PATH) \
18415 $(HOST_EXPORTS) \
18416 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) \
18417 $(TARGET-send-pr))
18418 @endif send-pr
18420 .PHONY: check-send-pr maybe-check-send-pr
18421 maybe-check-send-pr:
18422 @if send-pr
18423 maybe-check-send-pr: check-send-pr
18425 check-send-pr:
18426 @r=`${PWD_COMMAND}`; export r; \
18427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18428 $(SET_LIB_PATH) \
18429 $(HOST_EXPORTS) \
18430 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
18432 @endif send-pr
18434 .PHONY: install-send-pr maybe-install-send-pr
18435 maybe-install-send-pr:
18436 @if send-pr
18437 maybe-install-send-pr: install-send-pr
18439 install-send-pr: installdirs
18440 @r=`${PWD_COMMAND}`; export r; \
18441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18442 $(SET_LIB_PATH) \
18443 $(HOST_EXPORTS) \
18444 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
18446 @endif send-pr
18448 # Other targets (info, dvi, etc.)
18450 .PHONY: maybe-info-send-pr info-send-pr
18451 maybe-info-send-pr:
18452 @if send-pr
18453 maybe-info-send-pr: info-send-pr
18455 info-send-pr: \
18456 configure-send-pr
18457 @[ -f ./send-pr/Makefile ] || exit 0; \
18458 r=`${PWD_COMMAND}`; export r; \
18459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18460 $(SET_LIB_PATH) \
18461 $(HOST_EXPORTS) \
18462 for flag in $(EXTRA_HOST_FLAGS) ; do \
18463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18464 done; \
18465 echo "Doing info in send-pr" ; \
18466 (cd send-pr && \
18467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18469 "RANLIB=$${RANLIB}" \
18470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18471 info) \
18472 || exit 1
18474 @endif send-pr
18476 .PHONY: maybe-dvi-send-pr dvi-send-pr
18477 maybe-dvi-send-pr:
18478 @if send-pr
18479 maybe-dvi-send-pr: dvi-send-pr
18481 dvi-send-pr: \
18482 configure-send-pr
18483 @[ -f ./send-pr/Makefile ] || exit 0; \
18484 r=`${PWD_COMMAND}`; export r; \
18485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18486 $(SET_LIB_PATH) \
18487 $(HOST_EXPORTS) \
18488 for flag in $(EXTRA_HOST_FLAGS) ; do \
18489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18490 done; \
18491 echo "Doing dvi in send-pr" ; \
18492 (cd send-pr && \
18493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18495 "RANLIB=$${RANLIB}" \
18496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18497 dvi) \
18498 || exit 1
18500 @endif send-pr
18502 .PHONY: maybe-html-send-pr html-send-pr
18503 maybe-html-send-pr:
18504 @if send-pr
18505 maybe-html-send-pr: html-send-pr
18507 html-send-pr: \
18508 configure-send-pr
18509 @[ -f ./send-pr/Makefile ] || exit 0; \
18510 r=`${PWD_COMMAND}`; export r; \
18511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18512 $(SET_LIB_PATH) \
18513 $(HOST_EXPORTS) \
18514 for flag in $(EXTRA_HOST_FLAGS) ; do \
18515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18516 done; \
18517 echo "Doing html in send-pr" ; \
18518 (cd send-pr && \
18519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18521 "RANLIB=$${RANLIB}" \
18522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18523 html) \
18524 || exit 1
18526 @endif send-pr
18528 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
18529 maybe-TAGS-send-pr:
18530 @if send-pr
18531 maybe-TAGS-send-pr: TAGS-send-pr
18533 TAGS-send-pr: \
18534 configure-send-pr
18535 @[ -f ./send-pr/Makefile ] || exit 0; \
18536 r=`${PWD_COMMAND}`; export r; \
18537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18538 $(SET_LIB_PATH) \
18539 $(HOST_EXPORTS) \
18540 for flag in $(EXTRA_HOST_FLAGS) ; do \
18541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18542 done; \
18543 echo "Doing TAGS in send-pr" ; \
18544 (cd send-pr && \
18545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18547 "RANLIB=$${RANLIB}" \
18548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18549 TAGS) \
18550 || exit 1
18552 @endif send-pr
18554 .PHONY: maybe-install-info-send-pr install-info-send-pr
18555 maybe-install-info-send-pr:
18556 @if send-pr
18557 maybe-install-info-send-pr: install-info-send-pr
18559 install-info-send-pr: \
18560 configure-send-pr \
18561 info-send-pr
18562 @[ -f ./send-pr/Makefile ] || exit 0; \
18563 r=`${PWD_COMMAND}`; export r; \
18564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18565 $(SET_LIB_PATH) \
18566 $(HOST_EXPORTS) \
18567 for flag in $(EXTRA_HOST_FLAGS) ; do \
18568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18569 done; \
18570 echo "Doing install-info in send-pr" ; \
18571 (cd send-pr && \
18572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18574 "RANLIB=$${RANLIB}" \
18575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18576 install-info) \
18577 || exit 1
18579 @endif send-pr
18581 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
18582 maybe-installcheck-send-pr:
18583 @if send-pr
18584 maybe-installcheck-send-pr: installcheck-send-pr
18586 installcheck-send-pr: \
18587 configure-send-pr
18588 @[ -f ./send-pr/Makefile ] || exit 0; \
18589 r=`${PWD_COMMAND}`; export r; \
18590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18591 $(SET_LIB_PATH) \
18592 $(HOST_EXPORTS) \
18593 for flag in $(EXTRA_HOST_FLAGS) ; do \
18594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18595 done; \
18596 echo "Doing installcheck in send-pr" ; \
18597 (cd send-pr && \
18598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18600 "RANLIB=$${RANLIB}" \
18601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18602 installcheck) \
18603 || exit 1
18605 @endif send-pr
18607 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
18608 maybe-mostlyclean-send-pr:
18609 @if send-pr
18610 maybe-mostlyclean-send-pr: mostlyclean-send-pr
18612 mostlyclean-send-pr:
18613 @[ -f ./send-pr/Makefile ] || exit 0; \
18614 r=`${PWD_COMMAND}`; export r; \
18615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18616 $(SET_LIB_PATH) \
18617 $(HOST_EXPORTS) \
18618 for flag in $(EXTRA_HOST_FLAGS) ; do \
18619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18620 done; \
18621 echo "Doing mostlyclean in send-pr" ; \
18622 (cd send-pr && \
18623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18625 "RANLIB=$${RANLIB}" \
18626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18627 mostlyclean) \
18628 || exit 1
18630 @endif send-pr
18632 .PHONY: maybe-clean-send-pr clean-send-pr
18633 maybe-clean-send-pr:
18634 @if send-pr
18635 maybe-clean-send-pr: clean-send-pr
18637 clean-send-pr:
18638 @[ -f ./send-pr/Makefile ] || exit 0; \
18639 r=`${PWD_COMMAND}`; export r; \
18640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18641 $(SET_LIB_PATH) \
18642 $(HOST_EXPORTS) \
18643 for flag in $(EXTRA_HOST_FLAGS) ; do \
18644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18645 done; \
18646 echo "Doing clean in send-pr" ; \
18647 (cd send-pr && \
18648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18650 "RANLIB=$${RANLIB}" \
18651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18652 clean) \
18653 || exit 1
18655 @endif send-pr
18657 .PHONY: maybe-distclean-send-pr distclean-send-pr
18658 maybe-distclean-send-pr:
18659 @if send-pr
18660 maybe-distclean-send-pr: distclean-send-pr
18662 distclean-send-pr:
18663 @[ -f ./send-pr/Makefile ] || exit 0; \
18664 r=`${PWD_COMMAND}`; export r; \
18665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18666 $(SET_LIB_PATH) \
18667 $(HOST_EXPORTS) \
18668 for flag in $(EXTRA_HOST_FLAGS) ; do \
18669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18670 done; \
18671 echo "Doing distclean in send-pr" ; \
18672 (cd send-pr && \
18673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18675 "RANLIB=$${RANLIB}" \
18676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18677 distclean) \
18678 || exit 1
18680 @endif send-pr
18682 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
18683 maybe-maintainer-clean-send-pr:
18684 @if send-pr
18685 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
18687 maintainer-clean-send-pr:
18688 @[ -f ./send-pr/Makefile ] || exit 0; \
18689 r=`${PWD_COMMAND}`; export r; \
18690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18691 $(SET_LIB_PATH) \
18692 $(HOST_EXPORTS) \
18693 for flag in $(EXTRA_HOST_FLAGS) ; do \
18694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18695 done; \
18696 echo "Doing maintainer-clean in send-pr" ; \
18697 (cd send-pr && \
18698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18700 "RANLIB=$${RANLIB}" \
18701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18702 maintainer-clean) \
18703 || exit 1
18705 @endif send-pr
18708 .PHONY: configure-shellutils maybe-configure-shellutils
18709 maybe-configure-shellutils:
18710 @if shellutils
18711 maybe-configure-shellutils: configure-shellutils
18712 configure-shellutils:
18713 @test ! -f shellutils/Makefile || exit 0; \
18714 [ -d shellutils ] || mkdir shellutils; \
18715 r=`${PWD_COMMAND}`; export r; \
18716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18717 $(HOST_EXPORTS) \
18718 echo Configuring in shellutils; \
18719 cd shellutils || exit 1; \
18720 case $(srcdir) in \
18721 \.) \
18722 srcdiroption="--srcdir=."; \
18723 libsrcdir=".";; \
18724 /* | [A-Za-z]:[\\/]*) \
18725 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
18726 libsrcdir="$$s/shellutils";; \
18727 *) \
18728 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
18729 libsrcdir="$$s/shellutils";; \
18730 esac; \
18731 $(SHELL) $${libsrcdir}/configure \
18732 $(HOST_CONFIGARGS) $${srcdiroption} \
18733 || exit 1
18734 @endif shellutils
18736 .PHONY: all-shellutils maybe-all-shellutils
18737 maybe-all-shellutils:
18738 @if shellutils
18739 TARGET-shellutils=all
18740 maybe-all-shellutils: all-shellutils
18741 all-shellutils: configure-shellutils
18742 @r=`${PWD_COMMAND}`; export r; \
18743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18744 $(SET_LIB_PATH) \
18745 $(HOST_EXPORTS) \
18746 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) \
18747 $(TARGET-shellutils))
18748 @endif shellutils
18750 .PHONY: check-shellutils maybe-check-shellutils
18751 maybe-check-shellutils:
18752 @if shellutils
18753 maybe-check-shellutils: check-shellutils
18755 check-shellutils:
18756 @r=`${PWD_COMMAND}`; export r; \
18757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18758 $(SET_LIB_PATH) \
18759 $(HOST_EXPORTS) \
18760 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
18762 @endif shellutils
18764 .PHONY: install-shellutils maybe-install-shellutils
18765 maybe-install-shellutils:
18766 @if shellutils
18767 maybe-install-shellutils: install-shellutils
18769 install-shellutils: installdirs
18770 @r=`${PWD_COMMAND}`; export r; \
18771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18772 $(SET_LIB_PATH) \
18773 $(HOST_EXPORTS) \
18774 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
18776 @endif shellutils
18778 # Other targets (info, dvi, etc.)
18780 .PHONY: maybe-info-shellutils info-shellutils
18781 maybe-info-shellutils:
18782 @if shellutils
18783 maybe-info-shellutils: info-shellutils
18785 info-shellutils: \
18786 configure-shellutils
18787 @[ -f ./shellutils/Makefile ] || exit 0; \
18788 r=`${PWD_COMMAND}`; export r; \
18789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18790 $(SET_LIB_PATH) \
18791 $(HOST_EXPORTS) \
18792 for flag in $(EXTRA_HOST_FLAGS) ; do \
18793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18794 done; \
18795 echo "Doing info in shellutils" ; \
18796 (cd shellutils && \
18797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18799 "RANLIB=$${RANLIB}" \
18800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18801 info) \
18802 || exit 1
18804 @endif shellutils
18806 .PHONY: maybe-dvi-shellutils dvi-shellutils
18807 maybe-dvi-shellutils:
18808 @if shellutils
18809 maybe-dvi-shellutils: dvi-shellutils
18811 dvi-shellutils: \
18812 configure-shellutils
18813 @[ -f ./shellutils/Makefile ] || exit 0; \
18814 r=`${PWD_COMMAND}`; export r; \
18815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18816 $(SET_LIB_PATH) \
18817 $(HOST_EXPORTS) \
18818 for flag in $(EXTRA_HOST_FLAGS) ; do \
18819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18820 done; \
18821 echo "Doing dvi in shellutils" ; \
18822 (cd shellutils && \
18823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18825 "RANLIB=$${RANLIB}" \
18826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18827 dvi) \
18828 || exit 1
18830 @endif shellutils
18832 .PHONY: maybe-html-shellutils html-shellutils
18833 maybe-html-shellutils:
18834 @if shellutils
18835 maybe-html-shellutils: html-shellutils
18837 html-shellutils: \
18838 configure-shellutils
18839 @[ -f ./shellutils/Makefile ] || exit 0; \
18840 r=`${PWD_COMMAND}`; export r; \
18841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18842 $(SET_LIB_PATH) \
18843 $(HOST_EXPORTS) \
18844 for flag in $(EXTRA_HOST_FLAGS) ; do \
18845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18846 done; \
18847 echo "Doing html in shellutils" ; \
18848 (cd shellutils && \
18849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18851 "RANLIB=$${RANLIB}" \
18852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18853 html) \
18854 || exit 1
18856 @endif shellutils
18858 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
18859 maybe-TAGS-shellutils:
18860 @if shellutils
18861 maybe-TAGS-shellutils: TAGS-shellutils
18863 TAGS-shellutils: \
18864 configure-shellutils
18865 @[ -f ./shellutils/Makefile ] || exit 0; \
18866 r=`${PWD_COMMAND}`; export r; \
18867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18868 $(SET_LIB_PATH) \
18869 $(HOST_EXPORTS) \
18870 for flag in $(EXTRA_HOST_FLAGS) ; do \
18871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18872 done; \
18873 echo "Doing TAGS in shellutils" ; \
18874 (cd shellutils && \
18875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18877 "RANLIB=$${RANLIB}" \
18878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18879 TAGS) \
18880 || exit 1
18882 @endif shellutils
18884 .PHONY: maybe-install-info-shellutils install-info-shellutils
18885 maybe-install-info-shellutils:
18886 @if shellutils
18887 maybe-install-info-shellutils: install-info-shellutils
18889 install-info-shellutils: \
18890 configure-shellutils \
18891 info-shellutils
18892 @[ -f ./shellutils/Makefile ] || exit 0; \
18893 r=`${PWD_COMMAND}`; export r; \
18894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18895 $(SET_LIB_PATH) \
18896 $(HOST_EXPORTS) \
18897 for flag in $(EXTRA_HOST_FLAGS) ; do \
18898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18899 done; \
18900 echo "Doing install-info in shellutils" ; \
18901 (cd shellutils && \
18902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18904 "RANLIB=$${RANLIB}" \
18905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18906 install-info) \
18907 || exit 1
18909 @endif shellutils
18911 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
18912 maybe-installcheck-shellutils:
18913 @if shellutils
18914 maybe-installcheck-shellutils: installcheck-shellutils
18916 installcheck-shellutils: \
18917 configure-shellutils
18918 @[ -f ./shellutils/Makefile ] || exit 0; \
18919 r=`${PWD_COMMAND}`; export r; \
18920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18921 $(SET_LIB_PATH) \
18922 $(HOST_EXPORTS) \
18923 for flag in $(EXTRA_HOST_FLAGS) ; do \
18924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18925 done; \
18926 echo "Doing installcheck in shellutils" ; \
18927 (cd shellutils && \
18928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18930 "RANLIB=$${RANLIB}" \
18931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18932 installcheck) \
18933 || exit 1
18935 @endif shellutils
18937 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
18938 maybe-mostlyclean-shellutils:
18939 @if shellutils
18940 maybe-mostlyclean-shellutils: mostlyclean-shellutils
18942 mostlyclean-shellutils:
18943 @[ -f ./shellutils/Makefile ] || exit 0; \
18944 r=`${PWD_COMMAND}`; export r; \
18945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18946 $(SET_LIB_PATH) \
18947 $(HOST_EXPORTS) \
18948 for flag in $(EXTRA_HOST_FLAGS) ; do \
18949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18950 done; \
18951 echo "Doing mostlyclean in shellutils" ; \
18952 (cd shellutils && \
18953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18955 "RANLIB=$${RANLIB}" \
18956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18957 mostlyclean) \
18958 || exit 1
18960 @endif shellutils
18962 .PHONY: maybe-clean-shellutils clean-shellutils
18963 maybe-clean-shellutils:
18964 @if shellutils
18965 maybe-clean-shellutils: clean-shellutils
18967 clean-shellutils:
18968 @[ -f ./shellutils/Makefile ] || exit 0; \
18969 r=`${PWD_COMMAND}`; export r; \
18970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18971 $(SET_LIB_PATH) \
18972 $(HOST_EXPORTS) \
18973 for flag in $(EXTRA_HOST_FLAGS) ; do \
18974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18975 done; \
18976 echo "Doing clean in shellutils" ; \
18977 (cd shellutils && \
18978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18980 "RANLIB=$${RANLIB}" \
18981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18982 clean) \
18983 || exit 1
18985 @endif shellutils
18987 .PHONY: maybe-distclean-shellutils distclean-shellutils
18988 maybe-distclean-shellutils:
18989 @if shellutils
18990 maybe-distclean-shellutils: distclean-shellutils
18992 distclean-shellutils:
18993 @[ -f ./shellutils/Makefile ] || exit 0; \
18994 r=`${PWD_COMMAND}`; export r; \
18995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18996 $(SET_LIB_PATH) \
18997 $(HOST_EXPORTS) \
18998 for flag in $(EXTRA_HOST_FLAGS) ; do \
18999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19000 done; \
19001 echo "Doing distclean in shellutils" ; \
19002 (cd shellutils && \
19003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19005 "RANLIB=$${RANLIB}" \
19006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19007 distclean) \
19008 || exit 1
19010 @endif shellutils
19012 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
19013 maybe-maintainer-clean-shellutils:
19014 @if shellutils
19015 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
19017 maintainer-clean-shellutils:
19018 @[ -f ./shellutils/Makefile ] || exit 0; \
19019 r=`${PWD_COMMAND}`; export r; \
19020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19021 $(SET_LIB_PATH) \
19022 $(HOST_EXPORTS) \
19023 for flag in $(EXTRA_HOST_FLAGS) ; do \
19024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19025 done; \
19026 echo "Doing maintainer-clean in shellutils" ; \
19027 (cd shellutils && \
19028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19030 "RANLIB=$${RANLIB}" \
19031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19032 maintainer-clean) \
19033 || exit 1
19035 @endif shellutils
19038 .PHONY: configure-sid maybe-configure-sid
19039 maybe-configure-sid:
19040 @if sid
19041 maybe-configure-sid: configure-sid
19042 configure-sid:
19043 @test ! -f sid/Makefile || exit 0; \
19044 [ -d sid ] || mkdir sid; \
19045 r=`${PWD_COMMAND}`; export r; \
19046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19047 $(HOST_EXPORTS) \
19048 echo Configuring in sid; \
19049 cd sid || exit 1; \
19050 case $(srcdir) in \
19051 \.) \
19052 srcdiroption="--srcdir=."; \
19053 libsrcdir=".";; \
19054 /* | [A-Za-z]:[\\/]*) \
19055 srcdiroption="--srcdir=$(srcdir)/sid"; \
19056 libsrcdir="$$s/sid";; \
19057 *) \
19058 srcdiroption="--srcdir=../$(srcdir)/sid"; \
19059 libsrcdir="$$s/sid";; \
19060 esac; \
19061 $(SHELL) $${libsrcdir}/configure \
19062 $(HOST_CONFIGARGS) $${srcdiroption} \
19063 || exit 1
19064 @endif sid
19066 .PHONY: all-sid maybe-all-sid
19067 maybe-all-sid:
19068 @if sid
19069 TARGET-sid=all
19070 maybe-all-sid: all-sid
19071 all-sid: configure-sid
19072 @r=`${PWD_COMMAND}`; export r; \
19073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19074 $(SET_LIB_PATH) \
19075 $(HOST_EXPORTS) \
19076 (cd sid && $(MAKE) $(FLAGS_TO_PASS) \
19077 $(TARGET-sid))
19078 @endif sid
19080 .PHONY: check-sid maybe-check-sid
19081 maybe-check-sid:
19082 @if sid
19083 maybe-check-sid: check-sid
19085 check-sid:
19086 @r=`${PWD_COMMAND}`; export r; \
19087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19088 $(SET_LIB_PATH) \
19089 $(HOST_EXPORTS) \
19090 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
19092 @endif sid
19094 .PHONY: install-sid maybe-install-sid
19095 maybe-install-sid:
19096 @if sid
19097 maybe-install-sid: install-sid
19099 install-sid: installdirs
19100 @r=`${PWD_COMMAND}`; export r; \
19101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19102 $(SET_LIB_PATH) \
19103 $(HOST_EXPORTS) \
19104 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
19106 @endif sid
19108 # Other targets (info, dvi, etc.)
19110 .PHONY: maybe-info-sid info-sid
19111 maybe-info-sid:
19112 @if sid
19113 maybe-info-sid: info-sid
19115 info-sid: \
19116 configure-sid
19117 @[ -f ./sid/Makefile ] || exit 0; \
19118 r=`${PWD_COMMAND}`; export r; \
19119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19120 $(SET_LIB_PATH) \
19121 $(HOST_EXPORTS) \
19122 for flag in $(EXTRA_HOST_FLAGS) ; do \
19123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19124 done; \
19125 echo "Doing info in sid" ; \
19126 (cd sid && \
19127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19129 "RANLIB=$${RANLIB}" \
19130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19131 info) \
19132 || exit 1
19134 @endif sid
19136 .PHONY: maybe-dvi-sid dvi-sid
19137 maybe-dvi-sid:
19138 @if sid
19139 maybe-dvi-sid: dvi-sid
19141 dvi-sid: \
19142 configure-sid
19143 @[ -f ./sid/Makefile ] || exit 0; \
19144 r=`${PWD_COMMAND}`; export r; \
19145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19146 $(SET_LIB_PATH) \
19147 $(HOST_EXPORTS) \
19148 for flag in $(EXTRA_HOST_FLAGS) ; do \
19149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19150 done; \
19151 echo "Doing dvi in sid" ; \
19152 (cd sid && \
19153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19155 "RANLIB=$${RANLIB}" \
19156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19157 dvi) \
19158 || exit 1
19160 @endif sid
19162 .PHONY: maybe-html-sid html-sid
19163 maybe-html-sid:
19164 @if sid
19165 maybe-html-sid: html-sid
19167 html-sid: \
19168 configure-sid
19169 @[ -f ./sid/Makefile ] || exit 0; \
19170 r=`${PWD_COMMAND}`; export r; \
19171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19172 $(SET_LIB_PATH) \
19173 $(HOST_EXPORTS) \
19174 for flag in $(EXTRA_HOST_FLAGS) ; do \
19175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19176 done; \
19177 echo "Doing html in sid" ; \
19178 (cd sid && \
19179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19181 "RANLIB=$${RANLIB}" \
19182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19183 html) \
19184 || exit 1
19186 @endif sid
19188 .PHONY: maybe-TAGS-sid TAGS-sid
19189 maybe-TAGS-sid:
19190 @if sid
19191 maybe-TAGS-sid: TAGS-sid
19193 TAGS-sid: \
19194 configure-sid
19195 @[ -f ./sid/Makefile ] || exit 0; \
19196 r=`${PWD_COMMAND}`; export r; \
19197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19198 $(SET_LIB_PATH) \
19199 $(HOST_EXPORTS) \
19200 for flag in $(EXTRA_HOST_FLAGS) ; do \
19201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19202 done; \
19203 echo "Doing TAGS in sid" ; \
19204 (cd sid && \
19205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19207 "RANLIB=$${RANLIB}" \
19208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19209 TAGS) \
19210 || exit 1
19212 @endif sid
19214 .PHONY: maybe-install-info-sid install-info-sid
19215 maybe-install-info-sid:
19216 @if sid
19217 maybe-install-info-sid: install-info-sid
19219 install-info-sid: \
19220 configure-sid \
19221 info-sid
19222 @[ -f ./sid/Makefile ] || exit 0; \
19223 r=`${PWD_COMMAND}`; export r; \
19224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19225 $(SET_LIB_PATH) \
19226 $(HOST_EXPORTS) \
19227 for flag in $(EXTRA_HOST_FLAGS) ; do \
19228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19229 done; \
19230 echo "Doing install-info in sid" ; \
19231 (cd sid && \
19232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19234 "RANLIB=$${RANLIB}" \
19235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19236 install-info) \
19237 || exit 1
19239 @endif sid
19241 .PHONY: maybe-installcheck-sid installcheck-sid
19242 maybe-installcheck-sid:
19243 @if sid
19244 maybe-installcheck-sid: installcheck-sid
19246 installcheck-sid: \
19247 configure-sid
19248 @[ -f ./sid/Makefile ] || exit 0; \
19249 r=`${PWD_COMMAND}`; export r; \
19250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19251 $(SET_LIB_PATH) \
19252 $(HOST_EXPORTS) \
19253 for flag in $(EXTRA_HOST_FLAGS) ; do \
19254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19255 done; \
19256 echo "Doing installcheck in sid" ; \
19257 (cd sid && \
19258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19260 "RANLIB=$${RANLIB}" \
19261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19262 installcheck) \
19263 || exit 1
19265 @endif sid
19267 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
19268 maybe-mostlyclean-sid:
19269 @if sid
19270 maybe-mostlyclean-sid: mostlyclean-sid
19272 mostlyclean-sid:
19273 @[ -f ./sid/Makefile ] || exit 0; \
19274 r=`${PWD_COMMAND}`; export r; \
19275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19276 $(SET_LIB_PATH) \
19277 $(HOST_EXPORTS) \
19278 for flag in $(EXTRA_HOST_FLAGS) ; do \
19279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19280 done; \
19281 echo "Doing mostlyclean in sid" ; \
19282 (cd sid && \
19283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19285 "RANLIB=$${RANLIB}" \
19286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19287 mostlyclean) \
19288 || exit 1
19290 @endif sid
19292 .PHONY: maybe-clean-sid clean-sid
19293 maybe-clean-sid:
19294 @if sid
19295 maybe-clean-sid: clean-sid
19297 clean-sid:
19298 @[ -f ./sid/Makefile ] || exit 0; \
19299 r=`${PWD_COMMAND}`; export r; \
19300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19301 $(SET_LIB_PATH) \
19302 $(HOST_EXPORTS) \
19303 for flag in $(EXTRA_HOST_FLAGS) ; do \
19304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19305 done; \
19306 echo "Doing clean in sid" ; \
19307 (cd sid && \
19308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19310 "RANLIB=$${RANLIB}" \
19311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19312 clean) \
19313 || exit 1
19315 @endif sid
19317 .PHONY: maybe-distclean-sid distclean-sid
19318 maybe-distclean-sid:
19319 @if sid
19320 maybe-distclean-sid: distclean-sid
19322 distclean-sid:
19323 @[ -f ./sid/Makefile ] || exit 0; \
19324 r=`${PWD_COMMAND}`; export r; \
19325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19326 $(SET_LIB_PATH) \
19327 $(HOST_EXPORTS) \
19328 for flag in $(EXTRA_HOST_FLAGS) ; do \
19329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19330 done; \
19331 echo "Doing distclean in sid" ; \
19332 (cd sid && \
19333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19335 "RANLIB=$${RANLIB}" \
19336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19337 distclean) \
19338 || exit 1
19340 @endif sid
19342 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
19343 maybe-maintainer-clean-sid:
19344 @if sid
19345 maybe-maintainer-clean-sid: maintainer-clean-sid
19347 maintainer-clean-sid:
19348 @[ -f ./sid/Makefile ] || exit 0; \
19349 r=`${PWD_COMMAND}`; export r; \
19350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19351 $(SET_LIB_PATH) \
19352 $(HOST_EXPORTS) \
19353 for flag in $(EXTRA_HOST_FLAGS) ; do \
19354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19355 done; \
19356 echo "Doing maintainer-clean in sid" ; \
19357 (cd sid && \
19358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19360 "RANLIB=$${RANLIB}" \
19361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19362 maintainer-clean) \
19363 || exit 1
19365 @endif sid
19368 .PHONY: configure-sim maybe-configure-sim
19369 maybe-configure-sim:
19370 @if sim
19371 maybe-configure-sim: configure-sim
19372 configure-sim:
19373 @test ! -f sim/Makefile || exit 0; \
19374 [ -d sim ] || mkdir sim; \
19375 r=`${PWD_COMMAND}`; export r; \
19376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19377 $(HOST_EXPORTS) \
19378 echo Configuring in sim; \
19379 cd sim || exit 1; \
19380 case $(srcdir) in \
19381 \.) \
19382 srcdiroption="--srcdir=."; \
19383 libsrcdir=".";; \
19384 /* | [A-Za-z]:[\\/]*) \
19385 srcdiroption="--srcdir=$(srcdir)/sim"; \
19386 libsrcdir="$$s/sim";; \
19387 *) \
19388 srcdiroption="--srcdir=../$(srcdir)/sim"; \
19389 libsrcdir="$$s/sim";; \
19390 esac; \
19391 $(SHELL) $${libsrcdir}/configure \
19392 $(HOST_CONFIGARGS) $${srcdiroption} \
19393 || exit 1
19394 @endif sim
19396 .PHONY: all-sim maybe-all-sim
19397 maybe-all-sim:
19398 @if sim
19399 TARGET-sim=all
19400 maybe-all-sim: all-sim
19401 all-sim: configure-sim
19402 @r=`${PWD_COMMAND}`; export r; \
19403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19404 $(SET_LIB_PATH) \
19405 $(HOST_EXPORTS) \
19406 (cd sim && $(MAKE) $(FLAGS_TO_PASS) \
19407 $(TARGET-sim))
19408 @endif sim
19410 .PHONY: check-sim maybe-check-sim
19411 maybe-check-sim:
19412 @if sim
19413 maybe-check-sim: check-sim
19415 check-sim:
19416 @r=`${PWD_COMMAND}`; export r; \
19417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19418 $(SET_LIB_PATH) \
19419 $(HOST_EXPORTS) \
19420 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
19422 @endif sim
19424 .PHONY: install-sim maybe-install-sim
19425 maybe-install-sim:
19426 @if sim
19427 maybe-install-sim: install-sim
19429 install-sim: installdirs
19430 @r=`${PWD_COMMAND}`; export r; \
19431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19432 $(SET_LIB_PATH) \
19433 $(HOST_EXPORTS) \
19434 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
19436 @endif sim
19438 # Other targets (info, dvi, etc.)
19440 .PHONY: maybe-info-sim info-sim
19441 maybe-info-sim:
19442 @if sim
19443 maybe-info-sim: info-sim
19445 info-sim: \
19446 configure-sim
19447 @[ -f ./sim/Makefile ] || exit 0; \
19448 r=`${PWD_COMMAND}`; export r; \
19449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19450 $(SET_LIB_PATH) \
19451 $(HOST_EXPORTS) \
19452 for flag in $(EXTRA_HOST_FLAGS) ; do \
19453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19454 done; \
19455 echo "Doing info in sim" ; \
19456 (cd sim && \
19457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19459 "RANLIB=$${RANLIB}" \
19460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19461 info) \
19462 || exit 1
19464 @endif sim
19466 .PHONY: maybe-dvi-sim dvi-sim
19467 maybe-dvi-sim:
19468 @if sim
19469 maybe-dvi-sim: dvi-sim
19471 dvi-sim: \
19472 configure-sim
19473 @[ -f ./sim/Makefile ] || exit 0; \
19474 r=`${PWD_COMMAND}`; export r; \
19475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19476 $(SET_LIB_PATH) \
19477 $(HOST_EXPORTS) \
19478 for flag in $(EXTRA_HOST_FLAGS) ; do \
19479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19480 done; \
19481 echo "Doing dvi in sim" ; \
19482 (cd sim && \
19483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19485 "RANLIB=$${RANLIB}" \
19486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19487 dvi) \
19488 || exit 1
19490 @endif sim
19492 .PHONY: maybe-html-sim html-sim
19493 maybe-html-sim:
19494 @if sim
19495 maybe-html-sim: html-sim
19497 html-sim: \
19498 configure-sim
19499 @[ -f ./sim/Makefile ] || exit 0; \
19500 r=`${PWD_COMMAND}`; export r; \
19501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19502 $(SET_LIB_PATH) \
19503 $(HOST_EXPORTS) \
19504 for flag in $(EXTRA_HOST_FLAGS) ; do \
19505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19506 done; \
19507 echo "Doing html in sim" ; \
19508 (cd sim && \
19509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19511 "RANLIB=$${RANLIB}" \
19512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19513 html) \
19514 || exit 1
19516 @endif sim
19518 .PHONY: maybe-TAGS-sim TAGS-sim
19519 maybe-TAGS-sim:
19520 @if sim
19521 maybe-TAGS-sim: TAGS-sim
19523 TAGS-sim: \
19524 configure-sim
19525 @[ -f ./sim/Makefile ] || exit 0; \
19526 r=`${PWD_COMMAND}`; export r; \
19527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19528 $(SET_LIB_PATH) \
19529 $(HOST_EXPORTS) \
19530 for flag in $(EXTRA_HOST_FLAGS) ; do \
19531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19532 done; \
19533 echo "Doing TAGS in sim" ; \
19534 (cd sim && \
19535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19537 "RANLIB=$${RANLIB}" \
19538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19539 TAGS) \
19540 || exit 1
19542 @endif sim
19544 .PHONY: maybe-install-info-sim install-info-sim
19545 maybe-install-info-sim:
19546 @if sim
19547 maybe-install-info-sim: install-info-sim
19549 install-info-sim: \
19550 configure-sim \
19551 info-sim
19552 @[ -f ./sim/Makefile ] || exit 0; \
19553 r=`${PWD_COMMAND}`; export r; \
19554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19555 $(SET_LIB_PATH) \
19556 $(HOST_EXPORTS) \
19557 for flag in $(EXTRA_HOST_FLAGS) ; do \
19558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19559 done; \
19560 echo "Doing install-info in sim" ; \
19561 (cd sim && \
19562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19564 "RANLIB=$${RANLIB}" \
19565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19566 install-info) \
19567 || exit 1
19569 @endif sim
19571 .PHONY: maybe-installcheck-sim installcheck-sim
19572 maybe-installcheck-sim:
19573 @if sim
19574 maybe-installcheck-sim: installcheck-sim
19576 installcheck-sim: \
19577 configure-sim
19578 @[ -f ./sim/Makefile ] || exit 0; \
19579 r=`${PWD_COMMAND}`; export r; \
19580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19581 $(SET_LIB_PATH) \
19582 $(HOST_EXPORTS) \
19583 for flag in $(EXTRA_HOST_FLAGS) ; do \
19584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19585 done; \
19586 echo "Doing installcheck in sim" ; \
19587 (cd sim && \
19588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19590 "RANLIB=$${RANLIB}" \
19591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19592 installcheck) \
19593 || exit 1
19595 @endif sim
19597 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
19598 maybe-mostlyclean-sim:
19599 @if sim
19600 maybe-mostlyclean-sim: mostlyclean-sim
19602 mostlyclean-sim:
19603 @[ -f ./sim/Makefile ] || exit 0; \
19604 r=`${PWD_COMMAND}`; export r; \
19605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19606 $(SET_LIB_PATH) \
19607 $(HOST_EXPORTS) \
19608 for flag in $(EXTRA_HOST_FLAGS) ; do \
19609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19610 done; \
19611 echo "Doing mostlyclean in sim" ; \
19612 (cd sim && \
19613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19615 "RANLIB=$${RANLIB}" \
19616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19617 mostlyclean) \
19618 || exit 1
19620 @endif sim
19622 .PHONY: maybe-clean-sim clean-sim
19623 maybe-clean-sim:
19624 @if sim
19625 maybe-clean-sim: clean-sim
19627 clean-sim:
19628 @[ -f ./sim/Makefile ] || exit 0; \
19629 r=`${PWD_COMMAND}`; export r; \
19630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19631 $(SET_LIB_PATH) \
19632 $(HOST_EXPORTS) \
19633 for flag in $(EXTRA_HOST_FLAGS) ; do \
19634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19635 done; \
19636 echo "Doing clean in sim" ; \
19637 (cd sim && \
19638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19640 "RANLIB=$${RANLIB}" \
19641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19642 clean) \
19643 || exit 1
19645 @endif sim
19647 .PHONY: maybe-distclean-sim distclean-sim
19648 maybe-distclean-sim:
19649 @if sim
19650 maybe-distclean-sim: distclean-sim
19652 distclean-sim:
19653 @[ -f ./sim/Makefile ] || exit 0; \
19654 r=`${PWD_COMMAND}`; export r; \
19655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19656 $(SET_LIB_PATH) \
19657 $(HOST_EXPORTS) \
19658 for flag in $(EXTRA_HOST_FLAGS) ; do \
19659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19660 done; \
19661 echo "Doing distclean in sim" ; \
19662 (cd sim && \
19663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19665 "RANLIB=$${RANLIB}" \
19666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19667 distclean) \
19668 || exit 1
19670 @endif sim
19672 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
19673 maybe-maintainer-clean-sim:
19674 @if sim
19675 maybe-maintainer-clean-sim: maintainer-clean-sim
19677 maintainer-clean-sim:
19678 @[ -f ./sim/Makefile ] || exit 0; \
19679 r=`${PWD_COMMAND}`; export r; \
19680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19681 $(SET_LIB_PATH) \
19682 $(HOST_EXPORTS) \
19683 for flag in $(EXTRA_HOST_FLAGS) ; do \
19684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19685 done; \
19686 echo "Doing maintainer-clean in sim" ; \
19687 (cd sim && \
19688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19690 "RANLIB=$${RANLIB}" \
19691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19692 maintainer-clean) \
19693 || exit 1
19695 @endif sim
19698 .PHONY: configure-tar maybe-configure-tar
19699 maybe-configure-tar:
19700 @if tar
19701 maybe-configure-tar: configure-tar
19702 configure-tar:
19703 @test ! -f tar/Makefile || exit 0; \
19704 [ -d tar ] || mkdir tar; \
19705 r=`${PWD_COMMAND}`; export r; \
19706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19707 $(HOST_EXPORTS) \
19708 echo Configuring in tar; \
19709 cd tar || exit 1; \
19710 case $(srcdir) in \
19711 \.) \
19712 srcdiroption="--srcdir=."; \
19713 libsrcdir=".";; \
19714 /* | [A-Za-z]:[\\/]*) \
19715 srcdiroption="--srcdir=$(srcdir)/tar"; \
19716 libsrcdir="$$s/tar";; \
19717 *) \
19718 srcdiroption="--srcdir=../$(srcdir)/tar"; \
19719 libsrcdir="$$s/tar";; \
19720 esac; \
19721 $(SHELL) $${libsrcdir}/configure \
19722 $(HOST_CONFIGARGS) $${srcdiroption} \
19723 || exit 1
19724 @endif tar
19726 .PHONY: all-tar maybe-all-tar
19727 maybe-all-tar:
19728 @if tar
19729 TARGET-tar=all
19730 maybe-all-tar: all-tar
19731 all-tar: configure-tar
19732 @r=`${PWD_COMMAND}`; export r; \
19733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19734 $(SET_LIB_PATH) \
19735 $(HOST_EXPORTS) \
19736 (cd tar && $(MAKE) $(FLAGS_TO_PASS) \
19737 $(TARGET-tar))
19738 @endif tar
19740 .PHONY: check-tar maybe-check-tar
19741 maybe-check-tar:
19742 @if tar
19743 maybe-check-tar: check-tar
19745 check-tar:
19746 @r=`${PWD_COMMAND}`; export r; \
19747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19748 $(SET_LIB_PATH) \
19749 $(HOST_EXPORTS) \
19750 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
19752 @endif tar
19754 .PHONY: install-tar maybe-install-tar
19755 maybe-install-tar:
19756 @if tar
19757 maybe-install-tar: install-tar
19759 install-tar: installdirs
19760 @r=`${PWD_COMMAND}`; export r; \
19761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19762 $(SET_LIB_PATH) \
19763 $(HOST_EXPORTS) \
19764 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
19766 @endif tar
19768 # Other targets (info, dvi, etc.)
19770 .PHONY: maybe-info-tar info-tar
19771 maybe-info-tar:
19772 @if tar
19773 maybe-info-tar: info-tar
19775 info-tar: \
19776 configure-tar
19777 @[ -f ./tar/Makefile ] || exit 0; \
19778 r=`${PWD_COMMAND}`; export r; \
19779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19780 $(SET_LIB_PATH) \
19781 $(HOST_EXPORTS) \
19782 for flag in $(EXTRA_HOST_FLAGS) ; do \
19783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19784 done; \
19785 echo "Doing info in tar" ; \
19786 (cd tar && \
19787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19789 "RANLIB=$${RANLIB}" \
19790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19791 info) \
19792 || exit 1
19794 @endif tar
19796 .PHONY: maybe-dvi-tar dvi-tar
19797 maybe-dvi-tar:
19798 @if tar
19799 maybe-dvi-tar: dvi-tar
19801 dvi-tar: \
19802 configure-tar
19803 @[ -f ./tar/Makefile ] || exit 0; \
19804 r=`${PWD_COMMAND}`; export r; \
19805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19806 $(SET_LIB_PATH) \
19807 $(HOST_EXPORTS) \
19808 for flag in $(EXTRA_HOST_FLAGS) ; do \
19809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19810 done; \
19811 echo "Doing dvi in tar" ; \
19812 (cd tar && \
19813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19815 "RANLIB=$${RANLIB}" \
19816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19817 dvi) \
19818 || exit 1
19820 @endif tar
19822 .PHONY: maybe-html-tar html-tar
19823 maybe-html-tar:
19824 @if tar
19825 maybe-html-tar: html-tar
19827 html-tar: \
19828 configure-tar
19829 @[ -f ./tar/Makefile ] || exit 0; \
19830 r=`${PWD_COMMAND}`; export r; \
19831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19832 $(SET_LIB_PATH) \
19833 $(HOST_EXPORTS) \
19834 for flag in $(EXTRA_HOST_FLAGS) ; do \
19835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19836 done; \
19837 echo "Doing html in tar" ; \
19838 (cd tar && \
19839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19841 "RANLIB=$${RANLIB}" \
19842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19843 html) \
19844 || exit 1
19846 @endif tar
19848 .PHONY: maybe-TAGS-tar TAGS-tar
19849 maybe-TAGS-tar:
19850 @if tar
19851 maybe-TAGS-tar: TAGS-tar
19853 TAGS-tar: \
19854 configure-tar
19855 @[ -f ./tar/Makefile ] || exit 0; \
19856 r=`${PWD_COMMAND}`; export r; \
19857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19858 $(SET_LIB_PATH) \
19859 $(HOST_EXPORTS) \
19860 for flag in $(EXTRA_HOST_FLAGS) ; do \
19861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19862 done; \
19863 echo "Doing TAGS in tar" ; \
19864 (cd tar && \
19865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19867 "RANLIB=$${RANLIB}" \
19868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19869 TAGS) \
19870 || exit 1
19872 @endif tar
19874 .PHONY: maybe-install-info-tar install-info-tar
19875 maybe-install-info-tar:
19876 @if tar
19877 maybe-install-info-tar: install-info-tar
19879 install-info-tar: \
19880 configure-tar \
19881 info-tar
19882 @[ -f ./tar/Makefile ] || exit 0; \
19883 r=`${PWD_COMMAND}`; export r; \
19884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19885 $(SET_LIB_PATH) \
19886 $(HOST_EXPORTS) \
19887 for flag in $(EXTRA_HOST_FLAGS) ; do \
19888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19889 done; \
19890 echo "Doing install-info in tar" ; \
19891 (cd tar && \
19892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19894 "RANLIB=$${RANLIB}" \
19895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19896 install-info) \
19897 || exit 1
19899 @endif tar
19901 .PHONY: maybe-installcheck-tar installcheck-tar
19902 maybe-installcheck-tar:
19903 @if tar
19904 maybe-installcheck-tar: installcheck-tar
19906 installcheck-tar: \
19907 configure-tar
19908 @[ -f ./tar/Makefile ] || exit 0; \
19909 r=`${PWD_COMMAND}`; export r; \
19910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19911 $(SET_LIB_PATH) \
19912 $(HOST_EXPORTS) \
19913 for flag in $(EXTRA_HOST_FLAGS) ; do \
19914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19915 done; \
19916 echo "Doing installcheck in tar" ; \
19917 (cd tar && \
19918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19920 "RANLIB=$${RANLIB}" \
19921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19922 installcheck) \
19923 || exit 1
19925 @endif tar
19927 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
19928 maybe-mostlyclean-tar:
19929 @if tar
19930 maybe-mostlyclean-tar: mostlyclean-tar
19932 mostlyclean-tar:
19933 @[ -f ./tar/Makefile ] || exit 0; \
19934 r=`${PWD_COMMAND}`; export r; \
19935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19936 $(SET_LIB_PATH) \
19937 $(HOST_EXPORTS) \
19938 for flag in $(EXTRA_HOST_FLAGS) ; do \
19939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19940 done; \
19941 echo "Doing mostlyclean in tar" ; \
19942 (cd tar && \
19943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19945 "RANLIB=$${RANLIB}" \
19946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19947 mostlyclean) \
19948 || exit 1
19950 @endif tar
19952 .PHONY: maybe-clean-tar clean-tar
19953 maybe-clean-tar:
19954 @if tar
19955 maybe-clean-tar: clean-tar
19957 clean-tar:
19958 @[ -f ./tar/Makefile ] || exit 0; \
19959 r=`${PWD_COMMAND}`; export r; \
19960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19961 $(SET_LIB_PATH) \
19962 $(HOST_EXPORTS) \
19963 for flag in $(EXTRA_HOST_FLAGS) ; do \
19964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19965 done; \
19966 echo "Doing clean in tar" ; \
19967 (cd tar && \
19968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19970 "RANLIB=$${RANLIB}" \
19971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19972 clean) \
19973 || exit 1
19975 @endif tar
19977 .PHONY: maybe-distclean-tar distclean-tar
19978 maybe-distclean-tar:
19979 @if tar
19980 maybe-distclean-tar: distclean-tar
19982 distclean-tar:
19983 @[ -f ./tar/Makefile ] || exit 0; \
19984 r=`${PWD_COMMAND}`; export r; \
19985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19986 $(SET_LIB_PATH) \
19987 $(HOST_EXPORTS) \
19988 for flag in $(EXTRA_HOST_FLAGS) ; do \
19989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19990 done; \
19991 echo "Doing distclean in tar" ; \
19992 (cd tar && \
19993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19995 "RANLIB=$${RANLIB}" \
19996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19997 distclean) \
19998 || exit 1
20000 @endif tar
20002 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
20003 maybe-maintainer-clean-tar:
20004 @if tar
20005 maybe-maintainer-clean-tar: maintainer-clean-tar
20007 maintainer-clean-tar:
20008 @[ -f ./tar/Makefile ] || exit 0; \
20009 r=`${PWD_COMMAND}`; export r; \
20010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20011 $(SET_LIB_PATH) \
20012 $(HOST_EXPORTS) \
20013 for flag in $(EXTRA_HOST_FLAGS) ; do \
20014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20015 done; \
20016 echo "Doing maintainer-clean in tar" ; \
20017 (cd tar && \
20018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20020 "RANLIB=$${RANLIB}" \
20021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20022 maintainer-clean) \
20023 || exit 1
20025 @endif tar
20028 .PHONY: configure-texinfo maybe-configure-texinfo
20029 maybe-configure-texinfo:
20030 @if texinfo
20031 maybe-configure-texinfo: configure-texinfo
20032 configure-texinfo:
20033 @test ! -f texinfo/Makefile || exit 0; \
20034 [ -d texinfo ] || mkdir texinfo; \
20035 r=`${PWD_COMMAND}`; export r; \
20036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20037 $(HOST_EXPORTS) \
20038 echo Configuring in texinfo; \
20039 cd texinfo || exit 1; \
20040 case $(srcdir) in \
20041 \.) \
20042 srcdiroption="--srcdir=."; \
20043 libsrcdir=".";; \
20044 /* | [A-Za-z]:[\\/]*) \
20045 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
20046 libsrcdir="$$s/texinfo";; \
20047 *) \
20048 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
20049 libsrcdir="$$s/texinfo";; \
20050 esac; \
20051 $(SHELL) $${libsrcdir}/configure \
20052 $(HOST_CONFIGARGS) $${srcdiroption} \
20053 || exit 1
20054 @endif texinfo
20056 .PHONY: all-texinfo maybe-all-texinfo
20057 maybe-all-texinfo:
20058 @if texinfo
20059 TARGET-texinfo=all
20060 maybe-all-texinfo: all-texinfo
20061 all-texinfo: configure-texinfo
20062 @r=`${PWD_COMMAND}`; export r; \
20063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20064 $(SET_LIB_PATH) \
20065 $(HOST_EXPORTS) \
20066 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) \
20067 $(TARGET-texinfo))
20068 @endif texinfo
20070 .PHONY: check-texinfo maybe-check-texinfo
20071 maybe-check-texinfo:
20072 @if texinfo
20073 maybe-check-texinfo: check-texinfo
20075 check-texinfo:
20076 @r=`${PWD_COMMAND}`; export r; \
20077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20078 $(SET_LIB_PATH) \
20079 $(HOST_EXPORTS) \
20080 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
20082 @endif texinfo
20084 .PHONY: install-texinfo maybe-install-texinfo
20085 maybe-install-texinfo:
20086 @if texinfo
20087 maybe-install-texinfo: install-texinfo
20089 install-texinfo:
20091 @endif texinfo
20093 # Other targets (info, dvi, etc.)
20095 .PHONY: maybe-info-texinfo info-texinfo
20096 maybe-info-texinfo:
20097 @if texinfo
20098 maybe-info-texinfo: info-texinfo
20100 info-texinfo: \
20101 configure-texinfo
20102 @[ -f ./texinfo/Makefile ] || exit 0; \
20103 r=`${PWD_COMMAND}`; export r; \
20104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20105 $(SET_LIB_PATH) \
20106 $(HOST_EXPORTS) \
20107 for flag in $(EXTRA_HOST_FLAGS) ; do \
20108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20109 done; \
20110 echo "Doing info in texinfo" ; \
20111 (cd texinfo && \
20112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20114 "RANLIB=$${RANLIB}" \
20115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20116 info) \
20117 || exit 1
20119 @endif texinfo
20121 .PHONY: maybe-dvi-texinfo dvi-texinfo
20122 maybe-dvi-texinfo:
20123 @if texinfo
20124 maybe-dvi-texinfo: dvi-texinfo
20126 dvi-texinfo: \
20127 configure-texinfo
20128 @[ -f ./texinfo/Makefile ] || exit 0; \
20129 r=`${PWD_COMMAND}`; export r; \
20130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20131 $(SET_LIB_PATH) \
20132 $(HOST_EXPORTS) \
20133 for flag in $(EXTRA_HOST_FLAGS) ; do \
20134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20135 done; \
20136 echo "Doing dvi in texinfo" ; \
20137 (cd texinfo && \
20138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20140 "RANLIB=$${RANLIB}" \
20141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20142 dvi) \
20143 || exit 1
20145 @endif texinfo
20147 .PHONY: maybe-html-texinfo html-texinfo
20148 maybe-html-texinfo:
20149 @if texinfo
20150 maybe-html-texinfo: html-texinfo
20152 html-texinfo: \
20153 configure-texinfo
20154 @[ -f ./texinfo/Makefile ] || exit 0; \
20155 r=`${PWD_COMMAND}`; export r; \
20156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20157 $(SET_LIB_PATH) \
20158 $(HOST_EXPORTS) \
20159 for flag in $(EXTRA_HOST_FLAGS) ; do \
20160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20161 done; \
20162 echo "Doing html in texinfo" ; \
20163 (cd texinfo && \
20164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20166 "RANLIB=$${RANLIB}" \
20167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20168 html) \
20169 || exit 1
20171 @endif texinfo
20173 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
20174 maybe-TAGS-texinfo:
20175 @if texinfo
20176 maybe-TAGS-texinfo: TAGS-texinfo
20178 TAGS-texinfo: \
20179 configure-texinfo
20180 @[ -f ./texinfo/Makefile ] || exit 0; \
20181 r=`${PWD_COMMAND}`; export r; \
20182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20183 $(SET_LIB_PATH) \
20184 $(HOST_EXPORTS) \
20185 for flag in $(EXTRA_HOST_FLAGS) ; do \
20186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20187 done; \
20188 echo "Doing TAGS in texinfo" ; \
20189 (cd texinfo && \
20190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20192 "RANLIB=$${RANLIB}" \
20193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20194 TAGS) \
20195 || exit 1
20197 @endif texinfo
20199 .PHONY: maybe-install-info-texinfo install-info-texinfo
20200 maybe-install-info-texinfo:
20201 @if texinfo
20202 maybe-install-info-texinfo: install-info-texinfo
20204 install-info-texinfo: \
20205 configure-texinfo \
20206 info-texinfo
20207 @[ -f ./texinfo/Makefile ] || exit 0; \
20208 r=`${PWD_COMMAND}`; export r; \
20209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20210 $(SET_LIB_PATH) \
20211 $(HOST_EXPORTS) \
20212 for flag in $(EXTRA_HOST_FLAGS) ; do \
20213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20214 done; \
20215 echo "Doing install-info in texinfo" ; \
20216 (cd texinfo && \
20217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20219 "RANLIB=$${RANLIB}" \
20220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20221 install-info) \
20222 || exit 1
20224 @endif texinfo
20226 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
20227 maybe-installcheck-texinfo:
20228 @if texinfo
20229 maybe-installcheck-texinfo: installcheck-texinfo
20231 installcheck-texinfo: \
20232 configure-texinfo
20233 @[ -f ./texinfo/Makefile ] || exit 0; \
20234 r=`${PWD_COMMAND}`; export r; \
20235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20236 $(SET_LIB_PATH) \
20237 $(HOST_EXPORTS) \
20238 for flag in $(EXTRA_HOST_FLAGS) ; do \
20239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20240 done; \
20241 echo "Doing installcheck in texinfo" ; \
20242 (cd texinfo && \
20243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20245 "RANLIB=$${RANLIB}" \
20246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20247 installcheck) \
20248 || exit 1
20250 @endif texinfo
20252 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
20253 maybe-mostlyclean-texinfo:
20254 @if texinfo
20255 maybe-mostlyclean-texinfo: mostlyclean-texinfo
20257 mostlyclean-texinfo:
20258 @[ -f ./texinfo/Makefile ] || exit 0; \
20259 r=`${PWD_COMMAND}`; export r; \
20260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20261 $(SET_LIB_PATH) \
20262 $(HOST_EXPORTS) \
20263 for flag in $(EXTRA_HOST_FLAGS) ; do \
20264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20265 done; \
20266 echo "Doing mostlyclean in texinfo" ; \
20267 (cd texinfo && \
20268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20270 "RANLIB=$${RANLIB}" \
20271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20272 mostlyclean) \
20273 || exit 1
20275 @endif texinfo
20277 .PHONY: maybe-clean-texinfo clean-texinfo
20278 maybe-clean-texinfo:
20279 @if texinfo
20280 maybe-clean-texinfo: clean-texinfo
20282 clean-texinfo:
20283 @[ -f ./texinfo/Makefile ] || exit 0; \
20284 r=`${PWD_COMMAND}`; export r; \
20285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20286 $(SET_LIB_PATH) \
20287 $(HOST_EXPORTS) \
20288 for flag in $(EXTRA_HOST_FLAGS) ; do \
20289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20290 done; \
20291 echo "Doing clean in texinfo" ; \
20292 (cd texinfo && \
20293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20295 "RANLIB=$${RANLIB}" \
20296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20297 clean) \
20298 || exit 1
20300 @endif texinfo
20302 .PHONY: maybe-distclean-texinfo distclean-texinfo
20303 maybe-distclean-texinfo:
20304 @if texinfo
20305 maybe-distclean-texinfo: distclean-texinfo
20307 distclean-texinfo:
20308 @[ -f ./texinfo/Makefile ] || exit 0; \
20309 r=`${PWD_COMMAND}`; export r; \
20310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20311 $(SET_LIB_PATH) \
20312 $(HOST_EXPORTS) \
20313 for flag in $(EXTRA_HOST_FLAGS) ; do \
20314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20315 done; \
20316 echo "Doing distclean in texinfo" ; \
20317 (cd texinfo && \
20318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20320 "RANLIB=$${RANLIB}" \
20321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20322 distclean) \
20323 || exit 1
20325 @endif texinfo
20327 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
20328 maybe-maintainer-clean-texinfo:
20329 @if texinfo
20330 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
20332 maintainer-clean-texinfo:
20333 @[ -f ./texinfo/Makefile ] || exit 0; \
20334 r=`${PWD_COMMAND}`; export r; \
20335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20336 $(SET_LIB_PATH) \
20337 $(HOST_EXPORTS) \
20338 for flag in $(EXTRA_HOST_FLAGS) ; do \
20339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20340 done; \
20341 echo "Doing maintainer-clean in texinfo" ; \
20342 (cd texinfo && \
20343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20345 "RANLIB=$${RANLIB}" \
20346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20347 maintainer-clean) \
20348 || exit 1
20350 @endif texinfo
20353 .PHONY: configure-textutils maybe-configure-textutils
20354 maybe-configure-textutils:
20355 @if textutils
20356 maybe-configure-textutils: configure-textutils
20357 configure-textutils:
20358 @test ! -f textutils/Makefile || exit 0; \
20359 [ -d textutils ] || mkdir textutils; \
20360 r=`${PWD_COMMAND}`; export r; \
20361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20362 $(HOST_EXPORTS) \
20363 echo Configuring in textutils; \
20364 cd textutils || exit 1; \
20365 case $(srcdir) in \
20366 \.) \
20367 srcdiroption="--srcdir=."; \
20368 libsrcdir=".";; \
20369 /* | [A-Za-z]:[\\/]*) \
20370 srcdiroption="--srcdir=$(srcdir)/textutils"; \
20371 libsrcdir="$$s/textutils";; \
20372 *) \
20373 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
20374 libsrcdir="$$s/textutils";; \
20375 esac; \
20376 $(SHELL) $${libsrcdir}/configure \
20377 $(HOST_CONFIGARGS) $${srcdiroption} \
20378 || exit 1
20379 @endif textutils
20381 .PHONY: all-textutils maybe-all-textutils
20382 maybe-all-textutils:
20383 @if textutils
20384 TARGET-textutils=all
20385 maybe-all-textutils: all-textutils
20386 all-textutils: configure-textutils
20387 @r=`${PWD_COMMAND}`; export r; \
20388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20389 $(SET_LIB_PATH) \
20390 $(HOST_EXPORTS) \
20391 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) \
20392 $(TARGET-textutils))
20393 @endif textutils
20395 .PHONY: check-textutils maybe-check-textutils
20396 maybe-check-textutils:
20397 @if textutils
20398 maybe-check-textutils: check-textutils
20400 check-textutils:
20401 @r=`${PWD_COMMAND}`; export r; \
20402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20403 $(SET_LIB_PATH) \
20404 $(HOST_EXPORTS) \
20405 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
20407 @endif textutils
20409 .PHONY: install-textutils maybe-install-textutils
20410 maybe-install-textutils:
20411 @if textutils
20412 maybe-install-textutils: install-textutils
20414 install-textutils: installdirs
20415 @r=`${PWD_COMMAND}`; export r; \
20416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20417 $(SET_LIB_PATH) \
20418 $(HOST_EXPORTS) \
20419 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
20421 @endif textutils
20423 # Other targets (info, dvi, etc.)
20425 .PHONY: maybe-info-textutils info-textutils
20426 maybe-info-textutils:
20427 @if textutils
20428 maybe-info-textutils: info-textutils
20430 info-textutils: \
20431 configure-textutils
20432 @[ -f ./textutils/Makefile ] || exit 0; \
20433 r=`${PWD_COMMAND}`; export r; \
20434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20435 $(SET_LIB_PATH) \
20436 $(HOST_EXPORTS) \
20437 for flag in $(EXTRA_HOST_FLAGS) ; do \
20438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20439 done; \
20440 echo "Doing info in textutils" ; \
20441 (cd textutils && \
20442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20444 "RANLIB=$${RANLIB}" \
20445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20446 info) \
20447 || exit 1
20449 @endif textutils
20451 .PHONY: maybe-dvi-textutils dvi-textutils
20452 maybe-dvi-textutils:
20453 @if textutils
20454 maybe-dvi-textutils: dvi-textutils
20456 dvi-textutils: \
20457 configure-textutils
20458 @[ -f ./textutils/Makefile ] || exit 0; \
20459 r=`${PWD_COMMAND}`; export r; \
20460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20461 $(SET_LIB_PATH) \
20462 $(HOST_EXPORTS) \
20463 for flag in $(EXTRA_HOST_FLAGS) ; do \
20464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20465 done; \
20466 echo "Doing dvi in textutils" ; \
20467 (cd textutils && \
20468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20470 "RANLIB=$${RANLIB}" \
20471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20472 dvi) \
20473 || exit 1
20475 @endif textutils
20477 .PHONY: maybe-html-textutils html-textutils
20478 maybe-html-textutils:
20479 @if textutils
20480 maybe-html-textutils: html-textutils
20482 html-textutils: \
20483 configure-textutils
20484 @[ -f ./textutils/Makefile ] || exit 0; \
20485 r=`${PWD_COMMAND}`; export r; \
20486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20487 $(SET_LIB_PATH) \
20488 $(HOST_EXPORTS) \
20489 for flag in $(EXTRA_HOST_FLAGS) ; do \
20490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20491 done; \
20492 echo "Doing html in textutils" ; \
20493 (cd textutils && \
20494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20496 "RANLIB=$${RANLIB}" \
20497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20498 html) \
20499 || exit 1
20501 @endif textutils
20503 .PHONY: maybe-TAGS-textutils TAGS-textutils
20504 maybe-TAGS-textutils:
20505 @if textutils
20506 maybe-TAGS-textutils: TAGS-textutils
20508 TAGS-textutils: \
20509 configure-textutils
20510 @[ -f ./textutils/Makefile ] || exit 0; \
20511 r=`${PWD_COMMAND}`; export r; \
20512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20513 $(SET_LIB_PATH) \
20514 $(HOST_EXPORTS) \
20515 for flag in $(EXTRA_HOST_FLAGS) ; do \
20516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20517 done; \
20518 echo "Doing TAGS in textutils" ; \
20519 (cd textutils && \
20520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20522 "RANLIB=$${RANLIB}" \
20523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20524 TAGS) \
20525 || exit 1
20527 @endif textutils
20529 .PHONY: maybe-install-info-textutils install-info-textutils
20530 maybe-install-info-textutils:
20531 @if textutils
20532 maybe-install-info-textutils: install-info-textutils
20534 install-info-textutils: \
20535 configure-textutils \
20536 info-textutils
20537 @[ -f ./textutils/Makefile ] || exit 0; \
20538 r=`${PWD_COMMAND}`; export r; \
20539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20540 $(SET_LIB_PATH) \
20541 $(HOST_EXPORTS) \
20542 for flag in $(EXTRA_HOST_FLAGS) ; do \
20543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20544 done; \
20545 echo "Doing install-info in textutils" ; \
20546 (cd textutils && \
20547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20549 "RANLIB=$${RANLIB}" \
20550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20551 install-info) \
20552 || exit 1
20554 @endif textutils
20556 .PHONY: maybe-installcheck-textutils installcheck-textutils
20557 maybe-installcheck-textutils:
20558 @if textutils
20559 maybe-installcheck-textutils: installcheck-textutils
20561 installcheck-textutils: \
20562 configure-textutils
20563 @[ -f ./textutils/Makefile ] || exit 0; \
20564 r=`${PWD_COMMAND}`; export r; \
20565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20566 $(SET_LIB_PATH) \
20567 $(HOST_EXPORTS) \
20568 for flag in $(EXTRA_HOST_FLAGS) ; do \
20569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20570 done; \
20571 echo "Doing installcheck in textutils" ; \
20572 (cd textutils && \
20573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20575 "RANLIB=$${RANLIB}" \
20576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20577 installcheck) \
20578 || exit 1
20580 @endif textutils
20582 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
20583 maybe-mostlyclean-textutils:
20584 @if textutils
20585 maybe-mostlyclean-textutils: mostlyclean-textutils
20587 mostlyclean-textutils:
20588 @[ -f ./textutils/Makefile ] || exit 0; \
20589 r=`${PWD_COMMAND}`; export r; \
20590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20591 $(SET_LIB_PATH) \
20592 $(HOST_EXPORTS) \
20593 for flag in $(EXTRA_HOST_FLAGS) ; do \
20594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20595 done; \
20596 echo "Doing mostlyclean in textutils" ; \
20597 (cd textutils && \
20598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20600 "RANLIB=$${RANLIB}" \
20601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20602 mostlyclean) \
20603 || exit 1
20605 @endif textutils
20607 .PHONY: maybe-clean-textutils clean-textutils
20608 maybe-clean-textutils:
20609 @if textutils
20610 maybe-clean-textutils: clean-textutils
20612 clean-textutils:
20613 @[ -f ./textutils/Makefile ] || exit 0; \
20614 r=`${PWD_COMMAND}`; export r; \
20615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20616 $(SET_LIB_PATH) \
20617 $(HOST_EXPORTS) \
20618 for flag in $(EXTRA_HOST_FLAGS) ; do \
20619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20620 done; \
20621 echo "Doing clean in textutils" ; \
20622 (cd textutils && \
20623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20625 "RANLIB=$${RANLIB}" \
20626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20627 clean) \
20628 || exit 1
20630 @endif textutils
20632 .PHONY: maybe-distclean-textutils distclean-textutils
20633 maybe-distclean-textutils:
20634 @if textutils
20635 maybe-distclean-textutils: distclean-textutils
20637 distclean-textutils:
20638 @[ -f ./textutils/Makefile ] || exit 0; \
20639 r=`${PWD_COMMAND}`; export r; \
20640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20641 $(SET_LIB_PATH) \
20642 $(HOST_EXPORTS) \
20643 for flag in $(EXTRA_HOST_FLAGS) ; do \
20644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20645 done; \
20646 echo "Doing distclean in textutils" ; \
20647 (cd textutils && \
20648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20650 "RANLIB=$${RANLIB}" \
20651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20652 distclean) \
20653 || exit 1
20655 @endif textutils
20657 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
20658 maybe-maintainer-clean-textutils:
20659 @if textutils
20660 maybe-maintainer-clean-textutils: maintainer-clean-textutils
20662 maintainer-clean-textutils:
20663 @[ -f ./textutils/Makefile ] || exit 0; \
20664 r=`${PWD_COMMAND}`; export r; \
20665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20666 $(SET_LIB_PATH) \
20667 $(HOST_EXPORTS) \
20668 for flag in $(EXTRA_HOST_FLAGS) ; do \
20669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20670 done; \
20671 echo "Doing maintainer-clean in textutils" ; \
20672 (cd textutils && \
20673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20675 "RANLIB=$${RANLIB}" \
20676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20677 maintainer-clean) \
20678 || exit 1
20680 @endif textutils
20683 .PHONY: configure-time maybe-configure-time
20684 maybe-configure-time:
20685 @if time
20686 maybe-configure-time: configure-time
20687 configure-time:
20688 @test ! -f time/Makefile || exit 0; \
20689 [ -d time ] || mkdir time; \
20690 r=`${PWD_COMMAND}`; export r; \
20691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20692 $(HOST_EXPORTS) \
20693 echo Configuring in time; \
20694 cd time || exit 1; \
20695 case $(srcdir) in \
20696 \.) \
20697 srcdiroption="--srcdir=."; \
20698 libsrcdir=".";; \
20699 /* | [A-Za-z]:[\\/]*) \
20700 srcdiroption="--srcdir=$(srcdir)/time"; \
20701 libsrcdir="$$s/time";; \
20702 *) \
20703 srcdiroption="--srcdir=../$(srcdir)/time"; \
20704 libsrcdir="$$s/time";; \
20705 esac; \
20706 $(SHELL) $${libsrcdir}/configure \
20707 $(HOST_CONFIGARGS) $${srcdiroption} \
20708 || exit 1
20709 @endif time
20711 .PHONY: all-time maybe-all-time
20712 maybe-all-time:
20713 @if time
20714 TARGET-time=all
20715 maybe-all-time: all-time
20716 all-time: configure-time
20717 @r=`${PWD_COMMAND}`; export r; \
20718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20719 $(SET_LIB_PATH) \
20720 $(HOST_EXPORTS) \
20721 (cd time && $(MAKE) $(FLAGS_TO_PASS) \
20722 $(TARGET-time))
20723 @endif time
20725 .PHONY: check-time maybe-check-time
20726 maybe-check-time:
20727 @if time
20728 maybe-check-time: check-time
20730 check-time:
20731 @r=`${PWD_COMMAND}`; export r; \
20732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20733 $(SET_LIB_PATH) \
20734 $(HOST_EXPORTS) \
20735 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
20737 @endif time
20739 .PHONY: install-time maybe-install-time
20740 maybe-install-time:
20741 @if time
20742 maybe-install-time: install-time
20744 install-time: installdirs
20745 @r=`${PWD_COMMAND}`; export r; \
20746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20747 $(SET_LIB_PATH) \
20748 $(HOST_EXPORTS) \
20749 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
20751 @endif time
20753 # Other targets (info, dvi, etc.)
20755 .PHONY: maybe-info-time info-time
20756 maybe-info-time:
20757 @if time
20758 maybe-info-time: info-time
20760 info-time: \
20761 configure-time
20762 @[ -f ./time/Makefile ] || exit 0; \
20763 r=`${PWD_COMMAND}`; export r; \
20764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20765 $(SET_LIB_PATH) \
20766 $(HOST_EXPORTS) \
20767 for flag in $(EXTRA_HOST_FLAGS) ; do \
20768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20769 done; \
20770 echo "Doing info in time" ; \
20771 (cd time && \
20772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20774 "RANLIB=$${RANLIB}" \
20775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20776 info) \
20777 || exit 1
20779 @endif time
20781 .PHONY: maybe-dvi-time dvi-time
20782 maybe-dvi-time:
20783 @if time
20784 maybe-dvi-time: dvi-time
20786 dvi-time: \
20787 configure-time
20788 @[ -f ./time/Makefile ] || exit 0; \
20789 r=`${PWD_COMMAND}`; export r; \
20790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20791 $(SET_LIB_PATH) \
20792 $(HOST_EXPORTS) \
20793 for flag in $(EXTRA_HOST_FLAGS) ; do \
20794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20795 done; \
20796 echo "Doing dvi in time" ; \
20797 (cd time && \
20798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20800 "RANLIB=$${RANLIB}" \
20801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20802 dvi) \
20803 || exit 1
20805 @endif time
20807 .PHONY: maybe-html-time html-time
20808 maybe-html-time:
20809 @if time
20810 maybe-html-time: html-time
20812 html-time: \
20813 configure-time
20814 @[ -f ./time/Makefile ] || exit 0; \
20815 r=`${PWD_COMMAND}`; export r; \
20816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20817 $(SET_LIB_PATH) \
20818 $(HOST_EXPORTS) \
20819 for flag in $(EXTRA_HOST_FLAGS) ; do \
20820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20821 done; \
20822 echo "Doing html in time" ; \
20823 (cd time && \
20824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20826 "RANLIB=$${RANLIB}" \
20827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20828 html) \
20829 || exit 1
20831 @endif time
20833 .PHONY: maybe-TAGS-time TAGS-time
20834 maybe-TAGS-time:
20835 @if time
20836 maybe-TAGS-time: TAGS-time
20838 TAGS-time: \
20839 configure-time
20840 @[ -f ./time/Makefile ] || exit 0; \
20841 r=`${PWD_COMMAND}`; export r; \
20842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20843 $(SET_LIB_PATH) \
20844 $(HOST_EXPORTS) \
20845 for flag in $(EXTRA_HOST_FLAGS) ; do \
20846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20847 done; \
20848 echo "Doing TAGS in time" ; \
20849 (cd time && \
20850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20852 "RANLIB=$${RANLIB}" \
20853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20854 TAGS) \
20855 || exit 1
20857 @endif time
20859 .PHONY: maybe-install-info-time install-info-time
20860 maybe-install-info-time:
20861 @if time
20862 maybe-install-info-time: install-info-time
20864 install-info-time: \
20865 configure-time \
20866 info-time
20867 @[ -f ./time/Makefile ] || exit 0; \
20868 r=`${PWD_COMMAND}`; export r; \
20869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20870 $(SET_LIB_PATH) \
20871 $(HOST_EXPORTS) \
20872 for flag in $(EXTRA_HOST_FLAGS) ; do \
20873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20874 done; \
20875 echo "Doing install-info in time" ; \
20876 (cd time && \
20877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20879 "RANLIB=$${RANLIB}" \
20880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20881 install-info) \
20882 || exit 1
20884 @endif time
20886 .PHONY: maybe-installcheck-time installcheck-time
20887 maybe-installcheck-time:
20888 @if time
20889 maybe-installcheck-time: installcheck-time
20891 installcheck-time: \
20892 configure-time
20893 @[ -f ./time/Makefile ] || exit 0; \
20894 r=`${PWD_COMMAND}`; export r; \
20895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20896 $(SET_LIB_PATH) \
20897 $(HOST_EXPORTS) \
20898 for flag in $(EXTRA_HOST_FLAGS) ; do \
20899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20900 done; \
20901 echo "Doing installcheck in time" ; \
20902 (cd time && \
20903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20905 "RANLIB=$${RANLIB}" \
20906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20907 installcheck) \
20908 || exit 1
20910 @endif time
20912 .PHONY: maybe-mostlyclean-time mostlyclean-time
20913 maybe-mostlyclean-time:
20914 @if time
20915 maybe-mostlyclean-time: mostlyclean-time
20917 mostlyclean-time:
20918 @[ -f ./time/Makefile ] || exit 0; \
20919 r=`${PWD_COMMAND}`; export r; \
20920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20921 $(SET_LIB_PATH) \
20922 $(HOST_EXPORTS) \
20923 for flag in $(EXTRA_HOST_FLAGS) ; do \
20924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20925 done; \
20926 echo "Doing mostlyclean in time" ; \
20927 (cd time && \
20928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20930 "RANLIB=$${RANLIB}" \
20931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20932 mostlyclean) \
20933 || exit 1
20935 @endif time
20937 .PHONY: maybe-clean-time clean-time
20938 maybe-clean-time:
20939 @if time
20940 maybe-clean-time: clean-time
20942 clean-time:
20943 @[ -f ./time/Makefile ] || exit 0; \
20944 r=`${PWD_COMMAND}`; export r; \
20945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20946 $(SET_LIB_PATH) \
20947 $(HOST_EXPORTS) \
20948 for flag in $(EXTRA_HOST_FLAGS) ; do \
20949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20950 done; \
20951 echo "Doing clean in time" ; \
20952 (cd time && \
20953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20955 "RANLIB=$${RANLIB}" \
20956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20957 clean) \
20958 || exit 1
20960 @endif time
20962 .PHONY: maybe-distclean-time distclean-time
20963 maybe-distclean-time:
20964 @if time
20965 maybe-distclean-time: distclean-time
20967 distclean-time:
20968 @[ -f ./time/Makefile ] || exit 0; \
20969 r=`${PWD_COMMAND}`; export r; \
20970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20971 $(SET_LIB_PATH) \
20972 $(HOST_EXPORTS) \
20973 for flag in $(EXTRA_HOST_FLAGS) ; do \
20974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20975 done; \
20976 echo "Doing distclean in time" ; \
20977 (cd time && \
20978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20980 "RANLIB=$${RANLIB}" \
20981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20982 distclean) \
20983 || exit 1
20985 @endif time
20987 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
20988 maybe-maintainer-clean-time:
20989 @if time
20990 maybe-maintainer-clean-time: maintainer-clean-time
20992 maintainer-clean-time:
20993 @[ -f ./time/Makefile ] || exit 0; \
20994 r=`${PWD_COMMAND}`; export r; \
20995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20996 $(SET_LIB_PATH) \
20997 $(HOST_EXPORTS) \
20998 for flag in $(EXTRA_HOST_FLAGS) ; do \
20999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21000 done; \
21001 echo "Doing maintainer-clean in time" ; \
21002 (cd time && \
21003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21005 "RANLIB=$${RANLIB}" \
21006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21007 maintainer-clean) \
21008 || exit 1
21010 @endif time
21013 .PHONY: configure-uudecode maybe-configure-uudecode
21014 maybe-configure-uudecode:
21015 @if uudecode
21016 maybe-configure-uudecode: configure-uudecode
21017 configure-uudecode:
21018 @test ! -f uudecode/Makefile || exit 0; \
21019 [ -d uudecode ] || mkdir uudecode; \
21020 r=`${PWD_COMMAND}`; export r; \
21021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21022 $(HOST_EXPORTS) \
21023 echo Configuring in uudecode; \
21024 cd uudecode || exit 1; \
21025 case $(srcdir) in \
21026 \.) \
21027 srcdiroption="--srcdir=."; \
21028 libsrcdir=".";; \
21029 /* | [A-Za-z]:[\\/]*) \
21030 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
21031 libsrcdir="$$s/uudecode";; \
21032 *) \
21033 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
21034 libsrcdir="$$s/uudecode";; \
21035 esac; \
21036 $(SHELL) $${libsrcdir}/configure \
21037 $(HOST_CONFIGARGS) $${srcdiroption} \
21038 || exit 1
21039 @endif uudecode
21041 .PHONY: all-uudecode maybe-all-uudecode
21042 maybe-all-uudecode:
21043 @if uudecode
21044 TARGET-uudecode=all
21045 maybe-all-uudecode: all-uudecode
21046 all-uudecode: configure-uudecode
21047 @r=`${PWD_COMMAND}`; export r; \
21048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21049 $(SET_LIB_PATH) \
21050 $(HOST_EXPORTS) \
21051 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) \
21052 $(TARGET-uudecode))
21053 @endif uudecode
21055 .PHONY: check-uudecode maybe-check-uudecode
21056 maybe-check-uudecode:
21057 @if uudecode
21058 maybe-check-uudecode: check-uudecode
21060 check-uudecode:
21061 @r=`${PWD_COMMAND}`; export r; \
21062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21063 $(SET_LIB_PATH) \
21064 $(HOST_EXPORTS) \
21065 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
21067 @endif uudecode
21069 .PHONY: install-uudecode maybe-install-uudecode
21070 maybe-install-uudecode:
21071 @if uudecode
21072 maybe-install-uudecode: install-uudecode
21074 install-uudecode: installdirs
21075 @r=`${PWD_COMMAND}`; export r; \
21076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21077 $(SET_LIB_PATH) \
21078 $(HOST_EXPORTS) \
21079 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
21081 @endif uudecode
21083 # Other targets (info, dvi, etc.)
21085 .PHONY: maybe-info-uudecode info-uudecode
21086 maybe-info-uudecode:
21087 @if uudecode
21088 maybe-info-uudecode: info-uudecode
21090 info-uudecode: \
21091 configure-uudecode
21092 @[ -f ./uudecode/Makefile ] || exit 0; \
21093 r=`${PWD_COMMAND}`; export r; \
21094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21095 $(SET_LIB_PATH) \
21096 $(HOST_EXPORTS) \
21097 for flag in $(EXTRA_HOST_FLAGS) ; do \
21098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21099 done; \
21100 echo "Doing info in uudecode" ; \
21101 (cd uudecode && \
21102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21104 "RANLIB=$${RANLIB}" \
21105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21106 info) \
21107 || exit 1
21109 @endif uudecode
21111 .PHONY: maybe-dvi-uudecode dvi-uudecode
21112 maybe-dvi-uudecode:
21113 @if uudecode
21114 maybe-dvi-uudecode: dvi-uudecode
21116 dvi-uudecode: \
21117 configure-uudecode
21118 @[ -f ./uudecode/Makefile ] || exit 0; \
21119 r=`${PWD_COMMAND}`; export r; \
21120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21121 $(SET_LIB_PATH) \
21122 $(HOST_EXPORTS) \
21123 for flag in $(EXTRA_HOST_FLAGS) ; do \
21124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21125 done; \
21126 echo "Doing dvi in uudecode" ; \
21127 (cd uudecode && \
21128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21130 "RANLIB=$${RANLIB}" \
21131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21132 dvi) \
21133 || exit 1
21135 @endif uudecode
21137 .PHONY: maybe-html-uudecode html-uudecode
21138 maybe-html-uudecode:
21139 @if uudecode
21140 maybe-html-uudecode: html-uudecode
21142 html-uudecode: \
21143 configure-uudecode
21144 @[ -f ./uudecode/Makefile ] || exit 0; \
21145 r=`${PWD_COMMAND}`; export r; \
21146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21147 $(SET_LIB_PATH) \
21148 $(HOST_EXPORTS) \
21149 for flag in $(EXTRA_HOST_FLAGS) ; do \
21150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21151 done; \
21152 echo "Doing html in uudecode" ; \
21153 (cd uudecode && \
21154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21156 "RANLIB=$${RANLIB}" \
21157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21158 html) \
21159 || exit 1
21161 @endif uudecode
21163 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
21164 maybe-TAGS-uudecode:
21165 @if uudecode
21166 maybe-TAGS-uudecode: TAGS-uudecode
21168 TAGS-uudecode: \
21169 configure-uudecode
21170 @[ -f ./uudecode/Makefile ] || exit 0; \
21171 r=`${PWD_COMMAND}`; export r; \
21172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21173 $(SET_LIB_PATH) \
21174 $(HOST_EXPORTS) \
21175 for flag in $(EXTRA_HOST_FLAGS) ; do \
21176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21177 done; \
21178 echo "Doing TAGS in uudecode" ; \
21179 (cd uudecode && \
21180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21182 "RANLIB=$${RANLIB}" \
21183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21184 TAGS) \
21185 || exit 1
21187 @endif uudecode
21189 .PHONY: maybe-install-info-uudecode install-info-uudecode
21190 maybe-install-info-uudecode:
21191 @if uudecode
21192 maybe-install-info-uudecode: install-info-uudecode
21194 install-info-uudecode: \
21195 configure-uudecode \
21196 info-uudecode
21197 @[ -f ./uudecode/Makefile ] || exit 0; \
21198 r=`${PWD_COMMAND}`; export r; \
21199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21200 $(SET_LIB_PATH) \
21201 $(HOST_EXPORTS) \
21202 for flag in $(EXTRA_HOST_FLAGS) ; do \
21203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21204 done; \
21205 echo "Doing install-info in uudecode" ; \
21206 (cd uudecode && \
21207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21209 "RANLIB=$${RANLIB}" \
21210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21211 install-info) \
21212 || exit 1
21214 @endif uudecode
21216 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
21217 maybe-installcheck-uudecode:
21218 @if uudecode
21219 maybe-installcheck-uudecode: installcheck-uudecode
21221 installcheck-uudecode: \
21222 configure-uudecode
21223 @[ -f ./uudecode/Makefile ] || exit 0; \
21224 r=`${PWD_COMMAND}`; export r; \
21225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21226 $(SET_LIB_PATH) \
21227 $(HOST_EXPORTS) \
21228 for flag in $(EXTRA_HOST_FLAGS) ; do \
21229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21230 done; \
21231 echo "Doing installcheck in uudecode" ; \
21232 (cd uudecode && \
21233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21235 "RANLIB=$${RANLIB}" \
21236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21237 installcheck) \
21238 || exit 1
21240 @endif uudecode
21242 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
21243 maybe-mostlyclean-uudecode:
21244 @if uudecode
21245 maybe-mostlyclean-uudecode: mostlyclean-uudecode
21247 mostlyclean-uudecode:
21248 @[ -f ./uudecode/Makefile ] || exit 0; \
21249 r=`${PWD_COMMAND}`; export r; \
21250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21251 $(SET_LIB_PATH) \
21252 $(HOST_EXPORTS) \
21253 for flag in $(EXTRA_HOST_FLAGS) ; do \
21254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21255 done; \
21256 echo "Doing mostlyclean in uudecode" ; \
21257 (cd uudecode && \
21258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21260 "RANLIB=$${RANLIB}" \
21261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21262 mostlyclean) \
21263 || exit 1
21265 @endif uudecode
21267 .PHONY: maybe-clean-uudecode clean-uudecode
21268 maybe-clean-uudecode:
21269 @if uudecode
21270 maybe-clean-uudecode: clean-uudecode
21272 clean-uudecode:
21273 @[ -f ./uudecode/Makefile ] || exit 0; \
21274 r=`${PWD_COMMAND}`; export r; \
21275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21276 $(SET_LIB_PATH) \
21277 $(HOST_EXPORTS) \
21278 for flag in $(EXTRA_HOST_FLAGS) ; do \
21279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21280 done; \
21281 echo "Doing clean in uudecode" ; \
21282 (cd uudecode && \
21283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21285 "RANLIB=$${RANLIB}" \
21286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21287 clean) \
21288 || exit 1
21290 @endif uudecode
21292 .PHONY: maybe-distclean-uudecode distclean-uudecode
21293 maybe-distclean-uudecode:
21294 @if uudecode
21295 maybe-distclean-uudecode: distclean-uudecode
21297 distclean-uudecode:
21298 @[ -f ./uudecode/Makefile ] || exit 0; \
21299 r=`${PWD_COMMAND}`; export r; \
21300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21301 $(SET_LIB_PATH) \
21302 $(HOST_EXPORTS) \
21303 for flag in $(EXTRA_HOST_FLAGS) ; do \
21304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21305 done; \
21306 echo "Doing distclean in uudecode" ; \
21307 (cd uudecode && \
21308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21310 "RANLIB=$${RANLIB}" \
21311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21312 distclean) \
21313 || exit 1
21315 @endif uudecode
21317 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
21318 maybe-maintainer-clean-uudecode:
21319 @if uudecode
21320 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
21322 maintainer-clean-uudecode:
21323 @[ -f ./uudecode/Makefile ] || exit 0; \
21324 r=`${PWD_COMMAND}`; export r; \
21325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21326 $(SET_LIB_PATH) \
21327 $(HOST_EXPORTS) \
21328 for flag in $(EXTRA_HOST_FLAGS) ; do \
21329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21330 done; \
21331 echo "Doing maintainer-clean in uudecode" ; \
21332 (cd uudecode && \
21333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21335 "RANLIB=$${RANLIB}" \
21336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21337 maintainer-clean) \
21338 || exit 1
21340 @endif uudecode
21343 .PHONY: configure-wdiff maybe-configure-wdiff
21344 maybe-configure-wdiff:
21345 @if wdiff
21346 maybe-configure-wdiff: configure-wdiff
21347 configure-wdiff:
21348 @test ! -f wdiff/Makefile || exit 0; \
21349 [ -d wdiff ] || mkdir wdiff; \
21350 r=`${PWD_COMMAND}`; export r; \
21351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21352 $(HOST_EXPORTS) \
21353 echo Configuring in wdiff; \
21354 cd wdiff || exit 1; \
21355 case $(srcdir) in \
21356 \.) \
21357 srcdiroption="--srcdir=."; \
21358 libsrcdir=".";; \
21359 /* | [A-Za-z]:[\\/]*) \
21360 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
21361 libsrcdir="$$s/wdiff";; \
21362 *) \
21363 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
21364 libsrcdir="$$s/wdiff";; \
21365 esac; \
21366 $(SHELL) $${libsrcdir}/configure \
21367 $(HOST_CONFIGARGS) $${srcdiroption} \
21368 || exit 1
21369 @endif wdiff
21371 .PHONY: all-wdiff maybe-all-wdiff
21372 maybe-all-wdiff:
21373 @if wdiff
21374 TARGET-wdiff=all
21375 maybe-all-wdiff: all-wdiff
21376 all-wdiff: configure-wdiff
21377 @r=`${PWD_COMMAND}`; export r; \
21378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21379 $(SET_LIB_PATH) \
21380 $(HOST_EXPORTS) \
21381 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) \
21382 $(TARGET-wdiff))
21383 @endif wdiff
21385 .PHONY: check-wdiff maybe-check-wdiff
21386 maybe-check-wdiff:
21387 @if wdiff
21388 maybe-check-wdiff: check-wdiff
21390 check-wdiff:
21391 @r=`${PWD_COMMAND}`; export r; \
21392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21393 $(SET_LIB_PATH) \
21394 $(HOST_EXPORTS) \
21395 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
21397 @endif wdiff
21399 .PHONY: install-wdiff maybe-install-wdiff
21400 maybe-install-wdiff:
21401 @if wdiff
21402 maybe-install-wdiff: install-wdiff
21404 install-wdiff: installdirs
21405 @r=`${PWD_COMMAND}`; export r; \
21406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21407 $(SET_LIB_PATH) \
21408 $(HOST_EXPORTS) \
21409 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
21411 @endif wdiff
21413 # Other targets (info, dvi, etc.)
21415 .PHONY: maybe-info-wdiff info-wdiff
21416 maybe-info-wdiff:
21417 @if wdiff
21418 maybe-info-wdiff: info-wdiff
21420 info-wdiff: \
21421 configure-wdiff
21422 @[ -f ./wdiff/Makefile ] || exit 0; \
21423 r=`${PWD_COMMAND}`; export r; \
21424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21425 $(SET_LIB_PATH) \
21426 $(HOST_EXPORTS) \
21427 for flag in $(EXTRA_HOST_FLAGS) ; do \
21428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21429 done; \
21430 echo "Doing info in wdiff" ; \
21431 (cd wdiff && \
21432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21434 "RANLIB=$${RANLIB}" \
21435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21436 info) \
21437 || exit 1
21439 @endif wdiff
21441 .PHONY: maybe-dvi-wdiff dvi-wdiff
21442 maybe-dvi-wdiff:
21443 @if wdiff
21444 maybe-dvi-wdiff: dvi-wdiff
21446 dvi-wdiff: \
21447 configure-wdiff
21448 @[ -f ./wdiff/Makefile ] || exit 0; \
21449 r=`${PWD_COMMAND}`; export r; \
21450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21451 $(SET_LIB_PATH) \
21452 $(HOST_EXPORTS) \
21453 for flag in $(EXTRA_HOST_FLAGS) ; do \
21454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21455 done; \
21456 echo "Doing dvi in wdiff" ; \
21457 (cd wdiff && \
21458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21460 "RANLIB=$${RANLIB}" \
21461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21462 dvi) \
21463 || exit 1
21465 @endif wdiff
21467 .PHONY: maybe-html-wdiff html-wdiff
21468 maybe-html-wdiff:
21469 @if wdiff
21470 maybe-html-wdiff: html-wdiff
21472 html-wdiff: \
21473 configure-wdiff
21474 @[ -f ./wdiff/Makefile ] || exit 0; \
21475 r=`${PWD_COMMAND}`; export r; \
21476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21477 $(SET_LIB_PATH) \
21478 $(HOST_EXPORTS) \
21479 for flag in $(EXTRA_HOST_FLAGS) ; do \
21480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21481 done; \
21482 echo "Doing html in wdiff" ; \
21483 (cd wdiff && \
21484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21486 "RANLIB=$${RANLIB}" \
21487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21488 html) \
21489 || exit 1
21491 @endif wdiff
21493 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
21494 maybe-TAGS-wdiff:
21495 @if wdiff
21496 maybe-TAGS-wdiff: TAGS-wdiff
21498 TAGS-wdiff: \
21499 configure-wdiff
21500 @[ -f ./wdiff/Makefile ] || exit 0; \
21501 r=`${PWD_COMMAND}`; export r; \
21502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21503 $(SET_LIB_PATH) \
21504 $(HOST_EXPORTS) \
21505 for flag in $(EXTRA_HOST_FLAGS) ; do \
21506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21507 done; \
21508 echo "Doing TAGS in wdiff" ; \
21509 (cd wdiff && \
21510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21512 "RANLIB=$${RANLIB}" \
21513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21514 TAGS) \
21515 || exit 1
21517 @endif wdiff
21519 .PHONY: maybe-install-info-wdiff install-info-wdiff
21520 maybe-install-info-wdiff:
21521 @if wdiff
21522 maybe-install-info-wdiff: install-info-wdiff
21524 install-info-wdiff: \
21525 configure-wdiff \
21526 info-wdiff
21527 @[ -f ./wdiff/Makefile ] || exit 0; \
21528 r=`${PWD_COMMAND}`; export r; \
21529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21530 $(SET_LIB_PATH) \
21531 $(HOST_EXPORTS) \
21532 for flag in $(EXTRA_HOST_FLAGS) ; do \
21533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21534 done; \
21535 echo "Doing install-info in wdiff" ; \
21536 (cd wdiff && \
21537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21539 "RANLIB=$${RANLIB}" \
21540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21541 install-info) \
21542 || exit 1
21544 @endif wdiff
21546 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
21547 maybe-installcheck-wdiff:
21548 @if wdiff
21549 maybe-installcheck-wdiff: installcheck-wdiff
21551 installcheck-wdiff: \
21552 configure-wdiff
21553 @[ -f ./wdiff/Makefile ] || exit 0; \
21554 r=`${PWD_COMMAND}`; export r; \
21555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21556 $(SET_LIB_PATH) \
21557 $(HOST_EXPORTS) \
21558 for flag in $(EXTRA_HOST_FLAGS) ; do \
21559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21560 done; \
21561 echo "Doing installcheck in wdiff" ; \
21562 (cd wdiff && \
21563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21565 "RANLIB=$${RANLIB}" \
21566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21567 installcheck) \
21568 || exit 1
21570 @endif wdiff
21572 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
21573 maybe-mostlyclean-wdiff:
21574 @if wdiff
21575 maybe-mostlyclean-wdiff: mostlyclean-wdiff
21577 mostlyclean-wdiff:
21578 @[ -f ./wdiff/Makefile ] || exit 0; \
21579 r=`${PWD_COMMAND}`; export r; \
21580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21581 $(SET_LIB_PATH) \
21582 $(HOST_EXPORTS) \
21583 for flag in $(EXTRA_HOST_FLAGS) ; do \
21584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21585 done; \
21586 echo "Doing mostlyclean in wdiff" ; \
21587 (cd wdiff && \
21588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21590 "RANLIB=$${RANLIB}" \
21591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21592 mostlyclean) \
21593 || exit 1
21595 @endif wdiff
21597 .PHONY: maybe-clean-wdiff clean-wdiff
21598 maybe-clean-wdiff:
21599 @if wdiff
21600 maybe-clean-wdiff: clean-wdiff
21602 clean-wdiff:
21603 @[ -f ./wdiff/Makefile ] || exit 0; \
21604 r=`${PWD_COMMAND}`; export r; \
21605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21606 $(SET_LIB_PATH) \
21607 $(HOST_EXPORTS) \
21608 for flag in $(EXTRA_HOST_FLAGS) ; do \
21609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21610 done; \
21611 echo "Doing clean in wdiff" ; \
21612 (cd wdiff && \
21613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21615 "RANLIB=$${RANLIB}" \
21616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21617 clean) \
21618 || exit 1
21620 @endif wdiff
21622 .PHONY: maybe-distclean-wdiff distclean-wdiff
21623 maybe-distclean-wdiff:
21624 @if wdiff
21625 maybe-distclean-wdiff: distclean-wdiff
21627 distclean-wdiff:
21628 @[ -f ./wdiff/Makefile ] || exit 0; \
21629 r=`${PWD_COMMAND}`; export r; \
21630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21631 $(SET_LIB_PATH) \
21632 $(HOST_EXPORTS) \
21633 for flag in $(EXTRA_HOST_FLAGS) ; do \
21634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21635 done; \
21636 echo "Doing distclean in wdiff" ; \
21637 (cd wdiff && \
21638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21640 "RANLIB=$${RANLIB}" \
21641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21642 distclean) \
21643 || exit 1
21645 @endif wdiff
21647 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
21648 maybe-maintainer-clean-wdiff:
21649 @if wdiff
21650 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
21652 maintainer-clean-wdiff:
21653 @[ -f ./wdiff/Makefile ] || exit 0; \
21654 r=`${PWD_COMMAND}`; export r; \
21655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21656 $(SET_LIB_PATH) \
21657 $(HOST_EXPORTS) \
21658 for flag in $(EXTRA_HOST_FLAGS) ; do \
21659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21660 done; \
21661 echo "Doing maintainer-clean in wdiff" ; \
21662 (cd wdiff && \
21663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21665 "RANLIB=$${RANLIB}" \
21666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21667 maintainer-clean) \
21668 || exit 1
21670 @endif wdiff
21673 .PHONY: configure-zip maybe-configure-zip
21674 maybe-configure-zip:
21675 @if zip
21676 maybe-configure-zip: configure-zip
21677 configure-zip:
21678 @test ! -f zip/Makefile || exit 0; \
21679 [ -d zip ] || mkdir zip; \
21680 r=`${PWD_COMMAND}`; export r; \
21681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21682 $(HOST_EXPORTS) \
21683 echo Configuring in zip; \
21684 cd zip || exit 1; \
21685 case $(srcdir) in \
21686 \.) \
21687 srcdiroption="--srcdir=."; \
21688 libsrcdir=".";; \
21689 /* | [A-Za-z]:[\\/]*) \
21690 srcdiroption="--srcdir=$(srcdir)/zip"; \
21691 libsrcdir="$$s/zip";; \
21692 *) \
21693 srcdiroption="--srcdir=../$(srcdir)/zip"; \
21694 libsrcdir="$$s/zip";; \
21695 esac; \
21696 $(SHELL) $${libsrcdir}/configure \
21697 $(HOST_CONFIGARGS) $${srcdiroption} \
21698 || exit 1
21699 @endif zip
21701 .PHONY: all-zip maybe-all-zip
21702 maybe-all-zip:
21703 @if zip
21704 TARGET-zip=all
21705 maybe-all-zip: all-zip
21706 all-zip: configure-zip
21707 @r=`${PWD_COMMAND}`; export r; \
21708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21709 $(SET_LIB_PATH) \
21710 $(HOST_EXPORTS) \
21711 (cd zip && $(MAKE) $(FLAGS_TO_PASS) \
21712 $(TARGET-zip))
21713 @endif zip
21715 .PHONY: check-zip maybe-check-zip
21716 maybe-check-zip:
21717 @if zip
21718 maybe-check-zip: check-zip
21720 # This module is only tested in a native toolchain.
21721 check-zip:
21722 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
21730 @endif zip
21732 .PHONY: install-zip maybe-install-zip
21733 maybe-install-zip:
21734 @if zip
21735 maybe-install-zip: install-zip
21737 install-zip: installdirs
21738 @r=`${PWD_COMMAND}`; export r; \
21739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21740 $(SET_LIB_PATH) \
21741 $(HOST_EXPORTS) \
21742 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
21744 @endif zip
21746 # Other targets (info, dvi, etc.)
21748 .PHONY: maybe-info-zip info-zip
21749 maybe-info-zip:
21750 @if zip
21751 maybe-info-zip: info-zip
21753 info-zip: \
21754 configure-zip
21755 @[ -f ./zip/Makefile ] || exit 0; \
21756 r=`${PWD_COMMAND}`; export r; \
21757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21758 $(SET_LIB_PATH) \
21759 $(HOST_EXPORTS) \
21760 for flag in $(EXTRA_HOST_FLAGS) ; do \
21761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21762 done; \
21763 echo "Doing info in zip" ; \
21764 (cd zip && \
21765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21767 "RANLIB=$${RANLIB}" \
21768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21769 info) \
21770 || exit 1
21772 @endif zip
21774 .PHONY: maybe-dvi-zip dvi-zip
21775 maybe-dvi-zip:
21776 @if zip
21777 maybe-dvi-zip: dvi-zip
21779 dvi-zip: \
21780 configure-zip
21781 @[ -f ./zip/Makefile ] || exit 0; \
21782 r=`${PWD_COMMAND}`; export r; \
21783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21784 $(SET_LIB_PATH) \
21785 $(HOST_EXPORTS) \
21786 for flag in $(EXTRA_HOST_FLAGS) ; do \
21787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21788 done; \
21789 echo "Doing dvi in zip" ; \
21790 (cd zip && \
21791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21793 "RANLIB=$${RANLIB}" \
21794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21795 dvi) \
21796 || exit 1
21798 @endif zip
21800 .PHONY: maybe-html-zip html-zip
21801 maybe-html-zip:
21802 @if zip
21803 maybe-html-zip: html-zip
21805 html-zip: \
21806 configure-zip
21807 @[ -f ./zip/Makefile ] || exit 0; \
21808 r=`${PWD_COMMAND}`; export r; \
21809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21810 $(SET_LIB_PATH) \
21811 $(HOST_EXPORTS) \
21812 for flag in $(EXTRA_HOST_FLAGS) ; do \
21813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21814 done; \
21815 echo "Doing html in zip" ; \
21816 (cd zip && \
21817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21819 "RANLIB=$${RANLIB}" \
21820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21821 html) \
21822 || exit 1
21824 @endif zip
21826 .PHONY: maybe-TAGS-zip TAGS-zip
21827 maybe-TAGS-zip:
21828 @if zip
21829 maybe-TAGS-zip: TAGS-zip
21831 TAGS-zip: \
21832 configure-zip
21833 @[ -f ./zip/Makefile ] || exit 0; \
21834 r=`${PWD_COMMAND}`; export r; \
21835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21836 $(SET_LIB_PATH) \
21837 $(HOST_EXPORTS) \
21838 for flag in $(EXTRA_HOST_FLAGS) ; do \
21839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21840 done; \
21841 echo "Doing TAGS in zip" ; \
21842 (cd zip && \
21843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21845 "RANLIB=$${RANLIB}" \
21846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21847 TAGS) \
21848 || exit 1
21850 @endif zip
21852 .PHONY: maybe-install-info-zip install-info-zip
21853 maybe-install-info-zip:
21854 @if zip
21855 maybe-install-info-zip: install-info-zip
21857 install-info-zip: \
21858 configure-zip \
21859 info-zip
21860 @[ -f ./zip/Makefile ] || exit 0; \
21861 r=`${PWD_COMMAND}`; export r; \
21862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21863 $(SET_LIB_PATH) \
21864 $(HOST_EXPORTS) \
21865 for flag in $(EXTRA_HOST_FLAGS) ; do \
21866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21867 done; \
21868 echo "Doing install-info in zip" ; \
21869 (cd zip && \
21870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21872 "RANLIB=$${RANLIB}" \
21873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21874 install-info) \
21875 || exit 1
21877 @endif zip
21879 .PHONY: maybe-installcheck-zip installcheck-zip
21880 maybe-installcheck-zip:
21881 @if zip
21882 maybe-installcheck-zip: installcheck-zip
21884 installcheck-zip: \
21885 configure-zip
21886 @[ -f ./zip/Makefile ] || exit 0; \
21887 r=`${PWD_COMMAND}`; export r; \
21888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21889 $(SET_LIB_PATH) \
21890 $(HOST_EXPORTS) \
21891 for flag in $(EXTRA_HOST_FLAGS) ; do \
21892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21893 done; \
21894 echo "Doing installcheck in zip" ; \
21895 (cd zip && \
21896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21898 "RANLIB=$${RANLIB}" \
21899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21900 installcheck) \
21901 || exit 1
21903 @endif zip
21905 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
21906 maybe-mostlyclean-zip:
21907 @if zip
21908 maybe-mostlyclean-zip: mostlyclean-zip
21910 mostlyclean-zip:
21911 @[ -f ./zip/Makefile ] || exit 0; \
21912 r=`${PWD_COMMAND}`; export r; \
21913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21914 $(SET_LIB_PATH) \
21915 $(HOST_EXPORTS) \
21916 for flag in $(EXTRA_HOST_FLAGS) ; do \
21917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21918 done; \
21919 echo "Doing mostlyclean in zip" ; \
21920 (cd zip && \
21921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21923 "RANLIB=$${RANLIB}" \
21924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21925 mostlyclean) \
21926 || exit 1
21928 @endif zip
21930 .PHONY: maybe-clean-zip clean-zip
21931 maybe-clean-zip:
21932 @if zip
21933 maybe-clean-zip: clean-zip
21935 clean-zip:
21936 @[ -f ./zip/Makefile ] || exit 0; \
21937 r=`${PWD_COMMAND}`; export r; \
21938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21939 $(SET_LIB_PATH) \
21940 $(HOST_EXPORTS) \
21941 for flag in $(EXTRA_HOST_FLAGS) ; do \
21942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21943 done; \
21944 echo "Doing clean in zip" ; \
21945 (cd zip && \
21946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21948 "RANLIB=$${RANLIB}" \
21949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21950 clean) \
21951 || exit 1
21953 @endif zip
21955 .PHONY: maybe-distclean-zip distclean-zip
21956 maybe-distclean-zip:
21957 @if zip
21958 maybe-distclean-zip: distclean-zip
21960 distclean-zip:
21961 @[ -f ./zip/Makefile ] || exit 0; \
21962 r=`${PWD_COMMAND}`; export r; \
21963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21964 $(SET_LIB_PATH) \
21965 $(HOST_EXPORTS) \
21966 for flag in $(EXTRA_HOST_FLAGS) ; do \
21967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21968 done; \
21969 echo "Doing distclean in zip" ; \
21970 (cd zip && \
21971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21973 "RANLIB=$${RANLIB}" \
21974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21975 distclean) \
21976 || exit 1
21978 @endif zip
21980 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
21981 maybe-maintainer-clean-zip:
21982 @if zip
21983 maybe-maintainer-clean-zip: maintainer-clean-zip
21985 maintainer-clean-zip:
21986 @[ -f ./zip/Makefile ] || exit 0; \
21987 r=`${PWD_COMMAND}`; export r; \
21988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21989 $(SET_LIB_PATH) \
21990 $(HOST_EXPORTS) \
21991 for flag in $(EXTRA_HOST_FLAGS) ; do \
21992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21993 done; \
21994 echo "Doing maintainer-clean in zip" ; \
21995 (cd zip && \
21996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21998 "RANLIB=$${RANLIB}" \
21999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22000 maintainer-clean) \
22001 || exit 1
22003 @endif zip
22006 .PHONY: configure-zlib maybe-configure-zlib
22007 maybe-configure-zlib:
22008 @if zlib
22009 maybe-configure-zlib: configure-zlib
22010 configure-zlib:
22011 @test -f stage_last && exit 0; \
22012 test ! -f zlib/Makefile || exit 0; \
22013 [ -d zlib ] || mkdir zlib; \
22014 r=`${PWD_COMMAND}`; export r; \
22015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22016 $(HOST_EXPORTS) \
22017 echo Configuring in zlib; \
22018 cd zlib || exit 1; \
22019 case $(srcdir) in \
22020 \.) \
22021 srcdiroption="--srcdir=."; \
22022 libsrcdir=".";; \
22023 /* | [A-Za-z]:[\\/]*) \
22024 srcdiroption="--srcdir=$(srcdir)/zlib"; \
22025 libsrcdir="$$s/zlib";; \
22026 *) \
22027 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
22028 libsrcdir="$$s/zlib";; \
22029 esac; \
22030 $(SHELL) $${libsrcdir}/configure \
22031 $(HOST_CONFIGARGS) $${srcdiroption} \
22032 || exit 1
22033 @endif zlib
22035 .PHONY: all-zlib maybe-all-zlib
22036 maybe-all-zlib:
22037 @if zlib
22038 TARGET-zlib=all
22039 maybe-all-zlib: all-zlib
22040 all-zlib: configure-zlib
22041 @test -f stage_last && exit 0; \
22042 r=`${PWD_COMMAND}`; export r; \
22043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22044 $(SET_LIB_PATH) \
22045 $(HOST_EXPORTS) \
22046 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) \
22047 $(TARGET-zlib))
22048 @endif zlib
22050 .PHONY: check-zlib maybe-check-zlib
22051 maybe-check-zlib:
22052 @if zlib
22053 maybe-check-zlib: check-zlib
22055 check-zlib:
22057 @endif zlib
22059 .PHONY: install-zlib maybe-install-zlib
22060 maybe-install-zlib:
22061 @if zlib
22062 maybe-install-zlib: install-zlib
22064 install-zlib:
22066 @endif zlib
22068 # Other targets (info, dvi, etc.)
22070 .PHONY: maybe-info-zlib info-zlib
22071 maybe-info-zlib:
22072 @if zlib
22073 maybe-info-zlib: info-zlib
22075 info-zlib: \
22076 configure-zlib
22077 @[ -f ./zlib/Makefile ] || exit 0; \
22078 r=`${PWD_COMMAND}`; export r; \
22079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22080 $(SET_LIB_PATH) \
22081 $(HOST_EXPORTS) \
22082 for flag in $(EXTRA_HOST_FLAGS) ; do \
22083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22084 done; \
22085 echo "Doing info in zlib" ; \
22086 (cd zlib && \
22087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22089 "RANLIB=$${RANLIB}" \
22090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22091 info) \
22092 || exit 1
22094 @endif zlib
22096 .PHONY: maybe-dvi-zlib dvi-zlib
22097 maybe-dvi-zlib:
22098 @if zlib
22099 maybe-dvi-zlib: dvi-zlib
22101 dvi-zlib: \
22102 configure-zlib
22103 @[ -f ./zlib/Makefile ] || exit 0; \
22104 r=`${PWD_COMMAND}`; export r; \
22105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22106 $(SET_LIB_PATH) \
22107 $(HOST_EXPORTS) \
22108 for flag in $(EXTRA_HOST_FLAGS) ; do \
22109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22110 done; \
22111 echo "Doing dvi in zlib" ; \
22112 (cd zlib && \
22113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22115 "RANLIB=$${RANLIB}" \
22116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22117 dvi) \
22118 || exit 1
22120 @endif zlib
22122 .PHONY: maybe-html-zlib html-zlib
22123 maybe-html-zlib:
22124 @if zlib
22125 maybe-html-zlib: html-zlib
22127 html-zlib: \
22128 configure-zlib
22129 @[ -f ./zlib/Makefile ] || exit 0; \
22130 r=`${PWD_COMMAND}`; export r; \
22131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22132 $(SET_LIB_PATH) \
22133 $(HOST_EXPORTS) \
22134 for flag in $(EXTRA_HOST_FLAGS) ; do \
22135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22136 done; \
22137 echo "Doing html in zlib" ; \
22138 (cd zlib && \
22139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22141 "RANLIB=$${RANLIB}" \
22142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22143 html) \
22144 || exit 1
22146 @endif zlib
22148 .PHONY: maybe-TAGS-zlib TAGS-zlib
22149 maybe-TAGS-zlib:
22150 @if zlib
22151 maybe-TAGS-zlib: TAGS-zlib
22153 TAGS-zlib: \
22154 configure-zlib
22155 @[ -f ./zlib/Makefile ] || exit 0; \
22156 r=`${PWD_COMMAND}`; export r; \
22157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22158 $(SET_LIB_PATH) \
22159 $(HOST_EXPORTS) \
22160 for flag in $(EXTRA_HOST_FLAGS) ; do \
22161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22162 done; \
22163 echo "Doing TAGS in zlib" ; \
22164 (cd zlib && \
22165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22167 "RANLIB=$${RANLIB}" \
22168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22169 TAGS) \
22170 || exit 1
22172 @endif zlib
22174 .PHONY: maybe-install-info-zlib install-info-zlib
22175 maybe-install-info-zlib:
22176 @if zlib
22177 maybe-install-info-zlib: install-info-zlib
22179 install-info-zlib: \
22180 configure-zlib \
22181 info-zlib
22182 @[ -f ./zlib/Makefile ] || exit 0; \
22183 r=`${PWD_COMMAND}`; export r; \
22184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22185 $(SET_LIB_PATH) \
22186 $(HOST_EXPORTS) \
22187 for flag in $(EXTRA_HOST_FLAGS) ; do \
22188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22189 done; \
22190 echo "Doing install-info in zlib" ; \
22191 (cd zlib && \
22192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22194 "RANLIB=$${RANLIB}" \
22195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22196 install-info) \
22197 || exit 1
22199 @endif zlib
22201 .PHONY: maybe-installcheck-zlib installcheck-zlib
22202 maybe-installcheck-zlib:
22203 @if zlib
22204 maybe-installcheck-zlib: installcheck-zlib
22206 installcheck-zlib: \
22207 configure-zlib
22208 @[ -f ./zlib/Makefile ] || exit 0; \
22209 r=`${PWD_COMMAND}`; export r; \
22210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22211 $(SET_LIB_PATH) \
22212 $(HOST_EXPORTS) \
22213 for flag in $(EXTRA_HOST_FLAGS) ; do \
22214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22215 done; \
22216 echo "Doing installcheck in zlib" ; \
22217 (cd zlib && \
22218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22220 "RANLIB=$${RANLIB}" \
22221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22222 installcheck) \
22223 || exit 1
22225 @endif zlib
22227 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
22228 maybe-mostlyclean-zlib:
22229 @if zlib
22230 maybe-mostlyclean-zlib: mostlyclean-zlib
22232 mostlyclean-zlib:
22233 @[ -f ./zlib/Makefile ] || exit 0; \
22234 r=`${PWD_COMMAND}`; export r; \
22235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22236 $(SET_LIB_PATH) \
22237 $(HOST_EXPORTS) \
22238 for flag in $(EXTRA_HOST_FLAGS) ; do \
22239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22240 done; \
22241 echo "Doing mostlyclean in zlib" ; \
22242 (cd zlib && \
22243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22245 "RANLIB=$${RANLIB}" \
22246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22247 mostlyclean) \
22248 || exit 1
22250 @endif zlib
22252 .PHONY: maybe-clean-zlib clean-zlib
22253 maybe-clean-zlib:
22254 @if zlib
22255 maybe-clean-zlib: clean-zlib
22257 clean-zlib:
22258 @[ -f ./zlib/Makefile ] || exit 0; \
22259 r=`${PWD_COMMAND}`; export r; \
22260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22261 $(SET_LIB_PATH) \
22262 $(HOST_EXPORTS) \
22263 for flag in $(EXTRA_HOST_FLAGS) ; do \
22264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22265 done; \
22266 echo "Doing clean in zlib" ; \
22267 (cd zlib && \
22268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22270 "RANLIB=$${RANLIB}" \
22271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22272 clean) \
22273 || exit 1
22275 @endif zlib
22277 .PHONY: maybe-distclean-zlib distclean-zlib
22278 maybe-distclean-zlib:
22279 @if zlib
22280 maybe-distclean-zlib: distclean-zlib
22282 distclean-zlib:
22283 @[ -f ./zlib/Makefile ] || exit 0; \
22284 r=`${PWD_COMMAND}`; export r; \
22285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22286 $(SET_LIB_PATH) \
22287 $(HOST_EXPORTS) \
22288 for flag in $(EXTRA_HOST_FLAGS) ; do \
22289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22290 done; \
22291 echo "Doing distclean in zlib" ; \
22292 (cd zlib && \
22293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22295 "RANLIB=$${RANLIB}" \
22296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22297 distclean) \
22298 || exit 1
22300 @endif zlib
22302 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
22303 maybe-maintainer-clean-zlib:
22304 @if zlib
22305 maybe-maintainer-clean-zlib: maintainer-clean-zlib
22307 maintainer-clean-zlib:
22308 @[ -f ./zlib/Makefile ] || exit 0; \
22309 r=`${PWD_COMMAND}`; export r; \
22310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22311 $(SET_LIB_PATH) \
22312 $(HOST_EXPORTS) \
22313 for flag in $(EXTRA_HOST_FLAGS) ; do \
22314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22315 done; \
22316 echo "Doing maintainer-clean in zlib" ; \
22317 (cd zlib && \
22318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22320 "RANLIB=$${RANLIB}" \
22321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22322 maintainer-clean) \
22323 || exit 1
22325 @endif zlib
22328 .PHONY: configure-gdb maybe-configure-gdb
22329 maybe-configure-gdb:
22330 @if gdb
22331 maybe-configure-gdb: configure-gdb
22332 configure-gdb:
22333 @test ! -f gdb/Makefile || exit 0; \
22334 [ -d gdb ] || mkdir gdb; \
22335 r=`${PWD_COMMAND}`; export r; \
22336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22337 $(HOST_EXPORTS) \
22338 echo Configuring in gdb; \
22339 cd gdb || exit 1; \
22340 case $(srcdir) in \
22341 \.) \
22342 srcdiroption="--srcdir=."; \
22343 libsrcdir=".";; \
22344 /* | [A-Za-z]:[\\/]*) \
22345 srcdiroption="--srcdir=$(srcdir)/gdb"; \
22346 libsrcdir="$$s/gdb";; \
22347 *) \
22348 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
22349 libsrcdir="$$s/gdb";; \
22350 esac; \
22351 $(SHELL) $${libsrcdir}/configure \
22352 $(HOST_CONFIGARGS) $${srcdiroption} \
22353 || exit 1
22354 @endif gdb
22356 .PHONY: all-gdb maybe-all-gdb
22357 maybe-all-gdb:
22358 @if gdb
22359 TARGET-gdb=all
22360 maybe-all-gdb: all-gdb
22361 all-gdb: configure-gdb
22362 @r=`${PWD_COMMAND}`; export r; \
22363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22364 $(SET_LIB_PATH) \
22365 $(HOST_EXPORTS) \
22366 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22367 $(TARGET-gdb))
22368 @endif gdb
22370 .PHONY: check-gdb maybe-check-gdb
22371 maybe-check-gdb:
22372 @if gdb
22373 maybe-check-gdb: check-gdb
22375 check-gdb:
22376 @r=`${PWD_COMMAND}`; export r; \
22377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22378 $(SET_LIB_PATH) \
22379 $(HOST_EXPORTS) \
22380 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22382 @endif gdb
22384 .PHONY: install-gdb maybe-install-gdb
22385 maybe-install-gdb:
22386 @if gdb
22387 maybe-install-gdb: install-gdb
22389 install-gdb: installdirs
22390 @r=`${PWD_COMMAND}`; export r; \
22391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22392 $(SET_LIB_PATH) \
22393 $(HOST_EXPORTS) \
22394 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22396 @endif gdb
22398 # Other targets (info, dvi, etc.)
22400 .PHONY: maybe-info-gdb info-gdb
22401 maybe-info-gdb:
22402 @if gdb
22403 maybe-info-gdb: info-gdb
22405 info-gdb: \
22406 configure-gdb
22407 @[ -f ./gdb/Makefile ] || exit 0; \
22408 r=`${PWD_COMMAND}`; export r; \
22409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22410 $(SET_LIB_PATH) \
22411 $(HOST_EXPORTS) \
22412 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22414 done; \
22415 echo "Doing info in gdb" ; \
22416 (cd gdb && \
22417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22419 "RANLIB=$${RANLIB}" \
22420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22421 info) \
22422 || exit 1
22424 @endif gdb
22426 .PHONY: maybe-dvi-gdb dvi-gdb
22427 maybe-dvi-gdb:
22428 @if gdb
22429 maybe-dvi-gdb: dvi-gdb
22431 dvi-gdb: \
22432 configure-gdb
22433 @[ -f ./gdb/Makefile ] || exit 0; \
22434 r=`${PWD_COMMAND}`; export r; \
22435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22436 $(SET_LIB_PATH) \
22437 $(HOST_EXPORTS) \
22438 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22440 done; \
22441 echo "Doing dvi in gdb" ; \
22442 (cd gdb && \
22443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22445 "RANLIB=$${RANLIB}" \
22446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22447 dvi) \
22448 || exit 1
22450 @endif gdb
22452 .PHONY: maybe-html-gdb html-gdb
22453 maybe-html-gdb:
22454 @if gdb
22455 maybe-html-gdb: html-gdb
22457 html-gdb: \
22458 configure-gdb
22459 @[ -f ./gdb/Makefile ] || exit 0; \
22460 r=`${PWD_COMMAND}`; export r; \
22461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22462 $(SET_LIB_PATH) \
22463 $(HOST_EXPORTS) \
22464 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22466 done; \
22467 echo "Doing html in gdb" ; \
22468 (cd gdb && \
22469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22471 "RANLIB=$${RANLIB}" \
22472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22473 html) \
22474 || exit 1
22476 @endif gdb
22478 .PHONY: maybe-TAGS-gdb TAGS-gdb
22479 maybe-TAGS-gdb:
22480 @if gdb
22481 maybe-TAGS-gdb: TAGS-gdb
22483 TAGS-gdb: \
22484 configure-gdb
22485 @[ -f ./gdb/Makefile ] || exit 0; \
22486 r=`${PWD_COMMAND}`; export r; \
22487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22488 $(SET_LIB_PATH) \
22489 $(HOST_EXPORTS) \
22490 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22492 done; \
22493 echo "Doing TAGS in gdb" ; \
22494 (cd gdb && \
22495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22497 "RANLIB=$${RANLIB}" \
22498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22499 TAGS) \
22500 || exit 1
22502 @endif gdb
22504 .PHONY: maybe-install-info-gdb install-info-gdb
22505 maybe-install-info-gdb:
22506 @if gdb
22507 maybe-install-info-gdb: install-info-gdb
22509 install-info-gdb: \
22510 configure-gdb \
22511 info-gdb
22512 @[ -f ./gdb/Makefile ] || exit 0; \
22513 r=`${PWD_COMMAND}`; export r; \
22514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22515 $(SET_LIB_PATH) \
22516 $(HOST_EXPORTS) \
22517 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22519 done; \
22520 echo "Doing install-info in gdb" ; \
22521 (cd gdb && \
22522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22524 "RANLIB=$${RANLIB}" \
22525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22526 install-info) \
22527 || exit 1
22529 @endif gdb
22531 .PHONY: maybe-installcheck-gdb installcheck-gdb
22532 maybe-installcheck-gdb:
22533 @if gdb
22534 maybe-installcheck-gdb: installcheck-gdb
22536 installcheck-gdb: \
22537 configure-gdb
22538 @[ -f ./gdb/Makefile ] || exit 0; \
22539 r=`${PWD_COMMAND}`; export r; \
22540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22541 $(SET_LIB_PATH) \
22542 $(HOST_EXPORTS) \
22543 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22545 done; \
22546 echo "Doing installcheck in gdb" ; \
22547 (cd gdb && \
22548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22550 "RANLIB=$${RANLIB}" \
22551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22552 installcheck) \
22553 || exit 1
22555 @endif gdb
22557 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
22558 maybe-mostlyclean-gdb:
22559 @if gdb
22560 maybe-mostlyclean-gdb: mostlyclean-gdb
22562 mostlyclean-gdb:
22563 @[ -f ./gdb/Makefile ] || exit 0; \
22564 r=`${PWD_COMMAND}`; export r; \
22565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22566 $(SET_LIB_PATH) \
22567 $(HOST_EXPORTS) \
22568 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22570 done; \
22571 echo "Doing mostlyclean in gdb" ; \
22572 (cd gdb && \
22573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22575 "RANLIB=$${RANLIB}" \
22576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22577 mostlyclean) \
22578 || exit 1
22580 @endif gdb
22582 .PHONY: maybe-clean-gdb clean-gdb
22583 maybe-clean-gdb:
22584 @if gdb
22585 maybe-clean-gdb: clean-gdb
22587 clean-gdb:
22588 @[ -f ./gdb/Makefile ] || exit 0; \
22589 r=`${PWD_COMMAND}`; export r; \
22590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22591 $(SET_LIB_PATH) \
22592 $(HOST_EXPORTS) \
22593 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22595 done; \
22596 echo "Doing clean in gdb" ; \
22597 (cd gdb && \
22598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22600 "RANLIB=$${RANLIB}" \
22601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22602 clean) \
22603 || exit 1
22605 @endif gdb
22607 .PHONY: maybe-distclean-gdb distclean-gdb
22608 maybe-distclean-gdb:
22609 @if gdb
22610 maybe-distclean-gdb: distclean-gdb
22612 distclean-gdb:
22613 @[ -f ./gdb/Makefile ] || exit 0; \
22614 r=`${PWD_COMMAND}`; export r; \
22615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22616 $(SET_LIB_PATH) \
22617 $(HOST_EXPORTS) \
22618 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22620 done; \
22621 echo "Doing distclean in gdb" ; \
22622 (cd gdb && \
22623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22625 "RANLIB=$${RANLIB}" \
22626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22627 distclean) \
22628 || exit 1
22630 @endif gdb
22632 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
22633 maybe-maintainer-clean-gdb:
22634 @if gdb
22635 maybe-maintainer-clean-gdb: maintainer-clean-gdb
22637 maintainer-clean-gdb:
22638 @[ -f ./gdb/Makefile ] || exit 0; \
22639 r=`${PWD_COMMAND}`; export r; \
22640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22641 $(SET_LIB_PATH) \
22642 $(HOST_EXPORTS) \
22643 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22645 done; \
22646 echo "Doing maintainer-clean in gdb" ; \
22647 (cd gdb && \
22648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22650 "RANLIB=$${RANLIB}" \
22651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22652 maintainer-clean) \
22653 || exit 1
22655 @endif gdb
22658 .PHONY: configure-expect maybe-configure-expect
22659 maybe-configure-expect:
22660 @if expect
22661 maybe-configure-expect: configure-expect
22662 configure-expect:
22663 @test ! -f expect/Makefile || exit 0; \
22664 [ -d expect ] || mkdir expect; \
22665 r=`${PWD_COMMAND}`; export r; \
22666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22667 $(HOST_EXPORTS) \
22668 echo Configuring in expect; \
22669 cd expect || exit 1; \
22670 case $(srcdir) in \
22671 \.) \
22672 srcdiroption="--srcdir=."; \
22673 libsrcdir=".";; \
22674 /* | [A-Za-z]:[\\/]*) \
22675 srcdiroption="--srcdir=$(srcdir)/expect"; \
22676 libsrcdir="$$s/expect";; \
22677 *) \
22678 srcdiroption="--srcdir=../$(srcdir)/expect"; \
22679 libsrcdir="$$s/expect";; \
22680 esac; \
22681 $(SHELL) $${libsrcdir}/configure \
22682 $(HOST_CONFIGARGS) $${srcdiroption} \
22683 || exit 1
22684 @endif expect
22686 .PHONY: all-expect maybe-all-expect
22687 maybe-all-expect:
22688 @if expect
22689 TARGET-expect=all
22690 maybe-all-expect: all-expect
22691 all-expect: configure-expect
22692 @r=`${PWD_COMMAND}`; export r; \
22693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22694 $(SET_LIB_PATH) \
22695 $(HOST_EXPORTS) \
22696 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22697 $(TARGET-expect))
22698 @endif expect
22700 .PHONY: check-expect maybe-check-expect
22701 maybe-check-expect:
22702 @if expect
22703 maybe-check-expect: check-expect
22705 check-expect:
22706 @r=`${PWD_COMMAND}`; export r; \
22707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22708 $(SET_LIB_PATH) \
22709 $(HOST_EXPORTS) \
22710 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22712 @endif expect
22714 .PHONY: install-expect maybe-install-expect
22715 maybe-install-expect:
22716 @if expect
22717 maybe-install-expect: install-expect
22719 install-expect: installdirs
22720 @r=`${PWD_COMMAND}`; export r; \
22721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22722 $(SET_LIB_PATH) \
22723 $(HOST_EXPORTS) \
22724 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22726 @endif expect
22728 # Other targets (info, dvi, etc.)
22730 .PHONY: maybe-info-expect info-expect
22731 maybe-info-expect:
22732 @if expect
22733 maybe-info-expect: info-expect
22735 info-expect: \
22736 configure-expect
22737 @[ -f ./expect/Makefile ] || exit 0; \
22738 r=`${PWD_COMMAND}`; export r; \
22739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22740 $(SET_LIB_PATH) \
22741 $(HOST_EXPORTS) \
22742 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22744 done; \
22745 echo "Doing info in expect" ; \
22746 (cd expect && \
22747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22749 "RANLIB=$${RANLIB}" \
22750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22751 info) \
22752 || exit 1
22754 @endif expect
22756 .PHONY: maybe-dvi-expect dvi-expect
22757 maybe-dvi-expect:
22758 @if expect
22759 maybe-dvi-expect: dvi-expect
22761 dvi-expect: \
22762 configure-expect
22763 @[ -f ./expect/Makefile ] || exit 0; \
22764 r=`${PWD_COMMAND}`; export r; \
22765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22766 $(SET_LIB_PATH) \
22767 $(HOST_EXPORTS) \
22768 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22770 done; \
22771 echo "Doing dvi in expect" ; \
22772 (cd expect && \
22773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22775 "RANLIB=$${RANLIB}" \
22776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22777 dvi) \
22778 || exit 1
22780 @endif expect
22782 .PHONY: maybe-html-expect html-expect
22783 maybe-html-expect:
22784 @if expect
22785 maybe-html-expect: html-expect
22787 html-expect: \
22788 configure-expect
22789 @[ -f ./expect/Makefile ] || exit 0; \
22790 r=`${PWD_COMMAND}`; export r; \
22791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22792 $(SET_LIB_PATH) \
22793 $(HOST_EXPORTS) \
22794 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22796 done; \
22797 echo "Doing html in expect" ; \
22798 (cd expect && \
22799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22801 "RANLIB=$${RANLIB}" \
22802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22803 html) \
22804 || exit 1
22806 @endif expect
22808 .PHONY: maybe-TAGS-expect TAGS-expect
22809 maybe-TAGS-expect:
22810 @if expect
22811 maybe-TAGS-expect: TAGS-expect
22813 TAGS-expect: \
22814 configure-expect
22815 @[ -f ./expect/Makefile ] || exit 0; \
22816 r=`${PWD_COMMAND}`; export r; \
22817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22818 $(SET_LIB_PATH) \
22819 $(HOST_EXPORTS) \
22820 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22822 done; \
22823 echo "Doing TAGS in expect" ; \
22824 (cd expect && \
22825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22827 "RANLIB=$${RANLIB}" \
22828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22829 TAGS) \
22830 || exit 1
22832 @endif expect
22834 .PHONY: maybe-install-info-expect install-info-expect
22835 maybe-install-info-expect:
22836 @if expect
22837 maybe-install-info-expect: install-info-expect
22839 install-info-expect: \
22840 configure-expect \
22841 info-expect
22842 @[ -f ./expect/Makefile ] || exit 0; \
22843 r=`${PWD_COMMAND}`; export r; \
22844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22845 $(SET_LIB_PATH) \
22846 $(HOST_EXPORTS) \
22847 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22849 done; \
22850 echo "Doing install-info in expect" ; \
22851 (cd expect && \
22852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22854 "RANLIB=$${RANLIB}" \
22855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22856 install-info) \
22857 || exit 1
22859 @endif expect
22861 .PHONY: maybe-installcheck-expect installcheck-expect
22862 maybe-installcheck-expect:
22863 @if expect
22864 maybe-installcheck-expect: installcheck-expect
22866 installcheck-expect: \
22867 configure-expect
22868 @[ -f ./expect/Makefile ] || exit 0; \
22869 r=`${PWD_COMMAND}`; export r; \
22870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22871 $(SET_LIB_PATH) \
22872 $(HOST_EXPORTS) \
22873 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22875 done; \
22876 echo "Doing installcheck in expect" ; \
22877 (cd expect && \
22878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22880 "RANLIB=$${RANLIB}" \
22881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22882 installcheck) \
22883 || exit 1
22885 @endif expect
22887 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
22888 maybe-mostlyclean-expect:
22889 @if expect
22890 maybe-mostlyclean-expect: mostlyclean-expect
22892 mostlyclean-expect:
22893 @[ -f ./expect/Makefile ] || exit 0; \
22894 r=`${PWD_COMMAND}`; export r; \
22895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22896 $(SET_LIB_PATH) \
22897 $(HOST_EXPORTS) \
22898 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22900 done; \
22901 echo "Doing mostlyclean in expect" ; \
22902 (cd expect && \
22903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22905 "RANLIB=$${RANLIB}" \
22906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22907 mostlyclean) \
22908 || exit 1
22910 @endif expect
22912 .PHONY: maybe-clean-expect clean-expect
22913 maybe-clean-expect:
22914 @if expect
22915 maybe-clean-expect: clean-expect
22917 clean-expect:
22918 @[ -f ./expect/Makefile ] || exit 0; \
22919 r=`${PWD_COMMAND}`; export r; \
22920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22921 $(SET_LIB_PATH) \
22922 $(HOST_EXPORTS) \
22923 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22925 done; \
22926 echo "Doing clean in expect" ; \
22927 (cd expect && \
22928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22930 "RANLIB=$${RANLIB}" \
22931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22932 clean) \
22933 || exit 1
22935 @endif expect
22937 .PHONY: maybe-distclean-expect distclean-expect
22938 maybe-distclean-expect:
22939 @if expect
22940 maybe-distclean-expect: distclean-expect
22942 distclean-expect:
22943 @[ -f ./expect/Makefile ] || exit 0; \
22944 r=`${PWD_COMMAND}`; export r; \
22945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22946 $(SET_LIB_PATH) \
22947 $(HOST_EXPORTS) \
22948 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22950 done; \
22951 echo "Doing distclean in expect" ; \
22952 (cd expect && \
22953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22955 "RANLIB=$${RANLIB}" \
22956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22957 distclean) \
22958 || exit 1
22960 @endif expect
22962 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
22963 maybe-maintainer-clean-expect:
22964 @if expect
22965 maybe-maintainer-clean-expect: maintainer-clean-expect
22967 maintainer-clean-expect:
22968 @[ -f ./expect/Makefile ] || exit 0; \
22969 r=`${PWD_COMMAND}`; export r; \
22970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22971 $(SET_LIB_PATH) \
22972 $(HOST_EXPORTS) \
22973 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22975 done; \
22976 echo "Doing maintainer-clean in expect" ; \
22977 (cd expect && \
22978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22980 "RANLIB=$${RANLIB}" \
22981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22982 maintainer-clean) \
22983 || exit 1
22985 @endif expect
22988 .PHONY: configure-guile maybe-configure-guile
22989 maybe-configure-guile:
22990 @if guile
22991 maybe-configure-guile: configure-guile
22992 configure-guile:
22993 @test ! -f guile/Makefile || exit 0; \
22994 [ -d guile ] || mkdir guile; \
22995 r=`${PWD_COMMAND}`; export r; \
22996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22997 $(HOST_EXPORTS) \
22998 echo Configuring in guile; \
22999 cd guile || exit 1; \
23000 case $(srcdir) in \
23001 \.) \
23002 srcdiroption="--srcdir=."; \
23003 libsrcdir=".";; \
23004 /* | [A-Za-z]:[\\/]*) \
23005 srcdiroption="--srcdir=$(srcdir)/guile"; \
23006 libsrcdir="$$s/guile";; \
23007 *) \
23008 srcdiroption="--srcdir=../$(srcdir)/guile"; \
23009 libsrcdir="$$s/guile";; \
23010 esac; \
23011 $(SHELL) $${libsrcdir}/configure \
23012 $(HOST_CONFIGARGS) $${srcdiroption} \
23013 || exit 1
23014 @endif guile
23016 .PHONY: all-guile maybe-all-guile
23017 maybe-all-guile:
23018 @if guile
23019 TARGET-guile=all
23020 maybe-all-guile: all-guile
23021 all-guile: configure-guile
23022 @r=`${PWD_COMMAND}`; export r; \
23023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23024 $(SET_LIB_PATH) \
23025 $(HOST_EXPORTS) \
23026 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23027 $(TARGET-guile))
23028 @endif guile
23030 .PHONY: check-guile maybe-check-guile
23031 maybe-check-guile:
23032 @if guile
23033 maybe-check-guile: check-guile
23035 check-guile:
23036 @r=`${PWD_COMMAND}`; export r; \
23037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23038 $(SET_LIB_PATH) \
23039 $(HOST_EXPORTS) \
23040 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23042 @endif guile
23044 .PHONY: install-guile maybe-install-guile
23045 maybe-install-guile:
23046 @if guile
23047 maybe-install-guile: install-guile
23049 install-guile: installdirs
23050 @r=`${PWD_COMMAND}`; export r; \
23051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23052 $(SET_LIB_PATH) \
23053 $(HOST_EXPORTS) \
23054 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23056 @endif guile
23058 # Other targets (info, dvi, etc.)
23060 .PHONY: maybe-info-guile info-guile
23061 maybe-info-guile:
23062 @if guile
23063 maybe-info-guile: info-guile
23065 info-guile: \
23066 configure-guile
23067 @[ -f ./guile/Makefile ] || exit 0; \
23068 r=`${PWD_COMMAND}`; export r; \
23069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23070 $(SET_LIB_PATH) \
23071 $(HOST_EXPORTS) \
23072 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23074 done; \
23075 echo "Doing info in guile" ; \
23076 (cd guile && \
23077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23079 "RANLIB=$${RANLIB}" \
23080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23081 info) \
23082 || exit 1
23084 @endif guile
23086 .PHONY: maybe-dvi-guile dvi-guile
23087 maybe-dvi-guile:
23088 @if guile
23089 maybe-dvi-guile: dvi-guile
23091 dvi-guile: \
23092 configure-guile
23093 @[ -f ./guile/Makefile ] || exit 0; \
23094 r=`${PWD_COMMAND}`; export r; \
23095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23096 $(SET_LIB_PATH) \
23097 $(HOST_EXPORTS) \
23098 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23100 done; \
23101 echo "Doing dvi in guile" ; \
23102 (cd guile && \
23103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23105 "RANLIB=$${RANLIB}" \
23106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23107 dvi) \
23108 || exit 1
23110 @endif guile
23112 .PHONY: maybe-html-guile html-guile
23113 maybe-html-guile:
23114 @if guile
23115 maybe-html-guile: html-guile
23117 html-guile: \
23118 configure-guile
23119 @[ -f ./guile/Makefile ] || exit 0; \
23120 r=`${PWD_COMMAND}`; export r; \
23121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23122 $(SET_LIB_PATH) \
23123 $(HOST_EXPORTS) \
23124 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23126 done; \
23127 echo "Doing html in guile" ; \
23128 (cd guile && \
23129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23131 "RANLIB=$${RANLIB}" \
23132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23133 html) \
23134 || exit 1
23136 @endif guile
23138 .PHONY: maybe-TAGS-guile TAGS-guile
23139 maybe-TAGS-guile:
23140 @if guile
23141 maybe-TAGS-guile: TAGS-guile
23143 TAGS-guile: \
23144 configure-guile
23145 @[ -f ./guile/Makefile ] || exit 0; \
23146 r=`${PWD_COMMAND}`; export r; \
23147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23148 $(SET_LIB_PATH) \
23149 $(HOST_EXPORTS) \
23150 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23152 done; \
23153 echo "Doing TAGS in guile" ; \
23154 (cd guile && \
23155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23157 "RANLIB=$${RANLIB}" \
23158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23159 TAGS) \
23160 || exit 1
23162 @endif guile
23164 .PHONY: maybe-install-info-guile install-info-guile
23165 maybe-install-info-guile:
23166 @if guile
23167 maybe-install-info-guile: install-info-guile
23169 install-info-guile: \
23170 configure-guile \
23171 info-guile
23172 @[ -f ./guile/Makefile ] || exit 0; \
23173 r=`${PWD_COMMAND}`; export r; \
23174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23175 $(SET_LIB_PATH) \
23176 $(HOST_EXPORTS) \
23177 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23179 done; \
23180 echo "Doing install-info in guile" ; \
23181 (cd guile && \
23182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23184 "RANLIB=$${RANLIB}" \
23185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23186 install-info) \
23187 || exit 1
23189 @endif guile
23191 .PHONY: maybe-installcheck-guile installcheck-guile
23192 maybe-installcheck-guile:
23193 @if guile
23194 maybe-installcheck-guile: installcheck-guile
23196 installcheck-guile: \
23197 configure-guile
23198 @[ -f ./guile/Makefile ] || exit 0; \
23199 r=`${PWD_COMMAND}`; export r; \
23200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23201 $(SET_LIB_PATH) \
23202 $(HOST_EXPORTS) \
23203 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23205 done; \
23206 echo "Doing installcheck in guile" ; \
23207 (cd guile && \
23208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23210 "RANLIB=$${RANLIB}" \
23211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23212 installcheck) \
23213 || exit 1
23215 @endif guile
23217 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
23218 maybe-mostlyclean-guile:
23219 @if guile
23220 maybe-mostlyclean-guile: mostlyclean-guile
23222 mostlyclean-guile:
23223 @[ -f ./guile/Makefile ] || exit 0; \
23224 r=`${PWD_COMMAND}`; export r; \
23225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23226 $(SET_LIB_PATH) \
23227 $(HOST_EXPORTS) \
23228 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23230 done; \
23231 echo "Doing mostlyclean in guile" ; \
23232 (cd guile && \
23233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23235 "RANLIB=$${RANLIB}" \
23236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23237 mostlyclean) \
23238 || exit 1
23240 @endif guile
23242 .PHONY: maybe-clean-guile clean-guile
23243 maybe-clean-guile:
23244 @if guile
23245 maybe-clean-guile: clean-guile
23247 clean-guile:
23248 @[ -f ./guile/Makefile ] || exit 0; \
23249 r=`${PWD_COMMAND}`; export r; \
23250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23251 $(SET_LIB_PATH) \
23252 $(HOST_EXPORTS) \
23253 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23255 done; \
23256 echo "Doing clean in guile" ; \
23257 (cd guile && \
23258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23260 "RANLIB=$${RANLIB}" \
23261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23262 clean) \
23263 || exit 1
23265 @endif guile
23267 .PHONY: maybe-distclean-guile distclean-guile
23268 maybe-distclean-guile:
23269 @if guile
23270 maybe-distclean-guile: distclean-guile
23272 distclean-guile:
23273 @[ -f ./guile/Makefile ] || exit 0; \
23274 r=`${PWD_COMMAND}`; export r; \
23275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23276 $(SET_LIB_PATH) \
23277 $(HOST_EXPORTS) \
23278 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23280 done; \
23281 echo "Doing distclean in guile" ; \
23282 (cd guile && \
23283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23285 "RANLIB=$${RANLIB}" \
23286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23287 distclean) \
23288 || exit 1
23290 @endif guile
23292 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
23293 maybe-maintainer-clean-guile:
23294 @if guile
23295 maybe-maintainer-clean-guile: maintainer-clean-guile
23297 maintainer-clean-guile:
23298 @[ -f ./guile/Makefile ] || exit 0; \
23299 r=`${PWD_COMMAND}`; export r; \
23300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23301 $(SET_LIB_PATH) \
23302 $(HOST_EXPORTS) \
23303 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23305 done; \
23306 echo "Doing maintainer-clean in guile" ; \
23307 (cd guile && \
23308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23310 "RANLIB=$${RANLIB}" \
23311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23312 maintainer-clean) \
23313 || exit 1
23315 @endif guile
23318 .PHONY: configure-tk maybe-configure-tk
23319 maybe-configure-tk:
23320 @if tk
23321 maybe-configure-tk: configure-tk
23322 configure-tk:
23323 @test ! -f tk/Makefile || exit 0; \
23324 [ -d tk ] || mkdir tk; \
23325 r=`${PWD_COMMAND}`; export r; \
23326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23327 $(HOST_EXPORTS) \
23328 echo Configuring in tk; \
23329 cd tk || exit 1; \
23330 case $(srcdir) in \
23331 \.) \
23332 srcdiroption="--srcdir=."; \
23333 libsrcdir=".";; \
23334 /* | [A-Za-z]:[\\/]*) \
23335 srcdiroption="--srcdir=$(srcdir)/tk"; \
23336 libsrcdir="$$s/tk";; \
23337 *) \
23338 srcdiroption="--srcdir=../$(srcdir)/tk"; \
23339 libsrcdir="$$s/tk";; \
23340 esac; \
23341 $(SHELL) $${libsrcdir}/configure \
23342 $(HOST_CONFIGARGS) $${srcdiroption} \
23343 || exit 1
23344 @endif tk
23346 .PHONY: all-tk maybe-all-tk
23347 maybe-all-tk:
23348 @if tk
23349 TARGET-tk=all
23350 maybe-all-tk: all-tk
23351 all-tk: configure-tk
23352 @r=`${PWD_COMMAND}`; export r; \
23353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23354 $(SET_LIB_PATH) \
23355 $(HOST_EXPORTS) \
23356 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23357 $(TARGET-tk))
23358 @endif tk
23360 .PHONY: check-tk maybe-check-tk
23361 maybe-check-tk:
23362 @if tk
23363 maybe-check-tk: check-tk
23365 check-tk:
23366 @r=`${PWD_COMMAND}`; export r; \
23367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23368 $(SET_LIB_PATH) \
23369 $(HOST_EXPORTS) \
23370 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23372 @endif tk
23374 .PHONY: install-tk maybe-install-tk
23375 maybe-install-tk:
23376 @if tk
23377 maybe-install-tk: install-tk
23379 install-tk: installdirs
23380 @r=`${PWD_COMMAND}`; export r; \
23381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23382 $(SET_LIB_PATH) \
23383 $(HOST_EXPORTS) \
23384 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23386 @endif tk
23388 # Other targets (info, dvi, etc.)
23390 .PHONY: maybe-info-tk info-tk
23391 maybe-info-tk:
23392 @if tk
23393 maybe-info-tk: info-tk
23395 info-tk: \
23396 configure-tk
23397 @[ -f ./tk/Makefile ] || exit 0; \
23398 r=`${PWD_COMMAND}`; export r; \
23399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23400 $(SET_LIB_PATH) \
23401 $(HOST_EXPORTS) \
23402 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23404 done; \
23405 echo "Doing info in tk" ; \
23406 (cd tk && \
23407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23409 "RANLIB=$${RANLIB}" \
23410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23411 info) \
23412 || exit 1
23414 @endif tk
23416 .PHONY: maybe-dvi-tk dvi-tk
23417 maybe-dvi-tk:
23418 @if tk
23419 maybe-dvi-tk: dvi-tk
23421 dvi-tk: \
23422 configure-tk
23423 @[ -f ./tk/Makefile ] || exit 0; \
23424 r=`${PWD_COMMAND}`; export r; \
23425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23426 $(SET_LIB_PATH) \
23427 $(HOST_EXPORTS) \
23428 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23430 done; \
23431 echo "Doing dvi in tk" ; \
23432 (cd tk && \
23433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23435 "RANLIB=$${RANLIB}" \
23436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23437 dvi) \
23438 || exit 1
23440 @endif tk
23442 .PHONY: maybe-html-tk html-tk
23443 maybe-html-tk:
23444 @if tk
23445 maybe-html-tk: html-tk
23447 html-tk: \
23448 configure-tk
23449 @[ -f ./tk/Makefile ] || exit 0; \
23450 r=`${PWD_COMMAND}`; export r; \
23451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23452 $(SET_LIB_PATH) \
23453 $(HOST_EXPORTS) \
23454 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23456 done; \
23457 echo "Doing html in tk" ; \
23458 (cd tk && \
23459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23461 "RANLIB=$${RANLIB}" \
23462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23463 html) \
23464 || exit 1
23466 @endif tk
23468 .PHONY: maybe-TAGS-tk TAGS-tk
23469 maybe-TAGS-tk:
23470 @if tk
23471 maybe-TAGS-tk: TAGS-tk
23473 TAGS-tk: \
23474 configure-tk
23475 @[ -f ./tk/Makefile ] || exit 0; \
23476 r=`${PWD_COMMAND}`; export r; \
23477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23478 $(SET_LIB_PATH) \
23479 $(HOST_EXPORTS) \
23480 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23482 done; \
23483 echo "Doing TAGS in tk" ; \
23484 (cd tk && \
23485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23487 "RANLIB=$${RANLIB}" \
23488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23489 TAGS) \
23490 || exit 1
23492 @endif tk
23494 .PHONY: maybe-install-info-tk install-info-tk
23495 maybe-install-info-tk:
23496 @if tk
23497 maybe-install-info-tk: install-info-tk
23499 install-info-tk: \
23500 configure-tk \
23501 info-tk
23502 @[ -f ./tk/Makefile ] || exit 0; \
23503 r=`${PWD_COMMAND}`; export r; \
23504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23505 $(SET_LIB_PATH) \
23506 $(HOST_EXPORTS) \
23507 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23509 done; \
23510 echo "Doing install-info in tk" ; \
23511 (cd tk && \
23512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23514 "RANLIB=$${RANLIB}" \
23515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23516 install-info) \
23517 || exit 1
23519 @endif tk
23521 .PHONY: maybe-installcheck-tk installcheck-tk
23522 maybe-installcheck-tk:
23523 @if tk
23524 maybe-installcheck-tk: installcheck-tk
23526 installcheck-tk: \
23527 configure-tk
23528 @[ -f ./tk/Makefile ] || exit 0; \
23529 r=`${PWD_COMMAND}`; export r; \
23530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23531 $(SET_LIB_PATH) \
23532 $(HOST_EXPORTS) \
23533 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23535 done; \
23536 echo "Doing installcheck in tk" ; \
23537 (cd tk && \
23538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23540 "RANLIB=$${RANLIB}" \
23541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23542 installcheck) \
23543 || exit 1
23545 @endif tk
23547 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
23548 maybe-mostlyclean-tk:
23549 @if tk
23550 maybe-mostlyclean-tk: mostlyclean-tk
23552 mostlyclean-tk:
23553 @[ -f ./tk/Makefile ] || exit 0; \
23554 r=`${PWD_COMMAND}`; export r; \
23555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23556 $(SET_LIB_PATH) \
23557 $(HOST_EXPORTS) \
23558 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23560 done; \
23561 echo "Doing mostlyclean in tk" ; \
23562 (cd tk && \
23563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23565 "RANLIB=$${RANLIB}" \
23566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23567 mostlyclean) \
23568 || exit 1
23570 @endif tk
23572 .PHONY: maybe-clean-tk clean-tk
23573 maybe-clean-tk:
23574 @if tk
23575 maybe-clean-tk: clean-tk
23577 clean-tk:
23578 @[ -f ./tk/Makefile ] || exit 0; \
23579 r=`${PWD_COMMAND}`; export r; \
23580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23581 $(SET_LIB_PATH) \
23582 $(HOST_EXPORTS) \
23583 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23585 done; \
23586 echo "Doing clean in tk" ; \
23587 (cd tk && \
23588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23590 "RANLIB=$${RANLIB}" \
23591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23592 clean) \
23593 || exit 1
23595 @endif tk
23597 .PHONY: maybe-distclean-tk distclean-tk
23598 maybe-distclean-tk:
23599 @if tk
23600 maybe-distclean-tk: distclean-tk
23602 distclean-tk:
23603 @[ -f ./tk/Makefile ] || exit 0; \
23604 r=`${PWD_COMMAND}`; export r; \
23605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23606 $(SET_LIB_PATH) \
23607 $(HOST_EXPORTS) \
23608 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23610 done; \
23611 echo "Doing distclean in tk" ; \
23612 (cd tk && \
23613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23615 "RANLIB=$${RANLIB}" \
23616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23617 distclean) \
23618 || exit 1
23620 @endif tk
23622 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
23623 maybe-maintainer-clean-tk:
23624 @if tk
23625 maybe-maintainer-clean-tk: maintainer-clean-tk
23627 maintainer-clean-tk:
23628 @[ -f ./tk/Makefile ] || exit 0; \
23629 r=`${PWD_COMMAND}`; export r; \
23630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23631 $(SET_LIB_PATH) \
23632 $(HOST_EXPORTS) \
23633 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23635 done; \
23636 echo "Doing maintainer-clean in tk" ; \
23637 (cd tk && \
23638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23640 "RANLIB=$${RANLIB}" \
23641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23642 maintainer-clean) \
23643 || exit 1
23645 @endif tk
23648 .PHONY: configure-libtermcap maybe-configure-libtermcap
23649 maybe-configure-libtermcap:
23650 @if libtermcap
23651 maybe-configure-libtermcap: configure-libtermcap
23652 configure-libtermcap:
23653 @test ! -f libtermcap/Makefile || exit 0; \
23654 [ -d libtermcap ] || mkdir libtermcap; \
23655 r=`${PWD_COMMAND}`; export r; \
23656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23657 $(HOST_EXPORTS) \
23658 echo Configuring in libtermcap; \
23659 cd libtermcap || exit 1; \
23660 case $(srcdir) in \
23661 \.) \
23662 srcdiroption="--srcdir=."; \
23663 libsrcdir=".";; \
23664 /* | [A-Za-z]:[\\/]*) \
23665 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
23666 libsrcdir="$$s/libtermcap";; \
23667 *) \
23668 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
23669 libsrcdir="$$s/libtermcap";; \
23670 esac; \
23671 $(SHELL) $${libsrcdir}/configure \
23672 $(HOST_CONFIGARGS) $${srcdiroption} \
23673 || exit 1
23674 @endif libtermcap
23676 .PHONY: all-libtermcap maybe-all-libtermcap
23677 maybe-all-libtermcap:
23678 @if libtermcap
23679 TARGET-libtermcap=all
23680 maybe-all-libtermcap: all-libtermcap
23681 all-libtermcap: configure-libtermcap
23682 @r=`${PWD_COMMAND}`; export r; \
23683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23684 $(SET_LIB_PATH) \
23685 $(HOST_EXPORTS) \
23686 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) \
23687 $(TARGET-libtermcap))
23688 @endif libtermcap
23690 .PHONY: check-libtermcap maybe-check-libtermcap
23691 maybe-check-libtermcap:
23692 @if libtermcap
23693 maybe-check-libtermcap: check-libtermcap
23695 check-libtermcap:
23697 @endif libtermcap
23699 .PHONY: install-libtermcap maybe-install-libtermcap
23700 maybe-install-libtermcap:
23701 @if libtermcap
23702 maybe-install-libtermcap: install-libtermcap
23704 install-libtermcap: installdirs
23705 @r=`${PWD_COMMAND}`; export r; \
23706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23707 $(SET_LIB_PATH) \
23708 $(HOST_EXPORTS) \
23709 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
23711 @endif libtermcap
23713 # Other targets (info, dvi, etc.)
23715 .PHONY: maybe-info-libtermcap info-libtermcap
23716 maybe-info-libtermcap:
23717 @if libtermcap
23718 maybe-info-libtermcap: info-libtermcap
23720 info-libtermcap: \
23721 configure-libtermcap
23722 @[ -f ./libtermcap/Makefile ] || exit 0; \
23723 r=`${PWD_COMMAND}`; export r; \
23724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23725 $(SET_LIB_PATH) \
23726 $(HOST_EXPORTS) \
23727 for flag in $(EXTRA_HOST_FLAGS) ; do \
23728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23729 done; \
23730 echo "Doing info in libtermcap" ; \
23731 (cd libtermcap && \
23732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23734 "RANLIB=$${RANLIB}" \
23735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23736 info) \
23737 || exit 1
23739 @endif libtermcap
23741 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
23742 maybe-dvi-libtermcap:
23743 @if libtermcap
23744 maybe-dvi-libtermcap: dvi-libtermcap
23746 dvi-libtermcap: \
23747 configure-libtermcap
23748 @[ -f ./libtermcap/Makefile ] || exit 0; \
23749 r=`${PWD_COMMAND}`; export r; \
23750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23751 $(SET_LIB_PATH) \
23752 $(HOST_EXPORTS) \
23753 for flag in $(EXTRA_HOST_FLAGS) ; do \
23754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23755 done; \
23756 echo "Doing dvi in libtermcap" ; \
23757 (cd libtermcap && \
23758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23760 "RANLIB=$${RANLIB}" \
23761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23762 dvi) \
23763 || exit 1
23765 @endif libtermcap
23767 .PHONY: maybe-html-libtermcap html-libtermcap
23768 maybe-html-libtermcap:
23769 @if libtermcap
23770 maybe-html-libtermcap: html-libtermcap
23772 html-libtermcap: \
23773 configure-libtermcap
23774 @[ -f ./libtermcap/Makefile ] || exit 0; \
23775 r=`${PWD_COMMAND}`; export r; \
23776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23777 $(SET_LIB_PATH) \
23778 $(HOST_EXPORTS) \
23779 for flag in $(EXTRA_HOST_FLAGS) ; do \
23780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23781 done; \
23782 echo "Doing html in libtermcap" ; \
23783 (cd libtermcap && \
23784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23786 "RANLIB=$${RANLIB}" \
23787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23788 html) \
23789 || exit 1
23791 @endif libtermcap
23793 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
23794 maybe-TAGS-libtermcap:
23795 @if libtermcap
23796 maybe-TAGS-libtermcap: TAGS-libtermcap
23798 TAGS-libtermcap: \
23799 configure-libtermcap
23800 @[ -f ./libtermcap/Makefile ] || exit 0; \
23801 r=`${PWD_COMMAND}`; export r; \
23802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23803 $(SET_LIB_PATH) \
23804 $(HOST_EXPORTS) \
23805 for flag in $(EXTRA_HOST_FLAGS) ; do \
23806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23807 done; \
23808 echo "Doing TAGS in libtermcap" ; \
23809 (cd libtermcap && \
23810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23812 "RANLIB=$${RANLIB}" \
23813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23814 TAGS) \
23815 || exit 1
23817 @endif libtermcap
23819 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
23820 maybe-install-info-libtermcap:
23821 @if libtermcap
23822 maybe-install-info-libtermcap: install-info-libtermcap
23824 install-info-libtermcap: \
23825 configure-libtermcap \
23826 info-libtermcap
23827 @[ -f ./libtermcap/Makefile ] || exit 0; \
23828 r=`${PWD_COMMAND}`; export r; \
23829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23830 $(SET_LIB_PATH) \
23831 $(HOST_EXPORTS) \
23832 for flag in $(EXTRA_HOST_FLAGS) ; do \
23833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23834 done; \
23835 echo "Doing install-info in libtermcap" ; \
23836 (cd libtermcap && \
23837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23839 "RANLIB=$${RANLIB}" \
23840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23841 install-info) \
23842 || exit 1
23844 @endif libtermcap
23846 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
23847 maybe-installcheck-libtermcap:
23848 @if libtermcap
23849 maybe-installcheck-libtermcap: installcheck-libtermcap
23851 installcheck-libtermcap: \
23852 configure-libtermcap
23853 @[ -f ./libtermcap/Makefile ] || exit 0; \
23854 r=`${PWD_COMMAND}`; export r; \
23855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23856 $(SET_LIB_PATH) \
23857 $(HOST_EXPORTS) \
23858 for flag in $(EXTRA_HOST_FLAGS) ; do \
23859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23860 done; \
23861 echo "Doing installcheck in libtermcap" ; \
23862 (cd libtermcap && \
23863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23865 "RANLIB=$${RANLIB}" \
23866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23867 installcheck) \
23868 || exit 1
23870 @endif libtermcap
23872 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
23873 maybe-mostlyclean-libtermcap:
23874 @if libtermcap
23875 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
23877 # libtermcap doesn't support mostlyclean.
23878 mostlyclean-libtermcap:
23880 @endif libtermcap
23882 .PHONY: maybe-clean-libtermcap clean-libtermcap
23883 maybe-clean-libtermcap:
23884 @if libtermcap
23885 maybe-clean-libtermcap: clean-libtermcap
23887 # libtermcap doesn't support clean.
23888 clean-libtermcap:
23890 @endif libtermcap
23892 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
23893 maybe-distclean-libtermcap:
23894 @if libtermcap
23895 maybe-distclean-libtermcap: distclean-libtermcap
23897 # libtermcap doesn't support distclean.
23898 distclean-libtermcap:
23900 @endif libtermcap
23902 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
23903 maybe-maintainer-clean-libtermcap:
23904 @if libtermcap
23905 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
23907 # libtermcap doesn't support maintainer-clean.
23908 maintainer-clean-libtermcap:
23910 @endif libtermcap
23913 .PHONY: configure-utils maybe-configure-utils
23914 maybe-configure-utils:
23915 @if utils
23916 maybe-configure-utils: configure-utils
23917 configure-utils:
23918 @test ! -f utils/Makefile || exit 0; \
23919 [ -d utils ] || mkdir utils; \
23920 r=`${PWD_COMMAND}`; export r; \
23921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23922 $(HOST_EXPORTS) \
23923 echo Configuring in utils; \
23924 cd utils || exit 1; \
23925 case $(srcdir) in \
23926 \.) \
23927 srcdiroption="--srcdir=."; \
23928 libsrcdir=".";; \
23929 /* | [A-Za-z]:[\\/]*) \
23930 srcdiroption="--srcdir=$(srcdir)/utils"; \
23931 libsrcdir="$$s/utils";; \
23932 *) \
23933 srcdiroption="--srcdir=../$(srcdir)/utils"; \
23934 libsrcdir="$$s/utils";; \
23935 esac; \
23936 $(SHELL) $${libsrcdir}/configure \
23937 $(HOST_CONFIGARGS) $${srcdiroption} \
23938 || exit 1
23939 @endif utils
23941 .PHONY: all-utils maybe-all-utils
23942 maybe-all-utils:
23943 @if utils
23944 TARGET-utils=all
23945 maybe-all-utils: all-utils
23946 all-utils: configure-utils
23947 @r=`${PWD_COMMAND}`; export r; \
23948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23949 $(SET_LIB_PATH) \
23950 $(HOST_EXPORTS) \
23951 (cd utils && $(MAKE) $(FLAGS_TO_PASS) \
23952 $(TARGET-utils))
23953 @endif utils
23955 .PHONY: check-utils maybe-check-utils
23956 maybe-check-utils:
23957 @if utils
23958 maybe-check-utils: check-utils
23960 check-utils:
23962 @endif utils
23964 .PHONY: install-utils maybe-install-utils
23965 maybe-install-utils:
23966 @if utils
23967 maybe-install-utils: install-utils
23969 install-utils: installdirs
23970 @r=`${PWD_COMMAND}`; export r; \
23971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23972 $(SET_LIB_PATH) \
23973 $(HOST_EXPORTS) \
23974 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
23976 @endif utils
23978 # Other targets (info, dvi, etc.)
23980 .PHONY: maybe-info-utils info-utils
23981 maybe-info-utils:
23982 @if utils
23983 maybe-info-utils: info-utils
23985 info-utils: \
23986 configure-utils
23987 @[ -f ./utils/Makefile ] || exit 0; \
23988 r=`${PWD_COMMAND}`; export r; \
23989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23990 $(SET_LIB_PATH) \
23991 $(HOST_EXPORTS) \
23992 for flag in $(EXTRA_HOST_FLAGS) ; do \
23993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23994 done; \
23995 echo "Doing info in utils" ; \
23996 (cd utils && \
23997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23999 "RANLIB=$${RANLIB}" \
24000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24001 info) \
24002 || exit 1
24004 @endif utils
24006 .PHONY: maybe-dvi-utils dvi-utils
24007 maybe-dvi-utils:
24008 @if utils
24009 maybe-dvi-utils: dvi-utils
24011 dvi-utils: \
24012 configure-utils
24013 @[ -f ./utils/Makefile ] || exit 0; \
24014 r=`${PWD_COMMAND}`; export r; \
24015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24016 $(SET_LIB_PATH) \
24017 $(HOST_EXPORTS) \
24018 for flag in $(EXTRA_HOST_FLAGS) ; do \
24019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24020 done; \
24021 echo "Doing dvi in utils" ; \
24022 (cd utils && \
24023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24025 "RANLIB=$${RANLIB}" \
24026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24027 dvi) \
24028 || exit 1
24030 @endif utils
24032 .PHONY: maybe-html-utils html-utils
24033 maybe-html-utils:
24034 @if utils
24035 maybe-html-utils: html-utils
24037 html-utils: \
24038 configure-utils
24039 @[ -f ./utils/Makefile ] || exit 0; \
24040 r=`${PWD_COMMAND}`; export r; \
24041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24042 $(SET_LIB_PATH) \
24043 $(HOST_EXPORTS) \
24044 for flag in $(EXTRA_HOST_FLAGS) ; do \
24045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24046 done; \
24047 echo "Doing html in utils" ; \
24048 (cd utils && \
24049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24051 "RANLIB=$${RANLIB}" \
24052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24053 html) \
24054 || exit 1
24056 @endif utils
24058 .PHONY: maybe-TAGS-utils TAGS-utils
24059 maybe-TAGS-utils:
24060 @if utils
24061 maybe-TAGS-utils: TAGS-utils
24063 TAGS-utils: \
24064 configure-utils
24065 @[ -f ./utils/Makefile ] || exit 0; \
24066 r=`${PWD_COMMAND}`; export r; \
24067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24068 $(SET_LIB_PATH) \
24069 $(HOST_EXPORTS) \
24070 for flag in $(EXTRA_HOST_FLAGS) ; do \
24071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24072 done; \
24073 echo "Doing TAGS in utils" ; \
24074 (cd utils && \
24075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24077 "RANLIB=$${RANLIB}" \
24078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24079 TAGS) \
24080 || exit 1
24082 @endif utils
24084 .PHONY: maybe-install-info-utils install-info-utils
24085 maybe-install-info-utils:
24086 @if utils
24087 maybe-install-info-utils: install-info-utils
24089 install-info-utils: \
24090 configure-utils \
24091 info-utils
24092 @[ -f ./utils/Makefile ] || exit 0; \
24093 r=`${PWD_COMMAND}`; export r; \
24094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24095 $(SET_LIB_PATH) \
24096 $(HOST_EXPORTS) \
24097 for flag in $(EXTRA_HOST_FLAGS) ; do \
24098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24099 done; \
24100 echo "Doing install-info in utils" ; \
24101 (cd utils && \
24102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24104 "RANLIB=$${RANLIB}" \
24105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24106 install-info) \
24107 || exit 1
24109 @endif utils
24111 .PHONY: maybe-installcheck-utils installcheck-utils
24112 maybe-installcheck-utils:
24113 @if utils
24114 maybe-installcheck-utils: installcheck-utils
24116 installcheck-utils: \
24117 configure-utils
24118 @[ -f ./utils/Makefile ] || exit 0; \
24119 r=`${PWD_COMMAND}`; export r; \
24120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24121 $(SET_LIB_PATH) \
24122 $(HOST_EXPORTS) \
24123 for flag in $(EXTRA_HOST_FLAGS) ; do \
24124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24125 done; \
24126 echo "Doing installcheck in utils" ; \
24127 (cd utils && \
24128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24130 "RANLIB=$${RANLIB}" \
24131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24132 installcheck) \
24133 || exit 1
24135 @endif utils
24137 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
24138 maybe-mostlyclean-utils:
24139 @if utils
24140 maybe-mostlyclean-utils: mostlyclean-utils
24142 mostlyclean-utils:
24143 @[ -f ./utils/Makefile ] || exit 0; \
24144 r=`${PWD_COMMAND}`; export r; \
24145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24146 $(SET_LIB_PATH) \
24147 $(HOST_EXPORTS) \
24148 for flag in $(EXTRA_HOST_FLAGS) ; do \
24149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24150 done; \
24151 echo "Doing mostlyclean in utils" ; \
24152 (cd utils && \
24153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24155 "RANLIB=$${RANLIB}" \
24156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24157 mostlyclean) \
24158 || exit 1
24160 @endif utils
24162 .PHONY: maybe-clean-utils clean-utils
24163 maybe-clean-utils:
24164 @if utils
24165 maybe-clean-utils: clean-utils
24167 clean-utils:
24168 @[ -f ./utils/Makefile ] || exit 0; \
24169 r=`${PWD_COMMAND}`; export r; \
24170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24171 $(SET_LIB_PATH) \
24172 $(HOST_EXPORTS) \
24173 for flag in $(EXTRA_HOST_FLAGS) ; do \
24174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24175 done; \
24176 echo "Doing clean in utils" ; \
24177 (cd utils && \
24178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24180 "RANLIB=$${RANLIB}" \
24181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24182 clean) \
24183 || exit 1
24185 @endif utils
24187 .PHONY: maybe-distclean-utils distclean-utils
24188 maybe-distclean-utils:
24189 @if utils
24190 maybe-distclean-utils: distclean-utils
24192 distclean-utils:
24193 @[ -f ./utils/Makefile ] || exit 0; \
24194 r=`${PWD_COMMAND}`; export r; \
24195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24196 $(SET_LIB_PATH) \
24197 $(HOST_EXPORTS) \
24198 for flag in $(EXTRA_HOST_FLAGS) ; do \
24199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24200 done; \
24201 echo "Doing distclean in utils" ; \
24202 (cd utils && \
24203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24205 "RANLIB=$${RANLIB}" \
24206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24207 distclean) \
24208 || exit 1
24210 @endif utils
24212 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
24213 maybe-maintainer-clean-utils:
24214 @if utils
24215 maybe-maintainer-clean-utils: maintainer-clean-utils
24217 maintainer-clean-utils:
24218 @[ -f ./utils/Makefile ] || exit 0; \
24219 r=`${PWD_COMMAND}`; export r; \
24220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24221 $(SET_LIB_PATH) \
24222 $(HOST_EXPORTS) \
24223 for flag in $(EXTRA_HOST_FLAGS) ; do \
24224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24225 done; \
24226 echo "Doing maintainer-clean in utils" ; \
24227 (cd utils && \
24228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24230 "RANLIB=$${RANLIB}" \
24231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24232 maintainer-clean) \
24233 || exit 1
24235 @endif utils
24239 # ---------------------------------------
24240 # Modules which run on the target machine
24241 # ---------------------------------------
24243 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
24244 maybe-configure-target-libstdc++-v3:
24245 @if target-libstdc++-v3
24246 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
24248 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24249 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
24250 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24251 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
24252 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24254 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24255 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
24256 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24257 r=`${PWD_COMMAND}`; export r; \
24258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24259 $(SET_LIB_PATH) \
24260 $(RAW_CXX_TARGET_EXPORTS) \
24261 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
24262 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
24263 case $(srcdir) in \
24264 /* | [A-Za-z]:[\\/]*) \
24265 topdir=$(srcdir) ;; \
24266 *) \
24267 case "$(TARGET_SUBDIR)" in \
24268 .) topdir="../$(srcdir)" ;; \
24269 *) topdir="../../$(srcdir)" ;; \
24270 esac ;; \
24271 esac; \
24272 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
24273 libsrcdir="$$s/libstdc++-v3"; \
24274 rm -f no-such-file || : ; \
24275 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24276 $(TARGET_CONFIGARGS) $${srcdiroption} \
24277 --with-target-subdir="$(TARGET_SUBDIR)" \
24278 || exit 1
24279 @endif target-libstdc++-v3
24281 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
24282 maybe-all-target-libstdc++-v3:
24283 @if target-libstdc++-v3
24284 TARGET-target-libstdc++-v3=all
24285 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
24286 all-target-libstdc++-v3: configure-target-libstdc++-v3
24287 @r=`${PWD_COMMAND}`; export r; \
24288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24289 $(SET_LIB_PATH) \
24290 $(RAW_CXX_TARGET_EXPORTS) \
24291 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24292 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
24293 @endif target-libstdc++-v3
24295 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
24296 maybe-check-target-libstdc++-v3:
24297 @if target-libstdc++-v3
24298 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
24300 check-target-libstdc++-v3:
24301 @r=`${PWD_COMMAND}`; export r; \
24302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24303 $(SET_LIB_PATH) \
24304 $(RAW_CXX_TARGET_EXPORTS) \
24305 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24306 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
24308 @endif target-libstdc++-v3
24310 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
24311 maybe-install-target-libstdc++-v3:
24312 @if target-libstdc++-v3
24313 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
24315 install-target-libstdc++-v3: installdirs
24316 @r=`${PWD_COMMAND}`; export r; \
24317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24318 $(SET_LIB_PATH) \
24319 $(RAW_CXX_TARGET_EXPORTS) \
24320 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24321 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24323 @endif target-libstdc++-v3
24325 # Other targets (info, dvi, etc.)
24327 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
24328 maybe-info-target-libstdc++-v3:
24329 @if target-libstdc++-v3
24330 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
24332 info-target-libstdc++-v3: \
24333 configure-target-libstdc++-v3
24334 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24335 r=`${PWD_COMMAND}`; export r; \
24336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24337 $(SET_LIB_PATH) \
24338 $(RAW_CXX_TARGET_EXPORTS) \
24339 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24340 for flag in $(EXTRA_TARGET_FLAGS); do \
24341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24342 done; \
24343 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24346 "RANLIB=$${RANLIB}" \
24347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24348 info) \
24349 || exit 1
24351 @endif target-libstdc++-v3
24353 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
24354 maybe-dvi-target-libstdc++-v3:
24355 @if target-libstdc++-v3
24356 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
24358 dvi-target-libstdc++-v3: \
24359 configure-target-libstdc++-v3
24360 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24361 r=`${PWD_COMMAND}`; export r; \
24362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24363 $(SET_LIB_PATH) \
24364 $(RAW_CXX_TARGET_EXPORTS) \
24365 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24366 for flag in $(EXTRA_TARGET_FLAGS); do \
24367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24368 done; \
24369 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24372 "RANLIB=$${RANLIB}" \
24373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24374 dvi) \
24375 || exit 1
24377 @endif target-libstdc++-v3
24379 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
24380 maybe-html-target-libstdc++-v3:
24381 @if target-libstdc++-v3
24382 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
24384 html-target-libstdc++-v3: \
24385 configure-target-libstdc++-v3
24386 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24387 r=`${PWD_COMMAND}`; export r; \
24388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24389 $(SET_LIB_PATH) \
24390 $(RAW_CXX_TARGET_EXPORTS) \
24391 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24392 for flag in $(EXTRA_TARGET_FLAGS); do \
24393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24394 done; \
24395 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24398 "RANLIB=$${RANLIB}" \
24399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24400 html) \
24401 || exit 1
24403 @endif target-libstdc++-v3
24405 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
24406 maybe-TAGS-target-libstdc++-v3:
24407 @if target-libstdc++-v3
24408 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
24410 TAGS-target-libstdc++-v3: \
24411 configure-target-libstdc++-v3
24412 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24413 r=`${PWD_COMMAND}`; export r; \
24414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24415 $(SET_LIB_PATH) \
24416 $(RAW_CXX_TARGET_EXPORTS) \
24417 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24418 for flag in $(EXTRA_TARGET_FLAGS); do \
24419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24420 done; \
24421 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24424 "RANLIB=$${RANLIB}" \
24425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24426 TAGS) \
24427 || exit 1
24429 @endif target-libstdc++-v3
24431 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
24432 maybe-install-info-target-libstdc++-v3:
24433 @if target-libstdc++-v3
24434 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
24436 install-info-target-libstdc++-v3: \
24437 configure-target-libstdc++-v3 \
24438 info-target-libstdc++-v3
24439 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24440 r=`${PWD_COMMAND}`; export r; \
24441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24442 $(SET_LIB_PATH) \
24443 $(RAW_CXX_TARGET_EXPORTS) \
24444 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24445 for flag in $(EXTRA_TARGET_FLAGS); do \
24446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24447 done; \
24448 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24451 "RANLIB=$${RANLIB}" \
24452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24453 install-info) \
24454 || exit 1
24456 @endif target-libstdc++-v3
24458 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
24459 maybe-installcheck-target-libstdc++-v3:
24460 @if target-libstdc++-v3
24461 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
24463 installcheck-target-libstdc++-v3: \
24464 configure-target-libstdc++-v3
24465 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24466 r=`${PWD_COMMAND}`; export r; \
24467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24468 $(SET_LIB_PATH) \
24469 $(RAW_CXX_TARGET_EXPORTS) \
24470 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24471 for flag in $(EXTRA_TARGET_FLAGS); do \
24472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24473 done; \
24474 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24477 "RANLIB=$${RANLIB}" \
24478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24479 installcheck) \
24480 || exit 1
24482 @endif target-libstdc++-v3
24484 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
24485 maybe-mostlyclean-target-libstdc++-v3:
24486 @if target-libstdc++-v3
24487 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
24489 mostlyclean-target-libstdc++-v3:
24490 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24491 r=`${PWD_COMMAND}`; export r; \
24492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24493 $(SET_LIB_PATH) \
24494 $(RAW_CXX_TARGET_EXPORTS) \
24495 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24496 for flag in $(EXTRA_TARGET_FLAGS); do \
24497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24498 done; \
24499 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24502 "RANLIB=$${RANLIB}" \
24503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24504 mostlyclean) \
24505 || exit 1
24507 @endif target-libstdc++-v3
24509 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
24510 maybe-clean-target-libstdc++-v3:
24511 @if target-libstdc++-v3
24512 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
24514 clean-target-libstdc++-v3:
24515 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24516 r=`${PWD_COMMAND}`; export r; \
24517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24518 $(SET_LIB_PATH) \
24519 $(RAW_CXX_TARGET_EXPORTS) \
24520 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24521 for flag in $(EXTRA_TARGET_FLAGS); do \
24522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24523 done; \
24524 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24527 "RANLIB=$${RANLIB}" \
24528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24529 clean) \
24530 || exit 1
24532 @endif target-libstdc++-v3
24534 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
24535 maybe-distclean-target-libstdc++-v3:
24536 @if target-libstdc++-v3
24537 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
24539 distclean-target-libstdc++-v3:
24540 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24541 r=`${PWD_COMMAND}`; export r; \
24542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24543 $(SET_LIB_PATH) \
24544 $(RAW_CXX_TARGET_EXPORTS) \
24545 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24546 for flag in $(EXTRA_TARGET_FLAGS); do \
24547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24548 done; \
24549 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24552 "RANLIB=$${RANLIB}" \
24553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24554 distclean) \
24555 || exit 1
24557 @endif target-libstdc++-v3
24559 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
24560 maybe-maintainer-clean-target-libstdc++-v3:
24561 @if target-libstdc++-v3
24562 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
24564 maintainer-clean-target-libstdc++-v3:
24565 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24566 r=`${PWD_COMMAND}`; export r; \
24567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24568 $(SET_LIB_PATH) \
24569 $(RAW_CXX_TARGET_EXPORTS) \
24570 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24571 for flag in $(EXTRA_TARGET_FLAGS); do \
24572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24573 done; \
24574 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24577 "RANLIB=$${RANLIB}" \
24578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24579 maintainer-clean) \
24580 || exit 1
24582 @endif target-libstdc++-v3
24585 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
24586 maybe-configure-target-libmudflap:
24587 @if target-libmudflap
24588 maybe-configure-target-libmudflap: configure-target-libmudflap
24590 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24591 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
24592 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24593 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
24594 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
24596 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
24597 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
24598 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24599 r=`${PWD_COMMAND}`; export r; \
24600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24601 $(SET_LIB_PATH) \
24602 $(NORMAL_TARGET_EXPORTS) \
24603 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
24604 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
24605 case $(srcdir) in \
24606 /* | [A-Za-z]:[\\/]*) \
24607 topdir=$(srcdir) ;; \
24608 *) \
24609 case "$(TARGET_SUBDIR)" in \
24610 .) topdir="../$(srcdir)" ;; \
24611 *) topdir="../../$(srcdir)" ;; \
24612 esac ;; \
24613 esac; \
24614 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
24615 libsrcdir="$$s/libmudflap"; \
24616 rm -f no-such-file || : ; \
24617 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24618 $(TARGET_CONFIGARGS) $${srcdiroption} \
24619 --with-target-subdir="$(TARGET_SUBDIR)" \
24620 || exit 1
24621 @endif target-libmudflap
24623 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
24624 maybe-all-target-libmudflap:
24625 @if target-libmudflap
24626 TARGET-target-libmudflap=all
24627 maybe-all-target-libmudflap: all-target-libmudflap
24628 all-target-libmudflap: configure-target-libmudflap
24629 @r=`${PWD_COMMAND}`; export r; \
24630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24631 $(SET_LIB_PATH) \
24632 $(NORMAL_TARGET_EXPORTS) \
24633 (cd $(TARGET_SUBDIR)/libmudflap && \
24634 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
24635 @endif target-libmudflap
24637 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
24638 maybe-check-target-libmudflap:
24639 @if target-libmudflap
24640 maybe-check-target-libmudflap: check-target-libmudflap
24642 check-target-libmudflap:
24643 @r=`${PWD_COMMAND}`; export r; \
24644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24645 $(SET_LIB_PATH) \
24646 $(NORMAL_TARGET_EXPORTS) \
24647 (cd $(TARGET_SUBDIR)/libmudflap && \
24648 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24650 @endif target-libmudflap
24652 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
24653 maybe-install-target-libmudflap:
24654 @if target-libmudflap
24655 maybe-install-target-libmudflap: install-target-libmudflap
24657 install-target-libmudflap: installdirs
24658 @r=`${PWD_COMMAND}`; export r; \
24659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24660 $(SET_LIB_PATH) \
24661 $(NORMAL_TARGET_EXPORTS) \
24662 (cd $(TARGET_SUBDIR)/libmudflap && \
24663 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24665 @endif target-libmudflap
24667 # Other targets (info, dvi, etc.)
24669 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
24670 maybe-info-target-libmudflap:
24671 @if target-libmudflap
24672 maybe-info-target-libmudflap: info-target-libmudflap
24674 info-target-libmudflap: \
24675 configure-target-libmudflap
24676 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24677 r=`${PWD_COMMAND}`; export r; \
24678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24679 $(SET_LIB_PATH) \
24680 $(NORMAL_TARGET_EXPORTS) \
24681 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
24682 for flag in $(EXTRA_TARGET_FLAGS); do \
24683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24684 done; \
24685 (cd $(TARGET_SUBDIR)/libmudflap && \
24686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24688 "RANLIB=$${RANLIB}" \
24689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24690 info) \
24691 || exit 1
24693 @endif target-libmudflap
24695 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
24696 maybe-dvi-target-libmudflap:
24697 @if target-libmudflap
24698 maybe-dvi-target-libmudflap: dvi-target-libmudflap
24700 dvi-target-libmudflap: \
24701 configure-target-libmudflap
24702 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24703 r=`${PWD_COMMAND}`; export r; \
24704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24705 $(SET_LIB_PATH) \
24706 $(NORMAL_TARGET_EXPORTS) \
24707 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
24708 for flag in $(EXTRA_TARGET_FLAGS); do \
24709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24710 done; \
24711 (cd $(TARGET_SUBDIR)/libmudflap && \
24712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24714 "RANLIB=$${RANLIB}" \
24715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24716 dvi) \
24717 || exit 1
24719 @endif target-libmudflap
24721 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
24722 maybe-html-target-libmudflap:
24723 @if target-libmudflap
24724 maybe-html-target-libmudflap: html-target-libmudflap
24726 html-target-libmudflap: \
24727 configure-target-libmudflap
24728 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24729 r=`${PWD_COMMAND}`; export r; \
24730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24731 $(SET_LIB_PATH) \
24732 $(NORMAL_TARGET_EXPORTS) \
24733 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
24734 for flag in $(EXTRA_TARGET_FLAGS); do \
24735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24736 done; \
24737 (cd $(TARGET_SUBDIR)/libmudflap && \
24738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24740 "RANLIB=$${RANLIB}" \
24741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24742 html) \
24743 || exit 1
24745 @endif target-libmudflap
24747 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
24748 maybe-TAGS-target-libmudflap:
24749 @if target-libmudflap
24750 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
24752 TAGS-target-libmudflap: \
24753 configure-target-libmudflap
24754 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24755 r=`${PWD_COMMAND}`; export r; \
24756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24757 $(SET_LIB_PATH) \
24758 $(NORMAL_TARGET_EXPORTS) \
24759 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
24760 for flag in $(EXTRA_TARGET_FLAGS); do \
24761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24762 done; \
24763 (cd $(TARGET_SUBDIR)/libmudflap && \
24764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24766 "RANLIB=$${RANLIB}" \
24767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24768 TAGS) \
24769 || exit 1
24771 @endif target-libmudflap
24773 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
24774 maybe-install-info-target-libmudflap:
24775 @if target-libmudflap
24776 maybe-install-info-target-libmudflap: install-info-target-libmudflap
24778 install-info-target-libmudflap: \
24779 configure-target-libmudflap \
24780 info-target-libmudflap
24781 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24782 r=`${PWD_COMMAND}`; export r; \
24783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24784 $(SET_LIB_PATH) \
24785 $(NORMAL_TARGET_EXPORTS) \
24786 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
24787 for flag in $(EXTRA_TARGET_FLAGS); do \
24788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24789 done; \
24790 (cd $(TARGET_SUBDIR)/libmudflap && \
24791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24793 "RANLIB=$${RANLIB}" \
24794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24795 install-info) \
24796 || exit 1
24798 @endif target-libmudflap
24800 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
24801 maybe-installcheck-target-libmudflap:
24802 @if target-libmudflap
24803 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
24805 installcheck-target-libmudflap: \
24806 configure-target-libmudflap
24807 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24808 r=`${PWD_COMMAND}`; export r; \
24809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24810 $(SET_LIB_PATH) \
24811 $(NORMAL_TARGET_EXPORTS) \
24812 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
24813 for flag in $(EXTRA_TARGET_FLAGS); do \
24814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24815 done; \
24816 (cd $(TARGET_SUBDIR)/libmudflap && \
24817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24819 "RANLIB=$${RANLIB}" \
24820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24821 installcheck) \
24822 || exit 1
24824 @endif target-libmudflap
24826 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
24827 maybe-mostlyclean-target-libmudflap:
24828 @if target-libmudflap
24829 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
24831 mostlyclean-target-libmudflap:
24832 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24833 r=`${PWD_COMMAND}`; export r; \
24834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24835 $(SET_LIB_PATH) \
24836 $(NORMAL_TARGET_EXPORTS) \
24837 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
24838 for flag in $(EXTRA_TARGET_FLAGS); do \
24839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24840 done; \
24841 (cd $(TARGET_SUBDIR)/libmudflap && \
24842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24844 "RANLIB=$${RANLIB}" \
24845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24846 mostlyclean) \
24847 || exit 1
24849 @endif target-libmudflap
24851 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
24852 maybe-clean-target-libmudflap:
24853 @if target-libmudflap
24854 maybe-clean-target-libmudflap: clean-target-libmudflap
24856 clean-target-libmudflap:
24857 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24858 r=`${PWD_COMMAND}`; export r; \
24859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24860 $(SET_LIB_PATH) \
24861 $(NORMAL_TARGET_EXPORTS) \
24862 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
24863 for flag in $(EXTRA_TARGET_FLAGS); do \
24864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24865 done; \
24866 (cd $(TARGET_SUBDIR)/libmudflap && \
24867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24869 "RANLIB=$${RANLIB}" \
24870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24871 clean) \
24872 || exit 1
24874 @endif target-libmudflap
24876 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
24877 maybe-distclean-target-libmudflap:
24878 @if target-libmudflap
24879 maybe-distclean-target-libmudflap: distclean-target-libmudflap
24881 distclean-target-libmudflap:
24882 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24883 r=`${PWD_COMMAND}`; export r; \
24884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24885 $(SET_LIB_PATH) \
24886 $(NORMAL_TARGET_EXPORTS) \
24887 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
24888 for flag in $(EXTRA_TARGET_FLAGS); do \
24889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24890 done; \
24891 (cd $(TARGET_SUBDIR)/libmudflap && \
24892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24894 "RANLIB=$${RANLIB}" \
24895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24896 distclean) \
24897 || exit 1
24899 @endif target-libmudflap
24901 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
24902 maybe-maintainer-clean-target-libmudflap:
24903 @if target-libmudflap
24904 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
24906 maintainer-clean-target-libmudflap:
24907 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24908 r=`${PWD_COMMAND}`; export r; \
24909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24910 $(SET_LIB_PATH) \
24911 $(NORMAL_TARGET_EXPORTS) \
24912 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
24913 for flag in $(EXTRA_TARGET_FLAGS); do \
24914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24915 done; \
24916 (cd $(TARGET_SUBDIR)/libmudflap && \
24917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24919 "RANLIB=$${RANLIB}" \
24920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24921 maintainer-clean) \
24922 || exit 1
24924 @endif target-libmudflap
24927 .PHONY: configure-target-newlib maybe-configure-target-newlib
24928 maybe-configure-target-newlib:
24929 @if target-newlib
24930 maybe-configure-target-newlib: configure-target-newlib
24932 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24933 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
24934 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24935 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
24936 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
24938 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
24939 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
24940 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24941 r=`${PWD_COMMAND}`; export r; \
24942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24943 $(SET_LIB_PATH) \
24944 $(NORMAL_TARGET_EXPORTS) \
24945 echo Configuring in $(TARGET_SUBDIR)/newlib; \
24946 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
24947 case $(srcdir) in \
24948 /* | [A-Za-z]:[\\/]*) \
24949 topdir=$(srcdir) ;; \
24950 *) \
24951 case "$(TARGET_SUBDIR)" in \
24952 .) topdir="../$(srcdir)" ;; \
24953 *) topdir="../../$(srcdir)" ;; \
24954 esac ;; \
24955 esac; \
24956 srcdiroption="--srcdir=$${topdir}/newlib"; \
24957 libsrcdir="$$s/newlib"; \
24958 rm -f no-such-file || : ; \
24959 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24960 $(TARGET_CONFIGARGS) $${srcdiroption} \
24961 --with-target-subdir="$(TARGET_SUBDIR)" \
24962 || exit 1
24963 @endif target-newlib
24965 .PHONY: all-target-newlib maybe-all-target-newlib
24966 maybe-all-target-newlib:
24967 @if target-newlib
24968 TARGET-target-newlib=all
24969 maybe-all-target-newlib: all-target-newlib
24970 all-target-newlib: configure-target-newlib
24971 @r=`${PWD_COMMAND}`; export r; \
24972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24973 $(SET_LIB_PATH) \
24974 $(NORMAL_TARGET_EXPORTS) \
24975 (cd $(TARGET_SUBDIR)/newlib && \
24976 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
24977 @endif target-newlib
24979 .PHONY: check-target-newlib maybe-check-target-newlib
24980 maybe-check-target-newlib:
24981 @if target-newlib
24982 maybe-check-target-newlib: check-target-newlib
24984 check-target-newlib:
24985 @r=`${PWD_COMMAND}`; export r; \
24986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24987 $(SET_LIB_PATH) \
24988 $(NORMAL_TARGET_EXPORTS) \
24989 (cd $(TARGET_SUBDIR)/newlib && \
24990 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24992 @endif target-newlib
24994 .PHONY: install-target-newlib maybe-install-target-newlib
24995 maybe-install-target-newlib:
24996 @if target-newlib
24997 maybe-install-target-newlib: install-target-newlib
24999 install-target-newlib: installdirs
25000 @r=`${PWD_COMMAND}`; export r; \
25001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25002 $(SET_LIB_PATH) \
25003 $(NORMAL_TARGET_EXPORTS) \
25004 (cd $(TARGET_SUBDIR)/newlib && \
25005 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25007 @endif target-newlib
25009 # Other targets (info, dvi, etc.)
25011 .PHONY: maybe-info-target-newlib info-target-newlib
25012 maybe-info-target-newlib:
25013 @if target-newlib
25014 maybe-info-target-newlib: info-target-newlib
25016 info-target-newlib: \
25017 configure-target-newlib
25018 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25019 r=`${PWD_COMMAND}`; export r; \
25020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25021 $(SET_LIB_PATH) \
25022 $(NORMAL_TARGET_EXPORTS) \
25023 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
25024 for flag in $(EXTRA_TARGET_FLAGS); do \
25025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25026 done; \
25027 (cd $(TARGET_SUBDIR)/newlib && \
25028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25030 "RANLIB=$${RANLIB}" \
25031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25032 info) \
25033 || exit 1
25035 @endif target-newlib
25037 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
25038 maybe-dvi-target-newlib:
25039 @if target-newlib
25040 maybe-dvi-target-newlib: dvi-target-newlib
25042 dvi-target-newlib: \
25043 configure-target-newlib
25044 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25045 r=`${PWD_COMMAND}`; export r; \
25046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25047 $(SET_LIB_PATH) \
25048 $(NORMAL_TARGET_EXPORTS) \
25049 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
25050 for flag in $(EXTRA_TARGET_FLAGS); do \
25051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25052 done; \
25053 (cd $(TARGET_SUBDIR)/newlib && \
25054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25056 "RANLIB=$${RANLIB}" \
25057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25058 dvi) \
25059 || exit 1
25061 @endif target-newlib
25063 .PHONY: maybe-html-target-newlib html-target-newlib
25064 maybe-html-target-newlib:
25065 @if target-newlib
25066 maybe-html-target-newlib: html-target-newlib
25068 html-target-newlib: \
25069 configure-target-newlib
25070 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25071 r=`${PWD_COMMAND}`; export r; \
25072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25073 $(SET_LIB_PATH) \
25074 $(NORMAL_TARGET_EXPORTS) \
25075 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
25076 for flag in $(EXTRA_TARGET_FLAGS); do \
25077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25078 done; \
25079 (cd $(TARGET_SUBDIR)/newlib && \
25080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25082 "RANLIB=$${RANLIB}" \
25083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25084 html) \
25085 || exit 1
25087 @endif target-newlib
25089 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
25090 maybe-TAGS-target-newlib:
25091 @if target-newlib
25092 maybe-TAGS-target-newlib: TAGS-target-newlib
25094 TAGS-target-newlib: \
25095 configure-target-newlib
25096 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25097 r=`${PWD_COMMAND}`; export r; \
25098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25099 $(SET_LIB_PATH) \
25100 $(NORMAL_TARGET_EXPORTS) \
25101 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
25102 for flag in $(EXTRA_TARGET_FLAGS); do \
25103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25104 done; \
25105 (cd $(TARGET_SUBDIR)/newlib && \
25106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25108 "RANLIB=$${RANLIB}" \
25109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25110 TAGS) \
25111 || exit 1
25113 @endif target-newlib
25115 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
25116 maybe-install-info-target-newlib:
25117 @if target-newlib
25118 maybe-install-info-target-newlib: install-info-target-newlib
25120 install-info-target-newlib: \
25121 configure-target-newlib \
25122 info-target-newlib
25123 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25124 r=`${PWD_COMMAND}`; export r; \
25125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25126 $(SET_LIB_PATH) \
25127 $(NORMAL_TARGET_EXPORTS) \
25128 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
25129 for flag in $(EXTRA_TARGET_FLAGS); do \
25130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25131 done; \
25132 (cd $(TARGET_SUBDIR)/newlib && \
25133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25135 "RANLIB=$${RANLIB}" \
25136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25137 install-info) \
25138 || exit 1
25140 @endif target-newlib
25142 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
25143 maybe-installcheck-target-newlib:
25144 @if target-newlib
25145 maybe-installcheck-target-newlib: installcheck-target-newlib
25147 installcheck-target-newlib: \
25148 configure-target-newlib
25149 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25150 r=`${PWD_COMMAND}`; export r; \
25151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25152 $(SET_LIB_PATH) \
25153 $(NORMAL_TARGET_EXPORTS) \
25154 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
25155 for flag in $(EXTRA_TARGET_FLAGS); do \
25156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25157 done; \
25158 (cd $(TARGET_SUBDIR)/newlib && \
25159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25161 "RANLIB=$${RANLIB}" \
25162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25163 installcheck) \
25164 || exit 1
25166 @endif target-newlib
25168 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
25169 maybe-mostlyclean-target-newlib:
25170 @if target-newlib
25171 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
25173 mostlyclean-target-newlib:
25174 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25175 r=`${PWD_COMMAND}`; export r; \
25176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25177 $(SET_LIB_PATH) \
25178 $(NORMAL_TARGET_EXPORTS) \
25179 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
25180 for flag in $(EXTRA_TARGET_FLAGS); do \
25181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25182 done; \
25183 (cd $(TARGET_SUBDIR)/newlib && \
25184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25186 "RANLIB=$${RANLIB}" \
25187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25188 mostlyclean) \
25189 || exit 1
25191 @endif target-newlib
25193 .PHONY: maybe-clean-target-newlib clean-target-newlib
25194 maybe-clean-target-newlib:
25195 @if target-newlib
25196 maybe-clean-target-newlib: clean-target-newlib
25198 clean-target-newlib:
25199 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25200 r=`${PWD_COMMAND}`; export r; \
25201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25202 $(SET_LIB_PATH) \
25203 $(NORMAL_TARGET_EXPORTS) \
25204 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
25205 for flag in $(EXTRA_TARGET_FLAGS); do \
25206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25207 done; \
25208 (cd $(TARGET_SUBDIR)/newlib && \
25209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25211 "RANLIB=$${RANLIB}" \
25212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25213 clean) \
25214 || exit 1
25216 @endif target-newlib
25218 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
25219 maybe-distclean-target-newlib:
25220 @if target-newlib
25221 maybe-distclean-target-newlib: distclean-target-newlib
25223 distclean-target-newlib:
25224 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25225 r=`${PWD_COMMAND}`; export r; \
25226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25227 $(SET_LIB_PATH) \
25228 $(NORMAL_TARGET_EXPORTS) \
25229 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
25230 for flag in $(EXTRA_TARGET_FLAGS); do \
25231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25232 done; \
25233 (cd $(TARGET_SUBDIR)/newlib && \
25234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25236 "RANLIB=$${RANLIB}" \
25237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25238 distclean) \
25239 || exit 1
25241 @endif target-newlib
25243 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
25244 maybe-maintainer-clean-target-newlib:
25245 @if target-newlib
25246 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
25248 maintainer-clean-target-newlib:
25249 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25250 r=`${PWD_COMMAND}`; export r; \
25251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25252 $(SET_LIB_PATH) \
25253 $(NORMAL_TARGET_EXPORTS) \
25254 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
25255 for flag in $(EXTRA_TARGET_FLAGS); do \
25256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25257 done; \
25258 (cd $(TARGET_SUBDIR)/newlib && \
25259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25261 "RANLIB=$${RANLIB}" \
25262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25263 maintainer-clean) \
25264 || exit 1
25266 @endif target-newlib
25269 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
25270 maybe-configure-target-libgfortran:
25271 @if target-libgfortran
25272 maybe-configure-target-libgfortran: configure-target-libgfortran
25274 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25275 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
25276 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25277 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
25278 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
25280 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
25281 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
25282 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25283 r=`${PWD_COMMAND}`; export r; \
25284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25285 $(SET_LIB_PATH) \
25286 $(NORMAL_TARGET_EXPORTS) \
25287 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
25288 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
25289 case $(srcdir) in \
25290 /* | [A-Za-z]:[\\/]*) \
25291 topdir=$(srcdir) ;; \
25292 *) \
25293 case "$(TARGET_SUBDIR)" in \
25294 .) topdir="../$(srcdir)" ;; \
25295 *) topdir="../../$(srcdir)" ;; \
25296 esac ;; \
25297 esac; \
25298 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
25299 libsrcdir="$$s/libgfortran"; \
25300 rm -f no-such-file || : ; \
25301 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25302 $(TARGET_CONFIGARGS) $${srcdiroption} \
25303 --with-target-subdir="$(TARGET_SUBDIR)" \
25304 || exit 1
25305 @endif target-libgfortran
25307 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
25308 maybe-all-target-libgfortran:
25309 @if target-libgfortran
25310 TARGET-target-libgfortran=all
25311 maybe-all-target-libgfortran: all-target-libgfortran
25312 all-target-libgfortran: configure-target-libgfortran
25313 @r=`${PWD_COMMAND}`; export r; \
25314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25315 $(SET_LIB_PATH) \
25316 $(NORMAL_TARGET_EXPORTS) \
25317 (cd $(TARGET_SUBDIR)/libgfortran && \
25318 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
25319 @endif target-libgfortran
25321 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
25322 maybe-check-target-libgfortran:
25323 @if target-libgfortran
25324 maybe-check-target-libgfortran: check-target-libgfortran
25326 check-target-libgfortran:
25327 @r=`${PWD_COMMAND}`; export r; \
25328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25329 $(SET_LIB_PATH) \
25330 $(NORMAL_TARGET_EXPORTS) \
25331 (cd $(TARGET_SUBDIR)/libgfortran && \
25332 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25334 @endif target-libgfortran
25336 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
25337 maybe-install-target-libgfortran:
25338 @if target-libgfortran
25339 maybe-install-target-libgfortran: install-target-libgfortran
25341 install-target-libgfortran: installdirs
25342 @r=`${PWD_COMMAND}`; export r; \
25343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25344 $(SET_LIB_PATH) \
25345 $(NORMAL_TARGET_EXPORTS) \
25346 (cd $(TARGET_SUBDIR)/libgfortran && \
25347 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25349 @endif target-libgfortran
25351 # Other targets (info, dvi, etc.)
25353 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
25354 maybe-info-target-libgfortran:
25355 @if target-libgfortran
25356 maybe-info-target-libgfortran: info-target-libgfortran
25358 info-target-libgfortran: \
25359 configure-target-libgfortran
25360 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25361 r=`${PWD_COMMAND}`; export r; \
25362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25363 $(SET_LIB_PATH) \
25364 $(NORMAL_TARGET_EXPORTS) \
25365 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
25366 for flag in $(EXTRA_TARGET_FLAGS); do \
25367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25368 done; \
25369 (cd $(TARGET_SUBDIR)/libgfortran && \
25370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25372 "RANLIB=$${RANLIB}" \
25373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25374 info) \
25375 || exit 1
25377 @endif target-libgfortran
25379 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
25380 maybe-dvi-target-libgfortran:
25381 @if target-libgfortran
25382 maybe-dvi-target-libgfortran: dvi-target-libgfortran
25384 dvi-target-libgfortran: \
25385 configure-target-libgfortran
25386 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25387 r=`${PWD_COMMAND}`; export r; \
25388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25389 $(SET_LIB_PATH) \
25390 $(NORMAL_TARGET_EXPORTS) \
25391 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
25392 for flag in $(EXTRA_TARGET_FLAGS); do \
25393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25394 done; \
25395 (cd $(TARGET_SUBDIR)/libgfortran && \
25396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25398 "RANLIB=$${RANLIB}" \
25399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25400 dvi) \
25401 || exit 1
25403 @endif target-libgfortran
25405 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
25406 maybe-html-target-libgfortran:
25407 @if target-libgfortran
25408 maybe-html-target-libgfortran: html-target-libgfortran
25410 html-target-libgfortran: \
25411 configure-target-libgfortran
25412 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25413 r=`${PWD_COMMAND}`; export r; \
25414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25415 $(SET_LIB_PATH) \
25416 $(NORMAL_TARGET_EXPORTS) \
25417 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
25418 for flag in $(EXTRA_TARGET_FLAGS); do \
25419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25420 done; \
25421 (cd $(TARGET_SUBDIR)/libgfortran && \
25422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25424 "RANLIB=$${RANLIB}" \
25425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25426 html) \
25427 || exit 1
25429 @endif target-libgfortran
25431 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
25432 maybe-TAGS-target-libgfortran:
25433 @if target-libgfortran
25434 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
25436 TAGS-target-libgfortran: \
25437 configure-target-libgfortran
25438 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25439 r=`${PWD_COMMAND}`; export r; \
25440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25441 $(SET_LIB_PATH) \
25442 $(NORMAL_TARGET_EXPORTS) \
25443 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
25444 for flag in $(EXTRA_TARGET_FLAGS); do \
25445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25446 done; \
25447 (cd $(TARGET_SUBDIR)/libgfortran && \
25448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25450 "RANLIB=$${RANLIB}" \
25451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25452 TAGS) \
25453 || exit 1
25455 @endif target-libgfortran
25457 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
25458 maybe-install-info-target-libgfortran:
25459 @if target-libgfortran
25460 maybe-install-info-target-libgfortran: install-info-target-libgfortran
25462 install-info-target-libgfortran: \
25463 configure-target-libgfortran \
25464 info-target-libgfortran
25465 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25466 r=`${PWD_COMMAND}`; export r; \
25467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25468 $(SET_LIB_PATH) \
25469 $(NORMAL_TARGET_EXPORTS) \
25470 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
25471 for flag in $(EXTRA_TARGET_FLAGS); do \
25472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25473 done; \
25474 (cd $(TARGET_SUBDIR)/libgfortran && \
25475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25477 "RANLIB=$${RANLIB}" \
25478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25479 install-info) \
25480 || exit 1
25482 @endif target-libgfortran
25484 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
25485 maybe-installcheck-target-libgfortran:
25486 @if target-libgfortran
25487 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
25489 installcheck-target-libgfortran: \
25490 configure-target-libgfortran
25491 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25492 r=`${PWD_COMMAND}`; export r; \
25493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25494 $(SET_LIB_PATH) \
25495 $(NORMAL_TARGET_EXPORTS) \
25496 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
25497 for flag in $(EXTRA_TARGET_FLAGS); do \
25498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25499 done; \
25500 (cd $(TARGET_SUBDIR)/libgfortran && \
25501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25503 "RANLIB=$${RANLIB}" \
25504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25505 installcheck) \
25506 || exit 1
25508 @endif target-libgfortran
25510 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
25511 maybe-mostlyclean-target-libgfortran:
25512 @if target-libgfortran
25513 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
25515 mostlyclean-target-libgfortran:
25516 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25517 r=`${PWD_COMMAND}`; export r; \
25518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25519 $(SET_LIB_PATH) \
25520 $(NORMAL_TARGET_EXPORTS) \
25521 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
25522 for flag in $(EXTRA_TARGET_FLAGS); do \
25523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25524 done; \
25525 (cd $(TARGET_SUBDIR)/libgfortran && \
25526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25528 "RANLIB=$${RANLIB}" \
25529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25530 mostlyclean) \
25531 || exit 1
25533 @endif target-libgfortran
25535 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
25536 maybe-clean-target-libgfortran:
25537 @if target-libgfortran
25538 maybe-clean-target-libgfortran: clean-target-libgfortran
25540 clean-target-libgfortran:
25541 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25542 r=`${PWD_COMMAND}`; export r; \
25543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25544 $(SET_LIB_PATH) \
25545 $(NORMAL_TARGET_EXPORTS) \
25546 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
25547 for flag in $(EXTRA_TARGET_FLAGS); do \
25548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25549 done; \
25550 (cd $(TARGET_SUBDIR)/libgfortran && \
25551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25553 "RANLIB=$${RANLIB}" \
25554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25555 clean) \
25556 || exit 1
25558 @endif target-libgfortran
25560 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
25561 maybe-distclean-target-libgfortran:
25562 @if target-libgfortran
25563 maybe-distclean-target-libgfortran: distclean-target-libgfortran
25565 distclean-target-libgfortran:
25566 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25567 r=`${PWD_COMMAND}`; export r; \
25568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25569 $(SET_LIB_PATH) \
25570 $(NORMAL_TARGET_EXPORTS) \
25571 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
25572 for flag in $(EXTRA_TARGET_FLAGS); do \
25573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25574 done; \
25575 (cd $(TARGET_SUBDIR)/libgfortran && \
25576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25578 "RANLIB=$${RANLIB}" \
25579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25580 distclean) \
25581 || exit 1
25583 @endif target-libgfortran
25585 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
25586 maybe-maintainer-clean-target-libgfortran:
25587 @if target-libgfortran
25588 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
25590 maintainer-clean-target-libgfortran:
25591 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25592 r=`${PWD_COMMAND}`; export r; \
25593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25594 $(SET_LIB_PATH) \
25595 $(NORMAL_TARGET_EXPORTS) \
25596 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
25597 for flag in $(EXTRA_TARGET_FLAGS); do \
25598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25599 done; \
25600 (cd $(TARGET_SUBDIR)/libgfortran && \
25601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25603 "RANLIB=$${RANLIB}" \
25604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25605 maintainer-clean) \
25606 || exit 1
25608 @endif target-libgfortran
25611 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
25612 maybe-configure-target-libobjc:
25613 @if target-libobjc
25614 maybe-configure-target-libobjc: configure-target-libobjc
25616 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25617 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
25618 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25619 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
25620 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
25622 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
25623 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
25624 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25625 r=`${PWD_COMMAND}`; export r; \
25626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25627 $(SET_LIB_PATH) \
25628 $(NORMAL_TARGET_EXPORTS) \
25629 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
25630 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
25631 case $(srcdir) in \
25632 /* | [A-Za-z]:[\\/]*) \
25633 topdir=$(srcdir) ;; \
25634 *) \
25635 case "$(TARGET_SUBDIR)" in \
25636 .) topdir="../$(srcdir)" ;; \
25637 *) topdir="../../$(srcdir)" ;; \
25638 esac ;; \
25639 esac; \
25640 srcdiroption="--srcdir=$${topdir}/libobjc"; \
25641 libsrcdir="$$s/libobjc"; \
25642 rm -f no-such-file || : ; \
25643 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25644 $(TARGET_CONFIGARGS) $${srcdiroption} \
25645 --with-target-subdir="$(TARGET_SUBDIR)" \
25646 || exit 1
25647 @endif target-libobjc
25649 .PHONY: all-target-libobjc maybe-all-target-libobjc
25650 maybe-all-target-libobjc:
25651 @if target-libobjc
25652 TARGET-target-libobjc=all
25653 maybe-all-target-libobjc: all-target-libobjc
25654 all-target-libobjc: configure-target-libobjc
25655 @r=`${PWD_COMMAND}`; export r; \
25656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25657 $(SET_LIB_PATH) \
25658 $(NORMAL_TARGET_EXPORTS) \
25659 (cd $(TARGET_SUBDIR)/libobjc && \
25660 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
25661 @endif target-libobjc
25663 .PHONY: check-target-libobjc maybe-check-target-libobjc
25664 maybe-check-target-libobjc:
25665 @if target-libobjc
25666 maybe-check-target-libobjc: check-target-libobjc
25668 check-target-libobjc:
25669 @r=`${PWD_COMMAND}`; export r; \
25670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25671 $(SET_LIB_PATH) \
25672 $(NORMAL_TARGET_EXPORTS) \
25673 (cd $(TARGET_SUBDIR)/libobjc && \
25674 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25676 @endif target-libobjc
25678 .PHONY: install-target-libobjc maybe-install-target-libobjc
25679 maybe-install-target-libobjc:
25680 @if target-libobjc
25681 maybe-install-target-libobjc: install-target-libobjc
25683 install-target-libobjc: installdirs
25684 @r=`${PWD_COMMAND}`; export r; \
25685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25686 $(SET_LIB_PATH) \
25687 $(NORMAL_TARGET_EXPORTS) \
25688 (cd $(TARGET_SUBDIR)/libobjc && \
25689 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25691 @endif target-libobjc
25693 # Other targets (info, dvi, etc.)
25695 .PHONY: maybe-info-target-libobjc info-target-libobjc
25696 maybe-info-target-libobjc:
25697 @if target-libobjc
25698 maybe-info-target-libobjc: info-target-libobjc
25700 info-target-libobjc: \
25701 configure-target-libobjc
25702 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25703 r=`${PWD_COMMAND}`; export r; \
25704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25705 $(SET_LIB_PATH) \
25706 $(NORMAL_TARGET_EXPORTS) \
25707 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
25708 for flag in $(EXTRA_TARGET_FLAGS); do \
25709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25710 done; \
25711 (cd $(TARGET_SUBDIR)/libobjc && \
25712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25714 "RANLIB=$${RANLIB}" \
25715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25716 info) \
25717 || exit 1
25719 @endif target-libobjc
25721 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
25722 maybe-dvi-target-libobjc:
25723 @if target-libobjc
25724 maybe-dvi-target-libobjc: dvi-target-libobjc
25726 dvi-target-libobjc: \
25727 configure-target-libobjc
25728 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25729 r=`${PWD_COMMAND}`; export r; \
25730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25731 $(SET_LIB_PATH) \
25732 $(NORMAL_TARGET_EXPORTS) \
25733 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
25734 for flag in $(EXTRA_TARGET_FLAGS); do \
25735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25736 done; \
25737 (cd $(TARGET_SUBDIR)/libobjc && \
25738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25740 "RANLIB=$${RANLIB}" \
25741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25742 dvi) \
25743 || exit 1
25745 @endif target-libobjc
25747 .PHONY: maybe-html-target-libobjc html-target-libobjc
25748 maybe-html-target-libobjc:
25749 @if target-libobjc
25750 maybe-html-target-libobjc: html-target-libobjc
25752 html-target-libobjc: \
25753 configure-target-libobjc
25754 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25755 r=`${PWD_COMMAND}`; export r; \
25756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25757 $(SET_LIB_PATH) \
25758 $(NORMAL_TARGET_EXPORTS) \
25759 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
25760 for flag in $(EXTRA_TARGET_FLAGS); do \
25761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25762 done; \
25763 (cd $(TARGET_SUBDIR)/libobjc && \
25764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25766 "RANLIB=$${RANLIB}" \
25767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25768 html) \
25769 || exit 1
25771 @endif target-libobjc
25773 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
25774 maybe-TAGS-target-libobjc:
25775 @if target-libobjc
25776 maybe-TAGS-target-libobjc: TAGS-target-libobjc
25778 TAGS-target-libobjc: \
25779 configure-target-libobjc
25780 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25781 r=`${PWD_COMMAND}`; export r; \
25782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25783 $(SET_LIB_PATH) \
25784 $(NORMAL_TARGET_EXPORTS) \
25785 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
25786 for flag in $(EXTRA_TARGET_FLAGS); do \
25787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25788 done; \
25789 (cd $(TARGET_SUBDIR)/libobjc && \
25790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25792 "RANLIB=$${RANLIB}" \
25793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25794 TAGS) \
25795 || exit 1
25797 @endif target-libobjc
25799 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
25800 maybe-install-info-target-libobjc:
25801 @if target-libobjc
25802 maybe-install-info-target-libobjc: install-info-target-libobjc
25804 install-info-target-libobjc: \
25805 configure-target-libobjc \
25806 info-target-libobjc
25807 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25808 r=`${PWD_COMMAND}`; export r; \
25809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25810 $(SET_LIB_PATH) \
25811 $(NORMAL_TARGET_EXPORTS) \
25812 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
25813 for flag in $(EXTRA_TARGET_FLAGS); do \
25814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25815 done; \
25816 (cd $(TARGET_SUBDIR)/libobjc && \
25817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25819 "RANLIB=$${RANLIB}" \
25820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25821 install-info) \
25822 || exit 1
25824 @endif target-libobjc
25826 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
25827 maybe-installcheck-target-libobjc:
25828 @if target-libobjc
25829 maybe-installcheck-target-libobjc: installcheck-target-libobjc
25831 installcheck-target-libobjc: \
25832 configure-target-libobjc
25833 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25834 r=`${PWD_COMMAND}`; export r; \
25835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25836 $(SET_LIB_PATH) \
25837 $(NORMAL_TARGET_EXPORTS) \
25838 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
25839 for flag in $(EXTRA_TARGET_FLAGS); do \
25840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25841 done; \
25842 (cd $(TARGET_SUBDIR)/libobjc && \
25843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25845 "RANLIB=$${RANLIB}" \
25846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25847 installcheck) \
25848 || exit 1
25850 @endif target-libobjc
25852 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
25853 maybe-mostlyclean-target-libobjc:
25854 @if target-libobjc
25855 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
25857 mostlyclean-target-libobjc:
25858 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25859 r=`${PWD_COMMAND}`; export r; \
25860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25861 $(SET_LIB_PATH) \
25862 $(NORMAL_TARGET_EXPORTS) \
25863 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
25864 for flag in $(EXTRA_TARGET_FLAGS); do \
25865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25866 done; \
25867 (cd $(TARGET_SUBDIR)/libobjc && \
25868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25870 "RANLIB=$${RANLIB}" \
25871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25872 mostlyclean) \
25873 || exit 1
25875 @endif target-libobjc
25877 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
25878 maybe-clean-target-libobjc:
25879 @if target-libobjc
25880 maybe-clean-target-libobjc: clean-target-libobjc
25882 clean-target-libobjc:
25883 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25884 r=`${PWD_COMMAND}`; export r; \
25885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25886 $(SET_LIB_PATH) \
25887 $(NORMAL_TARGET_EXPORTS) \
25888 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
25889 for flag in $(EXTRA_TARGET_FLAGS); do \
25890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25891 done; \
25892 (cd $(TARGET_SUBDIR)/libobjc && \
25893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25895 "RANLIB=$${RANLIB}" \
25896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25897 clean) \
25898 || exit 1
25900 @endif target-libobjc
25902 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
25903 maybe-distclean-target-libobjc:
25904 @if target-libobjc
25905 maybe-distclean-target-libobjc: distclean-target-libobjc
25907 distclean-target-libobjc:
25908 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25909 r=`${PWD_COMMAND}`; export r; \
25910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25911 $(SET_LIB_PATH) \
25912 $(NORMAL_TARGET_EXPORTS) \
25913 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
25914 for flag in $(EXTRA_TARGET_FLAGS); do \
25915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25916 done; \
25917 (cd $(TARGET_SUBDIR)/libobjc && \
25918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25920 "RANLIB=$${RANLIB}" \
25921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25922 distclean) \
25923 || exit 1
25925 @endif target-libobjc
25927 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
25928 maybe-maintainer-clean-target-libobjc:
25929 @if target-libobjc
25930 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
25932 maintainer-clean-target-libobjc:
25933 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25934 r=`${PWD_COMMAND}`; export r; \
25935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25936 $(SET_LIB_PATH) \
25937 $(NORMAL_TARGET_EXPORTS) \
25938 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
25939 for flag in $(EXTRA_TARGET_FLAGS); do \
25940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25941 done; \
25942 (cd $(TARGET_SUBDIR)/libobjc && \
25943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25945 "RANLIB=$${RANLIB}" \
25946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25947 maintainer-clean) \
25948 || exit 1
25950 @endif target-libobjc
25953 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
25954 maybe-configure-target-libtermcap:
25955 @if target-libtermcap
25956 maybe-configure-target-libtermcap: configure-target-libtermcap
25958 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25959 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
25960 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25961 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
25962 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
25964 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
25965 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
25966 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25967 r=`${PWD_COMMAND}`; export r; \
25968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25969 $(SET_LIB_PATH) \
25970 $(NORMAL_TARGET_EXPORTS) \
25971 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
25972 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
25973 case $(srcdir) in \
25974 /* | [A-Za-z]:[\\/]*) \
25975 topdir=$(srcdir) ;; \
25976 *) \
25977 case "$(TARGET_SUBDIR)" in \
25978 .) topdir="../$(srcdir)" ;; \
25979 *) topdir="../../$(srcdir)" ;; \
25980 esac ;; \
25981 esac; \
25982 if [ "$(srcdir)" = "." ] ; then \
25983 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
25984 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
25985 if [ -f Makefile ]; then \
25986 if $(MAKE) distclean; then \
25987 true; \
25988 else \
25989 exit 1; \
25990 fi; \
25991 else \
25992 true; \
25993 fi; \
25994 else \
25995 exit 1; \
25996 fi; \
25997 else \
25998 true; \
25999 fi; \
26000 srcdiroption="--srcdir=."; \
26001 libsrcdir="."; \
26002 else \
26003 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
26004 libsrcdir="$$s/libtermcap"; \
26005 fi; \
26006 rm -f no-such-file || : ; \
26007 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26008 $(TARGET_CONFIGARGS) $${srcdiroption} \
26009 --with-target-subdir="$(TARGET_SUBDIR)" \
26010 || exit 1
26011 @endif target-libtermcap
26013 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
26014 maybe-all-target-libtermcap:
26015 @if target-libtermcap
26016 TARGET-target-libtermcap=all
26017 maybe-all-target-libtermcap: all-target-libtermcap
26018 all-target-libtermcap: configure-target-libtermcap
26019 @r=`${PWD_COMMAND}`; export r; \
26020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26021 $(SET_LIB_PATH) \
26022 $(NORMAL_TARGET_EXPORTS) \
26023 (cd $(TARGET_SUBDIR)/libtermcap && \
26024 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
26025 @endif target-libtermcap
26027 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
26028 maybe-check-target-libtermcap:
26029 @if target-libtermcap
26030 maybe-check-target-libtermcap: check-target-libtermcap
26032 # Dummy target for uncheckable module.
26033 check-target-libtermcap:
26035 @endif target-libtermcap
26037 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
26038 maybe-install-target-libtermcap:
26039 @if target-libtermcap
26040 maybe-install-target-libtermcap: install-target-libtermcap
26042 install-target-libtermcap: installdirs
26043 @r=`${PWD_COMMAND}`; export r; \
26044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26045 $(SET_LIB_PATH) \
26046 $(NORMAL_TARGET_EXPORTS) \
26047 (cd $(TARGET_SUBDIR)/libtermcap && \
26048 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26050 @endif target-libtermcap
26052 # Other targets (info, dvi, etc.)
26054 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
26055 maybe-info-target-libtermcap:
26056 @if target-libtermcap
26057 maybe-info-target-libtermcap: info-target-libtermcap
26059 info-target-libtermcap: \
26060 configure-target-libtermcap
26061 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26062 r=`${PWD_COMMAND}`; export r; \
26063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26064 $(SET_LIB_PATH) \
26065 $(NORMAL_TARGET_EXPORTS) \
26066 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
26067 for flag in $(EXTRA_TARGET_FLAGS); do \
26068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26069 done; \
26070 (cd $(TARGET_SUBDIR)/libtermcap && \
26071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26073 "RANLIB=$${RANLIB}" \
26074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26075 info) \
26076 || exit 1
26078 @endif target-libtermcap
26080 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
26081 maybe-dvi-target-libtermcap:
26082 @if target-libtermcap
26083 maybe-dvi-target-libtermcap: dvi-target-libtermcap
26085 dvi-target-libtermcap: \
26086 configure-target-libtermcap
26087 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26088 r=`${PWD_COMMAND}`; export r; \
26089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26090 $(SET_LIB_PATH) \
26091 $(NORMAL_TARGET_EXPORTS) \
26092 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
26093 for flag in $(EXTRA_TARGET_FLAGS); do \
26094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26095 done; \
26096 (cd $(TARGET_SUBDIR)/libtermcap && \
26097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26099 "RANLIB=$${RANLIB}" \
26100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26101 dvi) \
26102 || exit 1
26104 @endif target-libtermcap
26106 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
26107 maybe-html-target-libtermcap:
26108 @if target-libtermcap
26109 maybe-html-target-libtermcap: html-target-libtermcap
26111 html-target-libtermcap: \
26112 configure-target-libtermcap
26113 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26114 r=`${PWD_COMMAND}`; export r; \
26115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26116 $(SET_LIB_PATH) \
26117 $(NORMAL_TARGET_EXPORTS) \
26118 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
26119 for flag in $(EXTRA_TARGET_FLAGS); do \
26120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26121 done; \
26122 (cd $(TARGET_SUBDIR)/libtermcap && \
26123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26125 "RANLIB=$${RANLIB}" \
26126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26127 html) \
26128 || exit 1
26130 @endif target-libtermcap
26132 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
26133 maybe-TAGS-target-libtermcap:
26134 @if target-libtermcap
26135 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
26137 TAGS-target-libtermcap: \
26138 configure-target-libtermcap
26139 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26140 r=`${PWD_COMMAND}`; export r; \
26141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26142 $(SET_LIB_PATH) \
26143 $(NORMAL_TARGET_EXPORTS) \
26144 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
26145 for flag in $(EXTRA_TARGET_FLAGS); do \
26146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26147 done; \
26148 (cd $(TARGET_SUBDIR)/libtermcap && \
26149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26151 "RANLIB=$${RANLIB}" \
26152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26153 TAGS) \
26154 || exit 1
26156 @endif target-libtermcap
26158 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
26159 maybe-install-info-target-libtermcap:
26160 @if target-libtermcap
26161 maybe-install-info-target-libtermcap: install-info-target-libtermcap
26163 install-info-target-libtermcap: \
26164 configure-target-libtermcap \
26165 info-target-libtermcap
26166 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26167 r=`${PWD_COMMAND}`; export r; \
26168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26169 $(SET_LIB_PATH) \
26170 $(NORMAL_TARGET_EXPORTS) \
26171 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
26172 for flag in $(EXTRA_TARGET_FLAGS); do \
26173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26174 done; \
26175 (cd $(TARGET_SUBDIR)/libtermcap && \
26176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26178 "RANLIB=$${RANLIB}" \
26179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26180 install-info) \
26181 || exit 1
26183 @endif target-libtermcap
26185 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
26186 maybe-installcheck-target-libtermcap:
26187 @if target-libtermcap
26188 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
26190 installcheck-target-libtermcap: \
26191 configure-target-libtermcap
26192 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26193 r=`${PWD_COMMAND}`; export r; \
26194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26195 $(SET_LIB_PATH) \
26196 $(NORMAL_TARGET_EXPORTS) \
26197 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
26198 for flag in $(EXTRA_TARGET_FLAGS); do \
26199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26200 done; \
26201 (cd $(TARGET_SUBDIR)/libtermcap && \
26202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26204 "RANLIB=$${RANLIB}" \
26205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26206 installcheck) \
26207 || exit 1
26209 @endif target-libtermcap
26211 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
26212 maybe-mostlyclean-target-libtermcap:
26213 @if target-libtermcap
26214 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
26216 # libtermcap doesn't support mostlyclean.
26217 mostlyclean-target-libtermcap:
26219 @endif target-libtermcap
26221 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
26222 maybe-clean-target-libtermcap:
26223 @if target-libtermcap
26224 maybe-clean-target-libtermcap: clean-target-libtermcap
26226 # libtermcap doesn't support clean.
26227 clean-target-libtermcap:
26229 @endif target-libtermcap
26231 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
26232 maybe-distclean-target-libtermcap:
26233 @if target-libtermcap
26234 maybe-distclean-target-libtermcap: distclean-target-libtermcap
26236 # libtermcap doesn't support distclean.
26237 distclean-target-libtermcap:
26239 @endif target-libtermcap
26241 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
26242 maybe-maintainer-clean-target-libtermcap:
26243 @if target-libtermcap
26244 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
26246 # libtermcap doesn't support maintainer-clean.
26247 maintainer-clean-target-libtermcap:
26249 @endif target-libtermcap
26252 .PHONY: configure-target-winsup maybe-configure-target-winsup
26253 maybe-configure-target-winsup:
26254 @if target-winsup
26255 maybe-configure-target-winsup: configure-target-winsup
26257 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26258 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
26259 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26260 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
26261 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
26263 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
26264 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
26265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26266 r=`${PWD_COMMAND}`; export r; \
26267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26268 $(SET_LIB_PATH) \
26269 $(NORMAL_TARGET_EXPORTS) \
26270 echo Configuring in $(TARGET_SUBDIR)/winsup; \
26271 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
26272 case $(srcdir) in \
26273 /* | [A-Za-z]:[\\/]*) \
26274 topdir=$(srcdir) ;; \
26275 *) \
26276 case "$(TARGET_SUBDIR)" in \
26277 .) topdir="../$(srcdir)" ;; \
26278 *) topdir="../../$(srcdir)" ;; \
26279 esac ;; \
26280 esac; \
26281 srcdiroption="--srcdir=$${topdir}/winsup"; \
26282 libsrcdir="$$s/winsup"; \
26283 rm -f no-such-file || : ; \
26284 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26285 $(TARGET_CONFIGARGS) $${srcdiroption} \
26286 --with-target-subdir="$(TARGET_SUBDIR)" \
26287 || exit 1
26288 @endif target-winsup
26290 .PHONY: all-target-winsup maybe-all-target-winsup
26291 maybe-all-target-winsup:
26292 @if target-winsup
26293 TARGET-target-winsup=all
26294 maybe-all-target-winsup: all-target-winsup
26295 all-target-winsup: configure-target-winsup
26296 @r=`${PWD_COMMAND}`; export r; \
26297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26298 $(SET_LIB_PATH) \
26299 $(NORMAL_TARGET_EXPORTS) \
26300 (cd $(TARGET_SUBDIR)/winsup && \
26301 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
26302 @endif target-winsup
26304 .PHONY: check-target-winsup maybe-check-target-winsup
26305 maybe-check-target-winsup:
26306 @if target-winsup
26307 maybe-check-target-winsup: check-target-winsup
26309 check-target-winsup:
26310 @r=`${PWD_COMMAND}`; export r; \
26311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26312 $(SET_LIB_PATH) \
26313 $(NORMAL_TARGET_EXPORTS) \
26314 (cd $(TARGET_SUBDIR)/winsup && \
26315 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26317 @endif target-winsup
26319 .PHONY: install-target-winsup maybe-install-target-winsup
26320 maybe-install-target-winsup:
26321 @if target-winsup
26322 maybe-install-target-winsup: install-target-winsup
26324 install-target-winsup: installdirs
26325 @r=`${PWD_COMMAND}`; export r; \
26326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26327 $(SET_LIB_PATH) \
26328 $(NORMAL_TARGET_EXPORTS) \
26329 (cd $(TARGET_SUBDIR)/winsup && \
26330 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26332 @endif target-winsup
26334 # Other targets (info, dvi, etc.)
26336 .PHONY: maybe-info-target-winsup info-target-winsup
26337 maybe-info-target-winsup:
26338 @if target-winsup
26339 maybe-info-target-winsup: info-target-winsup
26341 info-target-winsup: \
26342 configure-target-winsup
26343 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26344 r=`${PWD_COMMAND}`; export r; \
26345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26346 $(SET_LIB_PATH) \
26347 $(NORMAL_TARGET_EXPORTS) \
26348 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
26349 for flag in $(EXTRA_TARGET_FLAGS); do \
26350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26351 done; \
26352 (cd $(TARGET_SUBDIR)/winsup && \
26353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26355 "RANLIB=$${RANLIB}" \
26356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26357 info) \
26358 || exit 1
26360 @endif target-winsup
26362 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
26363 maybe-dvi-target-winsup:
26364 @if target-winsup
26365 maybe-dvi-target-winsup: dvi-target-winsup
26367 dvi-target-winsup: \
26368 configure-target-winsup
26369 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26370 r=`${PWD_COMMAND}`; export r; \
26371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26372 $(SET_LIB_PATH) \
26373 $(NORMAL_TARGET_EXPORTS) \
26374 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
26375 for flag in $(EXTRA_TARGET_FLAGS); do \
26376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26377 done; \
26378 (cd $(TARGET_SUBDIR)/winsup && \
26379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26381 "RANLIB=$${RANLIB}" \
26382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26383 dvi) \
26384 || exit 1
26386 @endif target-winsup
26388 .PHONY: maybe-html-target-winsup html-target-winsup
26389 maybe-html-target-winsup:
26390 @if target-winsup
26391 maybe-html-target-winsup: html-target-winsup
26393 html-target-winsup: \
26394 configure-target-winsup
26395 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26396 r=`${PWD_COMMAND}`; export r; \
26397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26398 $(SET_LIB_PATH) \
26399 $(NORMAL_TARGET_EXPORTS) \
26400 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
26401 for flag in $(EXTRA_TARGET_FLAGS); do \
26402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26403 done; \
26404 (cd $(TARGET_SUBDIR)/winsup && \
26405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26407 "RANLIB=$${RANLIB}" \
26408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26409 html) \
26410 || exit 1
26412 @endif target-winsup
26414 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
26415 maybe-TAGS-target-winsup:
26416 @if target-winsup
26417 maybe-TAGS-target-winsup: TAGS-target-winsup
26419 TAGS-target-winsup: \
26420 configure-target-winsup
26421 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26422 r=`${PWD_COMMAND}`; export r; \
26423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26424 $(SET_LIB_PATH) \
26425 $(NORMAL_TARGET_EXPORTS) \
26426 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
26427 for flag in $(EXTRA_TARGET_FLAGS); do \
26428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26429 done; \
26430 (cd $(TARGET_SUBDIR)/winsup && \
26431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26433 "RANLIB=$${RANLIB}" \
26434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26435 TAGS) \
26436 || exit 1
26438 @endif target-winsup
26440 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
26441 maybe-install-info-target-winsup:
26442 @if target-winsup
26443 maybe-install-info-target-winsup: install-info-target-winsup
26445 install-info-target-winsup: \
26446 configure-target-winsup \
26447 info-target-winsup
26448 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26449 r=`${PWD_COMMAND}`; export r; \
26450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26451 $(SET_LIB_PATH) \
26452 $(NORMAL_TARGET_EXPORTS) \
26453 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
26454 for flag in $(EXTRA_TARGET_FLAGS); do \
26455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26456 done; \
26457 (cd $(TARGET_SUBDIR)/winsup && \
26458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26460 "RANLIB=$${RANLIB}" \
26461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26462 install-info) \
26463 || exit 1
26465 @endif target-winsup
26467 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
26468 maybe-installcheck-target-winsup:
26469 @if target-winsup
26470 maybe-installcheck-target-winsup: installcheck-target-winsup
26472 installcheck-target-winsup: \
26473 configure-target-winsup
26474 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26475 r=`${PWD_COMMAND}`; export r; \
26476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26477 $(SET_LIB_PATH) \
26478 $(NORMAL_TARGET_EXPORTS) \
26479 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
26480 for flag in $(EXTRA_TARGET_FLAGS); do \
26481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26482 done; \
26483 (cd $(TARGET_SUBDIR)/winsup && \
26484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26486 "RANLIB=$${RANLIB}" \
26487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26488 installcheck) \
26489 || exit 1
26491 @endif target-winsup
26493 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
26494 maybe-mostlyclean-target-winsup:
26495 @if target-winsup
26496 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
26498 mostlyclean-target-winsup:
26499 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26500 r=`${PWD_COMMAND}`; export r; \
26501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26502 $(SET_LIB_PATH) \
26503 $(NORMAL_TARGET_EXPORTS) \
26504 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
26505 for flag in $(EXTRA_TARGET_FLAGS); do \
26506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26507 done; \
26508 (cd $(TARGET_SUBDIR)/winsup && \
26509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26511 "RANLIB=$${RANLIB}" \
26512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26513 mostlyclean) \
26514 || exit 1
26516 @endif target-winsup
26518 .PHONY: maybe-clean-target-winsup clean-target-winsup
26519 maybe-clean-target-winsup:
26520 @if target-winsup
26521 maybe-clean-target-winsup: clean-target-winsup
26523 clean-target-winsup:
26524 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26525 r=`${PWD_COMMAND}`; export r; \
26526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26527 $(SET_LIB_PATH) \
26528 $(NORMAL_TARGET_EXPORTS) \
26529 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
26530 for flag in $(EXTRA_TARGET_FLAGS); do \
26531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26532 done; \
26533 (cd $(TARGET_SUBDIR)/winsup && \
26534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26536 "RANLIB=$${RANLIB}" \
26537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26538 clean) \
26539 || exit 1
26541 @endif target-winsup
26543 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
26544 maybe-distclean-target-winsup:
26545 @if target-winsup
26546 maybe-distclean-target-winsup: distclean-target-winsup
26548 distclean-target-winsup:
26549 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26550 r=`${PWD_COMMAND}`; export r; \
26551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26552 $(SET_LIB_PATH) \
26553 $(NORMAL_TARGET_EXPORTS) \
26554 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
26555 for flag in $(EXTRA_TARGET_FLAGS); do \
26556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26557 done; \
26558 (cd $(TARGET_SUBDIR)/winsup && \
26559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26561 "RANLIB=$${RANLIB}" \
26562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26563 distclean) \
26564 || exit 1
26566 @endif target-winsup
26568 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
26569 maybe-maintainer-clean-target-winsup:
26570 @if target-winsup
26571 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
26573 maintainer-clean-target-winsup:
26574 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26575 r=`${PWD_COMMAND}`; export r; \
26576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26577 $(SET_LIB_PATH) \
26578 $(NORMAL_TARGET_EXPORTS) \
26579 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
26580 for flag in $(EXTRA_TARGET_FLAGS); do \
26581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26582 done; \
26583 (cd $(TARGET_SUBDIR)/winsup && \
26584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26586 "RANLIB=$${RANLIB}" \
26587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26588 maintainer-clean) \
26589 || exit 1
26591 @endif target-winsup
26594 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
26595 maybe-configure-target-libgloss:
26596 @if target-libgloss
26597 maybe-configure-target-libgloss: configure-target-libgloss
26599 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26600 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
26601 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26602 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
26603 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
26605 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
26606 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
26607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26608 r=`${PWD_COMMAND}`; export r; \
26609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26610 $(SET_LIB_PATH) \
26611 $(NORMAL_TARGET_EXPORTS) \
26612 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
26613 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
26614 case $(srcdir) in \
26615 /* | [A-Za-z]:[\\/]*) \
26616 topdir=$(srcdir) ;; \
26617 *) \
26618 case "$(TARGET_SUBDIR)" in \
26619 .) topdir="../$(srcdir)" ;; \
26620 *) topdir="../../$(srcdir)" ;; \
26621 esac ;; \
26622 esac; \
26623 srcdiroption="--srcdir=$${topdir}/libgloss"; \
26624 libsrcdir="$$s/libgloss"; \
26625 rm -f no-such-file || : ; \
26626 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26627 $(TARGET_CONFIGARGS) $${srcdiroption} \
26628 --with-target-subdir="$(TARGET_SUBDIR)" \
26629 || exit 1
26630 @endif target-libgloss
26632 .PHONY: all-target-libgloss maybe-all-target-libgloss
26633 maybe-all-target-libgloss:
26634 @if target-libgloss
26635 TARGET-target-libgloss=all
26636 maybe-all-target-libgloss: all-target-libgloss
26637 all-target-libgloss: configure-target-libgloss
26638 @r=`${PWD_COMMAND}`; export r; \
26639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26640 $(SET_LIB_PATH) \
26641 $(NORMAL_TARGET_EXPORTS) \
26642 (cd $(TARGET_SUBDIR)/libgloss && \
26643 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
26644 @endif target-libgloss
26646 .PHONY: check-target-libgloss maybe-check-target-libgloss
26647 maybe-check-target-libgloss:
26648 @if target-libgloss
26649 maybe-check-target-libgloss: check-target-libgloss
26651 # Dummy target for uncheckable module.
26652 check-target-libgloss:
26654 @endif target-libgloss
26656 .PHONY: install-target-libgloss maybe-install-target-libgloss
26657 maybe-install-target-libgloss:
26658 @if target-libgloss
26659 maybe-install-target-libgloss: install-target-libgloss
26661 install-target-libgloss: installdirs
26662 @r=`${PWD_COMMAND}`; export r; \
26663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26664 $(SET_LIB_PATH) \
26665 $(NORMAL_TARGET_EXPORTS) \
26666 (cd $(TARGET_SUBDIR)/libgloss && \
26667 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26669 @endif target-libgloss
26671 # Other targets (info, dvi, etc.)
26673 .PHONY: maybe-info-target-libgloss info-target-libgloss
26674 maybe-info-target-libgloss:
26675 @if target-libgloss
26676 maybe-info-target-libgloss: info-target-libgloss
26678 info-target-libgloss: \
26679 configure-target-libgloss
26680 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26681 r=`${PWD_COMMAND}`; export r; \
26682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26683 $(SET_LIB_PATH) \
26684 $(NORMAL_TARGET_EXPORTS) \
26685 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
26686 for flag in $(EXTRA_TARGET_FLAGS); do \
26687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26688 done; \
26689 (cd $(TARGET_SUBDIR)/libgloss && \
26690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26692 "RANLIB=$${RANLIB}" \
26693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26694 info) \
26695 || exit 1
26697 @endif target-libgloss
26699 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
26700 maybe-dvi-target-libgloss:
26701 @if target-libgloss
26702 maybe-dvi-target-libgloss: dvi-target-libgloss
26704 dvi-target-libgloss: \
26705 configure-target-libgloss
26706 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26707 r=`${PWD_COMMAND}`; export r; \
26708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26709 $(SET_LIB_PATH) \
26710 $(NORMAL_TARGET_EXPORTS) \
26711 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
26712 for flag in $(EXTRA_TARGET_FLAGS); do \
26713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26714 done; \
26715 (cd $(TARGET_SUBDIR)/libgloss && \
26716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26718 "RANLIB=$${RANLIB}" \
26719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26720 dvi) \
26721 || exit 1
26723 @endif target-libgloss
26725 .PHONY: maybe-html-target-libgloss html-target-libgloss
26726 maybe-html-target-libgloss:
26727 @if target-libgloss
26728 maybe-html-target-libgloss: html-target-libgloss
26730 html-target-libgloss: \
26731 configure-target-libgloss
26732 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26733 r=`${PWD_COMMAND}`; export r; \
26734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26735 $(SET_LIB_PATH) \
26736 $(NORMAL_TARGET_EXPORTS) \
26737 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
26738 for flag in $(EXTRA_TARGET_FLAGS); do \
26739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26740 done; \
26741 (cd $(TARGET_SUBDIR)/libgloss && \
26742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26744 "RANLIB=$${RANLIB}" \
26745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26746 html) \
26747 || exit 1
26749 @endif target-libgloss
26751 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
26752 maybe-TAGS-target-libgloss:
26753 @if target-libgloss
26754 maybe-TAGS-target-libgloss: TAGS-target-libgloss
26756 TAGS-target-libgloss: \
26757 configure-target-libgloss
26758 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26759 r=`${PWD_COMMAND}`; export r; \
26760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26761 $(SET_LIB_PATH) \
26762 $(NORMAL_TARGET_EXPORTS) \
26763 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
26764 for flag in $(EXTRA_TARGET_FLAGS); do \
26765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26766 done; \
26767 (cd $(TARGET_SUBDIR)/libgloss && \
26768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26770 "RANLIB=$${RANLIB}" \
26771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26772 TAGS) \
26773 || exit 1
26775 @endif target-libgloss
26777 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
26778 maybe-install-info-target-libgloss:
26779 @if target-libgloss
26780 maybe-install-info-target-libgloss: install-info-target-libgloss
26782 install-info-target-libgloss: \
26783 configure-target-libgloss \
26784 info-target-libgloss
26785 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26786 r=`${PWD_COMMAND}`; export r; \
26787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26788 $(SET_LIB_PATH) \
26789 $(NORMAL_TARGET_EXPORTS) \
26790 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
26791 for flag in $(EXTRA_TARGET_FLAGS); do \
26792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26793 done; \
26794 (cd $(TARGET_SUBDIR)/libgloss && \
26795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26797 "RANLIB=$${RANLIB}" \
26798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26799 install-info) \
26800 || exit 1
26802 @endif target-libgloss
26804 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
26805 maybe-installcheck-target-libgloss:
26806 @if target-libgloss
26807 maybe-installcheck-target-libgloss: installcheck-target-libgloss
26809 installcheck-target-libgloss: \
26810 configure-target-libgloss
26811 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26812 r=`${PWD_COMMAND}`; export r; \
26813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26814 $(SET_LIB_PATH) \
26815 $(NORMAL_TARGET_EXPORTS) \
26816 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
26817 for flag in $(EXTRA_TARGET_FLAGS); do \
26818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26819 done; \
26820 (cd $(TARGET_SUBDIR)/libgloss && \
26821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26823 "RANLIB=$${RANLIB}" \
26824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26825 installcheck) \
26826 || exit 1
26828 @endif target-libgloss
26830 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
26831 maybe-mostlyclean-target-libgloss:
26832 @if target-libgloss
26833 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
26835 mostlyclean-target-libgloss:
26836 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26837 r=`${PWD_COMMAND}`; export r; \
26838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26839 $(SET_LIB_PATH) \
26840 $(NORMAL_TARGET_EXPORTS) \
26841 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
26842 for flag in $(EXTRA_TARGET_FLAGS); do \
26843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26844 done; \
26845 (cd $(TARGET_SUBDIR)/libgloss && \
26846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26848 "RANLIB=$${RANLIB}" \
26849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26850 mostlyclean) \
26851 || exit 1
26853 @endif target-libgloss
26855 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
26856 maybe-clean-target-libgloss:
26857 @if target-libgloss
26858 maybe-clean-target-libgloss: clean-target-libgloss
26860 clean-target-libgloss:
26861 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26862 r=`${PWD_COMMAND}`; export r; \
26863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26864 $(SET_LIB_PATH) \
26865 $(NORMAL_TARGET_EXPORTS) \
26866 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
26867 for flag in $(EXTRA_TARGET_FLAGS); do \
26868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26869 done; \
26870 (cd $(TARGET_SUBDIR)/libgloss && \
26871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26873 "RANLIB=$${RANLIB}" \
26874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26875 clean) \
26876 || exit 1
26878 @endif target-libgloss
26880 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
26881 maybe-distclean-target-libgloss:
26882 @if target-libgloss
26883 maybe-distclean-target-libgloss: distclean-target-libgloss
26885 distclean-target-libgloss:
26886 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26887 r=`${PWD_COMMAND}`; export r; \
26888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26889 $(SET_LIB_PATH) \
26890 $(NORMAL_TARGET_EXPORTS) \
26891 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
26892 for flag in $(EXTRA_TARGET_FLAGS); do \
26893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26894 done; \
26895 (cd $(TARGET_SUBDIR)/libgloss && \
26896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26898 "RANLIB=$${RANLIB}" \
26899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26900 distclean) \
26901 || exit 1
26903 @endif target-libgloss
26905 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
26906 maybe-maintainer-clean-target-libgloss:
26907 @if target-libgloss
26908 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
26910 maintainer-clean-target-libgloss:
26911 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26912 r=`${PWD_COMMAND}`; export r; \
26913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26914 $(SET_LIB_PATH) \
26915 $(NORMAL_TARGET_EXPORTS) \
26916 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
26917 for flag in $(EXTRA_TARGET_FLAGS); do \
26918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26919 done; \
26920 (cd $(TARGET_SUBDIR)/libgloss && \
26921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26923 "RANLIB=$${RANLIB}" \
26924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26925 maintainer-clean) \
26926 || exit 1
26928 @endif target-libgloss
26931 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
26932 maybe-configure-target-libiberty:
26933 @if target-libiberty
26934 maybe-configure-target-libiberty: configure-target-libiberty
26936 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26937 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
26938 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26939 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
26940 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
26942 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
26943 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
26944 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26945 r=`${PWD_COMMAND}`; export r; \
26946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26947 $(SET_LIB_PATH) \
26948 $(NORMAL_TARGET_EXPORTS) \
26949 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
26950 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
26951 case $(srcdir) in \
26952 /* | [A-Za-z]:[\\/]*) \
26953 topdir=$(srcdir) ;; \
26954 *) \
26955 case "$(TARGET_SUBDIR)" in \
26956 .) topdir="../$(srcdir)" ;; \
26957 *) topdir="../../$(srcdir)" ;; \
26958 esac ;; \
26959 esac; \
26960 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26961 libsrcdir="$$s/libiberty"; \
26962 rm -f no-such-file || : ; \
26963 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26964 $(TARGET_CONFIGARGS) $${srcdiroption} \
26965 --with-target-subdir="$(TARGET_SUBDIR)" \
26966 || exit 1
26967 @endif target-libiberty
26969 .PHONY: all-target-libiberty maybe-all-target-libiberty
26970 maybe-all-target-libiberty:
26971 @if target-libiberty
26972 TARGET-target-libiberty=all
26973 maybe-all-target-libiberty: all-target-libiberty
26974 all-target-libiberty: configure-target-libiberty
26975 @r=`${PWD_COMMAND}`; export r; \
26976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26977 $(SET_LIB_PATH) \
26978 $(NORMAL_TARGET_EXPORTS) \
26979 (cd $(TARGET_SUBDIR)/libiberty && \
26980 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
26981 @endif target-libiberty
26983 .PHONY: check-target-libiberty maybe-check-target-libiberty
26984 maybe-check-target-libiberty:
26985 @if target-libiberty
26986 maybe-check-target-libiberty: check-target-libiberty
26988 check-target-libiberty:
26989 @r=`${PWD_COMMAND}`; export r; \
26990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26991 $(SET_LIB_PATH) \
26992 $(NORMAL_TARGET_EXPORTS) \
26993 (cd $(TARGET_SUBDIR)/libiberty && \
26994 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26996 @endif target-libiberty
26998 .PHONY: install-target-libiberty maybe-install-target-libiberty
26999 maybe-install-target-libiberty:
27000 @if target-libiberty
27001 maybe-install-target-libiberty: install-target-libiberty
27003 install-target-libiberty: installdirs
27004 @r=`${PWD_COMMAND}`; export r; \
27005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27006 $(SET_LIB_PATH) \
27007 $(NORMAL_TARGET_EXPORTS) \
27008 (cd $(TARGET_SUBDIR)/libiberty && \
27009 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27011 @endif target-libiberty
27013 # Other targets (info, dvi, etc.)
27015 .PHONY: maybe-info-target-libiberty info-target-libiberty
27016 maybe-info-target-libiberty:
27017 @if target-libiberty
27018 maybe-info-target-libiberty: info-target-libiberty
27020 info-target-libiberty: \
27021 configure-target-libiberty
27022 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27023 r=`${PWD_COMMAND}`; export r; \
27024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27025 $(SET_LIB_PATH) \
27026 $(NORMAL_TARGET_EXPORTS) \
27027 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
27028 for flag in $(EXTRA_TARGET_FLAGS); do \
27029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27030 done; \
27031 (cd $(TARGET_SUBDIR)/libiberty && \
27032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27034 "RANLIB=$${RANLIB}" \
27035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27036 info) \
27037 || exit 1
27039 @endif target-libiberty
27041 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
27042 maybe-dvi-target-libiberty:
27043 @if target-libiberty
27044 maybe-dvi-target-libiberty: dvi-target-libiberty
27046 dvi-target-libiberty: \
27047 configure-target-libiberty
27048 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27049 r=`${PWD_COMMAND}`; export r; \
27050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27051 $(SET_LIB_PATH) \
27052 $(NORMAL_TARGET_EXPORTS) \
27053 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
27054 for flag in $(EXTRA_TARGET_FLAGS); do \
27055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27056 done; \
27057 (cd $(TARGET_SUBDIR)/libiberty && \
27058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27060 "RANLIB=$${RANLIB}" \
27061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27062 dvi) \
27063 || exit 1
27065 @endif target-libiberty
27067 .PHONY: maybe-html-target-libiberty html-target-libiberty
27068 maybe-html-target-libiberty:
27069 @if target-libiberty
27070 maybe-html-target-libiberty: html-target-libiberty
27072 html-target-libiberty: \
27073 configure-target-libiberty
27074 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27075 r=`${PWD_COMMAND}`; export r; \
27076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27077 $(SET_LIB_PATH) \
27078 $(NORMAL_TARGET_EXPORTS) \
27079 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
27080 for flag in $(EXTRA_TARGET_FLAGS); do \
27081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27082 done; \
27083 (cd $(TARGET_SUBDIR)/libiberty && \
27084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27086 "RANLIB=$${RANLIB}" \
27087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27088 html) \
27089 || exit 1
27091 @endif target-libiberty
27093 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
27094 maybe-TAGS-target-libiberty:
27095 @if target-libiberty
27096 maybe-TAGS-target-libiberty: TAGS-target-libiberty
27098 TAGS-target-libiberty: \
27099 configure-target-libiberty
27100 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27101 r=`${PWD_COMMAND}`; export r; \
27102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27103 $(SET_LIB_PATH) \
27104 $(NORMAL_TARGET_EXPORTS) \
27105 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
27106 for flag in $(EXTRA_TARGET_FLAGS); do \
27107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27108 done; \
27109 (cd $(TARGET_SUBDIR)/libiberty && \
27110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27112 "RANLIB=$${RANLIB}" \
27113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27114 TAGS) \
27115 || exit 1
27117 @endif target-libiberty
27119 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
27120 maybe-install-info-target-libiberty:
27121 @if target-libiberty
27122 maybe-install-info-target-libiberty: install-info-target-libiberty
27124 install-info-target-libiberty: \
27125 configure-target-libiberty \
27126 info-target-libiberty
27127 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27128 r=`${PWD_COMMAND}`; export r; \
27129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27130 $(SET_LIB_PATH) \
27131 $(NORMAL_TARGET_EXPORTS) \
27132 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
27133 for flag in $(EXTRA_TARGET_FLAGS); do \
27134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27135 done; \
27136 (cd $(TARGET_SUBDIR)/libiberty && \
27137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27139 "RANLIB=$${RANLIB}" \
27140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27141 install-info) \
27142 || exit 1
27144 @endif target-libiberty
27146 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
27147 maybe-installcheck-target-libiberty:
27148 @if target-libiberty
27149 maybe-installcheck-target-libiberty: installcheck-target-libiberty
27151 installcheck-target-libiberty: \
27152 configure-target-libiberty
27153 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27154 r=`${PWD_COMMAND}`; export r; \
27155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27156 $(SET_LIB_PATH) \
27157 $(NORMAL_TARGET_EXPORTS) \
27158 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
27159 for flag in $(EXTRA_TARGET_FLAGS); do \
27160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27161 done; \
27162 (cd $(TARGET_SUBDIR)/libiberty && \
27163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27165 "RANLIB=$${RANLIB}" \
27166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27167 installcheck) \
27168 || exit 1
27170 @endif target-libiberty
27172 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
27173 maybe-mostlyclean-target-libiberty:
27174 @if target-libiberty
27175 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
27177 mostlyclean-target-libiberty:
27178 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27179 r=`${PWD_COMMAND}`; export r; \
27180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27181 $(SET_LIB_PATH) \
27182 $(NORMAL_TARGET_EXPORTS) \
27183 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
27184 for flag in $(EXTRA_TARGET_FLAGS); do \
27185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27186 done; \
27187 (cd $(TARGET_SUBDIR)/libiberty && \
27188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27190 "RANLIB=$${RANLIB}" \
27191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27192 mostlyclean) \
27193 || exit 1
27195 @endif target-libiberty
27197 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
27198 maybe-clean-target-libiberty:
27199 @if target-libiberty
27200 maybe-clean-target-libiberty: clean-target-libiberty
27202 clean-target-libiberty:
27203 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27204 r=`${PWD_COMMAND}`; export r; \
27205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27206 $(SET_LIB_PATH) \
27207 $(NORMAL_TARGET_EXPORTS) \
27208 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
27209 for flag in $(EXTRA_TARGET_FLAGS); do \
27210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27211 done; \
27212 (cd $(TARGET_SUBDIR)/libiberty && \
27213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27215 "RANLIB=$${RANLIB}" \
27216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27217 clean) \
27218 || exit 1
27220 @endif target-libiberty
27222 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
27223 maybe-distclean-target-libiberty:
27224 @if target-libiberty
27225 maybe-distclean-target-libiberty: distclean-target-libiberty
27227 distclean-target-libiberty:
27228 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27229 r=`${PWD_COMMAND}`; export r; \
27230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27231 $(SET_LIB_PATH) \
27232 $(NORMAL_TARGET_EXPORTS) \
27233 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
27234 for flag in $(EXTRA_TARGET_FLAGS); do \
27235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27236 done; \
27237 (cd $(TARGET_SUBDIR)/libiberty && \
27238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27240 "RANLIB=$${RANLIB}" \
27241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27242 distclean) \
27243 || exit 1
27245 @endif target-libiberty
27247 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
27248 maybe-maintainer-clean-target-libiberty:
27249 @if target-libiberty
27250 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
27252 maintainer-clean-target-libiberty:
27253 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27254 r=`${PWD_COMMAND}`; export r; \
27255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27256 $(SET_LIB_PATH) \
27257 $(NORMAL_TARGET_EXPORTS) \
27258 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
27259 for flag in $(EXTRA_TARGET_FLAGS); do \
27260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27261 done; \
27262 (cd $(TARGET_SUBDIR)/libiberty && \
27263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27265 "RANLIB=$${RANLIB}" \
27266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27267 maintainer-clean) \
27268 || exit 1
27270 @endif target-libiberty
27273 .PHONY: configure-target-gperf maybe-configure-target-gperf
27274 maybe-configure-target-gperf:
27275 @if target-gperf
27276 maybe-configure-target-gperf: configure-target-gperf
27278 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27279 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
27280 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27281 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
27282 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
27284 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
27285 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
27286 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27287 r=`${PWD_COMMAND}`; export r; \
27288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27289 $(SET_LIB_PATH) \
27290 $(NORMAL_TARGET_EXPORTS) \
27291 echo Configuring in $(TARGET_SUBDIR)/gperf; \
27292 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
27293 case $(srcdir) in \
27294 /* | [A-Za-z]:[\\/]*) \
27295 topdir=$(srcdir) ;; \
27296 *) \
27297 case "$(TARGET_SUBDIR)" in \
27298 .) topdir="../$(srcdir)" ;; \
27299 *) topdir="../../$(srcdir)" ;; \
27300 esac ;; \
27301 esac; \
27302 srcdiroption="--srcdir=$${topdir}/gperf"; \
27303 libsrcdir="$$s/gperf"; \
27304 rm -f no-such-file || : ; \
27305 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27306 $(TARGET_CONFIGARGS) $${srcdiroption} \
27307 --with-target-subdir="$(TARGET_SUBDIR)" \
27308 || exit 1
27309 @endif target-gperf
27311 .PHONY: all-target-gperf maybe-all-target-gperf
27312 maybe-all-target-gperf:
27313 @if target-gperf
27314 TARGET-target-gperf=all
27315 maybe-all-target-gperf: all-target-gperf
27316 all-target-gperf: configure-target-gperf
27317 @r=`${PWD_COMMAND}`; export r; \
27318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27319 $(SET_LIB_PATH) \
27320 $(NORMAL_TARGET_EXPORTS) \
27321 (cd $(TARGET_SUBDIR)/gperf && \
27322 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
27323 @endif target-gperf
27325 .PHONY: check-target-gperf maybe-check-target-gperf
27326 maybe-check-target-gperf:
27327 @if target-gperf
27328 maybe-check-target-gperf: check-target-gperf
27330 check-target-gperf:
27331 @r=`${PWD_COMMAND}`; export r; \
27332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27333 $(SET_LIB_PATH) \
27334 $(NORMAL_TARGET_EXPORTS) \
27335 (cd $(TARGET_SUBDIR)/gperf && \
27336 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27338 @endif target-gperf
27340 .PHONY: install-target-gperf maybe-install-target-gperf
27341 maybe-install-target-gperf:
27342 @if target-gperf
27343 maybe-install-target-gperf: install-target-gperf
27345 install-target-gperf: installdirs
27346 @r=`${PWD_COMMAND}`; export r; \
27347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27348 $(SET_LIB_PATH) \
27349 $(NORMAL_TARGET_EXPORTS) \
27350 (cd $(TARGET_SUBDIR)/gperf && \
27351 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27353 @endif target-gperf
27355 # Other targets (info, dvi, etc.)
27357 .PHONY: maybe-info-target-gperf info-target-gperf
27358 maybe-info-target-gperf:
27359 @if target-gperf
27360 maybe-info-target-gperf: info-target-gperf
27362 info-target-gperf: \
27363 configure-target-gperf
27364 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27365 r=`${PWD_COMMAND}`; export r; \
27366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27367 $(SET_LIB_PATH) \
27368 $(NORMAL_TARGET_EXPORTS) \
27369 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
27370 for flag in $(EXTRA_TARGET_FLAGS); do \
27371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27372 done; \
27373 (cd $(TARGET_SUBDIR)/gperf && \
27374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27376 "RANLIB=$${RANLIB}" \
27377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27378 info) \
27379 || exit 1
27381 @endif target-gperf
27383 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
27384 maybe-dvi-target-gperf:
27385 @if target-gperf
27386 maybe-dvi-target-gperf: dvi-target-gperf
27388 dvi-target-gperf: \
27389 configure-target-gperf
27390 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27391 r=`${PWD_COMMAND}`; export r; \
27392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27393 $(SET_LIB_PATH) \
27394 $(NORMAL_TARGET_EXPORTS) \
27395 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
27396 for flag in $(EXTRA_TARGET_FLAGS); do \
27397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27398 done; \
27399 (cd $(TARGET_SUBDIR)/gperf && \
27400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27402 "RANLIB=$${RANLIB}" \
27403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27404 dvi) \
27405 || exit 1
27407 @endif target-gperf
27409 .PHONY: maybe-html-target-gperf html-target-gperf
27410 maybe-html-target-gperf:
27411 @if target-gperf
27412 maybe-html-target-gperf: html-target-gperf
27414 html-target-gperf: \
27415 configure-target-gperf
27416 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27417 r=`${PWD_COMMAND}`; export r; \
27418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27419 $(SET_LIB_PATH) \
27420 $(NORMAL_TARGET_EXPORTS) \
27421 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
27422 for flag in $(EXTRA_TARGET_FLAGS); do \
27423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27424 done; \
27425 (cd $(TARGET_SUBDIR)/gperf && \
27426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27428 "RANLIB=$${RANLIB}" \
27429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27430 html) \
27431 || exit 1
27433 @endif target-gperf
27435 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
27436 maybe-TAGS-target-gperf:
27437 @if target-gperf
27438 maybe-TAGS-target-gperf: TAGS-target-gperf
27440 TAGS-target-gperf: \
27441 configure-target-gperf
27442 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27443 r=`${PWD_COMMAND}`; export r; \
27444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27445 $(SET_LIB_PATH) \
27446 $(NORMAL_TARGET_EXPORTS) \
27447 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
27448 for flag in $(EXTRA_TARGET_FLAGS); do \
27449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27450 done; \
27451 (cd $(TARGET_SUBDIR)/gperf && \
27452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27454 "RANLIB=$${RANLIB}" \
27455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27456 TAGS) \
27457 || exit 1
27459 @endif target-gperf
27461 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
27462 maybe-install-info-target-gperf:
27463 @if target-gperf
27464 maybe-install-info-target-gperf: install-info-target-gperf
27466 install-info-target-gperf: \
27467 configure-target-gperf \
27468 info-target-gperf
27469 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27470 r=`${PWD_COMMAND}`; export r; \
27471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27472 $(SET_LIB_PATH) \
27473 $(NORMAL_TARGET_EXPORTS) \
27474 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
27475 for flag in $(EXTRA_TARGET_FLAGS); do \
27476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27477 done; \
27478 (cd $(TARGET_SUBDIR)/gperf && \
27479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27481 "RANLIB=$${RANLIB}" \
27482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27483 install-info) \
27484 || exit 1
27486 @endif target-gperf
27488 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
27489 maybe-installcheck-target-gperf:
27490 @if target-gperf
27491 maybe-installcheck-target-gperf: installcheck-target-gperf
27493 installcheck-target-gperf: \
27494 configure-target-gperf
27495 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27496 r=`${PWD_COMMAND}`; export r; \
27497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27498 $(SET_LIB_PATH) \
27499 $(NORMAL_TARGET_EXPORTS) \
27500 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
27501 for flag in $(EXTRA_TARGET_FLAGS); do \
27502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27503 done; \
27504 (cd $(TARGET_SUBDIR)/gperf && \
27505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27507 "RANLIB=$${RANLIB}" \
27508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27509 installcheck) \
27510 || exit 1
27512 @endif target-gperf
27514 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
27515 maybe-mostlyclean-target-gperf:
27516 @if target-gperf
27517 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
27519 mostlyclean-target-gperf:
27520 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27521 r=`${PWD_COMMAND}`; export r; \
27522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27523 $(SET_LIB_PATH) \
27524 $(NORMAL_TARGET_EXPORTS) \
27525 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
27526 for flag in $(EXTRA_TARGET_FLAGS); do \
27527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27528 done; \
27529 (cd $(TARGET_SUBDIR)/gperf && \
27530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27532 "RANLIB=$${RANLIB}" \
27533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27534 mostlyclean) \
27535 || exit 1
27537 @endif target-gperf
27539 .PHONY: maybe-clean-target-gperf clean-target-gperf
27540 maybe-clean-target-gperf:
27541 @if target-gperf
27542 maybe-clean-target-gperf: clean-target-gperf
27544 clean-target-gperf:
27545 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27546 r=`${PWD_COMMAND}`; export r; \
27547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27548 $(SET_LIB_PATH) \
27549 $(NORMAL_TARGET_EXPORTS) \
27550 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
27551 for flag in $(EXTRA_TARGET_FLAGS); do \
27552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27553 done; \
27554 (cd $(TARGET_SUBDIR)/gperf && \
27555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27557 "RANLIB=$${RANLIB}" \
27558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27559 clean) \
27560 || exit 1
27562 @endif target-gperf
27564 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
27565 maybe-distclean-target-gperf:
27566 @if target-gperf
27567 maybe-distclean-target-gperf: distclean-target-gperf
27569 distclean-target-gperf:
27570 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27571 r=`${PWD_COMMAND}`; export r; \
27572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27573 $(SET_LIB_PATH) \
27574 $(NORMAL_TARGET_EXPORTS) \
27575 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
27576 for flag in $(EXTRA_TARGET_FLAGS); do \
27577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27578 done; \
27579 (cd $(TARGET_SUBDIR)/gperf && \
27580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27582 "RANLIB=$${RANLIB}" \
27583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27584 distclean) \
27585 || exit 1
27587 @endif target-gperf
27589 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
27590 maybe-maintainer-clean-target-gperf:
27591 @if target-gperf
27592 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
27594 maintainer-clean-target-gperf:
27595 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27596 r=`${PWD_COMMAND}`; export r; \
27597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27598 $(SET_LIB_PATH) \
27599 $(NORMAL_TARGET_EXPORTS) \
27600 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
27601 for flag in $(EXTRA_TARGET_FLAGS); do \
27602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27603 done; \
27604 (cd $(TARGET_SUBDIR)/gperf && \
27605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27607 "RANLIB=$${RANLIB}" \
27608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27609 maintainer-clean) \
27610 || exit 1
27612 @endif target-gperf
27615 .PHONY: configure-target-examples maybe-configure-target-examples
27616 maybe-configure-target-examples:
27617 @if target-examples
27618 maybe-configure-target-examples: configure-target-examples
27620 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27621 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
27622 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27623 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
27624 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
27626 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
27627 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
27628 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27629 r=`${PWD_COMMAND}`; export r; \
27630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27631 $(SET_LIB_PATH) \
27632 $(NORMAL_TARGET_EXPORTS) \
27633 echo Configuring in $(TARGET_SUBDIR)/examples; \
27634 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
27635 case $(srcdir) in \
27636 /* | [A-Za-z]:[\\/]*) \
27637 topdir=$(srcdir) ;; \
27638 *) \
27639 case "$(TARGET_SUBDIR)" in \
27640 .) topdir="../$(srcdir)" ;; \
27641 *) topdir="../../$(srcdir)" ;; \
27642 esac ;; \
27643 esac; \
27644 srcdiroption="--srcdir=$${topdir}/examples"; \
27645 libsrcdir="$$s/examples"; \
27646 rm -f no-such-file || : ; \
27647 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27648 $(TARGET_CONFIGARGS) $${srcdiroption} \
27649 --with-target-subdir="$(TARGET_SUBDIR)" \
27650 || exit 1
27651 @endif target-examples
27653 .PHONY: all-target-examples maybe-all-target-examples
27654 maybe-all-target-examples:
27655 @if target-examples
27656 TARGET-target-examples=all
27657 maybe-all-target-examples: all-target-examples
27658 all-target-examples: configure-target-examples
27659 @r=`${PWD_COMMAND}`; export r; \
27660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27661 $(SET_LIB_PATH) \
27662 $(NORMAL_TARGET_EXPORTS) \
27663 (cd $(TARGET_SUBDIR)/examples && \
27664 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
27665 @endif target-examples
27667 .PHONY: check-target-examples maybe-check-target-examples
27668 maybe-check-target-examples:
27669 @if target-examples
27670 maybe-check-target-examples: check-target-examples
27672 # Dummy target for uncheckable module.
27673 check-target-examples:
27675 @endif target-examples
27677 .PHONY: install-target-examples maybe-install-target-examples
27678 maybe-install-target-examples:
27679 @if target-examples
27680 maybe-install-target-examples: install-target-examples
27682 # Dummy target for uninstallable.
27683 install-target-examples:
27685 @endif target-examples
27687 # Other targets (info, dvi, etc.)
27689 .PHONY: maybe-info-target-examples info-target-examples
27690 maybe-info-target-examples:
27691 @if target-examples
27692 maybe-info-target-examples: info-target-examples
27694 info-target-examples: \
27695 configure-target-examples
27696 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27697 r=`${PWD_COMMAND}`; export r; \
27698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27699 $(SET_LIB_PATH) \
27700 $(NORMAL_TARGET_EXPORTS) \
27701 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
27702 for flag in $(EXTRA_TARGET_FLAGS); do \
27703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27704 done; \
27705 (cd $(TARGET_SUBDIR)/examples && \
27706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27708 "RANLIB=$${RANLIB}" \
27709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27710 info) \
27711 || exit 1
27713 @endif target-examples
27715 .PHONY: maybe-dvi-target-examples dvi-target-examples
27716 maybe-dvi-target-examples:
27717 @if target-examples
27718 maybe-dvi-target-examples: dvi-target-examples
27720 dvi-target-examples: \
27721 configure-target-examples
27722 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27723 r=`${PWD_COMMAND}`; export r; \
27724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27725 $(SET_LIB_PATH) \
27726 $(NORMAL_TARGET_EXPORTS) \
27727 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
27728 for flag in $(EXTRA_TARGET_FLAGS); do \
27729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27730 done; \
27731 (cd $(TARGET_SUBDIR)/examples && \
27732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27734 "RANLIB=$${RANLIB}" \
27735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27736 dvi) \
27737 || exit 1
27739 @endif target-examples
27741 .PHONY: maybe-html-target-examples html-target-examples
27742 maybe-html-target-examples:
27743 @if target-examples
27744 maybe-html-target-examples: html-target-examples
27746 html-target-examples: \
27747 configure-target-examples
27748 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27749 r=`${PWD_COMMAND}`; export r; \
27750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27751 $(SET_LIB_PATH) \
27752 $(NORMAL_TARGET_EXPORTS) \
27753 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
27754 for flag in $(EXTRA_TARGET_FLAGS); do \
27755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27756 done; \
27757 (cd $(TARGET_SUBDIR)/examples && \
27758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27760 "RANLIB=$${RANLIB}" \
27761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27762 html) \
27763 || exit 1
27765 @endif target-examples
27767 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
27768 maybe-TAGS-target-examples:
27769 @if target-examples
27770 maybe-TAGS-target-examples: TAGS-target-examples
27772 TAGS-target-examples: \
27773 configure-target-examples
27774 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27775 r=`${PWD_COMMAND}`; export r; \
27776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27777 $(SET_LIB_PATH) \
27778 $(NORMAL_TARGET_EXPORTS) \
27779 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
27780 for flag in $(EXTRA_TARGET_FLAGS); do \
27781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27782 done; \
27783 (cd $(TARGET_SUBDIR)/examples && \
27784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27786 "RANLIB=$${RANLIB}" \
27787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27788 TAGS) \
27789 || exit 1
27791 @endif target-examples
27793 .PHONY: maybe-install-info-target-examples install-info-target-examples
27794 maybe-install-info-target-examples:
27795 @if target-examples
27796 maybe-install-info-target-examples: install-info-target-examples
27798 install-info-target-examples: \
27799 configure-target-examples \
27800 info-target-examples
27801 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27802 r=`${PWD_COMMAND}`; export r; \
27803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27804 $(SET_LIB_PATH) \
27805 $(NORMAL_TARGET_EXPORTS) \
27806 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
27807 for flag in $(EXTRA_TARGET_FLAGS); do \
27808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27809 done; \
27810 (cd $(TARGET_SUBDIR)/examples && \
27811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27813 "RANLIB=$${RANLIB}" \
27814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27815 install-info) \
27816 || exit 1
27818 @endif target-examples
27820 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
27821 maybe-installcheck-target-examples:
27822 @if target-examples
27823 maybe-installcheck-target-examples: installcheck-target-examples
27825 installcheck-target-examples: \
27826 configure-target-examples
27827 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27828 r=`${PWD_COMMAND}`; export r; \
27829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27830 $(SET_LIB_PATH) \
27831 $(NORMAL_TARGET_EXPORTS) \
27832 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
27833 for flag in $(EXTRA_TARGET_FLAGS); do \
27834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27835 done; \
27836 (cd $(TARGET_SUBDIR)/examples && \
27837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27839 "RANLIB=$${RANLIB}" \
27840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27841 installcheck) \
27842 || exit 1
27844 @endif target-examples
27846 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
27847 maybe-mostlyclean-target-examples:
27848 @if target-examples
27849 maybe-mostlyclean-target-examples: mostlyclean-target-examples
27851 mostlyclean-target-examples:
27852 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27853 r=`${PWD_COMMAND}`; export r; \
27854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27855 $(SET_LIB_PATH) \
27856 $(NORMAL_TARGET_EXPORTS) \
27857 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
27858 for flag in $(EXTRA_TARGET_FLAGS); do \
27859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27860 done; \
27861 (cd $(TARGET_SUBDIR)/examples && \
27862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27864 "RANLIB=$${RANLIB}" \
27865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27866 mostlyclean) \
27867 || exit 1
27869 @endif target-examples
27871 .PHONY: maybe-clean-target-examples clean-target-examples
27872 maybe-clean-target-examples:
27873 @if target-examples
27874 maybe-clean-target-examples: clean-target-examples
27876 clean-target-examples:
27877 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27878 r=`${PWD_COMMAND}`; export r; \
27879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27880 $(SET_LIB_PATH) \
27881 $(NORMAL_TARGET_EXPORTS) \
27882 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
27883 for flag in $(EXTRA_TARGET_FLAGS); do \
27884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27885 done; \
27886 (cd $(TARGET_SUBDIR)/examples && \
27887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27889 "RANLIB=$${RANLIB}" \
27890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27891 clean) \
27892 || exit 1
27894 @endif target-examples
27896 .PHONY: maybe-distclean-target-examples distclean-target-examples
27897 maybe-distclean-target-examples:
27898 @if target-examples
27899 maybe-distclean-target-examples: distclean-target-examples
27901 distclean-target-examples:
27902 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27903 r=`${PWD_COMMAND}`; export r; \
27904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27905 $(SET_LIB_PATH) \
27906 $(NORMAL_TARGET_EXPORTS) \
27907 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
27908 for flag in $(EXTRA_TARGET_FLAGS); do \
27909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27910 done; \
27911 (cd $(TARGET_SUBDIR)/examples && \
27912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27914 "RANLIB=$${RANLIB}" \
27915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27916 distclean) \
27917 || exit 1
27919 @endif target-examples
27921 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
27922 maybe-maintainer-clean-target-examples:
27923 @if target-examples
27924 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
27926 maintainer-clean-target-examples:
27927 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27928 r=`${PWD_COMMAND}`; export r; \
27929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27930 $(SET_LIB_PATH) \
27931 $(NORMAL_TARGET_EXPORTS) \
27932 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
27933 for flag in $(EXTRA_TARGET_FLAGS); do \
27934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27935 done; \
27936 (cd $(TARGET_SUBDIR)/examples && \
27937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27939 "RANLIB=$${RANLIB}" \
27940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27941 maintainer-clean) \
27942 || exit 1
27944 @endif target-examples
27947 .PHONY: configure-target-libffi maybe-configure-target-libffi
27948 maybe-configure-target-libffi:
27949 @if target-libffi
27950 maybe-configure-target-libffi: configure-target-libffi
27952 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27953 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
27954 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27955 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
27956 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
27958 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
27959 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
27960 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27961 r=`${PWD_COMMAND}`; export r; \
27962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27963 $(SET_LIB_PATH) \
27964 $(NORMAL_TARGET_EXPORTS) \
27965 echo Configuring in $(TARGET_SUBDIR)/libffi; \
27966 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
27967 case $(srcdir) in \
27968 /* | [A-Za-z]:[\\/]*) \
27969 topdir=$(srcdir) ;; \
27970 *) \
27971 case "$(TARGET_SUBDIR)" in \
27972 .) topdir="../$(srcdir)" ;; \
27973 *) topdir="../../$(srcdir)" ;; \
27974 esac ;; \
27975 esac; \
27976 srcdiroption="--srcdir=$${topdir}/libffi"; \
27977 libsrcdir="$$s/libffi"; \
27978 rm -f no-such-file || : ; \
27979 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27980 $(TARGET_CONFIGARGS) $${srcdiroption} \
27981 --with-target-subdir="$(TARGET_SUBDIR)" \
27982 || exit 1
27983 @endif target-libffi
27985 .PHONY: all-target-libffi maybe-all-target-libffi
27986 maybe-all-target-libffi:
27987 @if target-libffi
27988 TARGET-target-libffi=all
27989 maybe-all-target-libffi: all-target-libffi
27990 all-target-libffi: configure-target-libffi
27991 @r=`${PWD_COMMAND}`; export r; \
27992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27993 $(SET_LIB_PATH) \
27994 $(NORMAL_TARGET_EXPORTS) \
27995 (cd $(TARGET_SUBDIR)/libffi && \
27996 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
27997 @endif target-libffi
27999 .PHONY: check-target-libffi maybe-check-target-libffi
28000 maybe-check-target-libffi:
28001 @if target-libffi
28002 maybe-check-target-libffi: check-target-libffi
28004 check-target-libffi:
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)/libffi && \
28010 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28012 @endif target-libffi
28014 .PHONY: install-target-libffi maybe-install-target-libffi
28015 maybe-install-target-libffi:
28016 @if target-libffi
28017 maybe-install-target-libffi: install-target-libffi
28019 install-target-libffi: installdirs
28020 @r=`${PWD_COMMAND}`; export r; \
28021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28022 $(SET_LIB_PATH) \
28023 $(NORMAL_TARGET_EXPORTS) \
28024 (cd $(TARGET_SUBDIR)/libffi && \
28025 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28027 @endif target-libffi
28029 # Other targets (info, dvi, etc.)
28031 .PHONY: maybe-info-target-libffi info-target-libffi
28032 maybe-info-target-libffi:
28033 @if target-libffi
28034 maybe-info-target-libffi: info-target-libffi
28036 info-target-libffi: \
28037 configure-target-libffi
28038 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28039 r=`${PWD_COMMAND}`; export r; \
28040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28041 $(SET_LIB_PATH) \
28042 $(NORMAL_TARGET_EXPORTS) \
28043 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
28044 for flag in $(EXTRA_TARGET_FLAGS); do \
28045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28046 done; \
28047 (cd $(TARGET_SUBDIR)/libffi && \
28048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28050 "RANLIB=$${RANLIB}" \
28051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28052 info) \
28053 || exit 1
28055 @endif target-libffi
28057 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
28058 maybe-dvi-target-libffi:
28059 @if target-libffi
28060 maybe-dvi-target-libffi: dvi-target-libffi
28062 dvi-target-libffi: \
28063 configure-target-libffi
28064 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28065 r=`${PWD_COMMAND}`; export r; \
28066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28067 $(SET_LIB_PATH) \
28068 $(NORMAL_TARGET_EXPORTS) \
28069 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
28070 for flag in $(EXTRA_TARGET_FLAGS); do \
28071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28072 done; \
28073 (cd $(TARGET_SUBDIR)/libffi && \
28074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28076 "RANLIB=$${RANLIB}" \
28077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28078 dvi) \
28079 || exit 1
28081 @endif target-libffi
28083 .PHONY: maybe-html-target-libffi html-target-libffi
28084 maybe-html-target-libffi:
28085 @if target-libffi
28086 maybe-html-target-libffi: html-target-libffi
28088 html-target-libffi: \
28089 configure-target-libffi
28090 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28091 r=`${PWD_COMMAND}`; export r; \
28092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28093 $(SET_LIB_PATH) \
28094 $(NORMAL_TARGET_EXPORTS) \
28095 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
28096 for flag in $(EXTRA_TARGET_FLAGS); do \
28097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28098 done; \
28099 (cd $(TARGET_SUBDIR)/libffi && \
28100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28102 "RANLIB=$${RANLIB}" \
28103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28104 html) \
28105 || exit 1
28107 @endif target-libffi
28109 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
28110 maybe-TAGS-target-libffi:
28111 @if target-libffi
28112 maybe-TAGS-target-libffi: TAGS-target-libffi
28114 TAGS-target-libffi: \
28115 configure-target-libffi
28116 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28117 r=`${PWD_COMMAND}`; export r; \
28118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28119 $(SET_LIB_PATH) \
28120 $(NORMAL_TARGET_EXPORTS) \
28121 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
28122 for flag in $(EXTRA_TARGET_FLAGS); do \
28123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28124 done; \
28125 (cd $(TARGET_SUBDIR)/libffi && \
28126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28128 "RANLIB=$${RANLIB}" \
28129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28130 TAGS) \
28131 || exit 1
28133 @endif target-libffi
28135 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
28136 maybe-install-info-target-libffi:
28137 @if target-libffi
28138 maybe-install-info-target-libffi: install-info-target-libffi
28140 install-info-target-libffi: \
28141 configure-target-libffi \
28142 info-target-libffi
28143 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28144 r=`${PWD_COMMAND}`; export r; \
28145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28146 $(SET_LIB_PATH) \
28147 $(NORMAL_TARGET_EXPORTS) \
28148 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
28149 for flag in $(EXTRA_TARGET_FLAGS); do \
28150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28151 done; \
28152 (cd $(TARGET_SUBDIR)/libffi && \
28153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28155 "RANLIB=$${RANLIB}" \
28156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28157 install-info) \
28158 || exit 1
28160 @endif target-libffi
28162 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
28163 maybe-installcheck-target-libffi:
28164 @if target-libffi
28165 maybe-installcheck-target-libffi: installcheck-target-libffi
28167 installcheck-target-libffi: \
28168 configure-target-libffi
28169 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28170 r=`${PWD_COMMAND}`; export r; \
28171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28172 $(SET_LIB_PATH) \
28173 $(NORMAL_TARGET_EXPORTS) \
28174 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
28175 for flag in $(EXTRA_TARGET_FLAGS); do \
28176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28177 done; \
28178 (cd $(TARGET_SUBDIR)/libffi && \
28179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28181 "RANLIB=$${RANLIB}" \
28182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28183 installcheck) \
28184 || exit 1
28186 @endif target-libffi
28188 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
28189 maybe-mostlyclean-target-libffi:
28190 @if target-libffi
28191 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
28193 mostlyclean-target-libffi:
28194 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28195 r=`${PWD_COMMAND}`; export r; \
28196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28197 $(SET_LIB_PATH) \
28198 $(NORMAL_TARGET_EXPORTS) \
28199 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
28200 for flag in $(EXTRA_TARGET_FLAGS); do \
28201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28202 done; \
28203 (cd $(TARGET_SUBDIR)/libffi && \
28204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28206 "RANLIB=$${RANLIB}" \
28207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28208 mostlyclean) \
28209 || exit 1
28211 @endif target-libffi
28213 .PHONY: maybe-clean-target-libffi clean-target-libffi
28214 maybe-clean-target-libffi:
28215 @if target-libffi
28216 maybe-clean-target-libffi: clean-target-libffi
28218 clean-target-libffi:
28219 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28220 r=`${PWD_COMMAND}`; export r; \
28221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28222 $(SET_LIB_PATH) \
28223 $(NORMAL_TARGET_EXPORTS) \
28224 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
28225 for flag in $(EXTRA_TARGET_FLAGS); do \
28226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28227 done; \
28228 (cd $(TARGET_SUBDIR)/libffi && \
28229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28231 "RANLIB=$${RANLIB}" \
28232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28233 clean) \
28234 || exit 1
28236 @endif target-libffi
28238 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
28239 maybe-distclean-target-libffi:
28240 @if target-libffi
28241 maybe-distclean-target-libffi: distclean-target-libffi
28243 distclean-target-libffi:
28244 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28245 r=`${PWD_COMMAND}`; export r; \
28246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28247 $(SET_LIB_PATH) \
28248 $(NORMAL_TARGET_EXPORTS) \
28249 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
28250 for flag in $(EXTRA_TARGET_FLAGS); do \
28251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28252 done; \
28253 (cd $(TARGET_SUBDIR)/libffi && \
28254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28256 "RANLIB=$${RANLIB}" \
28257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28258 distclean) \
28259 || exit 1
28261 @endif target-libffi
28263 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
28264 maybe-maintainer-clean-target-libffi:
28265 @if target-libffi
28266 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
28268 maintainer-clean-target-libffi:
28269 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28270 r=`${PWD_COMMAND}`; export r; \
28271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28272 $(SET_LIB_PATH) \
28273 $(NORMAL_TARGET_EXPORTS) \
28274 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
28275 for flag in $(EXTRA_TARGET_FLAGS); do \
28276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28277 done; \
28278 (cd $(TARGET_SUBDIR)/libffi && \
28279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28281 "RANLIB=$${RANLIB}" \
28282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28283 maintainer-clean) \
28284 || exit 1
28286 @endif target-libffi
28289 .PHONY: configure-target-libjava maybe-configure-target-libjava
28290 maybe-configure-target-libjava:
28291 @if target-libjava
28292 maybe-configure-target-libjava: configure-target-libjava
28294 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28295 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
28296 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28297 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
28298 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
28300 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
28301 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
28302 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28303 r=`${PWD_COMMAND}`; export r; \
28304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28305 $(SET_LIB_PATH) \
28306 $(RAW_CXX_TARGET_EXPORTS) \
28307 echo Configuring in $(TARGET_SUBDIR)/libjava; \
28308 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
28309 case $(srcdir) in \
28310 /* | [A-Za-z]:[\\/]*) \
28311 topdir=$(srcdir) ;; \
28312 *) \
28313 case "$(TARGET_SUBDIR)" in \
28314 .) topdir="../$(srcdir)" ;; \
28315 *) topdir="../../$(srcdir)" ;; \
28316 esac ;; \
28317 esac; \
28318 srcdiroption="--srcdir=$${topdir}/libjava"; \
28319 libsrcdir="$$s/libjava"; \
28320 rm -f no-such-file || : ; \
28321 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28322 $(TARGET_CONFIGARGS) $${srcdiroption} \
28323 --with-target-subdir="$(TARGET_SUBDIR)" \
28324 || exit 1
28325 @endif target-libjava
28327 .PHONY: all-target-libjava maybe-all-target-libjava
28328 maybe-all-target-libjava:
28329 @if target-libjava
28330 TARGET-target-libjava=all
28331 maybe-all-target-libjava: all-target-libjava
28332 all-target-libjava: configure-target-libjava
28333 @r=`${PWD_COMMAND}`; export r; \
28334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28335 $(SET_LIB_PATH) \
28336 $(RAW_CXX_TARGET_EXPORTS) \
28337 (cd $(TARGET_SUBDIR)/libjava && \
28338 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
28339 @endif target-libjava
28341 .PHONY: check-target-libjava maybe-check-target-libjava
28342 maybe-check-target-libjava:
28343 @if target-libjava
28344 maybe-check-target-libjava: check-target-libjava
28346 check-target-libjava:
28347 @r=`${PWD_COMMAND}`; export r; \
28348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28349 $(SET_LIB_PATH) \
28350 $(RAW_CXX_TARGET_EXPORTS) \
28351 (cd $(TARGET_SUBDIR)/libjava && \
28352 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28354 @endif target-libjava
28356 .PHONY: install-target-libjava maybe-install-target-libjava
28357 maybe-install-target-libjava:
28358 @if target-libjava
28359 maybe-install-target-libjava: install-target-libjava
28361 install-target-libjava: installdirs
28362 @r=`${PWD_COMMAND}`; export r; \
28363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28364 $(SET_LIB_PATH) \
28365 $(RAW_CXX_TARGET_EXPORTS) \
28366 (cd $(TARGET_SUBDIR)/libjava && \
28367 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28369 @endif target-libjava
28371 # Other targets (info, dvi, etc.)
28373 .PHONY: maybe-info-target-libjava info-target-libjava
28374 maybe-info-target-libjava:
28375 @if target-libjava
28376 maybe-info-target-libjava: info-target-libjava
28378 info-target-libjava: \
28379 configure-target-libjava
28380 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28381 r=`${PWD_COMMAND}`; export r; \
28382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28383 $(SET_LIB_PATH) \
28384 $(RAW_CXX_TARGET_EXPORTS) \
28385 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
28386 for flag in $(EXTRA_TARGET_FLAGS); do \
28387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28388 done; \
28389 (cd $(TARGET_SUBDIR)/libjava && \
28390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28392 "RANLIB=$${RANLIB}" \
28393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28394 info) \
28395 || exit 1
28397 @endif target-libjava
28399 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
28400 maybe-dvi-target-libjava:
28401 @if target-libjava
28402 maybe-dvi-target-libjava: dvi-target-libjava
28404 dvi-target-libjava: \
28405 configure-target-libjava
28406 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28407 r=`${PWD_COMMAND}`; export r; \
28408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28409 $(SET_LIB_PATH) \
28410 $(RAW_CXX_TARGET_EXPORTS) \
28411 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
28412 for flag in $(EXTRA_TARGET_FLAGS); do \
28413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28414 done; \
28415 (cd $(TARGET_SUBDIR)/libjava && \
28416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28418 "RANLIB=$${RANLIB}" \
28419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28420 dvi) \
28421 || exit 1
28423 @endif target-libjava
28425 .PHONY: maybe-html-target-libjava html-target-libjava
28426 maybe-html-target-libjava:
28427 @if target-libjava
28428 maybe-html-target-libjava: html-target-libjava
28430 html-target-libjava: \
28431 configure-target-libjava
28432 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28433 r=`${PWD_COMMAND}`; export r; \
28434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28435 $(SET_LIB_PATH) \
28436 $(RAW_CXX_TARGET_EXPORTS) \
28437 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
28438 for flag in $(EXTRA_TARGET_FLAGS); do \
28439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28440 done; \
28441 (cd $(TARGET_SUBDIR)/libjava && \
28442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28444 "RANLIB=$${RANLIB}" \
28445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28446 html) \
28447 || exit 1
28449 @endif target-libjava
28451 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
28452 maybe-TAGS-target-libjava:
28453 @if target-libjava
28454 maybe-TAGS-target-libjava: TAGS-target-libjava
28456 TAGS-target-libjava: \
28457 configure-target-libjava
28458 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28459 r=`${PWD_COMMAND}`; export r; \
28460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28461 $(SET_LIB_PATH) \
28462 $(RAW_CXX_TARGET_EXPORTS) \
28463 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
28464 for flag in $(EXTRA_TARGET_FLAGS); do \
28465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28466 done; \
28467 (cd $(TARGET_SUBDIR)/libjava && \
28468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28470 "RANLIB=$${RANLIB}" \
28471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28472 TAGS) \
28473 || exit 1
28475 @endif target-libjava
28477 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
28478 maybe-install-info-target-libjava:
28479 @if target-libjava
28480 maybe-install-info-target-libjava: install-info-target-libjava
28482 install-info-target-libjava: \
28483 configure-target-libjava \
28484 info-target-libjava
28485 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28486 r=`${PWD_COMMAND}`; export r; \
28487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28488 $(SET_LIB_PATH) \
28489 $(RAW_CXX_TARGET_EXPORTS) \
28490 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
28491 for flag in $(EXTRA_TARGET_FLAGS); do \
28492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28493 done; \
28494 (cd $(TARGET_SUBDIR)/libjava && \
28495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28497 "RANLIB=$${RANLIB}" \
28498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28499 install-info) \
28500 || exit 1
28502 @endif target-libjava
28504 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
28505 maybe-installcheck-target-libjava:
28506 @if target-libjava
28507 maybe-installcheck-target-libjava: installcheck-target-libjava
28509 installcheck-target-libjava: \
28510 configure-target-libjava
28511 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28512 r=`${PWD_COMMAND}`; export r; \
28513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28514 $(SET_LIB_PATH) \
28515 $(RAW_CXX_TARGET_EXPORTS) \
28516 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
28517 for flag in $(EXTRA_TARGET_FLAGS); do \
28518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28519 done; \
28520 (cd $(TARGET_SUBDIR)/libjava && \
28521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28523 "RANLIB=$${RANLIB}" \
28524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28525 installcheck) \
28526 || exit 1
28528 @endif target-libjava
28530 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
28531 maybe-mostlyclean-target-libjava:
28532 @if target-libjava
28533 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
28535 mostlyclean-target-libjava:
28536 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28537 r=`${PWD_COMMAND}`; export r; \
28538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28539 $(SET_LIB_PATH) \
28540 $(RAW_CXX_TARGET_EXPORTS) \
28541 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
28542 for flag in $(EXTRA_TARGET_FLAGS); do \
28543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28544 done; \
28545 (cd $(TARGET_SUBDIR)/libjava && \
28546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28548 "RANLIB=$${RANLIB}" \
28549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28550 mostlyclean) \
28551 || exit 1
28553 @endif target-libjava
28555 .PHONY: maybe-clean-target-libjava clean-target-libjava
28556 maybe-clean-target-libjava:
28557 @if target-libjava
28558 maybe-clean-target-libjava: clean-target-libjava
28560 clean-target-libjava:
28561 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28562 r=`${PWD_COMMAND}`; export r; \
28563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28564 $(SET_LIB_PATH) \
28565 $(RAW_CXX_TARGET_EXPORTS) \
28566 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
28567 for flag in $(EXTRA_TARGET_FLAGS); do \
28568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28569 done; \
28570 (cd $(TARGET_SUBDIR)/libjava && \
28571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28573 "RANLIB=$${RANLIB}" \
28574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28575 clean) \
28576 || exit 1
28578 @endif target-libjava
28580 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
28581 maybe-distclean-target-libjava:
28582 @if target-libjava
28583 maybe-distclean-target-libjava: distclean-target-libjava
28585 distclean-target-libjava:
28586 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28587 r=`${PWD_COMMAND}`; export r; \
28588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28589 $(SET_LIB_PATH) \
28590 $(RAW_CXX_TARGET_EXPORTS) \
28591 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
28592 for flag in $(EXTRA_TARGET_FLAGS); do \
28593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28594 done; \
28595 (cd $(TARGET_SUBDIR)/libjava && \
28596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28598 "RANLIB=$${RANLIB}" \
28599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28600 distclean) \
28601 || exit 1
28603 @endif target-libjava
28605 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
28606 maybe-maintainer-clean-target-libjava:
28607 @if target-libjava
28608 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
28610 maintainer-clean-target-libjava:
28611 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28612 r=`${PWD_COMMAND}`; export r; \
28613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28614 $(SET_LIB_PATH) \
28615 $(RAW_CXX_TARGET_EXPORTS) \
28616 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
28617 for flag in $(EXTRA_TARGET_FLAGS); do \
28618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28619 done; \
28620 (cd $(TARGET_SUBDIR)/libjava && \
28621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28623 "RANLIB=$${RANLIB}" \
28624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28625 maintainer-clean) \
28626 || exit 1
28628 @endif target-libjava
28631 .PHONY: configure-target-zlib maybe-configure-target-zlib
28632 maybe-configure-target-zlib:
28633 @if target-zlib
28634 maybe-configure-target-zlib: configure-target-zlib
28636 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28637 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
28638 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28639 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
28640 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
28642 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
28643 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
28644 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28645 r=`${PWD_COMMAND}`; export r; \
28646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28647 $(SET_LIB_PATH) \
28648 $(NORMAL_TARGET_EXPORTS) \
28649 echo Configuring in $(TARGET_SUBDIR)/zlib; \
28650 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
28651 case $(srcdir) in \
28652 /* | [A-Za-z]:[\\/]*) \
28653 topdir=$(srcdir) ;; \
28654 *) \
28655 case "$(TARGET_SUBDIR)" in \
28656 .) topdir="../$(srcdir)" ;; \
28657 *) topdir="../../$(srcdir)" ;; \
28658 esac ;; \
28659 esac; \
28660 if [ "$(srcdir)" = "." ] ; then \
28661 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
28662 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
28663 if [ -f Makefile ]; then \
28664 if $(MAKE) distclean; then \
28665 true; \
28666 else \
28667 exit 1; \
28668 fi; \
28669 else \
28670 true; \
28671 fi; \
28672 else \
28673 exit 1; \
28674 fi; \
28675 else \
28676 true; \
28677 fi; \
28678 srcdiroption="--srcdir=."; \
28679 libsrcdir="."; \
28680 else \
28681 srcdiroption="--srcdir=$${topdir}/zlib"; \
28682 libsrcdir="$$s/zlib"; \
28683 fi; \
28684 rm -f no-such-file || : ; \
28685 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28686 $(TARGET_CONFIGARGS) $${srcdiroption} \
28687 --with-target-subdir="$(TARGET_SUBDIR)" \
28688 || exit 1
28689 @endif target-zlib
28691 .PHONY: all-target-zlib maybe-all-target-zlib
28692 maybe-all-target-zlib:
28693 @if target-zlib
28694 TARGET-target-zlib=all
28695 maybe-all-target-zlib: all-target-zlib
28696 all-target-zlib: configure-target-zlib
28697 @r=`${PWD_COMMAND}`; export r; \
28698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28699 $(SET_LIB_PATH) \
28700 $(NORMAL_TARGET_EXPORTS) \
28701 (cd $(TARGET_SUBDIR)/zlib && \
28702 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
28703 @endif target-zlib
28705 .PHONY: check-target-zlib maybe-check-target-zlib
28706 maybe-check-target-zlib:
28707 @if target-zlib
28708 maybe-check-target-zlib: check-target-zlib
28710 check-target-zlib:
28711 @r=`${PWD_COMMAND}`; export r; \
28712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28713 $(SET_LIB_PATH) \
28714 $(NORMAL_TARGET_EXPORTS) \
28715 (cd $(TARGET_SUBDIR)/zlib && \
28716 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28718 @endif target-zlib
28720 .PHONY: install-target-zlib maybe-install-target-zlib
28721 maybe-install-target-zlib:
28722 @if target-zlib
28723 maybe-install-target-zlib: install-target-zlib
28725 install-target-zlib: installdirs
28726 @r=`${PWD_COMMAND}`; export r; \
28727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28728 $(SET_LIB_PATH) \
28729 $(NORMAL_TARGET_EXPORTS) \
28730 (cd $(TARGET_SUBDIR)/zlib && \
28731 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28733 @endif target-zlib
28735 # Other targets (info, dvi, etc.)
28737 .PHONY: maybe-info-target-zlib info-target-zlib
28738 maybe-info-target-zlib:
28739 @if target-zlib
28740 maybe-info-target-zlib: info-target-zlib
28742 info-target-zlib: \
28743 configure-target-zlib
28744 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28745 r=`${PWD_COMMAND}`; export r; \
28746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28747 $(SET_LIB_PATH) \
28748 $(NORMAL_TARGET_EXPORTS) \
28749 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
28750 for flag in $(EXTRA_TARGET_FLAGS); do \
28751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28752 done; \
28753 (cd $(TARGET_SUBDIR)/zlib && \
28754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28756 "RANLIB=$${RANLIB}" \
28757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28758 info) \
28759 || exit 1
28761 @endif target-zlib
28763 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
28764 maybe-dvi-target-zlib:
28765 @if target-zlib
28766 maybe-dvi-target-zlib: dvi-target-zlib
28768 dvi-target-zlib: \
28769 configure-target-zlib
28770 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28771 r=`${PWD_COMMAND}`; export r; \
28772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28773 $(SET_LIB_PATH) \
28774 $(NORMAL_TARGET_EXPORTS) \
28775 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
28776 for flag in $(EXTRA_TARGET_FLAGS); do \
28777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28778 done; \
28779 (cd $(TARGET_SUBDIR)/zlib && \
28780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28782 "RANLIB=$${RANLIB}" \
28783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28784 dvi) \
28785 || exit 1
28787 @endif target-zlib
28789 .PHONY: maybe-html-target-zlib html-target-zlib
28790 maybe-html-target-zlib:
28791 @if target-zlib
28792 maybe-html-target-zlib: html-target-zlib
28794 html-target-zlib: \
28795 configure-target-zlib
28796 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28797 r=`${PWD_COMMAND}`; export r; \
28798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28799 $(SET_LIB_PATH) \
28800 $(NORMAL_TARGET_EXPORTS) \
28801 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
28802 for flag in $(EXTRA_TARGET_FLAGS); do \
28803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28804 done; \
28805 (cd $(TARGET_SUBDIR)/zlib && \
28806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28808 "RANLIB=$${RANLIB}" \
28809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28810 html) \
28811 || exit 1
28813 @endif target-zlib
28815 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
28816 maybe-TAGS-target-zlib:
28817 @if target-zlib
28818 maybe-TAGS-target-zlib: TAGS-target-zlib
28820 TAGS-target-zlib: \
28821 configure-target-zlib
28822 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28823 r=`${PWD_COMMAND}`; export r; \
28824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28825 $(SET_LIB_PATH) \
28826 $(NORMAL_TARGET_EXPORTS) \
28827 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
28828 for flag in $(EXTRA_TARGET_FLAGS); do \
28829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28830 done; \
28831 (cd $(TARGET_SUBDIR)/zlib && \
28832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28834 "RANLIB=$${RANLIB}" \
28835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28836 TAGS) \
28837 || exit 1
28839 @endif target-zlib
28841 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
28842 maybe-install-info-target-zlib:
28843 @if target-zlib
28844 maybe-install-info-target-zlib: install-info-target-zlib
28846 install-info-target-zlib: \
28847 configure-target-zlib \
28848 info-target-zlib
28849 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28850 r=`${PWD_COMMAND}`; export r; \
28851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28852 $(SET_LIB_PATH) \
28853 $(NORMAL_TARGET_EXPORTS) \
28854 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
28855 for flag in $(EXTRA_TARGET_FLAGS); do \
28856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28857 done; \
28858 (cd $(TARGET_SUBDIR)/zlib && \
28859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28861 "RANLIB=$${RANLIB}" \
28862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28863 install-info) \
28864 || exit 1
28866 @endif target-zlib
28868 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
28869 maybe-installcheck-target-zlib:
28870 @if target-zlib
28871 maybe-installcheck-target-zlib: installcheck-target-zlib
28873 installcheck-target-zlib: \
28874 configure-target-zlib
28875 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28876 r=`${PWD_COMMAND}`; export r; \
28877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28878 $(SET_LIB_PATH) \
28879 $(NORMAL_TARGET_EXPORTS) \
28880 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
28881 for flag in $(EXTRA_TARGET_FLAGS); do \
28882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28883 done; \
28884 (cd $(TARGET_SUBDIR)/zlib && \
28885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28887 "RANLIB=$${RANLIB}" \
28888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28889 installcheck) \
28890 || exit 1
28892 @endif target-zlib
28894 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
28895 maybe-mostlyclean-target-zlib:
28896 @if target-zlib
28897 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
28899 mostlyclean-target-zlib:
28900 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28901 r=`${PWD_COMMAND}`; export r; \
28902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28903 $(SET_LIB_PATH) \
28904 $(NORMAL_TARGET_EXPORTS) \
28905 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
28906 for flag in $(EXTRA_TARGET_FLAGS); do \
28907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28908 done; \
28909 (cd $(TARGET_SUBDIR)/zlib && \
28910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28912 "RANLIB=$${RANLIB}" \
28913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28914 mostlyclean) \
28915 || exit 1
28917 @endif target-zlib
28919 .PHONY: maybe-clean-target-zlib clean-target-zlib
28920 maybe-clean-target-zlib:
28921 @if target-zlib
28922 maybe-clean-target-zlib: clean-target-zlib
28924 clean-target-zlib:
28925 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28926 r=`${PWD_COMMAND}`; export r; \
28927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28928 $(SET_LIB_PATH) \
28929 $(NORMAL_TARGET_EXPORTS) \
28930 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
28931 for flag in $(EXTRA_TARGET_FLAGS); do \
28932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28933 done; \
28934 (cd $(TARGET_SUBDIR)/zlib && \
28935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28937 "RANLIB=$${RANLIB}" \
28938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28939 clean) \
28940 || exit 1
28942 @endif target-zlib
28944 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
28945 maybe-distclean-target-zlib:
28946 @if target-zlib
28947 maybe-distclean-target-zlib: distclean-target-zlib
28949 distclean-target-zlib:
28950 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28951 r=`${PWD_COMMAND}`; export r; \
28952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28953 $(SET_LIB_PATH) \
28954 $(NORMAL_TARGET_EXPORTS) \
28955 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
28956 for flag in $(EXTRA_TARGET_FLAGS); do \
28957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28958 done; \
28959 (cd $(TARGET_SUBDIR)/zlib && \
28960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28962 "RANLIB=$${RANLIB}" \
28963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28964 distclean) \
28965 || exit 1
28967 @endif target-zlib
28969 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
28970 maybe-maintainer-clean-target-zlib:
28971 @if target-zlib
28972 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
28974 maintainer-clean-target-zlib:
28975 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28976 r=`${PWD_COMMAND}`; export r; \
28977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28978 $(SET_LIB_PATH) \
28979 $(NORMAL_TARGET_EXPORTS) \
28980 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
28981 for flag in $(EXTRA_TARGET_FLAGS); do \
28982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28983 done; \
28984 (cd $(TARGET_SUBDIR)/zlib && \
28985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28987 "RANLIB=$${RANLIB}" \
28988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28989 maintainer-clean) \
28990 || exit 1
28992 @endif target-zlib
28995 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
28996 maybe-configure-target-boehm-gc:
28997 @if target-boehm-gc
28998 maybe-configure-target-boehm-gc: configure-target-boehm-gc
29000 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29001 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
29002 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29003 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
29004 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
29006 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
29007 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
29008 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29009 r=`${PWD_COMMAND}`; export r; \
29010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29011 $(SET_LIB_PATH) \
29012 $(NORMAL_TARGET_EXPORTS) \
29013 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
29014 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
29015 case $(srcdir) in \
29016 /* | [A-Za-z]:[\\/]*) \
29017 topdir=$(srcdir) ;; \
29018 *) \
29019 case "$(TARGET_SUBDIR)" in \
29020 .) topdir="../$(srcdir)" ;; \
29021 *) topdir="../../$(srcdir)" ;; \
29022 esac ;; \
29023 esac; \
29024 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
29025 libsrcdir="$$s/boehm-gc"; \
29026 rm -f no-such-file || : ; \
29027 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29028 $(TARGET_CONFIGARGS) $${srcdiroption} \
29029 --with-target-subdir="$(TARGET_SUBDIR)" \
29030 || exit 1
29031 @endif target-boehm-gc
29033 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
29034 maybe-all-target-boehm-gc:
29035 @if target-boehm-gc
29036 TARGET-target-boehm-gc=all
29037 maybe-all-target-boehm-gc: all-target-boehm-gc
29038 all-target-boehm-gc: configure-target-boehm-gc
29039 @r=`${PWD_COMMAND}`; export r; \
29040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29041 $(SET_LIB_PATH) \
29042 $(NORMAL_TARGET_EXPORTS) \
29043 (cd $(TARGET_SUBDIR)/boehm-gc && \
29044 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
29045 @endif target-boehm-gc
29047 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
29048 maybe-check-target-boehm-gc:
29049 @if target-boehm-gc
29050 maybe-check-target-boehm-gc: check-target-boehm-gc
29052 check-target-boehm-gc:
29053 @r=`${PWD_COMMAND}`; export r; \
29054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29055 $(SET_LIB_PATH) \
29056 $(NORMAL_TARGET_EXPORTS) \
29057 (cd $(TARGET_SUBDIR)/boehm-gc && \
29058 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29060 @endif target-boehm-gc
29062 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
29063 maybe-install-target-boehm-gc:
29064 @if target-boehm-gc
29065 maybe-install-target-boehm-gc: install-target-boehm-gc
29067 install-target-boehm-gc: installdirs
29068 @r=`${PWD_COMMAND}`; export r; \
29069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29070 $(SET_LIB_PATH) \
29071 $(NORMAL_TARGET_EXPORTS) \
29072 (cd $(TARGET_SUBDIR)/boehm-gc && \
29073 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29075 @endif target-boehm-gc
29077 # Other targets (info, dvi, etc.)
29079 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
29080 maybe-info-target-boehm-gc:
29081 @if target-boehm-gc
29082 maybe-info-target-boehm-gc: info-target-boehm-gc
29084 info-target-boehm-gc: \
29085 configure-target-boehm-gc
29086 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29087 r=`${PWD_COMMAND}`; export r; \
29088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29089 $(SET_LIB_PATH) \
29090 $(NORMAL_TARGET_EXPORTS) \
29091 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
29092 for flag in $(EXTRA_TARGET_FLAGS); do \
29093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29094 done; \
29095 (cd $(TARGET_SUBDIR)/boehm-gc && \
29096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29098 "RANLIB=$${RANLIB}" \
29099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29100 info) \
29101 || exit 1
29103 @endif target-boehm-gc
29105 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
29106 maybe-dvi-target-boehm-gc:
29107 @if target-boehm-gc
29108 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
29110 dvi-target-boehm-gc: \
29111 configure-target-boehm-gc
29112 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29113 r=`${PWD_COMMAND}`; export r; \
29114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29115 $(SET_LIB_PATH) \
29116 $(NORMAL_TARGET_EXPORTS) \
29117 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
29118 for flag in $(EXTRA_TARGET_FLAGS); do \
29119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29120 done; \
29121 (cd $(TARGET_SUBDIR)/boehm-gc && \
29122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29124 "RANLIB=$${RANLIB}" \
29125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29126 dvi) \
29127 || exit 1
29129 @endif target-boehm-gc
29131 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
29132 maybe-html-target-boehm-gc:
29133 @if target-boehm-gc
29134 maybe-html-target-boehm-gc: html-target-boehm-gc
29136 html-target-boehm-gc: \
29137 configure-target-boehm-gc
29138 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29139 r=`${PWD_COMMAND}`; export r; \
29140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29141 $(SET_LIB_PATH) \
29142 $(NORMAL_TARGET_EXPORTS) \
29143 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
29144 for flag in $(EXTRA_TARGET_FLAGS); do \
29145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29146 done; \
29147 (cd $(TARGET_SUBDIR)/boehm-gc && \
29148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29150 "RANLIB=$${RANLIB}" \
29151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29152 html) \
29153 || exit 1
29155 @endif target-boehm-gc
29157 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
29158 maybe-TAGS-target-boehm-gc:
29159 @if target-boehm-gc
29160 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
29162 TAGS-target-boehm-gc: \
29163 configure-target-boehm-gc
29164 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29165 r=`${PWD_COMMAND}`; export r; \
29166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29167 $(SET_LIB_PATH) \
29168 $(NORMAL_TARGET_EXPORTS) \
29169 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
29170 for flag in $(EXTRA_TARGET_FLAGS); do \
29171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29172 done; \
29173 (cd $(TARGET_SUBDIR)/boehm-gc && \
29174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29176 "RANLIB=$${RANLIB}" \
29177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29178 TAGS) \
29179 || exit 1
29181 @endif target-boehm-gc
29183 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
29184 maybe-install-info-target-boehm-gc:
29185 @if target-boehm-gc
29186 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
29188 install-info-target-boehm-gc: \
29189 configure-target-boehm-gc \
29190 info-target-boehm-gc
29191 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29192 r=`${PWD_COMMAND}`; export r; \
29193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29194 $(SET_LIB_PATH) \
29195 $(NORMAL_TARGET_EXPORTS) \
29196 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
29197 for flag in $(EXTRA_TARGET_FLAGS); do \
29198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29199 done; \
29200 (cd $(TARGET_SUBDIR)/boehm-gc && \
29201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29203 "RANLIB=$${RANLIB}" \
29204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29205 install-info) \
29206 || exit 1
29208 @endif target-boehm-gc
29210 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
29211 maybe-installcheck-target-boehm-gc:
29212 @if target-boehm-gc
29213 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
29215 installcheck-target-boehm-gc: \
29216 configure-target-boehm-gc
29217 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29218 r=`${PWD_COMMAND}`; export r; \
29219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29220 $(SET_LIB_PATH) \
29221 $(NORMAL_TARGET_EXPORTS) \
29222 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
29223 for flag in $(EXTRA_TARGET_FLAGS); do \
29224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29225 done; \
29226 (cd $(TARGET_SUBDIR)/boehm-gc && \
29227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29229 "RANLIB=$${RANLIB}" \
29230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29231 installcheck) \
29232 || exit 1
29234 @endif target-boehm-gc
29236 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
29237 maybe-mostlyclean-target-boehm-gc:
29238 @if target-boehm-gc
29239 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
29241 mostlyclean-target-boehm-gc:
29242 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29243 r=`${PWD_COMMAND}`; export r; \
29244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29245 $(SET_LIB_PATH) \
29246 $(NORMAL_TARGET_EXPORTS) \
29247 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29248 for flag in $(EXTRA_TARGET_FLAGS); do \
29249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29250 done; \
29251 (cd $(TARGET_SUBDIR)/boehm-gc && \
29252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29254 "RANLIB=$${RANLIB}" \
29255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29256 mostlyclean) \
29257 || exit 1
29259 @endif target-boehm-gc
29261 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
29262 maybe-clean-target-boehm-gc:
29263 @if target-boehm-gc
29264 maybe-clean-target-boehm-gc: clean-target-boehm-gc
29266 clean-target-boehm-gc:
29267 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29268 r=`${PWD_COMMAND}`; export r; \
29269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29270 $(SET_LIB_PATH) \
29271 $(NORMAL_TARGET_EXPORTS) \
29272 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29273 for flag in $(EXTRA_TARGET_FLAGS); do \
29274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29275 done; \
29276 (cd $(TARGET_SUBDIR)/boehm-gc && \
29277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29279 "RANLIB=$${RANLIB}" \
29280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29281 clean) \
29282 || exit 1
29284 @endif target-boehm-gc
29286 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
29287 maybe-distclean-target-boehm-gc:
29288 @if target-boehm-gc
29289 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
29291 distclean-target-boehm-gc:
29292 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29293 r=`${PWD_COMMAND}`; export r; \
29294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29295 $(SET_LIB_PATH) \
29296 $(NORMAL_TARGET_EXPORTS) \
29297 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29298 for flag in $(EXTRA_TARGET_FLAGS); do \
29299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29300 done; \
29301 (cd $(TARGET_SUBDIR)/boehm-gc && \
29302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29304 "RANLIB=$${RANLIB}" \
29305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29306 distclean) \
29307 || exit 1
29309 @endif target-boehm-gc
29311 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
29312 maybe-maintainer-clean-target-boehm-gc:
29313 @if target-boehm-gc
29314 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
29316 maintainer-clean-target-boehm-gc:
29317 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29318 r=`${PWD_COMMAND}`; export r; \
29319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29320 $(SET_LIB_PATH) \
29321 $(NORMAL_TARGET_EXPORTS) \
29322 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29323 for flag in $(EXTRA_TARGET_FLAGS); do \
29324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29325 done; \
29326 (cd $(TARGET_SUBDIR)/boehm-gc && \
29327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29329 "RANLIB=$${RANLIB}" \
29330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29331 maintainer-clean) \
29332 || exit 1
29334 @endif target-boehm-gc
29337 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
29338 maybe-configure-target-qthreads:
29339 @if target-qthreads
29340 maybe-configure-target-qthreads: configure-target-qthreads
29342 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29343 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
29344 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29345 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
29346 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
29348 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
29349 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
29350 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29351 r=`${PWD_COMMAND}`; export r; \
29352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29353 $(SET_LIB_PATH) \
29354 $(NORMAL_TARGET_EXPORTS) \
29355 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
29356 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
29357 case $(srcdir) in \
29358 /* | [A-Za-z]:[\\/]*) \
29359 topdir=$(srcdir) ;; \
29360 *) \
29361 case "$(TARGET_SUBDIR)" in \
29362 .) topdir="../$(srcdir)" ;; \
29363 *) topdir="../../$(srcdir)" ;; \
29364 esac ;; \
29365 esac; \
29366 srcdiroption="--srcdir=$${topdir}/qthreads"; \
29367 libsrcdir="$$s/qthreads"; \
29368 rm -f no-such-file || : ; \
29369 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29370 $(TARGET_CONFIGARGS) $${srcdiroption} \
29371 --with-target-subdir="$(TARGET_SUBDIR)" \
29372 || exit 1
29373 @endif target-qthreads
29375 .PHONY: all-target-qthreads maybe-all-target-qthreads
29376 maybe-all-target-qthreads:
29377 @if target-qthreads
29378 TARGET-target-qthreads=all
29379 maybe-all-target-qthreads: all-target-qthreads
29380 all-target-qthreads: configure-target-qthreads
29381 @r=`${PWD_COMMAND}`; export r; \
29382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29383 $(SET_LIB_PATH) \
29384 $(NORMAL_TARGET_EXPORTS) \
29385 (cd $(TARGET_SUBDIR)/qthreads && \
29386 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
29387 @endif target-qthreads
29389 .PHONY: check-target-qthreads maybe-check-target-qthreads
29390 maybe-check-target-qthreads:
29391 @if target-qthreads
29392 maybe-check-target-qthreads: check-target-qthreads
29394 check-target-qthreads:
29395 @r=`${PWD_COMMAND}`; export r; \
29396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29397 $(SET_LIB_PATH) \
29398 $(NORMAL_TARGET_EXPORTS) \
29399 (cd $(TARGET_SUBDIR)/qthreads && \
29400 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29402 @endif target-qthreads
29404 .PHONY: install-target-qthreads maybe-install-target-qthreads
29405 maybe-install-target-qthreads:
29406 @if target-qthreads
29407 maybe-install-target-qthreads: install-target-qthreads
29409 install-target-qthreads: installdirs
29410 @r=`${PWD_COMMAND}`; export r; \
29411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29412 $(SET_LIB_PATH) \
29413 $(NORMAL_TARGET_EXPORTS) \
29414 (cd $(TARGET_SUBDIR)/qthreads && \
29415 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29417 @endif target-qthreads
29419 # Other targets (info, dvi, etc.)
29421 .PHONY: maybe-info-target-qthreads info-target-qthreads
29422 maybe-info-target-qthreads:
29423 @if target-qthreads
29424 maybe-info-target-qthreads: info-target-qthreads
29426 info-target-qthreads: \
29427 configure-target-qthreads
29428 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29429 r=`${PWD_COMMAND}`; export r; \
29430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29431 $(SET_LIB_PATH) \
29432 $(NORMAL_TARGET_EXPORTS) \
29433 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
29434 for flag in $(EXTRA_TARGET_FLAGS); do \
29435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29436 done; \
29437 (cd $(TARGET_SUBDIR)/qthreads && \
29438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29440 "RANLIB=$${RANLIB}" \
29441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29442 info) \
29443 || exit 1
29445 @endif target-qthreads
29447 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
29448 maybe-dvi-target-qthreads:
29449 @if target-qthreads
29450 maybe-dvi-target-qthreads: dvi-target-qthreads
29452 dvi-target-qthreads: \
29453 configure-target-qthreads
29454 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29455 r=`${PWD_COMMAND}`; export r; \
29456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29457 $(SET_LIB_PATH) \
29458 $(NORMAL_TARGET_EXPORTS) \
29459 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
29460 for flag in $(EXTRA_TARGET_FLAGS); do \
29461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29462 done; \
29463 (cd $(TARGET_SUBDIR)/qthreads && \
29464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29466 "RANLIB=$${RANLIB}" \
29467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29468 dvi) \
29469 || exit 1
29471 @endif target-qthreads
29473 .PHONY: maybe-html-target-qthreads html-target-qthreads
29474 maybe-html-target-qthreads:
29475 @if target-qthreads
29476 maybe-html-target-qthreads: html-target-qthreads
29478 html-target-qthreads: \
29479 configure-target-qthreads
29480 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29481 r=`${PWD_COMMAND}`; export r; \
29482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29483 $(SET_LIB_PATH) \
29484 $(NORMAL_TARGET_EXPORTS) \
29485 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
29486 for flag in $(EXTRA_TARGET_FLAGS); do \
29487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29488 done; \
29489 (cd $(TARGET_SUBDIR)/qthreads && \
29490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29492 "RANLIB=$${RANLIB}" \
29493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29494 html) \
29495 || exit 1
29497 @endif target-qthreads
29499 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
29500 maybe-TAGS-target-qthreads:
29501 @if target-qthreads
29502 maybe-TAGS-target-qthreads: TAGS-target-qthreads
29504 TAGS-target-qthreads: \
29505 configure-target-qthreads
29506 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29507 r=`${PWD_COMMAND}`; export r; \
29508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29509 $(SET_LIB_PATH) \
29510 $(NORMAL_TARGET_EXPORTS) \
29511 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
29512 for flag in $(EXTRA_TARGET_FLAGS); do \
29513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29514 done; \
29515 (cd $(TARGET_SUBDIR)/qthreads && \
29516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29518 "RANLIB=$${RANLIB}" \
29519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29520 TAGS) \
29521 || exit 1
29523 @endif target-qthreads
29525 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
29526 maybe-install-info-target-qthreads:
29527 @if target-qthreads
29528 maybe-install-info-target-qthreads: install-info-target-qthreads
29530 install-info-target-qthreads: \
29531 configure-target-qthreads \
29532 info-target-qthreads
29533 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29534 r=`${PWD_COMMAND}`; export r; \
29535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29536 $(SET_LIB_PATH) \
29537 $(NORMAL_TARGET_EXPORTS) \
29538 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
29539 for flag in $(EXTRA_TARGET_FLAGS); do \
29540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29541 done; \
29542 (cd $(TARGET_SUBDIR)/qthreads && \
29543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29545 "RANLIB=$${RANLIB}" \
29546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29547 install-info) \
29548 || exit 1
29550 @endif target-qthreads
29552 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
29553 maybe-installcheck-target-qthreads:
29554 @if target-qthreads
29555 maybe-installcheck-target-qthreads: installcheck-target-qthreads
29557 installcheck-target-qthreads: \
29558 configure-target-qthreads
29559 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29560 r=`${PWD_COMMAND}`; export r; \
29561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29562 $(SET_LIB_PATH) \
29563 $(NORMAL_TARGET_EXPORTS) \
29564 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
29565 for flag in $(EXTRA_TARGET_FLAGS); do \
29566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29567 done; \
29568 (cd $(TARGET_SUBDIR)/qthreads && \
29569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29571 "RANLIB=$${RANLIB}" \
29572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29573 installcheck) \
29574 || exit 1
29576 @endif target-qthreads
29578 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
29579 maybe-mostlyclean-target-qthreads:
29580 @if target-qthreads
29581 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
29583 mostlyclean-target-qthreads:
29584 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29585 r=`${PWD_COMMAND}`; export r; \
29586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29587 $(SET_LIB_PATH) \
29588 $(NORMAL_TARGET_EXPORTS) \
29589 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
29590 for flag in $(EXTRA_TARGET_FLAGS); do \
29591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29592 done; \
29593 (cd $(TARGET_SUBDIR)/qthreads && \
29594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29596 "RANLIB=$${RANLIB}" \
29597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29598 mostlyclean) \
29599 || exit 1
29601 @endif target-qthreads
29603 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
29604 maybe-clean-target-qthreads:
29605 @if target-qthreads
29606 maybe-clean-target-qthreads: clean-target-qthreads
29608 clean-target-qthreads:
29609 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29610 r=`${PWD_COMMAND}`; export r; \
29611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29612 $(SET_LIB_PATH) \
29613 $(NORMAL_TARGET_EXPORTS) \
29614 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
29615 for flag in $(EXTRA_TARGET_FLAGS); do \
29616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29617 done; \
29618 (cd $(TARGET_SUBDIR)/qthreads && \
29619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29621 "RANLIB=$${RANLIB}" \
29622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29623 clean) \
29624 || exit 1
29626 @endif target-qthreads
29628 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
29629 maybe-distclean-target-qthreads:
29630 @if target-qthreads
29631 maybe-distclean-target-qthreads: distclean-target-qthreads
29633 distclean-target-qthreads:
29634 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29635 r=`${PWD_COMMAND}`; export r; \
29636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29637 $(SET_LIB_PATH) \
29638 $(NORMAL_TARGET_EXPORTS) \
29639 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
29640 for flag in $(EXTRA_TARGET_FLAGS); do \
29641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29642 done; \
29643 (cd $(TARGET_SUBDIR)/qthreads && \
29644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29646 "RANLIB=$${RANLIB}" \
29647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29648 distclean) \
29649 || exit 1
29651 @endif target-qthreads
29653 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
29654 maybe-maintainer-clean-target-qthreads:
29655 @if target-qthreads
29656 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
29658 maintainer-clean-target-qthreads:
29659 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29660 r=`${PWD_COMMAND}`; export r; \
29661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29662 $(SET_LIB_PATH) \
29663 $(NORMAL_TARGET_EXPORTS) \
29664 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
29665 for flag in $(EXTRA_TARGET_FLAGS); do \
29666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29667 done; \
29668 (cd $(TARGET_SUBDIR)/qthreads && \
29669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29671 "RANLIB=$${RANLIB}" \
29672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29673 maintainer-clean) \
29674 || exit 1
29676 @endif target-qthreads
29679 .PHONY: configure-target-rda maybe-configure-target-rda
29680 maybe-configure-target-rda:
29681 @if target-rda
29682 maybe-configure-target-rda: configure-target-rda
29684 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29685 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
29686 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29687 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
29688 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
29690 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
29691 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
29692 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29693 r=`${PWD_COMMAND}`; export r; \
29694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29695 $(SET_LIB_PATH) \
29696 $(NORMAL_TARGET_EXPORTS) \
29697 echo Configuring in $(TARGET_SUBDIR)/rda; \
29698 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
29699 case $(srcdir) in \
29700 /* | [A-Za-z]:[\\/]*) \
29701 topdir=$(srcdir) ;; \
29702 *) \
29703 case "$(TARGET_SUBDIR)" in \
29704 .) topdir="../$(srcdir)" ;; \
29705 *) topdir="../../$(srcdir)" ;; \
29706 esac ;; \
29707 esac; \
29708 srcdiroption="--srcdir=$${topdir}/rda"; \
29709 libsrcdir="$$s/rda"; \
29710 rm -f no-such-file || : ; \
29711 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29712 $(TARGET_CONFIGARGS) $${srcdiroption} \
29713 --with-target-subdir="$(TARGET_SUBDIR)" \
29714 || exit 1
29715 @endif target-rda
29717 .PHONY: all-target-rda maybe-all-target-rda
29718 maybe-all-target-rda:
29719 @if target-rda
29720 TARGET-target-rda=all
29721 maybe-all-target-rda: all-target-rda
29722 all-target-rda: configure-target-rda
29723 @r=`${PWD_COMMAND}`; export r; \
29724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29725 $(SET_LIB_PATH) \
29726 $(NORMAL_TARGET_EXPORTS) \
29727 (cd $(TARGET_SUBDIR)/rda && \
29728 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
29729 @endif target-rda
29731 .PHONY: check-target-rda maybe-check-target-rda
29732 maybe-check-target-rda:
29733 @if target-rda
29734 maybe-check-target-rda: check-target-rda
29736 check-target-rda:
29737 @r=`${PWD_COMMAND}`; export r; \
29738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29739 $(SET_LIB_PATH) \
29740 $(NORMAL_TARGET_EXPORTS) \
29741 (cd $(TARGET_SUBDIR)/rda && \
29742 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29744 @endif target-rda
29746 .PHONY: install-target-rda maybe-install-target-rda
29747 maybe-install-target-rda:
29748 @if target-rda
29749 maybe-install-target-rda: install-target-rda
29751 install-target-rda: installdirs
29752 @r=`${PWD_COMMAND}`; export r; \
29753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29754 $(SET_LIB_PATH) \
29755 $(NORMAL_TARGET_EXPORTS) \
29756 (cd $(TARGET_SUBDIR)/rda && \
29757 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29759 @endif target-rda
29761 # Other targets (info, dvi, etc.)
29763 .PHONY: maybe-info-target-rda info-target-rda
29764 maybe-info-target-rda:
29765 @if target-rda
29766 maybe-info-target-rda: info-target-rda
29768 info-target-rda: \
29769 configure-target-rda
29770 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29771 r=`${PWD_COMMAND}`; export r; \
29772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29773 $(SET_LIB_PATH) \
29774 $(NORMAL_TARGET_EXPORTS) \
29775 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
29776 for flag in $(EXTRA_TARGET_FLAGS); do \
29777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29778 done; \
29779 (cd $(TARGET_SUBDIR)/rda && \
29780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29782 "RANLIB=$${RANLIB}" \
29783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29784 info) \
29785 || exit 1
29787 @endif target-rda
29789 .PHONY: maybe-dvi-target-rda dvi-target-rda
29790 maybe-dvi-target-rda:
29791 @if target-rda
29792 maybe-dvi-target-rda: dvi-target-rda
29794 dvi-target-rda: \
29795 configure-target-rda
29796 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29797 r=`${PWD_COMMAND}`; export r; \
29798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29799 $(SET_LIB_PATH) \
29800 $(NORMAL_TARGET_EXPORTS) \
29801 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
29802 for flag in $(EXTRA_TARGET_FLAGS); do \
29803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29804 done; \
29805 (cd $(TARGET_SUBDIR)/rda && \
29806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29808 "RANLIB=$${RANLIB}" \
29809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29810 dvi) \
29811 || exit 1
29813 @endif target-rda
29815 .PHONY: maybe-html-target-rda html-target-rda
29816 maybe-html-target-rda:
29817 @if target-rda
29818 maybe-html-target-rda: html-target-rda
29820 html-target-rda: \
29821 configure-target-rda
29822 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29823 r=`${PWD_COMMAND}`; export r; \
29824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29825 $(SET_LIB_PATH) \
29826 $(NORMAL_TARGET_EXPORTS) \
29827 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
29828 for flag in $(EXTRA_TARGET_FLAGS); do \
29829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29830 done; \
29831 (cd $(TARGET_SUBDIR)/rda && \
29832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29834 "RANLIB=$${RANLIB}" \
29835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29836 html) \
29837 || exit 1
29839 @endif target-rda
29841 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
29842 maybe-TAGS-target-rda:
29843 @if target-rda
29844 maybe-TAGS-target-rda: TAGS-target-rda
29846 TAGS-target-rda: \
29847 configure-target-rda
29848 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29849 r=`${PWD_COMMAND}`; export r; \
29850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29851 $(SET_LIB_PATH) \
29852 $(NORMAL_TARGET_EXPORTS) \
29853 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
29854 for flag in $(EXTRA_TARGET_FLAGS); do \
29855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29856 done; \
29857 (cd $(TARGET_SUBDIR)/rda && \
29858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29860 "RANLIB=$${RANLIB}" \
29861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29862 TAGS) \
29863 || exit 1
29865 @endif target-rda
29867 .PHONY: maybe-install-info-target-rda install-info-target-rda
29868 maybe-install-info-target-rda:
29869 @if target-rda
29870 maybe-install-info-target-rda: install-info-target-rda
29872 install-info-target-rda: \
29873 configure-target-rda \
29874 info-target-rda
29875 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29876 r=`${PWD_COMMAND}`; export r; \
29877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29878 $(SET_LIB_PATH) \
29879 $(NORMAL_TARGET_EXPORTS) \
29880 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
29881 for flag in $(EXTRA_TARGET_FLAGS); do \
29882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29883 done; \
29884 (cd $(TARGET_SUBDIR)/rda && \
29885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29887 "RANLIB=$${RANLIB}" \
29888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29889 install-info) \
29890 || exit 1
29892 @endif target-rda
29894 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
29895 maybe-installcheck-target-rda:
29896 @if target-rda
29897 maybe-installcheck-target-rda: installcheck-target-rda
29899 installcheck-target-rda: \
29900 configure-target-rda
29901 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29902 r=`${PWD_COMMAND}`; export r; \
29903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29904 $(SET_LIB_PATH) \
29905 $(NORMAL_TARGET_EXPORTS) \
29906 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
29907 for flag in $(EXTRA_TARGET_FLAGS); do \
29908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29909 done; \
29910 (cd $(TARGET_SUBDIR)/rda && \
29911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29913 "RANLIB=$${RANLIB}" \
29914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29915 installcheck) \
29916 || exit 1
29918 @endif target-rda
29920 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
29921 maybe-mostlyclean-target-rda:
29922 @if target-rda
29923 maybe-mostlyclean-target-rda: mostlyclean-target-rda
29925 mostlyclean-target-rda:
29926 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29927 r=`${PWD_COMMAND}`; export r; \
29928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29929 $(SET_LIB_PATH) \
29930 $(NORMAL_TARGET_EXPORTS) \
29931 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
29932 for flag in $(EXTRA_TARGET_FLAGS); do \
29933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29934 done; \
29935 (cd $(TARGET_SUBDIR)/rda && \
29936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29938 "RANLIB=$${RANLIB}" \
29939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29940 mostlyclean) \
29941 || exit 1
29943 @endif target-rda
29945 .PHONY: maybe-clean-target-rda clean-target-rda
29946 maybe-clean-target-rda:
29947 @if target-rda
29948 maybe-clean-target-rda: clean-target-rda
29950 clean-target-rda:
29951 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29952 r=`${PWD_COMMAND}`; export r; \
29953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29954 $(SET_LIB_PATH) \
29955 $(NORMAL_TARGET_EXPORTS) \
29956 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
29957 for flag in $(EXTRA_TARGET_FLAGS); do \
29958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29959 done; \
29960 (cd $(TARGET_SUBDIR)/rda && \
29961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29963 "RANLIB=$${RANLIB}" \
29964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29965 clean) \
29966 || exit 1
29968 @endif target-rda
29970 .PHONY: maybe-distclean-target-rda distclean-target-rda
29971 maybe-distclean-target-rda:
29972 @if target-rda
29973 maybe-distclean-target-rda: distclean-target-rda
29975 distclean-target-rda:
29976 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29977 r=`${PWD_COMMAND}`; export r; \
29978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29979 $(SET_LIB_PATH) \
29980 $(NORMAL_TARGET_EXPORTS) \
29981 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
29982 for flag in $(EXTRA_TARGET_FLAGS); do \
29983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29984 done; \
29985 (cd $(TARGET_SUBDIR)/rda && \
29986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29988 "RANLIB=$${RANLIB}" \
29989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29990 distclean) \
29991 || exit 1
29993 @endif target-rda
29995 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
29996 maybe-maintainer-clean-target-rda:
29997 @if target-rda
29998 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
30000 maintainer-clean-target-rda:
30001 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30002 r=`${PWD_COMMAND}`; export r; \
30003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30004 $(SET_LIB_PATH) \
30005 $(NORMAL_TARGET_EXPORTS) \
30006 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
30007 for flag in $(EXTRA_TARGET_FLAGS); do \
30008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30009 done; \
30010 (cd $(TARGET_SUBDIR)/rda && \
30011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30013 "RANLIB=$${RANLIB}" \
30014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30015 maintainer-clean) \
30016 || exit 1
30018 @endif target-rda
30021 .PHONY: configure-target-libada maybe-configure-target-libada
30022 maybe-configure-target-libada:
30023 @if target-libada
30024 maybe-configure-target-libada: configure-target-libada
30026 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30027 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
30028 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30029 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
30030 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
30032 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
30033 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
30034 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30035 r=`${PWD_COMMAND}`; export r; \
30036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30037 $(SET_LIB_PATH) \
30038 $(NORMAL_TARGET_EXPORTS) \
30039 echo Configuring in $(TARGET_SUBDIR)/libada; \
30040 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
30041 case $(srcdir) in \
30042 /* | [A-Za-z]:[\\/]*) \
30043 topdir=$(srcdir) ;; \
30044 *) \
30045 case "$(TARGET_SUBDIR)" in \
30046 .) topdir="../$(srcdir)" ;; \
30047 *) topdir="../../$(srcdir)" ;; \
30048 esac ;; \
30049 esac; \
30050 srcdiroption="--srcdir=$${topdir}/libada"; \
30051 libsrcdir="$$s/libada"; \
30052 rm -f no-such-file || : ; \
30053 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30054 $(TARGET_CONFIGARGS) $${srcdiroption} \
30055 --with-target-subdir="$(TARGET_SUBDIR)" \
30056 || exit 1
30057 @endif target-libada
30059 .PHONY: all-target-libada maybe-all-target-libada
30060 maybe-all-target-libada:
30061 @if target-libada
30062 TARGET-target-libada=all
30063 maybe-all-target-libada: all-target-libada
30064 all-target-libada: configure-target-libada
30065 @r=`${PWD_COMMAND}`; export r; \
30066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30067 $(SET_LIB_PATH) \
30068 $(NORMAL_TARGET_EXPORTS) \
30069 (cd $(TARGET_SUBDIR)/libada && \
30070 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
30071 @endif target-libada
30073 .PHONY: check-target-libada maybe-check-target-libada
30074 maybe-check-target-libada:
30075 @if target-libada
30076 maybe-check-target-libada: check-target-libada
30078 check-target-libada:
30079 @r=`${PWD_COMMAND}`; export r; \
30080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30081 $(SET_LIB_PATH) \
30082 $(NORMAL_TARGET_EXPORTS) \
30083 (cd $(TARGET_SUBDIR)/libada && \
30084 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30086 @endif target-libada
30088 .PHONY: install-target-libada maybe-install-target-libada
30089 maybe-install-target-libada:
30090 @if target-libada
30091 maybe-install-target-libada: install-target-libada
30093 install-target-libada: installdirs
30094 @r=`${PWD_COMMAND}`; export r; \
30095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30096 $(SET_LIB_PATH) \
30097 $(NORMAL_TARGET_EXPORTS) \
30098 (cd $(TARGET_SUBDIR)/libada && \
30099 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30101 @endif target-libada
30103 # Other targets (info, dvi, etc.)
30105 .PHONY: maybe-info-target-libada info-target-libada
30106 maybe-info-target-libada:
30107 @if target-libada
30108 maybe-info-target-libada: info-target-libada
30110 info-target-libada: \
30111 configure-target-libada
30112 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30113 r=`${PWD_COMMAND}`; export r; \
30114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30115 $(SET_LIB_PATH) \
30116 $(NORMAL_TARGET_EXPORTS) \
30117 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
30118 for flag in $(EXTRA_TARGET_FLAGS); do \
30119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30120 done; \
30121 (cd $(TARGET_SUBDIR)/libada && \
30122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30124 "RANLIB=$${RANLIB}" \
30125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30126 info) \
30127 || exit 1
30129 @endif target-libada
30131 .PHONY: maybe-dvi-target-libada dvi-target-libada
30132 maybe-dvi-target-libada:
30133 @if target-libada
30134 maybe-dvi-target-libada: dvi-target-libada
30136 dvi-target-libada: \
30137 configure-target-libada
30138 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30139 r=`${PWD_COMMAND}`; export r; \
30140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30141 $(SET_LIB_PATH) \
30142 $(NORMAL_TARGET_EXPORTS) \
30143 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
30144 for flag in $(EXTRA_TARGET_FLAGS); do \
30145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30146 done; \
30147 (cd $(TARGET_SUBDIR)/libada && \
30148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30150 "RANLIB=$${RANLIB}" \
30151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30152 dvi) \
30153 || exit 1
30155 @endif target-libada
30157 .PHONY: maybe-html-target-libada html-target-libada
30158 maybe-html-target-libada:
30159 @if target-libada
30160 maybe-html-target-libada: html-target-libada
30162 html-target-libada: \
30163 configure-target-libada
30164 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30165 r=`${PWD_COMMAND}`; export r; \
30166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30167 $(SET_LIB_PATH) \
30168 $(NORMAL_TARGET_EXPORTS) \
30169 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
30170 for flag in $(EXTRA_TARGET_FLAGS); do \
30171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30172 done; \
30173 (cd $(TARGET_SUBDIR)/libada && \
30174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30176 "RANLIB=$${RANLIB}" \
30177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30178 html) \
30179 || exit 1
30181 @endif target-libada
30183 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
30184 maybe-TAGS-target-libada:
30185 @if target-libada
30186 maybe-TAGS-target-libada: TAGS-target-libada
30188 TAGS-target-libada: \
30189 configure-target-libada
30190 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30191 r=`${PWD_COMMAND}`; export r; \
30192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30193 $(SET_LIB_PATH) \
30194 $(NORMAL_TARGET_EXPORTS) \
30195 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
30196 for flag in $(EXTRA_TARGET_FLAGS); do \
30197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30198 done; \
30199 (cd $(TARGET_SUBDIR)/libada && \
30200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30202 "RANLIB=$${RANLIB}" \
30203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30204 TAGS) \
30205 || exit 1
30207 @endif target-libada
30209 .PHONY: maybe-install-info-target-libada install-info-target-libada
30210 maybe-install-info-target-libada:
30211 @if target-libada
30212 maybe-install-info-target-libada: install-info-target-libada
30214 install-info-target-libada: \
30215 configure-target-libada \
30216 info-target-libada
30217 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30218 r=`${PWD_COMMAND}`; export r; \
30219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30220 $(SET_LIB_PATH) \
30221 $(NORMAL_TARGET_EXPORTS) \
30222 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
30223 for flag in $(EXTRA_TARGET_FLAGS); do \
30224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30225 done; \
30226 (cd $(TARGET_SUBDIR)/libada && \
30227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30229 "RANLIB=$${RANLIB}" \
30230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30231 install-info) \
30232 || exit 1
30234 @endif target-libada
30236 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
30237 maybe-installcheck-target-libada:
30238 @if target-libada
30239 maybe-installcheck-target-libada: installcheck-target-libada
30241 installcheck-target-libada: \
30242 configure-target-libada
30243 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30244 r=`${PWD_COMMAND}`; export r; \
30245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30246 $(SET_LIB_PATH) \
30247 $(NORMAL_TARGET_EXPORTS) \
30248 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
30249 for flag in $(EXTRA_TARGET_FLAGS); do \
30250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30251 done; \
30252 (cd $(TARGET_SUBDIR)/libada && \
30253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30255 "RANLIB=$${RANLIB}" \
30256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30257 installcheck) \
30258 || exit 1
30260 @endif target-libada
30262 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
30263 maybe-mostlyclean-target-libada:
30264 @if target-libada
30265 maybe-mostlyclean-target-libada: mostlyclean-target-libada
30267 mostlyclean-target-libada:
30268 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30269 r=`${PWD_COMMAND}`; export r; \
30270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30271 $(SET_LIB_PATH) \
30272 $(NORMAL_TARGET_EXPORTS) \
30273 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
30274 for flag in $(EXTRA_TARGET_FLAGS); do \
30275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30276 done; \
30277 (cd $(TARGET_SUBDIR)/libada && \
30278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30280 "RANLIB=$${RANLIB}" \
30281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30282 mostlyclean) \
30283 || exit 1
30285 @endif target-libada
30287 .PHONY: maybe-clean-target-libada clean-target-libada
30288 maybe-clean-target-libada:
30289 @if target-libada
30290 maybe-clean-target-libada: clean-target-libada
30292 clean-target-libada:
30293 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30294 r=`${PWD_COMMAND}`; export r; \
30295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30296 $(SET_LIB_PATH) \
30297 $(NORMAL_TARGET_EXPORTS) \
30298 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
30299 for flag in $(EXTRA_TARGET_FLAGS); do \
30300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30301 done; \
30302 (cd $(TARGET_SUBDIR)/libada && \
30303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30305 "RANLIB=$${RANLIB}" \
30306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30307 clean) \
30308 || exit 1
30310 @endif target-libada
30312 .PHONY: maybe-distclean-target-libada distclean-target-libada
30313 maybe-distclean-target-libada:
30314 @if target-libada
30315 maybe-distclean-target-libada: distclean-target-libada
30317 distclean-target-libada:
30318 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30319 r=`${PWD_COMMAND}`; export r; \
30320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30321 $(SET_LIB_PATH) \
30322 $(NORMAL_TARGET_EXPORTS) \
30323 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
30324 for flag in $(EXTRA_TARGET_FLAGS); do \
30325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30326 done; \
30327 (cd $(TARGET_SUBDIR)/libada && \
30328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30330 "RANLIB=$${RANLIB}" \
30331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30332 distclean) \
30333 || exit 1
30335 @endif target-libada
30337 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
30338 maybe-maintainer-clean-target-libada:
30339 @if target-libada
30340 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
30342 maintainer-clean-target-libada:
30343 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30344 r=`${PWD_COMMAND}`; export r; \
30345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30346 $(SET_LIB_PATH) \
30347 $(NORMAL_TARGET_EXPORTS) \
30348 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
30349 for flag in $(EXTRA_TARGET_FLAGS); do \
30350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30351 done; \
30352 (cd $(TARGET_SUBDIR)/libada && \
30353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30355 "RANLIB=$${RANLIB}" \
30356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30357 maintainer-clean) \
30358 || exit 1
30360 @endif target-libada
30364 # ----------
30365 # GCC module
30366 # ----------
30368 @if gcc-no-bootstrap
30369 # GCC has some more recursive targets, which trigger the old
30370 # (but still current, until the toplevel bootstrap project
30371 # is finished) compiler bootstrapping rules.
30373 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
30374 .PHONY: $(GCC_STRAP_TARGETS)
30375 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
30376 @r=`${PWD_COMMAND}`; export r; \
30377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30378 $(SET_LIB_PATH) \
30379 $(HOST_EXPORTS) \
30380 echo "Bootstrapping the compiler"; \
30381 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
30382 @r=`${PWD_COMMAND}`; export r; \
30383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30384 case "$@" in \
30385 *bootstrap4-lean ) \
30386 msg="Comparing stage3 and stage4 of the compiler"; \
30387 compare=compare3-lean ;; \
30388 *bootstrap4 ) \
30389 msg="Comparing stage3 and stage4 of the compiler"; \
30390 compare=compare3 ;; \
30391 *-lean ) \
30392 msg="Comparing stage2 and stage3 of the compiler"; \
30393 compare=compare-lean ;; \
30394 * ) \
30395 msg="Comparing stage2 and stage3 of the compiler"; \
30396 compare=compare ;; \
30397 esac; \
30398 $(SET_LIB_PATH) \
30399 $(HOST_EXPORTS) \
30400 echo "$$msg"; \
30401 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
30402 @r=`${PWD_COMMAND}`; export r; \
30403 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30404 $(SET_LIB_PATH) \
30405 echo "Building runtime libraries"; \
30406 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30408 profiledbootstrap: all-prebootstrap configure-gcc
30409 @r=`${PWD_COMMAND}`; export r; \
30410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30411 $(SET_LIB_PATH) \
30412 $(HOST_EXPORTS) \
30413 echo "Bootstrapping training compiler"; \
30414 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
30415 @r=`${PWD_COMMAND}`; export r; \
30416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30417 $(SET_LIB_PATH) \
30418 $(HOST_EXPORTS) \
30419 echo "Building feedback based compiler"; \
30420 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
30421 @r=`${PWD_COMMAND}`; export r; \
30422 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30423 $(SET_LIB_PATH) \
30424 echo "Building runtime libraries"; \
30425 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30427 .PHONY: cross
30428 cross: all-build all-gas all-ld
30429 @r=`${PWD_COMMAND}`; export r; \
30430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30431 $(SET_LIB_PATH) \
30432 $(HOST_EXPORTS) \
30433 echo "Building the C and C++ compiler"; \
30434 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
30435 @r=`${PWD_COMMAND}`; export r; \
30436 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30437 $(SET_LIB_PATH) \
30438 echo "Building runtime libraries"; \
30439 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
30440 @endif gcc-no-bootstrap
30442 @if gcc
30443 .PHONY: check-gcc-c++
30444 check-gcc-c++:
30445 @if [ -f ./gcc/Makefile ] ; then \
30446 r=`${PWD_COMMAND}`; export r; \
30447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30448 $(SET_LIB_PATH) \
30449 $(HOST_EXPORTS) \
30450 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
30451 else \
30452 true; \
30455 .PHONY: check-c++
30456 check-c++: check-target-libstdc++-v3 check-gcc-c++
30458 # Install the gcc headers files, but not the fixed include files,
30459 # which Cygnus is not allowed to distribute. This rule is very
30460 # dependent on the workings of the gcc Makefile.in.
30461 .PHONY: gcc-no-fixedincludes
30462 gcc-no-fixedincludes:
30463 @if [ -f ./gcc/Makefile ]; then \
30464 rm -rf gcc/tmp-include; \
30465 mv gcc/include gcc/tmp-include 2>/dev/null; \
30466 mkdir gcc/include; \
30467 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
30468 touch gcc/stmp-fixinc gcc/include/fixed; \
30469 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
30470 r=`${PWD_COMMAND}`; export r; \
30471 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30472 $(SET_LIB_PATH) \
30473 $(HOST_EXPORTS) \
30474 (cd ./gcc && \
30475 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
30476 rm -rf gcc/include; \
30477 mv gcc/tmp-include gcc/include 2>/dev/null; \
30478 else true; fi
30479 @endif gcc
30481 # ---------------------
30482 # GCC bootstrap support
30483 # ---------------------
30485 # We track the current stage (the one in 'gcc') in the stage_current file.
30486 # stage_last instead tracks the stage that was built last. These targets
30487 # are dummy when toplevel bootstrap is not active.
30489 .PHONY: unstage
30490 unstage:
30491 @if gcc-bootstrap
30492 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
30493 @endif gcc-bootstrap
30495 .PHONY: stage
30496 stage:
30497 @if gcc-bootstrap
30498 @$(MAKE) `cat stage_current`-end
30499 @endif gcc-bootstrap
30501 # We name the build directories for the various stages "stage1-gcc",
30502 # "stage2-gcc","stage3-gcc", etc.
30504 # Since the 'compare' process will fail (on debugging information) if any
30505 # directory names are different, we need to link the gcc directory for
30506 # the previous stage to a constant name ('gcc-prev'), and to make the name of
30507 # the build directories constant as well. For the latter, we use naked names
30508 # like 'gcc', because the scripts in that directory assume it. We use
30509 # mv on platforms where symlinks to directories do not work or are not
30510 # reliable.
30512 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
30513 # be kept, so that libraries can find it. Ick!
30515 # It would be best to preinstall gcc into a staging area (and in the
30516 # future, gather there all prebootstrap packages). This would allow
30517 # assemblers and linkers can be bootstrapped as well as the compiler
30518 # (both in a combined tree, or separately). This however requires some
30519 # change to the gcc driver, again in order to avoid comparison failures.
30521 # Bugs: This is crippled when doing parallel make, the `make all-host'
30522 # and `make all-target' phases can be parallelized.
30525 # 'touch' doesn't work right on some platforms.
30526 STAMP = echo timestamp >
30528 # Only build the C compiler for stage1, because that is the only one that
30529 # we can guarantee will build with the native compiler, and also it is the
30530 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
30531 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
30532 # overrideable (for a bootstrap build stage1 also builds gcc.info).
30534 STAGE1_CFLAGS=@stage1_cflags@
30535 STAGE1_LANGUAGES=@stage1_languages@
30537 # We only want to compare .o files, so set this!
30538 objext = .o
30540 # Flags to pass to stage2 and later makes.
30541 POSTSTAGE1_FLAGS_TO_PASS = \
30542 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
30543 STAGE_PREFIX=$$r/stage-gcc/ \
30544 CFLAGS="$(BOOT_CFLAGS)" \
30545 ADAC="\$$(CC)"
30547 # For stage 1:
30548 # * We force-disable intermodule optimizations, even if
30549 # --enable-intermodule was passed, since the installed compiler probably
30550 # can't handle them. Luckily, autoconf always respects
30551 # the last argument when conflicting --enable arguments are passed.
30552 # * Likewise, we force-disable coverage flags, since the installed compiler
30553 # probably has never heard of them.
30554 # * We build only C (and possibly Ada).
30557 .PHONY: stage1-start stage1-end
30559 stage1-start::
30560 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30561 echo stage1 > stage_current ; \
30562 echo stage1 > stage_last
30563 @if bfd
30564 @[ -d stage1-bfd ] || mkdir stage1-bfd; \
30565 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
30566 @endif bfd
30567 @if opcodes
30568 @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
30569 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
30570 @endif opcodes
30571 @if binutils
30572 @[ -d stage1-binutils ] || mkdir stage1-binutils; \
30573 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
30574 @endif binutils
30575 @if gas
30576 @[ -d stage1-gas ] || mkdir stage1-gas; \
30577 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
30578 @endif gas
30579 @if gcc
30580 @[ -d stage1-gcc ] || mkdir stage1-gcc; \
30581 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
30582 @endif gcc
30583 @if intl
30584 @[ -d stage1-intl ] || mkdir stage1-intl; \
30585 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
30586 @endif intl
30587 @if ld
30588 @[ -d stage1-ld ] || mkdir stage1-ld; \
30589 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
30590 @endif ld
30591 @if libcpp
30592 @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
30593 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
30594 @endif libcpp
30595 @if libiberty
30596 @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
30597 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
30598 @endif libiberty
30599 @if zlib
30600 @[ -d stage1-zlib ] || mkdir stage1-zlib; \
30601 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
30602 @endif zlib
30604 stage1-end::
30605 @rm -f stage_current
30606 @if bfd
30607 @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
30608 @endif bfd
30609 @if opcodes
30610 @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
30611 @endif opcodes
30612 @if binutils
30613 @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
30614 @endif binutils
30615 @if gas
30616 @set gas stage1-gas ; @UNDO_LINK_TO_DIR@
30617 @endif gas
30618 @if gcc
30619 @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
30620 @endif gcc
30621 @if intl
30622 @set intl stage1-intl ; @UNDO_LINK_TO_DIR@
30623 @endif intl
30624 @if ld
30625 @set ld stage1-ld ; @UNDO_LINK_TO_DIR@
30626 @endif ld
30627 @if libcpp
30628 @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
30629 @endif libcpp
30630 @if libiberty
30631 @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
30632 @endif libiberty
30633 @if zlib
30634 @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
30635 @endif zlib
30637 # Bubble a bugfix through all the stages up to stage 1. They
30638 # are remade, but not reconfigured. The next stage (if any) will not
30639 # be reconfigured as well.
30640 .PHONY: stage1-bubble
30641 stage1-bubble::
30642 @if test -f stage1-lean ; then \
30643 echo Skipping rebuild of stage1 ; \
30644 else \
30645 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
30648 .PHONY: all-stage1 clean-stage1
30649 all-stage1: \
30650 maybe-all-stage1-bfd \
30651 maybe-all-stage1-opcodes \
30652 maybe-all-stage1-binutils \
30653 maybe-all-stage1-gas \
30654 maybe-all-stage1-gcc \
30655 maybe-all-stage1-intl \
30656 maybe-all-stage1-ld \
30657 maybe-all-stage1-libcpp \
30658 maybe-all-stage1-libiberty \
30659 maybe-all-stage1-zlib
30661 do-clean: clean-stage1
30662 clean-stage1: \
30663 maybe-clean-stage1-bfd \
30664 maybe-clean-stage1-opcodes \
30665 maybe-clean-stage1-binutils \
30666 maybe-clean-stage1-gas \
30667 maybe-clean-stage1-gcc \
30668 maybe-clean-stage1-intl \
30669 maybe-clean-stage1-ld \
30670 maybe-clean-stage1-libcpp \
30671 maybe-clean-stage1-libiberty \
30672 maybe-clean-stage1-zlib
30675 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
30676 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
30677 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
30679 maybe-configure-stage1-bfd:
30680 maybe-all-stage1-bfd:
30681 maybe-clean-stage1-bfd:
30683 @if bfd-bootstrap
30684 maybe-configure-stage1-bfd: configure-stage1-bfd
30685 configure-stage1-bfd:
30686 @$(MAKE) stage1-start
30687 @[ -f bfd/Makefile ] && exit 0 || : ; \
30688 r=`${PWD_COMMAND}`; export r; \
30689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30690 $(HOST_EXPORTS) \
30691 echo Configuring stage 1 in bfd ; \
30692 cd bfd || exit 1; \
30693 case $(srcdir) in \
30694 \.) \
30695 srcdiroption="--srcdir=."; \
30696 libsrcdir=".";; \
30697 /* | [A-Za-z]:[\\/]*) \
30698 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30699 libsrcdir="$$s/bfd";; \
30700 *) \
30701 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30702 libsrcdir="$$s/bfd";; \
30703 esac; \
30704 $(SHELL) $${libsrcdir}/configure \
30705 $(HOST_CONFIGARGS) $${srcdiroption} \
30706 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30708 maybe-all-stage1-bfd: all-stage1-bfd
30709 all-stage1-bfd: configure-stage1-bfd
30710 @$(MAKE) stage1-start
30711 @r=`${PWD_COMMAND}`; export r; \
30712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30713 $(HOST_EXPORTS) \
30714 cd bfd && \
30715 $(MAKE) $(FLAGS_TO_PASS) \
30716 CFLAGS="$(STAGE1_CFLAGS)"
30718 maybe-clean-stage1-bfd: clean-stage1-bfd
30719 clean-stage1-bfd:
30720 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
30721 || exit 0 ; \
30722 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
30723 cd bfd && \
30724 $(MAKE) $(FLAGS_TO_PASS) \
30725 CFLAGS="$(STAGE1_CFLAGS)" clean
30726 @endif bfd-bootstrap
30729 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
30730 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
30731 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
30733 maybe-configure-stage1-opcodes:
30734 maybe-all-stage1-opcodes:
30735 maybe-clean-stage1-opcodes:
30737 @if opcodes-bootstrap
30738 maybe-configure-stage1-opcodes: configure-stage1-opcodes
30739 configure-stage1-opcodes:
30740 @$(MAKE) stage1-start
30741 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30742 r=`${PWD_COMMAND}`; export r; \
30743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30744 $(HOST_EXPORTS) \
30745 echo Configuring stage 1 in opcodes ; \
30746 cd opcodes || exit 1; \
30747 case $(srcdir) in \
30748 \.) \
30749 srcdiroption="--srcdir=."; \
30750 libsrcdir=".";; \
30751 /* | [A-Za-z]:[\\/]*) \
30752 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30753 libsrcdir="$$s/opcodes";; \
30754 *) \
30755 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30756 libsrcdir="$$s/opcodes";; \
30757 esac; \
30758 $(SHELL) $${libsrcdir}/configure \
30759 $(HOST_CONFIGARGS) $${srcdiroption} \
30760 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30762 maybe-all-stage1-opcodes: all-stage1-opcodes
30763 all-stage1-opcodes: configure-stage1-opcodes
30764 @$(MAKE) stage1-start
30765 @r=`${PWD_COMMAND}`; export r; \
30766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30767 $(HOST_EXPORTS) \
30768 cd opcodes && \
30769 $(MAKE) $(FLAGS_TO_PASS) \
30770 CFLAGS="$(STAGE1_CFLAGS)"
30772 maybe-clean-stage1-opcodes: clean-stage1-opcodes
30773 clean-stage1-opcodes:
30774 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
30775 || exit 0 ; \
30776 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
30777 cd opcodes && \
30778 $(MAKE) $(FLAGS_TO_PASS) \
30779 CFLAGS="$(STAGE1_CFLAGS)" clean
30780 @endif opcodes-bootstrap
30783 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
30784 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
30785 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
30787 maybe-configure-stage1-binutils:
30788 maybe-all-stage1-binutils:
30789 maybe-clean-stage1-binutils:
30791 @if binutils-bootstrap
30792 maybe-configure-stage1-binutils: configure-stage1-binutils
30793 configure-stage1-binutils:
30794 @$(MAKE) stage1-start
30795 @[ -f binutils/Makefile ] && exit 0 || : ; \
30796 r=`${PWD_COMMAND}`; export r; \
30797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30798 $(HOST_EXPORTS) \
30799 echo Configuring stage 1 in binutils ; \
30800 cd binutils || exit 1; \
30801 case $(srcdir) in \
30802 \.) \
30803 srcdiroption="--srcdir=."; \
30804 libsrcdir=".";; \
30805 /* | [A-Za-z]:[\\/]*) \
30806 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30807 libsrcdir="$$s/binutils";; \
30808 *) \
30809 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30810 libsrcdir="$$s/binutils";; \
30811 esac; \
30812 $(SHELL) $${libsrcdir}/configure \
30813 $(HOST_CONFIGARGS) $${srcdiroption} \
30814 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30816 maybe-all-stage1-binutils: all-stage1-binutils
30817 all-stage1-binutils: configure-stage1-binutils
30818 @$(MAKE) stage1-start
30819 @r=`${PWD_COMMAND}`; export r; \
30820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30821 $(HOST_EXPORTS) \
30822 cd binutils && \
30823 $(MAKE) $(FLAGS_TO_PASS) \
30824 CFLAGS="$(STAGE1_CFLAGS)"
30826 maybe-clean-stage1-binutils: clean-stage1-binutils
30827 clean-stage1-binutils:
30828 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
30829 || exit 0 ; \
30830 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
30831 cd binutils && \
30832 $(MAKE) $(FLAGS_TO_PASS) \
30833 CFLAGS="$(STAGE1_CFLAGS)" clean
30834 @endif binutils-bootstrap
30837 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
30838 .PHONY: all-stage1-gas maybe-all-stage1-gas
30839 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
30841 maybe-configure-stage1-gas:
30842 maybe-all-stage1-gas:
30843 maybe-clean-stage1-gas:
30845 @if gas-bootstrap
30846 maybe-configure-stage1-gas: configure-stage1-gas
30847 configure-stage1-gas:
30848 @$(MAKE) stage1-start
30849 @[ -f gas/Makefile ] && exit 0 || : ; \
30850 r=`${PWD_COMMAND}`; export r; \
30851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30852 $(HOST_EXPORTS) \
30853 echo Configuring stage 1 in gas ; \
30854 cd gas || exit 1; \
30855 case $(srcdir) in \
30856 \.) \
30857 srcdiroption="--srcdir=."; \
30858 libsrcdir=".";; \
30859 /* | [A-Za-z]:[\\/]*) \
30860 srcdiroption="--srcdir=$(srcdir)/gas"; \
30861 libsrcdir="$$s/gas";; \
30862 *) \
30863 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30864 libsrcdir="$$s/gas";; \
30865 esac; \
30866 $(SHELL) $${libsrcdir}/configure \
30867 $(HOST_CONFIGARGS) $${srcdiroption} \
30868 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30870 maybe-all-stage1-gas: all-stage1-gas
30871 all-stage1-gas: configure-stage1-gas
30872 @$(MAKE) stage1-start
30873 @r=`${PWD_COMMAND}`; export r; \
30874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30875 $(HOST_EXPORTS) \
30876 cd gas && \
30877 $(MAKE) $(FLAGS_TO_PASS) \
30878 CFLAGS="$(STAGE1_CFLAGS)"
30880 maybe-clean-stage1-gas: clean-stage1-gas
30881 clean-stage1-gas:
30882 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
30883 || exit 0 ; \
30884 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
30885 cd gas && \
30886 $(MAKE) $(FLAGS_TO_PASS) \
30887 CFLAGS="$(STAGE1_CFLAGS)" clean
30888 @endif gas-bootstrap
30891 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
30892 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
30893 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
30895 maybe-configure-stage1-gcc:
30896 maybe-all-stage1-gcc:
30897 maybe-clean-stage1-gcc:
30899 @if gcc-bootstrap
30900 maybe-configure-stage1-gcc: configure-stage1-gcc
30901 configure-stage1-gcc:
30902 @$(MAKE) stage1-start
30903 @[ -f gcc/Makefile ] && exit 0 || : ; \
30904 r=`${PWD_COMMAND}`; export r; \
30905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30906 $(HOST_EXPORTS) \
30907 echo Configuring stage 1 in gcc ; \
30908 cd gcc || exit 1; \
30909 case $(srcdir) in \
30910 \.) \
30911 srcdiroption="--srcdir=."; \
30912 libsrcdir=".";; \
30913 /* | [A-Za-z]:[\\/]*) \
30914 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30915 libsrcdir="$$s/gcc";; \
30916 *) \
30917 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30918 libsrcdir="$$s/gcc";; \
30919 esac; \
30920 $(SHELL) $${libsrcdir}/configure \
30921 $(HOST_CONFIGARGS) $${srcdiroption} \
30922 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30924 maybe-all-stage1-gcc: all-stage1-gcc
30925 all-stage1-gcc: configure-stage1-gcc
30926 @$(MAKE) stage1-start
30927 @r=`${PWD_COMMAND}`; export r; \
30928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30929 $(HOST_EXPORTS) \
30930 cd gcc && \
30931 $(MAKE) $(FLAGS_TO_PASS) \
30932 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
30934 maybe-clean-stage1-gcc: clean-stage1-gcc
30935 clean-stage1-gcc:
30936 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
30937 || exit 0 ; \
30938 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
30939 cd gcc && \
30940 $(MAKE) $(FLAGS_TO_PASS) \
30941 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
30942 @endif gcc-bootstrap
30945 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
30946 .PHONY: all-stage1-intl maybe-all-stage1-intl
30947 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
30949 maybe-configure-stage1-intl:
30950 maybe-all-stage1-intl:
30951 maybe-clean-stage1-intl:
30953 @if intl-bootstrap
30954 maybe-configure-stage1-intl: configure-stage1-intl
30955 configure-stage1-intl:
30956 @$(MAKE) stage1-start
30957 @[ -f intl/Makefile ] && exit 0 || : ; \
30958 r=`${PWD_COMMAND}`; export r; \
30959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30960 $(HOST_EXPORTS) \
30961 echo Configuring stage 1 in intl ; \
30962 cd intl || exit 1; \
30963 case $(srcdir) in \
30964 \.) \
30965 srcdiroption="--srcdir=."; \
30966 libsrcdir=".";; \
30967 /* | [A-Za-z]:[\\/]*) \
30968 srcdiroption="--srcdir=$(srcdir)/intl"; \
30969 libsrcdir="$$s/intl";; \
30970 *) \
30971 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30972 libsrcdir="$$s/intl";; \
30973 esac; \
30974 $(SHELL) $${libsrcdir}/configure \
30975 $(HOST_CONFIGARGS) $${srcdiroption} \
30976 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30978 maybe-all-stage1-intl: all-stage1-intl
30979 all-stage1-intl: configure-stage1-intl
30980 @$(MAKE) stage1-start
30981 @r=`${PWD_COMMAND}`; export r; \
30982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30983 $(HOST_EXPORTS) \
30984 cd intl && \
30985 $(MAKE) $(FLAGS_TO_PASS) \
30986 CFLAGS="$(STAGE1_CFLAGS)"
30988 maybe-clean-stage1-intl: clean-stage1-intl
30989 clean-stage1-intl:
30990 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
30991 || exit 0 ; \
30992 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
30993 cd intl && \
30994 $(MAKE) $(FLAGS_TO_PASS) \
30995 CFLAGS="$(STAGE1_CFLAGS)" clean
30996 @endif intl-bootstrap
30999 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
31000 .PHONY: all-stage1-ld maybe-all-stage1-ld
31001 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
31003 maybe-configure-stage1-ld:
31004 maybe-all-stage1-ld:
31005 maybe-clean-stage1-ld:
31007 @if ld-bootstrap
31008 maybe-configure-stage1-ld: configure-stage1-ld
31009 configure-stage1-ld:
31010 @$(MAKE) stage1-start
31011 @[ -f ld/Makefile ] && exit 0 || : ; \
31012 r=`${PWD_COMMAND}`; export r; \
31013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31014 $(HOST_EXPORTS) \
31015 echo Configuring stage 1 in ld ; \
31016 cd ld || exit 1; \
31017 case $(srcdir) in \
31018 \.) \
31019 srcdiroption="--srcdir=."; \
31020 libsrcdir=".";; \
31021 /* | [A-Za-z]:[\\/]*) \
31022 srcdiroption="--srcdir=$(srcdir)/ld"; \
31023 libsrcdir="$$s/ld";; \
31024 *) \
31025 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31026 libsrcdir="$$s/ld";; \
31027 esac; \
31028 $(SHELL) $${libsrcdir}/configure \
31029 $(HOST_CONFIGARGS) $${srcdiroption} \
31030 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31032 maybe-all-stage1-ld: all-stage1-ld
31033 all-stage1-ld: configure-stage1-ld
31034 @$(MAKE) stage1-start
31035 @r=`${PWD_COMMAND}`; export r; \
31036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31037 $(HOST_EXPORTS) \
31038 cd ld && \
31039 $(MAKE) $(FLAGS_TO_PASS) \
31040 CFLAGS="$(STAGE1_CFLAGS)"
31042 maybe-clean-stage1-ld: clean-stage1-ld
31043 clean-stage1-ld:
31044 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
31045 || exit 0 ; \
31046 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
31047 cd ld && \
31048 $(MAKE) $(FLAGS_TO_PASS) \
31049 CFLAGS="$(STAGE1_CFLAGS)" clean
31050 @endif ld-bootstrap
31053 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
31054 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
31055 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
31057 maybe-configure-stage1-libcpp:
31058 maybe-all-stage1-libcpp:
31059 maybe-clean-stage1-libcpp:
31061 @if libcpp-bootstrap
31062 maybe-configure-stage1-libcpp: configure-stage1-libcpp
31063 configure-stage1-libcpp:
31064 @$(MAKE) stage1-start
31065 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31066 r=`${PWD_COMMAND}`; export r; \
31067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31068 $(HOST_EXPORTS) \
31069 echo Configuring stage 1 in libcpp ; \
31070 cd libcpp || exit 1; \
31071 case $(srcdir) in \
31072 \.) \
31073 srcdiroption="--srcdir=."; \
31074 libsrcdir=".";; \
31075 /* | [A-Za-z]:[\\/]*) \
31076 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31077 libsrcdir="$$s/libcpp";; \
31078 *) \
31079 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31080 libsrcdir="$$s/libcpp";; \
31081 esac; \
31082 $(SHELL) $${libsrcdir}/configure \
31083 $(HOST_CONFIGARGS) $${srcdiroption} \
31084 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31086 maybe-all-stage1-libcpp: all-stage1-libcpp
31087 all-stage1-libcpp: configure-stage1-libcpp
31088 @$(MAKE) stage1-start
31089 @r=`${PWD_COMMAND}`; export r; \
31090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31091 $(HOST_EXPORTS) \
31092 cd libcpp && \
31093 $(MAKE) $(FLAGS_TO_PASS) \
31094 CFLAGS="$(STAGE1_CFLAGS)"
31096 maybe-clean-stage1-libcpp: clean-stage1-libcpp
31097 clean-stage1-libcpp:
31098 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
31099 || exit 0 ; \
31100 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
31101 cd libcpp && \
31102 $(MAKE) $(FLAGS_TO_PASS) \
31103 CFLAGS="$(STAGE1_CFLAGS)" clean
31104 @endif libcpp-bootstrap
31107 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
31108 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
31109 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
31111 maybe-configure-stage1-libiberty:
31112 maybe-all-stage1-libiberty:
31113 maybe-clean-stage1-libiberty:
31115 @if libiberty-bootstrap
31116 maybe-configure-stage1-libiberty: configure-stage1-libiberty
31117 configure-stage1-libiberty:
31118 @$(MAKE) stage1-start
31119 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31120 r=`${PWD_COMMAND}`; export r; \
31121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31122 $(HOST_EXPORTS) \
31123 echo Configuring stage 1 in libiberty ; \
31124 cd libiberty || exit 1; \
31125 case $(srcdir) in \
31126 \.) \
31127 srcdiroption="--srcdir=."; \
31128 libsrcdir=".";; \
31129 /* | [A-Za-z]:[\\/]*) \
31130 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31131 libsrcdir="$$s/libiberty";; \
31132 *) \
31133 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31134 libsrcdir="$$s/libiberty";; \
31135 esac; \
31136 $(SHELL) $${libsrcdir}/configure \
31137 $(HOST_CONFIGARGS) $${srcdiroption} \
31138 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31140 maybe-all-stage1-libiberty: all-stage1-libiberty
31141 all-stage1-libiberty: configure-stage1-libiberty
31142 @$(MAKE) stage1-start
31143 @r=`${PWD_COMMAND}`; export r; \
31144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31145 $(HOST_EXPORTS) \
31146 cd libiberty && \
31147 $(MAKE) $(FLAGS_TO_PASS) \
31148 CFLAGS="$(STAGE1_CFLAGS)"
31150 maybe-clean-stage1-libiberty: clean-stage1-libiberty
31151 clean-stage1-libiberty:
31152 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
31153 || exit 0 ; \
31154 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
31155 cd libiberty && \
31156 $(MAKE) $(FLAGS_TO_PASS) \
31157 CFLAGS="$(STAGE1_CFLAGS)" clean
31158 @endif libiberty-bootstrap
31161 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31162 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
31163 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
31165 maybe-configure-stage1-zlib:
31166 maybe-all-stage1-zlib:
31167 maybe-clean-stage1-zlib:
31169 @if zlib-bootstrap
31170 maybe-configure-stage1-zlib: configure-stage1-zlib
31171 configure-stage1-zlib:
31172 @$(MAKE) stage1-start
31173 @[ -f zlib/Makefile ] && exit 0 || : ; \
31174 r=`${PWD_COMMAND}`; export r; \
31175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31176 $(HOST_EXPORTS) \
31177 echo Configuring stage 1 in zlib ; \
31178 cd zlib || exit 1; \
31179 case $(srcdir) in \
31180 \.) \
31181 srcdiroption="--srcdir=."; \
31182 libsrcdir=".";; \
31183 /* | [A-Za-z]:[\\/]*) \
31184 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31185 libsrcdir="$$s/zlib";; \
31186 *) \
31187 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31188 libsrcdir="$$s/zlib";; \
31189 esac; \
31190 $(SHELL) $${libsrcdir}/configure \
31191 $(HOST_CONFIGARGS) $${srcdiroption} \
31192 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31194 maybe-all-stage1-zlib: all-stage1-zlib
31195 all-stage1-zlib: configure-stage1-zlib
31196 @$(MAKE) stage1-start
31197 @r=`${PWD_COMMAND}`; export r; \
31198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31199 $(HOST_EXPORTS) \
31200 cd zlib && \
31201 $(MAKE) $(FLAGS_TO_PASS) \
31202 CFLAGS="$(STAGE1_CFLAGS)"
31204 maybe-clean-stage1-zlib: clean-stage1-zlib
31205 clean-stage1-zlib:
31206 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
31207 || exit 0 ; \
31208 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
31209 cd zlib && \
31210 $(MAKE) $(FLAGS_TO_PASS) \
31211 CFLAGS="$(STAGE1_CFLAGS)" clean
31212 @endif zlib-bootstrap
31216 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31217 # only possibility, but now it conflicts with no-bootstrap rules
31218 @if gcc-bootstrap
31223 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31225 .PHONY: distclean-stage1
31226 distclean-stage1::
31227 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31228 rm -rf stage1-*
31231 @endif gcc-bootstrap
31234 .PHONY: stage2-start stage2-end
31236 stage2-start::
31237 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31238 echo stage2 > stage_current ; \
31239 echo stage2 > stage_last
31240 @if bfd
31241 @[ -d stage2-bfd ] || mkdir stage2-bfd; \
31242 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31243 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31244 @endif bfd
31245 @if opcodes
31246 @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
31247 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31248 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31249 @endif opcodes
31250 @if binutils
31251 @[ -d stage2-binutils ] || mkdir stage2-binutils; \
31252 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31253 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31254 @endif binutils
31255 @if gas
31256 @[ -d stage2-gas ] || mkdir stage2-gas; \
31257 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31258 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31259 @endif gas
31260 @if gcc
31261 @[ -d stage2-gcc ] || mkdir stage2-gcc; \
31262 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31263 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31264 @endif gcc
31265 @if intl
31266 @[ -d stage2-intl ] || mkdir stage2-intl; \
31267 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31268 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31269 @endif intl
31270 @if ld
31271 @[ -d stage2-ld ] || mkdir stage2-ld; \
31272 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31273 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31274 @endif ld
31275 @if libcpp
31276 @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
31277 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31278 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31279 @endif libcpp
31280 @if libiberty
31281 @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
31282 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31283 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31284 @endif libiberty
31285 @if zlib
31286 @[ -d stage2-zlib ] || mkdir stage2-zlib; \
31287 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31288 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31289 @endif zlib
31291 stage2-end::
31292 @rm -f stage_current
31293 @if bfd
31294 @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
31295 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31296 @endif bfd
31297 @if opcodes
31298 @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31299 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31300 @endif opcodes
31301 @if binutils
31302 @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
31303 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31304 @endif binutils
31305 @if gas
31306 @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
31307 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31308 @endif gas
31309 @if gcc
31310 @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
31311 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31312 @endif gcc
31313 @if intl
31314 @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
31315 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31316 @endif intl
31317 @if ld
31318 @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
31319 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31320 @endif ld
31321 @if libcpp
31322 @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31323 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31324 @endif libcpp
31325 @if libiberty
31326 @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31327 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31328 @endif libiberty
31329 @if zlib
31330 @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
31331 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31332 @endif zlib
31334 # Bubble a bugfix through all the stages up to stage 2. They
31335 # are remade, but not reconfigured. The next stage (if any) will not
31336 # be reconfigured as well.
31337 .PHONY: stage2-bubble
31338 stage2-bubble:: stage1-bubble
31339 @if test -f stage2-lean || test -f stage1-lean ; then \
31340 echo Skipping rebuild of stage2 ; \
31341 else \
31342 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
31345 .PHONY: all-stage2 clean-stage2
31346 all-stage2: \
31347 maybe-all-stage2-bfd \
31348 maybe-all-stage2-opcodes \
31349 maybe-all-stage2-binutils \
31350 maybe-all-stage2-gas \
31351 maybe-all-stage2-gcc \
31352 maybe-all-stage2-intl \
31353 maybe-all-stage2-ld \
31354 maybe-all-stage2-libcpp \
31355 maybe-all-stage2-libiberty \
31356 maybe-all-stage2-zlib
31358 do-clean: clean-stage2
31359 clean-stage2: \
31360 maybe-clean-stage2-bfd \
31361 maybe-clean-stage2-opcodes \
31362 maybe-clean-stage2-binutils \
31363 maybe-clean-stage2-gas \
31364 maybe-clean-stage2-gcc \
31365 maybe-clean-stage2-intl \
31366 maybe-clean-stage2-ld \
31367 maybe-clean-stage2-libcpp \
31368 maybe-clean-stage2-libiberty \
31369 maybe-clean-stage2-zlib
31372 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
31373 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
31374 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
31376 maybe-configure-stage2-bfd:
31377 maybe-all-stage2-bfd:
31378 maybe-clean-stage2-bfd:
31380 @if bfd-bootstrap
31381 maybe-configure-stage2-bfd: configure-stage2-bfd
31382 configure-stage2-bfd:
31383 @$(MAKE) stage2-start
31384 @[ -f bfd/Makefile ] && exit 0 || : ; \
31385 r=`${PWD_COMMAND}`; export r; \
31386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31387 $(STAGE_HOST_EXPORTS) \
31388 echo Configuring stage 2 in bfd ; \
31389 cd bfd || exit 1; \
31390 case $(srcdir) in \
31391 \.) \
31392 srcdiroption="--srcdir=."; \
31393 libsrcdir=".";; \
31394 /* | [A-Za-z]:[\\/]*) \
31395 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31396 libsrcdir="$$s/bfd";; \
31397 *) \
31398 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31399 libsrcdir="$$s/bfd";; \
31400 esac; \
31401 $(SHELL) $${libsrcdir}/configure \
31402 $(HOST_CONFIGARGS) $${srcdiroption} \
31403 @stage2_werror_flag@
31405 maybe-all-stage2-bfd: all-stage2-bfd
31406 all-stage2-bfd: configure-stage2-bfd
31407 @$(MAKE) stage2-start
31408 @r=`${PWD_COMMAND}`; export r; \
31409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31410 $(STAGE_HOST_EXPORTS) \
31411 cd bfd && \
31412 $(MAKE) $(FLAGS_TO_PASS) \
31413 $(POSTSTAGE1_FLAGS_TO_PASS) \
31416 maybe-clean-stage2-bfd: clean-stage2-bfd
31417 clean-stage2-bfd:
31418 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
31419 || exit 0 ; \
31420 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
31421 cd bfd && \
31422 $(MAKE) $(FLAGS_TO_PASS) \
31423 $(POSTSTAGE1_FLAGS_TO_PASS) \
31424 clean
31425 @endif bfd-bootstrap
31428 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
31429 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
31430 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
31432 maybe-configure-stage2-opcodes:
31433 maybe-all-stage2-opcodes:
31434 maybe-clean-stage2-opcodes:
31436 @if opcodes-bootstrap
31437 maybe-configure-stage2-opcodes: configure-stage2-opcodes
31438 configure-stage2-opcodes:
31439 @$(MAKE) stage2-start
31440 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31441 r=`${PWD_COMMAND}`; export r; \
31442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31443 $(STAGE_HOST_EXPORTS) \
31444 echo Configuring stage 2 in opcodes ; \
31445 cd opcodes || exit 1; \
31446 case $(srcdir) in \
31447 \.) \
31448 srcdiroption="--srcdir=."; \
31449 libsrcdir=".";; \
31450 /* | [A-Za-z]:[\\/]*) \
31451 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31452 libsrcdir="$$s/opcodes";; \
31453 *) \
31454 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31455 libsrcdir="$$s/opcodes";; \
31456 esac; \
31457 $(SHELL) $${libsrcdir}/configure \
31458 $(HOST_CONFIGARGS) $${srcdiroption} \
31459 @stage2_werror_flag@
31461 maybe-all-stage2-opcodes: all-stage2-opcodes
31462 all-stage2-opcodes: configure-stage2-opcodes
31463 @$(MAKE) stage2-start
31464 @r=`${PWD_COMMAND}`; export r; \
31465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31466 $(STAGE_HOST_EXPORTS) \
31467 cd opcodes && \
31468 $(MAKE) $(FLAGS_TO_PASS) \
31469 $(POSTSTAGE1_FLAGS_TO_PASS) \
31472 maybe-clean-stage2-opcodes: clean-stage2-opcodes
31473 clean-stage2-opcodes:
31474 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
31475 || exit 0 ; \
31476 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
31477 cd opcodes && \
31478 $(MAKE) $(FLAGS_TO_PASS) \
31479 $(POSTSTAGE1_FLAGS_TO_PASS) \
31480 clean
31481 @endif opcodes-bootstrap
31484 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
31485 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
31486 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
31488 maybe-configure-stage2-binutils:
31489 maybe-all-stage2-binutils:
31490 maybe-clean-stage2-binutils:
31492 @if binutils-bootstrap
31493 maybe-configure-stage2-binutils: configure-stage2-binutils
31494 configure-stage2-binutils:
31495 @$(MAKE) stage2-start
31496 @[ -f binutils/Makefile ] && exit 0 || : ; \
31497 r=`${PWD_COMMAND}`; export r; \
31498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31499 $(STAGE_HOST_EXPORTS) \
31500 echo Configuring stage 2 in binutils ; \
31501 cd binutils || exit 1; \
31502 case $(srcdir) in \
31503 \.) \
31504 srcdiroption="--srcdir=."; \
31505 libsrcdir=".";; \
31506 /* | [A-Za-z]:[\\/]*) \
31507 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31508 libsrcdir="$$s/binutils";; \
31509 *) \
31510 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31511 libsrcdir="$$s/binutils";; \
31512 esac; \
31513 $(SHELL) $${libsrcdir}/configure \
31514 $(HOST_CONFIGARGS) $${srcdiroption} \
31515 @stage2_werror_flag@
31517 maybe-all-stage2-binutils: all-stage2-binutils
31518 all-stage2-binutils: configure-stage2-binutils
31519 @$(MAKE) stage2-start
31520 @r=`${PWD_COMMAND}`; export r; \
31521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31522 $(STAGE_HOST_EXPORTS) \
31523 cd binutils && \
31524 $(MAKE) $(FLAGS_TO_PASS) \
31525 $(POSTSTAGE1_FLAGS_TO_PASS) \
31528 maybe-clean-stage2-binutils: clean-stage2-binutils
31529 clean-stage2-binutils:
31530 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
31531 || exit 0 ; \
31532 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
31533 cd binutils && \
31534 $(MAKE) $(FLAGS_TO_PASS) \
31535 $(POSTSTAGE1_FLAGS_TO_PASS) \
31536 clean
31537 @endif binutils-bootstrap
31540 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
31541 .PHONY: all-stage2-gas maybe-all-stage2-gas
31542 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
31544 maybe-configure-stage2-gas:
31545 maybe-all-stage2-gas:
31546 maybe-clean-stage2-gas:
31548 @if gas-bootstrap
31549 maybe-configure-stage2-gas: configure-stage2-gas
31550 configure-stage2-gas:
31551 @$(MAKE) stage2-start
31552 @[ -f gas/Makefile ] && exit 0 || : ; \
31553 r=`${PWD_COMMAND}`; export r; \
31554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31555 $(STAGE_HOST_EXPORTS) \
31556 echo Configuring stage 2 in gas ; \
31557 cd gas || exit 1; \
31558 case $(srcdir) in \
31559 \.) \
31560 srcdiroption="--srcdir=."; \
31561 libsrcdir=".";; \
31562 /* | [A-Za-z]:[\\/]*) \
31563 srcdiroption="--srcdir=$(srcdir)/gas"; \
31564 libsrcdir="$$s/gas";; \
31565 *) \
31566 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31567 libsrcdir="$$s/gas";; \
31568 esac; \
31569 $(SHELL) $${libsrcdir}/configure \
31570 $(HOST_CONFIGARGS) $${srcdiroption} \
31571 @stage2_werror_flag@
31573 maybe-all-stage2-gas: all-stage2-gas
31574 all-stage2-gas: configure-stage2-gas
31575 @$(MAKE) stage2-start
31576 @r=`${PWD_COMMAND}`; export r; \
31577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31578 $(STAGE_HOST_EXPORTS) \
31579 cd gas && \
31580 $(MAKE) $(FLAGS_TO_PASS) \
31581 $(POSTSTAGE1_FLAGS_TO_PASS) \
31584 maybe-clean-stage2-gas: clean-stage2-gas
31585 clean-stage2-gas:
31586 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
31587 || exit 0 ; \
31588 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
31589 cd gas && \
31590 $(MAKE) $(FLAGS_TO_PASS) \
31591 $(POSTSTAGE1_FLAGS_TO_PASS) \
31592 clean
31593 @endif gas-bootstrap
31596 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
31597 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
31598 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
31600 maybe-configure-stage2-gcc:
31601 maybe-all-stage2-gcc:
31602 maybe-clean-stage2-gcc:
31604 @if gcc-bootstrap
31605 maybe-configure-stage2-gcc: configure-stage2-gcc
31606 configure-stage2-gcc:
31607 @$(MAKE) stage2-start
31608 @[ -f gcc/Makefile ] && exit 0 || : ; \
31609 r=`${PWD_COMMAND}`; export r; \
31610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31611 $(STAGE_HOST_EXPORTS) \
31612 echo Configuring stage 2 in gcc ; \
31613 cd gcc || exit 1; \
31614 case $(srcdir) in \
31615 \.) \
31616 srcdiroption="--srcdir=."; \
31617 libsrcdir=".";; \
31618 /* | [A-Za-z]:[\\/]*) \
31619 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31620 libsrcdir="$$s/gcc";; \
31621 *) \
31622 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31623 libsrcdir="$$s/gcc";; \
31624 esac; \
31625 $(SHELL) $${libsrcdir}/configure \
31626 $(HOST_CONFIGARGS) $${srcdiroption} \
31627 @stage2_werror_flag@
31629 maybe-all-stage2-gcc: all-stage2-gcc
31630 all-stage2-gcc: configure-stage2-gcc
31631 @$(MAKE) stage2-start
31632 @r=`${PWD_COMMAND}`; export r; \
31633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31634 $(STAGE_HOST_EXPORTS) \
31635 cd gcc && \
31636 $(MAKE) $(FLAGS_TO_PASS) \
31637 $(POSTSTAGE1_FLAGS_TO_PASS) \
31638 $(EXTRA_GCC_FLAGS)
31640 maybe-clean-stage2-gcc: clean-stage2-gcc
31641 clean-stage2-gcc:
31642 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
31643 || exit 0 ; \
31644 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
31645 cd gcc && \
31646 $(MAKE) $(FLAGS_TO_PASS) \
31647 $(POSTSTAGE1_FLAGS_TO_PASS) \
31648 $(EXTRA_GCC_FLAGS) clean
31649 @endif gcc-bootstrap
31652 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
31653 .PHONY: all-stage2-intl maybe-all-stage2-intl
31654 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
31656 maybe-configure-stage2-intl:
31657 maybe-all-stage2-intl:
31658 maybe-clean-stage2-intl:
31660 @if intl-bootstrap
31661 maybe-configure-stage2-intl: configure-stage2-intl
31662 configure-stage2-intl:
31663 @$(MAKE) stage2-start
31664 @[ -f intl/Makefile ] && exit 0 || : ; \
31665 r=`${PWD_COMMAND}`; export r; \
31666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31667 $(STAGE_HOST_EXPORTS) \
31668 echo Configuring stage 2 in intl ; \
31669 cd intl || exit 1; \
31670 case $(srcdir) in \
31671 \.) \
31672 srcdiroption="--srcdir=."; \
31673 libsrcdir=".";; \
31674 /* | [A-Za-z]:[\\/]*) \
31675 srcdiroption="--srcdir=$(srcdir)/intl"; \
31676 libsrcdir="$$s/intl";; \
31677 *) \
31678 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31679 libsrcdir="$$s/intl";; \
31680 esac; \
31681 $(SHELL) $${libsrcdir}/configure \
31682 $(HOST_CONFIGARGS) $${srcdiroption} \
31683 @stage2_werror_flag@
31685 maybe-all-stage2-intl: all-stage2-intl
31686 all-stage2-intl: configure-stage2-intl
31687 @$(MAKE) stage2-start
31688 @r=`${PWD_COMMAND}`; export r; \
31689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31690 $(STAGE_HOST_EXPORTS) \
31691 cd intl && \
31692 $(MAKE) $(FLAGS_TO_PASS) \
31693 $(POSTSTAGE1_FLAGS_TO_PASS) \
31696 maybe-clean-stage2-intl: clean-stage2-intl
31697 clean-stage2-intl:
31698 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
31699 || exit 0 ; \
31700 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
31701 cd intl && \
31702 $(MAKE) $(FLAGS_TO_PASS) \
31703 $(POSTSTAGE1_FLAGS_TO_PASS) \
31704 clean
31705 @endif intl-bootstrap
31708 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
31709 .PHONY: all-stage2-ld maybe-all-stage2-ld
31710 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
31712 maybe-configure-stage2-ld:
31713 maybe-all-stage2-ld:
31714 maybe-clean-stage2-ld:
31716 @if ld-bootstrap
31717 maybe-configure-stage2-ld: configure-stage2-ld
31718 configure-stage2-ld:
31719 @$(MAKE) stage2-start
31720 @[ -f ld/Makefile ] && exit 0 || : ; \
31721 r=`${PWD_COMMAND}`; export r; \
31722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31723 $(STAGE_HOST_EXPORTS) \
31724 echo Configuring stage 2 in ld ; \
31725 cd ld || exit 1; \
31726 case $(srcdir) in \
31727 \.) \
31728 srcdiroption="--srcdir=."; \
31729 libsrcdir=".";; \
31730 /* | [A-Za-z]:[\\/]*) \
31731 srcdiroption="--srcdir=$(srcdir)/ld"; \
31732 libsrcdir="$$s/ld";; \
31733 *) \
31734 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31735 libsrcdir="$$s/ld";; \
31736 esac; \
31737 $(SHELL) $${libsrcdir}/configure \
31738 $(HOST_CONFIGARGS) $${srcdiroption} \
31739 @stage2_werror_flag@
31741 maybe-all-stage2-ld: all-stage2-ld
31742 all-stage2-ld: configure-stage2-ld
31743 @$(MAKE) stage2-start
31744 @r=`${PWD_COMMAND}`; export r; \
31745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31746 $(STAGE_HOST_EXPORTS) \
31747 cd ld && \
31748 $(MAKE) $(FLAGS_TO_PASS) \
31749 $(POSTSTAGE1_FLAGS_TO_PASS) \
31752 maybe-clean-stage2-ld: clean-stage2-ld
31753 clean-stage2-ld:
31754 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
31755 || exit 0 ; \
31756 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
31757 cd ld && \
31758 $(MAKE) $(FLAGS_TO_PASS) \
31759 $(POSTSTAGE1_FLAGS_TO_PASS) \
31760 clean
31761 @endif ld-bootstrap
31764 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
31765 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
31766 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
31768 maybe-configure-stage2-libcpp:
31769 maybe-all-stage2-libcpp:
31770 maybe-clean-stage2-libcpp:
31772 @if libcpp-bootstrap
31773 maybe-configure-stage2-libcpp: configure-stage2-libcpp
31774 configure-stage2-libcpp:
31775 @$(MAKE) stage2-start
31776 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31777 r=`${PWD_COMMAND}`; export r; \
31778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31779 $(STAGE_HOST_EXPORTS) \
31780 echo Configuring stage 2 in libcpp ; \
31781 cd libcpp || exit 1; \
31782 case $(srcdir) in \
31783 \.) \
31784 srcdiroption="--srcdir=."; \
31785 libsrcdir=".";; \
31786 /* | [A-Za-z]:[\\/]*) \
31787 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31788 libsrcdir="$$s/libcpp";; \
31789 *) \
31790 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31791 libsrcdir="$$s/libcpp";; \
31792 esac; \
31793 $(SHELL) $${libsrcdir}/configure \
31794 $(HOST_CONFIGARGS) $${srcdiroption} \
31795 @stage2_werror_flag@
31797 maybe-all-stage2-libcpp: all-stage2-libcpp
31798 all-stage2-libcpp: configure-stage2-libcpp
31799 @$(MAKE) stage2-start
31800 @r=`${PWD_COMMAND}`; export r; \
31801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31802 $(STAGE_HOST_EXPORTS) \
31803 cd libcpp && \
31804 $(MAKE) $(FLAGS_TO_PASS) \
31805 $(POSTSTAGE1_FLAGS_TO_PASS) \
31808 maybe-clean-stage2-libcpp: clean-stage2-libcpp
31809 clean-stage2-libcpp:
31810 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
31811 || exit 0 ; \
31812 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
31813 cd libcpp && \
31814 $(MAKE) $(FLAGS_TO_PASS) \
31815 $(POSTSTAGE1_FLAGS_TO_PASS) \
31816 clean
31817 @endif libcpp-bootstrap
31820 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
31821 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
31822 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
31824 maybe-configure-stage2-libiberty:
31825 maybe-all-stage2-libiberty:
31826 maybe-clean-stage2-libiberty:
31828 @if libiberty-bootstrap
31829 maybe-configure-stage2-libiberty: configure-stage2-libiberty
31830 configure-stage2-libiberty:
31831 @$(MAKE) stage2-start
31832 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31833 r=`${PWD_COMMAND}`; export r; \
31834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31835 $(STAGE_HOST_EXPORTS) \
31836 echo Configuring stage 2 in libiberty ; \
31837 cd libiberty || exit 1; \
31838 case $(srcdir) in \
31839 \.) \
31840 srcdiroption="--srcdir=."; \
31841 libsrcdir=".";; \
31842 /* | [A-Za-z]:[\\/]*) \
31843 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31844 libsrcdir="$$s/libiberty";; \
31845 *) \
31846 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31847 libsrcdir="$$s/libiberty";; \
31848 esac; \
31849 $(SHELL) $${libsrcdir}/configure \
31850 $(HOST_CONFIGARGS) $${srcdiroption} \
31851 @stage2_werror_flag@
31853 maybe-all-stage2-libiberty: all-stage2-libiberty
31854 all-stage2-libiberty: configure-stage2-libiberty
31855 @$(MAKE) stage2-start
31856 @r=`${PWD_COMMAND}`; export r; \
31857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31858 $(STAGE_HOST_EXPORTS) \
31859 cd libiberty && \
31860 $(MAKE) $(FLAGS_TO_PASS) \
31861 $(POSTSTAGE1_FLAGS_TO_PASS) \
31864 maybe-clean-stage2-libiberty: clean-stage2-libiberty
31865 clean-stage2-libiberty:
31866 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
31867 || exit 0 ; \
31868 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
31869 cd libiberty && \
31870 $(MAKE) $(FLAGS_TO_PASS) \
31871 $(POSTSTAGE1_FLAGS_TO_PASS) \
31872 clean
31873 @endif libiberty-bootstrap
31876 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31877 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
31878 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
31880 maybe-configure-stage2-zlib:
31881 maybe-all-stage2-zlib:
31882 maybe-clean-stage2-zlib:
31884 @if zlib-bootstrap
31885 maybe-configure-stage2-zlib: configure-stage2-zlib
31886 configure-stage2-zlib:
31887 @$(MAKE) stage2-start
31888 @[ -f zlib/Makefile ] && exit 0 || : ; \
31889 r=`${PWD_COMMAND}`; export r; \
31890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31891 $(STAGE_HOST_EXPORTS) \
31892 echo Configuring stage 2 in zlib ; \
31893 cd zlib || exit 1; \
31894 case $(srcdir) in \
31895 \.) \
31896 srcdiroption="--srcdir=."; \
31897 libsrcdir=".";; \
31898 /* | [A-Za-z]:[\\/]*) \
31899 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31900 libsrcdir="$$s/zlib";; \
31901 *) \
31902 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31903 libsrcdir="$$s/zlib";; \
31904 esac; \
31905 $(SHELL) $${libsrcdir}/configure \
31906 $(HOST_CONFIGARGS) $${srcdiroption} \
31907 @stage2_werror_flag@
31909 maybe-all-stage2-zlib: all-stage2-zlib
31910 all-stage2-zlib: configure-stage2-zlib
31911 @$(MAKE) stage2-start
31912 @r=`${PWD_COMMAND}`; export r; \
31913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31914 $(STAGE_HOST_EXPORTS) \
31915 cd zlib && \
31916 $(MAKE) $(FLAGS_TO_PASS) \
31917 $(POSTSTAGE1_FLAGS_TO_PASS) \
31920 maybe-clean-stage2-zlib: clean-stage2-zlib
31921 clean-stage2-zlib:
31922 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
31923 || exit 0 ; \
31924 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
31925 cd zlib && \
31926 $(MAKE) $(FLAGS_TO_PASS) \
31927 $(POSTSTAGE1_FLAGS_TO_PASS) \
31928 clean
31929 @endif zlib-bootstrap
31933 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31934 # only possibility, but now it conflicts with no-bootstrap rules
31935 @if gcc-bootstrap
31939 .PHONY: bootstrap2
31940 bootstrap2: stage2-bubble all
31943 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31944 distclean-stage1:: distclean-stage2
31945 .PHONY: distclean-stage2
31946 distclean-stage2::
31947 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31948 rm -rf stage2-*
31951 @endif gcc-bootstrap
31954 .PHONY: stage3-start stage3-end
31956 stage3-start::
31957 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31958 echo stage3 > stage_current ; \
31959 echo stage3 > stage_last
31960 @if bfd
31961 @[ -d stage3-bfd ] || mkdir stage3-bfd; \
31962 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31963 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31964 @endif bfd
31965 @if opcodes
31966 @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
31967 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31968 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31969 @endif opcodes
31970 @if binutils
31971 @[ -d stage3-binutils ] || mkdir stage3-binutils; \
31972 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31973 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31974 @endif binutils
31975 @if gas
31976 @[ -d stage3-gas ] || mkdir stage3-gas; \
31977 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31978 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
31979 @endif gas
31980 @if gcc
31981 @[ -d stage3-gcc ] || mkdir stage3-gcc; \
31982 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31983 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31984 @endif gcc
31985 @if intl
31986 @[ -d stage3-intl ] || mkdir stage3-intl; \
31987 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31988 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
31989 @endif intl
31990 @if ld
31991 @[ -d stage3-ld ] || mkdir stage3-ld; \
31992 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31993 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
31994 @endif ld
31995 @if libcpp
31996 @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
31997 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31998 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31999 @endif libcpp
32000 @if libiberty
32001 @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
32002 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32003 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32004 @endif libiberty
32005 @if zlib
32006 @[ -d stage3-zlib ] || mkdir stage3-zlib; \
32007 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32008 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32009 @endif zlib
32011 stage3-end::
32012 @rm -f stage_current
32013 @if bfd
32014 @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
32015 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
32016 @endif bfd
32017 @if opcodes
32018 @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32019 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
32020 @endif opcodes
32021 @if binutils
32022 @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
32023 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
32024 @endif binutils
32025 @if gas
32026 @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
32027 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
32028 @endif gas
32029 @if gcc
32030 @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
32031 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
32032 @endif gcc
32033 @if intl
32034 @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
32035 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
32036 @endif intl
32037 @if ld
32038 @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
32039 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
32040 @endif ld
32041 @if libcpp
32042 @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32043 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
32044 @endif libcpp
32045 @if libiberty
32046 @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32047 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
32048 @endif libiberty
32049 @if zlib
32050 @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
32051 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
32052 @endif zlib
32054 # Bubble a bugfix through all the stages up to stage 3. They
32055 # are remade, but not reconfigured. The next stage (if any) will not
32056 # be reconfigured as well.
32057 .PHONY: stage3-bubble
32058 stage3-bubble:: stage2-bubble
32059 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
32060 @if test -f stage3-lean || test -f stage2-lean ; then \
32061 echo Skipping rebuild of stage3 ; \
32062 else \
32063 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
32066 .PHONY: all-stage3 clean-stage3
32067 all-stage3: \
32068 maybe-all-stage3-bfd \
32069 maybe-all-stage3-opcodes \
32070 maybe-all-stage3-binutils \
32071 maybe-all-stage3-gas \
32072 maybe-all-stage3-gcc \
32073 maybe-all-stage3-intl \
32074 maybe-all-stage3-ld \
32075 maybe-all-stage3-libcpp \
32076 maybe-all-stage3-libiberty \
32077 maybe-all-stage3-zlib
32079 do-clean: clean-stage3
32080 clean-stage3: \
32081 maybe-clean-stage3-bfd \
32082 maybe-clean-stage3-opcodes \
32083 maybe-clean-stage3-binutils \
32084 maybe-clean-stage3-gas \
32085 maybe-clean-stage3-gcc \
32086 maybe-clean-stage3-intl \
32087 maybe-clean-stage3-ld \
32088 maybe-clean-stage3-libcpp \
32089 maybe-clean-stage3-libiberty \
32090 maybe-clean-stage3-zlib
32093 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
32094 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
32095 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
32097 maybe-configure-stage3-bfd:
32098 maybe-all-stage3-bfd:
32099 maybe-clean-stage3-bfd:
32101 @if bfd-bootstrap
32102 maybe-configure-stage3-bfd: configure-stage3-bfd
32103 configure-stage3-bfd:
32104 @$(MAKE) stage3-start
32105 @[ -f bfd/Makefile ] && exit 0 || : ; \
32106 r=`${PWD_COMMAND}`; export r; \
32107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32108 $(STAGE_HOST_EXPORTS) \
32109 echo Configuring stage 3 in bfd ; \
32110 cd bfd || exit 1; \
32111 case $(srcdir) in \
32112 \.) \
32113 srcdiroption="--srcdir=."; \
32114 libsrcdir=".";; \
32115 /* | [A-Za-z]:[\\/]*) \
32116 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32117 libsrcdir="$$s/bfd";; \
32118 *) \
32119 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32120 libsrcdir="$$s/bfd";; \
32121 esac; \
32122 $(SHELL) $${libsrcdir}/configure \
32123 $(HOST_CONFIGARGS) $${srcdiroption} \
32124 @stage2_werror_flag@
32126 maybe-all-stage3-bfd: all-stage3-bfd
32127 all-stage3-bfd: configure-stage3-bfd
32128 @$(MAKE) stage3-start
32129 @r=`${PWD_COMMAND}`; export r; \
32130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32131 $(STAGE_HOST_EXPORTS) \
32132 cd bfd && \
32133 $(MAKE) $(FLAGS_TO_PASS) \
32134 $(POSTSTAGE1_FLAGS_TO_PASS) \
32137 maybe-clean-stage3-bfd: clean-stage3-bfd
32138 clean-stage3-bfd:
32139 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
32140 || exit 0 ; \
32141 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
32142 cd bfd && \
32143 $(MAKE) $(FLAGS_TO_PASS) \
32144 $(POSTSTAGE1_FLAGS_TO_PASS) \
32145 clean
32146 @endif bfd-bootstrap
32149 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
32150 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
32151 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
32153 maybe-configure-stage3-opcodes:
32154 maybe-all-stage3-opcodes:
32155 maybe-clean-stage3-opcodes:
32157 @if opcodes-bootstrap
32158 maybe-configure-stage3-opcodes: configure-stage3-opcodes
32159 configure-stage3-opcodes:
32160 @$(MAKE) stage3-start
32161 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32162 r=`${PWD_COMMAND}`; export r; \
32163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32164 $(STAGE_HOST_EXPORTS) \
32165 echo Configuring stage 3 in opcodes ; \
32166 cd opcodes || exit 1; \
32167 case $(srcdir) in \
32168 \.) \
32169 srcdiroption="--srcdir=."; \
32170 libsrcdir=".";; \
32171 /* | [A-Za-z]:[\\/]*) \
32172 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32173 libsrcdir="$$s/opcodes";; \
32174 *) \
32175 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32176 libsrcdir="$$s/opcodes";; \
32177 esac; \
32178 $(SHELL) $${libsrcdir}/configure \
32179 $(HOST_CONFIGARGS) $${srcdiroption} \
32180 @stage2_werror_flag@
32182 maybe-all-stage3-opcodes: all-stage3-opcodes
32183 all-stage3-opcodes: configure-stage3-opcodes
32184 @$(MAKE) stage3-start
32185 @r=`${PWD_COMMAND}`; export r; \
32186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32187 $(STAGE_HOST_EXPORTS) \
32188 cd opcodes && \
32189 $(MAKE) $(FLAGS_TO_PASS) \
32190 $(POSTSTAGE1_FLAGS_TO_PASS) \
32193 maybe-clean-stage3-opcodes: clean-stage3-opcodes
32194 clean-stage3-opcodes:
32195 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
32196 || exit 0 ; \
32197 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
32198 cd opcodes && \
32199 $(MAKE) $(FLAGS_TO_PASS) \
32200 $(POSTSTAGE1_FLAGS_TO_PASS) \
32201 clean
32202 @endif opcodes-bootstrap
32205 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
32206 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
32207 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
32209 maybe-configure-stage3-binutils:
32210 maybe-all-stage3-binutils:
32211 maybe-clean-stage3-binutils:
32213 @if binutils-bootstrap
32214 maybe-configure-stage3-binutils: configure-stage3-binutils
32215 configure-stage3-binutils:
32216 @$(MAKE) stage3-start
32217 @[ -f binutils/Makefile ] && exit 0 || : ; \
32218 r=`${PWD_COMMAND}`; export r; \
32219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32220 $(STAGE_HOST_EXPORTS) \
32221 echo Configuring stage 3 in binutils ; \
32222 cd binutils || exit 1; \
32223 case $(srcdir) in \
32224 \.) \
32225 srcdiroption="--srcdir=."; \
32226 libsrcdir=".";; \
32227 /* | [A-Za-z]:[\\/]*) \
32228 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32229 libsrcdir="$$s/binutils";; \
32230 *) \
32231 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32232 libsrcdir="$$s/binutils";; \
32233 esac; \
32234 $(SHELL) $${libsrcdir}/configure \
32235 $(HOST_CONFIGARGS) $${srcdiroption} \
32236 @stage2_werror_flag@
32238 maybe-all-stage3-binutils: all-stage3-binutils
32239 all-stage3-binutils: configure-stage3-binutils
32240 @$(MAKE) stage3-start
32241 @r=`${PWD_COMMAND}`; export r; \
32242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32243 $(STAGE_HOST_EXPORTS) \
32244 cd binutils && \
32245 $(MAKE) $(FLAGS_TO_PASS) \
32246 $(POSTSTAGE1_FLAGS_TO_PASS) \
32249 maybe-clean-stage3-binutils: clean-stage3-binutils
32250 clean-stage3-binutils:
32251 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
32252 || exit 0 ; \
32253 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
32254 cd binutils && \
32255 $(MAKE) $(FLAGS_TO_PASS) \
32256 $(POSTSTAGE1_FLAGS_TO_PASS) \
32257 clean
32258 @endif binutils-bootstrap
32261 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
32262 .PHONY: all-stage3-gas maybe-all-stage3-gas
32263 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
32265 maybe-configure-stage3-gas:
32266 maybe-all-stage3-gas:
32267 maybe-clean-stage3-gas:
32269 @if gas-bootstrap
32270 maybe-configure-stage3-gas: configure-stage3-gas
32271 configure-stage3-gas:
32272 @$(MAKE) stage3-start
32273 @[ -f gas/Makefile ] && exit 0 || : ; \
32274 r=`${PWD_COMMAND}`; export r; \
32275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32276 $(STAGE_HOST_EXPORTS) \
32277 echo Configuring stage 3 in gas ; \
32278 cd gas || exit 1; \
32279 case $(srcdir) in \
32280 \.) \
32281 srcdiroption="--srcdir=."; \
32282 libsrcdir=".";; \
32283 /* | [A-Za-z]:[\\/]*) \
32284 srcdiroption="--srcdir=$(srcdir)/gas"; \
32285 libsrcdir="$$s/gas";; \
32286 *) \
32287 srcdiroption="--srcdir=../$(srcdir)/gas"; \
32288 libsrcdir="$$s/gas";; \
32289 esac; \
32290 $(SHELL) $${libsrcdir}/configure \
32291 $(HOST_CONFIGARGS) $${srcdiroption} \
32292 @stage2_werror_flag@
32294 maybe-all-stage3-gas: all-stage3-gas
32295 all-stage3-gas: configure-stage3-gas
32296 @$(MAKE) stage3-start
32297 @r=`${PWD_COMMAND}`; export r; \
32298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32299 $(STAGE_HOST_EXPORTS) \
32300 cd gas && \
32301 $(MAKE) $(FLAGS_TO_PASS) \
32302 $(POSTSTAGE1_FLAGS_TO_PASS) \
32305 maybe-clean-stage3-gas: clean-stage3-gas
32306 clean-stage3-gas:
32307 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
32308 || exit 0 ; \
32309 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
32310 cd gas && \
32311 $(MAKE) $(FLAGS_TO_PASS) \
32312 $(POSTSTAGE1_FLAGS_TO_PASS) \
32313 clean
32314 @endif gas-bootstrap
32317 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
32318 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
32319 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
32321 maybe-configure-stage3-gcc:
32322 maybe-all-stage3-gcc:
32323 maybe-clean-stage3-gcc:
32325 @if gcc-bootstrap
32326 maybe-configure-stage3-gcc: configure-stage3-gcc
32327 configure-stage3-gcc:
32328 @$(MAKE) stage3-start
32329 @[ -f gcc/Makefile ] && exit 0 || : ; \
32330 r=`${PWD_COMMAND}`; export r; \
32331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32332 $(STAGE_HOST_EXPORTS) \
32333 echo Configuring stage 3 in gcc ; \
32334 cd gcc || exit 1; \
32335 case $(srcdir) in \
32336 \.) \
32337 srcdiroption="--srcdir=."; \
32338 libsrcdir=".";; \
32339 /* | [A-Za-z]:[\\/]*) \
32340 srcdiroption="--srcdir=$(srcdir)/gcc"; \
32341 libsrcdir="$$s/gcc";; \
32342 *) \
32343 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
32344 libsrcdir="$$s/gcc";; \
32345 esac; \
32346 $(SHELL) $${libsrcdir}/configure \
32347 $(HOST_CONFIGARGS) $${srcdiroption} \
32348 @stage2_werror_flag@
32350 maybe-all-stage3-gcc: all-stage3-gcc
32351 all-stage3-gcc: configure-stage3-gcc
32352 @$(MAKE) stage3-start
32353 @r=`${PWD_COMMAND}`; export r; \
32354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32355 $(STAGE_HOST_EXPORTS) \
32356 cd gcc && \
32357 $(MAKE) $(FLAGS_TO_PASS) \
32358 $(POSTSTAGE1_FLAGS_TO_PASS) \
32359 $(EXTRA_GCC_FLAGS)
32361 maybe-clean-stage3-gcc: clean-stage3-gcc
32362 clean-stage3-gcc:
32363 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
32364 || exit 0 ; \
32365 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
32366 cd gcc && \
32367 $(MAKE) $(FLAGS_TO_PASS) \
32368 $(POSTSTAGE1_FLAGS_TO_PASS) \
32369 $(EXTRA_GCC_FLAGS) clean
32370 @endif gcc-bootstrap
32373 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
32374 .PHONY: all-stage3-intl maybe-all-stage3-intl
32375 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
32377 maybe-configure-stage3-intl:
32378 maybe-all-stage3-intl:
32379 maybe-clean-stage3-intl:
32381 @if intl-bootstrap
32382 maybe-configure-stage3-intl: configure-stage3-intl
32383 configure-stage3-intl:
32384 @$(MAKE) stage3-start
32385 @[ -f intl/Makefile ] && exit 0 || : ; \
32386 r=`${PWD_COMMAND}`; export r; \
32387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32388 $(STAGE_HOST_EXPORTS) \
32389 echo Configuring stage 3 in intl ; \
32390 cd intl || exit 1; \
32391 case $(srcdir) in \
32392 \.) \
32393 srcdiroption="--srcdir=."; \
32394 libsrcdir=".";; \
32395 /* | [A-Za-z]:[\\/]*) \
32396 srcdiroption="--srcdir=$(srcdir)/intl"; \
32397 libsrcdir="$$s/intl";; \
32398 *) \
32399 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32400 libsrcdir="$$s/intl";; \
32401 esac; \
32402 $(SHELL) $${libsrcdir}/configure \
32403 $(HOST_CONFIGARGS) $${srcdiroption} \
32404 @stage2_werror_flag@
32406 maybe-all-stage3-intl: all-stage3-intl
32407 all-stage3-intl: configure-stage3-intl
32408 @$(MAKE) stage3-start
32409 @r=`${PWD_COMMAND}`; export r; \
32410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32411 $(STAGE_HOST_EXPORTS) \
32412 cd intl && \
32413 $(MAKE) $(FLAGS_TO_PASS) \
32414 $(POSTSTAGE1_FLAGS_TO_PASS) \
32417 maybe-clean-stage3-intl: clean-stage3-intl
32418 clean-stage3-intl:
32419 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
32420 || exit 0 ; \
32421 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
32422 cd intl && \
32423 $(MAKE) $(FLAGS_TO_PASS) \
32424 $(POSTSTAGE1_FLAGS_TO_PASS) \
32425 clean
32426 @endif intl-bootstrap
32429 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
32430 .PHONY: all-stage3-ld maybe-all-stage3-ld
32431 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
32433 maybe-configure-stage3-ld:
32434 maybe-all-stage3-ld:
32435 maybe-clean-stage3-ld:
32437 @if ld-bootstrap
32438 maybe-configure-stage3-ld: configure-stage3-ld
32439 configure-stage3-ld:
32440 @$(MAKE) stage3-start
32441 @[ -f ld/Makefile ] && exit 0 || : ; \
32442 r=`${PWD_COMMAND}`; export r; \
32443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32444 $(STAGE_HOST_EXPORTS) \
32445 echo Configuring stage 3 in ld ; \
32446 cd ld || exit 1; \
32447 case $(srcdir) in \
32448 \.) \
32449 srcdiroption="--srcdir=."; \
32450 libsrcdir=".";; \
32451 /* | [A-Za-z]:[\\/]*) \
32452 srcdiroption="--srcdir=$(srcdir)/ld"; \
32453 libsrcdir="$$s/ld";; \
32454 *) \
32455 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32456 libsrcdir="$$s/ld";; \
32457 esac; \
32458 $(SHELL) $${libsrcdir}/configure \
32459 $(HOST_CONFIGARGS) $${srcdiroption} \
32460 @stage2_werror_flag@
32462 maybe-all-stage3-ld: all-stage3-ld
32463 all-stage3-ld: configure-stage3-ld
32464 @$(MAKE) stage3-start
32465 @r=`${PWD_COMMAND}`; export r; \
32466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32467 $(STAGE_HOST_EXPORTS) \
32468 cd ld && \
32469 $(MAKE) $(FLAGS_TO_PASS) \
32470 $(POSTSTAGE1_FLAGS_TO_PASS) \
32473 maybe-clean-stage3-ld: clean-stage3-ld
32474 clean-stage3-ld:
32475 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
32476 || exit 0 ; \
32477 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
32478 cd ld && \
32479 $(MAKE) $(FLAGS_TO_PASS) \
32480 $(POSTSTAGE1_FLAGS_TO_PASS) \
32481 clean
32482 @endif ld-bootstrap
32485 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
32486 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
32487 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
32489 maybe-configure-stage3-libcpp:
32490 maybe-all-stage3-libcpp:
32491 maybe-clean-stage3-libcpp:
32493 @if libcpp-bootstrap
32494 maybe-configure-stage3-libcpp: configure-stage3-libcpp
32495 configure-stage3-libcpp:
32496 @$(MAKE) stage3-start
32497 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32498 r=`${PWD_COMMAND}`; export r; \
32499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32500 $(STAGE_HOST_EXPORTS) \
32501 echo Configuring stage 3 in libcpp ; \
32502 cd libcpp || exit 1; \
32503 case $(srcdir) in \
32504 \.) \
32505 srcdiroption="--srcdir=."; \
32506 libsrcdir=".";; \
32507 /* | [A-Za-z]:[\\/]*) \
32508 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32509 libsrcdir="$$s/libcpp";; \
32510 *) \
32511 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32512 libsrcdir="$$s/libcpp";; \
32513 esac; \
32514 $(SHELL) $${libsrcdir}/configure \
32515 $(HOST_CONFIGARGS) $${srcdiroption} \
32516 @stage2_werror_flag@
32518 maybe-all-stage3-libcpp: all-stage3-libcpp
32519 all-stage3-libcpp: configure-stage3-libcpp
32520 @$(MAKE) stage3-start
32521 @r=`${PWD_COMMAND}`; export r; \
32522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32523 $(STAGE_HOST_EXPORTS) \
32524 cd libcpp && \
32525 $(MAKE) $(FLAGS_TO_PASS) \
32526 $(POSTSTAGE1_FLAGS_TO_PASS) \
32529 maybe-clean-stage3-libcpp: clean-stage3-libcpp
32530 clean-stage3-libcpp:
32531 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
32532 || exit 0 ; \
32533 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
32534 cd libcpp && \
32535 $(MAKE) $(FLAGS_TO_PASS) \
32536 $(POSTSTAGE1_FLAGS_TO_PASS) \
32537 clean
32538 @endif libcpp-bootstrap
32541 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
32542 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
32543 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
32545 maybe-configure-stage3-libiberty:
32546 maybe-all-stage3-libiberty:
32547 maybe-clean-stage3-libiberty:
32549 @if libiberty-bootstrap
32550 maybe-configure-stage3-libiberty: configure-stage3-libiberty
32551 configure-stage3-libiberty:
32552 @$(MAKE) stage3-start
32553 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32554 r=`${PWD_COMMAND}`; export r; \
32555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32556 $(STAGE_HOST_EXPORTS) \
32557 echo Configuring stage 3 in libiberty ; \
32558 cd libiberty || exit 1; \
32559 case $(srcdir) in \
32560 \.) \
32561 srcdiroption="--srcdir=."; \
32562 libsrcdir=".";; \
32563 /* | [A-Za-z]:[\\/]*) \
32564 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32565 libsrcdir="$$s/libiberty";; \
32566 *) \
32567 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32568 libsrcdir="$$s/libiberty";; \
32569 esac; \
32570 $(SHELL) $${libsrcdir}/configure \
32571 $(HOST_CONFIGARGS) $${srcdiroption} \
32572 @stage2_werror_flag@
32574 maybe-all-stage3-libiberty: all-stage3-libiberty
32575 all-stage3-libiberty: configure-stage3-libiberty
32576 @$(MAKE) stage3-start
32577 @r=`${PWD_COMMAND}`; export r; \
32578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32579 $(STAGE_HOST_EXPORTS) \
32580 cd libiberty && \
32581 $(MAKE) $(FLAGS_TO_PASS) \
32582 $(POSTSTAGE1_FLAGS_TO_PASS) \
32585 maybe-clean-stage3-libiberty: clean-stage3-libiberty
32586 clean-stage3-libiberty:
32587 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
32588 || exit 0 ; \
32589 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
32590 cd libiberty && \
32591 $(MAKE) $(FLAGS_TO_PASS) \
32592 $(POSTSTAGE1_FLAGS_TO_PASS) \
32593 clean
32594 @endif libiberty-bootstrap
32597 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32598 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32599 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32601 maybe-configure-stage3-zlib:
32602 maybe-all-stage3-zlib:
32603 maybe-clean-stage3-zlib:
32605 @if zlib-bootstrap
32606 maybe-configure-stage3-zlib: configure-stage3-zlib
32607 configure-stage3-zlib:
32608 @$(MAKE) stage3-start
32609 @[ -f zlib/Makefile ] && exit 0 || : ; \
32610 r=`${PWD_COMMAND}`; export r; \
32611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32612 $(STAGE_HOST_EXPORTS) \
32613 echo Configuring stage 3 in zlib ; \
32614 cd zlib || exit 1; \
32615 case $(srcdir) in \
32616 \.) \
32617 srcdiroption="--srcdir=."; \
32618 libsrcdir=".";; \
32619 /* | [A-Za-z]:[\\/]*) \
32620 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32621 libsrcdir="$$s/zlib";; \
32622 *) \
32623 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32624 libsrcdir="$$s/zlib";; \
32625 esac; \
32626 $(SHELL) $${libsrcdir}/configure \
32627 $(HOST_CONFIGARGS) $${srcdiroption} \
32628 @stage2_werror_flag@
32630 maybe-all-stage3-zlib: all-stage3-zlib
32631 all-stage3-zlib: configure-stage3-zlib
32632 @$(MAKE) stage3-start
32633 @r=`${PWD_COMMAND}`; export r; \
32634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32635 $(STAGE_HOST_EXPORTS) \
32636 cd zlib && \
32637 $(MAKE) $(FLAGS_TO_PASS) \
32638 $(POSTSTAGE1_FLAGS_TO_PASS) \
32641 maybe-clean-stage3-zlib: clean-stage3-zlib
32642 clean-stage3-zlib:
32643 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
32644 || exit 0 ; \
32645 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
32646 cd zlib && \
32647 $(MAKE) $(FLAGS_TO_PASS) \
32648 $(POSTSTAGE1_FLAGS_TO_PASS) \
32649 clean
32650 @endif zlib-bootstrap
32654 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32655 # only possibility, but now it conflicts with no-bootstrap rules
32656 @if gcc-bootstrap
32658 compare:
32659 @if test -f stage2-lean; then \
32660 echo Cannot compare object files as stage 2 was deleted. ; \
32661 exit 0 ; \
32662 fi; \
32663 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32664 @r=`${PWD_COMMAND}`; export r; \
32665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32666 rm -f .bad_compare ; \
32667 cd stage3-gcc; \
32668 files=`find . -name "*$(objext)" -print` ; \
32669 cd .. ; \
32670 for file in $${files} ; do \
32671 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
32672 @do_compare@ > /dev/null 2>&1; \
32673 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
32674 done ; \
32675 if [ -f .bad_compare ]; then \
32676 echo "Bootstrap comparison failure!"; \
32677 cat .bad_compare; \
32678 exit 1; \
32679 else \
32680 true; \
32681 fi ; \
32682 $(STAMP) compare
32683 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32687 .PHONY: bootstrap
32688 bootstrap: stage3-bubble compare all
32691 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32692 distclean-stage2:: distclean-stage3
32693 .PHONY: distclean-stage3
32694 distclean-stage3::
32695 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32696 rm -rf stage3-* compare
32699 .PHONY: cleanstrap
32700 cleanstrap: distclean bootstrap
32702 @endif gcc-bootstrap
32705 .PHONY: stage4-start stage4-end
32707 stage4-start::
32708 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32709 echo stage4 > stage_current ; \
32710 echo stage4 > stage_last
32711 @if bfd
32712 @[ -d stage4-bfd ] || mkdir stage4-bfd; \
32713 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
32714 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
32715 @endif bfd
32716 @if opcodes
32717 @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
32718 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
32719 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
32720 @endif opcodes
32721 @if binutils
32722 @[ -d stage4-binutils ] || mkdir stage4-binutils; \
32723 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
32724 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
32725 @endif binutils
32726 @if gas
32727 @[ -d stage4-gas ] || mkdir stage4-gas; \
32728 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
32729 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
32730 @endif gas
32731 @if gcc
32732 @[ -d stage4-gcc ] || mkdir stage4-gcc; \
32733 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
32734 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
32735 @endif gcc
32736 @if intl
32737 @[ -d stage4-intl ] || mkdir stage4-intl; \
32738 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
32739 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
32740 @endif intl
32741 @if ld
32742 @[ -d stage4-ld ] || mkdir stage4-ld; \
32743 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
32744 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
32745 @endif ld
32746 @if libcpp
32747 @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
32748 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
32749 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
32750 @endif libcpp
32751 @if libiberty
32752 @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
32753 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32754 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32755 @endif libiberty
32756 @if zlib
32757 @[ -d stage4-zlib ] || mkdir stage4-zlib; \
32758 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32759 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32760 @endif zlib
32762 stage4-end::
32763 @rm -f stage_current
32764 @if bfd
32765 @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
32766 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
32767 @endif bfd
32768 @if opcodes
32769 @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32770 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
32771 @endif opcodes
32772 @if binutils
32773 @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
32774 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
32775 @endif binutils
32776 @if gas
32777 @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
32778 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
32779 @endif gas
32780 @if gcc
32781 @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
32782 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
32783 @endif gcc
32784 @if intl
32785 @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
32786 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
32787 @endif intl
32788 @if ld
32789 @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
32790 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
32791 @endif ld
32792 @if libcpp
32793 @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32794 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
32795 @endif libcpp
32796 @if libiberty
32797 @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32798 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
32799 @endif libiberty
32800 @if zlib
32801 @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
32802 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
32803 @endif zlib
32805 # Bubble a bugfix through all the stages up to stage 4. They
32806 # are remade, but not reconfigured. The next stage (if any) will not
32807 # be reconfigured as well.
32808 .PHONY: stage4-bubble
32809 stage4-bubble:: stage3-bubble
32810 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32811 @if test -f stage4-lean || test -f stage3-lean ; then \
32812 echo Skipping rebuild of stage4 ; \
32813 else \
32814 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
32817 .PHONY: all-stage4 clean-stage4
32818 all-stage4: \
32819 maybe-all-stage4-bfd \
32820 maybe-all-stage4-opcodes \
32821 maybe-all-stage4-binutils \
32822 maybe-all-stage4-gas \
32823 maybe-all-stage4-gcc \
32824 maybe-all-stage4-intl \
32825 maybe-all-stage4-ld \
32826 maybe-all-stage4-libcpp \
32827 maybe-all-stage4-libiberty \
32828 maybe-all-stage4-zlib
32830 do-clean: clean-stage4
32831 clean-stage4: \
32832 maybe-clean-stage4-bfd \
32833 maybe-clean-stage4-opcodes \
32834 maybe-clean-stage4-binutils \
32835 maybe-clean-stage4-gas \
32836 maybe-clean-stage4-gcc \
32837 maybe-clean-stage4-intl \
32838 maybe-clean-stage4-ld \
32839 maybe-clean-stage4-libcpp \
32840 maybe-clean-stage4-libiberty \
32841 maybe-clean-stage4-zlib
32844 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
32845 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
32846 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
32848 maybe-configure-stage4-bfd:
32849 maybe-all-stage4-bfd:
32850 maybe-clean-stage4-bfd:
32852 @if bfd-bootstrap
32853 maybe-configure-stage4-bfd: configure-stage4-bfd
32854 configure-stage4-bfd:
32855 @$(MAKE) stage4-start
32856 @[ -f bfd/Makefile ] && exit 0 || : ; \
32857 r=`${PWD_COMMAND}`; export r; \
32858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32859 $(STAGE_HOST_EXPORTS) \
32860 echo Configuring stage 4 in bfd ; \
32861 cd bfd || exit 1; \
32862 case $(srcdir) in \
32863 \.) \
32864 srcdiroption="--srcdir=."; \
32865 libsrcdir=".";; \
32866 /* | [A-Za-z]:[\\/]*) \
32867 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32868 libsrcdir="$$s/bfd";; \
32869 *) \
32870 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32871 libsrcdir="$$s/bfd";; \
32872 esac; \
32873 $(SHELL) $${libsrcdir}/configure \
32874 $(HOST_CONFIGARGS) $${srcdiroption} \
32875 @stage2_werror_flag@
32877 maybe-all-stage4-bfd: all-stage4-bfd
32878 all-stage4-bfd: configure-stage4-bfd
32879 @$(MAKE) stage4-start
32880 @r=`${PWD_COMMAND}`; export r; \
32881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32882 $(STAGE_HOST_EXPORTS) \
32883 cd bfd && \
32884 $(MAKE) $(FLAGS_TO_PASS) \
32885 $(POSTSTAGE1_FLAGS_TO_PASS) \
32888 maybe-clean-stage4-bfd: clean-stage4-bfd
32889 clean-stage4-bfd:
32890 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
32891 || exit 0 ; \
32892 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
32893 cd bfd && \
32894 $(MAKE) $(FLAGS_TO_PASS) \
32895 $(POSTSTAGE1_FLAGS_TO_PASS) \
32896 clean
32897 @endif bfd-bootstrap
32900 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
32901 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
32902 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
32904 maybe-configure-stage4-opcodes:
32905 maybe-all-stage4-opcodes:
32906 maybe-clean-stage4-opcodes:
32908 @if opcodes-bootstrap
32909 maybe-configure-stage4-opcodes: configure-stage4-opcodes
32910 configure-stage4-opcodes:
32911 @$(MAKE) stage4-start
32912 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32913 r=`${PWD_COMMAND}`; export r; \
32914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32915 $(STAGE_HOST_EXPORTS) \
32916 echo Configuring stage 4 in opcodes ; \
32917 cd opcodes || exit 1; \
32918 case $(srcdir) in \
32919 \.) \
32920 srcdiroption="--srcdir=."; \
32921 libsrcdir=".";; \
32922 /* | [A-Za-z]:[\\/]*) \
32923 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32924 libsrcdir="$$s/opcodes";; \
32925 *) \
32926 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32927 libsrcdir="$$s/opcodes";; \
32928 esac; \
32929 $(SHELL) $${libsrcdir}/configure \
32930 $(HOST_CONFIGARGS) $${srcdiroption} \
32931 @stage2_werror_flag@
32933 maybe-all-stage4-opcodes: all-stage4-opcodes
32934 all-stage4-opcodes: configure-stage4-opcodes
32935 @$(MAKE) stage4-start
32936 @r=`${PWD_COMMAND}`; export r; \
32937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32938 $(STAGE_HOST_EXPORTS) \
32939 cd opcodes && \
32940 $(MAKE) $(FLAGS_TO_PASS) \
32941 $(POSTSTAGE1_FLAGS_TO_PASS) \
32944 maybe-clean-stage4-opcodes: clean-stage4-opcodes
32945 clean-stage4-opcodes:
32946 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
32947 || exit 0 ; \
32948 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
32949 cd opcodes && \
32950 $(MAKE) $(FLAGS_TO_PASS) \
32951 $(POSTSTAGE1_FLAGS_TO_PASS) \
32952 clean
32953 @endif opcodes-bootstrap
32956 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
32957 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
32958 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
32960 maybe-configure-stage4-binutils:
32961 maybe-all-stage4-binutils:
32962 maybe-clean-stage4-binutils:
32964 @if binutils-bootstrap
32965 maybe-configure-stage4-binutils: configure-stage4-binutils
32966 configure-stage4-binutils:
32967 @$(MAKE) stage4-start
32968 @[ -f binutils/Makefile ] && exit 0 || : ; \
32969 r=`${PWD_COMMAND}`; export r; \
32970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32971 $(STAGE_HOST_EXPORTS) \
32972 echo Configuring stage 4 in binutils ; \
32973 cd binutils || exit 1; \
32974 case $(srcdir) in \
32975 \.) \
32976 srcdiroption="--srcdir=."; \
32977 libsrcdir=".";; \
32978 /* | [A-Za-z]:[\\/]*) \
32979 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32980 libsrcdir="$$s/binutils";; \
32981 *) \
32982 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32983 libsrcdir="$$s/binutils";; \
32984 esac; \
32985 $(SHELL) $${libsrcdir}/configure \
32986 $(HOST_CONFIGARGS) $${srcdiroption} \
32987 @stage2_werror_flag@
32989 maybe-all-stage4-binutils: all-stage4-binutils
32990 all-stage4-binutils: configure-stage4-binutils
32991 @$(MAKE) stage4-start
32992 @r=`${PWD_COMMAND}`; export r; \
32993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32994 $(STAGE_HOST_EXPORTS) \
32995 cd binutils && \
32996 $(MAKE) $(FLAGS_TO_PASS) \
32997 $(POSTSTAGE1_FLAGS_TO_PASS) \
33000 maybe-clean-stage4-binutils: clean-stage4-binutils
33001 clean-stage4-binutils:
33002 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
33003 || exit 0 ; \
33004 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
33005 cd binutils && \
33006 $(MAKE) $(FLAGS_TO_PASS) \
33007 $(POSTSTAGE1_FLAGS_TO_PASS) \
33008 clean
33009 @endif binutils-bootstrap
33012 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
33013 .PHONY: all-stage4-gas maybe-all-stage4-gas
33014 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
33016 maybe-configure-stage4-gas:
33017 maybe-all-stage4-gas:
33018 maybe-clean-stage4-gas:
33020 @if gas-bootstrap
33021 maybe-configure-stage4-gas: configure-stage4-gas
33022 configure-stage4-gas:
33023 @$(MAKE) stage4-start
33024 @[ -f gas/Makefile ] && exit 0 || : ; \
33025 r=`${PWD_COMMAND}`; export r; \
33026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33027 $(STAGE_HOST_EXPORTS) \
33028 echo Configuring stage 4 in gas ; \
33029 cd gas || exit 1; \
33030 case $(srcdir) in \
33031 \.) \
33032 srcdiroption="--srcdir=."; \
33033 libsrcdir=".";; \
33034 /* | [A-Za-z]:[\\/]*) \
33035 srcdiroption="--srcdir=$(srcdir)/gas"; \
33036 libsrcdir="$$s/gas";; \
33037 *) \
33038 srcdiroption="--srcdir=../$(srcdir)/gas"; \
33039 libsrcdir="$$s/gas";; \
33040 esac; \
33041 $(SHELL) $${libsrcdir}/configure \
33042 $(HOST_CONFIGARGS) $${srcdiroption} \
33043 @stage2_werror_flag@
33045 maybe-all-stage4-gas: all-stage4-gas
33046 all-stage4-gas: configure-stage4-gas
33047 @$(MAKE) stage4-start
33048 @r=`${PWD_COMMAND}`; export r; \
33049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33050 $(STAGE_HOST_EXPORTS) \
33051 cd gas && \
33052 $(MAKE) $(FLAGS_TO_PASS) \
33053 $(POSTSTAGE1_FLAGS_TO_PASS) \
33056 maybe-clean-stage4-gas: clean-stage4-gas
33057 clean-stage4-gas:
33058 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
33059 || exit 0 ; \
33060 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
33061 cd gas && \
33062 $(MAKE) $(FLAGS_TO_PASS) \
33063 $(POSTSTAGE1_FLAGS_TO_PASS) \
33064 clean
33065 @endif gas-bootstrap
33068 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
33069 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
33070 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
33072 maybe-configure-stage4-gcc:
33073 maybe-all-stage4-gcc:
33074 maybe-clean-stage4-gcc:
33076 @if gcc-bootstrap
33077 maybe-configure-stage4-gcc: configure-stage4-gcc
33078 configure-stage4-gcc:
33079 @$(MAKE) stage4-start
33080 @[ -f gcc/Makefile ] && exit 0 || : ; \
33081 r=`${PWD_COMMAND}`; export r; \
33082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33083 $(STAGE_HOST_EXPORTS) \
33084 echo Configuring stage 4 in gcc ; \
33085 cd gcc || exit 1; \
33086 case $(srcdir) in \
33087 \.) \
33088 srcdiroption="--srcdir=."; \
33089 libsrcdir=".";; \
33090 /* | [A-Za-z]:[\\/]*) \
33091 srcdiroption="--srcdir=$(srcdir)/gcc"; \
33092 libsrcdir="$$s/gcc";; \
33093 *) \
33094 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
33095 libsrcdir="$$s/gcc";; \
33096 esac; \
33097 $(SHELL) $${libsrcdir}/configure \
33098 $(HOST_CONFIGARGS) $${srcdiroption} \
33099 @stage2_werror_flag@
33101 maybe-all-stage4-gcc: all-stage4-gcc
33102 all-stage4-gcc: configure-stage4-gcc
33103 @$(MAKE) stage4-start
33104 @r=`${PWD_COMMAND}`; export r; \
33105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33106 $(STAGE_HOST_EXPORTS) \
33107 cd gcc && \
33108 $(MAKE) $(FLAGS_TO_PASS) \
33109 $(POSTSTAGE1_FLAGS_TO_PASS) \
33110 $(EXTRA_GCC_FLAGS)
33112 maybe-clean-stage4-gcc: clean-stage4-gcc
33113 clean-stage4-gcc:
33114 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
33115 || exit 0 ; \
33116 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
33117 cd gcc && \
33118 $(MAKE) $(FLAGS_TO_PASS) \
33119 $(POSTSTAGE1_FLAGS_TO_PASS) \
33120 $(EXTRA_GCC_FLAGS) clean
33121 @endif gcc-bootstrap
33124 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
33125 .PHONY: all-stage4-intl maybe-all-stage4-intl
33126 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
33128 maybe-configure-stage4-intl:
33129 maybe-all-stage4-intl:
33130 maybe-clean-stage4-intl:
33132 @if intl-bootstrap
33133 maybe-configure-stage4-intl: configure-stage4-intl
33134 configure-stage4-intl:
33135 @$(MAKE) stage4-start
33136 @[ -f intl/Makefile ] && exit 0 || : ; \
33137 r=`${PWD_COMMAND}`; export r; \
33138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33139 $(STAGE_HOST_EXPORTS) \
33140 echo Configuring stage 4 in intl ; \
33141 cd intl || exit 1; \
33142 case $(srcdir) in \
33143 \.) \
33144 srcdiroption="--srcdir=."; \
33145 libsrcdir=".";; \
33146 /* | [A-Za-z]:[\\/]*) \
33147 srcdiroption="--srcdir=$(srcdir)/intl"; \
33148 libsrcdir="$$s/intl";; \
33149 *) \
33150 srcdiroption="--srcdir=../$(srcdir)/intl"; \
33151 libsrcdir="$$s/intl";; \
33152 esac; \
33153 $(SHELL) $${libsrcdir}/configure \
33154 $(HOST_CONFIGARGS) $${srcdiroption} \
33155 @stage2_werror_flag@
33157 maybe-all-stage4-intl: all-stage4-intl
33158 all-stage4-intl: configure-stage4-intl
33159 @$(MAKE) stage4-start
33160 @r=`${PWD_COMMAND}`; export r; \
33161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33162 $(STAGE_HOST_EXPORTS) \
33163 cd intl && \
33164 $(MAKE) $(FLAGS_TO_PASS) \
33165 $(POSTSTAGE1_FLAGS_TO_PASS) \
33168 maybe-clean-stage4-intl: clean-stage4-intl
33169 clean-stage4-intl:
33170 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
33171 || exit 0 ; \
33172 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
33173 cd intl && \
33174 $(MAKE) $(FLAGS_TO_PASS) \
33175 $(POSTSTAGE1_FLAGS_TO_PASS) \
33176 clean
33177 @endif intl-bootstrap
33180 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
33181 .PHONY: all-stage4-ld maybe-all-stage4-ld
33182 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
33184 maybe-configure-stage4-ld:
33185 maybe-all-stage4-ld:
33186 maybe-clean-stage4-ld:
33188 @if ld-bootstrap
33189 maybe-configure-stage4-ld: configure-stage4-ld
33190 configure-stage4-ld:
33191 @$(MAKE) stage4-start
33192 @[ -f ld/Makefile ] && exit 0 || : ; \
33193 r=`${PWD_COMMAND}`; export r; \
33194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33195 $(STAGE_HOST_EXPORTS) \
33196 echo Configuring stage 4 in ld ; \
33197 cd ld || exit 1; \
33198 case $(srcdir) in \
33199 \.) \
33200 srcdiroption="--srcdir=."; \
33201 libsrcdir=".";; \
33202 /* | [A-Za-z]:[\\/]*) \
33203 srcdiroption="--srcdir=$(srcdir)/ld"; \
33204 libsrcdir="$$s/ld";; \
33205 *) \
33206 srcdiroption="--srcdir=../$(srcdir)/ld"; \
33207 libsrcdir="$$s/ld";; \
33208 esac; \
33209 $(SHELL) $${libsrcdir}/configure \
33210 $(HOST_CONFIGARGS) $${srcdiroption} \
33211 @stage2_werror_flag@
33213 maybe-all-stage4-ld: all-stage4-ld
33214 all-stage4-ld: configure-stage4-ld
33215 @$(MAKE) stage4-start
33216 @r=`${PWD_COMMAND}`; export r; \
33217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33218 $(STAGE_HOST_EXPORTS) \
33219 cd ld && \
33220 $(MAKE) $(FLAGS_TO_PASS) \
33221 $(POSTSTAGE1_FLAGS_TO_PASS) \
33224 maybe-clean-stage4-ld: clean-stage4-ld
33225 clean-stage4-ld:
33226 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
33227 || exit 0 ; \
33228 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
33229 cd ld && \
33230 $(MAKE) $(FLAGS_TO_PASS) \
33231 $(POSTSTAGE1_FLAGS_TO_PASS) \
33232 clean
33233 @endif ld-bootstrap
33236 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
33237 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
33238 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
33240 maybe-configure-stage4-libcpp:
33241 maybe-all-stage4-libcpp:
33242 maybe-clean-stage4-libcpp:
33244 @if libcpp-bootstrap
33245 maybe-configure-stage4-libcpp: configure-stage4-libcpp
33246 configure-stage4-libcpp:
33247 @$(MAKE) stage4-start
33248 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33249 r=`${PWD_COMMAND}`; export r; \
33250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33251 $(STAGE_HOST_EXPORTS) \
33252 echo Configuring stage 4 in libcpp ; \
33253 cd libcpp || exit 1; \
33254 case $(srcdir) in \
33255 \.) \
33256 srcdiroption="--srcdir=."; \
33257 libsrcdir=".";; \
33258 /* | [A-Za-z]:[\\/]*) \
33259 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
33260 libsrcdir="$$s/libcpp";; \
33261 *) \
33262 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
33263 libsrcdir="$$s/libcpp";; \
33264 esac; \
33265 $(SHELL) $${libsrcdir}/configure \
33266 $(HOST_CONFIGARGS) $${srcdiroption} \
33267 @stage2_werror_flag@
33269 maybe-all-stage4-libcpp: all-stage4-libcpp
33270 all-stage4-libcpp: configure-stage4-libcpp
33271 @$(MAKE) stage4-start
33272 @r=`${PWD_COMMAND}`; export r; \
33273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33274 $(STAGE_HOST_EXPORTS) \
33275 cd libcpp && \
33276 $(MAKE) $(FLAGS_TO_PASS) \
33277 $(POSTSTAGE1_FLAGS_TO_PASS) \
33280 maybe-clean-stage4-libcpp: clean-stage4-libcpp
33281 clean-stage4-libcpp:
33282 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
33283 || exit 0 ; \
33284 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
33285 cd libcpp && \
33286 $(MAKE) $(FLAGS_TO_PASS) \
33287 $(POSTSTAGE1_FLAGS_TO_PASS) \
33288 clean
33289 @endif libcpp-bootstrap
33292 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
33293 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
33294 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
33296 maybe-configure-stage4-libiberty:
33297 maybe-all-stage4-libiberty:
33298 maybe-clean-stage4-libiberty:
33300 @if libiberty-bootstrap
33301 maybe-configure-stage4-libiberty: configure-stage4-libiberty
33302 configure-stage4-libiberty:
33303 @$(MAKE) stage4-start
33304 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33305 r=`${PWD_COMMAND}`; export r; \
33306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33307 $(STAGE_HOST_EXPORTS) \
33308 echo Configuring stage 4 in libiberty ; \
33309 cd libiberty || exit 1; \
33310 case $(srcdir) in \
33311 \.) \
33312 srcdiroption="--srcdir=."; \
33313 libsrcdir=".";; \
33314 /* | [A-Za-z]:[\\/]*) \
33315 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
33316 libsrcdir="$$s/libiberty";; \
33317 *) \
33318 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
33319 libsrcdir="$$s/libiberty";; \
33320 esac; \
33321 $(SHELL) $${libsrcdir}/configure \
33322 $(HOST_CONFIGARGS) $${srcdiroption} \
33323 @stage2_werror_flag@
33325 maybe-all-stage4-libiberty: all-stage4-libiberty
33326 all-stage4-libiberty: configure-stage4-libiberty
33327 @$(MAKE) stage4-start
33328 @r=`${PWD_COMMAND}`; export r; \
33329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33330 $(STAGE_HOST_EXPORTS) \
33331 cd libiberty && \
33332 $(MAKE) $(FLAGS_TO_PASS) \
33333 $(POSTSTAGE1_FLAGS_TO_PASS) \
33336 maybe-clean-stage4-libiberty: clean-stage4-libiberty
33337 clean-stage4-libiberty:
33338 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
33339 || exit 0 ; \
33340 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
33341 cd libiberty && \
33342 $(MAKE) $(FLAGS_TO_PASS) \
33343 $(POSTSTAGE1_FLAGS_TO_PASS) \
33344 clean
33345 @endif libiberty-bootstrap
33348 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
33349 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
33350 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
33352 maybe-configure-stage4-zlib:
33353 maybe-all-stage4-zlib:
33354 maybe-clean-stage4-zlib:
33356 @if zlib-bootstrap
33357 maybe-configure-stage4-zlib: configure-stage4-zlib
33358 configure-stage4-zlib:
33359 @$(MAKE) stage4-start
33360 @[ -f zlib/Makefile ] && exit 0 || : ; \
33361 r=`${PWD_COMMAND}`; export r; \
33362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33363 $(STAGE_HOST_EXPORTS) \
33364 echo Configuring stage 4 in zlib ; \
33365 cd zlib || exit 1; \
33366 case $(srcdir) in \
33367 \.) \
33368 srcdiroption="--srcdir=."; \
33369 libsrcdir=".";; \
33370 /* | [A-Za-z]:[\\/]*) \
33371 srcdiroption="--srcdir=$(srcdir)/zlib"; \
33372 libsrcdir="$$s/zlib";; \
33373 *) \
33374 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
33375 libsrcdir="$$s/zlib";; \
33376 esac; \
33377 $(SHELL) $${libsrcdir}/configure \
33378 $(HOST_CONFIGARGS) $${srcdiroption} \
33379 @stage2_werror_flag@
33381 maybe-all-stage4-zlib: all-stage4-zlib
33382 all-stage4-zlib: configure-stage4-zlib
33383 @$(MAKE) stage4-start
33384 @r=`${PWD_COMMAND}`; export r; \
33385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33386 $(STAGE_HOST_EXPORTS) \
33387 cd zlib && \
33388 $(MAKE) $(FLAGS_TO_PASS) \
33389 $(POSTSTAGE1_FLAGS_TO_PASS) \
33392 maybe-clean-stage4-zlib: clean-stage4-zlib
33393 clean-stage4-zlib:
33394 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
33395 || exit 0 ; \
33396 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
33397 cd zlib && \
33398 $(MAKE) $(FLAGS_TO_PASS) \
33399 $(POSTSTAGE1_FLAGS_TO_PASS) \
33400 clean
33401 @endif zlib-bootstrap
33405 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33406 # only possibility, but now it conflicts with no-bootstrap rules
33407 @if gcc-bootstrap
33409 compare3:
33410 @if test -f stage3-lean; then \
33411 echo Cannot compare object files as stage 3 was deleted. ; \
33412 exit 0 ; \
33413 fi; \
33414 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33415 @r=`${PWD_COMMAND}`; export r; \
33416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33417 rm -f .bad_compare ; \
33418 cd stage4-gcc; \
33419 files=`find . -name "*$(objext)" -print` ; \
33420 cd .. ; \
33421 for file in $${files} ; do \
33422 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
33423 @do_compare@ > /dev/null 2>&1; \
33424 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
33425 done ; \
33426 if [ -f .bad_compare ]; then \
33427 echo "Bootstrap comparison failure!"; \
33428 cat .bad_compare; \
33429 exit 1; \
33430 else \
33431 true; \
33432 fi ; \
33433 $(STAMP) compare3
33434 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
33438 .PHONY: bootstrap4
33439 bootstrap4: stage4-bubble compare3 all
33442 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33443 distclean-stage3:: distclean-stage4
33444 .PHONY: distclean-stage4
33445 distclean-stage4::
33446 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33447 rm -rf stage4-* compare3
33450 @endif gcc-bootstrap
33453 .PHONY: stageprofile-start stageprofile-end
33455 stageprofile-start::
33456 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33457 echo stageprofile > stage_current ; \
33458 echo stageprofile > stage_last
33459 @if bfd
33460 @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
33461 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
33462 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
33463 @endif bfd
33464 @if opcodes
33465 @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
33466 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
33467 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
33468 @endif opcodes
33469 @if binutils
33470 @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
33471 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
33472 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
33473 @endif binutils
33474 @if gas
33475 @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
33476 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
33477 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
33478 @endif gas
33479 @if gcc
33480 @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
33481 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
33482 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
33483 @endif gcc
33484 @if intl
33485 @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
33486 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
33487 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
33488 @endif intl
33489 @if ld
33490 @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
33491 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
33492 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
33493 @endif ld
33494 @if libcpp
33495 @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
33496 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
33497 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
33498 @endif libcpp
33499 @if libiberty
33500 @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
33501 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
33502 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
33503 @endif libiberty
33504 @if zlib
33505 @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
33506 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
33507 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
33508 @endif zlib
33510 stageprofile-end::
33511 @rm -f stage_current
33512 @if bfd
33513 @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
33514 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
33515 @endif bfd
33516 @if opcodes
33517 @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
33518 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
33519 @endif opcodes
33520 @if binutils
33521 @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
33522 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
33523 @endif binutils
33524 @if gas
33525 @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
33526 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
33527 @endif gas
33528 @if gcc
33529 @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
33530 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
33531 @endif gcc
33532 @if intl
33533 @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
33534 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
33535 @endif intl
33536 @if ld
33537 @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
33538 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
33539 @endif ld
33540 @if libcpp
33541 @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
33542 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
33543 @endif libcpp
33544 @if libiberty
33545 @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
33546 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
33547 @endif libiberty
33548 @if zlib
33549 @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
33550 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
33551 @endif zlib
33553 # Bubble a bugfix through all the stages up to stage profile. They
33554 # are remade, but not reconfigured. The next stage (if any) will not
33555 # be reconfigured as well.
33556 .PHONY: stageprofile-bubble
33557 stageprofile-bubble:: stage1-bubble
33558 @if test -f stageprofile-lean || test -f stage1-lean ; then \
33559 echo Skipping rebuild of stageprofile ; \
33560 else \
33561 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
33564 .PHONY: all-stageprofile clean-stageprofile
33565 all-stageprofile: \
33566 maybe-all-stageprofile-bfd \
33567 maybe-all-stageprofile-opcodes \
33568 maybe-all-stageprofile-binutils \
33569 maybe-all-stageprofile-gas \
33570 maybe-all-stageprofile-gcc \
33571 maybe-all-stageprofile-intl \
33572 maybe-all-stageprofile-ld \
33573 maybe-all-stageprofile-libcpp \
33574 maybe-all-stageprofile-libiberty \
33575 maybe-all-stageprofile-zlib
33577 do-clean: clean-stageprofile
33578 clean-stageprofile: \
33579 maybe-clean-stageprofile-bfd \
33580 maybe-clean-stageprofile-opcodes \
33581 maybe-clean-stageprofile-binutils \
33582 maybe-clean-stageprofile-gas \
33583 maybe-clean-stageprofile-gcc \
33584 maybe-clean-stageprofile-intl \
33585 maybe-clean-stageprofile-ld \
33586 maybe-clean-stageprofile-libcpp \
33587 maybe-clean-stageprofile-libiberty \
33588 maybe-clean-stageprofile-zlib
33591 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
33592 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
33593 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
33595 maybe-configure-stageprofile-bfd:
33596 maybe-all-stageprofile-bfd:
33597 maybe-clean-stageprofile-bfd:
33599 @if bfd-bootstrap
33600 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
33601 configure-stageprofile-bfd:
33602 @$(MAKE) stageprofile-start
33603 @[ -f bfd/Makefile ] && exit 0 || : ; \
33604 r=`${PWD_COMMAND}`; export r; \
33605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33606 $(STAGE_HOST_EXPORTS) \
33607 echo Configuring stage profile in bfd ; \
33608 cd bfd || exit 1; \
33609 case $(srcdir) in \
33610 \.) \
33611 srcdiroption="--srcdir=."; \
33612 libsrcdir=".";; \
33613 /* | [A-Za-z]:[\\/]*) \
33614 srcdiroption="--srcdir=$(srcdir)/bfd"; \
33615 libsrcdir="$$s/bfd";; \
33616 *) \
33617 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
33618 libsrcdir="$$s/bfd";; \
33619 esac; \
33620 $(SHELL) $${libsrcdir}/configure \
33621 $(HOST_CONFIGARGS) $${srcdiroption} \
33622 @stage2_werror_flag@
33624 maybe-all-stageprofile-bfd: all-stageprofile-bfd
33625 all-stageprofile-bfd: configure-stageprofile-bfd
33626 @$(MAKE) stageprofile-start
33627 @r=`${PWD_COMMAND}`; export r; \
33628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33629 $(STAGE_HOST_EXPORTS) \
33630 cd bfd && \
33631 $(MAKE) $(FLAGS_TO_PASS) \
33632 $(POSTSTAGE1_FLAGS_TO_PASS) \
33633 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33635 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
33636 clean-stageprofile-bfd:
33637 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
33638 || exit 0 ; \
33639 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
33640 cd bfd && \
33641 $(MAKE) $(FLAGS_TO_PASS) \
33642 $(POSTSTAGE1_FLAGS_TO_PASS) \
33643 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33644 @endif bfd-bootstrap
33647 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
33648 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
33649 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
33651 maybe-configure-stageprofile-opcodes:
33652 maybe-all-stageprofile-opcodes:
33653 maybe-clean-stageprofile-opcodes:
33655 @if opcodes-bootstrap
33656 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
33657 configure-stageprofile-opcodes:
33658 @$(MAKE) stageprofile-start
33659 @[ -f opcodes/Makefile ] && exit 0 || : ; \
33660 r=`${PWD_COMMAND}`; export r; \
33661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33662 $(STAGE_HOST_EXPORTS) \
33663 echo Configuring stage profile in opcodes ; \
33664 cd opcodes || exit 1; \
33665 case $(srcdir) in \
33666 \.) \
33667 srcdiroption="--srcdir=."; \
33668 libsrcdir=".";; \
33669 /* | [A-Za-z]:[\\/]*) \
33670 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
33671 libsrcdir="$$s/opcodes";; \
33672 *) \
33673 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
33674 libsrcdir="$$s/opcodes";; \
33675 esac; \
33676 $(SHELL) $${libsrcdir}/configure \
33677 $(HOST_CONFIGARGS) $${srcdiroption} \
33678 @stage2_werror_flag@
33680 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
33681 all-stageprofile-opcodes: configure-stageprofile-opcodes
33682 @$(MAKE) stageprofile-start
33683 @r=`${PWD_COMMAND}`; export r; \
33684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33685 $(STAGE_HOST_EXPORTS) \
33686 cd opcodes && \
33687 $(MAKE) $(FLAGS_TO_PASS) \
33688 $(POSTSTAGE1_FLAGS_TO_PASS) \
33689 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33691 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
33692 clean-stageprofile-opcodes:
33693 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
33694 || exit 0 ; \
33695 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
33696 cd opcodes && \
33697 $(MAKE) $(FLAGS_TO_PASS) \
33698 $(POSTSTAGE1_FLAGS_TO_PASS) \
33699 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33700 @endif opcodes-bootstrap
33703 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
33704 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
33705 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
33707 maybe-configure-stageprofile-binutils:
33708 maybe-all-stageprofile-binutils:
33709 maybe-clean-stageprofile-binutils:
33711 @if binutils-bootstrap
33712 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
33713 configure-stageprofile-binutils:
33714 @$(MAKE) stageprofile-start
33715 @[ -f binutils/Makefile ] && exit 0 || : ; \
33716 r=`${PWD_COMMAND}`; export r; \
33717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33718 $(STAGE_HOST_EXPORTS) \
33719 echo Configuring stage profile in binutils ; \
33720 cd binutils || exit 1; \
33721 case $(srcdir) in \
33722 \.) \
33723 srcdiroption="--srcdir=."; \
33724 libsrcdir=".";; \
33725 /* | [A-Za-z]:[\\/]*) \
33726 srcdiroption="--srcdir=$(srcdir)/binutils"; \
33727 libsrcdir="$$s/binutils";; \
33728 *) \
33729 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
33730 libsrcdir="$$s/binutils";; \
33731 esac; \
33732 $(SHELL) $${libsrcdir}/configure \
33733 $(HOST_CONFIGARGS) $${srcdiroption} \
33734 @stage2_werror_flag@
33736 maybe-all-stageprofile-binutils: all-stageprofile-binutils
33737 all-stageprofile-binutils: configure-stageprofile-binutils
33738 @$(MAKE) stageprofile-start
33739 @r=`${PWD_COMMAND}`; export r; \
33740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33741 $(STAGE_HOST_EXPORTS) \
33742 cd binutils && \
33743 $(MAKE) $(FLAGS_TO_PASS) \
33744 $(POSTSTAGE1_FLAGS_TO_PASS) \
33745 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33747 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
33748 clean-stageprofile-binutils:
33749 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
33750 || exit 0 ; \
33751 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
33752 cd binutils && \
33753 $(MAKE) $(FLAGS_TO_PASS) \
33754 $(POSTSTAGE1_FLAGS_TO_PASS) \
33755 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33756 @endif binutils-bootstrap
33759 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
33760 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
33761 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
33763 maybe-configure-stageprofile-gas:
33764 maybe-all-stageprofile-gas:
33765 maybe-clean-stageprofile-gas:
33767 @if gas-bootstrap
33768 maybe-configure-stageprofile-gas: configure-stageprofile-gas
33769 configure-stageprofile-gas:
33770 @$(MAKE) stageprofile-start
33771 @[ -f gas/Makefile ] && exit 0 || : ; \
33772 r=`${PWD_COMMAND}`; export r; \
33773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33774 $(STAGE_HOST_EXPORTS) \
33775 echo Configuring stage profile in gas ; \
33776 cd gas || exit 1; \
33777 case $(srcdir) in \
33778 \.) \
33779 srcdiroption="--srcdir=."; \
33780 libsrcdir=".";; \
33781 /* | [A-Za-z]:[\\/]*) \
33782 srcdiroption="--srcdir=$(srcdir)/gas"; \
33783 libsrcdir="$$s/gas";; \
33784 *) \
33785 srcdiroption="--srcdir=../$(srcdir)/gas"; \
33786 libsrcdir="$$s/gas";; \
33787 esac; \
33788 $(SHELL) $${libsrcdir}/configure \
33789 $(HOST_CONFIGARGS) $${srcdiroption} \
33790 @stage2_werror_flag@
33792 maybe-all-stageprofile-gas: all-stageprofile-gas
33793 all-stageprofile-gas: configure-stageprofile-gas
33794 @$(MAKE) stageprofile-start
33795 @r=`${PWD_COMMAND}`; export r; \
33796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33797 $(STAGE_HOST_EXPORTS) \
33798 cd gas && \
33799 $(MAKE) $(FLAGS_TO_PASS) \
33800 $(POSTSTAGE1_FLAGS_TO_PASS) \
33801 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33803 maybe-clean-stageprofile-gas: clean-stageprofile-gas
33804 clean-stageprofile-gas:
33805 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
33806 || exit 0 ; \
33807 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
33808 cd gas && \
33809 $(MAKE) $(FLAGS_TO_PASS) \
33810 $(POSTSTAGE1_FLAGS_TO_PASS) \
33811 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33812 @endif gas-bootstrap
33815 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
33816 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
33817 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
33819 maybe-configure-stageprofile-gcc:
33820 maybe-all-stageprofile-gcc:
33821 maybe-clean-stageprofile-gcc:
33823 @if gcc-bootstrap
33824 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
33825 configure-stageprofile-gcc:
33826 @$(MAKE) stageprofile-start
33827 @[ -f gcc/Makefile ] && exit 0 || : ; \
33828 r=`${PWD_COMMAND}`; export r; \
33829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33830 $(STAGE_HOST_EXPORTS) \
33831 echo Configuring stage profile in gcc ; \
33832 cd gcc || exit 1; \
33833 case $(srcdir) in \
33834 \.) \
33835 srcdiroption="--srcdir=."; \
33836 libsrcdir=".";; \
33837 /* | [A-Za-z]:[\\/]*) \
33838 srcdiroption="--srcdir=$(srcdir)/gcc"; \
33839 libsrcdir="$$s/gcc";; \
33840 *) \
33841 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
33842 libsrcdir="$$s/gcc";; \
33843 esac; \
33844 $(SHELL) $${libsrcdir}/configure \
33845 $(HOST_CONFIGARGS) $${srcdiroption} \
33846 @stage2_werror_flag@
33848 maybe-all-stageprofile-gcc: all-stageprofile-gcc
33849 all-stageprofile-gcc: configure-stageprofile-gcc
33850 @$(MAKE) stageprofile-start
33851 @r=`${PWD_COMMAND}`; export r; \
33852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33853 $(STAGE_HOST_EXPORTS) \
33854 cd gcc && \
33855 $(MAKE) $(FLAGS_TO_PASS) \
33856 $(POSTSTAGE1_FLAGS_TO_PASS) \
33857 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
33859 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
33860 clean-stageprofile-gcc:
33861 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
33862 || exit 0 ; \
33863 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
33864 cd gcc && \
33865 $(MAKE) $(FLAGS_TO_PASS) \
33866 $(POSTSTAGE1_FLAGS_TO_PASS) \
33867 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
33868 @endif gcc-bootstrap
33871 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
33872 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
33873 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
33875 maybe-configure-stageprofile-intl:
33876 maybe-all-stageprofile-intl:
33877 maybe-clean-stageprofile-intl:
33879 @if intl-bootstrap
33880 maybe-configure-stageprofile-intl: configure-stageprofile-intl
33881 configure-stageprofile-intl:
33882 @$(MAKE) stageprofile-start
33883 @[ -f intl/Makefile ] && exit 0 || : ; \
33884 r=`${PWD_COMMAND}`; export r; \
33885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33886 $(STAGE_HOST_EXPORTS) \
33887 echo Configuring stage profile in intl ; \
33888 cd intl || exit 1; \
33889 case $(srcdir) in \
33890 \.) \
33891 srcdiroption="--srcdir=."; \
33892 libsrcdir=".";; \
33893 /* | [A-Za-z]:[\\/]*) \
33894 srcdiroption="--srcdir=$(srcdir)/intl"; \
33895 libsrcdir="$$s/intl";; \
33896 *) \
33897 srcdiroption="--srcdir=../$(srcdir)/intl"; \
33898 libsrcdir="$$s/intl";; \
33899 esac; \
33900 $(SHELL) $${libsrcdir}/configure \
33901 $(HOST_CONFIGARGS) $${srcdiroption} \
33902 @stage2_werror_flag@
33904 maybe-all-stageprofile-intl: all-stageprofile-intl
33905 all-stageprofile-intl: configure-stageprofile-intl
33906 @$(MAKE) stageprofile-start
33907 @r=`${PWD_COMMAND}`; export r; \
33908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33909 $(STAGE_HOST_EXPORTS) \
33910 cd intl && \
33911 $(MAKE) $(FLAGS_TO_PASS) \
33912 $(POSTSTAGE1_FLAGS_TO_PASS) \
33913 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33915 maybe-clean-stageprofile-intl: clean-stageprofile-intl
33916 clean-stageprofile-intl:
33917 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
33918 || exit 0 ; \
33919 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
33920 cd intl && \
33921 $(MAKE) $(FLAGS_TO_PASS) \
33922 $(POSTSTAGE1_FLAGS_TO_PASS) \
33923 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33924 @endif intl-bootstrap
33927 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
33928 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
33929 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
33931 maybe-configure-stageprofile-ld:
33932 maybe-all-stageprofile-ld:
33933 maybe-clean-stageprofile-ld:
33935 @if ld-bootstrap
33936 maybe-configure-stageprofile-ld: configure-stageprofile-ld
33937 configure-stageprofile-ld:
33938 @$(MAKE) stageprofile-start
33939 @[ -f ld/Makefile ] && exit 0 || : ; \
33940 r=`${PWD_COMMAND}`; export r; \
33941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33942 $(STAGE_HOST_EXPORTS) \
33943 echo Configuring stage profile in ld ; \
33944 cd ld || exit 1; \
33945 case $(srcdir) in \
33946 \.) \
33947 srcdiroption="--srcdir=."; \
33948 libsrcdir=".";; \
33949 /* | [A-Za-z]:[\\/]*) \
33950 srcdiroption="--srcdir=$(srcdir)/ld"; \
33951 libsrcdir="$$s/ld";; \
33952 *) \
33953 srcdiroption="--srcdir=../$(srcdir)/ld"; \
33954 libsrcdir="$$s/ld";; \
33955 esac; \
33956 $(SHELL) $${libsrcdir}/configure \
33957 $(HOST_CONFIGARGS) $${srcdiroption} \
33958 @stage2_werror_flag@
33960 maybe-all-stageprofile-ld: all-stageprofile-ld
33961 all-stageprofile-ld: configure-stageprofile-ld
33962 @$(MAKE) stageprofile-start
33963 @r=`${PWD_COMMAND}`; export r; \
33964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33965 $(STAGE_HOST_EXPORTS) \
33966 cd ld && \
33967 $(MAKE) $(FLAGS_TO_PASS) \
33968 $(POSTSTAGE1_FLAGS_TO_PASS) \
33969 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33971 maybe-clean-stageprofile-ld: clean-stageprofile-ld
33972 clean-stageprofile-ld:
33973 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
33974 || exit 0 ; \
33975 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
33976 cd ld && \
33977 $(MAKE) $(FLAGS_TO_PASS) \
33978 $(POSTSTAGE1_FLAGS_TO_PASS) \
33979 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33980 @endif ld-bootstrap
33983 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
33984 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
33985 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
33987 maybe-configure-stageprofile-libcpp:
33988 maybe-all-stageprofile-libcpp:
33989 maybe-clean-stageprofile-libcpp:
33991 @if libcpp-bootstrap
33992 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
33993 configure-stageprofile-libcpp:
33994 @$(MAKE) stageprofile-start
33995 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33996 r=`${PWD_COMMAND}`; export r; \
33997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33998 $(STAGE_HOST_EXPORTS) \
33999 echo Configuring stage profile in libcpp ; \
34000 cd libcpp || exit 1; \
34001 case $(srcdir) in \
34002 \.) \
34003 srcdiroption="--srcdir=."; \
34004 libsrcdir=".";; \
34005 /* | [A-Za-z]:[\\/]*) \
34006 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
34007 libsrcdir="$$s/libcpp";; \
34008 *) \
34009 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
34010 libsrcdir="$$s/libcpp";; \
34011 esac; \
34012 $(SHELL) $${libsrcdir}/configure \
34013 $(HOST_CONFIGARGS) $${srcdiroption} \
34014 @stage2_werror_flag@
34016 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
34017 all-stageprofile-libcpp: configure-stageprofile-libcpp
34018 @$(MAKE) stageprofile-start
34019 @r=`${PWD_COMMAND}`; export r; \
34020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34021 $(STAGE_HOST_EXPORTS) \
34022 cd libcpp && \
34023 $(MAKE) $(FLAGS_TO_PASS) \
34024 $(POSTSTAGE1_FLAGS_TO_PASS) \
34025 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34027 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
34028 clean-stageprofile-libcpp:
34029 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
34030 || exit 0 ; \
34031 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
34032 cd libcpp && \
34033 $(MAKE) $(FLAGS_TO_PASS) \
34034 $(POSTSTAGE1_FLAGS_TO_PASS) \
34035 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34036 @endif libcpp-bootstrap
34039 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
34040 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
34041 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
34043 maybe-configure-stageprofile-libiberty:
34044 maybe-all-stageprofile-libiberty:
34045 maybe-clean-stageprofile-libiberty:
34047 @if libiberty-bootstrap
34048 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
34049 configure-stageprofile-libiberty:
34050 @$(MAKE) stageprofile-start
34051 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34052 r=`${PWD_COMMAND}`; export r; \
34053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34054 $(STAGE_HOST_EXPORTS) \
34055 echo Configuring stage profile in libiberty ; \
34056 cd libiberty || exit 1; \
34057 case $(srcdir) in \
34058 \.) \
34059 srcdiroption="--srcdir=."; \
34060 libsrcdir=".";; \
34061 /* | [A-Za-z]:[\\/]*) \
34062 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
34063 libsrcdir="$$s/libiberty";; \
34064 *) \
34065 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
34066 libsrcdir="$$s/libiberty";; \
34067 esac; \
34068 $(SHELL) $${libsrcdir}/configure \
34069 $(HOST_CONFIGARGS) $${srcdiroption} \
34070 @stage2_werror_flag@
34072 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
34073 all-stageprofile-libiberty: configure-stageprofile-libiberty
34074 @$(MAKE) stageprofile-start
34075 @r=`${PWD_COMMAND}`; export r; \
34076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34077 $(STAGE_HOST_EXPORTS) \
34078 cd libiberty && \
34079 $(MAKE) $(FLAGS_TO_PASS) \
34080 $(POSTSTAGE1_FLAGS_TO_PASS) \
34081 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34083 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
34084 clean-stageprofile-libiberty:
34085 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
34086 || exit 0 ; \
34087 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
34088 cd libiberty && \
34089 $(MAKE) $(FLAGS_TO_PASS) \
34090 $(POSTSTAGE1_FLAGS_TO_PASS) \
34091 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34092 @endif libiberty-bootstrap
34095 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
34096 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
34097 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
34099 maybe-configure-stageprofile-zlib:
34100 maybe-all-stageprofile-zlib:
34101 maybe-clean-stageprofile-zlib:
34103 @if zlib-bootstrap
34104 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
34105 configure-stageprofile-zlib:
34106 @$(MAKE) stageprofile-start
34107 @[ -f zlib/Makefile ] && exit 0 || : ; \
34108 r=`${PWD_COMMAND}`; export r; \
34109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34110 $(STAGE_HOST_EXPORTS) \
34111 echo Configuring stage profile in zlib ; \
34112 cd zlib || exit 1; \
34113 case $(srcdir) in \
34114 \.) \
34115 srcdiroption="--srcdir=."; \
34116 libsrcdir=".";; \
34117 /* | [A-Za-z]:[\\/]*) \
34118 srcdiroption="--srcdir=$(srcdir)/zlib"; \
34119 libsrcdir="$$s/zlib";; \
34120 *) \
34121 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
34122 libsrcdir="$$s/zlib";; \
34123 esac; \
34124 $(SHELL) $${libsrcdir}/configure \
34125 $(HOST_CONFIGARGS) $${srcdiroption} \
34126 @stage2_werror_flag@
34128 maybe-all-stageprofile-zlib: all-stageprofile-zlib
34129 all-stageprofile-zlib: configure-stageprofile-zlib
34130 @$(MAKE) stageprofile-start
34131 @r=`${PWD_COMMAND}`; export r; \
34132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34133 $(STAGE_HOST_EXPORTS) \
34134 cd zlib && \
34135 $(MAKE) $(FLAGS_TO_PASS) \
34136 $(POSTSTAGE1_FLAGS_TO_PASS) \
34137 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34139 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
34140 clean-stageprofile-zlib:
34141 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
34142 || exit 0 ; \
34143 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
34144 cd zlib && \
34145 $(MAKE) $(FLAGS_TO_PASS) \
34146 $(POSTSTAGE1_FLAGS_TO_PASS) \
34147 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34148 @endif zlib-bootstrap
34152 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34153 # only possibility, but now it conflicts with no-bootstrap rules
34154 @if gcc-bootstrap
34159 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34160 distclean-stage1:: distclean-stageprofile
34161 .PHONY: distclean-stageprofile
34162 distclean-stageprofile::
34163 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34164 rm -rf stageprofile-*
34167 @endif gcc-bootstrap
34170 .PHONY: stagefeedback-start stagefeedback-end
34172 stagefeedback-start::
34173 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34174 echo stagefeedback > stage_current ; \
34175 echo stagefeedback > stage_last
34176 @if bfd
34177 @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
34178 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
34179 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
34180 @endif bfd
34181 @if opcodes
34182 @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
34183 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
34184 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
34185 @endif opcodes
34186 @if binutils
34187 @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
34188 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
34189 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
34190 @endif binutils
34191 @if gas
34192 @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
34193 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
34194 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
34195 @endif gas
34196 @if gcc
34197 @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
34198 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
34199 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
34200 @endif gcc
34201 @if intl
34202 @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
34203 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
34204 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
34205 @endif intl
34206 @if ld
34207 @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
34208 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
34209 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
34210 @endif ld
34211 @if libcpp
34212 @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
34213 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
34214 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
34215 @endif libcpp
34216 @if libiberty
34217 @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
34218 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
34219 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
34220 @endif libiberty
34221 @if zlib
34222 @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
34223 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
34224 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
34225 @endif zlib
34227 stagefeedback-end::
34228 @rm -f stage_current
34229 @if bfd
34230 @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
34231 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
34232 @endif bfd
34233 @if opcodes
34234 @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
34235 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
34236 @endif opcodes
34237 @if binutils
34238 @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
34239 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
34240 @endif binutils
34241 @if gas
34242 @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
34243 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
34244 @endif gas
34245 @if gcc
34246 @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
34247 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
34248 @endif gcc
34249 @if intl
34250 @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
34251 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
34252 @endif intl
34253 @if ld
34254 @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
34255 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
34256 @endif ld
34257 @if libcpp
34258 @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
34259 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
34260 @endif libcpp
34261 @if libiberty
34262 @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
34263 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
34264 @endif libiberty
34265 @if zlib
34266 @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
34267 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
34268 @endif zlib
34270 # Bubble a bugfix through all the stages up to stage feedback. They
34271 # are remade, but not reconfigured. The next stage (if any) will not
34272 # be reconfigured as well.
34273 .PHONY: stagefeedback-bubble
34274 stagefeedback-bubble:: stage1-bubble
34275 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
34276 echo Skipping rebuild of stagefeedback ; \
34277 else \
34278 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34281 .PHONY: all-stagefeedback clean-stagefeedback
34282 all-stagefeedback: \
34283 maybe-all-stagefeedback-bfd \
34284 maybe-all-stagefeedback-opcodes \
34285 maybe-all-stagefeedback-binutils \
34286 maybe-all-stagefeedback-gas \
34287 maybe-all-stagefeedback-gcc \
34288 maybe-all-stagefeedback-intl \
34289 maybe-all-stagefeedback-ld \
34290 maybe-all-stagefeedback-libcpp \
34291 maybe-all-stagefeedback-libiberty \
34292 maybe-all-stagefeedback-zlib
34294 do-clean: clean-stagefeedback
34295 clean-stagefeedback: \
34296 maybe-clean-stagefeedback-bfd \
34297 maybe-clean-stagefeedback-opcodes \
34298 maybe-clean-stagefeedback-binutils \
34299 maybe-clean-stagefeedback-gas \
34300 maybe-clean-stagefeedback-gcc \
34301 maybe-clean-stagefeedback-intl \
34302 maybe-clean-stagefeedback-ld \
34303 maybe-clean-stagefeedback-libcpp \
34304 maybe-clean-stagefeedback-libiberty \
34305 maybe-clean-stagefeedback-zlib
34308 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
34309 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
34310 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
34312 maybe-configure-stagefeedback-bfd:
34313 maybe-all-stagefeedback-bfd:
34314 maybe-clean-stagefeedback-bfd:
34316 @if bfd-bootstrap
34317 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
34318 configure-stagefeedback-bfd:
34319 @$(MAKE) stagefeedback-start
34320 @[ -f bfd/Makefile ] && exit 0 || : ; \
34321 r=`${PWD_COMMAND}`; export r; \
34322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34323 $(STAGE_HOST_EXPORTS) \
34324 echo Configuring stage feedback in bfd ; \
34325 cd bfd || exit 1; \
34326 case $(srcdir) in \
34327 \.) \
34328 srcdiroption="--srcdir=."; \
34329 libsrcdir=".";; \
34330 /* | [A-Za-z]:[\\/]*) \
34331 srcdiroption="--srcdir=$(srcdir)/bfd"; \
34332 libsrcdir="$$s/bfd";; \
34333 *) \
34334 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
34335 libsrcdir="$$s/bfd";; \
34336 esac; \
34337 $(SHELL) $${libsrcdir}/configure \
34338 $(HOST_CONFIGARGS) $${srcdiroption} \
34339 @stage2_werror_flag@
34341 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
34342 all-stagefeedback-bfd: configure-stagefeedback-bfd
34343 @$(MAKE) stagefeedback-start
34344 @r=`${PWD_COMMAND}`; export r; \
34345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34346 $(STAGE_HOST_EXPORTS) \
34347 cd bfd && \
34348 $(MAKE) $(FLAGS_TO_PASS) \
34349 $(POSTSTAGE1_FLAGS_TO_PASS) \
34350 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34352 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
34353 clean-stagefeedback-bfd:
34354 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
34355 || exit 0 ; \
34356 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
34357 cd bfd && \
34358 $(MAKE) $(FLAGS_TO_PASS) \
34359 $(POSTSTAGE1_FLAGS_TO_PASS) \
34360 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34361 @endif bfd-bootstrap
34364 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
34365 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
34366 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
34368 maybe-configure-stagefeedback-opcodes:
34369 maybe-all-stagefeedback-opcodes:
34370 maybe-clean-stagefeedback-opcodes:
34372 @if opcodes-bootstrap
34373 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
34374 configure-stagefeedback-opcodes:
34375 @$(MAKE) stagefeedback-start
34376 @[ -f opcodes/Makefile ] && exit 0 || : ; \
34377 r=`${PWD_COMMAND}`; export r; \
34378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34379 $(STAGE_HOST_EXPORTS) \
34380 echo Configuring stage feedback in opcodes ; \
34381 cd opcodes || exit 1; \
34382 case $(srcdir) in \
34383 \.) \
34384 srcdiroption="--srcdir=."; \
34385 libsrcdir=".";; \
34386 /* | [A-Za-z]:[\\/]*) \
34387 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
34388 libsrcdir="$$s/opcodes";; \
34389 *) \
34390 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
34391 libsrcdir="$$s/opcodes";; \
34392 esac; \
34393 $(SHELL) $${libsrcdir}/configure \
34394 $(HOST_CONFIGARGS) $${srcdiroption} \
34395 @stage2_werror_flag@
34397 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
34398 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
34399 @$(MAKE) stagefeedback-start
34400 @r=`${PWD_COMMAND}`; export r; \
34401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34402 $(STAGE_HOST_EXPORTS) \
34403 cd opcodes && \
34404 $(MAKE) $(FLAGS_TO_PASS) \
34405 $(POSTSTAGE1_FLAGS_TO_PASS) \
34406 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34408 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
34409 clean-stagefeedback-opcodes:
34410 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
34411 || exit 0 ; \
34412 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
34413 cd opcodes && \
34414 $(MAKE) $(FLAGS_TO_PASS) \
34415 $(POSTSTAGE1_FLAGS_TO_PASS) \
34416 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34417 @endif opcodes-bootstrap
34420 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
34421 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
34422 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
34424 maybe-configure-stagefeedback-binutils:
34425 maybe-all-stagefeedback-binutils:
34426 maybe-clean-stagefeedback-binutils:
34428 @if binutils-bootstrap
34429 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
34430 configure-stagefeedback-binutils:
34431 @$(MAKE) stagefeedback-start
34432 @[ -f binutils/Makefile ] && exit 0 || : ; \
34433 r=`${PWD_COMMAND}`; export r; \
34434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34435 $(STAGE_HOST_EXPORTS) \
34436 echo Configuring stage feedback in binutils ; \
34437 cd binutils || exit 1; \
34438 case $(srcdir) in \
34439 \.) \
34440 srcdiroption="--srcdir=."; \
34441 libsrcdir=".";; \
34442 /* | [A-Za-z]:[\\/]*) \
34443 srcdiroption="--srcdir=$(srcdir)/binutils"; \
34444 libsrcdir="$$s/binutils";; \
34445 *) \
34446 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
34447 libsrcdir="$$s/binutils";; \
34448 esac; \
34449 $(SHELL) $${libsrcdir}/configure \
34450 $(HOST_CONFIGARGS) $${srcdiroption} \
34451 @stage2_werror_flag@
34453 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
34454 all-stagefeedback-binutils: configure-stagefeedback-binutils
34455 @$(MAKE) stagefeedback-start
34456 @r=`${PWD_COMMAND}`; export r; \
34457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34458 $(STAGE_HOST_EXPORTS) \
34459 cd binutils && \
34460 $(MAKE) $(FLAGS_TO_PASS) \
34461 $(POSTSTAGE1_FLAGS_TO_PASS) \
34462 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34464 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
34465 clean-stagefeedback-binutils:
34466 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
34467 || exit 0 ; \
34468 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
34469 cd binutils && \
34470 $(MAKE) $(FLAGS_TO_PASS) \
34471 $(POSTSTAGE1_FLAGS_TO_PASS) \
34472 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34473 @endif binutils-bootstrap
34476 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
34477 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
34478 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
34480 maybe-configure-stagefeedback-gas:
34481 maybe-all-stagefeedback-gas:
34482 maybe-clean-stagefeedback-gas:
34484 @if gas-bootstrap
34485 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
34486 configure-stagefeedback-gas:
34487 @$(MAKE) stagefeedback-start
34488 @[ -f gas/Makefile ] && exit 0 || : ; \
34489 r=`${PWD_COMMAND}`; export r; \
34490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34491 $(STAGE_HOST_EXPORTS) \
34492 echo Configuring stage feedback in gas ; \
34493 cd gas || exit 1; \
34494 case $(srcdir) in \
34495 \.) \
34496 srcdiroption="--srcdir=."; \
34497 libsrcdir=".";; \
34498 /* | [A-Za-z]:[\\/]*) \
34499 srcdiroption="--srcdir=$(srcdir)/gas"; \
34500 libsrcdir="$$s/gas";; \
34501 *) \
34502 srcdiroption="--srcdir=../$(srcdir)/gas"; \
34503 libsrcdir="$$s/gas";; \
34504 esac; \
34505 $(SHELL) $${libsrcdir}/configure \
34506 $(HOST_CONFIGARGS) $${srcdiroption} \
34507 @stage2_werror_flag@
34509 maybe-all-stagefeedback-gas: all-stagefeedback-gas
34510 all-stagefeedback-gas: configure-stagefeedback-gas
34511 @$(MAKE) stagefeedback-start
34512 @r=`${PWD_COMMAND}`; export r; \
34513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34514 $(STAGE_HOST_EXPORTS) \
34515 cd gas && \
34516 $(MAKE) $(FLAGS_TO_PASS) \
34517 $(POSTSTAGE1_FLAGS_TO_PASS) \
34518 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34520 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
34521 clean-stagefeedback-gas:
34522 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
34523 || exit 0 ; \
34524 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
34525 cd gas && \
34526 $(MAKE) $(FLAGS_TO_PASS) \
34527 $(POSTSTAGE1_FLAGS_TO_PASS) \
34528 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34529 @endif gas-bootstrap
34532 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
34533 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
34534 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
34536 maybe-configure-stagefeedback-gcc:
34537 maybe-all-stagefeedback-gcc:
34538 maybe-clean-stagefeedback-gcc:
34540 @if gcc-bootstrap
34541 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
34542 configure-stagefeedback-gcc:
34543 @$(MAKE) stagefeedback-start
34544 @[ -f gcc/Makefile ] && exit 0 || : ; \
34545 r=`${PWD_COMMAND}`; export r; \
34546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34547 $(STAGE_HOST_EXPORTS) \
34548 echo Configuring stage feedback in gcc ; \
34549 cd gcc || exit 1; \
34550 case $(srcdir) in \
34551 \.) \
34552 srcdiroption="--srcdir=."; \
34553 libsrcdir=".";; \
34554 /* | [A-Za-z]:[\\/]*) \
34555 srcdiroption="--srcdir=$(srcdir)/gcc"; \
34556 libsrcdir="$$s/gcc";; \
34557 *) \
34558 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
34559 libsrcdir="$$s/gcc";; \
34560 esac; \
34561 $(SHELL) $${libsrcdir}/configure \
34562 $(HOST_CONFIGARGS) $${srcdiroption} \
34563 @stage2_werror_flag@
34565 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
34566 all-stagefeedback-gcc: configure-stagefeedback-gcc
34567 @$(MAKE) stagefeedback-start
34568 @r=`${PWD_COMMAND}`; export r; \
34569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34570 $(STAGE_HOST_EXPORTS) \
34571 cd gcc && \
34572 $(MAKE) $(FLAGS_TO_PASS) \
34573 $(POSTSTAGE1_FLAGS_TO_PASS) \
34574 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
34576 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
34577 clean-stagefeedback-gcc:
34578 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
34579 || exit 0 ; \
34580 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
34581 cd gcc && \
34582 $(MAKE) $(FLAGS_TO_PASS) \
34583 $(POSTSTAGE1_FLAGS_TO_PASS) \
34584 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
34585 @endif gcc-bootstrap
34588 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
34589 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
34590 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
34592 maybe-configure-stagefeedback-intl:
34593 maybe-all-stagefeedback-intl:
34594 maybe-clean-stagefeedback-intl:
34596 @if intl-bootstrap
34597 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
34598 configure-stagefeedback-intl:
34599 @$(MAKE) stagefeedback-start
34600 @[ -f intl/Makefile ] && exit 0 || : ; \
34601 r=`${PWD_COMMAND}`; export r; \
34602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34603 $(STAGE_HOST_EXPORTS) \
34604 echo Configuring stage feedback in intl ; \
34605 cd intl || exit 1; \
34606 case $(srcdir) in \
34607 \.) \
34608 srcdiroption="--srcdir=."; \
34609 libsrcdir=".";; \
34610 /* | [A-Za-z]:[\\/]*) \
34611 srcdiroption="--srcdir=$(srcdir)/intl"; \
34612 libsrcdir="$$s/intl";; \
34613 *) \
34614 srcdiroption="--srcdir=../$(srcdir)/intl"; \
34615 libsrcdir="$$s/intl";; \
34616 esac; \
34617 $(SHELL) $${libsrcdir}/configure \
34618 $(HOST_CONFIGARGS) $${srcdiroption} \
34619 @stage2_werror_flag@
34621 maybe-all-stagefeedback-intl: all-stagefeedback-intl
34622 all-stagefeedback-intl: configure-stagefeedback-intl
34623 @$(MAKE) stagefeedback-start
34624 @r=`${PWD_COMMAND}`; export r; \
34625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34626 $(STAGE_HOST_EXPORTS) \
34627 cd intl && \
34628 $(MAKE) $(FLAGS_TO_PASS) \
34629 $(POSTSTAGE1_FLAGS_TO_PASS) \
34630 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34632 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
34633 clean-stagefeedback-intl:
34634 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
34635 || exit 0 ; \
34636 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
34637 cd intl && \
34638 $(MAKE) $(FLAGS_TO_PASS) \
34639 $(POSTSTAGE1_FLAGS_TO_PASS) \
34640 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34641 @endif intl-bootstrap
34644 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
34645 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
34646 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
34648 maybe-configure-stagefeedback-ld:
34649 maybe-all-stagefeedback-ld:
34650 maybe-clean-stagefeedback-ld:
34652 @if ld-bootstrap
34653 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
34654 configure-stagefeedback-ld:
34655 @$(MAKE) stagefeedback-start
34656 @[ -f ld/Makefile ] && exit 0 || : ; \
34657 r=`${PWD_COMMAND}`; export r; \
34658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34659 $(STAGE_HOST_EXPORTS) \
34660 echo Configuring stage feedback in ld ; \
34661 cd ld || exit 1; \
34662 case $(srcdir) in \
34663 \.) \
34664 srcdiroption="--srcdir=."; \
34665 libsrcdir=".";; \
34666 /* | [A-Za-z]:[\\/]*) \
34667 srcdiroption="--srcdir=$(srcdir)/ld"; \
34668 libsrcdir="$$s/ld";; \
34669 *) \
34670 srcdiroption="--srcdir=../$(srcdir)/ld"; \
34671 libsrcdir="$$s/ld";; \
34672 esac; \
34673 $(SHELL) $${libsrcdir}/configure \
34674 $(HOST_CONFIGARGS) $${srcdiroption} \
34675 @stage2_werror_flag@
34677 maybe-all-stagefeedback-ld: all-stagefeedback-ld
34678 all-stagefeedback-ld: configure-stagefeedback-ld
34679 @$(MAKE) stagefeedback-start
34680 @r=`${PWD_COMMAND}`; export r; \
34681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34682 $(STAGE_HOST_EXPORTS) \
34683 cd ld && \
34684 $(MAKE) $(FLAGS_TO_PASS) \
34685 $(POSTSTAGE1_FLAGS_TO_PASS) \
34686 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34688 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
34689 clean-stagefeedback-ld:
34690 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
34691 || exit 0 ; \
34692 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
34693 cd ld && \
34694 $(MAKE) $(FLAGS_TO_PASS) \
34695 $(POSTSTAGE1_FLAGS_TO_PASS) \
34696 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34697 @endif ld-bootstrap
34700 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
34701 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
34702 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
34704 maybe-configure-stagefeedback-libcpp:
34705 maybe-all-stagefeedback-libcpp:
34706 maybe-clean-stagefeedback-libcpp:
34708 @if libcpp-bootstrap
34709 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
34710 configure-stagefeedback-libcpp:
34711 @$(MAKE) stagefeedback-start
34712 @[ -f libcpp/Makefile ] && exit 0 || : ; \
34713 r=`${PWD_COMMAND}`; export r; \
34714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34715 $(STAGE_HOST_EXPORTS) \
34716 echo Configuring stage feedback in libcpp ; \
34717 cd libcpp || exit 1; \
34718 case $(srcdir) in \
34719 \.) \
34720 srcdiroption="--srcdir=."; \
34721 libsrcdir=".";; \
34722 /* | [A-Za-z]:[\\/]*) \
34723 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
34724 libsrcdir="$$s/libcpp";; \
34725 *) \
34726 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
34727 libsrcdir="$$s/libcpp";; \
34728 esac; \
34729 $(SHELL) $${libsrcdir}/configure \
34730 $(HOST_CONFIGARGS) $${srcdiroption} \
34731 @stage2_werror_flag@
34733 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
34734 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
34735 @$(MAKE) stagefeedback-start
34736 @r=`${PWD_COMMAND}`; export r; \
34737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34738 $(STAGE_HOST_EXPORTS) \
34739 cd libcpp && \
34740 $(MAKE) $(FLAGS_TO_PASS) \
34741 $(POSTSTAGE1_FLAGS_TO_PASS) \
34742 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34744 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
34745 clean-stagefeedback-libcpp:
34746 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
34747 || exit 0 ; \
34748 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
34749 cd libcpp && \
34750 $(MAKE) $(FLAGS_TO_PASS) \
34751 $(POSTSTAGE1_FLAGS_TO_PASS) \
34752 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34753 @endif libcpp-bootstrap
34756 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
34757 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
34758 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
34760 maybe-configure-stagefeedback-libiberty:
34761 maybe-all-stagefeedback-libiberty:
34762 maybe-clean-stagefeedback-libiberty:
34764 @if libiberty-bootstrap
34765 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
34766 configure-stagefeedback-libiberty:
34767 @$(MAKE) stagefeedback-start
34768 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34769 r=`${PWD_COMMAND}`; export r; \
34770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34771 $(STAGE_HOST_EXPORTS) \
34772 echo Configuring stage feedback in libiberty ; \
34773 cd libiberty || exit 1; \
34774 case $(srcdir) in \
34775 \.) \
34776 srcdiroption="--srcdir=."; \
34777 libsrcdir=".";; \
34778 /* | [A-Za-z]:[\\/]*) \
34779 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
34780 libsrcdir="$$s/libiberty";; \
34781 *) \
34782 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
34783 libsrcdir="$$s/libiberty";; \
34784 esac; \
34785 $(SHELL) $${libsrcdir}/configure \
34786 $(HOST_CONFIGARGS) $${srcdiroption} \
34787 @stage2_werror_flag@
34789 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
34790 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
34791 @$(MAKE) stagefeedback-start
34792 @r=`${PWD_COMMAND}`; export r; \
34793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34794 $(STAGE_HOST_EXPORTS) \
34795 cd libiberty && \
34796 $(MAKE) $(FLAGS_TO_PASS) \
34797 $(POSTSTAGE1_FLAGS_TO_PASS) \
34798 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34800 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
34801 clean-stagefeedback-libiberty:
34802 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
34803 || exit 0 ; \
34804 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
34805 cd libiberty && \
34806 $(MAKE) $(FLAGS_TO_PASS) \
34807 $(POSTSTAGE1_FLAGS_TO_PASS) \
34808 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34809 @endif libiberty-bootstrap
34812 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
34813 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
34814 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
34816 maybe-configure-stagefeedback-zlib:
34817 maybe-all-stagefeedback-zlib:
34818 maybe-clean-stagefeedback-zlib:
34820 @if zlib-bootstrap
34821 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
34822 configure-stagefeedback-zlib:
34823 @$(MAKE) stagefeedback-start
34824 @[ -f zlib/Makefile ] && exit 0 || : ; \
34825 r=`${PWD_COMMAND}`; export r; \
34826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34827 $(STAGE_HOST_EXPORTS) \
34828 echo Configuring stage feedback in zlib ; \
34829 cd zlib || exit 1; \
34830 case $(srcdir) in \
34831 \.) \
34832 srcdiroption="--srcdir=."; \
34833 libsrcdir=".";; \
34834 /* | [A-Za-z]:[\\/]*) \
34835 srcdiroption="--srcdir=$(srcdir)/zlib"; \
34836 libsrcdir="$$s/zlib";; \
34837 *) \
34838 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
34839 libsrcdir="$$s/zlib";; \
34840 esac; \
34841 $(SHELL) $${libsrcdir}/configure \
34842 $(HOST_CONFIGARGS) $${srcdiroption} \
34843 @stage2_werror_flag@
34845 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
34846 all-stagefeedback-zlib: configure-stagefeedback-zlib
34847 @$(MAKE) stagefeedback-start
34848 @r=`${PWD_COMMAND}`; export r; \
34849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34850 $(STAGE_HOST_EXPORTS) \
34851 cd zlib && \
34852 $(MAKE) $(FLAGS_TO_PASS) \
34853 $(POSTSTAGE1_FLAGS_TO_PASS) \
34854 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34856 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
34857 clean-stagefeedback-zlib:
34858 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
34859 || exit 0 ; \
34860 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
34861 cd zlib && \
34862 $(MAKE) $(FLAGS_TO_PASS) \
34863 $(POSTSTAGE1_FLAGS_TO_PASS) \
34864 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34865 @endif zlib-bootstrap
34869 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34870 # only possibility, but now it conflicts with no-bootstrap rules
34871 @if gcc-bootstrap
34876 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34877 distclean-stage1:: distclean-stagefeedback
34878 .PHONY: distclean-stagefeedback
34879 distclean-stagefeedback::
34880 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34881 rm -rf stagefeedback-*
34884 @endif gcc-bootstrap
34888 stagefeedback-start::
34889 @r=`${PWD_COMMAND}`; export r; \
34890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34891 cd stageprofile-gcc && \
34892 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
34893 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
34895 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34896 # only possibility, but now it conflicts with no-bootstrap rules
34897 @if gcc-bootstrap
34898 profiledbootstrap:
34899 @r=`${PWD_COMMAND}`; export r; \
34900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34901 $(SET_LIB_PATH) \
34902 $(HOST_EXPORTS) \
34903 echo "Bootstrapping the compiler"; \
34904 $(MAKE) stageprofile-bubble distclean-stagefeedback
34905 @r=`${PWD_COMMAND}`; export r; \
34906 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
34907 $(SET_LIB_PATH) \
34908 echo "Building runtime libraries and training compiler"; \
34909 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
34910 @r=`${PWD_COMMAND}`; export r; \
34911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34912 $(SET_LIB_PATH) \
34913 $(HOST_EXPORTS) \
34914 echo "Building feedback based compiler"; \
34915 $(MAKE) stagefeedback-bubble stagefeedback-end
34916 @endif gcc-bootstrap
34918 @if gcc-bootstrap
34919 NOTPARALLEL = .NOTPARALLEL
34920 $(NOTPARALLEL):
34921 do-distclean: distclean-stage1
34922 @endif gcc-bootstrap
34924 # --------------------------------------
34925 # Dependencies between different modules
34926 # --------------------------------------
34928 # Generic dependencies for target modules on host stuff, especially gcc
34930 configure-target-libstdc++-v3: maybe-all-gcc
34932 configure-target-libmudflap: maybe-all-gcc
34934 configure-target-newlib: maybe-all-gcc
34936 configure-target-libgfortran: maybe-all-gcc
34938 configure-target-libobjc: maybe-all-gcc
34940 configure-target-libtermcap: maybe-all-gcc
34942 configure-target-winsup: maybe-all-gcc
34944 configure-target-libgloss: maybe-all-gcc
34946 configure-target-libiberty: maybe-all-gcc
34948 configure-target-gperf: maybe-all-gcc
34950 configure-target-examples: maybe-all-gcc
34952 configure-target-libffi: maybe-all-gcc
34954 configure-target-libjava: maybe-all-gcc
34956 configure-target-zlib: maybe-all-gcc
34958 configure-target-boehm-gc: maybe-all-gcc
34960 configure-target-qthreads: maybe-all-gcc
34962 configure-target-rda: maybe-all-gcc
34964 configure-target-libada: maybe-all-gcc
34968 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
34970 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
34971 configure-target-gperf: maybe-all-target-libstdc++-v3
34973 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
34975 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
34977 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
34979 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
34980 configure-target-libjava: maybe-all-target-libstdc++-v3
34982 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
34984 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
34986 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
34988 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
34990 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
34992 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
34994 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
34996 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
34999 # There are two types of dependencies here: 'hard' dependencies, where one
35000 # module simply won't build without the other; and 'soft' dependencies, where
35001 # if the depended-on module is missing, the depending module will do without
35002 # or find a substitute somewhere (perhaps installed). Soft dependencies
35003 # are made here to depend on a 'maybe-' target. If you're not sure,
35004 # it's safer to use a soft dependency.
35010 # With all the machinery above in place, it is pretty easy to generate
35011 # dependencies. Host dependencies are a bit more complex because we have
35012 # to check for bootstrap/prebootstrap dependencies. To resolve
35013 # prebootstrap dependencies, prebootstrap modules are gathered in
35014 # a hash table.
35015 all-build-bison: maybe-all-build-texinfo
35016 all-build-byacc: maybe-all-build-texinfo
35017 all-build-flex: maybe-all-build-texinfo
35018 all-build-flex: maybe-all-build-bison
35019 all-build-flex: maybe-all-build-byacc
35020 all-build-flex: maybe-all-build-m4
35021 all-build-libiberty: maybe-all-build-texinfo
35022 all-build-m4: maybe-all-build-texinfo
35023 all-build-fixincludes: maybe-all-build-libiberty
35024 configure-gcc: maybe-configure-intl
35026 configure-stage1-gcc: maybe-configure-stage1-intl
35027 configure-stage2-gcc: maybe-configure-stage2-intl
35028 configure-stage3-gcc: maybe-configure-stage3-intl
35029 configure-stage4-gcc: maybe-configure-stage4-intl
35030 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
35031 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
35032 configure-gcc: maybe-configure-binutils
35034 configure-stage1-gcc: maybe-configure-stage1-binutils
35035 configure-stage2-gcc: maybe-configure-stage2-binutils
35036 configure-stage3-gcc: maybe-configure-stage3-binutils
35037 configure-stage4-gcc: maybe-configure-stage4-binutils
35038 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
35039 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
35040 configure-gcc: maybe-configure-gas
35042 configure-stage1-gcc: maybe-configure-stage1-gas
35043 configure-stage2-gcc: maybe-configure-stage2-gas
35044 configure-stage3-gcc: maybe-configure-stage3-gas
35045 configure-stage4-gcc: maybe-configure-stage4-gas
35046 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
35047 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
35048 configure-gcc: maybe-configure-ld
35050 configure-stage1-gcc: maybe-configure-stage1-ld
35051 configure-stage2-gcc: maybe-configure-stage2-ld
35052 configure-stage3-gcc: maybe-configure-stage3-ld
35053 configure-stage4-gcc: maybe-configure-stage4-ld
35054 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
35055 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
35056 all-gcc: all-libiberty
35058 all-stage1-gcc: all-stage1-libiberty
35059 all-stage2-gcc: all-stage2-libiberty
35060 all-stage3-gcc: all-stage3-libiberty
35061 all-stage4-gcc: all-stage4-libiberty
35062 all-stageprofile-gcc: all-stageprofile-libiberty
35063 all-stagefeedback-gcc: all-stagefeedback-libiberty
35064 all-gcc: maybe-all-intl
35066 all-stage1-gcc: maybe-all-stage1-intl
35067 all-stage2-gcc: maybe-all-stage2-intl
35068 all-stage3-gcc: maybe-all-stage3-intl
35069 all-stage4-gcc: maybe-all-stage4-intl
35070 all-stageprofile-gcc: maybe-all-stageprofile-intl
35071 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35072 all-gcc: maybe-all-build-texinfo
35074 all-stage1-gcc: maybe-all-build-texinfo
35075 all-stage2-gcc: maybe-all-build-texinfo
35076 all-stage3-gcc: maybe-all-build-texinfo
35077 all-stage4-gcc: maybe-all-build-texinfo
35078 all-stageprofile-gcc: maybe-all-build-texinfo
35079 all-stagefeedback-gcc: maybe-all-build-texinfo
35080 all-prebootstrap: maybe-all-build-texinfo
35081 all-gcc: maybe-all-build-bison
35083 all-stage1-gcc: maybe-all-build-bison
35084 all-stage2-gcc: maybe-all-build-bison
35085 all-stage3-gcc: maybe-all-build-bison
35086 all-stage4-gcc: maybe-all-build-bison
35087 all-stageprofile-gcc: maybe-all-build-bison
35088 all-stagefeedback-gcc: maybe-all-build-bison
35089 all-prebootstrap: maybe-all-build-bison
35090 all-gcc: maybe-all-build-byacc
35092 all-stage1-gcc: maybe-all-build-byacc
35093 all-stage2-gcc: maybe-all-build-byacc
35094 all-stage3-gcc: maybe-all-build-byacc
35095 all-stage4-gcc: maybe-all-build-byacc
35096 all-stageprofile-gcc: maybe-all-build-byacc
35097 all-stagefeedback-gcc: maybe-all-build-byacc
35098 all-prebootstrap: maybe-all-build-byacc
35099 all-gcc: maybe-all-build-flex
35101 all-stage1-gcc: maybe-all-build-flex
35102 all-stage2-gcc: maybe-all-build-flex
35103 all-stage3-gcc: maybe-all-build-flex
35104 all-stage4-gcc: maybe-all-build-flex
35105 all-stageprofile-gcc: maybe-all-build-flex
35106 all-stagefeedback-gcc: maybe-all-build-flex
35107 all-prebootstrap: maybe-all-build-flex
35108 all-gcc: maybe-all-build-libiberty
35110 all-stage1-gcc: maybe-all-build-libiberty
35111 all-stage2-gcc: maybe-all-build-libiberty
35112 all-stage3-gcc: maybe-all-build-libiberty
35113 all-stage4-gcc: maybe-all-build-libiberty
35114 all-stageprofile-gcc: maybe-all-build-libiberty
35115 all-stagefeedback-gcc: maybe-all-build-libiberty
35116 all-prebootstrap: maybe-all-build-libiberty
35117 all-gcc: maybe-all-build-fixincludes
35119 all-stage1-gcc: maybe-all-build-fixincludes
35120 all-stage2-gcc: maybe-all-build-fixincludes
35121 all-stage3-gcc: maybe-all-build-fixincludes
35122 all-stage4-gcc: maybe-all-build-fixincludes
35123 all-stageprofile-gcc: maybe-all-build-fixincludes
35124 all-stagefeedback-gcc: maybe-all-build-fixincludes
35125 all-prebootstrap: maybe-all-build-fixincludes
35126 all-gcc: maybe-all-binutils
35128 all-stage1-gcc: maybe-all-stage1-binutils
35129 all-stage2-gcc: maybe-all-stage2-binutils
35130 all-stage3-gcc: maybe-all-stage3-binutils
35131 all-stage4-gcc: maybe-all-stage4-binutils
35132 all-stageprofile-gcc: maybe-all-stageprofile-binutils
35133 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35134 all-gcc: maybe-all-gas
35136 all-stage1-gcc: maybe-all-stage1-gas
35137 all-stage2-gcc: maybe-all-stage2-gas
35138 all-stage3-gcc: maybe-all-stage3-gas
35139 all-stage4-gcc: maybe-all-stage4-gas
35140 all-stageprofile-gcc: maybe-all-stageprofile-gas
35141 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
35142 all-gcc: maybe-all-ld
35144 all-stage1-gcc: maybe-all-stage1-ld
35145 all-stage2-gcc: maybe-all-stage2-ld
35146 all-stage3-gcc: maybe-all-stage3-ld
35147 all-stage4-gcc: maybe-all-stage4-ld
35148 all-stageprofile-gcc: maybe-all-stageprofile-ld
35149 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
35150 all-gcc: maybe-all-zlib
35152 all-stage1-gcc: maybe-all-stage1-zlib
35153 all-stage2-gcc: maybe-all-stage2-zlib
35154 all-stage3-gcc: maybe-all-stage3-zlib
35155 all-stage4-gcc: maybe-all-stage4-zlib
35156 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35157 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35158 all-gcc: all-libcpp
35160 all-stage1-gcc: all-stage1-libcpp
35161 all-stage2-gcc: all-stage2-libcpp
35162 all-stage3-gcc: all-stage3-libcpp
35163 all-stage4-gcc: all-stage4-libcpp
35164 all-stageprofile-gcc: all-stageprofile-libcpp
35165 all-stagefeedback-gcc: all-stagefeedback-libcpp
35166 all-gcc: maybe-all-libiberty
35168 all-stage1-gcc: maybe-all-stage1-libiberty
35169 all-stage2-gcc: maybe-all-stage2-libiberty
35170 all-stage3-gcc: maybe-all-stage3-libiberty
35171 all-stage4-gcc: maybe-all-stage4-libiberty
35172 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35173 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35174 all-gcc: maybe-all-fixincludes
35176 all-stage1-gcc: maybe-all-stage1-fixincludes
35177 all-stage2-gcc: maybe-all-stage2-fixincludes
35178 all-stage3-gcc: maybe-all-stage3-fixincludes
35179 all-stage4-gcc: maybe-all-stage4-fixincludes
35180 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
35181 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
35182 install-gcc: maybe-install-fixincludes
35183 configure-libcpp: configure-libiberty
35185 configure-stage1-libcpp: configure-stage1-libiberty
35186 configure-stage2-libcpp: configure-stage2-libiberty
35187 configure-stage3-libcpp: configure-stage3-libiberty
35188 configure-stage4-libcpp: configure-stage4-libiberty
35189 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35190 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35191 configure-libcpp: maybe-configure-intl
35193 configure-stage1-libcpp: maybe-configure-stage1-intl
35194 configure-stage2-libcpp: maybe-configure-stage2-intl
35195 configure-stage3-libcpp: maybe-configure-stage3-intl
35196 configure-stage4-libcpp: maybe-configure-stage4-intl
35197 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35198 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35199 all-libcpp: all-libiberty
35201 all-stage1-libcpp: all-stage1-libiberty
35202 all-stage2-libcpp: all-stage2-libiberty
35203 all-stage3-libcpp: all-stage3-libiberty
35204 all-stage4-libcpp: all-stage4-libiberty
35205 all-stageprofile-libcpp: all-stageprofile-libiberty
35206 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35207 all-libcpp: maybe-all-intl
35209 all-stage1-libcpp: maybe-all-stage1-intl
35210 all-stage2-libcpp: maybe-all-stage2-intl
35211 all-stage3-libcpp: maybe-all-stage3-intl
35212 all-stage4-libcpp: maybe-all-stage4-intl
35213 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35214 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35215 all-fixincludes: maybe-all-libiberty
35216 configure-gdb: maybe-configure-itcl
35217 configure-gdb: maybe-configure-tcl
35218 configure-gdb: maybe-configure-tk
35219 configure-gdb: maybe-configure-sim
35220 all-gdb: maybe-all-libiberty
35221 all-gdb: maybe-all-opcodes
35222 all-gdb: maybe-all-bfd
35223 all-gdb: maybe-all-readline
35224 all-gdb: maybe-all-build-bison
35225 all-gdb: maybe-all-build-byacc
35226 all-gdb: maybe-all-sim
35227 install-gdb: maybe-install-tcl
35228 install-gdb: maybe-install-tk
35229 install-gdb: maybe-install-itcl
35230 install-gdb: maybe-install-libgui
35231 configure-libgui: maybe-configure-tcl
35232 configure-libgui: maybe-configure-tk
35233 all-libgui: maybe-all-tcl
35234 all-libgui: maybe-all-tk
35235 all-libgui: maybe-all-itcl
35236 configure-bfd: configure-libiberty
35238 configure-stage1-bfd: configure-stage1-libiberty
35239 configure-stage2-bfd: configure-stage2-libiberty
35240 configure-stage3-bfd: configure-stage3-libiberty
35241 configure-stage4-bfd: configure-stage4-libiberty
35242 configure-stageprofile-bfd: configure-stageprofile-libiberty
35243 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35244 all-bfd: maybe-all-libiberty
35246 all-stage1-bfd: maybe-all-stage1-libiberty
35247 all-stage2-bfd: maybe-all-stage2-libiberty
35248 all-stage3-bfd: maybe-all-stage3-libiberty
35249 all-stage4-bfd: maybe-all-stage4-libiberty
35250 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35251 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35252 all-bfd: maybe-all-intl
35254 all-stage1-bfd: maybe-all-stage1-intl
35255 all-stage2-bfd: maybe-all-stage2-intl
35256 all-stage3-bfd: maybe-all-stage3-intl
35257 all-stage4-bfd: maybe-all-stage4-intl
35258 all-stageprofile-bfd: maybe-all-stageprofile-intl
35259 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35260 all-binutils: maybe-all-libiberty
35262 all-stage1-binutils: maybe-all-stage1-libiberty
35263 all-stage2-binutils: maybe-all-stage2-libiberty
35264 all-stage3-binutils: maybe-all-stage3-libiberty
35265 all-stage4-binutils: maybe-all-stage4-libiberty
35266 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35267 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35268 all-binutils: maybe-all-opcodes
35270 all-stage1-binutils: maybe-all-stage1-opcodes
35271 all-stage2-binutils: maybe-all-stage2-opcodes
35272 all-stage3-binutils: maybe-all-stage3-opcodes
35273 all-stage4-binutils: maybe-all-stage4-opcodes
35274 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35275 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35276 all-binutils: maybe-all-bfd
35278 all-stage1-binutils: maybe-all-stage1-bfd
35279 all-stage2-binutils: maybe-all-stage2-bfd
35280 all-stage3-binutils: maybe-all-stage3-bfd
35281 all-stage4-binutils: maybe-all-stage4-bfd
35282 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35283 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35284 all-binutils: maybe-all-build-flex
35286 all-stage1-binutils: maybe-all-build-flex
35287 all-stage2-binutils: maybe-all-build-flex
35288 all-stage3-binutils: maybe-all-build-flex
35289 all-stage4-binutils: maybe-all-build-flex
35290 all-stageprofile-binutils: maybe-all-build-flex
35291 all-stagefeedback-binutils: maybe-all-build-flex
35292 all-prebootstrap: maybe-all-build-flex
35293 all-binutils: maybe-all-build-bison
35295 all-stage1-binutils: maybe-all-build-bison
35296 all-stage2-binutils: maybe-all-build-bison
35297 all-stage3-binutils: maybe-all-build-bison
35298 all-stage4-binutils: maybe-all-build-bison
35299 all-stageprofile-binutils: maybe-all-build-bison
35300 all-stagefeedback-binutils: maybe-all-build-bison
35301 all-prebootstrap: maybe-all-build-bison
35302 all-binutils: maybe-all-build-byacc
35304 all-stage1-binutils: maybe-all-build-byacc
35305 all-stage2-binutils: maybe-all-build-byacc
35306 all-stage3-binutils: maybe-all-build-byacc
35307 all-stage4-binutils: maybe-all-build-byacc
35308 all-stageprofile-binutils: maybe-all-build-byacc
35309 all-stagefeedback-binutils: maybe-all-build-byacc
35310 all-prebootstrap: maybe-all-build-byacc
35311 all-binutils: maybe-all-intl
35313 all-stage1-binutils: maybe-all-stage1-intl
35314 all-stage2-binutils: maybe-all-stage2-intl
35315 all-stage3-binutils: maybe-all-stage3-intl
35316 all-stage4-binutils: maybe-all-stage4-intl
35317 all-stageprofile-binutils: maybe-all-stageprofile-intl
35318 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35319 install-binutils: maybe-install-opcodes
35320 install-opcodes: maybe-install-bfd
35321 all-gas: maybe-all-libiberty
35323 all-stage1-gas: maybe-all-stage1-libiberty
35324 all-stage2-gas: maybe-all-stage2-libiberty
35325 all-stage3-gas: maybe-all-stage3-libiberty
35326 all-stage4-gas: maybe-all-stage4-libiberty
35327 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35328 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35329 all-gas: maybe-all-opcodes
35331 all-stage1-gas: maybe-all-stage1-opcodes
35332 all-stage2-gas: maybe-all-stage2-opcodes
35333 all-stage3-gas: maybe-all-stage3-opcodes
35334 all-stage4-gas: maybe-all-stage4-opcodes
35335 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35336 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35337 all-gas: maybe-all-bfd
35339 all-stage1-gas: maybe-all-stage1-bfd
35340 all-stage2-gas: maybe-all-stage2-bfd
35341 all-stage3-gas: maybe-all-stage3-bfd
35342 all-stage4-gas: maybe-all-stage4-bfd
35343 all-stageprofile-gas: maybe-all-stageprofile-bfd
35344 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35345 all-gas: maybe-all-intl
35347 all-stage1-gas: maybe-all-stage1-intl
35348 all-stage2-gas: maybe-all-stage2-intl
35349 all-stage3-gas: maybe-all-stage3-intl
35350 all-stage4-gas: maybe-all-stage4-intl
35351 all-stageprofile-gas: maybe-all-stageprofile-intl
35352 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35353 all-gprof: maybe-all-libiberty
35354 all-gprof: maybe-all-bfd
35355 all-gprof: maybe-all-opcodes
35356 all-gprof: maybe-all-intl
35357 all-ld: maybe-all-libiberty
35359 all-stage1-ld: maybe-all-stage1-libiberty
35360 all-stage2-ld: maybe-all-stage2-libiberty
35361 all-stage3-ld: maybe-all-stage3-libiberty
35362 all-stage4-ld: maybe-all-stage4-libiberty
35363 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35364 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35365 all-ld: maybe-all-bfd
35367 all-stage1-ld: maybe-all-stage1-bfd
35368 all-stage2-ld: maybe-all-stage2-bfd
35369 all-stage3-ld: maybe-all-stage3-bfd
35370 all-stage4-ld: maybe-all-stage4-bfd
35371 all-stageprofile-ld: maybe-all-stageprofile-bfd
35372 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35373 all-ld: maybe-all-opcodes
35375 all-stage1-ld: maybe-all-stage1-opcodes
35376 all-stage2-ld: maybe-all-stage2-opcodes
35377 all-stage3-ld: maybe-all-stage3-opcodes
35378 all-stage4-ld: maybe-all-stage4-opcodes
35379 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35380 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35381 all-ld: maybe-all-build-bison
35383 all-stage1-ld: maybe-all-build-bison
35384 all-stage2-ld: maybe-all-build-bison
35385 all-stage3-ld: maybe-all-build-bison
35386 all-stage4-ld: maybe-all-build-bison
35387 all-stageprofile-ld: maybe-all-build-bison
35388 all-stagefeedback-ld: maybe-all-build-bison
35389 all-prebootstrap: maybe-all-build-bison
35390 all-ld: maybe-all-build-byacc
35392 all-stage1-ld: maybe-all-build-byacc
35393 all-stage2-ld: maybe-all-build-byacc
35394 all-stage3-ld: maybe-all-build-byacc
35395 all-stage4-ld: maybe-all-build-byacc
35396 all-stageprofile-ld: maybe-all-build-byacc
35397 all-stagefeedback-ld: maybe-all-build-byacc
35398 all-prebootstrap: maybe-all-build-byacc
35399 all-ld: maybe-all-build-flex
35401 all-stage1-ld: maybe-all-build-flex
35402 all-stage2-ld: maybe-all-build-flex
35403 all-stage3-ld: maybe-all-build-flex
35404 all-stage4-ld: maybe-all-build-flex
35405 all-stageprofile-ld: maybe-all-build-flex
35406 all-stagefeedback-ld: maybe-all-build-flex
35407 all-prebootstrap: maybe-all-build-flex
35408 all-ld: maybe-all-intl
35410 all-stage1-ld: maybe-all-stage1-intl
35411 all-stage2-ld: maybe-all-stage2-intl
35412 all-stage3-ld: maybe-all-stage3-intl
35413 all-stage4-ld: maybe-all-stage4-intl
35414 all-stageprofile-ld: maybe-all-stageprofile-intl
35415 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35416 all-opcodes: maybe-all-bfd
35418 all-stage1-opcodes: maybe-all-stage1-bfd
35419 all-stage2-opcodes: maybe-all-stage2-bfd
35420 all-stage3-opcodes: maybe-all-stage3-bfd
35421 all-stage4-opcodes: maybe-all-stage4-bfd
35422 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35423 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35424 all-opcodes: maybe-all-libiberty
35426 all-stage1-opcodes: maybe-all-stage1-libiberty
35427 all-stage2-opcodes: maybe-all-stage2-libiberty
35428 all-stage3-opcodes: maybe-all-stage3-libiberty
35429 all-stage4-opcodes: maybe-all-stage4-libiberty
35430 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35431 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35432 all-dejagnu: maybe-all-tcl
35433 all-dejagnu: maybe-all-expect
35434 all-dejagnu: maybe-all-tk
35435 configure-expect: maybe-configure-tcl
35436 configure-expect: maybe-configure-tk
35437 all-expect: maybe-all-tcl
35438 all-expect: maybe-all-tk
35439 configure-itcl: maybe-configure-tcl
35440 configure-itcl: maybe-configure-tk
35441 all-itcl: maybe-all-tcl
35442 all-itcl: maybe-all-tk
35443 install-itcl: maybe-install-tcl
35444 configure-tk: maybe-configure-tcl
35445 all-tk: maybe-all-tcl
35446 all-sid: maybe-all-libiberty
35447 all-sid: maybe-all-bfd
35448 all-sid: maybe-all-opcodes
35449 all-sid: maybe-all-tcl
35450 all-sid: maybe-all-tk
35451 install-sid: maybe-install-tcl
35452 install-sid: maybe-install-tk
35453 all-sim: maybe-all-libiberty
35454 all-sim: maybe-all-bfd
35455 all-sim: maybe-all-opcodes
35456 all-sim: maybe-all-readline
35457 all-sim: maybe-configure-gdb
35458 all-fastjar: maybe-all-zlib
35459 all-fastjar: maybe-all-build-texinfo
35460 all-fastjar: maybe-all-libiberty
35461 all-autoconf: maybe-all-m4
35462 all-autoconf: maybe-all-build-texinfo
35463 all-automake: maybe-all-m4
35464 all-automake: maybe-all-build-texinfo
35465 all-automake: maybe-all-autoconf
35466 all-bison: maybe-all-intl
35467 all-bison: maybe-all-build-texinfo
35468 all-diff: maybe-all-intl
35469 all-diff: maybe-all-build-texinfo
35470 all-fileutils: maybe-all-intl
35471 all-fileutils: maybe-all-build-texinfo
35472 all-flex: maybe-all-build-bison
35473 all-flex: maybe-all-build-byacc
35474 all-flex: maybe-all-intl
35475 all-flex: maybe-all-m4
35476 all-flex: maybe-all-build-texinfo
35477 all-gzip: maybe-all-intl
35478 all-gzip: maybe-all-zlib
35479 all-gzip: maybe-all-build-texinfo
35480 all-hello: maybe-all-intl
35481 all-hello: maybe-all-build-texinfo
35482 all-m4: maybe-all-intl
35483 all-m4: maybe-all-build-texinfo
35484 all-make: maybe-all-intl
35485 all-make: maybe-all-build-texinfo
35486 all-patch: maybe-all-build-texinfo
35487 all-make: maybe-all-build-texinfo
35488 all-prms: maybe-all-libiberty
35489 all-recode: maybe-all-build-texinfo
35490 all-sed: maybe-all-build-texinfo
35491 all-send-pr: maybe-all-prms
35492 all-tar: maybe-all-build-texinfo
35493 all-uudecode: maybe-all-build-texinfo
35494 configure-target-boehm-gc: maybe-configure-target-qthreads
35495 configure-target-fastjar: maybe-configure-target-zlib
35496 all-target-fastjar: maybe-all-target-zlib
35497 all-target-fastjar: maybe-all-target-libiberty
35498 configure-target-libjava: maybe-configure-target-zlib
35499 configure-target-libjava: maybe-configure-target-boehm-gc
35500 configure-target-libjava: maybe-configure-target-qthreads
35501 configure-target-libjava: maybe-configure-target-libffi
35502 all-target-libjava: maybe-all-fastjar
35503 all-target-libjava: maybe-all-target-zlib
35504 all-target-libjava: maybe-all-target-boehm-gc
35505 all-target-libjava: maybe-all-target-qthreads
35506 all-target-libjava: maybe-all-target-libffi
35507 all-target-libobjc: maybe-all-target-libiberty
35508 all-target-libstdc++-v3: maybe-all-target-libiberty
35509 all-target-libgloss: maybe-configure-target-newlib
35510 all-target-winsup: maybe-all-target-libiberty
35511 all-target-winsup: maybe-all-target-libtermcap
35514 # Non-toplevel bootstrap rules must depend on several packages, to be built
35515 # before gcc. Another wart that will go away, hopefully soon.
35516 @if gcc-no-bootstrap
35518 all-prebootstrap: maybe-all-bfd
35519 all-prebootstrap: maybe-all-opcodes
35520 all-prebootstrap: maybe-all-binutils
35521 all-prebootstrap: maybe-all-gas
35522 all-prebootstrap: maybe-all-intl
35523 all-prebootstrap: maybe-all-ld
35524 all-prebootstrap: maybe-all-libcpp
35525 all-prebootstrap: maybe-all-libiberty
35526 all-prebootstrap: maybe-all-zlib
35527 @endif gcc-no-bootstrap
35529 GDB_TK = @GDB_TK@
35530 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35532 # Serialization dependencies. Host configures don't work well in parallel to
35533 # each other, due to contention over config.cache. Target configures and
35534 # build configures are similar.
35535 @serialization_dependencies@
35537 # --------------------------------
35538 # Regenerating top level configury
35539 # --------------------------------
35541 # Multilib.out tells target dirs what multilibs they should build.
35542 # There is really only one copy. We use the 'timestamp' method to
35543 # work around various timestamp bugs on some systems.
35544 # We use move-if-change so that it's only considered updated when it
35545 # actually changes, because it has to depend on a phony target.
35546 multilib.out: maybe-all-gcc
35547 @r=`${PWD_COMMAND}`; export r; \
35548 echo "Checking multilib configuration..."; \
35549 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35550 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35552 # Rebuilding Makefile.in, using autogen.
35553 AUTOGEN = autogen
35554 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35555 cd $(srcdir) && $(AUTOGEN) Makefile.def
35557 # Rebuilding Makefile.
35558 Makefile: $(srcdir)/Makefile.in config.status
35559 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35561 config.status: configure $(gcc_version_trigger)
35562 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35564 # Rebuilding configure.
35565 AUTOCONF = autoconf
35566 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35567 cd $(srcdir) && $(AUTOCONF)
35569 # ------------------------------
35570 # Special directives to GNU Make
35571 # ------------------------------
35573 # Don't pass command-line variables to submakes.
35574 .NOEXPORT:
35575 MAKEOVERRIDES=
35577 # end of Makefile.in