* config/rs6000/rs6000.c (rs6000_return_in_memory): Allow Altivec
[official-gcc.git] / Makefile.in
blobf5fb04806e93652ea094ad9cfdb66ec1696d3695
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
1832 # Check target.
1834 .PHONY: check do-check
1835 check: do-check
1837 # Only include modules actually being configured and built.
1838 do-check: unstage \
1839 maybe-check-ash \
1840 maybe-check-autoconf \
1841 maybe-check-automake \
1842 maybe-check-bash \
1843 maybe-check-bfd \
1844 maybe-check-opcodes \
1845 maybe-check-binutils \
1846 maybe-check-bison \
1847 maybe-check-byacc \
1848 maybe-check-bzip2 \
1849 maybe-check-dejagnu \
1850 maybe-check-diff \
1851 maybe-check-dosutils \
1852 maybe-check-etc \
1853 maybe-check-fastjar \
1854 maybe-check-fileutils \
1855 maybe-check-findutils \
1856 maybe-check-find \
1857 maybe-check-fixincludes \
1858 maybe-check-flex \
1859 maybe-check-gas \
1860 maybe-check-gcc \
1861 maybe-check-gawk \
1862 maybe-check-gettext \
1863 maybe-check-gnuserv \
1864 maybe-check-gprof \
1865 maybe-check-gzip \
1866 maybe-check-hello \
1867 maybe-check-indent \
1868 maybe-check-intl \
1869 maybe-check-tcl \
1870 maybe-check-itcl \
1871 maybe-check-ld \
1872 maybe-check-libcpp \
1873 maybe-check-libgui \
1874 maybe-check-libiberty \
1875 maybe-check-libtool \
1876 maybe-check-m4 \
1877 maybe-check-make \
1878 maybe-check-mmalloc \
1879 maybe-check-patch \
1880 maybe-check-perl \
1881 maybe-check-prms \
1882 maybe-check-rcs \
1883 maybe-check-readline \
1884 maybe-check-release \
1885 maybe-check-recode \
1886 maybe-check-sed \
1887 maybe-check-send-pr \
1888 maybe-check-shellutils \
1889 maybe-check-sid \
1890 maybe-check-sim \
1891 maybe-check-tar \
1892 maybe-check-texinfo \
1893 maybe-check-textutils \
1894 maybe-check-time \
1895 maybe-check-uudecode \
1896 maybe-check-wdiff \
1897 maybe-check-zip \
1898 maybe-check-zlib \
1899 maybe-check-gdb \
1900 maybe-check-expect \
1901 maybe-check-guile \
1902 maybe-check-tk \
1903 maybe-check-libtermcap \
1904 maybe-check-utils \
1905 maybe-check-target-libstdc++-v3 \
1906 maybe-check-target-libmudflap \
1907 maybe-check-target-newlib \
1908 maybe-check-target-libgfortran \
1909 maybe-check-target-libobjc \
1910 maybe-check-target-libtermcap \
1911 maybe-check-target-winsup \
1912 maybe-check-target-libgloss \
1913 maybe-check-target-libiberty \
1914 maybe-check-target-gperf \
1915 maybe-check-target-examples \
1916 maybe-check-target-libffi \
1917 maybe-check-target-libjava \
1918 maybe-check-target-zlib \
1919 maybe-check-target-boehm-gc \
1920 maybe-check-target-qthreads \
1921 maybe-check-target-rda \
1922 maybe-check-target-libada stage
1924 # Automated reporting of test results.
1926 warning.log: build.log
1927 $(srcdir)/contrib/warn_summary build.log > $@
1929 mail-report.log:
1930 if test x'$(BOOT_CFLAGS)' != x''; then \
1931 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1932 fi; \
1933 $(srcdir)/contrib/test_summary -t >$@
1934 chmod +x $@
1935 echo If you really want to send e-mail, run ./$@ now
1937 mail-report-with-warnings.log: warning.log
1938 if test x'$(BOOT_CFLAGS)' != x''; then \
1939 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1940 fi; \
1941 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1942 chmod +x $@
1943 echo If you really want to send e-mail, run ./$@ now
1945 # Installation targets.
1947 .PHONY: install uninstall
1948 install: installdirs install-host install-target
1950 .PHONY: install-host-nogcc
1951 install-host-nogcc: \
1952 maybe-install-ash \
1953 maybe-install-autoconf \
1954 maybe-install-automake \
1955 maybe-install-bash \
1956 maybe-install-bfd \
1957 maybe-install-opcodes \
1958 maybe-install-binutils \
1959 maybe-install-bison \
1960 maybe-install-byacc \
1961 maybe-install-bzip2 \
1962 maybe-install-dejagnu \
1963 maybe-install-diff \
1964 maybe-install-dosutils \
1965 maybe-install-etc \
1966 maybe-install-fastjar \
1967 maybe-install-fileutils \
1968 maybe-install-findutils \
1969 maybe-install-find \
1970 maybe-install-fixincludes \
1971 maybe-install-flex \
1972 maybe-install-gas \
1973 maybe-install-gawk \
1974 maybe-install-gettext \
1975 maybe-install-gnuserv \
1976 maybe-install-gprof \
1977 maybe-install-gzip \
1978 maybe-install-hello \
1979 maybe-install-indent \
1980 maybe-install-intl \
1981 maybe-install-tcl \
1982 maybe-install-itcl \
1983 maybe-install-ld \
1984 maybe-install-libcpp \
1985 maybe-install-libgui \
1986 maybe-install-libiberty \
1987 maybe-install-libtool \
1988 maybe-install-m4 \
1989 maybe-install-make \
1990 maybe-install-mmalloc \
1991 maybe-install-patch \
1992 maybe-install-perl \
1993 maybe-install-prms \
1994 maybe-install-rcs \
1995 maybe-install-readline \
1996 maybe-install-release \
1997 maybe-install-recode \
1998 maybe-install-sed \
1999 maybe-install-send-pr \
2000 maybe-install-shellutils \
2001 maybe-install-sid \
2002 maybe-install-sim \
2003 maybe-install-tar \
2004 maybe-install-texinfo \
2005 maybe-install-textutils \
2006 maybe-install-time \
2007 maybe-install-uudecode \
2008 maybe-install-wdiff \
2009 maybe-install-zip \
2010 maybe-install-zlib \
2011 maybe-install-gdb \
2012 maybe-install-expect \
2013 maybe-install-guile \
2014 maybe-install-tk \
2015 maybe-install-libtermcap \
2016 maybe-install-utils
2018 .PHONY: install-host
2019 install-host: \
2020 maybe-install-ash \
2021 maybe-install-autoconf \
2022 maybe-install-automake \
2023 maybe-install-bash \
2024 maybe-install-bfd \
2025 maybe-install-opcodes \
2026 maybe-install-binutils \
2027 maybe-install-bison \
2028 maybe-install-byacc \
2029 maybe-install-bzip2 \
2030 maybe-install-dejagnu \
2031 maybe-install-diff \
2032 maybe-install-dosutils \
2033 maybe-install-etc \
2034 maybe-install-fastjar \
2035 maybe-install-fileutils \
2036 maybe-install-findutils \
2037 maybe-install-find \
2038 maybe-install-fixincludes \
2039 maybe-install-flex \
2040 maybe-install-gas \
2041 maybe-install-gcc \
2042 maybe-install-gawk \
2043 maybe-install-gettext \
2044 maybe-install-gnuserv \
2045 maybe-install-gprof \
2046 maybe-install-gzip \
2047 maybe-install-hello \
2048 maybe-install-indent \
2049 maybe-install-intl \
2050 maybe-install-tcl \
2051 maybe-install-itcl \
2052 maybe-install-ld \
2053 maybe-install-libcpp \
2054 maybe-install-libgui \
2055 maybe-install-libiberty \
2056 maybe-install-libtool \
2057 maybe-install-m4 \
2058 maybe-install-make \
2059 maybe-install-mmalloc \
2060 maybe-install-patch \
2061 maybe-install-perl \
2062 maybe-install-prms \
2063 maybe-install-rcs \
2064 maybe-install-readline \
2065 maybe-install-release \
2066 maybe-install-recode \
2067 maybe-install-sed \
2068 maybe-install-send-pr \
2069 maybe-install-shellutils \
2070 maybe-install-sid \
2071 maybe-install-sim \
2072 maybe-install-tar \
2073 maybe-install-texinfo \
2074 maybe-install-textutils \
2075 maybe-install-time \
2076 maybe-install-uudecode \
2077 maybe-install-wdiff \
2078 maybe-install-zip \
2079 maybe-install-zlib \
2080 maybe-install-gdb \
2081 maybe-install-expect \
2082 maybe-install-guile \
2083 maybe-install-tk \
2084 maybe-install-libtermcap \
2085 maybe-install-utils
2087 .PHONY: install-target
2088 install-target: \
2089 maybe-install-target-libstdc++-v3 \
2090 maybe-install-target-libmudflap \
2091 maybe-install-target-newlib \
2092 maybe-install-target-libgfortran \
2093 maybe-install-target-libobjc \
2094 maybe-install-target-libtermcap \
2095 maybe-install-target-winsup \
2096 maybe-install-target-libgloss \
2097 maybe-install-target-libiberty \
2098 maybe-install-target-gperf \
2099 maybe-install-target-examples \
2100 maybe-install-target-libffi \
2101 maybe-install-target-libjava \
2102 maybe-install-target-zlib \
2103 maybe-install-target-boehm-gc \
2104 maybe-install-target-qthreads \
2105 maybe-install-target-rda \
2106 maybe-install-target-libada
2108 uninstall:
2109 @echo "the uninstall target is not supported in this tree"
2111 .PHONY: install.all
2112 install.all: install-no-fixedincludes
2113 @if [ -f ./gcc/Makefile ] ; then \
2114 r=`${PWD_COMMAND}` ; export r ; \
2115 $(SET_LIB_PATH) \
2116 $(HOST_EXPORTS) \
2117 (cd ./gcc && \
2118 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2119 else \
2120 true ; \
2123 # install-no-fixedincludes is used because Cygnus can not distribute
2124 # the fixed header files.
2125 .PHONY: install-no-fixedincludes
2126 install-no-fixedincludes: installdirs install-host-nogcc \
2127 install-target gcc-no-fixedincludes
2129 ### other supporting targets
2131 MAKEDIRS= \
2132 $(DESTDIR)$(prefix) \
2133 $(DESTDIR)$(exec_prefix)
2134 .PHONY: installdirs
2135 installdirs: mkinstalldirs
2136 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2138 dir.info: do-install-info
2139 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2140 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2141 mv -f dir.info.new dir.info ; \
2142 else true ; \
2145 dist:
2146 @echo "Building a full distribution of this tree isn't done"
2147 @echo "via 'make dist'. Check out the etc/ subdirectory"
2149 etags tags: TAGS
2151 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2152 # ability to use several tags files at once, so there is probably no need
2153 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2154 # (if we felt like it) have this Makefile write a piece of elisp which
2155 # the user could load to tell emacs19 where all the TAGS files we just
2156 # built are.
2157 TAGS: do-TAGS
2159 # --------------------------------------
2160 # Modules which run on the build machine
2161 # --------------------------------------
2163 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2164 maybe-configure-build-libiberty:
2165 @if build-libiberty
2166 maybe-configure-build-libiberty: configure-build-libiberty
2167 configure-build-libiberty:
2168 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2169 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2170 r=`${PWD_COMMAND}`; export r; \
2171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2172 $(BUILD_EXPORTS) \
2173 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2174 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2175 case $(srcdir) in \
2176 /* | [A-Za-z]:[\\/]*) \
2177 topdir=$(srcdir) ;; \
2178 *) \
2179 case "$(BUILD_SUBDIR)" in \
2180 .) topdir="../$(srcdir)" ;; \
2181 *) topdir="../../$(srcdir)" ;; \
2182 esac ;; \
2183 esac; \
2184 if [ "$(srcdir)" = "." ] ; then \
2185 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2186 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2187 if [ -f Makefile ]; then \
2188 if $(MAKE) distclean; then \
2189 true; \
2190 else \
2191 exit 1; \
2192 fi; \
2193 else \
2194 true; \
2195 fi; \
2196 else \
2197 exit 1; \
2198 fi; \
2199 else \
2200 true; \
2201 fi; \
2202 srcdiroption="--srcdir=."; \
2203 libsrcdir="."; \
2204 else \
2205 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2206 libsrcdir="$$s/libiberty"; \
2207 fi; \
2208 rm -f no-such-file || : ; \
2209 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2210 $(BUILD_CONFIGARGS) $${srcdiroption} \
2211 --with-build-subdir="$(BUILD_SUBDIR)" \
2212 || exit 1
2213 @endif build-libiberty
2215 .PHONY: all-build-libiberty maybe-all-build-libiberty
2216 maybe-all-build-libiberty:
2217 @if build-libiberty
2218 TARGET-build-libiberty=all
2219 maybe-all-build-libiberty: all-build-libiberty
2220 all-build-libiberty: configure-build-libiberty
2221 @r=`${PWD_COMMAND}`; export r; \
2222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2223 $(BUILD_EXPORTS) \
2224 (cd $(BUILD_SUBDIR)/libiberty && \
2225 $(MAKE) $(TARGET-build-libiberty))
2226 @endif build-libiberty
2228 .PHONY: configure-build-bison maybe-configure-build-bison
2229 maybe-configure-build-bison:
2230 @if build-bison
2231 maybe-configure-build-bison: configure-build-bison
2232 configure-build-bison:
2233 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2234 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2235 r=`${PWD_COMMAND}`; export r; \
2236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2237 $(BUILD_EXPORTS) \
2238 echo Configuring in $(BUILD_SUBDIR)/bison; \
2239 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2240 case $(srcdir) in \
2241 /* | [A-Za-z]:[\\/]*) \
2242 topdir=$(srcdir) ;; \
2243 *) \
2244 case "$(BUILD_SUBDIR)" in \
2245 .) topdir="../$(srcdir)" ;; \
2246 *) topdir="../../$(srcdir)" ;; \
2247 esac ;; \
2248 esac; \
2249 if [ "$(srcdir)" = "." ] ; then \
2250 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2251 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2252 if [ -f Makefile ]; then \
2253 if $(MAKE) distclean; then \
2254 true; \
2255 else \
2256 exit 1; \
2257 fi; \
2258 else \
2259 true; \
2260 fi; \
2261 else \
2262 exit 1; \
2263 fi; \
2264 else \
2265 true; \
2266 fi; \
2267 srcdiroption="--srcdir=."; \
2268 libsrcdir="."; \
2269 else \
2270 srcdiroption="--srcdir=$${topdir}/bison"; \
2271 libsrcdir="$$s/bison"; \
2272 fi; \
2273 rm -f no-such-file || : ; \
2274 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2275 $(BUILD_CONFIGARGS) $${srcdiroption} \
2276 --with-build-subdir="$(BUILD_SUBDIR)" \
2277 || exit 1
2278 @endif build-bison
2280 .PHONY: all-build-bison maybe-all-build-bison
2281 maybe-all-build-bison:
2282 @if build-bison
2283 TARGET-build-bison=all
2284 maybe-all-build-bison: all-build-bison
2285 all-build-bison: configure-build-bison
2286 @r=`${PWD_COMMAND}`; export r; \
2287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2288 $(BUILD_EXPORTS) \
2289 (cd $(BUILD_SUBDIR)/bison && \
2290 $(MAKE) $(TARGET-build-bison))
2291 @endif build-bison
2293 .PHONY: configure-build-byacc maybe-configure-build-byacc
2294 maybe-configure-build-byacc:
2295 @if build-byacc
2296 maybe-configure-build-byacc: configure-build-byacc
2297 configure-build-byacc:
2298 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2299 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2300 r=`${PWD_COMMAND}`; export r; \
2301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2302 $(BUILD_EXPORTS) \
2303 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2304 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2305 case $(srcdir) in \
2306 /* | [A-Za-z]:[\\/]*) \
2307 topdir=$(srcdir) ;; \
2308 *) \
2309 case "$(BUILD_SUBDIR)" in \
2310 .) topdir="../$(srcdir)" ;; \
2311 *) topdir="../../$(srcdir)" ;; \
2312 esac ;; \
2313 esac; \
2314 if [ "$(srcdir)" = "." ] ; then \
2315 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2316 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2317 if [ -f Makefile ]; then \
2318 if $(MAKE) distclean; then \
2319 true; \
2320 else \
2321 exit 1; \
2322 fi; \
2323 else \
2324 true; \
2325 fi; \
2326 else \
2327 exit 1; \
2328 fi; \
2329 else \
2330 true; \
2331 fi; \
2332 srcdiroption="--srcdir=."; \
2333 libsrcdir="."; \
2334 else \
2335 srcdiroption="--srcdir=$${topdir}/byacc"; \
2336 libsrcdir="$$s/byacc"; \
2337 fi; \
2338 rm -f no-such-file || : ; \
2339 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2340 $(BUILD_CONFIGARGS) $${srcdiroption} \
2341 --with-build-subdir="$(BUILD_SUBDIR)" \
2342 || exit 1
2343 @endif build-byacc
2345 .PHONY: all-build-byacc maybe-all-build-byacc
2346 maybe-all-build-byacc:
2347 @if build-byacc
2348 TARGET-build-byacc=all
2349 maybe-all-build-byacc: all-build-byacc
2350 all-build-byacc: configure-build-byacc
2351 @r=`${PWD_COMMAND}`; export r; \
2352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2353 $(BUILD_EXPORTS) \
2354 (cd $(BUILD_SUBDIR)/byacc && \
2355 $(MAKE) $(TARGET-build-byacc))
2356 @endif build-byacc
2358 .PHONY: configure-build-flex maybe-configure-build-flex
2359 maybe-configure-build-flex:
2360 @if build-flex
2361 maybe-configure-build-flex: configure-build-flex
2362 configure-build-flex:
2363 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2364 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2365 r=`${PWD_COMMAND}`; export r; \
2366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2367 $(BUILD_EXPORTS) \
2368 echo Configuring in $(BUILD_SUBDIR)/flex; \
2369 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2370 case $(srcdir) in \
2371 /* | [A-Za-z]:[\\/]*) \
2372 topdir=$(srcdir) ;; \
2373 *) \
2374 case "$(BUILD_SUBDIR)" in \
2375 .) topdir="../$(srcdir)" ;; \
2376 *) topdir="../../$(srcdir)" ;; \
2377 esac ;; \
2378 esac; \
2379 if [ "$(srcdir)" = "." ] ; then \
2380 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2381 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2382 if [ -f Makefile ]; then \
2383 if $(MAKE) distclean; then \
2384 true; \
2385 else \
2386 exit 1; \
2387 fi; \
2388 else \
2389 true; \
2390 fi; \
2391 else \
2392 exit 1; \
2393 fi; \
2394 else \
2395 true; \
2396 fi; \
2397 srcdiroption="--srcdir=."; \
2398 libsrcdir="."; \
2399 else \
2400 srcdiroption="--srcdir=$${topdir}/flex"; \
2401 libsrcdir="$$s/flex"; \
2402 fi; \
2403 rm -f no-such-file || : ; \
2404 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2405 $(BUILD_CONFIGARGS) $${srcdiroption} \
2406 --with-build-subdir="$(BUILD_SUBDIR)" \
2407 || exit 1
2408 @endif build-flex
2410 .PHONY: all-build-flex maybe-all-build-flex
2411 maybe-all-build-flex:
2412 @if build-flex
2413 TARGET-build-flex=all
2414 maybe-all-build-flex: all-build-flex
2415 all-build-flex: configure-build-flex
2416 @r=`${PWD_COMMAND}`; export r; \
2417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2418 $(BUILD_EXPORTS) \
2419 (cd $(BUILD_SUBDIR)/flex && \
2420 $(MAKE) $(TARGET-build-flex))
2421 @endif build-flex
2423 .PHONY: configure-build-m4 maybe-configure-build-m4
2424 maybe-configure-build-m4:
2425 @if build-m4
2426 maybe-configure-build-m4: configure-build-m4
2427 configure-build-m4:
2428 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2429 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2430 r=`${PWD_COMMAND}`; export r; \
2431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2432 $(BUILD_EXPORTS) \
2433 echo Configuring in $(BUILD_SUBDIR)/m4; \
2434 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2435 case $(srcdir) in \
2436 /* | [A-Za-z]:[\\/]*) \
2437 topdir=$(srcdir) ;; \
2438 *) \
2439 case "$(BUILD_SUBDIR)" in \
2440 .) topdir="../$(srcdir)" ;; \
2441 *) topdir="../../$(srcdir)" ;; \
2442 esac ;; \
2443 esac; \
2444 if [ "$(srcdir)" = "." ] ; then \
2445 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2446 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2447 if [ -f Makefile ]; then \
2448 if $(MAKE) distclean; then \
2449 true; \
2450 else \
2451 exit 1; \
2452 fi; \
2453 else \
2454 true; \
2455 fi; \
2456 else \
2457 exit 1; \
2458 fi; \
2459 else \
2460 true; \
2461 fi; \
2462 srcdiroption="--srcdir=."; \
2463 libsrcdir="."; \
2464 else \
2465 srcdiroption="--srcdir=$${topdir}/m4"; \
2466 libsrcdir="$$s/m4"; \
2467 fi; \
2468 rm -f no-such-file || : ; \
2469 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2470 $(BUILD_CONFIGARGS) $${srcdiroption} \
2471 --with-build-subdir="$(BUILD_SUBDIR)" \
2472 || exit 1
2473 @endif build-m4
2475 .PHONY: all-build-m4 maybe-all-build-m4
2476 maybe-all-build-m4:
2477 @if build-m4
2478 TARGET-build-m4=all
2479 maybe-all-build-m4: all-build-m4
2480 all-build-m4: configure-build-m4
2481 @r=`${PWD_COMMAND}`; export r; \
2482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2483 $(BUILD_EXPORTS) \
2484 (cd $(BUILD_SUBDIR)/m4 && \
2485 $(MAKE) $(TARGET-build-m4))
2486 @endif build-m4
2488 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2489 maybe-configure-build-texinfo:
2490 @if build-texinfo
2491 maybe-configure-build-texinfo: configure-build-texinfo
2492 configure-build-texinfo:
2493 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2494 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2495 r=`${PWD_COMMAND}`; export r; \
2496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2497 $(BUILD_EXPORTS) \
2498 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2499 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2500 case $(srcdir) in \
2501 /* | [A-Za-z]:[\\/]*) \
2502 topdir=$(srcdir) ;; \
2503 *) \
2504 case "$(BUILD_SUBDIR)" in \
2505 .) topdir="../$(srcdir)" ;; \
2506 *) topdir="../../$(srcdir)" ;; \
2507 esac ;; \
2508 esac; \
2509 if [ "$(srcdir)" = "." ] ; then \
2510 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2511 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2512 if [ -f Makefile ]; then \
2513 if $(MAKE) distclean; then \
2514 true; \
2515 else \
2516 exit 1; \
2517 fi; \
2518 else \
2519 true; \
2520 fi; \
2521 else \
2522 exit 1; \
2523 fi; \
2524 else \
2525 true; \
2526 fi; \
2527 srcdiroption="--srcdir=."; \
2528 libsrcdir="."; \
2529 else \
2530 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2531 libsrcdir="$$s/texinfo"; \
2532 fi; \
2533 rm -f no-such-file || : ; \
2534 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2535 $(BUILD_CONFIGARGS) $${srcdiroption} \
2536 --with-build-subdir="$(BUILD_SUBDIR)" \
2537 || exit 1
2538 @endif build-texinfo
2540 .PHONY: all-build-texinfo maybe-all-build-texinfo
2541 maybe-all-build-texinfo:
2542 @if build-texinfo
2543 TARGET-build-texinfo=all
2544 maybe-all-build-texinfo: all-build-texinfo
2545 all-build-texinfo: configure-build-texinfo
2546 @r=`${PWD_COMMAND}`; export r; \
2547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2548 $(BUILD_EXPORTS) \
2549 (cd $(BUILD_SUBDIR)/texinfo && \
2550 $(MAKE) $(TARGET-build-texinfo))
2551 @endif build-texinfo
2553 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2554 maybe-configure-build-fixincludes:
2555 @if build-fixincludes
2556 maybe-configure-build-fixincludes: configure-build-fixincludes
2557 configure-build-fixincludes:
2558 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2559 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2560 r=`${PWD_COMMAND}`; export r; \
2561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2562 $(BUILD_EXPORTS) \
2563 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2564 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2565 case $(srcdir) in \
2566 /* | [A-Za-z]:[\\/]*) \
2567 topdir=$(srcdir) ;; \
2568 *) \
2569 case "$(BUILD_SUBDIR)" in \
2570 .) topdir="../$(srcdir)" ;; \
2571 *) topdir="../../$(srcdir)" ;; \
2572 esac ;; \
2573 esac; \
2574 if [ "$(srcdir)" = "." ] ; then \
2575 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2576 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2577 if [ -f Makefile ]; then \
2578 if $(MAKE) distclean; then \
2579 true; \
2580 else \
2581 exit 1; \
2582 fi; \
2583 else \
2584 true; \
2585 fi; \
2586 else \
2587 exit 1; \
2588 fi; \
2589 else \
2590 true; \
2591 fi; \
2592 srcdiroption="--srcdir=."; \
2593 libsrcdir="."; \
2594 else \
2595 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2596 libsrcdir="$$s/fixincludes"; \
2597 fi; \
2598 rm -f no-such-file || : ; \
2599 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2600 $(BUILD_CONFIGARGS) $${srcdiroption} \
2601 --with-build-subdir="$(BUILD_SUBDIR)" \
2602 || exit 1
2603 @endif build-fixincludes
2605 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2606 maybe-all-build-fixincludes:
2607 @if build-fixincludes
2608 TARGET-build-fixincludes=all
2609 maybe-all-build-fixincludes: all-build-fixincludes
2610 all-build-fixincludes: configure-build-fixincludes
2611 @r=`${PWD_COMMAND}`; export r; \
2612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2613 $(BUILD_EXPORTS) \
2614 (cd $(BUILD_SUBDIR)/fixincludes && \
2615 $(MAKE) $(TARGET-build-fixincludes))
2616 @endif build-fixincludes
2619 # --------------------------------------
2620 # Modules which run on the host machine
2621 # --------------------------------------
2623 .PHONY: configure-ash maybe-configure-ash
2624 maybe-configure-ash:
2625 @if ash
2626 maybe-configure-ash: configure-ash
2627 configure-ash:
2628 @test ! -f ash/Makefile || exit 0; \
2629 [ -d ash ] || mkdir ash; \
2630 r=`${PWD_COMMAND}`; export r; \
2631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2632 $(HOST_EXPORTS) \
2633 echo Configuring in ash; \
2634 cd ash || exit 1; \
2635 case $(srcdir) in \
2636 \.) \
2637 srcdiroption="--srcdir=."; \
2638 libsrcdir=".";; \
2639 /* | [A-Za-z]:[\\/]*) \
2640 srcdiroption="--srcdir=$(srcdir)/ash"; \
2641 libsrcdir="$$s/ash";; \
2642 *) \
2643 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2644 libsrcdir="$$s/ash";; \
2645 esac; \
2646 $(SHELL) $${libsrcdir}/configure \
2647 $(HOST_CONFIGARGS) $${srcdiroption} \
2648 || exit 1
2649 @endif ash
2651 .PHONY: all-ash maybe-all-ash
2652 maybe-all-ash:
2653 @if ash
2654 TARGET-ash=all
2655 maybe-all-ash: all-ash
2656 all-ash: configure-ash
2657 @r=`${PWD_COMMAND}`; export r; \
2658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2659 $(SET_LIB_PATH) \
2660 $(HOST_EXPORTS) \
2661 (cd ash && $(MAKE) $(FLAGS_TO_PASS) \
2662 $(TARGET-ash))
2663 @endif ash
2665 .PHONY: check-ash maybe-check-ash
2666 maybe-check-ash:
2667 @if ash
2668 maybe-check-ash: check-ash
2670 check-ash:
2671 @r=`${PWD_COMMAND}`; export r; \
2672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2673 $(SET_LIB_PATH) \
2674 $(HOST_EXPORTS) \
2675 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2677 @endif ash
2679 .PHONY: install-ash maybe-install-ash
2680 maybe-install-ash:
2681 @if ash
2682 maybe-install-ash: install-ash
2684 install-ash: installdirs
2685 @r=`${PWD_COMMAND}`; export r; \
2686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2687 $(SET_LIB_PATH) \
2688 $(HOST_EXPORTS) \
2689 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2691 @endif ash
2693 # Other targets (info, dvi, etc.)
2695 .PHONY: maybe-info-ash info-ash
2696 maybe-info-ash:
2697 @if ash
2698 maybe-info-ash: info-ash
2700 info-ash: \
2701 configure-ash
2702 @[ -f ./ash/Makefile ] || exit 0; \
2703 r=`${PWD_COMMAND}`; export r; \
2704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2705 $(SET_LIB_PATH) \
2706 $(HOST_EXPORTS) \
2707 for flag in $(EXTRA_HOST_FLAGS) ; do \
2708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2709 done; \
2710 echo "Doing info in ash" ; \
2711 (cd ash && \
2712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2714 "RANLIB=$${RANLIB}" \
2715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2716 info) \
2717 || exit 1
2719 @endif ash
2721 .PHONY: maybe-dvi-ash dvi-ash
2722 maybe-dvi-ash:
2723 @if ash
2724 maybe-dvi-ash: dvi-ash
2726 dvi-ash: \
2727 configure-ash
2728 @[ -f ./ash/Makefile ] || exit 0; \
2729 r=`${PWD_COMMAND}`; export r; \
2730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2731 $(SET_LIB_PATH) \
2732 $(HOST_EXPORTS) \
2733 for flag in $(EXTRA_HOST_FLAGS) ; do \
2734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2735 done; \
2736 echo "Doing dvi in ash" ; \
2737 (cd ash && \
2738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2740 "RANLIB=$${RANLIB}" \
2741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2742 dvi) \
2743 || exit 1
2745 @endif ash
2747 .PHONY: maybe-html-ash html-ash
2748 maybe-html-ash:
2749 @if ash
2750 maybe-html-ash: html-ash
2752 html-ash: \
2753 configure-ash
2754 @[ -f ./ash/Makefile ] || exit 0; \
2755 r=`${PWD_COMMAND}`; export r; \
2756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2757 $(SET_LIB_PATH) \
2758 $(HOST_EXPORTS) \
2759 for flag in $(EXTRA_HOST_FLAGS) ; do \
2760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2761 done; \
2762 echo "Doing html in ash" ; \
2763 (cd ash && \
2764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2766 "RANLIB=$${RANLIB}" \
2767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2768 html) \
2769 || exit 1
2771 @endif ash
2773 .PHONY: maybe-TAGS-ash TAGS-ash
2774 maybe-TAGS-ash:
2775 @if ash
2776 maybe-TAGS-ash: TAGS-ash
2778 TAGS-ash: \
2779 configure-ash
2780 @[ -f ./ash/Makefile ] || exit 0; \
2781 r=`${PWD_COMMAND}`; export r; \
2782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2783 $(SET_LIB_PATH) \
2784 $(HOST_EXPORTS) \
2785 for flag in $(EXTRA_HOST_FLAGS) ; do \
2786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2787 done; \
2788 echo "Doing TAGS in ash" ; \
2789 (cd ash && \
2790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2792 "RANLIB=$${RANLIB}" \
2793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2794 TAGS) \
2795 || exit 1
2797 @endif ash
2799 .PHONY: maybe-install-info-ash install-info-ash
2800 maybe-install-info-ash:
2801 @if ash
2802 maybe-install-info-ash: install-info-ash
2804 install-info-ash: \
2805 configure-ash \
2806 info-ash
2807 @[ -f ./ash/Makefile ] || exit 0; \
2808 r=`${PWD_COMMAND}`; export r; \
2809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2810 $(SET_LIB_PATH) \
2811 $(HOST_EXPORTS) \
2812 for flag in $(EXTRA_HOST_FLAGS) ; do \
2813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2814 done; \
2815 echo "Doing install-info in ash" ; \
2816 (cd ash && \
2817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2819 "RANLIB=$${RANLIB}" \
2820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2821 install-info) \
2822 || exit 1
2824 @endif ash
2826 .PHONY: maybe-installcheck-ash installcheck-ash
2827 maybe-installcheck-ash:
2828 @if ash
2829 maybe-installcheck-ash: installcheck-ash
2831 installcheck-ash: \
2832 configure-ash
2833 @[ -f ./ash/Makefile ] || exit 0; \
2834 r=`${PWD_COMMAND}`; export r; \
2835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2836 $(SET_LIB_PATH) \
2837 $(HOST_EXPORTS) \
2838 for flag in $(EXTRA_HOST_FLAGS) ; do \
2839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2840 done; \
2841 echo "Doing installcheck in ash" ; \
2842 (cd ash && \
2843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2845 "RANLIB=$${RANLIB}" \
2846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2847 installcheck) \
2848 || exit 1
2850 @endif ash
2852 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2853 maybe-mostlyclean-ash:
2854 @if ash
2855 maybe-mostlyclean-ash: mostlyclean-ash
2857 mostlyclean-ash:
2858 @[ -f ./ash/Makefile ] || exit 0; \
2859 r=`${PWD_COMMAND}`; export r; \
2860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2861 $(SET_LIB_PATH) \
2862 $(HOST_EXPORTS) \
2863 for flag in $(EXTRA_HOST_FLAGS) ; do \
2864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2865 done; \
2866 echo "Doing mostlyclean in ash" ; \
2867 (cd ash && \
2868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2870 "RANLIB=$${RANLIB}" \
2871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2872 mostlyclean) \
2873 || exit 1
2875 @endif ash
2877 .PHONY: maybe-clean-ash clean-ash
2878 maybe-clean-ash:
2879 @if ash
2880 maybe-clean-ash: clean-ash
2882 clean-ash:
2883 @[ -f ./ash/Makefile ] || exit 0; \
2884 r=`${PWD_COMMAND}`; export r; \
2885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2886 $(SET_LIB_PATH) \
2887 $(HOST_EXPORTS) \
2888 for flag in $(EXTRA_HOST_FLAGS) ; do \
2889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2890 done; \
2891 echo "Doing clean in ash" ; \
2892 (cd ash && \
2893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2895 "RANLIB=$${RANLIB}" \
2896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2897 clean) \
2898 || exit 1
2900 @endif ash
2902 .PHONY: maybe-distclean-ash distclean-ash
2903 maybe-distclean-ash:
2904 @if ash
2905 maybe-distclean-ash: distclean-ash
2907 distclean-ash:
2908 @[ -f ./ash/Makefile ] || exit 0; \
2909 r=`${PWD_COMMAND}`; export r; \
2910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2911 $(SET_LIB_PATH) \
2912 $(HOST_EXPORTS) \
2913 for flag in $(EXTRA_HOST_FLAGS) ; do \
2914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2915 done; \
2916 echo "Doing distclean in ash" ; \
2917 (cd ash && \
2918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2920 "RANLIB=$${RANLIB}" \
2921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2922 distclean) \
2923 || exit 1
2925 @endif ash
2927 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2928 maybe-maintainer-clean-ash:
2929 @if ash
2930 maybe-maintainer-clean-ash: maintainer-clean-ash
2932 maintainer-clean-ash:
2933 @[ -f ./ash/Makefile ] || exit 0; \
2934 r=`${PWD_COMMAND}`; export r; \
2935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2936 $(SET_LIB_PATH) \
2937 $(HOST_EXPORTS) \
2938 for flag in $(EXTRA_HOST_FLAGS) ; do \
2939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2940 done; \
2941 echo "Doing maintainer-clean in ash" ; \
2942 (cd ash && \
2943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2945 "RANLIB=$${RANLIB}" \
2946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2947 maintainer-clean) \
2948 || exit 1
2950 @endif ash
2953 .PHONY: configure-autoconf maybe-configure-autoconf
2954 maybe-configure-autoconf:
2955 @if autoconf
2956 maybe-configure-autoconf: configure-autoconf
2957 configure-autoconf:
2958 @test ! -f autoconf/Makefile || exit 0; \
2959 [ -d autoconf ] || mkdir autoconf; \
2960 r=`${PWD_COMMAND}`; export r; \
2961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2962 $(HOST_EXPORTS) \
2963 echo Configuring in autoconf; \
2964 cd autoconf || exit 1; \
2965 case $(srcdir) in \
2966 \.) \
2967 srcdiroption="--srcdir=."; \
2968 libsrcdir=".";; \
2969 /* | [A-Za-z]:[\\/]*) \
2970 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2971 libsrcdir="$$s/autoconf";; \
2972 *) \
2973 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2974 libsrcdir="$$s/autoconf";; \
2975 esac; \
2976 $(SHELL) $${libsrcdir}/configure \
2977 $(HOST_CONFIGARGS) $${srcdiroption} \
2978 || exit 1
2979 @endif autoconf
2981 .PHONY: all-autoconf maybe-all-autoconf
2982 maybe-all-autoconf:
2983 @if autoconf
2984 TARGET-autoconf=all
2985 maybe-all-autoconf: all-autoconf
2986 all-autoconf: configure-autoconf
2987 @r=`${PWD_COMMAND}`; export r; \
2988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2989 $(SET_LIB_PATH) \
2990 $(HOST_EXPORTS) \
2991 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) \
2992 $(TARGET-autoconf))
2993 @endif autoconf
2995 .PHONY: check-autoconf maybe-check-autoconf
2996 maybe-check-autoconf:
2997 @if autoconf
2998 maybe-check-autoconf: check-autoconf
3000 check-autoconf:
3001 @r=`${PWD_COMMAND}`; export r; \
3002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3003 $(SET_LIB_PATH) \
3004 $(HOST_EXPORTS) \
3005 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
3007 @endif autoconf
3009 .PHONY: install-autoconf maybe-install-autoconf
3010 maybe-install-autoconf:
3011 @if autoconf
3012 maybe-install-autoconf: install-autoconf
3014 install-autoconf: installdirs
3015 @r=`${PWD_COMMAND}`; export r; \
3016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3017 $(SET_LIB_PATH) \
3018 $(HOST_EXPORTS) \
3019 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
3021 @endif autoconf
3023 # Other targets (info, dvi, etc.)
3025 .PHONY: maybe-info-autoconf info-autoconf
3026 maybe-info-autoconf:
3027 @if autoconf
3028 maybe-info-autoconf: info-autoconf
3030 info-autoconf: \
3031 configure-autoconf
3032 @[ -f ./autoconf/Makefile ] || exit 0; \
3033 r=`${PWD_COMMAND}`; export r; \
3034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3035 $(SET_LIB_PATH) \
3036 $(HOST_EXPORTS) \
3037 for flag in $(EXTRA_HOST_FLAGS) ; do \
3038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3039 done; \
3040 echo "Doing info in autoconf" ; \
3041 (cd autoconf && \
3042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3044 "RANLIB=$${RANLIB}" \
3045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3046 info) \
3047 || exit 1
3049 @endif autoconf
3051 .PHONY: maybe-dvi-autoconf dvi-autoconf
3052 maybe-dvi-autoconf:
3053 @if autoconf
3054 maybe-dvi-autoconf: dvi-autoconf
3056 dvi-autoconf: \
3057 configure-autoconf
3058 @[ -f ./autoconf/Makefile ] || exit 0; \
3059 r=`${PWD_COMMAND}`; export r; \
3060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3061 $(SET_LIB_PATH) \
3062 $(HOST_EXPORTS) \
3063 for flag in $(EXTRA_HOST_FLAGS) ; do \
3064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3065 done; \
3066 echo "Doing dvi in autoconf" ; \
3067 (cd autoconf && \
3068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3070 "RANLIB=$${RANLIB}" \
3071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3072 dvi) \
3073 || exit 1
3075 @endif autoconf
3077 .PHONY: maybe-html-autoconf html-autoconf
3078 maybe-html-autoconf:
3079 @if autoconf
3080 maybe-html-autoconf: html-autoconf
3082 html-autoconf: \
3083 configure-autoconf
3084 @[ -f ./autoconf/Makefile ] || exit 0; \
3085 r=`${PWD_COMMAND}`; export r; \
3086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3087 $(SET_LIB_PATH) \
3088 $(HOST_EXPORTS) \
3089 for flag in $(EXTRA_HOST_FLAGS) ; do \
3090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3091 done; \
3092 echo "Doing html in autoconf" ; \
3093 (cd autoconf && \
3094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3096 "RANLIB=$${RANLIB}" \
3097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3098 html) \
3099 || exit 1
3101 @endif autoconf
3103 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3104 maybe-TAGS-autoconf:
3105 @if autoconf
3106 maybe-TAGS-autoconf: TAGS-autoconf
3108 TAGS-autoconf: \
3109 configure-autoconf
3110 @[ -f ./autoconf/Makefile ] || exit 0; \
3111 r=`${PWD_COMMAND}`; export r; \
3112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3113 $(SET_LIB_PATH) \
3114 $(HOST_EXPORTS) \
3115 for flag in $(EXTRA_HOST_FLAGS) ; do \
3116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3117 done; \
3118 echo "Doing TAGS in autoconf" ; \
3119 (cd autoconf && \
3120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3122 "RANLIB=$${RANLIB}" \
3123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3124 TAGS) \
3125 || exit 1
3127 @endif autoconf
3129 .PHONY: maybe-install-info-autoconf install-info-autoconf
3130 maybe-install-info-autoconf:
3131 @if autoconf
3132 maybe-install-info-autoconf: install-info-autoconf
3134 install-info-autoconf: \
3135 configure-autoconf \
3136 info-autoconf
3137 @[ -f ./autoconf/Makefile ] || exit 0; \
3138 r=`${PWD_COMMAND}`; export r; \
3139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3140 $(SET_LIB_PATH) \
3141 $(HOST_EXPORTS) \
3142 for flag in $(EXTRA_HOST_FLAGS) ; do \
3143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3144 done; \
3145 echo "Doing install-info in autoconf" ; \
3146 (cd autoconf && \
3147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3149 "RANLIB=$${RANLIB}" \
3150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3151 install-info) \
3152 || exit 1
3154 @endif autoconf
3156 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3157 maybe-installcheck-autoconf:
3158 @if autoconf
3159 maybe-installcheck-autoconf: installcheck-autoconf
3161 installcheck-autoconf: \
3162 configure-autoconf
3163 @[ -f ./autoconf/Makefile ] || exit 0; \
3164 r=`${PWD_COMMAND}`; export r; \
3165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3166 $(SET_LIB_PATH) \
3167 $(HOST_EXPORTS) \
3168 for flag in $(EXTRA_HOST_FLAGS) ; do \
3169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3170 done; \
3171 echo "Doing installcheck in autoconf" ; \
3172 (cd autoconf && \
3173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3175 "RANLIB=$${RANLIB}" \
3176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3177 installcheck) \
3178 || exit 1
3180 @endif autoconf
3182 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3183 maybe-mostlyclean-autoconf:
3184 @if autoconf
3185 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3187 mostlyclean-autoconf:
3188 @[ -f ./autoconf/Makefile ] || exit 0; \
3189 r=`${PWD_COMMAND}`; export r; \
3190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3191 $(SET_LIB_PATH) \
3192 $(HOST_EXPORTS) \
3193 for flag in $(EXTRA_HOST_FLAGS) ; do \
3194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3195 done; \
3196 echo "Doing mostlyclean in autoconf" ; \
3197 (cd autoconf && \
3198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3200 "RANLIB=$${RANLIB}" \
3201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3202 mostlyclean) \
3203 || exit 1
3205 @endif autoconf
3207 .PHONY: maybe-clean-autoconf clean-autoconf
3208 maybe-clean-autoconf:
3209 @if autoconf
3210 maybe-clean-autoconf: clean-autoconf
3212 clean-autoconf:
3213 @[ -f ./autoconf/Makefile ] || exit 0; \
3214 r=`${PWD_COMMAND}`; export r; \
3215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3216 $(SET_LIB_PATH) \
3217 $(HOST_EXPORTS) \
3218 for flag in $(EXTRA_HOST_FLAGS) ; do \
3219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3220 done; \
3221 echo "Doing clean in autoconf" ; \
3222 (cd autoconf && \
3223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3225 "RANLIB=$${RANLIB}" \
3226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3227 clean) \
3228 || exit 1
3230 @endif autoconf
3232 .PHONY: maybe-distclean-autoconf distclean-autoconf
3233 maybe-distclean-autoconf:
3234 @if autoconf
3235 maybe-distclean-autoconf: distclean-autoconf
3237 distclean-autoconf:
3238 @[ -f ./autoconf/Makefile ] || exit 0; \
3239 r=`${PWD_COMMAND}`; export r; \
3240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3241 $(SET_LIB_PATH) \
3242 $(HOST_EXPORTS) \
3243 for flag in $(EXTRA_HOST_FLAGS) ; do \
3244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3245 done; \
3246 echo "Doing distclean in autoconf" ; \
3247 (cd autoconf && \
3248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3250 "RANLIB=$${RANLIB}" \
3251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3252 distclean) \
3253 || exit 1
3255 @endif autoconf
3257 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3258 maybe-maintainer-clean-autoconf:
3259 @if autoconf
3260 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3262 maintainer-clean-autoconf:
3263 @[ -f ./autoconf/Makefile ] || exit 0; \
3264 r=`${PWD_COMMAND}`; export r; \
3265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3266 $(SET_LIB_PATH) \
3267 $(HOST_EXPORTS) \
3268 for flag in $(EXTRA_HOST_FLAGS) ; do \
3269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3270 done; \
3271 echo "Doing maintainer-clean in autoconf" ; \
3272 (cd autoconf && \
3273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3275 "RANLIB=$${RANLIB}" \
3276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3277 maintainer-clean) \
3278 || exit 1
3280 @endif autoconf
3283 .PHONY: configure-automake maybe-configure-automake
3284 maybe-configure-automake:
3285 @if automake
3286 maybe-configure-automake: configure-automake
3287 configure-automake:
3288 @test ! -f automake/Makefile || exit 0; \
3289 [ -d automake ] || mkdir automake; \
3290 r=`${PWD_COMMAND}`; export r; \
3291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3292 $(HOST_EXPORTS) \
3293 echo Configuring in automake; \
3294 cd automake || exit 1; \
3295 case $(srcdir) in \
3296 \.) \
3297 srcdiroption="--srcdir=."; \
3298 libsrcdir=".";; \
3299 /* | [A-Za-z]:[\\/]*) \
3300 srcdiroption="--srcdir=$(srcdir)/automake"; \
3301 libsrcdir="$$s/automake";; \
3302 *) \
3303 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3304 libsrcdir="$$s/automake";; \
3305 esac; \
3306 $(SHELL) $${libsrcdir}/configure \
3307 $(HOST_CONFIGARGS) $${srcdiroption} \
3308 || exit 1
3309 @endif automake
3311 .PHONY: all-automake maybe-all-automake
3312 maybe-all-automake:
3313 @if automake
3314 TARGET-automake=all
3315 maybe-all-automake: all-automake
3316 all-automake: configure-automake
3317 @r=`${PWD_COMMAND}`; export r; \
3318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3319 $(SET_LIB_PATH) \
3320 $(HOST_EXPORTS) \
3321 (cd automake && $(MAKE) $(FLAGS_TO_PASS) \
3322 $(TARGET-automake))
3323 @endif automake
3325 .PHONY: check-automake maybe-check-automake
3326 maybe-check-automake:
3327 @if automake
3328 maybe-check-automake: check-automake
3330 check-automake:
3331 @r=`${PWD_COMMAND}`; export r; \
3332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3333 $(SET_LIB_PATH) \
3334 $(HOST_EXPORTS) \
3335 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3337 @endif automake
3339 .PHONY: install-automake maybe-install-automake
3340 maybe-install-automake:
3341 @if automake
3342 maybe-install-automake: install-automake
3344 install-automake: installdirs
3345 @r=`${PWD_COMMAND}`; export r; \
3346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3347 $(SET_LIB_PATH) \
3348 $(HOST_EXPORTS) \
3349 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3351 @endif automake
3353 # Other targets (info, dvi, etc.)
3355 .PHONY: maybe-info-automake info-automake
3356 maybe-info-automake:
3357 @if automake
3358 maybe-info-automake: info-automake
3360 info-automake: \
3361 configure-automake
3362 @[ -f ./automake/Makefile ] || exit 0; \
3363 r=`${PWD_COMMAND}`; export r; \
3364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3365 $(SET_LIB_PATH) \
3366 $(HOST_EXPORTS) \
3367 for flag in $(EXTRA_HOST_FLAGS) ; do \
3368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3369 done; \
3370 echo "Doing info in automake" ; \
3371 (cd automake && \
3372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3374 "RANLIB=$${RANLIB}" \
3375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3376 info) \
3377 || exit 1
3379 @endif automake
3381 .PHONY: maybe-dvi-automake dvi-automake
3382 maybe-dvi-automake:
3383 @if automake
3384 maybe-dvi-automake: dvi-automake
3386 dvi-automake: \
3387 configure-automake
3388 @[ -f ./automake/Makefile ] || exit 0; \
3389 r=`${PWD_COMMAND}`; export r; \
3390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3391 $(SET_LIB_PATH) \
3392 $(HOST_EXPORTS) \
3393 for flag in $(EXTRA_HOST_FLAGS) ; do \
3394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3395 done; \
3396 echo "Doing dvi in automake" ; \
3397 (cd automake && \
3398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3400 "RANLIB=$${RANLIB}" \
3401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3402 dvi) \
3403 || exit 1
3405 @endif automake
3407 .PHONY: maybe-html-automake html-automake
3408 maybe-html-automake:
3409 @if automake
3410 maybe-html-automake: html-automake
3412 html-automake: \
3413 configure-automake
3414 @[ -f ./automake/Makefile ] || exit 0; \
3415 r=`${PWD_COMMAND}`; export r; \
3416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3417 $(SET_LIB_PATH) \
3418 $(HOST_EXPORTS) \
3419 for flag in $(EXTRA_HOST_FLAGS) ; do \
3420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3421 done; \
3422 echo "Doing html in automake" ; \
3423 (cd automake && \
3424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3426 "RANLIB=$${RANLIB}" \
3427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3428 html) \
3429 || exit 1
3431 @endif automake
3433 .PHONY: maybe-TAGS-automake TAGS-automake
3434 maybe-TAGS-automake:
3435 @if automake
3436 maybe-TAGS-automake: TAGS-automake
3438 TAGS-automake: \
3439 configure-automake
3440 @[ -f ./automake/Makefile ] || exit 0; \
3441 r=`${PWD_COMMAND}`; export r; \
3442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3443 $(SET_LIB_PATH) \
3444 $(HOST_EXPORTS) \
3445 for flag in $(EXTRA_HOST_FLAGS) ; do \
3446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3447 done; \
3448 echo "Doing TAGS in automake" ; \
3449 (cd automake && \
3450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3452 "RANLIB=$${RANLIB}" \
3453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3454 TAGS) \
3455 || exit 1
3457 @endif automake
3459 .PHONY: maybe-install-info-automake install-info-automake
3460 maybe-install-info-automake:
3461 @if automake
3462 maybe-install-info-automake: install-info-automake
3464 install-info-automake: \
3465 configure-automake \
3466 info-automake
3467 @[ -f ./automake/Makefile ] || exit 0; \
3468 r=`${PWD_COMMAND}`; export r; \
3469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3470 $(SET_LIB_PATH) \
3471 $(HOST_EXPORTS) \
3472 for flag in $(EXTRA_HOST_FLAGS) ; do \
3473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3474 done; \
3475 echo "Doing install-info in automake" ; \
3476 (cd automake && \
3477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3479 "RANLIB=$${RANLIB}" \
3480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3481 install-info) \
3482 || exit 1
3484 @endif automake
3486 .PHONY: maybe-installcheck-automake installcheck-automake
3487 maybe-installcheck-automake:
3488 @if automake
3489 maybe-installcheck-automake: installcheck-automake
3491 installcheck-automake: \
3492 configure-automake
3493 @[ -f ./automake/Makefile ] || exit 0; \
3494 r=`${PWD_COMMAND}`; export r; \
3495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3496 $(SET_LIB_PATH) \
3497 $(HOST_EXPORTS) \
3498 for flag in $(EXTRA_HOST_FLAGS) ; do \
3499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3500 done; \
3501 echo "Doing installcheck in automake" ; \
3502 (cd automake && \
3503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3505 "RANLIB=$${RANLIB}" \
3506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3507 installcheck) \
3508 || exit 1
3510 @endif automake
3512 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3513 maybe-mostlyclean-automake:
3514 @if automake
3515 maybe-mostlyclean-automake: mostlyclean-automake
3517 mostlyclean-automake:
3518 @[ -f ./automake/Makefile ] || exit 0; \
3519 r=`${PWD_COMMAND}`; export r; \
3520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3521 $(SET_LIB_PATH) \
3522 $(HOST_EXPORTS) \
3523 for flag in $(EXTRA_HOST_FLAGS) ; do \
3524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3525 done; \
3526 echo "Doing mostlyclean in automake" ; \
3527 (cd automake && \
3528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3530 "RANLIB=$${RANLIB}" \
3531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3532 mostlyclean) \
3533 || exit 1
3535 @endif automake
3537 .PHONY: maybe-clean-automake clean-automake
3538 maybe-clean-automake:
3539 @if automake
3540 maybe-clean-automake: clean-automake
3542 clean-automake:
3543 @[ -f ./automake/Makefile ] || exit 0; \
3544 r=`${PWD_COMMAND}`; export r; \
3545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3546 $(SET_LIB_PATH) \
3547 $(HOST_EXPORTS) \
3548 for flag in $(EXTRA_HOST_FLAGS) ; do \
3549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3550 done; \
3551 echo "Doing clean in automake" ; \
3552 (cd automake && \
3553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3555 "RANLIB=$${RANLIB}" \
3556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3557 clean) \
3558 || exit 1
3560 @endif automake
3562 .PHONY: maybe-distclean-automake distclean-automake
3563 maybe-distclean-automake:
3564 @if automake
3565 maybe-distclean-automake: distclean-automake
3567 distclean-automake:
3568 @[ -f ./automake/Makefile ] || exit 0; \
3569 r=`${PWD_COMMAND}`; export r; \
3570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3571 $(SET_LIB_PATH) \
3572 $(HOST_EXPORTS) \
3573 for flag in $(EXTRA_HOST_FLAGS) ; do \
3574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3575 done; \
3576 echo "Doing distclean in automake" ; \
3577 (cd automake && \
3578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3580 "RANLIB=$${RANLIB}" \
3581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3582 distclean) \
3583 || exit 1
3585 @endif automake
3587 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3588 maybe-maintainer-clean-automake:
3589 @if automake
3590 maybe-maintainer-clean-automake: maintainer-clean-automake
3592 maintainer-clean-automake:
3593 @[ -f ./automake/Makefile ] || exit 0; \
3594 r=`${PWD_COMMAND}`; export r; \
3595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3596 $(SET_LIB_PATH) \
3597 $(HOST_EXPORTS) \
3598 for flag in $(EXTRA_HOST_FLAGS) ; do \
3599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3600 done; \
3601 echo "Doing maintainer-clean in automake" ; \
3602 (cd automake && \
3603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3605 "RANLIB=$${RANLIB}" \
3606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3607 maintainer-clean) \
3608 || exit 1
3610 @endif automake
3613 .PHONY: configure-bash maybe-configure-bash
3614 maybe-configure-bash:
3615 @if bash
3616 maybe-configure-bash: configure-bash
3617 configure-bash:
3618 @test ! -f bash/Makefile || exit 0; \
3619 [ -d bash ] || mkdir bash; \
3620 r=`${PWD_COMMAND}`; export r; \
3621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3622 $(HOST_EXPORTS) \
3623 echo Configuring in bash; \
3624 cd bash || exit 1; \
3625 case $(srcdir) in \
3626 \.) \
3627 srcdiroption="--srcdir=."; \
3628 libsrcdir=".";; \
3629 /* | [A-Za-z]:[\\/]*) \
3630 srcdiroption="--srcdir=$(srcdir)/bash"; \
3631 libsrcdir="$$s/bash";; \
3632 *) \
3633 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3634 libsrcdir="$$s/bash";; \
3635 esac; \
3636 $(SHELL) $${libsrcdir}/configure \
3637 $(HOST_CONFIGARGS) $${srcdiroption} \
3638 || exit 1
3639 @endif bash
3641 .PHONY: all-bash maybe-all-bash
3642 maybe-all-bash:
3643 @if bash
3644 TARGET-bash=all
3645 maybe-all-bash: all-bash
3646 all-bash: configure-bash
3647 @r=`${PWD_COMMAND}`; export r; \
3648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3649 $(SET_LIB_PATH) \
3650 $(HOST_EXPORTS) \
3651 (cd bash && $(MAKE) $(FLAGS_TO_PASS) \
3652 $(TARGET-bash))
3653 @endif bash
3655 .PHONY: check-bash maybe-check-bash
3656 maybe-check-bash:
3657 @if bash
3658 maybe-check-bash: check-bash
3660 check-bash:
3661 @r=`${PWD_COMMAND}`; export r; \
3662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3663 $(SET_LIB_PATH) \
3664 $(HOST_EXPORTS) \
3665 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3667 @endif bash
3669 .PHONY: install-bash maybe-install-bash
3670 maybe-install-bash:
3671 @if bash
3672 maybe-install-bash: install-bash
3674 install-bash: installdirs
3675 @r=`${PWD_COMMAND}`; export r; \
3676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3677 $(SET_LIB_PATH) \
3678 $(HOST_EXPORTS) \
3679 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3681 @endif bash
3683 # Other targets (info, dvi, etc.)
3685 .PHONY: maybe-info-bash info-bash
3686 maybe-info-bash:
3687 @if bash
3688 maybe-info-bash: info-bash
3690 info-bash: \
3691 configure-bash
3692 @[ -f ./bash/Makefile ] || exit 0; \
3693 r=`${PWD_COMMAND}`; export r; \
3694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3695 $(SET_LIB_PATH) \
3696 $(HOST_EXPORTS) \
3697 for flag in $(EXTRA_HOST_FLAGS) ; do \
3698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3699 done; \
3700 echo "Doing info in bash" ; \
3701 (cd bash && \
3702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3704 "RANLIB=$${RANLIB}" \
3705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3706 info) \
3707 || exit 1
3709 @endif bash
3711 .PHONY: maybe-dvi-bash dvi-bash
3712 maybe-dvi-bash:
3713 @if bash
3714 maybe-dvi-bash: dvi-bash
3716 dvi-bash: \
3717 configure-bash
3718 @[ -f ./bash/Makefile ] || exit 0; \
3719 r=`${PWD_COMMAND}`; export r; \
3720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3721 $(SET_LIB_PATH) \
3722 $(HOST_EXPORTS) \
3723 for flag in $(EXTRA_HOST_FLAGS) ; do \
3724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3725 done; \
3726 echo "Doing dvi in bash" ; \
3727 (cd bash && \
3728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3730 "RANLIB=$${RANLIB}" \
3731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3732 dvi) \
3733 || exit 1
3735 @endif bash
3737 .PHONY: maybe-html-bash html-bash
3738 maybe-html-bash:
3739 @if bash
3740 maybe-html-bash: html-bash
3742 html-bash: \
3743 configure-bash
3744 @[ -f ./bash/Makefile ] || exit 0; \
3745 r=`${PWD_COMMAND}`; export r; \
3746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3747 $(SET_LIB_PATH) \
3748 $(HOST_EXPORTS) \
3749 for flag in $(EXTRA_HOST_FLAGS) ; do \
3750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3751 done; \
3752 echo "Doing html in bash" ; \
3753 (cd bash && \
3754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3756 "RANLIB=$${RANLIB}" \
3757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3758 html) \
3759 || exit 1
3761 @endif bash
3763 .PHONY: maybe-TAGS-bash TAGS-bash
3764 maybe-TAGS-bash:
3765 @if bash
3766 maybe-TAGS-bash: TAGS-bash
3768 TAGS-bash: \
3769 configure-bash
3770 @[ -f ./bash/Makefile ] || exit 0; \
3771 r=`${PWD_COMMAND}`; export r; \
3772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3773 $(SET_LIB_PATH) \
3774 $(HOST_EXPORTS) \
3775 for flag in $(EXTRA_HOST_FLAGS) ; do \
3776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3777 done; \
3778 echo "Doing TAGS in bash" ; \
3779 (cd bash && \
3780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3782 "RANLIB=$${RANLIB}" \
3783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3784 TAGS) \
3785 || exit 1
3787 @endif bash
3789 .PHONY: maybe-install-info-bash install-info-bash
3790 maybe-install-info-bash:
3791 @if bash
3792 maybe-install-info-bash: install-info-bash
3794 install-info-bash: \
3795 configure-bash \
3796 info-bash
3797 @[ -f ./bash/Makefile ] || exit 0; \
3798 r=`${PWD_COMMAND}`; export r; \
3799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3800 $(SET_LIB_PATH) \
3801 $(HOST_EXPORTS) \
3802 for flag in $(EXTRA_HOST_FLAGS) ; do \
3803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3804 done; \
3805 echo "Doing install-info in bash" ; \
3806 (cd bash && \
3807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3809 "RANLIB=$${RANLIB}" \
3810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3811 install-info) \
3812 || exit 1
3814 @endif bash
3816 .PHONY: maybe-installcheck-bash installcheck-bash
3817 maybe-installcheck-bash:
3818 @if bash
3819 maybe-installcheck-bash: installcheck-bash
3821 installcheck-bash: \
3822 configure-bash
3823 @[ -f ./bash/Makefile ] || exit 0; \
3824 r=`${PWD_COMMAND}`; export r; \
3825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3826 $(SET_LIB_PATH) \
3827 $(HOST_EXPORTS) \
3828 for flag in $(EXTRA_HOST_FLAGS) ; do \
3829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3830 done; \
3831 echo "Doing installcheck in bash" ; \
3832 (cd bash && \
3833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3835 "RANLIB=$${RANLIB}" \
3836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3837 installcheck) \
3838 || exit 1
3840 @endif bash
3842 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3843 maybe-mostlyclean-bash:
3844 @if bash
3845 maybe-mostlyclean-bash: mostlyclean-bash
3847 mostlyclean-bash:
3848 @[ -f ./bash/Makefile ] || exit 0; \
3849 r=`${PWD_COMMAND}`; export r; \
3850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3851 $(SET_LIB_PATH) \
3852 $(HOST_EXPORTS) \
3853 for flag in $(EXTRA_HOST_FLAGS) ; do \
3854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3855 done; \
3856 echo "Doing mostlyclean in bash" ; \
3857 (cd bash && \
3858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3860 "RANLIB=$${RANLIB}" \
3861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3862 mostlyclean) \
3863 || exit 1
3865 @endif bash
3867 .PHONY: maybe-clean-bash clean-bash
3868 maybe-clean-bash:
3869 @if bash
3870 maybe-clean-bash: clean-bash
3872 clean-bash:
3873 @[ -f ./bash/Makefile ] || exit 0; \
3874 r=`${PWD_COMMAND}`; export r; \
3875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3876 $(SET_LIB_PATH) \
3877 $(HOST_EXPORTS) \
3878 for flag in $(EXTRA_HOST_FLAGS) ; do \
3879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3880 done; \
3881 echo "Doing clean in bash" ; \
3882 (cd bash && \
3883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3885 "RANLIB=$${RANLIB}" \
3886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3887 clean) \
3888 || exit 1
3890 @endif bash
3892 .PHONY: maybe-distclean-bash distclean-bash
3893 maybe-distclean-bash:
3894 @if bash
3895 maybe-distclean-bash: distclean-bash
3897 distclean-bash:
3898 @[ -f ./bash/Makefile ] || exit 0; \
3899 r=`${PWD_COMMAND}`; export r; \
3900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3901 $(SET_LIB_PATH) \
3902 $(HOST_EXPORTS) \
3903 for flag in $(EXTRA_HOST_FLAGS) ; do \
3904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3905 done; \
3906 echo "Doing distclean in bash" ; \
3907 (cd bash && \
3908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3910 "RANLIB=$${RANLIB}" \
3911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3912 distclean) \
3913 || exit 1
3915 @endif bash
3917 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3918 maybe-maintainer-clean-bash:
3919 @if bash
3920 maybe-maintainer-clean-bash: maintainer-clean-bash
3922 maintainer-clean-bash:
3923 @[ -f ./bash/Makefile ] || exit 0; \
3924 r=`${PWD_COMMAND}`; export r; \
3925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3926 $(SET_LIB_PATH) \
3927 $(HOST_EXPORTS) \
3928 for flag in $(EXTRA_HOST_FLAGS) ; do \
3929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3930 done; \
3931 echo "Doing maintainer-clean in bash" ; \
3932 (cd bash && \
3933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3935 "RANLIB=$${RANLIB}" \
3936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3937 maintainer-clean) \
3938 || exit 1
3940 @endif bash
3943 .PHONY: configure-bfd maybe-configure-bfd
3944 maybe-configure-bfd:
3945 @if bfd
3946 maybe-configure-bfd: configure-bfd
3947 configure-bfd:
3948 @test -f stage_last && exit 0; \
3949 test ! -f bfd/Makefile || exit 0; \
3950 [ -d bfd ] || mkdir bfd; \
3951 r=`${PWD_COMMAND}`; export r; \
3952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3953 $(HOST_EXPORTS) \
3954 echo Configuring in bfd; \
3955 cd bfd || exit 1; \
3956 case $(srcdir) in \
3957 \.) \
3958 srcdiroption="--srcdir=."; \
3959 libsrcdir=".";; \
3960 /* | [A-Za-z]:[\\/]*) \
3961 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3962 libsrcdir="$$s/bfd";; \
3963 *) \
3964 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3965 libsrcdir="$$s/bfd";; \
3966 esac; \
3967 $(SHELL) $${libsrcdir}/configure \
3968 $(HOST_CONFIGARGS) $${srcdiroption} \
3969 || exit 1
3970 @endif bfd
3972 .PHONY: all-bfd maybe-all-bfd
3973 maybe-all-bfd:
3974 @if bfd
3975 TARGET-bfd=all
3976 maybe-all-bfd: all-bfd
3977 all-bfd: configure-bfd
3978 @test -f stage_last && exit 0; \
3979 r=`${PWD_COMMAND}`; export r; \
3980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3981 $(SET_LIB_PATH) \
3982 $(HOST_EXPORTS) \
3983 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) \
3984 $(TARGET-bfd))
3985 @endif bfd
3987 .PHONY: check-bfd maybe-check-bfd
3988 maybe-check-bfd:
3989 @if bfd
3990 maybe-check-bfd: check-bfd
3992 check-bfd:
3993 @r=`${PWD_COMMAND}`; export r; \
3994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3995 $(SET_LIB_PATH) \
3996 $(HOST_EXPORTS) \
3997 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3999 @endif bfd
4001 .PHONY: install-bfd maybe-install-bfd
4002 maybe-install-bfd:
4003 @if bfd
4004 maybe-install-bfd: install-bfd
4006 install-bfd: installdirs
4007 @r=`${PWD_COMMAND}`; export r; \
4008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4009 $(SET_LIB_PATH) \
4010 $(HOST_EXPORTS) \
4011 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
4013 @endif bfd
4015 # Other targets (info, dvi, etc.)
4017 .PHONY: maybe-info-bfd info-bfd
4018 maybe-info-bfd:
4019 @if bfd
4020 maybe-info-bfd: info-bfd
4022 info-bfd: \
4023 configure-bfd
4024 @[ -f ./bfd/Makefile ] || exit 0; \
4025 r=`${PWD_COMMAND}`; export r; \
4026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4027 $(SET_LIB_PATH) \
4028 $(HOST_EXPORTS) \
4029 for flag in $(EXTRA_HOST_FLAGS) ; do \
4030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4031 done; \
4032 echo "Doing info in bfd" ; \
4033 (cd bfd && \
4034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4036 "RANLIB=$${RANLIB}" \
4037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4038 info) \
4039 || exit 1
4041 @endif bfd
4043 .PHONY: maybe-dvi-bfd dvi-bfd
4044 maybe-dvi-bfd:
4045 @if bfd
4046 maybe-dvi-bfd: dvi-bfd
4048 dvi-bfd: \
4049 configure-bfd
4050 @[ -f ./bfd/Makefile ] || exit 0; \
4051 r=`${PWD_COMMAND}`; export r; \
4052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4053 $(SET_LIB_PATH) \
4054 $(HOST_EXPORTS) \
4055 for flag in $(EXTRA_HOST_FLAGS) ; do \
4056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4057 done; \
4058 echo "Doing dvi in bfd" ; \
4059 (cd bfd && \
4060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4062 "RANLIB=$${RANLIB}" \
4063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4064 dvi) \
4065 || exit 1
4067 @endif bfd
4069 .PHONY: maybe-html-bfd html-bfd
4070 maybe-html-bfd:
4071 @if bfd
4072 maybe-html-bfd: html-bfd
4074 html-bfd: \
4075 configure-bfd
4076 @[ -f ./bfd/Makefile ] || exit 0; \
4077 r=`${PWD_COMMAND}`; export r; \
4078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4079 $(SET_LIB_PATH) \
4080 $(HOST_EXPORTS) \
4081 for flag in $(EXTRA_HOST_FLAGS) ; do \
4082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4083 done; \
4084 echo "Doing html in bfd" ; \
4085 (cd bfd && \
4086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4088 "RANLIB=$${RANLIB}" \
4089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4090 html) \
4091 || exit 1
4093 @endif bfd
4095 .PHONY: maybe-TAGS-bfd TAGS-bfd
4096 maybe-TAGS-bfd:
4097 @if bfd
4098 maybe-TAGS-bfd: TAGS-bfd
4100 TAGS-bfd: \
4101 configure-bfd
4102 @[ -f ./bfd/Makefile ] || exit 0; \
4103 r=`${PWD_COMMAND}`; export r; \
4104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4105 $(SET_LIB_PATH) \
4106 $(HOST_EXPORTS) \
4107 for flag in $(EXTRA_HOST_FLAGS) ; do \
4108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4109 done; \
4110 echo "Doing TAGS in bfd" ; \
4111 (cd bfd && \
4112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4114 "RANLIB=$${RANLIB}" \
4115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4116 TAGS) \
4117 || exit 1
4119 @endif bfd
4121 .PHONY: maybe-install-info-bfd install-info-bfd
4122 maybe-install-info-bfd:
4123 @if bfd
4124 maybe-install-info-bfd: install-info-bfd
4126 install-info-bfd: \
4127 configure-bfd \
4128 info-bfd
4129 @[ -f ./bfd/Makefile ] || exit 0; \
4130 r=`${PWD_COMMAND}`; export r; \
4131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4132 $(SET_LIB_PATH) \
4133 $(HOST_EXPORTS) \
4134 for flag in $(EXTRA_HOST_FLAGS) ; do \
4135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4136 done; \
4137 echo "Doing install-info in bfd" ; \
4138 (cd bfd && \
4139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4141 "RANLIB=$${RANLIB}" \
4142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4143 install-info) \
4144 || exit 1
4146 @endif bfd
4148 .PHONY: maybe-installcheck-bfd installcheck-bfd
4149 maybe-installcheck-bfd:
4150 @if bfd
4151 maybe-installcheck-bfd: installcheck-bfd
4153 installcheck-bfd: \
4154 configure-bfd
4155 @[ -f ./bfd/Makefile ] || exit 0; \
4156 r=`${PWD_COMMAND}`; export r; \
4157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4158 $(SET_LIB_PATH) \
4159 $(HOST_EXPORTS) \
4160 for flag in $(EXTRA_HOST_FLAGS) ; do \
4161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4162 done; \
4163 echo "Doing installcheck in bfd" ; \
4164 (cd bfd && \
4165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4167 "RANLIB=$${RANLIB}" \
4168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4169 installcheck) \
4170 || exit 1
4172 @endif bfd
4174 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4175 maybe-mostlyclean-bfd:
4176 @if bfd
4177 maybe-mostlyclean-bfd: mostlyclean-bfd
4179 mostlyclean-bfd:
4180 @[ -f ./bfd/Makefile ] || exit 0; \
4181 r=`${PWD_COMMAND}`; export r; \
4182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4183 $(SET_LIB_PATH) \
4184 $(HOST_EXPORTS) \
4185 for flag in $(EXTRA_HOST_FLAGS) ; do \
4186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4187 done; \
4188 echo "Doing mostlyclean in bfd" ; \
4189 (cd bfd && \
4190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4192 "RANLIB=$${RANLIB}" \
4193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4194 mostlyclean) \
4195 || exit 1
4197 @endif bfd
4199 .PHONY: maybe-clean-bfd clean-bfd
4200 maybe-clean-bfd:
4201 @if bfd
4202 maybe-clean-bfd: clean-bfd
4204 clean-bfd:
4205 @[ -f ./bfd/Makefile ] || exit 0; \
4206 r=`${PWD_COMMAND}`; export r; \
4207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4208 $(SET_LIB_PATH) \
4209 $(HOST_EXPORTS) \
4210 for flag in $(EXTRA_HOST_FLAGS) ; do \
4211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4212 done; \
4213 echo "Doing clean in bfd" ; \
4214 (cd bfd && \
4215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4217 "RANLIB=$${RANLIB}" \
4218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4219 clean) \
4220 || exit 1
4222 @endif bfd
4224 .PHONY: maybe-distclean-bfd distclean-bfd
4225 maybe-distclean-bfd:
4226 @if bfd
4227 maybe-distclean-bfd: distclean-bfd
4229 distclean-bfd:
4230 @[ -f ./bfd/Makefile ] || exit 0; \
4231 r=`${PWD_COMMAND}`; export r; \
4232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4233 $(SET_LIB_PATH) \
4234 $(HOST_EXPORTS) \
4235 for flag in $(EXTRA_HOST_FLAGS) ; do \
4236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4237 done; \
4238 echo "Doing distclean in bfd" ; \
4239 (cd bfd && \
4240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4242 "RANLIB=$${RANLIB}" \
4243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4244 distclean) \
4245 || exit 1
4247 @endif bfd
4249 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4250 maybe-maintainer-clean-bfd:
4251 @if bfd
4252 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4254 maintainer-clean-bfd:
4255 @[ -f ./bfd/Makefile ] || exit 0; \
4256 r=`${PWD_COMMAND}`; export r; \
4257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4258 $(SET_LIB_PATH) \
4259 $(HOST_EXPORTS) \
4260 for flag in $(EXTRA_HOST_FLAGS) ; do \
4261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4262 done; \
4263 echo "Doing maintainer-clean in bfd" ; \
4264 (cd bfd && \
4265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4267 "RANLIB=$${RANLIB}" \
4268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4269 maintainer-clean) \
4270 || exit 1
4272 @endif bfd
4275 .PHONY: configure-opcodes maybe-configure-opcodes
4276 maybe-configure-opcodes:
4277 @if opcodes
4278 maybe-configure-opcodes: configure-opcodes
4279 configure-opcodes:
4280 @test -f stage_last && exit 0; \
4281 test ! -f opcodes/Makefile || exit 0; \
4282 [ -d opcodes ] || mkdir opcodes; \
4283 r=`${PWD_COMMAND}`; export r; \
4284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4285 $(HOST_EXPORTS) \
4286 echo Configuring in opcodes; \
4287 cd opcodes || exit 1; \
4288 case $(srcdir) in \
4289 \.) \
4290 srcdiroption="--srcdir=."; \
4291 libsrcdir=".";; \
4292 /* | [A-Za-z]:[\\/]*) \
4293 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4294 libsrcdir="$$s/opcodes";; \
4295 *) \
4296 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4297 libsrcdir="$$s/opcodes";; \
4298 esac; \
4299 $(SHELL) $${libsrcdir}/configure \
4300 $(HOST_CONFIGARGS) $${srcdiroption} \
4301 || exit 1
4302 @endif opcodes
4304 .PHONY: all-opcodes maybe-all-opcodes
4305 maybe-all-opcodes:
4306 @if opcodes
4307 TARGET-opcodes=all
4308 maybe-all-opcodes: all-opcodes
4309 all-opcodes: configure-opcodes
4310 @test -f stage_last && exit 0; \
4311 r=`${PWD_COMMAND}`; export r; \
4312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4313 $(SET_LIB_PATH) \
4314 $(HOST_EXPORTS) \
4315 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) \
4316 $(TARGET-opcodes))
4317 @endif opcodes
4319 .PHONY: check-opcodes maybe-check-opcodes
4320 maybe-check-opcodes:
4321 @if opcodes
4322 maybe-check-opcodes: check-opcodes
4324 check-opcodes:
4325 @r=`${PWD_COMMAND}`; export r; \
4326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4327 $(SET_LIB_PATH) \
4328 $(HOST_EXPORTS) \
4329 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4331 @endif opcodes
4333 .PHONY: install-opcodes maybe-install-opcodes
4334 maybe-install-opcodes:
4335 @if opcodes
4336 maybe-install-opcodes: install-opcodes
4338 install-opcodes: installdirs
4339 @r=`${PWD_COMMAND}`; export r; \
4340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4341 $(SET_LIB_PATH) \
4342 $(HOST_EXPORTS) \
4343 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4345 @endif opcodes
4347 # Other targets (info, dvi, etc.)
4349 .PHONY: maybe-info-opcodes info-opcodes
4350 maybe-info-opcodes:
4351 @if opcodes
4352 maybe-info-opcodes: info-opcodes
4354 info-opcodes: \
4355 configure-opcodes
4356 @[ -f ./opcodes/Makefile ] || exit 0; \
4357 r=`${PWD_COMMAND}`; export r; \
4358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4359 $(SET_LIB_PATH) \
4360 $(HOST_EXPORTS) \
4361 for flag in $(EXTRA_HOST_FLAGS) ; do \
4362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4363 done; \
4364 echo "Doing info in opcodes" ; \
4365 (cd opcodes && \
4366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4368 "RANLIB=$${RANLIB}" \
4369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4370 info) \
4371 || exit 1
4373 @endif opcodes
4375 .PHONY: maybe-dvi-opcodes dvi-opcodes
4376 maybe-dvi-opcodes:
4377 @if opcodes
4378 maybe-dvi-opcodes: dvi-opcodes
4380 dvi-opcodes: \
4381 configure-opcodes
4382 @[ -f ./opcodes/Makefile ] || exit 0; \
4383 r=`${PWD_COMMAND}`; export r; \
4384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4385 $(SET_LIB_PATH) \
4386 $(HOST_EXPORTS) \
4387 for flag in $(EXTRA_HOST_FLAGS) ; do \
4388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4389 done; \
4390 echo "Doing dvi in opcodes" ; \
4391 (cd opcodes && \
4392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4394 "RANLIB=$${RANLIB}" \
4395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4396 dvi) \
4397 || exit 1
4399 @endif opcodes
4401 .PHONY: maybe-html-opcodes html-opcodes
4402 maybe-html-opcodes:
4403 @if opcodes
4404 maybe-html-opcodes: html-opcodes
4406 html-opcodes: \
4407 configure-opcodes
4408 @[ -f ./opcodes/Makefile ] || exit 0; \
4409 r=`${PWD_COMMAND}`; export r; \
4410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4411 $(SET_LIB_PATH) \
4412 $(HOST_EXPORTS) \
4413 for flag in $(EXTRA_HOST_FLAGS) ; do \
4414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4415 done; \
4416 echo "Doing html in opcodes" ; \
4417 (cd opcodes && \
4418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4420 "RANLIB=$${RANLIB}" \
4421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4422 html) \
4423 || exit 1
4425 @endif opcodes
4427 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4428 maybe-TAGS-opcodes:
4429 @if opcodes
4430 maybe-TAGS-opcodes: TAGS-opcodes
4432 TAGS-opcodes: \
4433 configure-opcodes
4434 @[ -f ./opcodes/Makefile ] || exit 0; \
4435 r=`${PWD_COMMAND}`; export r; \
4436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4437 $(SET_LIB_PATH) \
4438 $(HOST_EXPORTS) \
4439 for flag in $(EXTRA_HOST_FLAGS) ; do \
4440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4441 done; \
4442 echo "Doing TAGS in opcodes" ; \
4443 (cd opcodes && \
4444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4446 "RANLIB=$${RANLIB}" \
4447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4448 TAGS) \
4449 || exit 1
4451 @endif opcodes
4453 .PHONY: maybe-install-info-opcodes install-info-opcodes
4454 maybe-install-info-opcodes:
4455 @if opcodes
4456 maybe-install-info-opcodes: install-info-opcodes
4458 install-info-opcodes: \
4459 configure-opcodes \
4460 info-opcodes
4461 @[ -f ./opcodes/Makefile ] || exit 0; \
4462 r=`${PWD_COMMAND}`; export r; \
4463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4464 $(SET_LIB_PATH) \
4465 $(HOST_EXPORTS) \
4466 for flag in $(EXTRA_HOST_FLAGS) ; do \
4467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4468 done; \
4469 echo "Doing install-info in opcodes" ; \
4470 (cd opcodes && \
4471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4473 "RANLIB=$${RANLIB}" \
4474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4475 install-info) \
4476 || exit 1
4478 @endif opcodes
4480 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4481 maybe-installcheck-opcodes:
4482 @if opcodes
4483 maybe-installcheck-opcodes: installcheck-opcodes
4485 installcheck-opcodes: \
4486 configure-opcodes
4487 @[ -f ./opcodes/Makefile ] || exit 0; \
4488 r=`${PWD_COMMAND}`; export r; \
4489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4490 $(SET_LIB_PATH) \
4491 $(HOST_EXPORTS) \
4492 for flag in $(EXTRA_HOST_FLAGS) ; do \
4493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4494 done; \
4495 echo "Doing installcheck in opcodes" ; \
4496 (cd opcodes && \
4497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4499 "RANLIB=$${RANLIB}" \
4500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4501 installcheck) \
4502 || exit 1
4504 @endif opcodes
4506 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4507 maybe-mostlyclean-opcodes:
4508 @if opcodes
4509 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4511 mostlyclean-opcodes:
4512 @[ -f ./opcodes/Makefile ] || exit 0; \
4513 r=`${PWD_COMMAND}`; export r; \
4514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4515 $(SET_LIB_PATH) \
4516 $(HOST_EXPORTS) \
4517 for flag in $(EXTRA_HOST_FLAGS) ; do \
4518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4519 done; \
4520 echo "Doing mostlyclean in opcodes" ; \
4521 (cd opcodes && \
4522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4524 "RANLIB=$${RANLIB}" \
4525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4526 mostlyclean) \
4527 || exit 1
4529 @endif opcodes
4531 .PHONY: maybe-clean-opcodes clean-opcodes
4532 maybe-clean-opcodes:
4533 @if opcodes
4534 maybe-clean-opcodes: clean-opcodes
4536 clean-opcodes:
4537 @[ -f ./opcodes/Makefile ] || exit 0; \
4538 r=`${PWD_COMMAND}`; export r; \
4539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4540 $(SET_LIB_PATH) \
4541 $(HOST_EXPORTS) \
4542 for flag in $(EXTRA_HOST_FLAGS) ; do \
4543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4544 done; \
4545 echo "Doing clean in opcodes" ; \
4546 (cd opcodes && \
4547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4549 "RANLIB=$${RANLIB}" \
4550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4551 clean) \
4552 || exit 1
4554 @endif opcodes
4556 .PHONY: maybe-distclean-opcodes distclean-opcodes
4557 maybe-distclean-opcodes:
4558 @if opcodes
4559 maybe-distclean-opcodes: distclean-opcodes
4561 distclean-opcodes:
4562 @[ -f ./opcodes/Makefile ] || exit 0; \
4563 r=`${PWD_COMMAND}`; export r; \
4564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4565 $(SET_LIB_PATH) \
4566 $(HOST_EXPORTS) \
4567 for flag in $(EXTRA_HOST_FLAGS) ; do \
4568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4569 done; \
4570 echo "Doing distclean in opcodes" ; \
4571 (cd opcodes && \
4572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4574 "RANLIB=$${RANLIB}" \
4575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4576 distclean) \
4577 || exit 1
4579 @endif opcodes
4581 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4582 maybe-maintainer-clean-opcodes:
4583 @if opcodes
4584 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4586 maintainer-clean-opcodes:
4587 @[ -f ./opcodes/Makefile ] || exit 0; \
4588 r=`${PWD_COMMAND}`; export r; \
4589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4590 $(SET_LIB_PATH) \
4591 $(HOST_EXPORTS) \
4592 for flag in $(EXTRA_HOST_FLAGS) ; do \
4593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4594 done; \
4595 echo "Doing maintainer-clean in opcodes" ; \
4596 (cd opcodes && \
4597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4599 "RANLIB=$${RANLIB}" \
4600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4601 maintainer-clean) \
4602 || exit 1
4604 @endif opcodes
4607 .PHONY: configure-binutils maybe-configure-binutils
4608 maybe-configure-binutils:
4609 @if binutils
4610 maybe-configure-binutils: configure-binutils
4611 configure-binutils:
4612 @test -f stage_last && exit 0; \
4613 test ! -f binutils/Makefile || exit 0; \
4614 [ -d binutils ] || mkdir binutils; \
4615 r=`${PWD_COMMAND}`; export r; \
4616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4617 $(HOST_EXPORTS) \
4618 echo Configuring in binutils; \
4619 cd binutils || exit 1; \
4620 case $(srcdir) in \
4621 \.) \
4622 srcdiroption="--srcdir=."; \
4623 libsrcdir=".";; \
4624 /* | [A-Za-z]:[\\/]*) \
4625 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4626 libsrcdir="$$s/binutils";; \
4627 *) \
4628 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4629 libsrcdir="$$s/binutils";; \
4630 esac; \
4631 $(SHELL) $${libsrcdir}/configure \
4632 $(HOST_CONFIGARGS) $${srcdiroption} \
4633 || exit 1
4634 @endif binutils
4636 .PHONY: all-binutils maybe-all-binutils
4637 maybe-all-binutils:
4638 @if binutils
4639 TARGET-binutils=all
4640 maybe-all-binutils: all-binutils
4641 all-binutils: configure-binutils
4642 @test -f stage_last && exit 0; \
4643 r=`${PWD_COMMAND}`; export r; \
4644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4645 $(SET_LIB_PATH) \
4646 $(HOST_EXPORTS) \
4647 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) \
4648 $(TARGET-binutils))
4649 @endif binutils
4651 .PHONY: check-binutils maybe-check-binutils
4652 maybe-check-binutils:
4653 @if binutils
4654 maybe-check-binutils: check-binutils
4656 check-binutils:
4657 @r=`${PWD_COMMAND}`; export r; \
4658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4659 $(SET_LIB_PATH) \
4660 $(HOST_EXPORTS) \
4661 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4663 @endif binutils
4665 .PHONY: install-binutils maybe-install-binutils
4666 maybe-install-binutils:
4667 @if binutils
4668 maybe-install-binutils: install-binutils
4670 install-binutils: installdirs
4671 @r=`${PWD_COMMAND}`; export r; \
4672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4673 $(SET_LIB_PATH) \
4674 $(HOST_EXPORTS) \
4675 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4677 @endif binutils
4679 # Other targets (info, dvi, etc.)
4681 .PHONY: maybe-info-binutils info-binutils
4682 maybe-info-binutils:
4683 @if binutils
4684 maybe-info-binutils: info-binutils
4686 info-binutils: \
4687 configure-binutils
4688 @[ -f ./binutils/Makefile ] || exit 0; \
4689 r=`${PWD_COMMAND}`; export r; \
4690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4691 $(SET_LIB_PATH) \
4692 $(HOST_EXPORTS) \
4693 for flag in $(EXTRA_HOST_FLAGS) ; do \
4694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4695 done; \
4696 echo "Doing info in binutils" ; \
4697 (cd binutils && \
4698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4700 "RANLIB=$${RANLIB}" \
4701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4702 info) \
4703 || exit 1
4705 @endif binutils
4707 .PHONY: maybe-dvi-binutils dvi-binutils
4708 maybe-dvi-binutils:
4709 @if binutils
4710 maybe-dvi-binutils: dvi-binutils
4712 dvi-binutils: \
4713 configure-binutils
4714 @[ -f ./binutils/Makefile ] || exit 0; \
4715 r=`${PWD_COMMAND}`; export r; \
4716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4717 $(SET_LIB_PATH) \
4718 $(HOST_EXPORTS) \
4719 for flag in $(EXTRA_HOST_FLAGS) ; do \
4720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4721 done; \
4722 echo "Doing dvi in binutils" ; \
4723 (cd binutils && \
4724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4726 "RANLIB=$${RANLIB}" \
4727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4728 dvi) \
4729 || exit 1
4731 @endif binutils
4733 .PHONY: maybe-html-binutils html-binutils
4734 maybe-html-binutils:
4735 @if binutils
4736 maybe-html-binutils: html-binutils
4738 html-binutils: \
4739 configure-binutils
4740 @[ -f ./binutils/Makefile ] || exit 0; \
4741 r=`${PWD_COMMAND}`; export r; \
4742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4743 $(SET_LIB_PATH) \
4744 $(HOST_EXPORTS) \
4745 for flag in $(EXTRA_HOST_FLAGS) ; do \
4746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4747 done; \
4748 echo "Doing html in binutils" ; \
4749 (cd binutils && \
4750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4752 "RANLIB=$${RANLIB}" \
4753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4754 html) \
4755 || exit 1
4757 @endif binutils
4759 .PHONY: maybe-TAGS-binutils TAGS-binutils
4760 maybe-TAGS-binutils:
4761 @if binutils
4762 maybe-TAGS-binutils: TAGS-binutils
4764 TAGS-binutils: \
4765 configure-binutils
4766 @[ -f ./binutils/Makefile ] || exit 0; \
4767 r=`${PWD_COMMAND}`; export r; \
4768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4769 $(SET_LIB_PATH) \
4770 $(HOST_EXPORTS) \
4771 for flag in $(EXTRA_HOST_FLAGS) ; do \
4772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4773 done; \
4774 echo "Doing TAGS in binutils" ; \
4775 (cd binutils && \
4776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4778 "RANLIB=$${RANLIB}" \
4779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4780 TAGS) \
4781 || exit 1
4783 @endif binutils
4785 .PHONY: maybe-install-info-binutils install-info-binutils
4786 maybe-install-info-binutils:
4787 @if binutils
4788 maybe-install-info-binutils: install-info-binutils
4790 install-info-binutils: \
4791 configure-binutils \
4792 info-binutils
4793 @[ -f ./binutils/Makefile ] || exit 0; \
4794 r=`${PWD_COMMAND}`; export r; \
4795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4796 $(SET_LIB_PATH) \
4797 $(HOST_EXPORTS) \
4798 for flag in $(EXTRA_HOST_FLAGS) ; do \
4799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4800 done; \
4801 echo "Doing install-info in binutils" ; \
4802 (cd binutils && \
4803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4805 "RANLIB=$${RANLIB}" \
4806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4807 install-info) \
4808 || exit 1
4810 @endif binutils
4812 .PHONY: maybe-installcheck-binutils installcheck-binutils
4813 maybe-installcheck-binutils:
4814 @if binutils
4815 maybe-installcheck-binutils: installcheck-binutils
4817 installcheck-binutils: \
4818 configure-binutils
4819 @[ -f ./binutils/Makefile ] || exit 0; \
4820 r=`${PWD_COMMAND}`; export r; \
4821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4822 $(SET_LIB_PATH) \
4823 $(HOST_EXPORTS) \
4824 for flag in $(EXTRA_HOST_FLAGS) ; do \
4825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4826 done; \
4827 echo "Doing installcheck in binutils" ; \
4828 (cd binutils && \
4829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4831 "RANLIB=$${RANLIB}" \
4832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4833 installcheck) \
4834 || exit 1
4836 @endif binutils
4838 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4839 maybe-mostlyclean-binutils:
4840 @if binutils
4841 maybe-mostlyclean-binutils: mostlyclean-binutils
4843 mostlyclean-binutils:
4844 @[ -f ./binutils/Makefile ] || exit 0; \
4845 r=`${PWD_COMMAND}`; export r; \
4846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4847 $(SET_LIB_PATH) \
4848 $(HOST_EXPORTS) \
4849 for flag in $(EXTRA_HOST_FLAGS) ; do \
4850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4851 done; \
4852 echo "Doing mostlyclean in binutils" ; \
4853 (cd binutils && \
4854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4856 "RANLIB=$${RANLIB}" \
4857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4858 mostlyclean) \
4859 || exit 1
4861 @endif binutils
4863 .PHONY: maybe-clean-binutils clean-binutils
4864 maybe-clean-binutils:
4865 @if binutils
4866 maybe-clean-binutils: clean-binutils
4868 clean-binutils:
4869 @[ -f ./binutils/Makefile ] || exit 0; \
4870 r=`${PWD_COMMAND}`; export r; \
4871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4872 $(SET_LIB_PATH) \
4873 $(HOST_EXPORTS) \
4874 for flag in $(EXTRA_HOST_FLAGS) ; do \
4875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4876 done; \
4877 echo "Doing clean in binutils" ; \
4878 (cd binutils && \
4879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4881 "RANLIB=$${RANLIB}" \
4882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4883 clean) \
4884 || exit 1
4886 @endif binutils
4888 .PHONY: maybe-distclean-binutils distclean-binutils
4889 maybe-distclean-binutils:
4890 @if binutils
4891 maybe-distclean-binutils: distclean-binutils
4893 distclean-binutils:
4894 @[ -f ./binutils/Makefile ] || exit 0; \
4895 r=`${PWD_COMMAND}`; export r; \
4896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4897 $(SET_LIB_PATH) \
4898 $(HOST_EXPORTS) \
4899 for flag in $(EXTRA_HOST_FLAGS) ; do \
4900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4901 done; \
4902 echo "Doing distclean in binutils" ; \
4903 (cd binutils && \
4904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4906 "RANLIB=$${RANLIB}" \
4907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4908 distclean) \
4909 || exit 1
4911 @endif binutils
4913 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4914 maybe-maintainer-clean-binutils:
4915 @if binutils
4916 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4918 maintainer-clean-binutils:
4919 @[ -f ./binutils/Makefile ] || exit 0; \
4920 r=`${PWD_COMMAND}`; export r; \
4921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4922 $(SET_LIB_PATH) \
4923 $(HOST_EXPORTS) \
4924 for flag in $(EXTRA_HOST_FLAGS) ; do \
4925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4926 done; \
4927 echo "Doing maintainer-clean in binutils" ; \
4928 (cd binutils && \
4929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4931 "RANLIB=$${RANLIB}" \
4932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4933 maintainer-clean) \
4934 || exit 1
4936 @endif binutils
4939 .PHONY: configure-bison maybe-configure-bison
4940 maybe-configure-bison:
4941 @if bison
4942 maybe-configure-bison: configure-bison
4943 configure-bison:
4944 @test ! -f bison/Makefile || exit 0; \
4945 [ -d bison ] || mkdir bison; \
4946 r=`${PWD_COMMAND}`; export r; \
4947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4948 $(HOST_EXPORTS) \
4949 echo Configuring in bison; \
4950 cd bison || exit 1; \
4951 case $(srcdir) in \
4952 \.) \
4953 srcdiroption="--srcdir=."; \
4954 libsrcdir=".";; \
4955 /* | [A-Za-z]:[\\/]*) \
4956 srcdiroption="--srcdir=$(srcdir)/bison"; \
4957 libsrcdir="$$s/bison";; \
4958 *) \
4959 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4960 libsrcdir="$$s/bison";; \
4961 esac; \
4962 $(SHELL) $${libsrcdir}/configure \
4963 $(HOST_CONFIGARGS) $${srcdiroption} \
4964 || exit 1
4965 @endif bison
4967 .PHONY: all-bison maybe-all-bison
4968 maybe-all-bison:
4969 @if bison
4970 TARGET-bison=all
4971 maybe-all-bison: all-bison
4972 all-bison: configure-bison
4973 @r=`${PWD_COMMAND}`; export r; \
4974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4975 $(SET_LIB_PATH) \
4976 $(HOST_EXPORTS) \
4977 (cd bison && $(MAKE) $(FLAGS_TO_PASS) \
4978 $(TARGET-bison))
4979 @endif bison
4981 .PHONY: check-bison maybe-check-bison
4982 maybe-check-bison:
4983 @if bison
4984 maybe-check-bison: check-bison
4986 # This module is only tested in a native toolchain.
4987 check-bison:
4988 @if [ '$(host)' = '$(target)' ] ; then \
4989 r=`${PWD_COMMAND}`; export r; \
4990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4991 $(SET_LIB_PATH) \
4992 $(HOST_EXPORTS) \
4993 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4996 @endif bison
4998 .PHONY: install-bison maybe-install-bison
4999 maybe-install-bison:
5000 @if bison
5001 maybe-install-bison: install-bison
5003 install-bison: installdirs
5004 @r=`${PWD_COMMAND}`; export r; \
5005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5006 $(SET_LIB_PATH) \
5007 $(HOST_EXPORTS) \
5008 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
5010 @endif bison
5012 # Other targets (info, dvi, etc.)
5014 .PHONY: maybe-info-bison info-bison
5015 maybe-info-bison:
5016 @if bison
5017 maybe-info-bison: info-bison
5019 info-bison: \
5020 configure-bison
5021 @[ -f ./bison/Makefile ] || exit 0; \
5022 r=`${PWD_COMMAND}`; export r; \
5023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5024 $(SET_LIB_PATH) \
5025 $(HOST_EXPORTS) \
5026 for flag in $(EXTRA_HOST_FLAGS) ; do \
5027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5028 done; \
5029 echo "Doing info in bison" ; \
5030 (cd bison && \
5031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5033 "RANLIB=$${RANLIB}" \
5034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5035 info) \
5036 || exit 1
5038 @endif bison
5040 .PHONY: maybe-dvi-bison dvi-bison
5041 maybe-dvi-bison:
5042 @if bison
5043 maybe-dvi-bison: dvi-bison
5045 dvi-bison: \
5046 configure-bison
5047 @[ -f ./bison/Makefile ] || exit 0; \
5048 r=`${PWD_COMMAND}`; export r; \
5049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5050 $(SET_LIB_PATH) \
5051 $(HOST_EXPORTS) \
5052 for flag in $(EXTRA_HOST_FLAGS) ; do \
5053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5054 done; \
5055 echo "Doing dvi in bison" ; \
5056 (cd bison && \
5057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5059 "RANLIB=$${RANLIB}" \
5060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5061 dvi) \
5062 || exit 1
5064 @endif bison
5066 .PHONY: maybe-html-bison html-bison
5067 maybe-html-bison:
5068 @if bison
5069 maybe-html-bison: html-bison
5071 html-bison: \
5072 configure-bison
5073 @[ -f ./bison/Makefile ] || exit 0; \
5074 r=`${PWD_COMMAND}`; export r; \
5075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5076 $(SET_LIB_PATH) \
5077 $(HOST_EXPORTS) \
5078 for flag in $(EXTRA_HOST_FLAGS) ; do \
5079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5080 done; \
5081 echo "Doing html in bison" ; \
5082 (cd bison && \
5083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5085 "RANLIB=$${RANLIB}" \
5086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5087 html) \
5088 || exit 1
5090 @endif bison
5092 .PHONY: maybe-TAGS-bison TAGS-bison
5093 maybe-TAGS-bison:
5094 @if bison
5095 maybe-TAGS-bison: TAGS-bison
5097 TAGS-bison: \
5098 configure-bison
5099 @[ -f ./bison/Makefile ] || exit 0; \
5100 r=`${PWD_COMMAND}`; export r; \
5101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5102 $(SET_LIB_PATH) \
5103 $(HOST_EXPORTS) \
5104 for flag in $(EXTRA_HOST_FLAGS) ; do \
5105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5106 done; \
5107 echo "Doing TAGS in bison" ; \
5108 (cd bison && \
5109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5111 "RANLIB=$${RANLIB}" \
5112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5113 TAGS) \
5114 || exit 1
5116 @endif bison
5118 .PHONY: maybe-install-info-bison install-info-bison
5119 maybe-install-info-bison:
5120 @if bison
5121 maybe-install-info-bison: install-info-bison
5123 install-info-bison: \
5124 configure-bison \
5125 info-bison
5126 @[ -f ./bison/Makefile ] || exit 0; \
5127 r=`${PWD_COMMAND}`; export r; \
5128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5129 $(SET_LIB_PATH) \
5130 $(HOST_EXPORTS) \
5131 for flag in $(EXTRA_HOST_FLAGS) ; do \
5132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5133 done; \
5134 echo "Doing install-info in bison" ; \
5135 (cd bison && \
5136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5138 "RANLIB=$${RANLIB}" \
5139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5140 install-info) \
5141 || exit 1
5143 @endif bison
5145 .PHONY: maybe-installcheck-bison installcheck-bison
5146 maybe-installcheck-bison:
5147 @if bison
5148 maybe-installcheck-bison: installcheck-bison
5150 installcheck-bison: \
5151 configure-bison
5152 @[ -f ./bison/Makefile ] || exit 0; \
5153 r=`${PWD_COMMAND}`; export r; \
5154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5155 $(SET_LIB_PATH) \
5156 $(HOST_EXPORTS) \
5157 for flag in $(EXTRA_HOST_FLAGS) ; do \
5158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5159 done; \
5160 echo "Doing installcheck in bison" ; \
5161 (cd bison && \
5162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5164 "RANLIB=$${RANLIB}" \
5165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5166 installcheck) \
5167 || exit 1
5169 @endif bison
5171 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5172 maybe-mostlyclean-bison:
5173 @if bison
5174 maybe-mostlyclean-bison: mostlyclean-bison
5176 mostlyclean-bison:
5177 @[ -f ./bison/Makefile ] || exit 0; \
5178 r=`${PWD_COMMAND}`; export r; \
5179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5180 $(SET_LIB_PATH) \
5181 $(HOST_EXPORTS) \
5182 for flag in $(EXTRA_HOST_FLAGS) ; do \
5183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5184 done; \
5185 echo "Doing mostlyclean in bison" ; \
5186 (cd bison && \
5187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5189 "RANLIB=$${RANLIB}" \
5190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5191 mostlyclean) \
5192 || exit 1
5194 @endif bison
5196 .PHONY: maybe-clean-bison clean-bison
5197 maybe-clean-bison:
5198 @if bison
5199 maybe-clean-bison: clean-bison
5201 clean-bison:
5202 @[ -f ./bison/Makefile ] || exit 0; \
5203 r=`${PWD_COMMAND}`; export r; \
5204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5205 $(SET_LIB_PATH) \
5206 $(HOST_EXPORTS) \
5207 for flag in $(EXTRA_HOST_FLAGS) ; do \
5208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5209 done; \
5210 echo "Doing clean in bison" ; \
5211 (cd bison && \
5212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5214 "RANLIB=$${RANLIB}" \
5215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5216 clean) \
5217 || exit 1
5219 @endif bison
5221 .PHONY: maybe-distclean-bison distclean-bison
5222 maybe-distclean-bison:
5223 @if bison
5224 maybe-distclean-bison: distclean-bison
5226 distclean-bison:
5227 @[ -f ./bison/Makefile ] || exit 0; \
5228 r=`${PWD_COMMAND}`; export r; \
5229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5230 $(SET_LIB_PATH) \
5231 $(HOST_EXPORTS) \
5232 for flag in $(EXTRA_HOST_FLAGS) ; do \
5233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5234 done; \
5235 echo "Doing distclean in bison" ; \
5236 (cd bison && \
5237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5239 "RANLIB=$${RANLIB}" \
5240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5241 distclean) \
5242 || exit 1
5244 @endif bison
5246 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5247 maybe-maintainer-clean-bison:
5248 @if bison
5249 maybe-maintainer-clean-bison: maintainer-clean-bison
5251 maintainer-clean-bison:
5252 @[ -f ./bison/Makefile ] || exit 0; \
5253 r=`${PWD_COMMAND}`; export r; \
5254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5255 $(SET_LIB_PATH) \
5256 $(HOST_EXPORTS) \
5257 for flag in $(EXTRA_HOST_FLAGS) ; do \
5258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5259 done; \
5260 echo "Doing maintainer-clean in bison" ; \
5261 (cd bison && \
5262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5264 "RANLIB=$${RANLIB}" \
5265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5266 maintainer-clean) \
5267 || exit 1
5269 @endif bison
5272 .PHONY: configure-byacc maybe-configure-byacc
5273 maybe-configure-byacc:
5274 @if byacc
5275 maybe-configure-byacc: configure-byacc
5276 configure-byacc:
5277 @test ! -f byacc/Makefile || exit 0; \
5278 [ -d byacc ] || mkdir byacc; \
5279 r=`${PWD_COMMAND}`; export r; \
5280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5281 $(HOST_EXPORTS) \
5282 echo Configuring in byacc; \
5283 cd byacc || exit 1; \
5284 case $(srcdir) in \
5285 \.) \
5286 srcdiroption="--srcdir=."; \
5287 libsrcdir=".";; \
5288 /* | [A-Za-z]:[\\/]*) \
5289 srcdiroption="--srcdir=$(srcdir)/byacc"; \
5290 libsrcdir="$$s/byacc";; \
5291 *) \
5292 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
5293 libsrcdir="$$s/byacc";; \
5294 esac; \
5295 $(SHELL) $${libsrcdir}/configure \
5296 $(HOST_CONFIGARGS) $${srcdiroption} \
5297 || exit 1
5298 @endif byacc
5300 .PHONY: all-byacc maybe-all-byacc
5301 maybe-all-byacc:
5302 @if byacc
5303 TARGET-byacc=all
5304 maybe-all-byacc: all-byacc
5305 all-byacc: configure-byacc
5306 @r=`${PWD_COMMAND}`; export r; \
5307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5308 $(SET_LIB_PATH) \
5309 $(HOST_EXPORTS) \
5310 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) \
5311 $(TARGET-byacc))
5312 @endif byacc
5314 .PHONY: check-byacc maybe-check-byacc
5315 maybe-check-byacc:
5316 @if byacc
5317 maybe-check-byacc: check-byacc
5319 # This module is only tested in a native toolchain.
5320 check-byacc:
5321 @if [ '$(host)' = '$(target)' ] ; then \
5322 r=`${PWD_COMMAND}`; export r; \
5323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5324 $(SET_LIB_PATH) \
5325 $(HOST_EXPORTS) \
5326 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
5329 @endif byacc
5331 .PHONY: install-byacc maybe-install-byacc
5332 maybe-install-byacc:
5333 @if byacc
5334 maybe-install-byacc: install-byacc
5336 install-byacc: installdirs
5337 @r=`${PWD_COMMAND}`; export r; \
5338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5339 $(SET_LIB_PATH) \
5340 $(HOST_EXPORTS) \
5341 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5343 @endif byacc
5345 # Other targets (info, dvi, etc.)
5347 .PHONY: maybe-info-byacc info-byacc
5348 maybe-info-byacc:
5349 @if byacc
5350 maybe-info-byacc: info-byacc
5352 info-byacc: \
5353 configure-byacc
5354 @[ -f ./byacc/Makefile ] || exit 0; \
5355 r=`${PWD_COMMAND}`; export r; \
5356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5357 $(SET_LIB_PATH) \
5358 $(HOST_EXPORTS) \
5359 for flag in $(EXTRA_HOST_FLAGS) ; do \
5360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5361 done; \
5362 echo "Doing info in byacc" ; \
5363 (cd byacc && \
5364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5366 "RANLIB=$${RANLIB}" \
5367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5368 info) \
5369 || exit 1
5371 @endif byacc
5373 .PHONY: maybe-dvi-byacc dvi-byacc
5374 maybe-dvi-byacc:
5375 @if byacc
5376 maybe-dvi-byacc: dvi-byacc
5378 dvi-byacc: \
5379 configure-byacc
5380 @[ -f ./byacc/Makefile ] || exit 0; \
5381 r=`${PWD_COMMAND}`; export r; \
5382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5383 $(SET_LIB_PATH) \
5384 $(HOST_EXPORTS) \
5385 for flag in $(EXTRA_HOST_FLAGS) ; do \
5386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5387 done; \
5388 echo "Doing dvi in byacc" ; \
5389 (cd byacc && \
5390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5392 "RANLIB=$${RANLIB}" \
5393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5394 dvi) \
5395 || exit 1
5397 @endif byacc
5399 .PHONY: maybe-html-byacc html-byacc
5400 maybe-html-byacc:
5401 @if byacc
5402 maybe-html-byacc: html-byacc
5404 html-byacc: \
5405 configure-byacc
5406 @[ -f ./byacc/Makefile ] || exit 0; \
5407 r=`${PWD_COMMAND}`; export r; \
5408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5409 $(SET_LIB_PATH) \
5410 $(HOST_EXPORTS) \
5411 for flag in $(EXTRA_HOST_FLAGS) ; do \
5412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5413 done; \
5414 echo "Doing html in byacc" ; \
5415 (cd byacc && \
5416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5418 "RANLIB=$${RANLIB}" \
5419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5420 html) \
5421 || exit 1
5423 @endif byacc
5425 .PHONY: maybe-TAGS-byacc TAGS-byacc
5426 maybe-TAGS-byacc:
5427 @if byacc
5428 maybe-TAGS-byacc: TAGS-byacc
5430 TAGS-byacc: \
5431 configure-byacc
5432 @[ -f ./byacc/Makefile ] || exit 0; \
5433 r=`${PWD_COMMAND}`; export r; \
5434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5435 $(SET_LIB_PATH) \
5436 $(HOST_EXPORTS) \
5437 for flag in $(EXTRA_HOST_FLAGS) ; do \
5438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5439 done; \
5440 echo "Doing TAGS in byacc" ; \
5441 (cd byacc && \
5442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5444 "RANLIB=$${RANLIB}" \
5445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5446 TAGS) \
5447 || exit 1
5449 @endif byacc
5451 .PHONY: maybe-install-info-byacc install-info-byacc
5452 maybe-install-info-byacc:
5453 @if byacc
5454 maybe-install-info-byacc: install-info-byacc
5456 install-info-byacc: \
5457 configure-byacc \
5458 info-byacc
5459 @[ -f ./byacc/Makefile ] || exit 0; \
5460 r=`${PWD_COMMAND}`; export r; \
5461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5462 $(SET_LIB_PATH) \
5463 $(HOST_EXPORTS) \
5464 for flag in $(EXTRA_HOST_FLAGS) ; do \
5465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5466 done; \
5467 echo "Doing install-info in byacc" ; \
5468 (cd byacc && \
5469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5471 "RANLIB=$${RANLIB}" \
5472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5473 install-info) \
5474 || exit 1
5476 @endif byacc
5478 .PHONY: maybe-installcheck-byacc installcheck-byacc
5479 maybe-installcheck-byacc:
5480 @if byacc
5481 maybe-installcheck-byacc: installcheck-byacc
5483 installcheck-byacc: \
5484 configure-byacc
5485 @[ -f ./byacc/Makefile ] || exit 0; \
5486 r=`${PWD_COMMAND}`; export r; \
5487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5488 $(SET_LIB_PATH) \
5489 $(HOST_EXPORTS) \
5490 for flag in $(EXTRA_HOST_FLAGS) ; do \
5491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5492 done; \
5493 echo "Doing installcheck in byacc" ; \
5494 (cd byacc && \
5495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5497 "RANLIB=$${RANLIB}" \
5498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5499 installcheck) \
5500 || exit 1
5502 @endif byacc
5504 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5505 maybe-mostlyclean-byacc:
5506 @if byacc
5507 maybe-mostlyclean-byacc: mostlyclean-byacc
5509 mostlyclean-byacc:
5510 @[ -f ./byacc/Makefile ] || exit 0; \
5511 r=`${PWD_COMMAND}`; export r; \
5512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5513 $(SET_LIB_PATH) \
5514 $(HOST_EXPORTS) \
5515 for flag in $(EXTRA_HOST_FLAGS) ; do \
5516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5517 done; \
5518 echo "Doing mostlyclean in byacc" ; \
5519 (cd byacc && \
5520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5522 "RANLIB=$${RANLIB}" \
5523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5524 mostlyclean) \
5525 || exit 1
5527 @endif byacc
5529 .PHONY: maybe-clean-byacc clean-byacc
5530 maybe-clean-byacc:
5531 @if byacc
5532 maybe-clean-byacc: clean-byacc
5534 clean-byacc:
5535 @[ -f ./byacc/Makefile ] || exit 0; \
5536 r=`${PWD_COMMAND}`; export r; \
5537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5538 $(SET_LIB_PATH) \
5539 $(HOST_EXPORTS) \
5540 for flag in $(EXTRA_HOST_FLAGS) ; do \
5541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5542 done; \
5543 echo "Doing clean in byacc" ; \
5544 (cd byacc && \
5545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5547 "RANLIB=$${RANLIB}" \
5548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5549 clean) \
5550 || exit 1
5552 @endif byacc
5554 .PHONY: maybe-distclean-byacc distclean-byacc
5555 maybe-distclean-byacc:
5556 @if byacc
5557 maybe-distclean-byacc: distclean-byacc
5559 distclean-byacc:
5560 @[ -f ./byacc/Makefile ] || exit 0; \
5561 r=`${PWD_COMMAND}`; export r; \
5562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5563 $(SET_LIB_PATH) \
5564 $(HOST_EXPORTS) \
5565 for flag in $(EXTRA_HOST_FLAGS) ; do \
5566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5567 done; \
5568 echo "Doing distclean in byacc" ; \
5569 (cd byacc && \
5570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5572 "RANLIB=$${RANLIB}" \
5573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5574 distclean) \
5575 || exit 1
5577 @endif byacc
5579 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5580 maybe-maintainer-clean-byacc:
5581 @if byacc
5582 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5584 maintainer-clean-byacc:
5585 @[ -f ./byacc/Makefile ] || exit 0; \
5586 r=`${PWD_COMMAND}`; export r; \
5587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5588 $(SET_LIB_PATH) \
5589 $(HOST_EXPORTS) \
5590 for flag in $(EXTRA_HOST_FLAGS) ; do \
5591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5592 done; \
5593 echo "Doing maintainer-clean in byacc" ; \
5594 (cd byacc && \
5595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5597 "RANLIB=$${RANLIB}" \
5598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5599 maintainer-clean) \
5600 || exit 1
5602 @endif byacc
5605 .PHONY: configure-bzip2 maybe-configure-bzip2
5606 maybe-configure-bzip2:
5607 @if bzip2
5608 maybe-configure-bzip2: configure-bzip2
5609 configure-bzip2:
5610 @test ! -f bzip2/Makefile || exit 0; \
5611 [ -d bzip2 ] || mkdir bzip2; \
5612 r=`${PWD_COMMAND}`; export r; \
5613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5614 $(HOST_EXPORTS) \
5615 echo Configuring in bzip2; \
5616 cd bzip2 || exit 1; \
5617 case $(srcdir) in \
5618 \.) \
5619 srcdiroption="--srcdir=."; \
5620 libsrcdir=".";; \
5621 /* | [A-Za-z]:[\\/]*) \
5622 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5623 libsrcdir="$$s/bzip2";; \
5624 *) \
5625 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5626 libsrcdir="$$s/bzip2";; \
5627 esac; \
5628 $(SHELL) $${libsrcdir}/configure \
5629 $(HOST_CONFIGARGS) $${srcdiroption} \
5630 || exit 1
5631 @endif bzip2
5633 .PHONY: all-bzip2 maybe-all-bzip2
5634 maybe-all-bzip2:
5635 @if bzip2
5636 TARGET-bzip2=all
5637 maybe-all-bzip2: all-bzip2
5638 all-bzip2: configure-bzip2
5639 @r=`${PWD_COMMAND}`; export r; \
5640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5641 $(SET_LIB_PATH) \
5642 $(HOST_EXPORTS) \
5643 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) \
5644 $(TARGET-bzip2))
5645 @endif bzip2
5647 .PHONY: check-bzip2 maybe-check-bzip2
5648 maybe-check-bzip2:
5649 @if bzip2
5650 maybe-check-bzip2: check-bzip2
5652 check-bzip2:
5653 @r=`${PWD_COMMAND}`; export r; \
5654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5655 $(SET_LIB_PATH) \
5656 $(HOST_EXPORTS) \
5657 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5659 @endif bzip2
5661 .PHONY: install-bzip2 maybe-install-bzip2
5662 maybe-install-bzip2:
5663 @if bzip2
5664 maybe-install-bzip2: install-bzip2
5666 install-bzip2: installdirs
5667 @r=`${PWD_COMMAND}`; export r; \
5668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5669 $(SET_LIB_PATH) \
5670 $(HOST_EXPORTS) \
5671 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5673 @endif bzip2
5675 # Other targets (info, dvi, etc.)
5677 .PHONY: maybe-info-bzip2 info-bzip2
5678 maybe-info-bzip2:
5679 @if bzip2
5680 maybe-info-bzip2: info-bzip2
5682 info-bzip2: \
5683 configure-bzip2
5684 @[ -f ./bzip2/Makefile ] || exit 0; \
5685 r=`${PWD_COMMAND}`; export r; \
5686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5687 $(SET_LIB_PATH) \
5688 $(HOST_EXPORTS) \
5689 for flag in $(EXTRA_HOST_FLAGS) ; do \
5690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5691 done; \
5692 echo "Doing info in bzip2" ; \
5693 (cd bzip2 && \
5694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5696 "RANLIB=$${RANLIB}" \
5697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5698 info) \
5699 || exit 1
5701 @endif bzip2
5703 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5704 maybe-dvi-bzip2:
5705 @if bzip2
5706 maybe-dvi-bzip2: dvi-bzip2
5708 dvi-bzip2: \
5709 configure-bzip2
5710 @[ -f ./bzip2/Makefile ] || exit 0; \
5711 r=`${PWD_COMMAND}`; export r; \
5712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5713 $(SET_LIB_PATH) \
5714 $(HOST_EXPORTS) \
5715 for flag in $(EXTRA_HOST_FLAGS) ; do \
5716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5717 done; \
5718 echo "Doing dvi in bzip2" ; \
5719 (cd bzip2 && \
5720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5722 "RANLIB=$${RANLIB}" \
5723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5724 dvi) \
5725 || exit 1
5727 @endif bzip2
5729 .PHONY: maybe-html-bzip2 html-bzip2
5730 maybe-html-bzip2:
5731 @if bzip2
5732 maybe-html-bzip2: html-bzip2
5734 html-bzip2: \
5735 configure-bzip2
5736 @[ -f ./bzip2/Makefile ] || exit 0; \
5737 r=`${PWD_COMMAND}`; export r; \
5738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5739 $(SET_LIB_PATH) \
5740 $(HOST_EXPORTS) \
5741 for flag in $(EXTRA_HOST_FLAGS) ; do \
5742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5743 done; \
5744 echo "Doing html in bzip2" ; \
5745 (cd bzip2 && \
5746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5748 "RANLIB=$${RANLIB}" \
5749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5750 html) \
5751 || exit 1
5753 @endif bzip2
5755 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5756 maybe-TAGS-bzip2:
5757 @if bzip2
5758 maybe-TAGS-bzip2: TAGS-bzip2
5760 TAGS-bzip2: \
5761 configure-bzip2
5762 @[ -f ./bzip2/Makefile ] || exit 0; \
5763 r=`${PWD_COMMAND}`; export r; \
5764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5765 $(SET_LIB_PATH) \
5766 $(HOST_EXPORTS) \
5767 for flag in $(EXTRA_HOST_FLAGS) ; do \
5768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5769 done; \
5770 echo "Doing TAGS in bzip2" ; \
5771 (cd bzip2 && \
5772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5774 "RANLIB=$${RANLIB}" \
5775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5776 TAGS) \
5777 || exit 1
5779 @endif bzip2
5781 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5782 maybe-install-info-bzip2:
5783 @if bzip2
5784 maybe-install-info-bzip2: install-info-bzip2
5786 install-info-bzip2: \
5787 configure-bzip2 \
5788 info-bzip2
5789 @[ -f ./bzip2/Makefile ] || exit 0; \
5790 r=`${PWD_COMMAND}`; export r; \
5791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5792 $(SET_LIB_PATH) \
5793 $(HOST_EXPORTS) \
5794 for flag in $(EXTRA_HOST_FLAGS) ; do \
5795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5796 done; \
5797 echo "Doing install-info in bzip2" ; \
5798 (cd bzip2 && \
5799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5801 "RANLIB=$${RANLIB}" \
5802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5803 install-info) \
5804 || exit 1
5806 @endif bzip2
5808 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5809 maybe-installcheck-bzip2:
5810 @if bzip2
5811 maybe-installcheck-bzip2: installcheck-bzip2
5813 installcheck-bzip2: \
5814 configure-bzip2
5815 @[ -f ./bzip2/Makefile ] || exit 0; \
5816 r=`${PWD_COMMAND}`; export r; \
5817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5818 $(SET_LIB_PATH) \
5819 $(HOST_EXPORTS) \
5820 for flag in $(EXTRA_HOST_FLAGS) ; do \
5821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5822 done; \
5823 echo "Doing installcheck in bzip2" ; \
5824 (cd bzip2 && \
5825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5827 "RANLIB=$${RANLIB}" \
5828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5829 installcheck) \
5830 || exit 1
5832 @endif bzip2
5834 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5835 maybe-mostlyclean-bzip2:
5836 @if bzip2
5837 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5839 mostlyclean-bzip2:
5840 @[ -f ./bzip2/Makefile ] || exit 0; \
5841 r=`${PWD_COMMAND}`; export r; \
5842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5843 $(SET_LIB_PATH) \
5844 $(HOST_EXPORTS) \
5845 for flag in $(EXTRA_HOST_FLAGS) ; do \
5846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5847 done; \
5848 echo "Doing mostlyclean in bzip2" ; \
5849 (cd bzip2 && \
5850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5852 "RANLIB=$${RANLIB}" \
5853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5854 mostlyclean) \
5855 || exit 1
5857 @endif bzip2
5859 .PHONY: maybe-clean-bzip2 clean-bzip2
5860 maybe-clean-bzip2:
5861 @if bzip2
5862 maybe-clean-bzip2: clean-bzip2
5864 clean-bzip2:
5865 @[ -f ./bzip2/Makefile ] || exit 0; \
5866 r=`${PWD_COMMAND}`; export r; \
5867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5868 $(SET_LIB_PATH) \
5869 $(HOST_EXPORTS) \
5870 for flag in $(EXTRA_HOST_FLAGS) ; do \
5871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5872 done; \
5873 echo "Doing clean in bzip2" ; \
5874 (cd bzip2 && \
5875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5877 "RANLIB=$${RANLIB}" \
5878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5879 clean) \
5880 || exit 1
5882 @endif bzip2
5884 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5885 maybe-distclean-bzip2:
5886 @if bzip2
5887 maybe-distclean-bzip2: distclean-bzip2
5889 distclean-bzip2:
5890 @[ -f ./bzip2/Makefile ] || exit 0; \
5891 r=`${PWD_COMMAND}`; export r; \
5892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5893 $(SET_LIB_PATH) \
5894 $(HOST_EXPORTS) \
5895 for flag in $(EXTRA_HOST_FLAGS) ; do \
5896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5897 done; \
5898 echo "Doing distclean in bzip2" ; \
5899 (cd bzip2 && \
5900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5902 "RANLIB=$${RANLIB}" \
5903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5904 distclean) \
5905 || exit 1
5907 @endif bzip2
5909 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5910 maybe-maintainer-clean-bzip2:
5911 @if bzip2
5912 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5914 maintainer-clean-bzip2:
5915 @[ -f ./bzip2/Makefile ] || exit 0; \
5916 r=`${PWD_COMMAND}`; export r; \
5917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5918 $(SET_LIB_PATH) \
5919 $(HOST_EXPORTS) \
5920 for flag in $(EXTRA_HOST_FLAGS) ; do \
5921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5922 done; \
5923 echo "Doing maintainer-clean in bzip2" ; \
5924 (cd bzip2 && \
5925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5927 "RANLIB=$${RANLIB}" \
5928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5929 maintainer-clean) \
5930 || exit 1
5932 @endif bzip2
5935 .PHONY: configure-dejagnu maybe-configure-dejagnu
5936 maybe-configure-dejagnu:
5937 @if dejagnu
5938 maybe-configure-dejagnu: configure-dejagnu
5939 configure-dejagnu:
5940 @test ! -f dejagnu/Makefile || exit 0; \
5941 [ -d dejagnu ] || mkdir dejagnu; \
5942 r=`${PWD_COMMAND}`; export r; \
5943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5944 $(HOST_EXPORTS) \
5945 echo Configuring in dejagnu; \
5946 cd dejagnu || exit 1; \
5947 case $(srcdir) in \
5948 \.) \
5949 srcdiroption="--srcdir=."; \
5950 libsrcdir=".";; \
5951 /* | [A-Za-z]:[\\/]*) \
5952 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5953 libsrcdir="$$s/dejagnu";; \
5954 *) \
5955 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5956 libsrcdir="$$s/dejagnu";; \
5957 esac; \
5958 $(SHELL) $${libsrcdir}/configure \
5959 $(HOST_CONFIGARGS) $${srcdiroption} \
5960 || exit 1
5961 @endif dejagnu
5963 .PHONY: all-dejagnu maybe-all-dejagnu
5964 maybe-all-dejagnu:
5965 @if dejagnu
5966 TARGET-dejagnu=all
5967 maybe-all-dejagnu: all-dejagnu
5968 all-dejagnu: configure-dejagnu
5969 @r=`${PWD_COMMAND}`; export r; \
5970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5971 $(SET_LIB_PATH) \
5972 $(HOST_EXPORTS) \
5973 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) \
5974 $(TARGET-dejagnu))
5975 @endif dejagnu
5977 .PHONY: check-dejagnu maybe-check-dejagnu
5978 maybe-check-dejagnu:
5979 @if dejagnu
5980 maybe-check-dejagnu: check-dejagnu
5982 check-dejagnu:
5983 @r=`${PWD_COMMAND}`; export r; \
5984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5985 $(SET_LIB_PATH) \
5986 $(HOST_EXPORTS) \
5987 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5989 @endif dejagnu
5991 .PHONY: install-dejagnu maybe-install-dejagnu
5992 maybe-install-dejagnu:
5993 @if dejagnu
5994 maybe-install-dejagnu: install-dejagnu
5996 install-dejagnu: installdirs
5997 @r=`${PWD_COMMAND}`; export r; \
5998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5999 $(SET_LIB_PATH) \
6000 $(HOST_EXPORTS) \
6001 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
6003 @endif dejagnu
6005 # Other targets (info, dvi, etc.)
6007 .PHONY: maybe-info-dejagnu info-dejagnu
6008 maybe-info-dejagnu:
6009 @if dejagnu
6010 maybe-info-dejagnu: info-dejagnu
6012 info-dejagnu: \
6013 configure-dejagnu
6014 @[ -f ./dejagnu/Makefile ] || exit 0; \
6015 r=`${PWD_COMMAND}`; export r; \
6016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6017 $(SET_LIB_PATH) \
6018 $(HOST_EXPORTS) \
6019 for flag in $(EXTRA_HOST_FLAGS) ; do \
6020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6021 done; \
6022 echo "Doing info in dejagnu" ; \
6023 (cd dejagnu && \
6024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6026 "RANLIB=$${RANLIB}" \
6027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6028 info) \
6029 || exit 1
6031 @endif dejagnu
6033 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6034 maybe-dvi-dejagnu:
6035 @if dejagnu
6036 maybe-dvi-dejagnu: dvi-dejagnu
6038 dvi-dejagnu: \
6039 configure-dejagnu
6040 @[ -f ./dejagnu/Makefile ] || exit 0; \
6041 r=`${PWD_COMMAND}`; export r; \
6042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6043 $(SET_LIB_PATH) \
6044 $(HOST_EXPORTS) \
6045 for flag in $(EXTRA_HOST_FLAGS) ; do \
6046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6047 done; \
6048 echo "Doing dvi in dejagnu" ; \
6049 (cd dejagnu && \
6050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6052 "RANLIB=$${RANLIB}" \
6053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6054 dvi) \
6055 || exit 1
6057 @endif dejagnu
6059 .PHONY: maybe-html-dejagnu html-dejagnu
6060 maybe-html-dejagnu:
6061 @if dejagnu
6062 maybe-html-dejagnu: html-dejagnu
6064 html-dejagnu: \
6065 configure-dejagnu
6066 @[ -f ./dejagnu/Makefile ] || exit 0; \
6067 r=`${PWD_COMMAND}`; export r; \
6068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6069 $(SET_LIB_PATH) \
6070 $(HOST_EXPORTS) \
6071 for flag in $(EXTRA_HOST_FLAGS) ; do \
6072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6073 done; \
6074 echo "Doing html in dejagnu" ; \
6075 (cd dejagnu && \
6076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6078 "RANLIB=$${RANLIB}" \
6079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6080 html) \
6081 || exit 1
6083 @endif dejagnu
6085 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6086 maybe-TAGS-dejagnu:
6087 @if dejagnu
6088 maybe-TAGS-dejagnu: TAGS-dejagnu
6090 TAGS-dejagnu: \
6091 configure-dejagnu
6092 @[ -f ./dejagnu/Makefile ] || exit 0; \
6093 r=`${PWD_COMMAND}`; export r; \
6094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6095 $(SET_LIB_PATH) \
6096 $(HOST_EXPORTS) \
6097 for flag in $(EXTRA_HOST_FLAGS) ; do \
6098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6099 done; \
6100 echo "Doing TAGS in dejagnu" ; \
6101 (cd dejagnu && \
6102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6104 "RANLIB=$${RANLIB}" \
6105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6106 TAGS) \
6107 || exit 1
6109 @endif dejagnu
6111 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6112 maybe-install-info-dejagnu:
6113 @if dejagnu
6114 maybe-install-info-dejagnu: install-info-dejagnu
6116 install-info-dejagnu: \
6117 configure-dejagnu \
6118 info-dejagnu
6119 @[ -f ./dejagnu/Makefile ] || exit 0; \
6120 r=`${PWD_COMMAND}`; export r; \
6121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6122 $(SET_LIB_PATH) \
6123 $(HOST_EXPORTS) \
6124 for flag in $(EXTRA_HOST_FLAGS) ; do \
6125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6126 done; \
6127 echo "Doing install-info in dejagnu" ; \
6128 (cd dejagnu && \
6129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6131 "RANLIB=$${RANLIB}" \
6132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6133 install-info) \
6134 || exit 1
6136 @endif dejagnu
6138 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6139 maybe-installcheck-dejagnu:
6140 @if dejagnu
6141 maybe-installcheck-dejagnu: installcheck-dejagnu
6143 installcheck-dejagnu: \
6144 configure-dejagnu
6145 @[ -f ./dejagnu/Makefile ] || exit 0; \
6146 r=`${PWD_COMMAND}`; export r; \
6147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6148 $(SET_LIB_PATH) \
6149 $(HOST_EXPORTS) \
6150 for flag in $(EXTRA_HOST_FLAGS) ; do \
6151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6152 done; \
6153 echo "Doing installcheck in dejagnu" ; \
6154 (cd dejagnu && \
6155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6157 "RANLIB=$${RANLIB}" \
6158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6159 installcheck) \
6160 || exit 1
6162 @endif dejagnu
6164 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6165 maybe-mostlyclean-dejagnu:
6166 @if dejagnu
6167 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6169 mostlyclean-dejagnu:
6170 @[ -f ./dejagnu/Makefile ] || exit 0; \
6171 r=`${PWD_COMMAND}`; export r; \
6172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6173 $(SET_LIB_PATH) \
6174 $(HOST_EXPORTS) \
6175 for flag in $(EXTRA_HOST_FLAGS) ; do \
6176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6177 done; \
6178 echo "Doing mostlyclean in dejagnu" ; \
6179 (cd dejagnu && \
6180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6182 "RANLIB=$${RANLIB}" \
6183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6184 mostlyclean) \
6185 || exit 1
6187 @endif dejagnu
6189 .PHONY: maybe-clean-dejagnu clean-dejagnu
6190 maybe-clean-dejagnu:
6191 @if dejagnu
6192 maybe-clean-dejagnu: clean-dejagnu
6194 clean-dejagnu:
6195 @[ -f ./dejagnu/Makefile ] || exit 0; \
6196 r=`${PWD_COMMAND}`; export r; \
6197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6198 $(SET_LIB_PATH) \
6199 $(HOST_EXPORTS) \
6200 for flag in $(EXTRA_HOST_FLAGS) ; do \
6201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6202 done; \
6203 echo "Doing clean in dejagnu" ; \
6204 (cd dejagnu && \
6205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6207 "RANLIB=$${RANLIB}" \
6208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6209 clean) \
6210 || exit 1
6212 @endif dejagnu
6214 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6215 maybe-distclean-dejagnu:
6216 @if dejagnu
6217 maybe-distclean-dejagnu: distclean-dejagnu
6219 distclean-dejagnu:
6220 @[ -f ./dejagnu/Makefile ] || exit 0; \
6221 r=`${PWD_COMMAND}`; export r; \
6222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6223 $(SET_LIB_PATH) \
6224 $(HOST_EXPORTS) \
6225 for flag in $(EXTRA_HOST_FLAGS) ; do \
6226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6227 done; \
6228 echo "Doing distclean in dejagnu" ; \
6229 (cd dejagnu && \
6230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6232 "RANLIB=$${RANLIB}" \
6233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6234 distclean) \
6235 || exit 1
6237 @endif dejagnu
6239 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6240 maybe-maintainer-clean-dejagnu:
6241 @if dejagnu
6242 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6244 maintainer-clean-dejagnu:
6245 @[ -f ./dejagnu/Makefile ] || exit 0; \
6246 r=`${PWD_COMMAND}`; export r; \
6247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6248 $(SET_LIB_PATH) \
6249 $(HOST_EXPORTS) \
6250 for flag in $(EXTRA_HOST_FLAGS) ; do \
6251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6252 done; \
6253 echo "Doing maintainer-clean in dejagnu" ; \
6254 (cd dejagnu && \
6255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6257 "RANLIB=$${RANLIB}" \
6258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6259 maintainer-clean) \
6260 || exit 1
6262 @endif dejagnu
6265 .PHONY: configure-diff maybe-configure-diff
6266 maybe-configure-diff:
6267 @if diff
6268 maybe-configure-diff: configure-diff
6269 configure-diff:
6270 @test ! -f diff/Makefile || exit 0; \
6271 [ -d diff ] || mkdir diff; \
6272 r=`${PWD_COMMAND}`; export r; \
6273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6274 $(HOST_EXPORTS) \
6275 echo Configuring in diff; \
6276 cd diff || exit 1; \
6277 case $(srcdir) in \
6278 \.) \
6279 srcdiroption="--srcdir=."; \
6280 libsrcdir=".";; \
6281 /* | [A-Za-z]:[\\/]*) \
6282 srcdiroption="--srcdir=$(srcdir)/diff"; \
6283 libsrcdir="$$s/diff";; \
6284 *) \
6285 srcdiroption="--srcdir=../$(srcdir)/diff"; \
6286 libsrcdir="$$s/diff";; \
6287 esac; \
6288 $(SHELL) $${libsrcdir}/configure \
6289 $(HOST_CONFIGARGS) $${srcdiroption} \
6290 || exit 1
6291 @endif diff
6293 .PHONY: all-diff maybe-all-diff
6294 maybe-all-diff:
6295 @if diff
6296 TARGET-diff=all
6297 maybe-all-diff: all-diff
6298 all-diff: configure-diff
6299 @r=`${PWD_COMMAND}`; export r; \
6300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6301 $(SET_LIB_PATH) \
6302 $(HOST_EXPORTS) \
6303 (cd diff && $(MAKE) $(FLAGS_TO_PASS) \
6304 $(TARGET-diff))
6305 @endif diff
6307 .PHONY: check-diff maybe-check-diff
6308 maybe-check-diff:
6309 @if diff
6310 maybe-check-diff: check-diff
6312 check-diff:
6313 @r=`${PWD_COMMAND}`; export r; \
6314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6315 $(SET_LIB_PATH) \
6316 $(HOST_EXPORTS) \
6317 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
6319 @endif diff
6321 .PHONY: install-diff maybe-install-diff
6322 maybe-install-diff:
6323 @if diff
6324 maybe-install-diff: install-diff
6326 install-diff: installdirs
6327 @r=`${PWD_COMMAND}`; export r; \
6328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6329 $(SET_LIB_PATH) \
6330 $(HOST_EXPORTS) \
6331 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
6333 @endif diff
6335 # Other targets (info, dvi, etc.)
6337 .PHONY: maybe-info-diff info-diff
6338 maybe-info-diff:
6339 @if diff
6340 maybe-info-diff: info-diff
6342 info-diff: \
6343 configure-diff
6344 @[ -f ./diff/Makefile ] || exit 0; \
6345 r=`${PWD_COMMAND}`; export r; \
6346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6347 $(SET_LIB_PATH) \
6348 $(HOST_EXPORTS) \
6349 for flag in $(EXTRA_HOST_FLAGS) ; do \
6350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6351 done; \
6352 echo "Doing info in diff" ; \
6353 (cd diff && \
6354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6356 "RANLIB=$${RANLIB}" \
6357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6358 info) \
6359 || exit 1
6361 @endif diff
6363 .PHONY: maybe-dvi-diff dvi-diff
6364 maybe-dvi-diff:
6365 @if diff
6366 maybe-dvi-diff: dvi-diff
6368 dvi-diff: \
6369 configure-diff
6370 @[ -f ./diff/Makefile ] || exit 0; \
6371 r=`${PWD_COMMAND}`; export r; \
6372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6373 $(SET_LIB_PATH) \
6374 $(HOST_EXPORTS) \
6375 for flag in $(EXTRA_HOST_FLAGS) ; do \
6376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6377 done; \
6378 echo "Doing dvi in diff" ; \
6379 (cd diff && \
6380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6382 "RANLIB=$${RANLIB}" \
6383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6384 dvi) \
6385 || exit 1
6387 @endif diff
6389 .PHONY: maybe-html-diff html-diff
6390 maybe-html-diff:
6391 @if diff
6392 maybe-html-diff: html-diff
6394 html-diff: \
6395 configure-diff
6396 @[ -f ./diff/Makefile ] || exit 0; \
6397 r=`${PWD_COMMAND}`; export r; \
6398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6399 $(SET_LIB_PATH) \
6400 $(HOST_EXPORTS) \
6401 for flag in $(EXTRA_HOST_FLAGS) ; do \
6402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6403 done; \
6404 echo "Doing html in diff" ; \
6405 (cd diff && \
6406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6408 "RANLIB=$${RANLIB}" \
6409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6410 html) \
6411 || exit 1
6413 @endif diff
6415 .PHONY: maybe-TAGS-diff TAGS-diff
6416 maybe-TAGS-diff:
6417 @if diff
6418 maybe-TAGS-diff: TAGS-diff
6420 TAGS-diff: \
6421 configure-diff
6422 @[ -f ./diff/Makefile ] || exit 0; \
6423 r=`${PWD_COMMAND}`; export r; \
6424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6425 $(SET_LIB_PATH) \
6426 $(HOST_EXPORTS) \
6427 for flag in $(EXTRA_HOST_FLAGS) ; do \
6428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6429 done; \
6430 echo "Doing TAGS in diff" ; \
6431 (cd diff && \
6432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6434 "RANLIB=$${RANLIB}" \
6435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6436 TAGS) \
6437 || exit 1
6439 @endif diff
6441 .PHONY: maybe-install-info-diff install-info-diff
6442 maybe-install-info-diff:
6443 @if diff
6444 maybe-install-info-diff: install-info-diff
6446 install-info-diff: \
6447 configure-diff \
6448 info-diff
6449 @[ -f ./diff/Makefile ] || exit 0; \
6450 r=`${PWD_COMMAND}`; export r; \
6451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6452 $(SET_LIB_PATH) \
6453 $(HOST_EXPORTS) \
6454 for flag in $(EXTRA_HOST_FLAGS) ; do \
6455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6456 done; \
6457 echo "Doing install-info in diff" ; \
6458 (cd diff && \
6459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6461 "RANLIB=$${RANLIB}" \
6462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6463 install-info) \
6464 || exit 1
6466 @endif diff
6468 .PHONY: maybe-installcheck-diff installcheck-diff
6469 maybe-installcheck-diff:
6470 @if diff
6471 maybe-installcheck-diff: installcheck-diff
6473 installcheck-diff: \
6474 configure-diff
6475 @[ -f ./diff/Makefile ] || exit 0; \
6476 r=`${PWD_COMMAND}`; export r; \
6477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6478 $(SET_LIB_PATH) \
6479 $(HOST_EXPORTS) \
6480 for flag in $(EXTRA_HOST_FLAGS) ; do \
6481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6482 done; \
6483 echo "Doing installcheck in diff" ; \
6484 (cd diff && \
6485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6487 "RANLIB=$${RANLIB}" \
6488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6489 installcheck) \
6490 || exit 1
6492 @endif diff
6494 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6495 maybe-mostlyclean-diff:
6496 @if diff
6497 maybe-mostlyclean-diff: mostlyclean-diff
6499 mostlyclean-diff:
6500 @[ -f ./diff/Makefile ] || exit 0; \
6501 r=`${PWD_COMMAND}`; export r; \
6502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6503 $(SET_LIB_PATH) \
6504 $(HOST_EXPORTS) \
6505 for flag in $(EXTRA_HOST_FLAGS) ; do \
6506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6507 done; \
6508 echo "Doing mostlyclean in diff" ; \
6509 (cd diff && \
6510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6512 "RANLIB=$${RANLIB}" \
6513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6514 mostlyclean) \
6515 || exit 1
6517 @endif diff
6519 .PHONY: maybe-clean-diff clean-diff
6520 maybe-clean-diff:
6521 @if diff
6522 maybe-clean-diff: clean-diff
6524 clean-diff:
6525 @[ -f ./diff/Makefile ] || exit 0; \
6526 r=`${PWD_COMMAND}`; export r; \
6527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6528 $(SET_LIB_PATH) \
6529 $(HOST_EXPORTS) \
6530 for flag in $(EXTRA_HOST_FLAGS) ; do \
6531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6532 done; \
6533 echo "Doing clean in diff" ; \
6534 (cd diff && \
6535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6537 "RANLIB=$${RANLIB}" \
6538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6539 clean) \
6540 || exit 1
6542 @endif diff
6544 .PHONY: maybe-distclean-diff distclean-diff
6545 maybe-distclean-diff:
6546 @if diff
6547 maybe-distclean-diff: distclean-diff
6549 distclean-diff:
6550 @[ -f ./diff/Makefile ] || exit 0; \
6551 r=`${PWD_COMMAND}`; export r; \
6552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6553 $(SET_LIB_PATH) \
6554 $(HOST_EXPORTS) \
6555 for flag in $(EXTRA_HOST_FLAGS) ; do \
6556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6557 done; \
6558 echo "Doing distclean in diff" ; \
6559 (cd diff && \
6560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6562 "RANLIB=$${RANLIB}" \
6563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6564 distclean) \
6565 || exit 1
6567 @endif diff
6569 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6570 maybe-maintainer-clean-diff:
6571 @if diff
6572 maybe-maintainer-clean-diff: maintainer-clean-diff
6574 maintainer-clean-diff:
6575 @[ -f ./diff/Makefile ] || exit 0; \
6576 r=`${PWD_COMMAND}`; export r; \
6577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6578 $(SET_LIB_PATH) \
6579 $(HOST_EXPORTS) \
6580 for flag in $(EXTRA_HOST_FLAGS) ; do \
6581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6582 done; \
6583 echo "Doing maintainer-clean in diff" ; \
6584 (cd diff && \
6585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6587 "RANLIB=$${RANLIB}" \
6588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6589 maintainer-clean) \
6590 || exit 1
6592 @endif diff
6595 .PHONY: configure-dosutils maybe-configure-dosutils
6596 maybe-configure-dosutils:
6597 @if dosutils
6598 maybe-configure-dosutils: configure-dosutils
6599 configure-dosutils:
6600 @test ! -f dosutils/Makefile || exit 0; \
6601 [ -d dosutils ] || mkdir dosutils; \
6602 r=`${PWD_COMMAND}`; export r; \
6603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6604 $(HOST_EXPORTS) \
6605 echo Configuring in dosutils; \
6606 cd dosutils || exit 1; \
6607 case $(srcdir) in \
6608 \.) \
6609 srcdiroption="--srcdir=."; \
6610 libsrcdir=".";; \
6611 /* | [A-Za-z]:[\\/]*) \
6612 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6613 libsrcdir="$$s/dosutils";; \
6614 *) \
6615 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6616 libsrcdir="$$s/dosutils";; \
6617 esac; \
6618 $(SHELL) $${libsrcdir}/configure \
6619 $(HOST_CONFIGARGS) $${srcdiroption} \
6620 || exit 1
6621 @endif dosutils
6623 .PHONY: all-dosutils maybe-all-dosutils
6624 maybe-all-dosutils:
6625 @if dosutils
6626 TARGET-dosutils=all
6627 maybe-all-dosutils: all-dosutils
6628 all-dosutils: configure-dosutils
6629 @r=`${PWD_COMMAND}`; export r; \
6630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6631 $(SET_LIB_PATH) \
6632 $(HOST_EXPORTS) \
6633 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) \
6634 $(TARGET-dosutils))
6635 @endif dosutils
6637 .PHONY: check-dosutils maybe-check-dosutils
6638 maybe-check-dosutils:
6639 @if dosutils
6640 maybe-check-dosutils: check-dosutils
6642 check-dosutils:
6644 @endif dosutils
6646 .PHONY: install-dosutils maybe-install-dosutils
6647 maybe-install-dosutils:
6648 @if dosutils
6649 maybe-install-dosutils: install-dosutils
6651 install-dosutils: installdirs
6652 @r=`${PWD_COMMAND}`; export r; \
6653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6654 $(SET_LIB_PATH) \
6655 $(HOST_EXPORTS) \
6656 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6658 @endif dosutils
6660 # Other targets (info, dvi, etc.)
6662 .PHONY: maybe-info-dosutils info-dosutils
6663 maybe-info-dosutils:
6664 @if dosutils
6665 maybe-info-dosutils: info-dosutils
6667 info-dosutils: \
6668 configure-dosutils
6669 @[ -f ./dosutils/Makefile ] || exit 0; \
6670 r=`${PWD_COMMAND}`; export r; \
6671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6672 $(SET_LIB_PATH) \
6673 $(HOST_EXPORTS) \
6674 for flag in $(EXTRA_HOST_FLAGS) ; do \
6675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6676 done; \
6677 echo "Doing info in dosutils" ; \
6678 (cd dosutils && \
6679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6681 "RANLIB=$${RANLIB}" \
6682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6683 info) \
6684 || exit 1
6686 @endif dosutils
6688 .PHONY: maybe-dvi-dosutils dvi-dosutils
6689 maybe-dvi-dosutils:
6690 @if dosutils
6691 maybe-dvi-dosutils: dvi-dosutils
6693 dvi-dosutils: \
6694 configure-dosutils
6695 @[ -f ./dosutils/Makefile ] || exit 0; \
6696 r=`${PWD_COMMAND}`; export r; \
6697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6698 $(SET_LIB_PATH) \
6699 $(HOST_EXPORTS) \
6700 for flag in $(EXTRA_HOST_FLAGS) ; do \
6701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6702 done; \
6703 echo "Doing dvi in dosutils" ; \
6704 (cd dosutils && \
6705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6707 "RANLIB=$${RANLIB}" \
6708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6709 dvi) \
6710 || exit 1
6712 @endif dosutils
6714 .PHONY: maybe-html-dosutils html-dosutils
6715 maybe-html-dosutils:
6716 @if dosutils
6717 maybe-html-dosutils: html-dosutils
6719 html-dosutils: \
6720 configure-dosutils
6721 @[ -f ./dosutils/Makefile ] || exit 0; \
6722 r=`${PWD_COMMAND}`; export r; \
6723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6724 $(SET_LIB_PATH) \
6725 $(HOST_EXPORTS) \
6726 for flag in $(EXTRA_HOST_FLAGS) ; do \
6727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6728 done; \
6729 echo "Doing html in dosutils" ; \
6730 (cd dosutils && \
6731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6733 "RANLIB=$${RANLIB}" \
6734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6735 html) \
6736 || exit 1
6738 @endif dosutils
6740 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6741 maybe-TAGS-dosutils:
6742 @if dosutils
6743 maybe-TAGS-dosutils: TAGS-dosutils
6745 TAGS-dosutils: \
6746 configure-dosutils
6747 @[ -f ./dosutils/Makefile ] || exit 0; \
6748 r=`${PWD_COMMAND}`; export r; \
6749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6750 $(SET_LIB_PATH) \
6751 $(HOST_EXPORTS) \
6752 for flag in $(EXTRA_HOST_FLAGS) ; do \
6753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6754 done; \
6755 echo "Doing TAGS in dosutils" ; \
6756 (cd dosutils && \
6757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6759 "RANLIB=$${RANLIB}" \
6760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6761 TAGS) \
6762 || exit 1
6764 @endif dosutils
6766 .PHONY: maybe-install-info-dosutils install-info-dosutils
6767 maybe-install-info-dosutils:
6768 @if dosutils
6769 maybe-install-info-dosutils: install-info-dosutils
6771 install-info-dosutils: \
6772 configure-dosutils \
6773 info-dosutils
6774 @[ -f ./dosutils/Makefile ] || exit 0; \
6775 r=`${PWD_COMMAND}`; export r; \
6776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6777 $(SET_LIB_PATH) \
6778 $(HOST_EXPORTS) \
6779 for flag in $(EXTRA_HOST_FLAGS) ; do \
6780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6781 done; \
6782 echo "Doing install-info in dosutils" ; \
6783 (cd dosutils && \
6784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6786 "RANLIB=$${RANLIB}" \
6787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6788 install-info) \
6789 || exit 1
6791 @endif dosutils
6793 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6794 maybe-installcheck-dosutils:
6795 @if dosutils
6796 maybe-installcheck-dosutils: installcheck-dosutils
6798 installcheck-dosutils: \
6799 configure-dosutils
6800 @[ -f ./dosutils/Makefile ] || exit 0; \
6801 r=`${PWD_COMMAND}`; export r; \
6802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6803 $(SET_LIB_PATH) \
6804 $(HOST_EXPORTS) \
6805 for flag in $(EXTRA_HOST_FLAGS) ; do \
6806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6807 done; \
6808 echo "Doing installcheck in dosutils" ; \
6809 (cd dosutils && \
6810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6812 "RANLIB=$${RANLIB}" \
6813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6814 installcheck) \
6815 || exit 1
6817 @endif dosutils
6819 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6820 maybe-mostlyclean-dosutils:
6821 @if dosutils
6822 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6824 mostlyclean-dosutils:
6825 @[ -f ./dosutils/Makefile ] || exit 0; \
6826 r=`${PWD_COMMAND}`; export r; \
6827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6828 $(SET_LIB_PATH) \
6829 $(HOST_EXPORTS) \
6830 for flag in $(EXTRA_HOST_FLAGS) ; do \
6831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6832 done; \
6833 echo "Doing mostlyclean in dosutils" ; \
6834 (cd dosutils && \
6835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6837 "RANLIB=$${RANLIB}" \
6838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6839 mostlyclean) \
6840 || exit 1
6842 @endif dosutils
6844 .PHONY: maybe-clean-dosutils clean-dosutils
6845 maybe-clean-dosutils:
6846 @if dosutils
6847 maybe-clean-dosutils: clean-dosutils
6849 clean-dosutils:
6850 @[ -f ./dosutils/Makefile ] || exit 0; \
6851 r=`${PWD_COMMAND}`; export r; \
6852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6853 $(SET_LIB_PATH) \
6854 $(HOST_EXPORTS) \
6855 for flag in $(EXTRA_HOST_FLAGS) ; do \
6856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6857 done; \
6858 echo "Doing clean in dosutils" ; \
6859 (cd dosutils && \
6860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6862 "RANLIB=$${RANLIB}" \
6863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6864 clean) \
6865 || exit 1
6867 @endif dosutils
6869 .PHONY: maybe-distclean-dosutils distclean-dosutils
6870 maybe-distclean-dosutils:
6871 @if dosutils
6872 maybe-distclean-dosutils: distclean-dosutils
6874 distclean-dosutils:
6875 @[ -f ./dosutils/Makefile ] || exit 0; \
6876 r=`${PWD_COMMAND}`; export r; \
6877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6878 $(SET_LIB_PATH) \
6879 $(HOST_EXPORTS) \
6880 for flag in $(EXTRA_HOST_FLAGS) ; do \
6881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6882 done; \
6883 echo "Doing distclean in dosutils" ; \
6884 (cd dosutils && \
6885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6887 "RANLIB=$${RANLIB}" \
6888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6889 distclean) \
6890 || exit 1
6892 @endif dosutils
6894 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6895 maybe-maintainer-clean-dosutils:
6896 @if dosutils
6897 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6899 maintainer-clean-dosutils:
6900 @[ -f ./dosutils/Makefile ] || exit 0; \
6901 r=`${PWD_COMMAND}`; export r; \
6902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6903 $(SET_LIB_PATH) \
6904 $(HOST_EXPORTS) \
6905 for flag in $(EXTRA_HOST_FLAGS) ; do \
6906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6907 done; \
6908 echo "Doing maintainer-clean in dosutils" ; \
6909 (cd dosutils && \
6910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6912 "RANLIB=$${RANLIB}" \
6913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6914 maintainer-clean) \
6915 || exit 1
6917 @endif dosutils
6920 .PHONY: configure-etc maybe-configure-etc
6921 maybe-configure-etc:
6922 @if etc
6923 maybe-configure-etc: configure-etc
6924 configure-etc:
6925 @test ! -f etc/Makefile || exit 0; \
6926 [ -d etc ] || mkdir etc; \
6927 r=`${PWD_COMMAND}`; export r; \
6928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6929 $(HOST_EXPORTS) \
6930 echo Configuring in etc; \
6931 cd etc || exit 1; \
6932 case $(srcdir) in \
6933 \.) \
6934 srcdiroption="--srcdir=."; \
6935 libsrcdir=".";; \
6936 /* | [A-Za-z]:[\\/]*) \
6937 srcdiroption="--srcdir=$(srcdir)/etc"; \
6938 libsrcdir="$$s/etc";; \
6939 *) \
6940 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6941 libsrcdir="$$s/etc";; \
6942 esac; \
6943 $(SHELL) $${libsrcdir}/configure \
6944 $(HOST_CONFIGARGS) $${srcdiroption} \
6945 || exit 1
6946 @endif etc
6948 .PHONY: all-etc maybe-all-etc
6949 maybe-all-etc:
6950 @if etc
6951 TARGET-etc=all
6952 maybe-all-etc: all-etc
6953 all-etc: configure-etc
6954 @r=`${PWD_COMMAND}`; export r; \
6955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6956 $(SET_LIB_PATH) \
6957 $(HOST_EXPORTS) \
6958 (cd etc && $(MAKE) $(FLAGS_TO_PASS) \
6959 $(TARGET-etc))
6960 @endif etc
6962 .PHONY: check-etc maybe-check-etc
6963 maybe-check-etc:
6964 @if etc
6965 maybe-check-etc: check-etc
6967 check-etc:
6968 @r=`${PWD_COMMAND}`; export r; \
6969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6970 $(SET_LIB_PATH) \
6971 $(HOST_EXPORTS) \
6972 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6974 @endif etc
6976 .PHONY: install-etc maybe-install-etc
6977 maybe-install-etc:
6978 @if etc
6979 maybe-install-etc: install-etc
6981 install-etc: installdirs
6982 @r=`${PWD_COMMAND}`; export r; \
6983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6984 $(SET_LIB_PATH) \
6985 $(HOST_EXPORTS) \
6986 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6988 @endif etc
6990 # Other targets (info, dvi, etc.)
6992 .PHONY: maybe-info-etc info-etc
6993 maybe-info-etc:
6994 @if etc
6995 maybe-info-etc: info-etc
6997 info-etc: \
6998 configure-etc
6999 @[ -f ./etc/Makefile ] || exit 0; \
7000 r=`${PWD_COMMAND}`; export r; \
7001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7002 $(SET_LIB_PATH) \
7003 $(HOST_EXPORTS) \
7004 for flag in $(EXTRA_HOST_FLAGS) ; do \
7005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7006 done; \
7007 echo "Doing info in etc" ; \
7008 (cd etc && \
7009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7011 "RANLIB=$${RANLIB}" \
7012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7013 info) \
7014 || exit 1
7016 @endif etc
7018 .PHONY: maybe-dvi-etc dvi-etc
7019 maybe-dvi-etc:
7020 @if etc
7021 maybe-dvi-etc: dvi-etc
7023 dvi-etc: \
7024 configure-etc
7025 @[ -f ./etc/Makefile ] || exit 0; \
7026 r=`${PWD_COMMAND}`; export r; \
7027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7028 $(SET_LIB_PATH) \
7029 $(HOST_EXPORTS) \
7030 for flag in $(EXTRA_HOST_FLAGS) ; do \
7031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7032 done; \
7033 echo "Doing dvi in etc" ; \
7034 (cd etc && \
7035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7037 "RANLIB=$${RANLIB}" \
7038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7039 dvi) \
7040 || exit 1
7042 @endif etc
7044 .PHONY: maybe-html-etc html-etc
7045 maybe-html-etc:
7046 @if etc
7047 maybe-html-etc: html-etc
7049 html-etc: \
7050 configure-etc
7051 @[ -f ./etc/Makefile ] || exit 0; \
7052 r=`${PWD_COMMAND}`; export r; \
7053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7054 $(SET_LIB_PATH) \
7055 $(HOST_EXPORTS) \
7056 for flag in $(EXTRA_HOST_FLAGS) ; do \
7057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7058 done; \
7059 echo "Doing html in etc" ; \
7060 (cd etc && \
7061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7063 "RANLIB=$${RANLIB}" \
7064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7065 html) \
7066 || exit 1
7068 @endif etc
7070 .PHONY: maybe-TAGS-etc TAGS-etc
7071 maybe-TAGS-etc:
7072 @if etc
7073 maybe-TAGS-etc: TAGS-etc
7075 TAGS-etc: \
7076 configure-etc
7077 @[ -f ./etc/Makefile ] || exit 0; \
7078 r=`${PWD_COMMAND}`; export r; \
7079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7080 $(SET_LIB_PATH) \
7081 $(HOST_EXPORTS) \
7082 for flag in $(EXTRA_HOST_FLAGS) ; do \
7083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7084 done; \
7085 echo "Doing TAGS in etc" ; \
7086 (cd etc && \
7087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7089 "RANLIB=$${RANLIB}" \
7090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7091 TAGS) \
7092 || exit 1
7094 @endif etc
7096 .PHONY: maybe-install-info-etc install-info-etc
7097 maybe-install-info-etc:
7098 @if etc
7099 maybe-install-info-etc: install-info-etc
7101 install-info-etc: \
7102 configure-etc \
7103 info-etc
7104 @[ -f ./etc/Makefile ] || exit 0; \
7105 r=`${PWD_COMMAND}`; export r; \
7106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7107 $(SET_LIB_PATH) \
7108 $(HOST_EXPORTS) \
7109 for flag in $(EXTRA_HOST_FLAGS) ; do \
7110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7111 done; \
7112 echo "Doing install-info in etc" ; \
7113 (cd etc && \
7114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7116 "RANLIB=$${RANLIB}" \
7117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7118 install-info) \
7119 || exit 1
7121 @endif etc
7123 .PHONY: maybe-installcheck-etc installcheck-etc
7124 maybe-installcheck-etc:
7125 @if etc
7126 maybe-installcheck-etc: installcheck-etc
7128 installcheck-etc: \
7129 configure-etc
7130 @[ -f ./etc/Makefile ] || exit 0; \
7131 r=`${PWD_COMMAND}`; export r; \
7132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7133 $(SET_LIB_PATH) \
7134 $(HOST_EXPORTS) \
7135 for flag in $(EXTRA_HOST_FLAGS) ; do \
7136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7137 done; \
7138 echo "Doing installcheck in etc" ; \
7139 (cd etc && \
7140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7142 "RANLIB=$${RANLIB}" \
7143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7144 installcheck) \
7145 || exit 1
7147 @endif etc
7149 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7150 maybe-mostlyclean-etc:
7151 @if etc
7152 maybe-mostlyclean-etc: mostlyclean-etc
7154 mostlyclean-etc:
7155 @[ -f ./etc/Makefile ] || exit 0; \
7156 r=`${PWD_COMMAND}`; export r; \
7157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7158 $(SET_LIB_PATH) \
7159 $(HOST_EXPORTS) \
7160 for flag in $(EXTRA_HOST_FLAGS) ; do \
7161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7162 done; \
7163 echo "Doing mostlyclean in etc" ; \
7164 (cd etc && \
7165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7167 "RANLIB=$${RANLIB}" \
7168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7169 mostlyclean) \
7170 || exit 1
7172 @endif etc
7174 .PHONY: maybe-clean-etc clean-etc
7175 maybe-clean-etc:
7176 @if etc
7177 maybe-clean-etc: clean-etc
7179 clean-etc:
7180 @[ -f ./etc/Makefile ] || exit 0; \
7181 r=`${PWD_COMMAND}`; export r; \
7182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7183 $(SET_LIB_PATH) \
7184 $(HOST_EXPORTS) \
7185 for flag in $(EXTRA_HOST_FLAGS) ; do \
7186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7187 done; \
7188 echo "Doing clean in etc" ; \
7189 (cd etc && \
7190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7192 "RANLIB=$${RANLIB}" \
7193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7194 clean) \
7195 || exit 1
7197 @endif etc
7199 .PHONY: maybe-distclean-etc distclean-etc
7200 maybe-distclean-etc:
7201 @if etc
7202 maybe-distclean-etc: distclean-etc
7204 distclean-etc:
7205 @[ -f ./etc/Makefile ] || exit 0; \
7206 r=`${PWD_COMMAND}`; export r; \
7207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7208 $(SET_LIB_PATH) \
7209 $(HOST_EXPORTS) \
7210 for flag in $(EXTRA_HOST_FLAGS) ; do \
7211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7212 done; \
7213 echo "Doing distclean in etc" ; \
7214 (cd etc && \
7215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7217 "RANLIB=$${RANLIB}" \
7218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7219 distclean) \
7220 || exit 1
7222 @endif etc
7224 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7225 maybe-maintainer-clean-etc:
7226 @if etc
7227 maybe-maintainer-clean-etc: maintainer-clean-etc
7229 maintainer-clean-etc:
7230 @[ -f ./etc/Makefile ] || exit 0; \
7231 r=`${PWD_COMMAND}`; export r; \
7232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7233 $(SET_LIB_PATH) \
7234 $(HOST_EXPORTS) \
7235 for flag in $(EXTRA_HOST_FLAGS) ; do \
7236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7237 done; \
7238 echo "Doing maintainer-clean in etc" ; \
7239 (cd etc && \
7240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7242 "RANLIB=$${RANLIB}" \
7243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7244 maintainer-clean) \
7245 || exit 1
7247 @endif etc
7250 .PHONY: configure-fastjar maybe-configure-fastjar
7251 maybe-configure-fastjar:
7252 @if fastjar
7253 maybe-configure-fastjar: configure-fastjar
7254 configure-fastjar:
7255 @test ! -f fastjar/Makefile || exit 0; \
7256 [ -d fastjar ] || mkdir fastjar; \
7257 r=`${PWD_COMMAND}`; export r; \
7258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7259 $(HOST_EXPORTS) \
7260 echo Configuring in fastjar; \
7261 cd fastjar || exit 1; \
7262 case $(srcdir) in \
7263 \.) \
7264 srcdiroption="--srcdir=."; \
7265 libsrcdir=".";; \
7266 /* | [A-Za-z]:[\\/]*) \
7267 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
7268 libsrcdir="$$s/fastjar";; \
7269 *) \
7270 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
7271 libsrcdir="$$s/fastjar";; \
7272 esac; \
7273 $(SHELL) $${libsrcdir}/configure \
7274 $(HOST_CONFIGARGS) $${srcdiroption} \
7275 || exit 1
7276 @endif fastjar
7278 .PHONY: all-fastjar maybe-all-fastjar
7279 maybe-all-fastjar:
7280 @if fastjar
7281 TARGET-fastjar=all
7282 maybe-all-fastjar: all-fastjar
7283 all-fastjar: configure-fastjar
7284 @r=`${PWD_COMMAND}`; export r; \
7285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7286 $(SET_LIB_PATH) \
7287 $(HOST_EXPORTS) \
7288 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) \
7289 $(TARGET-fastjar))
7290 @endif fastjar
7292 .PHONY: check-fastjar maybe-check-fastjar
7293 maybe-check-fastjar:
7294 @if fastjar
7295 maybe-check-fastjar: check-fastjar
7297 # This module is only tested in a native toolchain.
7298 check-fastjar:
7299 @if [ '$(host)' = '$(target)' ] ; then \
7300 r=`${PWD_COMMAND}`; export r; \
7301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7302 $(SET_LIB_PATH) \
7303 $(HOST_EXPORTS) \
7304 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
7307 @endif fastjar
7309 .PHONY: install-fastjar maybe-install-fastjar
7310 maybe-install-fastjar:
7311 @if fastjar
7312 maybe-install-fastjar: install-fastjar
7314 install-fastjar: installdirs
7315 @r=`${PWD_COMMAND}`; export r; \
7316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7317 $(SET_LIB_PATH) \
7318 $(HOST_EXPORTS) \
7319 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
7321 @endif fastjar
7323 # Other targets (info, dvi, etc.)
7325 .PHONY: maybe-info-fastjar info-fastjar
7326 maybe-info-fastjar:
7327 @if fastjar
7328 maybe-info-fastjar: info-fastjar
7330 info-fastjar: \
7331 configure-fastjar
7332 @[ -f ./fastjar/Makefile ] || exit 0; \
7333 r=`${PWD_COMMAND}`; export r; \
7334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7335 $(SET_LIB_PATH) \
7336 $(HOST_EXPORTS) \
7337 for flag in $(EXTRA_HOST_FLAGS) ; do \
7338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7339 done; \
7340 echo "Doing info in fastjar" ; \
7341 (cd fastjar && \
7342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7344 "RANLIB=$${RANLIB}" \
7345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7346 info) \
7347 || exit 1
7349 @endif fastjar
7351 .PHONY: maybe-dvi-fastjar dvi-fastjar
7352 maybe-dvi-fastjar:
7353 @if fastjar
7354 maybe-dvi-fastjar: dvi-fastjar
7356 dvi-fastjar: \
7357 configure-fastjar
7358 @[ -f ./fastjar/Makefile ] || exit 0; \
7359 r=`${PWD_COMMAND}`; export r; \
7360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7361 $(SET_LIB_PATH) \
7362 $(HOST_EXPORTS) \
7363 for flag in $(EXTRA_HOST_FLAGS) ; do \
7364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7365 done; \
7366 echo "Doing dvi in fastjar" ; \
7367 (cd fastjar && \
7368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7370 "RANLIB=$${RANLIB}" \
7371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7372 dvi) \
7373 || exit 1
7375 @endif fastjar
7377 .PHONY: maybe-html-fastjar html-fastjar
7378 maybe-html-fastjar:
7379 @if fastjar
7380 maybe-html-fastjar: html-fastjar
7382 html-fastjar: \
7383 configure-fastjar
7384 @[ -f ./fastjar/Makefile ] || exit 0; \
7385 r=`${PWD_COMMAND}`; export r; \
7386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7387 $(SET_LIB_PATH) \
7388 $(HOST_EXPORTS) \
7389 for flag in $(EXTRA_HOST_FLAGS) ; do \
7390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7391 done; \
7392 echo "Doing html in fastjar" ; \
7393 (cd fastjar && \
7394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7396 "RANLIB=$${RANLIB}" \
7397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7398 html) \
7399 || exit 1
7401 @endif fastjar
7403 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7404 maybe-TAGS-fastjar:
7405 @if fastjar
7406 maybe-TAGS-fastjar: TAGS-fastjar
7408 TAGS-fastjar: \
7409 configure-fastjar
7410 @[ -f ./fastjar/Makefile ] || exit 0; \
7411 r=`${PWD_COMMAND}`; export r; \
7412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7413 $(SET_LIB_PATH) \
7414 $(HOST_EXPORTS) \
7415 for flag in $(EXTRA_HOST_FLAGS) ; do \
7416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7417 done; \
7418 echo "Doing TAGS in fastjar" ; \
7419 (cd fastjar && \
7420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7422 "RANLIB=$${RANLIB}" \
7423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7424 TAGS) \
7425 || exit 1
7427 @endif fastjar
7429 .PHONY: maybe-install-info-fastjar install-info-fastjar
7430 maybe-install-info-fastjar:
7431 @if fastjar
7432 maybe-install-info-fastjar: install-info-fastjar
7434 install-info-fastjar: \
7435 configure-fastjar \
7436 info-fastjar
7437 @[ -f ./fastjar/Makefile ] || exit 0; \
7438 r=`${PWD_COMMAND}`; export r; \
7439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7440 $(SET_LIB_PATH) \
7441 $(HOST_EXPORTS) \
7442 for flag in $(EXTRA_HOST_FLAGS) ; do \
7443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7444 done; \
7445 echo "Doing install-info in fastjar" ; \
7446 (cd fastjar && \
7447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7449 "RANLIB=$${RANLIB}" \
7450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7451 install-info) \
7452 || exit 1
7454 @endif fastjar
7456 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7457 maybe-installcheck-fastjar:
7458 @if fastjar
7459 maybe-installcheck-fastjar: installcheck-fastjar
7461 installcheck-fastjar: \
7462 configure-fastjar
7463 @[ -f ./fastjar/Makefile ] || exit 0; \
7464 r=`${PWD_COMMAND}`; export r; \
7465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7466 $(SET_LIB_PATH) \
7467 $(HOST_EXPORTS) \
7468 for flag in $(EXTRA_HOST_FLAGS) ; do \
7469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7470 done; \
7471 echo "Doing installcheck in fastjar" ; \
7472 (cd fastjar && \
7473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7475 "RANLIB=$${RANLIB}" \
7476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7477 installcheck) \
7478 || exit 1
7480 @endif fastjar
7482 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7483 maybe-mostlyclean-fastjar:
7484 @if fastjar
7485 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7487 mostlyclean-fastjar:
7488 @[ -f ./fastjar/Makefile ] || exit 0; \
7489 r=`${PWD_COMMAND}`; export r; \
7490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7491 $(SET_LIB_PATH) \
7492 $(HOST_EXPORTS) \
7493 for flag in $(EXTRA_HOST_FLAGS) ; do \
7494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7495 done; \
7496 echo "Doing mostlyclean in fastjar" ; \
7497 (cd fastjar && \
7498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7500 "RANLIB=$${RANLIB}" \
7501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7502 mostlyclean) \
7503 || exit 1
7505 @endif fastjar
7507 .PHONY: maybe-clean-fastjar clean-fastjar
7508 maybe-clean-fastjar:
7509 @if fastjar
7510 maybe-clean-fastjar: clean-fastjar
7512 clean-fastjar:
7513 @[ -f ./fastjar/Makefile ] || exit 0; \
7514 r=`${PWD_COMMAND}`; export r; \
7515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7516 $(SET_LIB_PATH) \
7517 $(HOST_EXPORTS) \
7518 for flag in $(EXTRA_HOST_FLAGS) ; do \
7519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7520 done; \
7521 echo "Doing clean in fastjar" ; \
7522 (cd fastjar && \
7523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7525 "RANLIB=$${RANLIB}" \
7526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7527 clean) \
7528 || exit 1
7530 @endif fastjar
7532 .PHONY: maybe-distclean-fastjar distclean-fastjar
7533 maybe-distclean-fastjar:
7534 @if fastjar
7535 maybe-distclean-fastjar: distclean-fastjar
7537 distclean-fastjar:
7538 @[ -f ./fastjar/Makefile ] || exit 0; \
7539 r=`${PWD_COMMAND}`; export r; \
7540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7541 $(SET_LIB_PATH) \
7542 $(HOST_EXPORTS) \
7543 for flag in $(EXTRA_HOST_FLAGS) ; do \
7544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7545 done; \
7546 echo "Doing distclean in fastjar" ; \
7547 (cd fastjar && \
7548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7550 "RANLIB=$${RANLIB}" \
7551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7552 distclean) \
7553 || exit 1
7555 @endif fastjar
7557 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7558 maybe-maintainer-clean-fastjar:
7559 @if fastjar
7560 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7562 maintainer-clean-fastjar:
7563 @[ -f ./fastjar/Makefile ] || exit 0; \
7564 r=`${PWD_COMMAND}`; export r; \
7565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7566 $(SET_LIB_PATH) \
7567 $(HOST_EXPORTS) \
7568 for flag in $(EXTRA_HOST_FLAGS) ; do \
7569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7570 done; \
7571 echo "Doing maintainer-clean in fastjar" ; \
7572 (cd fastjar && \
7573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7575 "RANLIB=$${RANLIB}" \
7576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7577 maintainer-clean) \
7578 || exit 1
7580 @endif fastjar
7583 .PHONY: configure-fileutils maybe-configure-fileutils
7584 maybe-configure-fileutils:
7585 @if fileutils
7586 maybe-configure-fileutils: configure-fileutils
7587 configure-fileutils:
7588 @test ! -f fileutils/Makefile || exit 0; \
7589 [ -d fileutils ] || mkdir fileutils; \
7590 r=`${PWD_COMMAND}`; export r; \
7591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7592 $(HOST_EXPORTS) \
7593 echo Configuring in fileutils; \
7594 cd fileutils || exit 1; \
7595 case $(srcdir) in \
7596 \.) \
7597 srcdiroption="--srcdir=."; \
7598 libsrcdir=".";; \
7599 /* | [A-Za-z]:[\\/]*) \
7600 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7601 libsrcdir="$$s/fileutils";; \
7602 *) \
7603 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7604 libsrcdir="$$s/fileutils";; \
7605 esac; \
7606 $(SHELL) $${libsrcdir}/configure \
7607 $(HOST_CONFIGARGS) $${srcdiroption} \
7608 || exit 1
7609 @endif fileutils
7611 .PHONY: all-fileutils maybe-all-fileutils
7612 maybe-all-fileutils:
7613 @if fileutils
7614 TARGET-fileutils=all
7615 maybe-all-fileutils: all-fileutils
7616 all-fileutils: configure-fileutils
7617 @r=`${PWD_COMMAND}`; export r; \
7618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7619 $(SET_LIB_PATH) \
7620 $(HOST_EXPORTS) \
7621 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) \
7622 $(TARGET-fileutils))
7623 @endif fileutils
7625 .PHONY: check-fileutils maybe-check-fileutils
7626 maybe-check-fileutils:
7627 @if fileutils
7628 maybe-check-fileutils: check-fileutils
7630 check-fileutils:
7631 @r=`${PWD_COMMAND}`; export r; \
7632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7633 $(SET_LIB_PATH) \
7634 $(HOST_EXPORTS) \
7635 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7637 @endif fileutils
7639 .PHONY: install-fileutils maybe-install-fileutils
7640 maybe-install-fileutils:
7641 @if fileutils
7642 maybe-install-fileutils: install-fileutils
7644 install-fileutils: installdirs
7645 @r=`${PWD_COMMAND}`; export r; \
7646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7647 $(SET_LIB_PATH) \
7648 $(HOST_EXPORTS) \
7649 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7651 @endif fileutils
7653 # Other targets (info, dvi, etc.)
7655 .PHONY: maybe-info-fileutils info-fileutils
7656 maybe-info-fileutils:
7657 @if fileutils
7658 maybe-info-fileutils: info-fileutils
7660 info-fileutils: \
7661 configure-fileutils
7662 @[ -f ./fileutils/Makefile ] || exit 0; \
7663 r=`${PWD_COMMAND}`; export r; \
7664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7665 $(SET_LIB_PATH) \
7666 $(HOST_EXPORTS) \
7667 for flag in $(EXTRA_HOST_FLAGS) ; do \
7668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7669 done; \
7670 echo "Doing info in fileutils" ; \
7671 (cd fileutils && \
7672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7674 "RANLIB=$${RANLIB}" \
7675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7676 info) \
7677 || exit 1
7679 @endif fileutils
7681 .PHONY: maybe-dvi-fileutils dvi-fileutils
7682 maybe-dvi-fileutils:
7683 @if fileutils
7684 maybe-dvi-fileutils: dvi-fileutils
7686 dvi-fileutils: \
7687 configure-fileutils
7688 @[ -f ./fileutils/Makefile ] || exit 0; \
7689 r=`${PWD_COMMAND}`; export r; \
7690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7691 $(SET_LIB_PATH) \
7692 $(HOST_EXPORTS) \
7693 for flag in $(EXTRA_HOST_FLAGS) ; do \
7694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7695 done; \
7696 echo "Doing dvi in fileutils" ; \
7697 (cd fileutils && \
7698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7700 "RANLIB=$${RANLIB}" \
7701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7702 dvi) \
7703 || exit 1
7705 @endif fileutils
7707 .PHONY: maybe-html-fileutils html-fileutils
7708 maybe-html-fileutils:
7709 @if fileutils
7710 maybe-html-fileutils: html-fileutils
7712 html-fileutils: \
7713 configure-fileutils
7714 @[ -f ./fileutils/Makefile ] || exit 0; \
7715 r=`${PWD_COMMAND}`; export r; \
7716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7717 $(SET_LIB_PATH) \
7718 $(HOST_EXPORTS) \
7719 for flag in $(EXTRA_HOST_FLAGS) ; do \
7720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7721 done; \
7722 echo "Doing html in fileutils" ; \
7723 (cd fileutils && \
7724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7726 "RANLIB=$${RANLIB}" \
7727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7728 html) \
7729 || exit 1
7731 @endif fileutils
7733 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7734 maybe-TAGS-fileutils:
7735 @if fileutils
7736 maybe-TAGS-fileutils: TAGS-fileutils
7738 TAGS-fileutils: \
7739 configure-fileutils
7740 @[ -f ./fileutils/Makefile ] || exit 0; \
7741 r=`${PWD_COMMAND}`; export r; \
7742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7743 $(SET_LIB_PATH) \
7744 $(HOST_EXPORTS) \
7745 for flag in $(EXTRA_HOST_FLAGS) ; do \
7746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7747 done; \
7748 echo "Doing TAGS in fileutils" ; \
7749 (cd fileutils && \
7750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7752 "RANLIB=$${RANLIB}" \
7753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7754 TAGS) \
7755 || exit 1
7757 @endif fileutils
7759 .PHONY: maybe-install-info-fileutils install-info-fileutils
7760 maybe-install-info-fileutils:
7761 @if fileutils
7762 maybe-install-info-fileutils: install-info-fileutils
7764 install-info-fileutils: \
7765 configure-fileutils \
7766 info-fileutils
7767 @[ -f ./fileutils/Makefile ] || exit 0; \
7768 r=`${PWD_COMMAND}`; export r; \
7769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7770 $(SET_LIB_PATH) \
7771 $(HOST_EXPORTS) \
7772 for flag in $(EXTRA_HOST_FLAGS) ; do \
7773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7774 done; \
7775 echo "Doing install-info in fileutils" ; \
7776 (cd fileutils && \
7777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7779 "RANLIB=$${RANLIB}" \
7780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7781 install-info) \
7782 || exit 1
7784 @endif fileutils
7786 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7787 maybe-installcheck-fileutils:
7788 @if fileutils
7789 maybe-installcheck-fileutils: installcheck-fileutils
7791 installcheck-fileutils: \
7792 configure-fileutils
7793 @[ -f ./fileutils/Makefile ] || exit 0; \
7794 r=`${PWD_COMMAND}`; export r; \
7795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7796 $(SET_LIB_PATH) \
7797 $(HOST_EXPORTS) \
7798 for flag in $(EXTRA_HOST_FLAGS) ; do \
7799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7800 done; \
7801 echo "Doing installcheck in fileutils" ; \
7802 (cd fileutils && \
7803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7805 "RANLIB=$${RANLIB}" \
7806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7807 installcheck) \
7808 || exit 1
7810 @endif fileutils
7812 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7813 maybe-mostlyclean-fileutils:
7814 @if fileutils
7815 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7817 mostlyclean-fileutils:
7818 @[ -f ./fileutils/Makefile ] || exit 0; \
7819 r=`${PWD_COMMAND}`; export r; \
7820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7821 $(SET_LIB_PATH) \
7822 $(HOST_EXPORTS) \
7823 for flag in $(EXTRA_HOST_FLAGS) ; do \
7824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7825 done; \
7826 echo "Doing mostlyclean in fileutils" ; \
7827 (cd fileutils && \
7828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7830 "RANLIB=$${RANLIB}" \
7831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7832 mostlyclean) \
7833 || exit 1
7835 @endif fileutils
7837 .PHONY: maybe-clean-fileutils clean-fileutils
7838 maybe-clean-fileutils:
7839 @if fileutils
7840 maybe-clean-fileutils: clean-fileutils
7842 clean-fileutils:
7843 @[ -f ./fileutils/Makefile ] || exit 0; \
7844 r=`${PWD_COMMAND}`; export r; \
7845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7846 $(SET_LIB_PATH) \
7847 $(HOST_EXPORTS) \
7848 for flag in $(EXTRA_HOST_FLAGS) ; do \
7849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7850 done; \
7851 echo "Doing clean in fileutils" ; \
7852 (cd fileutils && \
7853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7855 "RANLIB=$${RANLIB}" \
7856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7857 clean) \
7858 || exit 1
7860 @endif fileutils
7862 .PHONY: maybe-distclean-fileutils distclean-fileutils
7863 maybe-distclean-fileutils:
7864 @if fileutils
7865 maybe-distclean-fileutils: distclean-fileutils
7867 distclean-fileutils:
7868 @[ -f ./fileutils/Makefile ] || exit 0; \
7869 r=`${PWD_COMMAND}`; export r; \
7870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7871 $(SET_LIB_PATH) \
7872 $(HOST_EXPORTS) \
7873 for flag in $(EXTRA_HOST_FLAGS) ; do \
7874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7875 done; \
7876 echo "Doing distclean in fileutils" ; \
7877 (cd fileutils && \
7878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7880 "RANLIB=$${RANLIB}" \
7881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7882 distclean) \
7883 || exit 1
7885 @endif fileutils
7887 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7888 maybe-maintainer-clean-fileutils:
7889 @if fileutils
7890 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7892 maintainer-clean-fileutils:
7893 @[ -f ./fileutils/Makefile ] || exit 0; \
7894 r=`${PWD_COMMAND}`; export r; \
7895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7896 $(SET_LIB_PATH) \
7897 $(HOST_EXPORTS) \
7898 for flag in $(EXTRA_HOST_FLAGS) ; do \
7899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7900 done; \
7901 echo "Doing maintainer-clean in fileutils" ; \
7902 (cd fileutils && \
7903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7905 "RANLIB=$${RANLIB}" \
7906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7907 maintainer-clean) \
7908 || exit 1
7910 @endif fileutils
7913 .PHONY: configure-findutils maybe-configure-findutils
7914 maybe-configure-findutils:
7915 @if findutils
7916 maybe-configure-findutils: configure-findutils
7917 configure-findutils:
7918 @test ! -f findutils/Makefile || exit 0; \
7919 [ -d findutils ] || mkdir findutils; \
7920 r=`${PWD_COMMAND}`; export r; \
7921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7922 $(HOST_EXPORTS) \
7923 echo Configuring in findutils; \
7924 cd findutils || exit 1; \
7925 case $(srcdir) in \
7926 \.) \
7927 srcdiroption="--srcdir=."; \
7928 libsrcdir=".";; \
7929 /* | [A-Za-z]:[\\/]*) \
7930 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7931 libsrcdir="$$s/findutils";; \
7932 *) \
7933 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7934 libsrcdir="$$s/findutils";; \
7935 esac; \
7936 $(SHELL) $${libsrcdir}/configure \
7937 $(HOST_CONFIGARGS) $${srcdiroption} \
7938 || exit 1
7939 @endif findutils
7941 .PHONY: all-findutils maybe-all-findutils
7942 maybe-all-findutils:
7943 @if findutils
7944 TARGET-findutils=all
7945 maybe-all-findutils: all-findutils
7946 all-findutils: configure-findutils
7947 @r=`${PWD_COMMAND}`; export r; \
7948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7949 $(SET_LIB_PATH) \
7950 $(HOST_EXPORTS) \
7951 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) \
7952 $(TARGET-findutils))
7953 @endif findutils
7955 .PHONY: check-findutils maybe-check-findutils
7956 maybe-check-findutils:
7957 @if findutils
7958 maybe-check-findutils: check-findutils
7960 check-findutils:
7961 @r=`${PWD_COMMAND}`; export r; \
7962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7963 $(SET_LIB_PATH) \
7964 $(HOST_EXPORTS) \
7965 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7967 @endif findutils
7969 .PHONY: install-findutils maybe-install-findutils
7970 maybe-install-findutils:
7971 @if findutils
7972 maybe-install-findutils: install-findutils
7974 install-findutils: installdirs
7975 @r=`${PWD_COMMAND}`; export r; \
7976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7977 $(SET_LIB_PATH) \
7978 $(HOST_EXPORTS) \
7979 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7981 @endif findutils
7983 # Other targets (info, dvi, etc.)
7985 .PHONY: maybe-info-findutils info-findutils
7986 maybe-info-findutils:
7987 @if findutils
7988 maybe-info-findutils: info-findutils
7990 info-findutils: \
7991 configure-findutils
7992 @[ -f ./findutils/Makefile ] || exit 0; \
7993 r=`${PWD_COMMAND}`; export r; \
7994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7995 $(SET_LIB_PATH) \
7996 $(HOST_EXPORTS) \
7997 for flag in $(EXTRA_HOST_FLAGS) ; do \
7998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7999 done; \
8000 echo "Doing info in findutils" ; \
8001 (cd findutils && \
8002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8004 "RANLIB=$${RANLIB}" \
8005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8006 info) \
8007 || exit 1
8009 @endif findutils
8011 .PHONY: maybe-dvi-findutils dvi-findutils
8012 maybe-dvi-findutils:
8013 @if findutils
8014 maybe-dvi-findutils: dvi-findutils
8016 dvi-findutils: \
8017 configure-findutils
8018 @[ -f ./findutils/Makefile ] || exit 0; \
8019 r=`${PWD_COMMAND}`; export r; \
8020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8021 $(SET_LIB_PATH) \
8022 $(HOST_EXPORTS) \
8023 for flag in $(EXTRA_HOST_FLAGS) ; do \
8024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8025 done; \
8026 echo "Doing dvi in findutils" ; \
8027 (cd findutils && \
8028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8030 "RANLIB=$${RANLIB}" \
8031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8032 dvi) \
8033 || exit 1
8035 @endif findutils
8037 .PHONY: maybe-html-findutils html-findutils
8038 maybe-html-findutils:
8039 @if findutils
8040 maybe-html-findutils: html-findutils
8042 html-findutils: \
8043 configure-findutils
8044 @[ -f ./findutils/Makefile ] || exit 0; \
8045 r=`${PWD_COMMAND}`; export r; \
8046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8047 $(SET_LIB_PATH) \
8048 $(HOST_EXPORTS) \
8049 for flag in $(EXTRA_HOST_FLAGS) ; do \
8050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8051 done; \
8052 echo "Doing html in findutils" ; \
8053 (cd findutils && \
8054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8056 "RANLIB=$${RANLIB}" \
8057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8058 html) \
8059 || exit 1
8061 @endif findutils
8063 .PHONY: maybe-TAGS-findutils TAGS-findutils
8064 maybe-TAGS-findutils:
8065 @if findutils
8066 maybe-TAGS-findutils: TAGS-findutils
8068 TAGS-findutils: \
8069 configure-findutils
8070 @[ -f ./findutils/Makefile ] || exit 0; \
8071 r=`${PWD_COMMAND}`; export r; \
8072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8073 $(SET_LIB_PATH) \
8074 $(HOST_EXPORTS) \
8075 for flag in $(EXTRA_HOST_FLAGS) ; do \
8076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8077 done; \
8078 echo "Doing TAGS in findutils" ; \
8079 (cd findutils && \
8080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8082 "RANLIB=$${RANLIB}" \
8083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8084 TAGS) \
8085 || exit 1
8087 @endif findutils
8089 .PHONY: maybe-install-info-findutils install-info-findutils
8090 maybe-install-info-findutils:
8091 @if findutils
8092 maybe-install-info-findutils: install-info-findutils
8094 install-info-findutils: \
8095 configure-findutils \
8096 info-findutils
8097 @[ -f ./findutils/Makefile ] || exit 0; \
8098 r=`${PWD_COMMAND}`; export r; \
8099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8100 $(SET_LIB_PATH) \
8101 $(HOST_EXPORTS) \
8102 for flag in $(EXTRA_HOST_FLAGS) ; do \
8103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8104 done; \
8105 echo "Doing install-info in findutils" ; \
8106 (cd findutils && \
8107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8109 "RANLIB=$${RANLIB}" \
8110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8111 install-info) \
8112 || exit 1
8114 @endif findutils
8116 .PHONY: maybe-installcheck-findutils installcheck-findutils
8117 maybe-installcheck-findutils:
8118 @if findutils
8119 maybe-installcheck-findutils: installcheck-findutils
8121 installcheck-findutils: \
8122 configure-findutils
8123 @[ -f ./findutils/Makefile ] || exit 0; \
8124 r=`${PWD_COMMAND}`; export r; \
8125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8126 $(SET_LIB_PATH) \
8127 $(HOST_EXPORTS) \
8128 for flag in $(EXTRA_HOST_FLAGS) ; do \
8129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8130 done; \
8131 echo "Doing installcheck in findutils" ; \
8132 (cd findutils && \
8133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8135 "RANLIB=$${RANLIB}" \
8136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8137 installcheck) \
8138 || exit 1
8140 @endif findutils
8142 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
8143 maybe-mostlyclean-findutils:
8144 @if findutils
8145 maybe-mostlyclean-findutils: mostlyclean-findutils
8147 mostlyclean-findutils:
8148 @[ -f ./findutils/Makefile ] || exit 0; \
8149 r=`${PWD_COMMAND}`; export r; \
8150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8151 $(SET_LIB_PATH) \
8152 $(HOST_EXPORTS) \
8153 for flag in $(EXTRA_HOST_FLAGS) ; do \
8154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8155 done; \
8156 echo "Doing mostlyclean in findutils" ; \
8157 (cd findutils && \
8158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8160 "RANLIB=$${RANLIB}" \
8161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8162 mostlyclean) \
8163 || exit 1
8165 @endif findutils
8167 .PHONY: maybe-clean-findutils clean-findutils
8168 maybe-clean-findutils:
8169 @if findutils
8170 maybe-clean-findutils: clean-findutils
8172 clean-findutils:
8173 @[ -f ./findutils/Makefile ] || exit 0; \
8174 r=`${PWD_COMMAND}`; export r; \
8175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8176 $(SET_LIB_PATH) \
8177 $(HOST_EXPORTS) \
8178 for flag in $(EXTRA_HOST_FLAGS) ; do \
8179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8180 done; \
8181 echo "Doing clean in findutils" ; \
8182 (cd findutils && \
8183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8185 "RANLIB=$${RANLIB}" \
8186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8187 clean) \
8188 || exit 1
8190 @endif findutils
8192 .PHONY: maybe-distclean-findutils distclean-findutils
8193 maybe-distclean-findutils:
8194 @if findutils
8195 maybe-distclean-findutils: distclean-findutils
8197 distclean-findutils:
8198 @[ -f ./findutils/Makefile ] || exit 0; \
8199 r=`${PWD_COMMAND}`; export r; \
8200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8201 $(SET_LIB_PATH) \
8202 $(HOST_EXPORTS) \
8203 for flag in $(EXTRA_HOST_FLAGS) ; do \
8204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8205 done; \
8206 echo "Doing distclean in findutils" ; \
8207 (cd findutils && \
8208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8210 "RANLIB=$${RANLIB}" \
8211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8212 distclean) \
8213 || exit 1
8215 @endif findutils
8217 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
8218 maybe-maintainer-clean-findutils:
8219 @if findutils
8220 maybe-maintainer-clean-findutils: maintainer-clean-findutils
8222 maintainer-clean-findutils:
8223 @[ -f ./findutils/Makefile ] || exit 0; \
8224 r=`${PWD_COMMAND}`; export r; \
8225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8226 $(SET_LIB_PATH) \
8227 $(HOST_EXPORTS) \
8228 for flag in $(EXTRA_HOST_FLAGS) ; do \
8229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8230 done; \
8231 echo "Doing maintainer-clean in findutils" ; \
8232 (cd findutils && \
8233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8235 "RANLIB=$${RANLIB}" \
8236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8237 maintainer-clean) \
8238 || exit 1
8240 @endif findutils
8243 .PHONY: configure-find maybe-configure-find
8244 maybe-configure-find:
8245 @if find
8246 maybe-configure-find: configure-find
8247 configure-find:
8248 @test ! -f find/Makefile || exit 0; \
8249 [ -d find ] || mkdir find; \
8250 r=`${PWD_COMMAND}`; export r; \
8251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8252 $(HOST_EXPORTS) \
8253 echo Configuring in find; \
8254 cd find || exit 1; \
8255 case $(srcdir) in \
8256 \.) \
8257 srcdiroption="--srcdir=."; \
8258 libsrcdir=".";; \
8259 /* | [A-Za-z]:[\\/]*) \
8260 srcdiroption="--srcdir=$(srcdir)/find"; \
8261 libsrcdir="$$s/find";; \
8262 *) \
8263 srcdiroption="--srcdir=../$(srcdir)/find"; \
8264 libsrcdir="$$s/find";; \
8265 esac; \
8266 $(SHELL) $${libsrcdir}/configure \
8267 $(HOST_CONFIGARGS) $${srcdiroption} \
8268 || exit 1
8269 @endif find
8271 .PHONY: all-find maybe-all-find
8272 maybe-all-find:
8273 @if find
8274 TARGET-find=all
8275 maybe-all-find: all-find
8276 all-find: configure-find
8277 @r=`${PWD_COMMAND}`; export r; \
8278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8279 $(SET_LIB_PATH) \
8280 $(HOST_EXPORTS) \
8281 (cd find && $(MAKE) $(FLAGS_TO_PASS) \
8282 $(TARGET-find))
8283 @endif find
8285 .PHONY: check-find maybe-check-find
8286 maybe-check-find:
8287 @if find
8288 maybe-check-find: check-find
8290 check-find:
8291 @r=`${PWD_COMMAND}`; export r; \
8292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8293 $(SET_LIB_PATH) \
8294 $(HOST_EXPORTS) \
8295 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
8297 @endif find
8299 .PHONY: install-find maybe-install-find
8300 maybe-install-find:
8301 @if find
8302 maybe-install-find: install-find
8304 install-find: installdirs
8305 @r=`${PWD_COMMAND}`; export r; \
8306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8307 $(SET_LIB_PATH) \
8308 $(HOST_EXPORTS) \
8309 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
8311 @endif find
8313 # Other targets (info, dvi, etc.)
8315 .PHONY: maybe-info-find info-find
8316 maybe-info-find:
8317 @if find
8318 maybe-info-find: info-find
8320 info-find: \
8321 configure-find
8322 @[ -f ./find/Makefile ] || exit 0; \
8323 r=`${PWD_COMMAND}`; export r; \
8324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8325 $(SET_LIB_PATH) \
8326 $(HOST_EXPORTS) \
8327 for flag in $(EXTRA_HOST_FLAGS) ; do \
8328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8329 done; \
8330 echo "Doing info in find" ; \
8331 (cd find && \
8332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8334 "RANLIB=$${RANLIB}" \
8335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8336 info) \
8337 || exit 1
8339 @endif find
8341 .PHONY: maybe-dvi-find dvi-find
8342 maybe-dvi-find:
8343 @if find
8344 maybe-dvi-find: dvi-find
8346 dvi-find: \
8347 configure-find
8348 @[ -f ./find/Makefile ] || exit 0; \
8349 r=`${PWD_COMMAND}`; export r; \
8350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8351 $(SET_LIB_PATH) \
8352 $(HOST_EXPORTS) \
8353 for flag in $(EXTRA_HOST_FLAGS) ; do \
8354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8355 done; \
8356 echo "Doing dvi in find" ; \
8357 (cd find && \
8358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8360 "RANLIB=$${RANLIB}" \
8361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8362 dvi) \
8363 || exit 1
8365 @endif find
8367 .PHONY: maybe-html-find html-find
8368 maybe-html-find:
8369 @if find
8370 maybe-html-find: html-find
8372 html-find: \
8373 configure-find
8374 @[ -f ./find/Makefile ] || exit 0; \
8375 r=`${PWD_COMMAND}`; export r; \
8376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8377 $(SET_LIB_PATH) \
8378 $(HOST_EXPORTS) \
8379 for flag in $(EXTRA_HOST_FLAGS) ; do \
8380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8381 done; \
8382 echo "Doing html in find" ; \
8383 (cd find && \
8384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8386 "RANLIB=$${RANLIB}" \
8387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8388 html) \
8389 || exit 1
8391 @endif find
8393 .PHONY: maybe-TAGS-find TAGS-find
8394 maybe-TAGS-find:
8395 @if find
8396 maybe-TAGS-find: TAGS-find
8398 TAGS-find: \
8399 configure-find
8400 @[ -f ./find/Makefile ] || exit 0; \
8401 r=`${PWD_COMMAND}`; export r; \
8402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8403 $(SET_LIB_PATH) \
8404 $(HOST_EXPORTS) \
8405 for flag in $(EXTRA_HOST_FLAGS) ; do \
8406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8407 done; \
8408 echo "Doing TAGS in find" ; \
8409 (cd find && \
8410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8412 "RANLIB=$${RANLIB}" \
8413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8414 TAGS) \
8415 || exit 1
8417 @endif find
8419 .PHONY: maybe-install-info-find install-info-find
8420 maybe-install-info-find:
8421 @if find
8422 maybe-install-info-find: install-info-find
8424 install-info-find: \
8425 configure-find \
8426 info-find
8427 @[ -f ./find/Makefile ] || exit 0; \
8428 r=`${PWD_COMMAND}`; export r; \
8429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8430 $(SET_LIB_PATH) \
8431 $(HOST_EXPORTS) \
8432 for flag in $(EXTRA_HOST_FLAGS) ; do \
8433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8434 done; \
8435 echo "Doing install-info in find" ; \
8436 (cd find && \
8437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8439 "RANLIB=$${RANLIB}" \
8440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8441 install-info) \
8442 || exit 1
8444 @endif find
8446 .PHONY: maybe-installcheck-find installcheck-find
8447 maybe-installcheck-find:
8448 @if find
8449 maybe-installcheck-find: installcheck-find
8451 installcheck-find: \
8452 configure-find
8453 @[ -f ./find/Makefile ] || exit 0; \
8454 r=`${PWD_COMMAND}`; export r; \
8455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8456 $(SET_LIB_PATH) \
8457 $(HOST_EXPORTS) \
8458 for flag in $(EXTRA_HOST_FLAGS) ; do \
8459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8460 done; \
8461 echo "Doing installcheck in find" ; \
8462 (cd find && \
8463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8465 "RANLIB=$${RANLIB}" \
8466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8467 installcheck) \
8468 || exit 1
8470 @endif find
8472 .PHONY: maybe-mostlyclean-find mostlyclean-find
8473 maybe-mostlyclean-find:
8474 @if find
8475 maybe-mostlyclean-find: mostlyclean-find
8477 mostlyclean-find:
8478 @[ -f ./find/Makefile ] || exit 0; \
8479 r=`${PWD_COMMAND}`; export r; \
8480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8481 $(SET_LIB_PATH) \
8482 $(HOST_EXPORTS) \
8483 for flag in $(EXTRA_HOST_FLAGS) ; do \
8484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8485 done; \
8486 echo "Doing mostlyclean in find" ; \
8487 (cd find && \
8488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8490 "RANLIB=$${RANLIB}" \
8491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8492 mostlyclean) \
8493 || exit 1
8495 @endif find
8497 .PHONY: maybe-clean-find clean-find
8498 maybe-clean-find:
8499 @if find
8500 maybe-clean-find: clean-find
8502 clean-find:
8503 @[ -f ./find/Makefile ] || exit 0; \
8504 r=`${PWD_COMMAND}`; export r; \
8505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8506 $(SET_LIB_PATH) \
8507 $(HOST_EXPORTS) \
8508 for flag in $(EXTRA_HOST_FLAGS) ; do \
8509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8510 done; \
8511 echo "Doing clean in find" ; \
8512 (cd find && \
8513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8515 "RANLIB=$${RANLIB}" \
8516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8517 clean) \
8518 || exit 1
8520 @endif find
8522 .PHONY: maybe-distclean-find distclean-find
8523 maybe-distclean-find:
8524 @if find
8525 maybe-distclean-find: distclean-find
8527 distclean-find:
8528 @[ -f ./find/Makefile ] || exit 0; \
8529 r=`${PWD_COMMAND}`; export r; \
8530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8531 $(SET_LIB_PATH) \
8532 $(HOST_EXPORTS) \
8533 for flag in $(EXTRA_HOST_FLAGS) ; do \
8534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8535 done; \
8536 echo "Doing distclean in find" ; \
8537 (cd find && \
8538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8540 "RANLIB=$${RANLIB}" \
8541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8542 distclean) \
8543 || exit 1
8545 @endif find
8547 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
8548 maybe-maintainer-clean-find:
8549 @if find
8550 maybe-maintainer-clean-find: maintainer-clean-find
8552 maintainer-clean-find:
8553 @[ -f ./find/Makefile ] || exit 0; \
8554 r=`${PWD_COMMAND}`; export r; \
8555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8556 $(SET_LIB_PATH) \
8557 $(HOST_EXPORTS) \
8558 for flag in $(EXTRA_HOST_FLAGS) ; do \
8559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8560 done; \
8561 echo "Doing maintainer-clean in find" ; \
8562 (cd find && \
8563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8565 "RANLIB=$${RANLIB}" \
8566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8567 maintainer-clean) \
8568 || exit 1
8570 @endif find
8573 .PHONY: configure-fixincludes maybe-configure-fixincludes
8574 maybe-configure-fixincludes:
8575 @if fixincludes
8576 maybe-configure-fixincludes: configure-fixincludes
8577 configure-fixincludes:
8578 @test ! -f fixincludes/Makefile || exit 0; \
8579 [ -d fixincludes ] || mkdir fixincludes; \
8580 r=`${PWD_COMMAND}`; export r; \
8581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8582 $(HOST_EXPORTS) \
8583 echo Configuring in fixincludes; \
8584 cd fixincludes || exit 1; \
8585 case $(srcdir) in \
8586 \.) \
8587 srcdiroption="--srcdir=."; \
8588 libsrcdir=".";; \
8589 /* | [A-Za-z]:[\\/]*) \
8590 srcdiroption="--srcdir=$(srcdir)/fixincludes"; \
8591 libsrcdir="$$s/fixincludes";; \
8592 *) \
8593 srcdiroption="--srcdir=../$(srcdir)/fixincludes"; \
8594 libsrcdir="$$s/fixincludes";; \
8595 esac; \
8596 $(SHELL) $${libsrcdir}/configure \
8597 $(HOST_CONFIGARGS) $${srcdiroption} \
8598 || exit 1
8599 @endif fixincludes
8601 .PHONY: all-fixincludes maybe-all-fixincludes
8602 maybe-all-fixincludes:
8603 @if fixincludes
8604 TARGET-fixincludes=all
8605 maybe-all-fixincludes: all-fixincludes
8606 all-fixincludes: configure-fixincludes
8607 @r=`${PWD_COMMAND}`; export r; \
8608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8609 $(SET_LIB_PATH) \
8610 $(HOST_EXPORTS) \
8611 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) \
8612 $(TARGET-fixincludes))
8613 @endif fixincludes
8615 .PHONY: check-fixincludes maybe-check-fixincludes
8616 maybe-check-fixincludes:
8617 @if fixincludes
8618 maybe-check-fixincludes: check-fixincludes
8620 check-fixincludes:
8621 @r=`${PWD_COMMAND}`; export r; \
8622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8623 $(SET_LIB_PATH) \
8624 $(HOST_EXPORTS) \
8625 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) check)
8627 @endif fixincludes
8629 .PHONY: install-fixincludes maybe-install-fixincludes
8630 maybe-install-fixincludes:
8631 @if fixincludes
8632 maybe-install-fixincludes: install-fixincludes
8634 install-fixincludes: installdirs
8635 @r=`${PWD_COMMAND}`; export r; \
8636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8637 $(SET_LIB_PATH) \
8638 $(HOST_EXPORTS) \
8639 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) install)
8641 @endif fixincludes
8643 # Other targets (info, dvi, etc.)
8645 .PHONY: maybe-info-fixincludes info-fixincludes
8646 maybe-info-fixincludes:
8647 @if fixincludes
8648 maybe-info-fixincludes: info-fixincludes
8650 # fixincludes doesn't support info.
8651 info-fixincludes:
8653 @endif fixincludes
8655 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8656 maybe-dvi-fixincludes:
8657 @if fixincludes
8658 maybe-dvi-fixincludes: dvi-fixincludes
8660 # fixincludes doesn't support dvi.
8661 dvi-fixincludes:
8663 @endif fixincludes
8665 .PHONY: maybe-html-fixincludes html-fixincludes
8666 maybe-html-fixincludes:
8667 @if fixincludes
8668 maybe-html-fixincludes: html-fixincludes
8670 html-fixincludes: \
8671 configure-fixincludes
8672 @[ -f ./fixincludes/Makefile ] || exit 0; \
8673 r=`${PWD_COMMAND}`; export r; \
8674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8675 $(SET_LIB_PATH) \
8676 $(HOST_EXPORTS) \
8677 for flag in $(EXTRA_HOST_FLAGS) ; do \
8678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8679 done; \
8680 echo "Doing html in fixincludes" ; \
8681 (cd fixincludes && \
8682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8684 "RANLIB=$${RANLIB}" \
8685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8686 html) \
8687 || exit 1
8689 @endif fixincludes
8691 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8692 maybe-TAGS-fixincludes:
8693 @if fixincludes
8694 maybe-TAGS-fixincludes: TAGS-fixincludes
8696 # fixincludes doesn't support TAGS.
8697 TAGS-fixincludes:
8699 @endif fixincludes
8701 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8702 maybe-install-info-fixincludes:
8703 @if fixincludes
8704 maybe-install-info-fixincludes: install-info-fixincludes
8706 # fixincludes doesn't support install-info.
8707 install-info-fixincludes:
8709 @endif fixincludes
8711 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8712 maybe-installcheck-fixincludes:
8713 @if fixincludes
8714 maybe-installcheck-fixincludes: installcheck-fixincludes
8716 # fixincludes doesn't support installcheck.
8717 installcheck-fixincludes:
8719 @endif fixincludes
8721 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8722 maybe-mostlyclean-fixincludes:
8723 @if fixincludes
8724 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8726 mostlyclean-fixincludes:
8727 @[ -f ./fixincludes/Makefile ] || exit 0; \
8728 r=`${PWD_COMMAND}`; export r; \
8729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8730 $(SET_LIB_PATH) \
8731 $(HOST_EXPORTS) \
8732 for flag in $(EXTRA_HOST_FLAGS) ; do \
8733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8734 done; \
8735 echo "Doing mostlyclean in fixincludes" ; \
8736 (cd fixincludes && \
8737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8739 "RANLIB=$${RANLIB}" \
8740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8741 mostlyclean) \
8742 || exit 1
8744 @endif fixincludes
8746 .PHONY: maybe-clean-fixincludes clean-fixincludes
8747 maybe-clean-fixincludes:
8748 @if fixincludes
8749 maybe-clean-fixincludes: clean-fixincludes
8751 clean-fixincludes:
8752 @[ -f ./fixincludes/Makefile ] || exit 0; \
8753 r=`${PWD_COMMAND}`; export r; \
8754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8755 $(SET_LIB_PATH) \
8756 $(HOST_EXPORTS) \
8757 for flag in $(EXTRA_HOST_FLAGS) ; do \
8758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8759 done; \
8760 echo "Doing clean in fixincludes" ; \
8761 (cd fixincludes && \
8762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8764 "RANLIB=$${RANLIB}" \
8765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8766 clean) \
8767 || exit 1
8769 @endif fixincludes
8771 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8772 maybe-distclean-fixincludes:
8773 @if fixincludes
8774 maybe-distclean-fixincludes: distclean-fixincludes
8776 distclean-fixincludes:
8777 @[ -f ./fixincludes/Makefile ] || exit 0; \
8778 r=`${PWD_COMMAND}`; export r; \
8779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8780 $(SET_LIB_PATH) \
8781 $(HOST_EXPORTS) \
8782 for flag in $(EXTRA_HOST_FLAGS) ; do \
8783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8784 done; \
8785 echo "Doing distclean in fixincludes" ; \
8786 (cd fixincludes && \
8787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8789 "RANLIB=$${RANLIB}" \
8790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8791 distclean) \
8792 || exit 1
8794 @endif fixincludes
8796 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8797 maybe-maintainer-clean-fixincludes:
8798 @if fixincludes
8799 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8801 maintainer-clean-fixincludes:
8802 @[ -f ./fixincludes/Makefile ] || exit 0; \
8803 r=`${PWD_COMMAND}`; export r; \
8804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8805 $(SET_LIB_PATH) \
8806 $(HOST_EXPORTS) \
8807 for flag in $(EXTRA_HOST_FLAGS) ; do \
8808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8809 done; \
8810 echo "Doing maintainer-clean in fixincludes" ; \
8811 (cd fixincludes && \
8812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8814 "RANLIB=$${RANLIB}" \
8815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8816 maintainer-clean) \
8817 || exit 1
8819 @endif fixincludes
8822 .PHONY: configure-flex maybe-configure-flex
8823 maybe-configure-flex:
8824 @if flex
8825 maybe-configure-flex: configure-flex
8826 configure-flex:
8827 @test ! -f flex/Makefile || exit 0; \
8828 [ -d flex ] || mkdir flex; \
8829 r=`${PWD_COMMAND}`; export r; \
8830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8831 $(HOST_EXPORTS) \
8832 echo Configuring in flex; \
8833 cd flex || exit 1; \
8834 case $(srcdir) in \
8835 \.) \
8836 srcdiroption="--srcdir=."; \
8837 libsrcdir=".";; \
8838 /* | [A-Za-z]:[\\/]*) \
8839 srcdiroption="--srcdir=$(srcdir)/flex"; \
8840 libsrcdir="$$s/flex";; \
8841 *) \
8842 srcdiroption="--srcdir=../$(srcdir)/flex"; \
8843 libsrcdir="$$s/flex";; \
8844 esac; \
8845 $(SHELL) $${libsrcdir}/configure \
8846 $(HOST_CONFIGARGS) $${srcdiroption} \
8847 || exit 1
8848 @endif flex
8850 .PHONY: all-flex maybe-all-flex
8851 maybe-all-flex:
8852 @if flex
8853 TARGET-flex=all
8854 maybe-all-flex: all-flex
8855 all-flex: configure-flex
8856 @r=`${PWD_COMMAND}`; export r; \
8857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8858 $(SET_LIB_PATH) \
8859 $(HOST_EXPORTS) \
8860 (cd flex && $(MAKE) $(FLAGS_TO_PASS) \
8861 $(TARGET-flex))
8862 @endif flex
8864 .PHONY: check-flex maybe-check-flex
8865 maybe-check-flex:
8866 @if flex
8867 maybe-check-flex: check-flex
8869 # This module is only tested in a native toolchain.
8870 check-flex:
8871 @if [ '$(host)' = '$(target)' ] ; then \
8872 r=`${PWD_COMMAND}`; export r; \
8873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8874 $(SET_LIB_PATH) \
8875 $(HOST_EXPORTS) \
8876 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8879 @endif flex
8881 .PHONY: install-flex maybe-install-flex
8882 maybe-install-flex:
8883 @if flex
8884 maybe-install-flex: install-flex
8886 install-flex: installdirs
8887 @r=`${PWD_COMMAND}`; export r; \
8888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8889 $(SET_LIB_PATH) \
8890 $(HOST_EXPORTS) \
8891 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8893 @endif flex
8895 # Other targets (info, dvi, etc.)
8897 .PHONY: maybe-info-flex info-flex
8898 maybe-info-flex:
8899 @if flex
8900 maybe-info-flex: info-flex
8902 info-flex: \
8903 configure-flex
8904 @[ -f ./flex/Makefile ] || exit 0; \
8905 r=`${PWD_COMMAND}`; export r; \
8906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8907 $(SET_LIB_PATH) \
8908 $(HOST_EXPORTS) \
8909 for flag in $(EXTRA_HOST_FLAGS) ; do \
8910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8911 done; \
8912 echo "Doing info in flex" ; \
8913 (cd flex && \
8914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8916 "RANLIB=$${RANLIB}" \
8917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8918 info) \
8919 || exit 1
8921 @endif flex
8923 .PHONY: maybe-dvi-flex dvi-flex
8924 maybe-dvi-flex:
8925 @if flex
8926 maybe-dvi-flex: dvi-flex
8928 dvi-flex: \
8929 configure-flex
8930 @[ -f ./flex/Makefile ] || exit 0; \
8931 r=`${PWD_COMMAND}`; export r; \
8932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8933 $(SET_LIB_PATH) \
8934 $(HOST_EXPORTS) \
8935 for flag in $(EXTRA_HOST_FLAGS) ; do \
8936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8937 done; \
8938 echo "Doing dvi in flex" ; \
8939 (cd flex && \
8940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8942 "RANLIB=$${RANLIB}" \
8943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8944 dvi) \
8945 || exit 1
8947 @endif flex
8949 .PHONY: maybe-html-flex html-flex
8950 maybe-html-flex:
8951 @if flex
8952 maybe-html-flex: html-flex
8954 html-flex: \
8955 configure-flex
8956 @[ -f ./flex/Makefile ] || exit 0; \
8957 r=`${PWD_COMMAND}`; export r; \
8958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8959 $(SET_LIB_PATH) \
8960 $(HOST_EXPORTS) \
8961 for flag in $(EXTRA_HOST_FLAGS) ; do \
8962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8963 done; \
8964 echo "Doing html in flex" ; \
8965 (cd flex && \
8966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8968 "RANLIB=$${RANLIB}" \
8969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8970 html) \
8971 || exit 1
8973 @endif flex
8975 .PHONY: maybe-TAGS-flex TAGS-flex
8976 maybe-TAGS-flex:
8977 @if flex
8978 maybe-TAGS-flex: TAGS-flex
8980 TAGS-flex: \
8981 configure-flex
8982 @[ -f ./flex/Makefile ] || exit 0; \
8983 r=`${PWD_COMMAND}`; export r; \
8984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8985 $(SET_LIB_PATH) \
8986 $(HOST_EXPORTS) \
8987 for flag in $(EXTRA_HOST_FLAGS) ; do \
8988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8989 done; \
8990 echo "Doing TAGS in flex" ; \
8991 (cd flex && \
8992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8994 "RANLIB=$${RANLIB}" \
8995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8996 TAGS) \
8997 || exit 1
8999 @endif flex
9001 .PHONY: maybe-install-info-flex install-info-flex
9002 maybe-install-info-flex:
9003 @if flex
9004 maybe-install-info-flex: install-info-flex
9006 install-info-flex: \
9007 configure-flex \
9008 info-flex
9009 @[ -f ./flex/Makefile ] || exit 0; \
9010 r=`${PWD_COMMAND}`; export r; \
9011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9012 $(SET_LIB_PATH) \
9013 $(HOST_EXPORTS) \
9014 for flag in $(EXTRA_HOST_FLAGS) ; do \
9015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9016 done; \
9017 echo "Doing install-info in flex" ; \
9018 (cd flex && \
9019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9021 "RANLIB=$${RANLIB}" \
9022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9023 install-info) \
9024 || exit 1
9026 @endif flex
9028 .PHONY: maybe-installcheck-flex installcheck-flex
9029 maybe-installcheck-flex:
9030 @if flex
9031 maybe-installcheck-flex: installcheck-flex
9033 installcheck-flex: \
9034 configure-flex
9035 @[ -f ./flex/Makefile ] || exit 0; \
9036 r=`${PWD_COMMAND}`; export r; \
9037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9038 $(SET_LIB_PATH) \
9039 $(HOST_EXPORTS) \
9040 for flag in $(EXTRA_HOST_FLAGS) ; do \
9041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9042 done; \
9043 echo "Doing installcheck in flex" ; \
9044 (cd flex && \
9045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9047 "RANLIB=$${RANLIB}" \
9048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9049 installcheck) \
9050 || exit 1
9052 @endif flex
9054 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9055 maybe-mostlyclean-flex:
9056 @if flex
9057 maybe-mostlyclean-flex: mostlyclean-flex
9059 mostlyclean-flex:
9060 @[ -f ./flex/Makefile ] || exit 0; \
9061 r=`${PWD_COMMAND}`; export r; \
9062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9063 $(SET_LIB_PATH) \
9064 $(HOST_EXPORTS) \
9065 for flag in $(EXTRA_HOST_FLAGS) ; do \
9066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9067 done; \
9068 echo "Doing mostlyclean in flex" ; \
9069 (cd flex && \
9070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9072 "RANLIB=$${RANLIB}" \
9073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9074 mostlyclean) \
9075 || exit 1
9077 @endif flex
9079 .PHONY: maybe-clean-flex clean-flex
9080 maybe-clean-flex:
9081 @if flex
9082 maybe-clean-flex: clean-flex
9084 clean-flex:
9085 @[ -f ./flex/Makefile ] || exit 0; \
9086 r=`${PWD_COMMAND}`; export r; \
9087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9088 $(SET_LIB_PATH) \
9089 $(HOST_EXPORTS) \
9090 for flag in $(EXTRA_HOST_FLAGS) ; do \
9091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9092 done; \
9093 echo "Doing clean in flex" ; \
9094 (cd flex && \
9095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9097 "RANLIB=$${RANLIB}" \
9098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9099 clean) \
9100 || exit 1
9102 @endif flex
9104 .PHONY: maybe-distclean-flex distclean-flex
9105 maybe-distclean-flex:
9106 @if flex
9107 maybe-distclean-flex: distclean-flex
9109 distclean-flex:
9110 @[ -f ./flex/Makefile ] || exit 0; \
9111 r=`${PWD_COMMAND}`; export r; \
9112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9113 $(SET_LIB_PATH) \
9114 $(HOST_EXPORTS) \
9115 for flag in $(EXTRA_HOST_FLAGS) ; do \
9116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9117 done; \
9118 echo "Doing distclean in flex" ; \
9119 (cd flex && \
9120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9122 "RANLIB=$${RANLIB}" \
9123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9124 distclean) \
9125 || exit 1
9127 @endif flex
9129 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9130 maybe-maintainer-clean-flex:
9131 @if flex
9132 maybe-maintainer-clean-flex: maintainer-clean-flex
9134 maintainer-clean-flex:
9135 @[ -f ./flex/Makefile ] || exit 0; \
9136 r=`${PWD_COMMAND}`; export r; \
9137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9138 $(SET_LIB_PATH) \
9139 $(HOST_EXPORTS) \
9140 for flag in $(EXTRA_HOST_FLAGS) ; do \
9141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9142 done; \
9143 echo "Doing maintainer-clean in flex" ; \
9144 (cd flex && \
9145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9147 "RANLIB=$${RANLIB}" \
9148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9149 maintainer-clean) \
9150 || exit 1
9152 @endif flex
9155 .PHONY: configure-gas maybe-configure-gas
9156 maybe-configure-gas:
9157 @if gas
9158 maybe-configure-gas: configure-gas
9159 configure-gas:
9160 @test -f stage_last && exit 0; \
9161 test ! -f gas/Makefile || exit 0; \
9162 [ -d gas ] || mkdir gas; \
9163 r=`${PWD_COMMAND}`; export r; \
9164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9165 $(HOST_EXPORTS) \
9166 echo Configuring in gas; \
9167 cd gas || exit 1; \
9168 case $(srcdir) in \
9169 \.) \
9170 srcdiroption="--srcdir=."; \
9171 libsrcdir=".";; \
9172 /* | [A-Za-z]:[\\/]*) \
9173 srcdiroption="--srcdir=$(srcdir)/gas"; \
9174 libsrcdir="$$s/gas";; \
9175 *) \
9176 srcdiroption="--srcdir=../$(srcdir)/gas"; \
9177 libsrcdir="$$s/gas";; \
9178 esac; \
9179 $(SHELL) $${libsrcdir}/configure \
9180 $(HOST_CONFIGARGS) $${srcdiroption} \
9181 || exit 1
9182 @endif gas
9184 .PHONY: all-gas maybe-all-gas
9185 maybe-all-gas:
9186 @if gas
9187 TARGET-gas=all
9188 maybe-all-gas: all-gas
9189 all-gas: configure-gas
9190 @test -f stage_last && exit 0; \
9191 r=`${PWD_COMMAND}`; export r; \
9192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9193 $(SET_LIB_PATH) \
9194 $(HOST_EXPORTS) \
9195 (cd gas && $(MAKE) $(FLAGS_TO_PASS) \
9196 $(TARGET-gas))
9197 @endif gas
9199 .PHONY: check-gas maybe-check-gas
9200 maybe-check-gas:
9201 @if gas
9202 maybe-check-gas: check-gas
9204 check-gas:
9205 @r=`${PWD_COMMAND}`; export r; \
9206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9207 $(SET_LIB_PATH) \
9208 $(HOST_EXPORTS) \
9209 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
9211 @endif gas
9213 .PHONY: install-gas maybe-install-gas
9214 maybe-install-gas:
9215 @if gas
9216 maybe-install-gas: install-gas
9218 install-gas: installdirs
9219 @r=`${PWD_COMMAND}`; export r; \
9220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9221 $(SET_LIB_PATH) \
9222 $(HOST_EXPORTS) \
9223 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
9225 @endif gas
9227 # Other targets (info, dvi, etc.)
9229 .PHONY: maybe-info-gas info-gas
9230 maybe-info-gas:
9231 @if gas
9232 maybe-info-gas: info-gas
9234 info-gas: \
9235 configure-gas
9236 @[ -f ./gas/Makefile ] || exit 0; \
9237 r=`${PWD_COMMAND}`; export r; \
9238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9239 $(SET_LIB_PATH) \
9240 $(HOST_EXPORTS) \
9241 for flag in $(EXTRA_HOST_FLAGS) ; do \
9242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9243 done; \
9244 echo "Doing info in gas" ; \
9245 (cd gas && \
9246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9248 "RANLIB=$${RANLIB}" \
9249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9250 info) \
9251 || exit 1
9253 @endif gas
9255 .PHONY: maybe-dvi-gas dvi-gas
9256 maybe-dvi-gas:
9257 @if gas
9258 maybe-dvi-gas: dvi-gas
9260 dvi-gas: \
9261 configure-gas
9262 @[ -f ./gas/Makefile ] || exit 0; \
9263 r=`${PWD_COMMAND}`; export r; \
9264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9265 $(SET_LIB_PATH) \
9266 $(HOST_EXPORTS) \
9267 for flag in $(EXTRA_HOST_FLAGS) ; do \
9268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9269 done; \
9270 echo "Doing dvi in gas" ; \
9271 (cd gas && \
9272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9274 "RANLIB=$${RANLIB}" \
9275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9276 dvi) \
9277 || exit 1
9279 @endif gas
9281 .PHONY: maybe-html-gas html-gas
9282 maybe-html-gas:
9283 @if gas
9284 maybe-html-gas: html-gas
9286 html-gas: \
9287 configure-gas
9288 @[ -f ./gas/Makefile ] || exit 0; \
9289 r=`${PWD_COMMAND}`; export r; \
9290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9291 $(SET_LIB_PATH) \
9292 $(HOST_EXPORTS) \
9293 for flag in $(EXTRA_HOST_FLAGS) ; do \
9294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9295 done; \
9296 echo "Doing html in gas" ; \
9297 (cd gas && \
9298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9300 "RANLIB=$${RANLIB}" \
9301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9302 html) \
9303 || exit 1
9305 @endif gas
9307 .PHONY: maybe-TAGS-gas TAGS-gas
9308 maybe-TAGS-gas:
9309 @if gas
9310 maybe-TAGS-gas: TAGS-gas
9312 TAGS-gas: \
9313 configure-gas
9314 @[ -f ./gas/Makefile ] || exit 0; \
9315 r=`${PWD_COMMAND}`; export r; \
9316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9317 $(SET_LIB_PATH) \
9318 $(HOST_EXPORTS) \
9319 for flag in $(EXTRA_HOST_FLAGS) ; do \
9320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9321 done; \
9322 echo "Doing TAGS in gas" ; \
9323 (cd gas && \
9324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9326 "RANLIB=$${RANLIB}" \
9327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9328 TAGS) \
9329 || exit 1
9331 @endif gas
9333 .PHONY: maybe-install-info-gas install-info-gas
9334 maybe-install-info-gas:
9335 @if gas
9336 maybe-install-info-gas: install-info-gas
9338 install-info-gas: \
9339 configure-gas \
9340 info-gas
9341 @[ -f ./gas/Makefile ] || exit 0; \
9342 r=`${PWD_COMMAND}`; export r; \
9343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9344 $(SET_LIB_PATH) \
9345 $(HOST_EXPORTS) \
9346 for flag in $(EXTRA_HOST_FLAGS) ; do \
9347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9348 done; \
9349 echo "Doing install-info in gas" ; \
9350 (cd gas && \
9351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9353 "RANLIB=$${RANLIB}" \
9354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9355 install-info) \
9356 || exit 1
9358 @endif gas
9360 .PHONY: maybe-installcheck-gas installcheck-gas
9361 maybe-installcheck-gas:
9362 @if gas
9363 maybe-installcheck-gas: installcheck-gas
9365 installcheck-gas: \
9366 configure-gas
9367 @[ -f ./gas/Makefile ] || exit 0; \
9368 r=`${PWD_COMMAND}`; export r; \
9369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9370 $(SET_LIB_PATH) \
9371 $(HOST_EXPORTS) \
9372 for flag in $(EXTRA_HOST_FLAGS) ; do \
9373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9374 done; \
9375 echo "Doing installcheck in gas" ; \
9376 (cd gas && \
9377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9379 "RANLIB=$${RANLIB}" \
9380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9381 installcheck) \
9382 || exit 1
9384 @endif gas
9386 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9387 maybe-mostlyclean-gas:
9388 @if gas
9389 maybe-mostlyclean-gas: mostlyclean-gas
9391 mostlyclean-gas:
9392 @[ -f ./gas/Makefile ] || exit 0; \
9393 r=`${PWD_COMMAND}`; export r; \
9394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9395 $(SET_LIB_PATH) \
9396 $(HOST_EXPORTS) \
9397 for flag in $(EXTRA_HOST_FLAGS) ; do \
9398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9399 done; \
9400 echo "Doing mostlyclean in gas" ; \
9401 (cd gas && \
9402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9404 "RANLIB=$${RANLIB}" \
9405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9406 mostlyclean) \
9407 || exit 1
9409 @endif gas
9411 .PHONY: maybe-clean-gas clean-gas
9412 maybe-clean-gas:
9413 @if gas
9414 maybe-clean-gas: clean-gas
9416 clean-gas:
9417 @[ -f ./gas/Makefile ] || exit 0; \
9418 r=`${PWD_COMMAND}`; export r; \
9419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9420 $(SET_LIB_PATH) \
9421 $(HOST_EXPORTS) \
9422 for flag in $(EXTRA_HOST_FLAGS) ; do \
9423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9424 done; \
9425 echo "Doing clean in gas" ; \
9426 (cd gas && \
9427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9429 "RANLIB=$${RANLIB}" \
9430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9431 clean) \
9432 || exit 1
9434 @endif gas
9436 .PHONY: maybe-distclean-gas distclean-gas
9437 maybe-distclean-gas:
9438 @if gas
9439 maybe-distclean-gas: distclean-gas
9441 distclean-gas:
9442 @[ -f ./gas/Makefile ] || exit 0; \
9443 r=`${PWD_COMMAND}`; export r; \
9444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9445 $(SET_LIB_PATH) \
9446 $(HOST_EXPORTS) \
9447 for flag in $(EXTRA_HOST_FLAGS) ; do \
9448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9449 done; \
9450 echo "Doing distclean in gas" ; \
9451 (cd gas && \
9452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9454 "RANLIB=$${RANLIB}" \
9455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9456 distclean) \
9457 || exit 1
9459 @endif gas
9461 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9462 maybe-maintainer-clean-gas:
9463 @if gas
9464 maybe-maintainer-clean-gas: maintainer-clean-gas
9466 maintainer-clean-gas:
9467 @[ -f ./gas/Makefile ] || exit 0; \
9468 r=`${PWD_COMMAND}`; export r; \
9469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9470 $(SET_LIB_PATH) \
9471 $(HOST_EXPORTS) \
9472 for flag in $(EXTRA_HOST_FLAGS) ; do \
9473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9474 done; \
9475 echo "Doing maintainer-clean in gas" ; \
9476 (cd gas && \
9477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9479 "RANLIB=$${RANLIB}" \
9480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9481 maintainer-clean) \
9482 || exit 1
9484 @endif gas
9487 .PHONY: configure-gcc maybe-configure-gcc
9488 maybe-configure-gcc:
9489 @if gcc
9490 maybe-configure-gcc: configure-gcc
9491 configure-gcc:
9492 @test -f stage_last && exit 0; \
9493 test ! -f gcc/Makefile || exit 0; \
9494 [ -d gcc ] || mkdir gcc; \
9495 r=`${PWD_COMMAND}`; export r; \
9496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9497 $(HOST_EXPORTS) \
9498 echo Configuring in gcc; \
9499 cd gcc || exit 1; \
9500 case $(srcdir) in \
9501 \.) \
9502 srcdiroption="--srcdir=."; \
9503 libsrcdir=".";; \
9504 /* | [A-Za-z]:[\\/]*) \
9505 srcdiroption="--srcdir=$(srcdir)/gcc"; \
9506 libsrcdir="$$s/gcc";; \
9507 *) \
9508 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
9509 libsrcdir="$$s/gcc";; \
9510 esac; \
9511 $(SHELL) $${libsrcdir}/configure \
9512 $(HOST_CONFIGARGS) $${srcdiroption} \
9513 || exit 1
9514 @endif gcc
9516 .PHONY: all-gcc maybe-all-gcc
9517 maybe-all-gcc:
9518 @if gcc
9519 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
9520 maybe-all-gcc: all-gcc
9521 all-gcc: configure-gcc
9522 @test -f stage_last && exit 0; \
9523 r=`${PWD_COMMAND}`; export r; \
9524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9525 $(SET_LIB_PATH) \
9526 $(HOST_EXPORTS) \
9527 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9528 $(TARGET-gcc))
9529 @endif gcc
9531 .PHONY: check-gcc maybe-check-gcc
9532 maybe-check-gcc:
9533 @if gcc
9534 maybe-check-gcc: check-gcc
9536 check-gcc:
9537 @r=`${PWD_COMMAND}`; export r; \
9538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9539 $(SET_LIB_PATH) \
9540 $(HOST_EXPORTS) \
9541 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
9543 @endif gcc
9545 .PHONY: install-gcc maybe-install-gcc
9546 maybe-install-gcc:
9547 @if gcc
9548 maybe-install-gcc: install-gcc
9550 install-gcc: installdirs
9551 @r=`${PWD_COMMAND}`; export r; \
9552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9553 $(SET_LIB_PATH) \
9554 $(HOST_EXPORTS) \
9555 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
9557 @endif gcc
9559 # Other targets (info, dvi, etc.)
9561 .PHONY: maybe-info-gcc info-gcc
9562 maybe-info-gcc:
9563 @if gcc
9564 maybe-info-gcc: info-gcc
9566 info-gcc: \
9567 configure-gcc
9568 @[ -f ./gcc/Makefile ] || exit 0; \
9569 r=`${PWD_COMMAND}`; export r; \
9570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9571 $(SET_LIB_PATH) \
9572 $(HOST_EXPORTS) \
9573 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9575 done; \
9576 echo "Doing info in gcc" ; \
9577 (cd gcc && \
9578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9580 "RANLIB=$${RANLIB}" \
9581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9582 info) \
9583 || exit 1
9585 @endif gcc
9587 .PHONY: maybe-dvi-gcc dvi-gcc
9588 maybe-dvi-gcc:
9589 @if gcc
9590 maybe-dvi-gcc: dvi-gcc
9592 dvi-gcc: \
9593 configure-gcc
9594 @[ -f ./gcc/Makefile ] || exit 0; \
9595 r=`${PWD_COMMAND}`; export r; \
9596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9597 $(SET_LIB_PATH) \
9598 $(HOST_EXPORTS) \
9599 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9601 done; \
9602 echo "Doing dvi in gcc" ; \
9603 (cd gcc && \
9604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9606 "RANLIB=$${RANLIB}" \
9607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9608 dvi) \
9609 || exit 1
9611 @endif gcc
9613 .PHONY: maybe-html-gcc html-gcc
9614 maybe-html-gcc:
9615 @if gcc
9616 maybe-html-gcc: html-gcc
9618 html-gcc: \
9619 configure-gcc
9620 @[ -f ./gcc/Makefile ] || exit 0; \
9621 r=`${PWD_COMMAND}`; export r; \
9622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9623 $(SET_LIB_PATH) \
9624 $(HOST_EXPORTS) \
9625 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9627 done; \
9628 echo "Doing html in gcc" ; \
9629 (cd gcc && \
9630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9632 "RANLIB=$${RANLIB}" \
9633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9634 html) \
9635 || exit 1
9637 @endif gcc
9639 .PHONY: maybe-TAGS-gcc TAGS-gcc
9640 maybe-TAGS-gcc:
9641 @if gcc
9642 maybe-TAGS-gcc: TAGS-gcc
9644 TAGS-gcc: \
9645 configure-gcc
9646 @[ -f ./gcc/Makefile ] || exit 0; \
9647 r=`${PWD_COMMAND}`; export r; \
9648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9649 $(SET_LIB_PATH) \
9650 $(HOST_EXPORTS) \
9651 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9653 done; \
9654 echo "Doing TAGS in gcc" ; \
9655 (cd gcc && \
9656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9658 "RANLIB=$${RANLIB}" \
9659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9660 TAGS) \
9661 || exit 1
9663 @endif gcc
9665 .PHONY: maybe-install-info-gcc install-info-gcc
9666 maybe-install-info-gcc:
9667 @if gcc
9668 maybe-install-info-gcc: install-info-gcc
9670 install-info-gcc: \
9671 configure-gcc \
9672 info-gcc
9673 @[ -f ./gcc/Makefile ] || exit 0; \
9674 r=`${PWD_COMMAND}`; export r; \
9675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9676 $(SET_LIB_PATH) \
9677 $(HOST_EXPORTS) \
9678 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9680 done; \
9681 echo "Doing install-info in gcc" ; \
9682 (cd gcc && \
9683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9685 "RANLIB=$${RANLIB}" \
9686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9687 install-info) \
9688 || exit 1
9690 @endif gcc
9692 .PHONY: maybe-installcheck-gcc installcheck-gcc
9693 maybe-installcheck-gcc:
9694 @if gcc
9695 maybe-installcheck-gcc: installcheck-gcc
9697 installcheck-gcc: \
9698 configure-gcc
9699 @[ -f ./gcc/Makefile ] || exit 0; \
9700 r=`${PWD_COMMAND}`; export r; \
9701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9702 $(SET_LIB_PATH) \
9703 $(HOST_EXPORTS) \
9704 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9706 done; \
9707 echo "Doing installcheck in gcc" ; \
9708 (cd gcc && \
9709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9711 "RANLIB=$${RANLIB}" \
9712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9713 installcheck) \
9714 || exit 1
9716 @endif gcc
9718 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9719 maybe-mostlyclean-gcc:
9720 @if gcc
9721 maybe-mostlyclean-gcc: mostlyclean-gcc
9723 mostlyclean-gcc:
9724 @[ -f ./gcc/Makefile ] || exit 0; \
9725 r=`${PWD_COMMAND}`; export r; \
9726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9727 $(SET_LIB_PATH) \
9728 $(HOST_EXPORTS) \
9729 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9731 done; \
9732 echo "Doing mostlyclean in gcc" ; \
9733 (cd gcc && \
9734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9736 "RANLIB=$${RANLIB}" \
9737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9738 mostlyclean) \
9739 || exit 1
9741 @endif gcc
9743 .PHONY: maybe-clean-gcc clean-gcc
9744 maybe-clean-gcc:
9745 @if gcc
9746 maybe-clean-gcc: clean-gcc
9748 clean-gcc:
9749 @[ -f ./gcc/Makefile ] || exit 0; \
9750 r=`${PWD_COMMAND}`; export r; \
9751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9752 $(SET_LIB_PATH) \
9753 $(HOST_EXPORTS) \
9754 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9756 done; \
9757 echo "Doing clean in gcc" ; \
9758 (cd gcc && \
9759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9761 "RANLIB=$${RANLIB}" \
9762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9763 clean) \
9764 || exit 1
9766 @endif gcc
9768 .PHONY: maybe-distclean-gcc distclean-gcc
9769 maybe-distclean-gcc:
9770 @if gcc
9771 maybe-distclean-gcc: distclean-gcc
9773 distclean-gcc:
9774 @[ -f ./gcc/Makefile ] || exit 0; \
9775 r=`${PWD_COMMAND}`; export r; \
9776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9777 $(SET_LIB_PATH) \
9778 $(HOST_EXPORTS) \
9779 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9781 done; \
9782 echo "Doing distclean in gcc" ; \
9783 (cd gcc && \
9784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9786 "RANLIB=$${RANLIB}" \
9787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9788 distclean) \
9789 || exit 1
9791 @endif gcc
9793 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9794 maybe-maintainer-clean-gcc:
9795 @if gcc
9796 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9798 maintainer-clean-gcc:
9799 @[ -f ./gcc/Makefile ] || exit 0; \
9800 r=`${PWD_COMMAND}`; export r; \
9801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9802 $(SET_LIB_PATH) \
9803 $(HOST_EXPORTS) \
9804 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9806 done; \
9807 echo "Doing maintainer-clean in gcc" ; \
9808 (cd gcc && \
9809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9811 "RANLIB=$${RANLIB}" \
9812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9813 maintainer-clean) \
9814 || exit 1
9816 @endif gcc
9819 .PHONY: configure-gawk maybe-configure-gawk
9820 maybe-configure-gawk:
9821 @if gawk
9822 maybe-configure-gawk: configure-gawk
9823 configure-gawk:
9824 @test ! -f gawk/Makefile || exit 0; \
9825 [ -d gawk ] || mkdir gawk; \
9826 r=`${PWD_COMMAND}`; export r; \
9827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9828 $(HOST_EXPORTS) \
9829 echo Configuring in gawk; \
9830 cd gawk || exit 1; \
9831 case $(srcdir) in \
9832 \.) \
9833 srcdiroption="--srcdir=."; \
9834 libsrcdir=".";; \
9835 /* | [A-Za-z]:[\\/]*) \
9836 srcdiroption="--srcdir=$(srcdir)/gawk"; \
9837 libsrcdir="$$s/gawk";; \
9838 *) \
9839 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
9840 libsrcdir="$$s/gawk";; \
9841 esac; \
9842 $(SHELL) $${libsrcdir}/configure \
9843 $(HOST_CONFIGARGS) $${srcdiroption} \
9844 || exit 1
9845 @endif gawk
9847 .PHONY: all-gawk maybe-all-gawk
9848 maybe-all-gawk:
9849 @if gawk
9850 TARGET-gawk=all
9851 maybe-all-gawk: all-gawk
9852 all-gawk: configure-gawk
9853 @r=`${PWD_COMMAND}`; export r; \
9854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9855 $(SET_LIB_PATH) \
9856 $(HOST_EXPORTS) \
9857 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) \
9858 $(TARGET-gawk))
9859 @endif gawk
9861 .PHONY: check-gawk maybe-check-gawk
9862 maybe-check-gawk:
9863 @if gawk
9864 maybe-check-gawk: check-gawk
9866 check-gawk:
9867 @r=`${PWD_COMMAND}`; export r; \
9868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9869 $(SET_LIB_PATH) \
9870 $(HOST_EXPORTS) \
9871 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
9873 @endif gawk
9875 .PHONY: install-gawk maybe-install-gawk
9876 maybe-install-gawk:
9877 @if gawk
9878 maybe-install-gawk: install-gawk
9880 install-gawk: installdirs
9881 @r=`${PWD_COMMAND}`; export r; \
9882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9883 $(SET_LIB_PATH) \
9884 $(HOST_EXPORTS) \
9885 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
9887 @endif gawk
9889 # Other targets (info, dvi, etc.)
9891 .PHONY: maybe-info-gawk info-gawk
9892 maybe-info-gawk:
9893 @if gawk
9894 maybe-info-gawk: info-gawk
9896 info-gawk: \
9897 configure-gawk
9898 @[ -f ./gawk/Makefile ] || exit 0; \
9899 r=`${PWD_COMMAND}`; export r; \
9900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9901 $(SET_LIB_PATH) \
9902 $(HOST_EXPORTS) \
9903 for flag in $(EXTRA_HOST_FLAGS) ; do \
9904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9905 done; \
9906 echo "Doing info in gawk" ; \
9907 (cd gawk && \
9908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9910 "RANLIB=$${RANLIB}" \
9911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9912 info) \
9913 || exit 1
9915 @endif gawk
9917 .PHONY: maybe-dvi-gawk dvi-gawk
9918 maybe-dvi-gawk:
9919 @if gawk
9920 maybe-dvi-gawk: dvi-gawk
9922 dvi-gawk: \
9923 configure-gawk
9924 @[ -f ./gawk/Makefile ] || exit 0; \
9925 r=`${PWD_COMMAND}`; export r; \
9926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9927 $(SET_LIB_PATH) \
9928 $(HOST_EXPORTS) \
9929 for flag in $(EXTRA_HOST_FLAGS) ; do \
9930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9931 done; \
9932 echo "Doing dvi in gawk" ; \
9933 (cd gawk && \
9934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9936 "RANLIB=$${RANLIB}" \
9937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9938 dvi) \
9939 || exit 1
9941 @endif gawk
9943 .PHONY: maybe-html-gawk html-gawk
9944 maybe-html-gawk:
9945 @if gawk
9946 maybe-html-gawk: html-gawk
9948 html-gawk: \
9949 configure-gawk
9950 @[ -f ./gawk/Makefile ] || exit 0; \
9951 r=`${PWD_COMMAND}`; export r; \
9952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9953 $(SET_LIB_PATH) \
9954 $(HOST_EXPORTS) \
9955 for flag in $(EXTRA_HOST_FLAGS) ; do \
9956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9957 done; \
9958 echo "Doing html in gawk" ; \
9959 (cd gawk && \
9960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9962 "RANLIB=$${RANLIB}" \
9963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9964 html) \
9965 || exit 1
9967 @endif gawk
9969 .PHONY: maybe-TAGS-gawk TAGS-gawk
9970 maybe-TAGS-gawk:
9971 @if gawk
9972 maybe-TAGS-gawk: TAGS-gawk
9974 TAGS-gawk: \
9975 configure-gawk
9976 @[ -f ./gawk/Makefile ] || exit 0; \
9977 r=`${PWD_COMMAND}`; export r; \
9978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9979 $(SET_LIB_PATH) \
9980 $(HOST_EXPORTS) \
9981 for flag in $(EXTRA_HOST_FLAGS) ; do \
9982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9983 done; \
9984 echo "Doing TAGS in gawk" ; \
9985 (cd gawk && \
9986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9988 "RANLIB=$${RANLIB}" \
9989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9990 TAGS) \
9991 || exit 1
9993 @endif gawk
9995 .PHONY: maybe-install-info-gawk install-info-gawk
9996 maybe-install-info-gawk:
9997 @if gawk
9998 maybe-install-info-gawk: install-info-gawk
10000 install-info-gawk: \
10001 configure-gawk \
10002 info-gawk
10003 @[ -f ./gawk/Makefile ] || exit 0; \
10004 r=`${PWD_COMMAND}`; export r; \
10005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10006 $(SET_LIB_PATH) \
10007 $(HOST_EXPORTS) \
10008 for flag in $(EXTRA_HOST_FLAGS) ; do \
10009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10010 done; \
10011 echo "Doing install-info in gawk" ; \
10012 (cd gawk && \
10013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10015 "RANLIB=$${RANLIB}" \
10016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10017 install-info) \
10018 || exit 1
10020 @endif gawk
10022 .PHONY: maybe-installcheck-gawk installcheck-gawk
10023 maybe-installcheck-gawk:
10024 @if gawk
10025 maybe-installcheck-gawk: installcheck-gawk
10027 installcheck-gawk: \
10028 configure-gawk
10029 @[ -f ./gawk/Makefile ] || exit 0; \
10030 r=`${PWD_COMMAND}`; export r; \
10031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10032 $(SET_LIB_PATH) \
10033 $(HOST_EXPORTS) \
10034 for flag in $(EXTRA_HOST_FLAGS) ; do \
10035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10036 done; \
10037 echo "Doing installcheck in gawk" ; \
10038 (cd gawk && \
10039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10041 "RANLIB=$${RANLIB}" \
10042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10043 installcheck) \
10044 || exit 1
10046 @endif gawk
10048 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
10049 maybe-mostlyclean-gawk:
10050 @if gawk
10051 maybe-mostlyclean-gawk: mostlyclean-gawk
10053 mostlyclean-gawk:
10054 @[ -f ./gawk/Makefile ] || exit 0; \
10055 r=`${PWD_COMMAND}`; export r; \
10056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10057 $(SET_LIB_PATH) \
10058 $(HOST_EXPORTS) \
10059 for flag in $(EXTRA_HOST_FLAGS) ; do \
10060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10061 done; \
10062 echo "Doing mostlyclean in gawk" ; \
10063 (cd gawk && \
10064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10066 "RANLIB=$${RANLIB}" \
10067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10068 mostlyclean) \
10069 || exit 1
10071 @endif gawk
10073 .PHONY: maybe-clean-gawk clean-gawk
10074 maybe-clean-gawk:
10075 @if gawk
10076 maybe-clean-gawk: clean-gawk
10078 clean-gawk:
10079 @[ -f ./gawk/Makefile ] || exit 0; \
10080 r=`${PWD_COMMAND}`; export r; \
10081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10082 $(SET_LIB_PATH) \
10083 $(HOST_EXPORTS) \
10084 for flag in $(EXTRA_HOST_FLAGS) ; do \
10085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10086 done; \
10087 echo "Doing clean in gawk" ; \
10088 (cd gawk && \
10089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10091 "RANLIB=$${RANLIB}" \
10092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10093 clean) \
10094 || exit 1
10096 @endif gawk
10098 .PHONY: maybe-distclean-gawk distclean-gawk
10099 maybe-distclean-gawk:
10100 @if gawk
10101 maybe-distclean-gawk: distclean-gawk
10103 distclean-gawk:
10104 @[ -f ./gawk/Makefile ] || exit 0; \
10105 r=`${PWD_COMMAND}`; export r; \
10106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10107 $(SET_LIB_PATH) \
10108 $(HOST_EXPORTS) \
10109 for flag in $(EXTRA_HOST_FLAGS) ; do \
10110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10111 done; \
10112 echo "Doing distclean in gawk" ; \
10113 (cd gawk && \
10114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10116 "RANLIB=$${RANLIB}" \
10117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10118 distclean) \
10119 || exit 1
10121 @endif gawk
10123 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
10124 maybe-maintainer-clean-gawk:
10125 @if gawk
10126 maybe-maintainer-clean-gawk: maintainer-clean-gawk
10128 maintainer-clean-gawk:
10129 @[ -f ./gawk/Makefile ] || exit 0; \
10130 r=`${PWD_COMMAND}`; export r; \
10131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10132 $(SET_LIB_PATH) \
10133 $(HOST_EXPORTS) \
10134 for flag in $(EXTRA_HOST_FLAGS) ; do \
10135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10136 done; \
10137 echo "Doing maintainer-clean in gawk" ; \
10138 (cd gawk && \
10139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10141 "RANLIB=$${RANLIB}" \
10142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10143 maintainer-clean) \
10144 || exit 1
10146 @endif gawk
10149 .PHONY: configure-gettext maybe-configure-gettext
10150 maybe-configure-gettext:
10151 @if gettext
10152 maybe-configure-gettext: configure-gettext
10153 configure-gettext:
10154 @test ! -f gettext/Makefile || exit 0; \
10155 [ -d gettext ] || mkdir gettext; \
10156 r=`${PWD_COMMAND}`; export r; \
10157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10158 $(HOST_EXPORTS) \
10159 echo Configuring in gettext; \
10160 cd gettext || exit 1; \
10161 case $(srcdir) in \
10162 \.) \
10163 srcdiroption="--srcdir=."; \
10164 libsrcdir=".";; \
10165 /* | [A-Za-z]:[\\/]*) \
10166 srcdiroption="--srcdir=$(srcdir)/gettext"; \
10167 libsrcdir="$$s/gettext";; \
10168 *) \
10169 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
10170 libsrcdir="$$s/gettext";; \
10171 esac; \
10172 $(SHELL) $${libsrcdir}/configure \
10173 $(HOST_CONFIGARGS) $${srcdiroption} \
10174 || exit 1
10175 @endif gettext
10177 .PHONY: all-gettext maybe-all-gettext
10178 maybe-all-gettext:
10179 @if gettext
10180 TARGET-gettext=all
10181 maybe-all-gettext: all-gettext
10182 all-gettext: configure-gettext
10183 @r=`${PWD_COMMAND}`; export r; \
10184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10185 $(SET_LIB_PATH) \
10186 $(HOST_EXPORTS) \
10187 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) \
10188 $(TARGET-gettext))
10189 @endif gettext
10191 .PHONY: check-gettext maybe-check-gettext
10192 maybe-check-gettext:
10193 @if gettext
10194 maybe-check-gettext: check-gettext
10196 check-gettext:
10197 @r=`${PWD_COMMAND}`; export r; \
10198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10199 $(SET_LIB_PATH) \
10200 $(HOST_EXPORTS) \
10201 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
10203 @endif gettext
10205 .PHONY: install-gettext maybe-install-gettext
10206 maybe-install-gettext:
10207 @if gettext
10208 maybe-install-gettext: install-gettext
10210 install-gettext: installdirs
10211 @r=`${PWD_COMMAND}`; export r; \
10212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10213 $(SET_LIB_PATH) \
10214 $(HOST_EXPORTS) \
10215 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
10217 @endif gettext
10219 # Other targets (info, dvi, etc.)
10221 .PHONY: maybe-info-gettext info-gettext
10222 maybe-info-gettext:
10223 @if gettext
10224 maybe-info-gettext: info-gettext
10226 info-gettext: \
10227 configure-gettext
10228 @[ -f ./gettext/Makefile ] || exit 0; \
10229 r=`${PWD_COMMAND}`; export r; \
10230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10231 $(SET_LIB_PATH) \
10232 $(HOST_EXPORTS) \
10233 for flag in $(EXTRA_HOST_FLAGS) ; do \
10234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10235 done; \
10236 echo "Doing info in gettext" ; \
10237 (cd gettext && \
10238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10240 "RANLIB=$${RANLIB}" \
10241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10242 info) \
10243 || exit 1
10245 @endif gettext
10247 .PHONY: maybe-dvi-gettext dvi-gettext
10248 maybe-dvi-gettext:
10249 @if gettext
10250 maybe-dvi-gettext: dvi-gettext
10252 dvi-gettext: \
10253 configure-gettext
10254 @[ -f ./gettext/Makefile ] || exit 0; \
10255 r=`${PWD_COMMAND}`; export r; \
10256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10257 $(SET_LIB_PATH) \
10258 $(HOST_EXPORTS) \
10259 for flag in $(EXTRA_HOST_FLAGS) ; do \
10260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10261 done; \
10262 echo "Doing dvi in gettext" ; \
10263 (cd gettext && \
10264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10266 "RANLIB=$${RANLIB}" \
10267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10268 dvi) \
10269 || exit 1
10271 @endif gettext
10273 .PHONY: maybe-html-gettext html-gettext
10274 maybe-html-gettext:
10275 @if gettext
10276 maybe-html-gettext: html-gettext
10278 html-gettext: \
10279 configure-gettext
10280 @[ -f ./gettext/Makefile ] || exit 0; \
10281 r=`${PWD_COMMAND}`; export r; \
10282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10283 $(SET_LIB_PATH) \
10284 $(HOST_EXPORTS) \
10285 for flag in $(EXTRA_HOST_FLAGS) ; do \
10286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10287 done; \
10288 echo "Doing html in gettext" ; \
10289 (cd gettext && \
10290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10292 "RANLIB=$${RANLIB}" \
10293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10294 html) \
10295 || exit 1
10297 @endif gettext
10299 .PHONY: maybe-TAGS-gettext TAGS-gettext
10300 maybe-TAGS-gettext:
10301 @if gettext
10302 maybe-TAGS-gettext: TAGS-gettext
10304 TAGS-gettext: \
10305 configure-gettext
10306 @[ -f ./gettext/Makefile ] || exit 0; \
10307 r=`${PWD_COMMAND}`; export r; \
10308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10309 $(SET_LIB_PATH) \
10310 $(HOST_EXPORTS) \
10311 for flag in $(EXTRA_HOST_FLAGS) ; do \
10312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10313 done; \
10314 echo "Doing TAGS in gettext" ; \
10315 (cd gettext && \
10316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10318 "RANLIB=$${RANLIB}" \
10319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10320 TAGS) \
10321 || exit 1
10323 @endif gettext
10325 .PHONY: maybe-install-info-gettext install-info-gettext
10326 maybe-install-info-gettext:
10327 @if gettext
10328 maybe-install-info-gettext: install-info-gettext
10330 install-info-gettext: \
10331 configure-gettext \
10332 info-gettext
10333 @[ -f ./gettext/Makefile ] || exit 0; \
10334 r=`${PWD_COMMAND}`; export r; \
10335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10336 $(SET_LIB_PATH) \
10337 $(HOST_EXPORTS) \
10338 for flag in $(EXTRA_HOST_FLAGS) ; do \
10339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10340 done; \
10341 echo "Doing install-info in gettext" ; \
10342 (cd gettext && \
10343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10345 "RANLIB=$${RANLIB}" \
10346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10347 install-info) \
10348 || exit 1
10350 @endif gettext
10352 .PHONY: maybe-installcheck-gettext installcheck-gettext
10353 maybe-installcheck-gettext:
10354 @if gettext
10355 maybe-installcheck-gettext: installcheck-gettext
10357 installcheck-gettext: \
10358 configure-gettext
10359 @[ -f ./gettext/Makefile ] || exit 0; \
10360 r=`${PWD_COMMAND}`; export r; \
10361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10362 $(SET_LIB_PATH) \
10363 $(HOST_EXPORTS) \
10364 for flag in $(EXTRA_HOST_FLAGS) ; do \
10365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10366 done; \
10367 echo "Doing installcheck in gettext" ; \
10368 (cd gettext && \
10369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10371 "RANLIB=$${RANLIB}" \
10372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10373 installcheck) \
10374 || exit 1
10376 @endif gettext
10378 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10379 maybe-mostlyclean-gettext:
10380 @if gettext
10381 maybe-mostlyclean-gettext: mostlyclean-gettext
10383 mostlyclean-gettext:
10384 @[ -f ./gettext/Makefile ] || exit 0; \
10385 r=`${PWD_COMMAND}`; export r; \
10386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10387 $(SET_LIB_PATH) \
10388 $(HOST_EXPORTS) \
10389 for flag in $(EXTRA_HOST_FLAGS) ; do \
10390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10391 done; \
10392 echo "Doing mostlyclean in gettext" ; \
10393 (cd gettext && \
10394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10396 "RANLIB=$${RANLIB}" \
10397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10398 mostlyclean) \
10399 || exit 1
10401 @endif gettext
10403 .PHONY: maybe-clean-gettext clean-gettext
10404 maybe-clean-gettext:
10405 @if gettext
10406 maybe-clean-gettext: clean-gettext
10408 clean-gettext:
10409 @[ -f ./gettext/Makefile ] || exit 0; \
10410 r=`${PWD_COMMAND}`; export r; \
10411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10412 $(SET_LIB_PATH) \
10413 $(HOST_EXPORTS) \
10414 for flag in $(EXTRA_HOST_FLAGS) ; do \
10415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10416 done; \
10417 echo "Doing clean in gettext" ; \
10418 (cd gettext && \
10419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10421 "RANLIB=$${RANLIB}" \
10422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10423 clean) \
10424 || exit 1
10426 @endif gettext
10428 .PHONY: maybe-distclean-gettext distclean-gettext
10429 maybe-distclean-gettext:
10430 @if gettext
10431 maybe-distclean-gettext: distclean-gettext
10433 distclean-gettext:
10434 @[ -f ./gettext/Makefile ] || exit 0; \
10435 r=`${PWD_COMMAND}`; export r; \
10436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10437 $(SET_LIB_PATH) \
10438 $(HOST_EXPORTS) \
10439 for flag in $(EXTRA_HOST_FLAGS) ; do \
10440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10441 done; \
10442 echo "Doing distclean in gettext" ; \
10443 (cd gettext && \
10444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10446 "RANLIB=$${RANLIB}" \
10447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10448 distclean) \
10449 || exit 1
10451 @endif gettext
10453 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
10454 maybe-maintainer-clean-gettext:
10455 @if gettext
10456 maybe-maintainer-clean-gettext: maintainer-clean-gettext
10458 maintainer-clean-gettext:
10459 @[ -f ./gettext/Makefile ] || exit 0; \
10460 r=`${PWD_COMMAND}`; export r; \
10461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10462 $(SET_LIB_PATH) \
10463 $(HOST_EXPORTS) \
10464 for flag in $(EXTRA_HOST_FLAGS) ; do \
10465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10466 done; \
10467 echo "Doing maintainer-clean in gettext" ; \
10468 (cd gettext && \
10469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10471 "RANLIB=$${RANLIB}" \
10472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10473 maintainer-clean) \
10474 || exit 1
10476 @endif gettext
10479 .PHONY: configure-gnuserv maybe-configure-gnuserv
10480 maybe-configure-gnuserv:
10481 @if gnuserv
10482 maybe-configure-gnuserv: configure-gnuserv
10483 configure-gnuserv:
10484 @test ! -f gnuserv/Makefile || exit 0; \
10485 [ -d gnuserv ] || mkdir gnuserv; \
10486 r=`${PWD_COMMAND}`; export r; \
10487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10488 $(HOST_EXPORTS) \
10489 echo Configuring in gnuserv; \
10490 cd gnuserv || exit 1; \
10491 case $(srcdir) in \
10492 \.) \
10493 srcdiroption="--srcdir=."; \
10494 libsrcdir=".";; \
10495 /* | [A-Za-z]:[\\/]*) \
10496 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
10497 libsrcdir="$$s/gnuserv";; \
10498 *) \
10499 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
10500 libsrcdir="$$s/gnuserv";; \
10501 esac; \
10502 $(SHELL) $${libsrcdir}/configure \
10503 $(HOST_CONFIGARGS) $${srcdiroption} \
10504 || exit 1
10505 @endif gnuserv
10507 .PHONY: all-gnuserv maybe-all-gnuserv
10508 maybe-all-gnuserv:
10509 @if gnuserv
10510 TARGET-gnuserv=all
10511 maybe-all-gnuserv: all-gnuserv
10512 all-gnuserv: configure-gnuserv
10513 @r=`${PWD_COMMAND}`; export r; \
10514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10515 $(SET_LIB_PATH) \
10516 $(HOST_EXPORTS) \
10517 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) \
10518 $(TARGET-gnuserv))
10519 @endif gnuserv
10521 .PHONY: check-gnuserv maybe-check-gnuserv
10522 maybe-check-gnuserv:
10523 @if gnuserv
10524 maybe-check-gnuserv: check-gnuserv
10526 check-gnuserv:
10527 @r=`${PWD_COMMAND}`; export r; \
10528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10529 $(SET_LIB_PATH) \
10530 $(HOST_EXPORTS) \
10531 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
10533 @endif gnuserv
10535 .PHONY: install-gnuserv maybe-install-gnuserv
10536 maybe-install-gnuserv:
10537 @if gnuserv
10538 maybe-install-gnuserv: install-gnuserv
10540 install-gnuserv: installdirs
10541 @r=`${PWD_COMMAND}`; export r; \
10542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10543 $(SET_LIB_PATH) \
10544 $(HOST_EXPORTS) \
10545 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
10547 @endif gnuserv
10549 # Other targets (info, dvi, etc.)
10551 .PHONY: maybe-info-gnuserv info-gnuserv
10552 maybe-info-gnuserv:
10553 @if gnuserv
10554 maybe-info-gnuserv: info-gnuserv
10556 info-gnuserv: \
10557 configure-gnuserv
10558 @[ -f ./gnuserv/Makefile ] || exit 0; \
10559 r=`${PWD_COMMAND}`; export r; \
10560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10561 $(SET_LIB_PATH) \
10562 $(HOST_EXPORTS) \
10563 for flag in $(EXTRA_HOST_FLAGS) ; do \
10564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10565 done; \
10566 echo "Doing info in gnuserv" ; \
10567 (cd gnuserv && \
10568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10570 "RANLIB=$${RANLIB}" \
10571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10572 info) \
10573 || exit 1
10575 @endif gnuserv
10577 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
10578 maybe-dvi-gnuserv:
10579 @if gnuserv
10580 maybe-dvi-gnuserv: dvi-gnuserv
10582 dvi-gnuserv: \
10583 configure-gnuserv
10584 @[ -f ./gnuserv/Makefile ] || exit 0; \
10585 r=`${PWD_COMMAND}`; export r; \
10586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10587 $(SET_LIB_PATH) \
10588 $(HOST_EXPORTS) \
10589 for flag in $(EXTRA_HOST_FLAGS) ; do \
10590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10591 done; \
10592 echo "Doing dvi in gnuserv" ; \
10593 (cd gnuserv && \
10594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10596 "RANLIB=$${RANLIB}" \
10597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10598 dvi) \
10599 || exit 1
10601 @endif gnuserv
10603 .PHONY: maybe-html-gnuserv html-gnuserv
10604 maybe-html-gnuserv:
10605 @if gnuserv
10606 maybe-html-gnuserv: html-gnuserv
10608 html-gnuserv: \
10609 configure-gnuserv
10610 @[ -f ./gnuserv/Makefile ] || exit 0; \
10611 r=`${PWD_COMMAND}`; export r; \
10612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10613 $(SET_LIB_PATH) \
10614 $(HOST_EXPORTS) \
10615 for flag in $(EXTRA_HOST_FLAGS) ; do \
10616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10617 done; \
10618 echo "Doing html in gnuserv" ; \
10619 (cd gnuserv && \
10620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10622 "RANLIB=$${RANLIB}" \
10623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10624 html) \
10625 || exit 1
10627 @endif gnuserv
10629 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
10630 maybe-TAGS-gnuserv:
10631 @if gnuserv
10632 maybe-TAGS-gnuserv: TAGS-gnuserv
10634 TAGS-gnuserv: \
10635 configure-gnuserv
10636 @[ -f ./gnuserv/Makefile ] || exit 0; \
10637 r=`${PWD_COMMAND}`; export r; \
10638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10639 $(SET_LIB_PATH) \
10640 $(HOST_EXPORTS) \
10641 for flag in $(EXTRA_HOST_FLAGS) ; do \
10642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10643 done; \
10644 echo "Doing TAGS in gnuserv" ; \
10645 (cd gnuserv && \
10646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10648 "RANLIB=$${RANLIB}" \
10649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10650 TAGS) \
10651 || exit 1
10653 @endif gnuserv
10655 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
10656 maybe-install-info-gnuserv:
10657 @if gnuserv
10658 maybe-install-info-gnuserv: install-info-gnuserv
10660 install-info-gnuserv: \
10661 configure-gnuserv \
10662 info-gnuserv
10663 @[ -f ./gnuserv/Makefile ] || exit 0; \
10664 r=`${PWD_COMMAND}`; export r; \
10665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10666 $(SET_LIB_PATH) \
10667 $(HOST_EXPORTS) \
10668 for flag in $(EXTRA_HOST_FLAGS) ; do \
10669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10670 done; \
10671 echo "Doing install-info in gnuserv" ; \
10672 (cd gnuserv && \
10673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10675 "RANLIB=$${RANLIB}" \
10676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10677 install-info) \
10678 || exit 1
10680 @endif gnuserv
10682 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10683 maybe-installcheck-gnuserv:
10684 @if gnuserv
10685 maybe-installcheck-gnuserv: installcheck-gnuserv
10687 installcheck-gnuserv: \
10688 configure-gnuserv
10689 @[ -f ./gnuserv/Makefile ] || exit 0; \
10690 r=`${PWD_COMMAND}`; export r; \
10691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10692 $(SET_LIB_PATH) \
10693 $(HOST_EXPORTS) \
10694 for flag in $(EXTRA_HOST_FLAGS) ; do \
10695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10696 done; \
10697 echo "Doing installcheck in gnuserv" ; \
10698 (cd gnuserv && \
10699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10701 "RANLIB=$${RANLIB}" \
10702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10703 installcheck) \
10704 || exit 1
10706 @endif gnuserv
10708 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10709 maybe-mostlyclean-gnuserv:
10710 @if gnuserv
10711 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10713 mostlyclean-gnuserv:
10714 @[ -f ./gnuserv/Makefile ] || exit 0; \
10715 r=`${PWD_COMMAND}`; export r; \
10716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10717 $(SET_LIB_PATH) \
10718 $(HOST_EXPORTS) \
10719 for flag in $(EXTRA_HOST_FLAGS) ; do \
10720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10721 done; \
10722 echo "Doing mostlyclean in gnuserv" ; \
10723 (cd gnuserv && \
10724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10726 "RANLIB=$${RANLIB}" \
10727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10728 mostlyclean) \
10729 || exit 1
10731 @endif gnuserv
10733 .PHONY: maybe-clean-gnuserv clean-gnuserv
10734 maybe-clean-gnuserv:
10735 @if gnuserv
10736 maybe-clean-gnuserv: clean-gnuserv
10738 clean-gnuserv:
10739 @[ -f ./gnuserv/Makefile ] || exit 0; \
10740 r=`${PWD_COMMAND}`; export r; \
10741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10742 $(SET_LIB_PATH) \
10743 $(HOST_EXPORTS) \
10744 for flag in $(EXTRA_HOST_FLAGS) ; do \
10745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10746 done; \
10747 echo "Doing clean in gnuserv" ; \
10748 (cd gnuserv && \
10749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10751 "RANLIB=$${RANLIB}" \
10752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10753 clean) \
10754 || exit 1
10756 @endif gnuserv
10758 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10759 maybe-distclean-gnuserv:
10760 @if gnuserv
10761 maybe-distclean-gnuserv: distclean-gnuserv
10763 distclean-gnuserv:
10764 @[ -f ./gnuserv/Makefile ] || exit 0; \
10765 r=`${PWD_COMMAND}`; export r; \
10766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10767 $(SET_LIB_PATH) \
10768 $(HOST_EXPORTS) \
10769 for flag in $(EXTRA_HOST_FLAGS) ; do \
10770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10771 done; \
10772 echo "Doing distclean in gnuserv" ; \
10773 (cd gnuserv && \
10774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10776 "RANLIB=$${RANLIB}" \
10777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10778 distclean) \
10779 || exit 1
10781 @endif gnuserv
10783 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10784 maybe-maintainer-clean-gnuserv:
10785 @if gnuserv
10786 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10788 maintainer-clean-gnuserv:
10789 @[ -f ./gnuserv/Makefile ] || exit 0; \
10790 r=`${PWD_COMMAND}`; export r; \
10791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10792 $(SET_LIB_PATH) \
10793 $(HOST_EXPORTS) \
10794 for flag in $(EXTRA_HOST_FLAGS) ; do \
10795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10796 done; \
10797 echo "Doing maintainer-clean in gnuserv" ; \
10798 (cd gnuserv && \
10799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10801 "RANLIB=$${RANLIB}" \
10802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10803 maintainer-clean) \
10804 || exit 1
10806 @endif gnuserv
10809 .PHONY: configure-gprof maybe-configure-gprof
10810 maybe-configure-gprof:
10811 @if gprof
10812 maybe-configure-gprof: configure-gprof
10813 configure-gprof:
10814 @test ! -f gprof/Makefile || exit 0; \
10815 [ -d gprof ] || mkdir gprof; \
10816 r=`${PWD_COMMAND}`; export r; \
10817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10818 $(HOST_EXPORTS) \
10819 echo Configuring in gprof; \
10820 cd gprof || exit 1; \
10821 case $(srcdir) in \
10822 \.) \
10823 srcdiroption="--srcdir=."; \
10824 libsrcdir=".";; \
10825 /* | [A-Za-z]:[\\/]*) \
10826 srcdiroption="--srcdir=$(srcdir)/gprof"; \
10827 libsrcdir="$$s/gprof";; \
10828 *) \
10829 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
10830 libsrcdir="$$s/gprof";; \
10831 esac; \
10832 $(SHELL) $${libsrcdir}/configure \
10833 $(HOST_CONFIGARGS) $${srcdiroption} \
10834 || exit 1
10835 @endif gprof
10837 .PHONY: all-gprof maybe-all-gprof
10838 maybe-all-gprof:
10839 @if gprof
10840 TARGET-gprof=all
10841 maybe-all-gprof: all-gprof
10842 all-gprof: configure-gprof
10843 @r=`${PWD_COMMAND}`; export r; \
10844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10845 $(SET_LIB_PATH) \
10846 $(HOST_EXPORTS) \
10847 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) \
10848 $(TARGET-gprof))
10849 @endif gprof
10851 .PHONY: check-gprof maybe-check-gprof
10852 maybe-check-gprof:
10853 @if gprof
10854 maybe-check-gprof: check-gprof
10856 check-gprof:
10857 @r=`${PWD_COMMAND}`; export r; \
10858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10859 $(SET_LIB_PATH) \
10860 $(HOST_EXPORTS) \
10861 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
10863 @endif gprof
10865 .PHONY: install-gprof maybe-install-gprof
10866 maybe-install-gprof:
10867 @if gprof
10868 maybe-install-gprof: install-gprof
10870 install-gprof: installdirs
10871 @r=`${PWD_COMMAND}`; export r; \
10872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10873 $(SET_LIB_PATH) \
10874 $(HOST_EXPORTS) \
10875 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
10877 @endif gprof
10879 # Other targets (info, dvi, etc.)
10881 .PHONY: maybe-info-gprof info-gprof
10882 maybe-info-gprof:
10883 @if gprof
10884 maybe-info-gprof: info-gprof
10886 info-gprof: \
10887 configure-gprof
10888 @[ -f ./gprof/Makefile ] || exit 0; \
10889 r=`${PWD_COMMAND}`; export r; \
10890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10891 $(SET_LIB_PATH) \
10892 $(HOST_EXPORTS) \
10893 for flag in $(EXTRA_HOST_FLAGS) ; do \
10894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10895 done; \
10896 echo "Doing info in gprof" ; \
10897 (cd gprof && \
10898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10900 "RANLIB=$${RANLIB}" \
10901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10902 info) \
10903 || exit 1
10905 @endif gprof
10907 .PHONY: maybe-dvi-gprof dvi-gprof
10908 maybe-dvi-gprof:
10909 @if gprof
10910 maybe-dvi-gprof: dvi-gprof
10912 dvi-gprof: \
10913 configure-gprof
10914 @[ -f ./gprof/Makefile ] || exit 0; \
10915 r=`${PWD_COMMAND}`; export r; \
10916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10917 $(SET_LIB_PATH) \
10918 $(HOST_EXPORTS) \
10919 for flag in $(EXTRA_HOST_FLAGS) ; do \
10920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10921 done; \
10922 echo "Doing dvi in gprof" ; \
10923 (cd gprof && \
10924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10926 "RANLIB=$${RANLIB}" \
10927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10928 dvi) \
10929 || exit 1
10931 @endif gprof
10933 .PHONY: maybe-html-gprof html-gprof
10934 maybe-html-gprof:
10935 @if gprof
10936 maybe-html-gprof: html-gprof
10938 html-gprof: \
10939 configure-gprof
10940 @[ -f ./gprof/Makefile ] || exit 0; \
10941 r=`${PWD_COMMAND}`; export r; \
10942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10943 $(SET_LIB_PATH) \
10944 $(HOST_EXPORTS) \
10945 for flag in $(EXTRA_HOST_FLAGS) ; do \
10946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10947 done; \
10948 echo "Doing html in gprof" ; \
10949 (cd gprof && \
10950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10952 "RANLIB=$${RANLIB}" \
10953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10954 html) \
10955 || exit 1
10957 @endif gprof
10959 .PHONY: maybe-TAGS-gprof TAGS-gprof
10960 maybe-TAGS-gprof:
10961 @if gprof
10962 maybe-TAGS-gprof: TAGS-gprof
10964 TAGS-gprof: \
10965 configure-gprof
10966 @[ -f ./gprof/Makefile ] || exit 0; \
10967 r=`${PWD_COMMAND}`; export r; \
10968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10969 $(SET_LIB_PATH) \
10970 $(HOST_EXPORTS) \
10971 for flag in $(EXTRA_HOST_FLAGS) ; do \
10972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10973 done; \
10974 echo "Doing TAGS in gprof" ; \
10975 (cd gprof && \
10976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10978 "RANLIB=$${RANLIB}" \
10979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10980 TAGS) \
10981 || exit 1
10983 @endif gprof
10985 .PHONY: maybe-install-info-gprof install-info-gprof
10986 maybe-install-info-gprof:
10987 @if gprof
10988 maybe-install-info-gprof: install-info-gprof
10990 install-info-gprof: \
10991 configure-gprof \
10992 info-gprof
10993 @[ -f ./gprof/Makefile ] || exit 0; \
10994 r=`${PWD_COMMAND}`; export r; \
10995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10996 $(SET_LIB_PATH) \
10997 $(HOST_EXPORTS) \
10998 for flag in $(EXTRA_HOST_FLAGS) ; do \
10999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11000 done; \
11001 echo "Doing install-info in gprof" ; \
11002 (cd gprof && \
11003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11005 "RANLIB=$${RANLIB}" \
11006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11007 install-info) \
11008 || exit 1
11010 @endif gprof
11012 .PHONY: maybe-installcheck-gprof installcheck-gprof
11013 maybe-installcheck-gprof:
11014 @if gprof
11015 maybe-installcheck-gprof: installcheck-gprof
11017 installcheck-gprof: \
11018 configure-gprof
11019 @[ -f ./gprof/Makefile ] || exit 0; \
11020 r=`${PWD_COMMAND}`; export r; \
11021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11022 $(SET_LIB_PATH) \
11023 $(HOST_EXPORTS) \
11024 for flag in $(EXTRA_HOST_FLAGS) ; do \
11025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11026 done; \
11027 echo "Doing installcheck in gprof" ; \
11028 (cd gprof && \
11029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11031 "RANLIB=$${RANLIB}" \
11032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11033 installcheck) \
11034 || exit 1
11036 @endif gprof
11038 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
11039 maybe-mostlyclean-gprof:
11040 @if gprof
11041 maybe-mostlyclean-gprof: mostlyclean-gprof
11043 mostlyclean-gprof:
11044 @[ -f ./gprof/Makefile ] || exit 0; \
11045 r=`${PWD_COMMAND}`; export r; \
11046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11047 $(SET_LIB_PATH) \
11048 $(HOST_EXPORTS) \
11049 for flag in $(EXTRA_HOST_FLAGS) ; do \
11050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11051 done; \
11052 echo "Doing mostlyclean in gprof" ; \
11053 (cd gprof && \
11054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11056 "RANLIB=$${RANLIB}" \
11057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11058 mostlyclean) \
11059 || exit 1
11061 @endif gprof
11063 .PHONY: maybe-clean-gprof clean-gprof
11064 maybe-clean-gprof:
11065 @if gprof
11066 maybe-clean-gprof: clean-gprof
11068 clean-gprof:
11069 @[ -f ./gprof/Makefile ] || exit 0; \
11070 r=`${PWD_COMMAND}`; export r; \
11071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11072 $(SET_LIB_PATH) \
11073 $(HOST_EXPORTS) \
11074 for flag in $(EXTRA_HOST_FLAGS) ; do \
11075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11076 done; \
11077 echo "Doing clean in gprof" ; \
11078 (cd gprof && \
11079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11081 "RANLIB=$${RANLIB}" \
11082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11083 clean) \
11084 || exit 1
11086 @endif gprof
11088 .PHONY: maybe-distclean-gprof distclean-gprof
11089 maybe-distclean-gprof:
11090 @if gprof
11091 maybe-distclean-gprof: distclean-gprof
11093 distclean-gprof:
11094 @[ -f ./gprof/Makefile ] || exit 0; \
11095 r=`${PWD_COMMAND}`; export r; \
11096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11097 $(SET_LIB_PATH) \
11098 $(HOST_EXPORTS) \
11099 for flag in $(EXTRA_HOST_FLAGS) ; do \
11100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11101 done; \
11102 echo "Doing distclean in gprof" ; \
11103 (cd gprof && \
11104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11106 "RANLIB=$${RANLIB}" \
11107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11108 distclean) \
11109 || exit 1
11111 @endif gprof
11113 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
11114 maybe-maintainer-clean-gprof:
11115 @if gprof
11116 maybe-maintainer-clean-gprof: maintainer-clean-gprof
11118 maintainer-clean-gprof:
11119 @[ -f ./gprof/Makefile ] || exit 0; \
11120 r=`${PWD_COMMAND}`; export r; \
11121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11122 $(SET_LIB_PATH) \
11123 $(HOST_EXPORTS) \
11124 for flag in $(EXTRA_HOST_FLAGS) ; do \
11125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11126 done; \
11127 echo "Doing maintainer-clean in gprof" ; \
11128 (cd gprof && \
11129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11131 "RANLIB=$${RANLIB}" \
11132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11133 maintainer-clean) \
11134 || exit 1
11136 @endif gprof
11139 .PHONY: configure-gzip maybe-configure-gzip
11140 maybe-configure-gzip:
11141 @if gzip
11142 maybe-configure-gzip: configure-gzip
11143 configure-gzip:
11144 @test ! -f gzip/Makefile || exit 0; \
11145 [ -d gzip ] || mkdir gzip; \
11146 r=`${PWD_COMMAND}`; export r; \
11147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11148 $(HOST_EXPORTS) \
11149 echo Configuring in gzip; \
11150 cd gzip || exit 1; \
11151 case $(srcdir) in \
11152 \.) \
11153 srcdiroption="--srcdir=."; \
11154 libsrcdir=".";; \
11155 /* | [A-Za-z]:[\\/]*) \
11156 srcdiroption="--srcdir=$(srcdir)/gzip"; \
11157 libsrcdir="$$s/gzip";; \
11158 *) \
11159 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
11160 libsrcdir="$$s/gzip";; \
11161 esac; \
11162 $(SHELL) $${libsrcdir}/configure \
11163 $(HOST_CONFIGARGS) $${srcdiroption} \
11164 || exit 1
11165 @endif gzip
11167 .PHONY: all-gzip maybe-all-gzip
11168 maybe-all-gzip:
11169 @if gzip
11170 TARGET-gzip=all
11171 maybe-all-gzip: all-gzip
11172 all-gzip: configure-gzip
11173 @r=`${PWD_COMMAND}`; export r; \
11174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11175 $(SET_LIB_PATH) \
11176 $(HOST_EXPORTS) \
11177 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) \
11178 $(TARGET-gzip))
11179 @endif gzip
11181 .PHONY: check-gzip maybe-check-gzip
11182 maybe-check-gzip:
11183 @if gzip
11184 maybe-check-gzip: check-gzip
11186 check-gzip:
11187 @r=`${PWD_COMMAND}`; export r; \
11188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11189 $(SET_LIB_PATH) \
11190 $(HOST_EXPORTS) \
11191 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
11193 @endif gzip
11195 .PHONY: install-gzip maybe-install-gzip
11196 maybe-install-gzip:
11197 @if gzip
11198 maybe-install-gzip: install-gzip
11200 install-gzip: installdirs
11201 @r=`${PWD_COMMAND}`; export r; \
11202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11203 $(SET_LIB_PATH) \
11204 $(HOST_EXPORTS) \
11205 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
11207 @endif gzip
11209 # Other targets (info, dvi, etc.)
11211 .PHONY: maybe-info-gzip info-gzip
11212 maybe-info-gzip:
11213 @if gzip
11214 maybe-info-gzip: info-gzip
11216 info-gzip: \
11217 configure-gzip
11218 @[ -f ./gzip/Makefile ] || exit 0; \
11219 r=`${PWD_COMMAND}`; export r; \
11220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11221 $(SET_LIB_PATH) \
11222 $(HOST_EXPORTS) \
11223 for flag in $(EXTRA_HOST_FLAGS) ; do \
11224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11225 done; \
11226 echo "Doing info in gzip" ; \
11227 (cd gzip && \
11228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11230 "RANLIB=$${RANLIB}" \
11231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11232 info) \
11233 || exit 1
11235 @endif gzip
11237 .PHONY: maybe-dvi-gzip dvi-gzip
11238 maybe-dvi-gzip:
11239 @if gzip
11240 maybe-dvi-gzip: dvi-gzip
11242 dvi-gzip: \
11243 configure-gzip
11244 @[ -f ./gzip/Makefile ] || exit 0; \
11245 r=`${PWD_COMMAND}`; export r; \
11246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11247 $(SET_LIB_PATH) \
11248 $(HOST_EXPORTS) \
11249 for flag in $(EXTRA_HOST_FLAGS) ; do \
11250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11251 done; \
11252 echo "Doing dvi in gzip" ; \
11253 (cd gzip && \
11254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11256 "RANLIB=$${RANLIB}" \
11257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11258 dvi) \
11259 || exit 1
11261 @endif gzip
11263 .PHONY: maybe-html-gzip html-gzip
11264 maybe-html-gzip:
11265 @if gzip
11266 maybe-html-gzip: html-gzip
11268 html-gzip: \
11269 configure-gzip
11270 @[ -f ./gzip/Makefile ] || exit 0; \
11271 r=`${PWD_COMMAND}`; export r; \
11272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11273 $(SET_LIB_PATH) \
11274 $(HOST_EXPORTS) \
11275 for flag in $(EXTRA_HOST_FLAGS) ; do \
11276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11277 done; \
11278 echo "Doing html in gzip" ; \
11279 (cd gzip && \
11280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11282 "RANLIB=$${RANLIB}" \
11283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11284 html) \
11285 || exit 1
11287 @endif gzip
11289 .PHONY: maybe-TAGS-gzip TAGS-gzip
11290 maybe-TAGS-gzip:
11291 @if gzip
11292 maybe-TAGS-gzip: TAGS-gzip
11294 TAGS-gzip: \
11295 configure-gzip
11296 @[ -f ./gzip/Makefile ] || exit 0; \
11297 r=`${PWD_COMMAND}`; export r; \
11298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11299 $(SET_LIB_PATH) \
11300 $(HOST_EXPORTS) \
11301 for flag in $(EXTRA_HOST_FLAGS) ; do \
11302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11303 done; \
11304 echo "Doing TAGS in gzip" ; \
11305 (cd gzip && \
11306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11308 "RANLIB=$${RANLIB}" \
11309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11310 TAGS) \
11311 || exit 1
11313 @endif gzip
11315 .PHONY: maybe-install-info-gzip install-info-gzip
11316 maybe-install-info-gzip:
11317 @if gzip
11318 maybe-install-info-gzip: install-info-gzip
11320 install-info-gzip: \
11321 configure-gzip \
11322 info-gzip
11323 @[ -f ./gzip/Makefile ] || exit 0; \
11324 r=`${PWD_COMMAND}`; export r; \
11325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11326 $(SET_LIB_PATH) \
11327 $(HOST_EXPORTS) \
11328 for flag in $(EXTRA_HOST_FLAGS) ; do \
11329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11330 done; \
11331 echo "Doing install-info in gzip" ; \
11332 (cd gzip && \
11333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11335 "RANLIB=$${RANLIB}" \
11336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11337 install-info) \
11338 || exit 1
11340 @endif gzip
11342 .PHONY: maybe-installcheck-gzip installcheck-gzip
11343 maybe-installcheck-gzip:
11344 @if gzip
11345 maybe-installcheck-gzip: installcheck-gzip
11347 installcheck-gzip: \
11348 configure-gzip
11349 @[ -f ./gzip/Makefile ] || exit 0; \
11350 r=`${PWD_COMMAND}`; export r; \
11351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11352 $(SET_LIB_PATH) \
11353 $(HOST_EXPORTS) \
11354 for flag in $(EXTRA_HOST_FLAGS) ; do \
11355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11356 done; \
11357 echo "Doing installcheck in gzip" ; \
11358 (cd gzip && \
11359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11361 "RANLIB=$${RANLIB}" \
11362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11363 installcheck) \
11364 || exit 1
11366 @endif gzip
11368 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
11369 maybe-mostlyclean-gzip:
11370 @if gzip
11371 maybe-mostlyclean-gzip: mostlyclean-gzip
11373 mostlyclean-gzip:
11374 @[ -f ./gzip/Makefile ] || exit 0; \
11375 r=`${PWD_COMMAND}`; export r; \
11376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11377 $(SET_LIB_PATH) \
11378 $(HOST_EXPORTS) \
11379 for flag in $(EXTRA_HOST_FLAGS) ; do \
11380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11381 done; \
11382 echo "Doing mostlyclean in gzip" ; \
11383 (cd gzip && \
11384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11386 "RANLIB=$${RANLIB}" \
11387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11388 mostlyclean) \
11389 || exit 1
11391 @endif gzip
11393 .PHONY: maybe-clean-gzip clean-gzip
11394 maybe-clean-gzip:
11395 @if gzip
11396 maybe-clean-gzip: clean-gzip
11398 clean-gzip:
11399 @[ -f ./gzip/Makefile ] || exit 0; \
11400 r=`${PWD_COMMAND}`; export r; \
11401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11402 $(SET_LIB_PATH) \
11403 $(HOST_EXPORTS) \
11404 for flag in $(EXTRA_HOST_FLAGS) ; do \
11405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11406 done; \
11407 echo "Doing clean in gzip" ; \
11408 (cd gzip && \
11409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11411 "RANLIB=$${RANLIB}" \
11412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11413 clean) \
11414 || exit 1
11416 @endif gzip
11418 .PHONY: maybe-distclean-gzip distclean-gzip
11419 maybe-distclean-gzip:
11420 @if gzip
11421 maybe-distclean-gzip: distclean-gzip
11423 distclean-gzip:
11424 @[ -f ./gzip/Makefile ] || exit 0; \
11425 r=`${PWD_COMMAND}`; export r; \
11426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11427 $(SET_LIB_PATH) \
11428 $(HOST_EXPORTS) \
11429 for flag in $(EXTRA_HOST_FLAGS) ; do \
11430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11431 done; \
11432 echo "Doing distclean in gzip" ; \
11433 (cd gzip && \
11434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11436 "RANLIB=$${RANLIB}" \
11437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11438 distclean) \
11439 || exit 1
11441 @endif gzip
11443 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
11444 maybe-maintainer-clean-gzip:
11445 @if gzip
11446 maybe-maintainer-clean-gzip: maintainer-clean-gzip
11448 maintainer-clean-gzip:
11449 @[ -f ./gzip/Makefile ] || exit 0; \
11450 r=`${PWD_COMMAND}`; export r; \
11451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11452 $(SET_LIB_PATH) \
11453 $(HOST_EXPORTS) \
11454 for flag in $(EXTRA_HOST_FLAGS) ; do \
11455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11456 done; \
11457 echo "Doing maintainer-clean in gzip" ; \
11458 (cd gzip && \
11459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11461 "RANLIB=$${RANLIB}" \
11462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11463 maintainer-clean) \
11464 || exit 1
11466 @endif gzip
11469 .PHONY: configure-hello maybe-configure-hello
11470 maybe-configure-hello:
11471 @if hello
11472 maybe-configure-hello: configure-hello
11473 configure-hello:
11474 @test ! -f hello/Makefile || exit 0; \
11475 [ -d hello ] || mkdir hello; \
11476 r=`${PWD_COMMAND}`; export r; \
11477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11478 $(HOST_EXPORTS) \
11479 echo Configuring in hello; \
11480 cd hello || exit 1; \
11481 case $(srcdir) in \
11482 \.) \
11483 srcdiroption="--srcdir=."; \
11484 libsrcdir=".";; \
11485 /* | [A-Za-z]:[\\/]*) \
11486 srcdiroption="--srcdir=$(srcdir)/hello"; \
11487 libsrcdir="$$s/hello";; \
11488 *) \
11489 srcdiroption="--srcdir=../$(srcdir)/hello"; \
11490 libsrcdir="$$s/hello";; \
11491 esac; \
11492 $(SHELL) $${libsrcdir}/configure \
11493 $(HOST_CONFIGARGS) $${srcdiroption} \
11494 || exit 1
11495 @endif hello
11497 .PHONY: all-hello maybe-all-hello
11498 maybe-all-hello:
11499 @if hello
11500 TARGET-hello=all
11501 maybe-all-hello: all-hello
11502 all-hello: configure-hello
11503 @r=`${PWD_COMMAND}`; export r; \
11504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11505 $(SET_LIB_PATH) \
11506 $(HOST_EXPORTS) \
11507 (cd hello && $(MAKE) $(FLAGS_TO_PASS) \
11508 $(TARGET-hello))
11509 @endif hello
11511 .PHONY: check-hello maybe-check-hello
11512 maybe-check-hello:
11513 @if hello
11514 maybe-check-hello: check-hello
11516 check-hello:
11517 @r=`${PWD_COMMAND}`; export r; \
11518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11519 $(SET_LIB_PATH) \
11520 $(HOST_EXPORTS) \
11521 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
11523 @endif hello
11525 .PHONY: install-hello maybe-install-hello
11526 maybe-install-hello:
11527 @if hello
11528 maybe-install-hello: install-hello
11530 install-hello: installdirs
11531 @r=`${PWD_COMMAND}`; export r; \
11532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11533 $(SET_LIB_PATH) \
11534 $(HOST_EXPORTS) \
11535 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
11537 @endif hello
11539 # Other targets (info, dvi, etc.)
11541 .PHONY: maybe-info-hello info-hello
11542 maybe-info-hello:
11543 @if hello
11544 maybe-info-hello: info-hello
11546 info-hello: \
11547 configure-hello
11548 @[ -f ./hello/Makefile ] || exit 0; \
11549 r=`${PWD_COMMAND}`; export r; \
11550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11551 $(SET_LIB_PATH) \
11552 $(HOST_EXPORTS) \
11553 for flag in $(EXTRA_HOST_FLAGS) ; do \
11554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11555 done; \
11556 echo "Doing info in hello" ; \
11557 (cd hello && \
11558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11560 "RANLIB=$${RANLIB}" \
11561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11562 info) \
11563 || exit 1
11565 @endif hello
11567 .PHONY: maybe-dvi-hello dvi-hello
11568 maybe-dvi-hello:
11569 @if hello
11570 maybe-dvi-hello: dvi-hello
11572 dvi-hello: \
11573 configure-hello
11574 @[ -f ./hello/Makefile ] || exit 0; \
11575 r=`${PWD_COMMAND}`; export r; \
11576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11577 $(SET_LIB_PATH) \
11578 $(HOST_EXPORTS) \
11579 for flag in $(EXTRA_HOST_FLAGS) ; do \
11580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11581 done; \
11582 echo "Doing dvi in hello" ; \
11583 (cd hello && \
11584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11586 "RANLIB=$${RANLIB}" \
11587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11588 dvi) \
11589 || exit 1
11591 @endif hello
11593 .PHONY: maybe-html-hello html-hello
11594 maybe-html-hello:
11595 @if hello
11596 maybe-html-hello: html-hello
11598 html-hello: \
11599 configure-hello
11600 @[ -f ./hello/Makefile ] || exit 0; \
11601 r=`${PWD_COMMAND}`; export r; \
11602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11603 $(SET_LIB_PATH) \
11604 $(HOST_EXPORTS) \
11605 for flag in $(EXTRA_HOST_FLAGS) ; do \
11606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11607 done; \
11608 echo "Doing html in hello" ; \
11609 (cd hello && \
11610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11612 "RANLIB=$${RANLIB}" \
11613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11614 html) \
11615 || exit 1
11617 @endif hello
11619 .PHONY: maybe-TAGS-hello TAGS-hello
11620 maybe-TAGS-hello:
11621 @if hello
11622 maybe-TAGS-hello: TAGS-hello
11624 TAGS-hello: \
11625 configure-hello
11626 @[ -f ./hello/Makefile ] || exit 0; \
11627 r=`${PWD_COMMAND}`; export r; \
11628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11629 $(SET_LIB_PATH) \
11630 $(HOST_EXPORTS) \
11631 for flag in $(EXTRA_HOST_FLAGS) ; do \
11632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11633 done; \
11634 echo "Doing TAGS in hello" ; \
11635 (cd hello && \
11636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11638 "RANLIB=$${RANLIB}" \
11639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11640 TAGS) \
11641 || exit 1
11643 @endif hello
11645 .PHONY: maybe-install-info-hello install-info-hello
11646 maybe-install-info-hello:
11647 @if hello
11648 maybe-install-info-hello: install-info-hello
11650 install-info-hello: \
11651 configure-hello \
11652 info-hello
11653 @[ -f ./hello/Makefile ] || exit 0; \
11654 r=`${PWD_COMMAND}`; export r; \
11655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11656 $(SET_LIB_PATH) \
11657 $(HOST_EXPORTS) \
11658 for flag in $(EXTRA_HOST_FLAGS) ; do \
11659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11660 done; \
11661 echo "Doing install-info in hello" ; \
11662 (cd hello && \
11663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11665 "RANLIB=$${RANLIB}" \
11666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11667 install-info) \
11668 || exit 1
11670 @endif hello
11672 .PHONY: maybe-installcheck-hello installcheck-hello
11673 maybe-installcheck-hello:
11674 @if hello
11675 maybe-installcheck-hello: installcheck-hello
11677 installcheck-hello: \
11678 configure-hello
11679 @[ -f ./hello/Makefile ] || exit 0; \
11680 r=`${PWD_COMMAND}`; export r; \
11681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11682 $(SET_LIB_PATH) \
11683 $(HOST_EXPORTS) \
11684 for flag in $(EXTRA_HOST_FLAGS) ; do \
11685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11686 done; \
11687 echo "Doing installcheck in hello" ; \
11688 (cd hello && \
11689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11691 "RANLIB=$${RANLIB}" \
11692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11693 installcheck) \
11694 || exit 1
11696 @endif hello
11698 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
11699 maybe-mostlyclean-hello:
11700 @if hello
11701 maybe-mostlyclean-hello: mostlyclean-hello
11703 mostlyclean-hello:
11704 @[ -f ./hello/Makefile ] || exit 0; \
11705 r=`${PWD_COMMAND}`; export r; \
11706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11707 $(SET_LIB_PATH) \
11708 $(HOST_EXPORTS) \
11709 for flag in $(EXTRA_HOST_FLAGS) ; do \
11710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11711 done; \
11712 echo "Doing mostlyclean in hello" ; \
11713 (cd hello && \
11714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11716 "RANLIB=$${RANLIB}" \
11717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11718 mostlyclean) \
11719 || exit 1
11721 @endif hello
11723 .PHONY: maybe-clean-hello clean-hello
11724 maybe-clean-hello:
11725 @if hello
11726 maybe-clean-hello: clean-hello
11728 clean-hello:
11729 @[ -f ./hello/Makefile ] || exit 0; \
11730 r=`${PWD_COMMAND}`; export r; \
11731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11732 $(SET_LIB_PATH) \
11733 $(HOST_EXPORTS) \
11734 for flag in $(EXTRA_HOST_FLAGS) ; do \
11735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11736 done; \
11737 echo "Doing clean in hello" ; \
11738 (cd hello && \
11739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11741 "RANLIB=$${RANLIB}" \
11742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11743 clean) \
11744 || exit 1
11746 @endif hello
11748 .PHONY: maybe-distclean-hello distclean-hello
11749 maybe-distclean-hello:
11750 @if hello
11751 maybe-distclean-hello: distclean-hello
11753 distclean-hello:
11754 @[ -f ./hello/Makefile ] || exit 0; \
11755 r=`${PWD_COMMAND}`; export r; \
11756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11757 $(SET_LIB_PATH) \
11758 $(HOST_EXPORTS) \
11759 for flag in $(EXTRA_HOST_FLAGS) ; do \
11760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11761 done; \
11762 echo "Doing distclean in hello" ; \
11763 (cd hello && \
11764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11766 "RANLIB=$${RANLIB}" \
11767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11768 distclean) \
11769 || exit 1
11771 @endif hello
11773 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11774 maybe-maintainer-clean-hello:
11775 @if hello
11776 maybe-maintainer-clean-hello: maintainer-clean-hello
11778 maintainer-clean-hello:
11779 @[ -f ./hello/Makefile ] || exit 0; \
11780 r=`${PWD_COMMAND}`; export r; \
11781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11782 $(SET_LIB_PATH) \
11783 $(HOST_EXPORTS) \
11784 for flag in $(EXTRA_HOST_FLAGS) ; do \
11785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11786 done; \
11787 echo "Doing maintainer-clean in hello" ; \
11788 (cd hello && \
11789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11791 "RANLIB=$${RANLIB}" \
11792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11793 maintainer-clean) \
11794 || exit 1
11796 @endif hello
11799 .PHONY: configure-indent maybe-configure-indent
11800 maybe-configure-indent:
11801 @if indent
11802 maybe-configure-indent: configure-indent
11803 configure-indent:
11804 @test ! -f indent/Makefile || exit 0; \
11805 [ -d indent ] || mkdir indent; \
11806 r=`${PWD_COMMAND}`; export r; \
11807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11808 $(HOST_EXPORTS) \
11809 echo Configuring in indent; \
11810 cd indent || exit 1; \
11811 case $(srcdir) in \
11812 \.) \
11813 srcdiroption="--srcdir=."; \
11814 libsrcdir=".";; \
11815 /* | [A-Za-z]:[\\/]*) \
11816 srcdiroption="--srcdir=$(srcdir)/indent"; \
11817 libsrcdir="$$s/indent";; \
11818 *) \
11819 srcdiroption="--srcdir=../$(srcdir)/indent"; \
11820 libsrcdir="$$s/indent";; \
11821 esac; \
11822 $(SHELL) $${libsrcdir}/configure \
11823 $(HOST_CONFIGARGS) $${srcdiroption} \
11824 || exit 1
11825 @endif indent
11827 .PHONY: all-indent maybe-all-indent
11828 maybe-all-indent:
11829 @if indent
11830 TARGET-indent=all
11831 maybe-all-indent: all-indent
11832 all-indent: configure-indent
11833 @r=`${PWD_COMMAND}`; export r; \
11834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11835 $(SET_LIB_PATH) \
11836 $(HOST_EXPORTS) \
11837 (cd indent && $(MAKE) $(FLAGS_TO_PASS) \
11838 $(TARGET-indent))
11839 @endif indent
11841 .PHONY: check-indent maybe-check-indent
11842 maybe-check-indent:
11843 @if indent
11844 maybe-check-indent: check-indent
11846 check-indent:
11847 @r=`${PWD_COMMAND}`; export r; \
11848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11849 $(SET_LIB_PATH) \
11850 $(HOST_EXPORTS) \
11851 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
11853 @endif indent
11855 .PHONY: install-indent maybe-install-indent
11856 maybe-install-indent:
11857 @if indent
11858 maybe-install-indent: install-indent
11860 install-indent: installdirs
11861 @r=`${PWD_COMMAND}`; export r; \
11862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11863 $(SET_LIB_PATH) \
11864 $(HOST_EXPORTS) \
11865 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
11867 @endif indent
11869 # Other targets (info, dvi, etc.)
11871 .PHONY: maybe-info-indent info-indent
11872 maybe-info-indent:
11873 @if indent
11874 maybe-info-indent: info-indent
11876 info-indent: \
11877 configure-indent
11878 @[ -f ./indent/Makefile ] || exit 0; \
11879 r=`${PWD_COMMAND}`; export r; \
11880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11881 $(SET_LIB_PATH) \
11882 $(HOST_EXPORTS) \
11883 for flag in $(EXTRA_HOST_FLAGS) ; do \
11884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11885 done; \
11886 echo "Doing info in indent" ; \
11887 (cd indent && \
11888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11890 "RANLIB=$${RANLIB}" \
11891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11892 info) \
11893 || exit 1
11895 @endif indent
11897 .PHONY: maybe-dvi-indent dvi-indent
11898 maybe-dvi-indent:
11899 @if indent
11900 maybe-dvi-indent: dvi-indent
11902 dvi-indent: \
11903 configure-indent
11904 @[ -f ./indent/Makefile ] || exit 0; \
11905 r=`${PWD_COMMAND}`; export r; \
11906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11907 $(SET_LIB_PATH) \
11908 $(HOST_EXPORTS) \
11909 for flag in $(EXTRA_HOST_FLAGS) ; do \
11910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11911 done; \
11912 echo "Doing dvi in indent" ; \
11913 (cd indent && \
11914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11916 "RANLIB=$${RANLIB}" \
11917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11918 dvi) \
11919 || exit 1
11921 @endif indent
11923 .PHONY: maybe-html-indent html-indent
11924 maybe-html-indent:
11925 @if indent
11926 maybe-html-indent: html-indent
11928 html-indent: \
11929 configure-indent
11930 @[ -f ./indent/Makefile ] || exit 0; \
11931 r=`${PWD_COMMAND}`; export r; \
11932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11933 $(SET_LIB_PATH) \
11934 $(HOST_EXPORTS) \
11935 for flag in $(EXTRA_HOST_FLAGS) ; do \
11936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11937 done; \
11938 echo "Doing html in indent" ; \
11939 (cd indent && \
11940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11942 "RANLIB=$${RANLIB}" \
11943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11944 html) \
11945 || exit 1
11947 @endif indent
11949 .PHONY: maybe-TAGS-indent TAGS-indent
11950 maybe-TAGS-indent:
11951 @if indent
11952 maybe-TAGS-indent: TAGS-indent
11954 TAGS-indent: \
11955 configure-indent
11956 @[ -f ./indent/Makefile ] || exit 0; \
11957 r=`${PWD_COMMAND}`; export r; \
11958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11959 $(SET_LIB_PATH) \
11960 $(HOST_EXPORTS) \
11961 for flag in $(EXTRA_HOST_FLAGS) ; do \
11962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11963 done; \
11964 echo "Doing TAGS in indent" ; \
11965 (cd indent && \
11966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11968 "RANLIB=$${RANLIB}" \
11969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11970 TAGS) \
11971 || exit 1
11973 @endif indent
11975 .PHONY: maybe-install-info-indent install-info-indent
11976 maybe-install-info-indent:
11977 @if indent
11978 maybe-install-info-indent: install-info-indent
11980 install-info-indent: \
11981 configure-indent \
11982 info-indent
11983 @[ -f ./indent/Makefile ] || exit 0; \
11984 r=`${PWD_COMMAND}`; export r; \
11985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11986 $(SET_LIB_PATH) \
11987 $(HOST_EXPORTS) \
11988 for flag in $(EXTRA_HOST_FLAGS) ; do \
11989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11990 done; \
11991 echo "Doing install-info in indent" ; \
11992 (cd indent && \
11993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11995 "RANLIB=$${RANLIB}" \
11996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11997 install-info) \
11998 || exit 1
12000 @endif indent
12002 .PHONY: maybe-installcheck-indent installcheck-indent
12003 maybe-installcheck-indent:
12004 @if indent
12005 maybe-installcheck-indent: installcheck-indent
12007 installcheck-indent: \
12008 configure-indent
12009 @[ -f ./indent/Makefile ] || exit 0; \
12010 r=`${PWD_COMMAND}`; export r; \
12011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12012 $(SET_LIB_PATH) \
12013 $(HOST_EXPORTS) \
12014 for flag in $(EXTRA_HOST_FLAGS) ; do \
12015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12016 done; \
12017 echo "Doing installcheck in indent" ; \
12018 (cd indent && \
12019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12021 "RANLIB=$${RANLIB}" \
12022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12023 installcheck) \
12024 || exit 1
12026 @endif indent
12028 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
12029 maybe-mostlyclean-indent:
12030 @if indent
12031 maybe-mostlyclean-indent: mostlyclean-indent
12033 mostlyclean-indent:
12034 @[ -f ./indent/Makefile ] || exit 0; \
12035 r=`${PWD_COMMAND}`; export r; \
12036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12037 $(SET_LIB_PATH) \
12038 $(HOST_EXPORTS) \
12039 for flag in $(EXTRA_HOST_FLAGS) ; do \
12040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12041 done; \
12042 echo "Doing mostlyclean in indent" ; \
12043 (cd indent && \
12044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12046 "RANLIB=$${RANLIB}" \
12047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12048 mostlyclean) \
12049 || exit 1
12051 @endif indent
12053 .PHONY: maybe-clean-indent clean-indent
12054 maybe-clean-indent:
12055 @if indent
12056 maybe-clean-indent: clean-indent
12058 clean-indent:
12059 @[ -f ./indent/Makefile ] || exit 0; \
12060 r=`${PWD_COMMAND}`; export r; \
12061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12062 $(SET_LIB_PATH) \
12063 $(HOST_EXPORTS) \
12064 for flag in $(EXTRA_HOST_FLAGS) ; do \
12065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12066 done; \
12067 echo "Doing clean in indent" ; \
12068 (cd indent && \
12069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12071 "RANLIB=$${RANLIB}" \
12072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12073 clean) \
12074 || exit 1
12076 @endif indent
12078 .PHONY: maybe-distclean-indent distclean-indent
12079 maybe-distclean-indent:
12080 @if indent
12081 maybe-distclean-indent: distclean-indent
12083 distclean-indent:
12084 @[ -f ./indent/Makefile ] || exit 0; \
12085 r=`${PWD_COMMAND}`; export r; \
12086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12087 $(SET_LIB_PATH) \
12088 $(HOST_EXPORTS) \
12089 for flag in $(EXTRA_HOST_FLAGS) ; do \
12090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12091 done; \
12092 echo "Doing distclean in indent" ; \
12093 (cd indent && \
12094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12096 "RANLIB=$${RANLIB}" \
12097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12098 distclean) \
12099 || exit 1
12101 @endif indent
12103 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
12104 maybe-maintainer-clean-indent:
12105 @if indent
12106 maybe-maintainer-clean-indent: maintainer-clean-indent
12108 maintainer-clean-indent:
12109 @[ -f ./indent/Makefile ] || exit 0; \
12110 r=`${PWD_COMMAND}`; export r; \
12111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12112 $(SET_LIB_PATH) \
12113 $(HOST_EXPORTS) \
12114 for flag in $(EXTRA_HOST_FLAGS) ; do \
12115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12116 done; \
12117 echo "Doing maintainer-clean in indent" ; \
12118 (cd indent && \
12119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12121 "RANLIB=$${RANLIB}" \
12122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12123 maintainer-clean) \
12124 || exit 1
12126 @endif indent
12129 .PHONY: configure-intl maybe-configure-intl
12130 maybe-configure-intl:
12131 @if intl
12132 maybe-configure-intl: configure-intl
12133 configure-intl:
12134 @test -f stage_last && exit 0; \
12135 test ! -f intl/Makefile || exit 0; \
12136 [ -d intl ] || mkdir intl; \
12137 r=`${PWD_COMMAND}`; export r; \
12138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12139 $(HOST_EXPORTS) \
12140 echo Configuring in intl; \
12141 cd intl || exit 1; \
12142 case $(srcdir) in \
12143 \.) \
12144 srcdiroption="--srcdir=."; \
12145 libsrcdir=".";; \
12146 /* | [A-Za-z]:[\\/]*) \
12147 srcdiroption="--srcdir=$(srcdir)/intl"; \
12148 libsrcdir="$$s/intl";; \
12149 *) \
12150 srcdiroption="--srcdir=../$(srcdir)/intl"; \
12151 libsrcdir="$$s/intl";; \
12152 esac; \
12153 $(SHELL) $${libsrcdir}/configure \
12154 $(HOST_CONFIGARGS) $${srcdiroption} \
12155 || exit 1
12156 @endif intl
12158 .PHONY: all-intl maybe-all-intl
12159 maybe-all-intl:
12160 @if intl
12161 TARGET-intl=all
12162 maybe-all-intl: all-intl
12163 all-intl: configure-intl
12164 @test -f stage_last && exit 0; \
12165 r=`${PWD_COMMAND}`; export r; \
12166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12167 $(SET_LIB_PATH) \
12168 $(HOST_EXPORTS) \
12169 (cd intl && $(MAKE) $(FLAGS_TO_PASS) \
12170 $(TARGET-intl))
12171 @endif intl
12173 .PHONY: check-intl maybe-check-intl
12174 maybe-check-intl:
12175 @if intl
12176 maybe-check-intl: check-intl
12178 check-intl:
12179 @r=`${PWD_COMMAND}`; export r; \
12180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12181 $(SET_LIB_PATH) \
12182 $(HOST_EXPORTS) \
12183 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
12185 @endif intl
12187 .PHONY: install-intl maybe-install-intl
12188 maybe-install-intl:
12189 @if intl
12190 maybe-install-intl: install-intl
12192 install-intl: installdirs
12193 @r=`${PWD_COMMAND}`; export r; \
12194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12195 $(SET_LIB_PATH) \
12196 $(HOST_EXPORTS) \
12197 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
12199 @endif intl
12201 # Other targets (info, dvi, etc.)
12203 .PHONY: maybe-info-intl info-intl
12204 maybe-info-intl:
12205 @if intl
12206 maybe-info-intl: info-intl
12208 info-intl: \
12209 configure-intl
12210 @[ -f ./intl/Makefile ] || exit 0; \
12211 r=`${PWD_COMMAND}`; export r; \
12212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12213 $(SET_LIB_PATH) \
12214 $(HOST_EXPORTS) \
12215 for flag in $(EXTRA_HOST_FLAGS) ; do \
12216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12217 done; \
12218 echo "Doing info in intl" ; \
12219 (cd intl && \
12220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12222 "RANLIB=$${RANLIB}" \
12223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12224 info) \
12225 || exit 1
12227 @endif intl
12229 .PHONY: maybe-dvi-intl dvi-intl
12230 maybe-dvi-intl:
12231 @if intl
12232 maybe-dvi-intl: dvi-intl
12234 dvi-intl: \
12235 configure-intl
12236 @[ -f ./intl/Makefile ] || exit 0; \
12237 r=`${PWD_COMMAND}`; export r; \
12238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12239 $(SET_LIB_PATH) \
12240 $(HOST_EXPORTS) \
12241 for flag in $(EXTRA_HOST_FLAGS) ; do \
12242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12243 done; \
12244 echo "Doing dvi in intl" ; \
12245 (cd intl && \
12246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12248 "RANLIB=$${RANLIB}" \
12249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12250 dvi) \
12251 || exit 1
12253 @endif intl
12255 .PHONY: maybe-html-intl html-intl
12256 maybe-html-intl:
12257 @if intl
12258 maybe-html-intl: html-intl
12260 html-intl: \
12261 configure-intl
12262 @[ -f ./intl/Makefile ] || exit 0; \
12263 r=`${PWD_COMMAND}`; export r; \
12264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12265 $(SET_LIB_PATH) \
12266 $(HOST_EXPORTS) \
12267 for flag in $(EXTRA_HOST_FLAGS) ; do \
12268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12269 done; \
12270 echo "Doing html in intl" ; \
12271 (cd intl && \
12272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12274 "RANLIB=$${RANLIB}" \
12275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12276 html) \
12277 || exit 1
12279 @endif intl
12281 .PHONY: maybe-TAGS-intl TAGS-intl
12282 maybe-TAGS-intl:
12283 @if intl
12284 maybe-TAGS-intl: TAGS-intl
12286 TAGS-intl: \
12287 configure-intl
12288 @[ -f ./intl/Makefile ] || exit 0; \
12289 r=`${PWD_COMMAND}`; export r; \
12290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12291 $(SET_LIB_PATH) \
12292 $(HOST_EXPORTS) \
12293 for flag in $(EXTRA_HOST_FLAGS) ; do \
12294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12295 done; \
12296 echo "Doing TAGS in intl" ; \
12297 (cd intl && \
12298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12300 "RANLIB=$${RANLIB}" \
12301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12302 TAGS) \
12303 || exit 1
12305 @endif intl
12307 .PHONY: maybe-install-info-intl install-info-intl
12308 maybe-install-info-intl:
12309 @if intl
12310 maybe-install-info-intl: install-info-intl
12312 install-info-intl: \
12313 configure-intl \
12314 info-intl
12315 @[ -f ./intl/Makefile ] || exit 0; \
12316 r=`${PWD_COMMAND}`; export r; \
12317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12318 $(SET_LIB_PATH) \
12319 $(HOST_EXPORTS) \
12320 for flag in $(EXTRA_HOST_FLAGS) ; do \
12321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12322 done; \
12323 echo "Doing install-info in intl" ; \
12324 (cd intl && \
12325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12327 "RANLIB=$${RANLIB}" \
12328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12329 install-info) \
12330 || exit 1
12332 @endif intl
12334 .PHONY: maybe-installcheck-intl installcheck-intl
12335 maybe-installcheck-intl:
12336 @if intl
12337 maybe-installcheck-intl: installcheck-intl
12339 installcheck-intl: \
12340 configure-intl
12341 @[ -f ./intl/Makefile ] || exit 0; \
12342 r=`${PWD_COMMAND}`; export r; \
12343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12344 $(SET_LIB_PATH) \
12345 $(HOST_EXPORTS) \
12346 for flag in $(EXTRA_HOST_FLAGS) ; do \
12347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12348 done; \
12349 echo "Doing installcheck in intl" ; \
12350 (cd intl && \
12351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12353 "RANLIB=$${RANLIB}" \
12354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12355 installcheck) \
12356 || exit 1
12358 @endif intl
12360 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
12361 maybe-mostlyclean-intl:
12362 @if intl
12363 maybe-mostlyclean-intl: mostlyclean-intl
12365 mostlyclean-intl:
12366 @[ -f ./intl/Makefile ] || exit 0; \
12367 r=`${PWD_COMMAND}`; export r; \
12368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12369 $(SET_LIB_PATH) \
12370 $(HOST_EXPORTS) \
12371 for flag in $(EXTRA_HOST_FLAGS) ; do \
12372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12373 done; \
12374 echo "Doing mostlyclean in intl" ; \
12375 (cd intl && \
12376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12378 "RANLIB=$${RANLIB}" \
12379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12380 mostlyclean) \
12381 || exit 1
12383 @endif intl
12385 .PHONY: maybe-clean-intl clean-intl
12386 maybe-clean-intl:
12387 @if intl
12388 maybe-clean-intl: clean-intl
12390 clean-intl:
12391 @[ -f ./intl/Makefile ] || exit 0; \
12392 r=`${PWD_COMMAND}`; export r; \
12393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12394 $(SET_LIB_PATH) \
12395 $(HOST_EXPORTS) \
12396 for flag in $(EXTRA_HOST_FLAGS) ; do \
12397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12398 done; \
12399 echo "Doing clean in intl" ; \
12400 (cd intl && \
12401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12403 "RANLIB=$${RANLIB}" \
12404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12405 clean) \
12406 || exit 1
12408 @endif intl
12410 .PHONY: maybe-distclean-intl distclean-intl
12411 maybe-distclean-intl:
12412 @if intl
12413 maybe-distclean-intl: distclean-intl
12415 distclean-intl:
12416 @[ -f ./intl/Makefile ] || exit 0; \
12417 r=`${PWD_COMMAND}`; export r; \
12418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12419 $(SET_LIB_PATH) \
12420 $(HOST_EXPORTS) \
12421 for flag in $(EXTRA_HOST_FLAGS) ; do \
12422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12423 done; \
12424 echo "Doing distclean in intl" ; \
12425 (cd intl && \
12426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12428 "RANLIB=$${RANLIB}" \
12429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12430 distclean) \
12431 || exit 1
12433 @endif intl
12435 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
12436 maybe-maintainer-clean-intl:
12437 @if intl
12438 maybe-maintainer-clean-intl: maintainer-clean-intl
12440 maintainer-clean-intl:
12441 @[ -f ./intl/Makefile ] || exit 0; \
12442 r=`${PWD_COMMAND}`; export r; \
12443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12444 $(SET_LIB_PATH) \
12445 $(HOST_EXPORTS) \
12446 for flag in $(EXTRA_HOST_FLAGS) ; do \
12447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12448 done; \
12449 echo "Doing maintainer-clean in intl" ; \
12450 (cd intl && \
12451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12453 "RANLIB=$${RANLIB}" \
12454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12455 maintainer-clean) \
12456 || exit 1
12458 @endif intl
12461 .PHONY: configure-tcl maybe-configure-tcl
12462 maybe-configure-tcl:
12463 @if tcl
12464 maybe-configure-tcl: configure-tcl
12465 configure-tcl:
12466 @test ! -f tcl/Makefile || exit 0; \
12467 [ -d tcl ] || mkdir tcl; \
12468 r=`${PWD_COMMAND}`; export r; \
12469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12470 $(HOST_EXPORTS) \
12471 echo Configuring in tcl; \
12472 cd tcl || exit 1; \
12473 case $(srcdir) in \
12474 \.) \
12475 srcdiroption="--srcdir=."; \
12476 libsrcdir=".";; \
12477 /* | [A-Za-z]:[\\/]*) \
12478 srcdiroption="--srcdir=$(srcdir)/tcl"; \
12479 libsrcdir="$$s/tcl";; \
12480 *) \
12481 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
12482 libsrcdir="$$s/tcl";; \
12483 esac; \
12484 $(SHELL) $${libsrcdir}/configure \
12485 $(HOST_CONFIGARGS) $${srcdiroption} \
12486 || exit 1
12487 @endif tcl
12489 .PHONY: all-tcl maybe-all-tcl
12490 maybe-all-tcl:
12491 @if tcl
12492 TARGET-tcl=all
12493 maybe-all-tcl: all-tcl
12494 all-tcl: configure-tcl
12495 @r=`${PWD_COMMAND}`; export r; \
12496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12497 $(SET_LIB_PATH) \
12498 $(HOST_EXPORTS) \
12499 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) \
12500 $(TARGET-tcl))
12501 @endif tcl
12503 .PHONY: check-tcl maybe-check-tcl
12504 maybe-check-tcl:
12505 @if tcl
12506 maybe-check-tcl: check-tcl
12508 check-tcl:
12509 @r=`${PWD_COMMAND}`; export r; \
12510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12511 $(SET_LIB_PATH) \
12512 $(HOST_EXPORTS) \
12513 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
12515 @endif tcl
12517 .PHONY: install-tcl maybe-install-tcl
12518 maybe-install-tcl:
12519 @if tcl
12520 maybe-install-tcl: install-tcl
12522 install-tcl: installdirs
12523 @r=`${PWD_COMMAND}`; export r; \
12524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12525 $(SET_LIB_PATH) \
12526 $(HOST_EXPORTS) \
12527 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
12529 @endif tcl
12531 # Other targets (info, dvi, etc.)
12533 .PHONY: maybe-info-tcl info-tcl
12534 maybe-info-tcl:
12535 @if tcl
12536 maybe-info-tcl: info-tcl
12538 info-tcl: \
12539 configure-tcl
12540 @[ -f ./tcl/Makefile ] || exit 0; \
12541 r=`${PWD_COMMAND}`; export r; \
12542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12543 $(SET_LIB_PATH) \
12544 $(HOST_EXPORTS) \
12545 for flag in $(EXTRA_HOST_FLAGS) ; do \
12546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12547 done; \
12548 echo "Doing info in tcl" ; \
12549 (cd tcl && \
12550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12552 "RANLIB=$${RANLIB}" \
12553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12554 info) \
12555 || exit 1
12557 @endif tcl
12559 .PHONY: maybe-dvi-tcl dvi-tcl
12560 maybe-dvi-tcl:
12561 @if tcl
12562 maybe-dvi-tcl: dvi-tcl
12564 dvi-tcl: \
12565 configure-tcl
12566 @[ -f ./tcl/Makefile ] || exit 0; \
12567 r=`${PWD_COMMAND}`; export r; \
12568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12569 $(SET_LIB_PATH) \
12570 $(HOST_EXPORTS) \
12571 for flag in $(EXTRA_HOST_FLAGS) ; do \
12572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12573 done; \
12574 echo "Doing dvi in tcl" ; \
12575 (cd tcl && \
12576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12578 "RANLIB=$${RANLIB}" \
12579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12580 dvi) \
12581 || exit 1
12583 @endif tcl
12585 .PHONY: maybe-html-tcl html-tcl
12586 maybe-html-tcl:
12587 @if tcl
12588 maybe-html-tcl: html-tcl
12590 html-tcl: \
12591 configure-tcl
12592 @[ -f ./tcl/Makefile ] || exit 0; \
12593 r=`${PWD_COMMAND}`; export r; \
12594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12595 $(SET_LIB_PATH) \
12596 $(HOST_EXPORTS) \
12597 for flag in $(EXTRA_HOST_FLAGS) ; do \
12598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12599 done; \
12600 echo "Doing html in tcl" ; \
12601 (cd tcl && \
12602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12604 "RANLIB=$${RANLIB}" \
12605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12606 html) \
12607 || exit 1
12609 @endif tcl
12611 .PHONY: maybe-TAGS-tcl TAGS-tcl
12612 maybe-TAGS-tcl:
12613 @if tcl
12614 maybe-TAGS-tcl: TAGS-tcl
12616 TAGS-tcl: \
12617 configure-tcl
12618 @[ -f ./tcl/Makefile ] || exit 0; \
12619 r=`${PWD_COMMAND}`; export r; \
12620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12621 $(SET_LIB_PATH) \
12622 $(HOST_EXPORTS) \
12623 for flag in $(EXTRA_HOST_FLAGS) ; do \
12624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12625 done; \
12626 echo "Doing TAGS in tcl" ; \
12627 (cd tcl && \
12628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12630 "RANLIB=$${RANLIB}" \
12631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12632 TAGS) \
12633 || exit 1
12635 @endif tcl
12637 .PHONY: maybe-install-info-tcl install-info-tcl
12638 maybe-install-info-tcl:
12639 @if tcl
12640 maybe-install-info-tcl: install-info-tcl
12642 install-info-tcl: \
12643 configure-tcl \
12644 info-tcl
12645 @[ -f ./tcl/Makefile ] || exit 0; \
12646 r=`${PWD_COMMAND}`; export r; \
12647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12648 $(SET_LIB_PATH) \
12649 $(HOST_EXPORTS) \
12650 for flag in $(EXTRA_HOST_FLAGS) ; do \
12651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12652 done; \
12653 echo "Doing install-info in tcl" ; \
12654 (cd tcl && \
12655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12657 "RANLIB=$${RANLIB}" \
12658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12659 install-info) \
12660 || exit 1
12662 @endif tcl
12664 .PHONY: maybe-installcheck-tcl installcheck-tcl
12665 maybe-installcheck-tcl:
12666 @if tcl
12667 maybe-installcheck-tcl: installcheck-tcl
12669 installcheck-tcl: \
12670 configure-tcl
12671 @[ -f ./tcl/Makefile ] || exit 0; \
12672 r=`${PWD_COMMAND}`; export r; \
12673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12674 $(SET_LIB_PATH) \
12675 $(HOST_EXPORTS) \
12676 for flag in $(EXTRA_HOST_FLAGS) ; do \
12677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12678 done; \
12679 echo "Doing installcheck in tcl" ; \
12680 (cd tcl && \
12681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12683 "RANLIB=$${RANLIB}" \
12684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12685 installcheck) \
12686 || exit 1
12688 @endif tcl
12690 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
12691 maybe-mostlyclean-tcl:
12692 @if tcl
12693 maybe-mostlyclean-tcl: mostlyclean-tcl
12695 # tcl doesn't support mostlyclean.
12696 mostlyclean-tcl:
12698 @endif tcl
12700 .PHONY: maybe-clean-tcl clean-tcl
12701 maybe-clean-tcl:
12702 @if tcl
12703 maybe-clean-tcl: clean-tcl
12705 clean-tcl:
12706 @[ -f ./tcl/Makefile ] || exit 0; \
12707 r=`${PWD_COMMAND}`; export r; \
12708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12709 $(SET_LIB_PATH) \
12710 $(HOST_EXPORTS) \
12711 for flag in $(EXTRA_HOST_FLAGS) ; do \
12712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12713 done; \
12714 echo "Doing clean in tcl" ; \
12715 (cd tcl && \
12716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12718 "RANLIB=$${RANLIB}" \
12719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12720 clean) \
12721 || exit 1
12723 @endif tcl
12725 .PHONY: maybe-distclean-tcl distclean-tcl
12726 maybe-distclean-tcl:
12727 @if tcl
12728 maybe-distclean-tcl: distclean-tcl
12730 distclean-tcl:
12731 @[ -f ./tcl/Makefile ] || exit 0; \
12732 r=`${PWD_COMMAND}`; export r; \
12733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12734 $(SET_LIB_PATH) \
12735 $(HOST_EXPORTS) \
12736 for flag in $(EXTRA_HOST_FLAGS) ; do \
12737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12738 done; \
12739 echo "Doing distclean in tcl" ; \
12740 (cd tcl && \
12741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12743 "RANLIB=$${RANLIB}" \
12744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12745 distclean) \
12746 || exit 1
12748 @endif tcl
12750 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
12751 maybe-maintainer-clean-tcl:
12752 @if tcl
12753 maybe-maintainer-clean-tcl: maintainer-clean-tcl
12755 maintainer-clean-tcl:
12756 @[ -f ./tcl/Makefile ] || exit 0; \
12757 r=`${PWD_COMMAND}`; export r; \
12758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12759 $(SET_LIB_PATH) \
12760 $(HOST_EXPORTS) \
12761 for flag in $(EXTRA_HOST_FLAGS) ; do \
12762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12763 done; \
12764 echo "Doing maintainer-clean in tcl" ; \
12765 (cd tcl && \
12766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12768 "RANLIB=$${RANLIB}" \
12769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12770 maintainer-clean) \
12771 || exit 1
12773 @endif tcl
12776 .PHONY: configure-itcl maybe-configure-itcl
12777 maybe-configure-itcl:
12778 @if itcl
12779 maybe-configure-itcl: configure-itcl
12780 configure-itcl:
12781 @test ! -f itcl/Makefile || exit 0; \
12782 [ -d itcl ] || mkdir itcl; \
12783 r=`${PWD_COMMAND}`; export r; \
12784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12785 $(HOST_EXPORTS) \
12786 echo Configuring in itcl; \
12787 cd itcl || exit 1; \
12788 case $(srcdir) in \
12789 \.) \
12790 srcdiroption="--srcdir=."; \
12791 libsrcdir=".";; \
12792 /* | [A-Za-z]:[\\/]*) \
12793 srcdiroption="--srcdir=$(srcdir)/itcl"; \
12794 libsrcdir="$$s/itcl";; \
12795 *) \
12796 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
12797 libsrcdir="$$s/itcl";; \
12798 esac; \
12799 $(SHELL) $${libsrcdir}/configure \
12800 $(HOST_CONFIGARGS) $${srcdiroption} \
12801 || exit 1
12802 @endif itcl
12804 .PHONY: all-itcl maybe-all-itcl
12805 maybe-all-itcl:
12806 @if itcl
12807 TARGET-itcl=all
12808 maybe-all-itcl: all-itcl
12809 all-itcl: configure-itcl
12810 @r=`${PWD_COMMAND}`; export r; \
12811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12812 $(SET_LIB_PATH) \
12813 $(HOST_EXPORTS) \
12814 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) \
12815 $(TARGET-itcl))
12816 @endif itcl
12818 .PHONY: check-itcl maybe-check-itcl
12819 maybe-check-itcl:
12820 @if itcl
12821 maybe-check-itcl: check-itcl
12823 check-itcl:
12824 @r=`${PWD_COMMAND}`; export r; \
12825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12826 $(SET_LIB_PATH) \
12827 $(HOST_EXPORTS) \
12828 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
12830 @endif itcl
12832 .PHONY: install-itcl maybe-install-itcl
12833 maybe-install-itcl:
12834 @if itcl
12835 maybe-install-itcl: install-itcl
12837 install-itcl: installdirs
12838 @r=`${PWD_COMMAND}`; export r; \
12839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12840 $(SET_LIB_PATH) \
12841 $(HOST_EXPORTS) \
12842 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
12844 @endif itcl
12846 # Other targets (info, dvi, etc.)
12848 .PHONY: maybe-info-itcl info-itcl
12849 maybe-info-itcl:
12850 @if itcl
12851 maybe-info-itcl: info-itcl
12853 info-itcl: \
12854 configure-itcl
12855 @[ -f ./itcl/Makefile ] || exit 0; \
12856 r=`${PWD_COMMAND}`; export r; \
12857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12858 $(SET_LIB_PATH) \
12859 $(HOST_EXPORTS) \
12860 for flag in $(EXTRA_HOST_FLAGS) ; do \
12861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12862 done; \
12863 echo "Doing info in itcl" ; \
12864 (cd itcl && \
12865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12867 "RANLIB=$${RANLIB}" \
12868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12869 info) \
12870 || exit 1
12872 @endif itcl
12874 .PHONY: maybe-dvi-itcl dvi-itcl
12875 maybe-dvi-itcl:
12876 @if itcl
12877 maybe-dvi-itcl: dvi-itcl
12879 dvi-itcl: \
12880 configure-itcl
12881 @[ -f ./itcl/Makefile ] || exit 0; \
12882 r=`${PWD_COMMAND}`; export r; \
12883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12884 $(SET_LIB_PATH) \
12885 $(HOST_EXPORTS) \
12886 for flag in $(EXTRA_HOST_FLAGS) ; do \
12887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12888 done; \
12889 echo "Doing dvi in itcl" ; \
12890 (cd itcl && \
12891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12893 "RANLIB=$${RANLIB}" \
12894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12895 dvi) \
12896 || exit 1
12898 @endif itcl
12900 .PHONY: maybe-html-itcl html-itcl
12901 maybe-html-itcl:
12902 @if itcl
12903 maybe-html-itcl: html-itcl
12905 html-itcl: \
12906 configure-itcl
12907 @[ -f ./itcl/Makefile ] || exit 0; \
12908 r=`${PWD_COMMAND}`; export r; \
12909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12910 $(SET_LIB_PATH) \
12911 $(HOST_EXPORTS) \
12912 for flag in $(EXTRA_HOST_FLAGS) ; do \
12913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12914 done; \
12915 echo "Doing html in itcl" ; \
12916 (cd itcl && \
12917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12919 "RANLIB=$${RANLIB}" \
12920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12921 html) \
12922 || exit 1
12924 @endif itcl
12926 .PHONY: maybe-TAGS-itcl TAGS-itcl
12927 maybe-TAGS-itcl:
12928 @if itcl
12929 maybe-TAGS-itcl: TAGS-itcl
12931 TAGS-itcl: \
12932 configure-itcl
12933 @[ -f ./itcl/Makefile ] || exit 0; \
12934 r=`${PWD_COMMAND}`; export r; \
12935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12936 $(SET_LIB_PATH) \
12937 $(HOST_EXPORTS) \
12938 for flag in $(EXTRA_HOST_FLAGS) ; do \
12939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12940 done; \
12941 echo "Doing TAGS in itcl" ; \
12942 (cd itcl && \
12943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12945 "RANLIB=$${RANLIB}" \
12946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12947 TAGS) \
12948 || exit 1
12950 @endif itcl
12952 .PHONY: maybe-install-info-itcl install-info-itcl
12953 maybe-install-info-itcl:
12954 @if itcl
12955 maybe-install-info-itcl: install-info-itcl
12957 install-info-itcl: \
12958 configure-itcl \
12959 info-itcl
12960 @[ -f ./itcl/Makefile ] || exit 0; \
12961 r=`${PWD_COMMAND}`; export r; \
12962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12963 $(SET_LIB_PATH) \
12964 $(HOST_EXPORTS) \
12965 for flag in $(EXTRA_HOST_FLAGS) ; do \
12966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12967 done; \
12968 echo "Doing install-info in itcl" ; \
12969 (cd itcl && \
12970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12972 "RANLIB=$${RANLIB}" \
12973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12974 install-info) \
12975 || exit 1
12977 @endif itcl
12979 .PHONY: maybe-installcheck-itcl installcheck-itcl
12980 maybe-installcheck-itcl:
12981 @if itcl
12982 maybe-installcheck-itcl: installcheck-itcl
12984 installcheck-itcl: \
12985 configure-itcl
12986 @[ -f ./itcl/Makefile ] || exit 0; \
12987 r=`${PWD_COMMAND}`; export r; \
12988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12989 $(SET_LIB_PATH) \
12990 $(HOST_EXPORTS) \
12991 for flag in $(EXTRA_HOST_FLAGS) ; do \
12992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12993 done; \
12994 echo "Doing installcheck in itcl" ; \
12995 (cd itcl && \
12996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12998 "RANLIB=$${RANLIB}" \
12999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13000 installcheck) \
13001 || exit 1
13003 @endif itcl
13005 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
13006 maybe-mostlyclean-itcl:
13007 @if itcl
13008 maybe-mostlyclean-itcl: mostlyclean-itcl
13010 mostlyclean-itcl:
13011 @[ -f ./itcl/Makefile ] || exit 0; \
13012 r=`${PWD_COMMAND}`; export r; \
13013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13014 $(SET_LIB_PATH) \
13015 $(HOST_EXPORTS) \
13016 for flag in $(EXTRA_HOST_FLAGS) ; do \
13017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13018 done; \
13019 echo "Doing mostlyclean in itcl" ; \
13020 (cd itcl && \
13021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13023 "RANLIB=$${RANLIB}" \
13024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13025 mostlyclean) \
13026 || exit 1
13028 @endif itcl
13030 .PHONY: maybe-clean-itcl clean-itcl
13031 maybe-clean-itcl:
13032 @if itcl
13033 maybe-clean-itcl: clean-itcl
13035 clean-itcl:
13036 @[ -f ./itcl/Makefile ] || exit 0; \
13037 r=`${PWD_COMMAND}`; export r; \
13038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13039 $(SET_LIB_PATH) \
13040 $(HOST_EXPORTS) \
13041 for flag in $(EXTRA_HOST_FLAGS) ; do \
13042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13043 done; \
13044 echo "Doing clean in itcl" ; \
13045 (cd itcl && \
13046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13048 "RANLIB=$${RANLIB}" \
13049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13050 clean) \
13051 || exit 1
13053 @endif itcl
13055 .PHONY: maybe-distclean-itcl distclean-itcl
13056 maybe-distclean-itcl:
13057 @if itcl
13058 maybe-distclean-itcl: distclean-itcl
13060 distclean-itcl:
13061 @[ -f ./itcl/Makefile ] || exit 0; \
13062 r=`${PWD_COMMAND}`; export r; \
13063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13064 $(SET_LIB_PATH) \
13065 $(HOST_EXPORTS) \
13066 for flag in $(EXTRA_HOST_FLAGS) ; do \
13067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13068 done; \
13069 echo "Doing distclean in itcl" ; \
13070 (cd itcl && \
13071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13073 "RANLIB=$${RANLIB}" \
13074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13075 distclean) \
13076 || exit 1
13078 @endif itcl
13080 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
13081 maybe-maintainer-clean-itcl:
13082 @if itcl
13083 maybe-maintainer-clean-itcl: maintainer-clean-itcl
13085 maintainer-clean-itcl:
13086 @[ -f ./itcl/Makefile ] || exit 0; \
13087 r=`${PWD_COMMAND}`; export r; \
13088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13089 $(SET_LIB_PATH) \
13090 $(HOST_EXPORTS) \
13091 for flag in $(EXTRA_HOST_FLAGS) ; do \
13092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13093 done; \
13094 echo "Doing maintainer-clean in itcl" ; \
13095 (cd itcl && \
13096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13098 "RANLIB=$${RANLIB}" \
13099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13100 maintainer-clean) \
13101 || exit 1
13103 @endif itcl
13106 .PHONY: configure-ld maybe-configure-ld
13107 maybe-configure-ld:
13108 @if ld
13109 maybe-configure-ld: configure-ld
13110 configure-ld:
13111 @test -f stage_last && exit 0; \
13112 test ! -f ld/Makefile || exit 0; \
13113 [ -d ld ] || mkdir ld; \
13114 r=`${PWD_COMMAND}`; export r; \
13115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13116 $(HOST_EXPORTS) \
13117 echo Configuring in ld; \
13118 cd ld || exit 1; \
13119 case $(srcdir) in \
13120 \.) \
13121 srcdiroption="--srcdir=."; \
13122 libsrcdir=".";; \
13123 /* | [A-Za-z]:[\\/]*) \
13124 srcdiroption="--srcdir=$(srcdir)/ld"; \
13125 libsrcdir="$$s/ld";; \
13126 *) \
13127 srcdiroption="--srcdir=../$(srcdir)/ld"; \
13128 libsrcdir="$$s/ld";; \
13129 esac; \
13130 $(SHELL) $${libsrcdir}/configure \
13131 $(HOST_CONFIGARGS) $${srcdiroption} \
13132 || exit 1
13133 @endif ld
13135 .PHONY: all-ld maybe-all-ld
13136 maybe-all-ld:
13137 @if ld
13138 TARGET-ld=all
13139 maybe-all-ld: all-ld
13140 all-ld: configure-ld
13141 @test -f stage_last && exit 0; \
13142 r=`${PWD_COMMAND}`; export r; \
13143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13144 $(SET_LIB_PATH) \
13145 $(HOST_EXPORTS) \
13146 (cd ld && $(MAKE) $(FLAGS_TO_PASS) \
13147 $(TARGET-ld))
13148 @endif ld
13150 .PHONY: check-ld maybe-check-ld
13151 maybe-check-ld:
13152 @if ld
13153 maybe-check-ld: check-ld
13155 check-ld:
13156 @r=`${PWD_COMMAND}`; export r; \
13157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13158 $(SET_LIB_PATH) \
13159 $(HOST_EXPORTS) \
13160 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
13162 @endif ld
13164 .PHONY: install-ld maybe-install-ld
13165 maybe-install-ld:
13166 @if ld
13167 maybe-install-ld: install-ld
13169 install-ld: installdirs
13170 @r=`${PWD_COMMAND}`; export r; \
13171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13172 $(SET_LIB_PATH) \
13173 $(HOST_EXPORTS) \
13174 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
13176 @endif ld
13178 # Other targets (info, dvi, etc.)
13180 .PHONY: maybe-info-ld info-ld
13181 maybe-info-ld:
13182 @if ld
13183 maybe-info-ld: info-ld
13185 info-ld: \
13186 configure-ld
13187 @[ -f ./ld/Makefile ] || exit 0; \
13188 r=`${PWD_COMMAND}`; export r; \
13189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13190 $(SET_LIB_PATH) \
13191 $(HOST_EXPORTS) \
13192 for flag in $(EXTRA_HOST_FLAGS) ; do \
13193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13194 done; \
13195 echo "Doing info in ld" ; \
13196 (cd ld && \
13197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13199 "RANLIB=$${RANLIB}" \
13200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13201 info) \
13202 || exit 1
13204 @endif ld
13206 .PHONY: maybe-dvi-ld dvi-ld
13207 maybe-dvi-ld:
13208 @if ld
13209 maybe-dvi-ld: dvi-ld
13211 dvi-ld: \
13212 configure-ld
13213 @[ -f ./ld/Makefile ] || exit 0; \
13214 r=`${PWD_COMMAND}`; export r; \
13215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13216 $(SET_LIB_PATH) \
13217 $(HOST_EXPORTS) \
13218 for flag in $(EXTRA_HOST_FLAGS) ; do \
13219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13220 done; \
13221 echo "Doing dvi in ld" ; \
13222 (cd ld && \
13223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13225 "RANLIB=$${RANLIB}" \
13226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13227 dvi) \
13228 || exit 1
13230 @endif ld
13232 .PHONY: maybe-html-ld html-ld
13233 maybe-html-ld:
13234 @if ld
13235 maybe-html-ld: html-ld
13237 html-ld: \
13238 configure-ld
13239 @[ -f ./ld/Makefile ] || exit 0; \
13240 r=`${PWD_COMMAND}`; export r; \
13241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13242 $(SET_LIB_PATH) \
13243 $(HOST_EXPORTS) \
13244 for flag in $(EXTRA_HOST_FLAGS) ; do \
13245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13246 done; \
13247 echo "Doing html in ld" ; \
13248 (cd ld && \
13249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13251 "RANLIB=$${RANLIB}" \
13252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13253 html) \
13254 || exit 1
13256 @endif ld
13258 .PHONY: maybe-TAGS-ld TAGS-ld
13259 maybe-TAGS-ld:
13260 @if ld
13261 maybe-TAGS-ld: TAGS-ld
13263 TAGS-ld: \
13264 configure-ld
13265 @[ -f ./ld/Makefile ] || exit 0; \
13266 r=`${PWD_COMMAND}`; export r; \
13267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13268 $(SET_LIB_PATH) \
13269 $(HOST_EXPORTS) \
13270 for flag in $(EXTRA_HOST_FLAGS) ; do \
13271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13272 done; \
13273 echo "Doing TAGS in ld" ; \
13274 (cd ld && \
13275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13277 "RANLIB=$${RANLIB}" \
13278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13279 TAGS) \
13280 || exit 1
13282 @endif ld
13284 .PHONY: maybe-install-info-ld install-info-ld
13285 maybe-install-info-ld:
13286 @if ld
13287 maybe-install-info-ld: install-info-ld
13289 install-info-ld: \
13290 configure-ld \
13291 info-ld
13292 @[ -f ./ld/Makefile ] || exit 0; \
13293 r=`${PWD_COMMAND}`; export r; \
13294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13295 $(SET_LIB_PATH) \
13296 $(HOST_EXPORTS) \
13297 for flag in $(EXTRA_HOST_FLAGS) ; do \
13298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13299 done; \
13300 echo "Doing install-info in ld" ; \
13301 (cd ld && \
13302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13304 "RANLIB=$${RANLIB}" \
13305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13306 install-info) \
13307 || exit 1
13309 @endif ld
13311 .PHONY: maybe-installcheck-ld installcheck-ld
13312 maybe-installcheck-ld:
13313 @if ld
13314 maybe-installcheck-ld: installcheck-ld
13316 installcheck-ld: \
13317 configure-ld
13318 @[ -f ./ld/Makefile ] || exit 0; \
13319 r=`${PWD_COMMAND}`; export r; \
13320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13321 $(SET_LIB_PATH) \
13322 $(HOST_EXPORTS) \
13323 for flag in $(EXTRA_HOST_FLAGS) ; do \
13324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13325 done; \
13326 echo "Doing installcheck in ld" ; \
13327 (cd ld && \
13328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13330 "RANLIB=$${RANLIB}" \
13331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13332 installcheck) \
13333 || exit 1
13335 @endif ld
13337 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
13338 maybe-mostlyclean-ld:
13339 @if ld
13340 maybe-mostlyclean-ld: mostlyclean-ld
13342 mostlyclean-ld:
13343 @[ -f ./ld/Makefile ] || exit 0; \
13344 r=`${PWD_COMMAND}`; export r; \
13345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13346 $(SET_LIB_PATH) \
13347 $(HOST_EXPORTS) \
13348 for flag in $(EXTRA_HOST_FLAGS) ; do \
13349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13350 done; \
13351 echo "Doing mostlyclean in ld" ; \
13352 (cd ld && \
13353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13355 "RANLIB=$${RANLIB}" \
13356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13357 mostlyclean) \
13358 || exit 1
13360 @endif ld
13362 .PHONY: maybe-clean-ld clean-ld
13363 maybe-clean-ld:
13364 @if ld
13365 maybe-clean-ld: clean-ld
13367 clean-ld:
13368 @[ -f ./ld/Makefile ] || exit 0; \
13369 r=`${PWD_COMMAND}`; export r; \
13370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13371 $(SET_LIB_PATH) \
13372 $(HOST_EXPORTS) \
13373 for flag in $(EXTRA_HOST_FLAGS) ; do \
13374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13375 done; \
13376 echo "Doing clean in ld" ; \
13377 (cd ld && \
13378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13380 "RANLIB=$${RANLIB}" \
13381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13382 clean) \
13383 || exit 1
13385 @endif ld
13387 .PHONY: maybe-distclean-ld distclean-ld
13388 maybe-distclean-ld:
13389 @if ld
13390 maybe-distclean-ld: distclean-ld
13392 distclean-ld:
13393 @[ -f ./ld/Makefile ] || exit 0; \
13394 r=`${PWD_COMMAND}`; export r; \
13395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13396 $(SET_LIB_PATH) \
13397 $(HOST_EXPORTS) \
13398 for flag in $(EXTRA_HOST_FLAGS) ; do \
13399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13400 done; \
13401 echo "Doing distclean in ld" ; \
13402 (cd ld && \
13403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13405 "RANLIB=$${RANLIB}" \
13406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13407 distclean) \
13408 || exit 1
13410 @endif ld
13412 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
13413 maybe-maintainer-clean-ld:
13414 @if ld
13415 maybe-maintainer-clean-ld: maintainer-clean-ld
13417 maintainer-clean-ld:
13418 @[ -f ./ld/Makefile ] || exit 0; \
13419 r=`${PWD_COMMAND}`; export r; \
13420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13421 $(SET_LIB_PATH) \
13422 $(HOST_EXPORTS) \
13423 for flag in $(EXTRA_HOST_FLAGS) ; do \
13424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13425 done; \
13426 echo "Doing maintainer-clean in ld" ; \
13427 (cd ld && \
13428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13430 "RANLIB=$${RANLIB}" \
13431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13432 maintainer-clean) \
13433 || exit 1
13435 @endif ld
13438 .PHONY: configure-libcpp maybe-configure-libcpp
13439 maybe-configure-libcpp:
13440 @if libcpp
13441 maybe-configure-libcpp: configure-libcpp
13442 configure-libcpp:
13443 @test -f stage_last && exit 0; \
13444 test ! -f libcpp/Makefile || exit 0; \
13445 [ -d libcpp ] || mkdir libcpp; \
13446 r=`${PWD_COMMAND}`; export r; \
13447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13448 $(HOST_EXPORTS) \
13449 echo Configuring in libcpp; \
13450 cd libcpp || exit 1; \
13451 case $(srcdir) in \
13452 \.) \
13453 srcdiroption="--srcdir=."; \
13454 libsrcdir=".";; \
13455 /* | [A-Za-z]:[\\/]*) \
13456 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
13457 libsrcdir="$$s/libcpp";; \
13458 *) \
13459 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
13460 libsrcdir="$$s/libcpp";; \
13461 esac; \
13462 $(SHELL) $${libsrcdir}/configure \
13463 $(HOST_CONFIGARGS) $${srcdiroption} \
13464 || exit 1
13465 @endif libcpp
13467 .PHONY: all-libcpp maybe-all-libcpp
13468 maybe-all-libcpp:
13469 @if libcpp
13470 TARGET-libcpp=all
13471 maybe-all-libcpp: all-libcpp
13472 all-libcpp: configure-libcpp
13473 @test -f stage_last && exit 0; \
13474 r=`${PWD_COMMAND}`; export r; \
13475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13476 $(SET_LIB_PATH) \
13477 $(HOST_EXPORTS) \
13478 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) \
13479 $(TARGET-libcpp))
13480 @endif libcpp
13482 .PHONY: check-libcpp maybe-check-libcpp
13483 maybe-check-libcpp:
13484 @if libcpp
13485 maybe-check-libcpp: check-libcpp
13487 check-libcpp:
13488 @r=`${PWD_COMMAND}`; export r; \
13489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13490 $(SET_LIB_PATH) \
13491 $(HOST_EXPORTS) \
13492 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
13494 @endif libcpp
13496 .PHONY: install-libcpp maybe-install-libcpp
13497 maybe-install-libcpp:
13498 @if libcpp
13499 maybe-install-libcpp: install-libcpp
13501 install-libcpp: installdirs
13502 @r=`${PWD_COMMAND}`; export r; \
13503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13504 $(SET_LIB_PATH) \
13505 $(HOST_EXPORTS) \
13506 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
13508 @endif libcpp
13510 # Other targets (info, dvi, etc.)
13512 .PHONY: maybe-info-libcpp info-libcpp
13513 maybe-info-libcpp:
13514 @if libcpp
13515 maybe-info-libcpp: info-libcpp
13517 info-libcpp: \
13518 configure-libcpp
13519 @[ -f ./libcpp/Makefile ] || exit 0; \
13520 r=`${PWD_COMMAND}`; export r; \
13521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13522 $(SET_LIB_PATH) \
13523 $(HOST_EXPORTS) \
13524 for flag in $(EXTRA_HOST_FLAGS) ; do \
13525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13526 done; \
13527 echo "Doing info in libcpp" ; \
13528 (cd libcpp && \
13529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13531 "RANLIB=$${RANLIB}" \
13532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13533 info) \
13534 || exit 1
13536 @endif libcpp
13538 .PHONY: maybe-dvi-libcpp dvi-libcpp
13539 maybe-dvi-libcpp:
13540 @if libcpp
13541 maybe-dvi-libcpp: dvi-libcpp
13543 dvi-libcpp: \
13544 configure-libcpp
13545 @[ -f ./libcpp/Makefile ] || exit 0; \
13546 r=`${PWD_COMMAND}`; export r; \
13547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13548 $(SET_LIB_PATH) \
13549 $(HOST_EXPORTS) \
13550 for flag in $(EXTRA_HOST_FLAGS) ; do \
13551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13552 done; \
13553 echo "Doing dvi in libcpp" ; \
13554 (cd libcpp && \
13555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13557 "RANLIB=$${RANLIB}" \
13558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13559 dvi) \
13560 || exit 1
13562 @endif libcpp
13564 .PHONY: maybe-html-libcpp html-libcpp
13565 maybe-html-libcpp:
13566 @if libcpp
13567 maybe-html-libcpp: html-libcpp
13569 html-libcpp: \
13570 configure-libcpp
13571 @[ -f ./libcpp/Makefile ] || exit 0; \
13572 r=`${PWD_COMMAND}`; export r; \
13573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13574 $(SET_LIB_PATH) \
13575 $(HOST_EXPORTS) \
13576 for flag in $(EXTRA_HOST_FLAGS) ; do \
13577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13578 done; \
13579 echo "Doing html in libcpp" ; \
13580 (cd libcpp && \
13581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13583 "RANLIB=$${RANLIB}" \
13584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13585 html) \
13586 || exit 1
13588 @endif libcpp
13590 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
13591 maybe-TAGS-libcpp:
13592 @if libcpp
13593 maybe-TAGS-libcpp: TAGS-libcpp
13595 TAGS-libcpp: \
13596 configure-libcpp
13597 @[ -f ./libcpp/Makefile ] || exit 0; \
13598 r=`${PWD_COMMAND}`; export r; \
13599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13600 $(SET_LIB_PATH) \
13601 $(HOST_EXPORTS) \
13602 for flag in $(EXTRA_HOST_FLAGS) ; do \
13603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13604 done; \
13605 echo "Doing TAGS in libcpp" ; \
13606 (cd libcpp && \
13607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13609 "RANLIB=$${RANLIB}" \
13610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13611 TAGS) \
13612 || exit 1
13614 @endif libcpp
13616 .PHONY: maybe-install-info-libcpp install-info-libcpp
13617 maybe-install-info-libcpp:
13618 @if libcpp
13619 maybe-install-info-libcpp: install-info-libcpp
13621 install-info-libcpp: \
13622 configure-libcpp \
13623 info-libcpp
13624 @[ -f ./libcpp/Makefile ] || exit 0; \
13625 r=`${PWD_COMMAND}`; export r; \
13626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13627 $(SET_LIB_PATH) \
13628 $(HOST_EXPORTS) \
13629 for flag in $(EXTRA_HOST_FLAGS) ; do \
13630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13631 done; \
13632 echo "Doing install-info in libcpp" ; \
13633 (cd libcpp && \
13634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13636 "RANLIB=$${RANLIB}" \
13637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13638 install-info) \
13639 || exit 1
13641 @endif libcpp
13643 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
13644 maybe-installcheck-libcpp:
13645 @if libcpp
13646 maybe-installcheck-libcpp: installcheck-libcpp
13648 installcheck-libcpp: \
13649 configure-libcpp
13650 @[ -f ./libcpp/Makefile ] || exit 0; \
13651 r=`${PWD_COMMAND}`; export r; \
13652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13653 $(SET_LIB_PATH) \
13654 $(HOST_EXPORTS) \
13655 for flag in $(EXTRA_HOST_FLAGS) ; do \
13656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13657 done; \
13658 echo "Doing installcheck in libcpp" ; \
13659 (cd libcpp && \
13660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13662 "RANLIB=$${RANLIB}" \
13663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13664 installcheck) \
13665 || exit 1
13667 @endif libcpp
13669 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
13670 maybe-mostlyclean-libcpp:
13671 @if libcpp
13672 maybe-mostlyclean-libcpp: mostlyclean-libcpp
13674 mostlyclean-libcpp:
13675 @[ -f ./libcpp/Makefile ] || exit 0; \
13676 r=`${PWD_COMMAND}`; export r; \
13677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13678 $(SET_LIB_PATH) \
13679 $(HOST_EXPORTS) \
13680 for flag in $(EXTRA_HOST_FLAGS) ; do \
13681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13682 done; \
13683 echo "Doing mostlyclean in libcpp" ; \
13684 (cd libcpp && \
13685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13687 "RANLIB=$${RANLIB}" \
13688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13689 mostlyclean) \
13690 || exit 1
13692 @endif libcpp
13694 .PHONY: maybe-clean-libcpp clean-libcpp
13695 maybe-clean-libcpp:
13696 @if libcpp
13697 maybe-clean-libcpp: clean-libcpp
13699 clean-libcpp:
13700 @[ -f ./libcpp/Makefile ] || exit 0; \
13701 r=`${PWD_COMMAND}`; export r; \
13702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13703 $(SET_LIB_PATH) \
13704 $(HOST_EXPORTS) \
13705 for flag in $(EXTRA_HOST_FLAGS) ; do \
13706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13707 done; \
13708 echo "Doing clean in libcpp" ; \
13709 (cd libcpp && \
13710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13712 "RANLIB=$${RANLIB}" \
13713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13714 clean) \
13715 || exit 1
13717 @endif libcpp
13719 .PHONY: maybe-distclean-libcpp distclean-libcpp
13720 maybe-distclean-libcpp:
13721 @if libcpp
13722 maybe-distclean-libcpp: distclean-libcpp
13724 distclean-libcpp:
13725 @[ -f ./libcpp/Makefile ] || exit 0; \
13726 r=`${PWD_COMMAND}`; export r; \
13727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13728 $(SET_LIB_PATH) \
13729 $(HOST_EXPORTS) \
13730 for flag in $(EXTRA_HOST_FLAGS) ; do \
13731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13732 done; \
13733 echo "Doing distclean in libcpp" ; \
13734 (cd libcpp && \
13735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13737 "RANLIB=$${RANLIB}" \
13738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13739 distclean) \
13740 || exit 1
13742 @endif libcpp
13744 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
13745 maybe-maintainer-clean-libcpp:
13746 @if libcpp
13747 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
13749 maintainer-clean-libcpp:
13750 @[ -f ./libcpp/Makefile ] || exit 0; \
13751 r=`${PWD_COMMAND}`; export r; \
13752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13753 $(SET_LIB_PATH) \
13754 $(HOST_EXPORTS) \
13755 for flag in $(EXTRA_HOST_FLAGS) ; do \
13756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13757 done; \
13758 echo "Doing maintainer-clean in libcpp" ; \
13759 (cd libcpp && \
13760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13762 "RANLIB=$${RANLIB}" \
13763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13764 maintainer-clean) \
13765 || exit 1
13767 @endif libcpp
13770 .PHONY: configure-libgui maybe-configure-libgui
13771 maybe-configure-libgui:
13772 @if libgui
13773 maybe-configure-libgui: configure-libgui
13774 configure-libgui:
13775 @test ! -f libgui/Makefile || exit 0; \
13776 [ -d libgui ] || mkdir libgui; \
13777 r=`${PWD_COMMAND}`; export r; \
13778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13779 $(HOST_EXPORTS) \
13780 echo Configuring in libgui; \
13781 cd libgui || exit 1; \
13782 case $(srcdir) in \
13783 \.) \
13784 srcdiroption="--srcdir=."; \
13785 libsrcdir=".";; \
13786 /* | [A-Za-z]:[\\/]*) \
13787 srcdiroption="--srcdir=$(srcdir)/libgui"; \
13788 libsrcdir="$$s/libgui";; \
13789 *) \
13790 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
13791 libsrcdir="$$s/libgui";; \
13792 esac; \
13793 $(SHELL) $${libsrcdir}/configure \
13794 $(HOST_CONFIGARGS) $${srcdiroption} \
13795 || exit 1
13796 @endif libgui
13798 .PHONY: all-libgui maybe-all-libgui
13799 maybe-all-libgui:
13800 @if libgui
13801 TARGET-libgui=all
13802 maybe-all-libgui: all-libgui
13803 all-libgui: configure-libgui
13804 @r=`${PWD_COMMAND}`; export r; \
13805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13806 $(SET_LIB_PATH) \
13807 $(HOST_EXPORTS) \
13808 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) \
13809 $(TARGET-libgui))
13810 @endif libgui
13812 .PHONY: check-libgui maybe-check-libgui
13813 maybe-check-libgui:
13814 @if libgui
13815 maybe-check-libgui: check-libgui
13817 check-libgui:
13818 @r=`${PWD_COMMAND}`; export r; \
13819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13820 $(SET_LIB_PATH) \
13821 $(HOST_EXPORTS) \
13822 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
13824 @endif libgui
13826 .PHONY: install-libgui maybe-install-libgui
13827 maybe-install-libgui:
13828 @if libgui
13829 maybe-install-libgui: install-libgui
13831 install-libgui: installdirs
13832 @r=`${PWD_COMMAND}`; export r; \
13833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13834 $(SET_LIB_PATH) \
13835 $(HOST_EXPORTS) \
13836 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
13838 @endif libgui
13840 # Other targets (info, dvi, etc.)
13842 .PHONY: maybe-info-libgui info-libgui
13843 maybe-info-libgui:
13844 @if libgui
13845 maybe-info-libgui: info-libgui
13847 info-libgui: \
13848 configure-libgui
13849 @[ -f ./libgui/Makefile ] || exit 0; \
13850 r=`${PWD_COMMAND}`; export r; \
13851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13852 $(SET_LIB_PATH) \
13853 $(HOST_EXPORTS) \
13854 for flag in $(EXTRA_HOST_FLAGS) ; do \
13855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13856 done; \
13857 echo "Doing info in libgui" ; \
13858 (cd libgui && \
13859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13861 "RANLIB=$${RANLIB}" \
13862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13863 info) \
13864 || exit 1
13866 @endif libgui
13868 .PHONY: maybe-dvi-libgui dvi-libgui
13869 maybe-dvi-libgui:
13870 @if libgui
13871 maybe-dvi-libgui: dvi-libgui
13873 dvi-libgui: \
13874 configure-libgui
13875 @[ -f ./libgui/Makefile ] || exit 0; \
13876 r=`${PWD_COMMAND}`; export r; \
13877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13878 $(SET_LIB_PATH) \
13879 $(HOST_EXPORTS) \
13880 for flag in $(EXTRA_HOST_FLAGS) ; do \
13881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13882 done; \
13883 echo "Doing dvi in libgui" ; \
13884 (cd libgui && \
13885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13887 "RANLIB=$${RANLIB}" \
13888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13889 dvi) \
13890 || exit 1
13892 @endif libgui
13894 .PHONY: maybe-html-libgui html-libgui
13895 maybe-html-libgui:
13896 @if libgui
13897 maybe-html-libgui: html-libgui
13899 html-libgui: \
13900 configure-libgui
13901 @[ -f ./libgui/Makefile ] || exit 0; \
13902 r=`${PWD_COMMAND}`; export r; \
13903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13904 $(SET_LIB_PATH) \
13905 $(HOST_EXPORTS) \
13906 for flag in $(EXTRA_HOST_FLAGS) ; do \
13907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13908 done; \
13909 echo "Doing html in libgui" ; \
13910 (cd libgui && \
13911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13913 "RANLIB=$${RANLIB}" \
13914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13915 html) \
13916 || exit 1
13918 @endif libgui
13920 .PHONY: maybe-TAGS-libgui TAGS-libgui
13921 maybe-TAGS-libgui:
13922 @if libgui
13923 maybe-TAGS-libgui: TAGS-libgui
13925 TAGS-libgui: \
13926 configure-libgui
13927 @[ -f ./libgui/Makefile ] || exit 0; \
13928 r=`${PWD_COMMAND}`; export r; \
13929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13930 $(SET_LIB_PATH) \
13931 $(HOST_EXPORTS) \
13932 for flag in $(EXTRA_HOST_FLAGS) ; do \
13933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13934 done; \
13935 echo "Doing TAGS in libgui" ; \
13936 (cd libgui && \
13937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13939 "RANLIB=$${RANLIB}" \
13940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13941 TAGS) \
13942 || exit 1
13944 @endif libgui
13946 .PHONY: maybe-install-info-libgui install-info-libgui
13947 maybe-install-info-libgui:
13948 @if libgui
13949 maybe-install-info-libgui: install-info-libgui
13951 install-info-libgui: \
13952 configure-libgui \
13953 info-libgui
13954 @[ -f ./libgui/Makefile ] || exit 0; \
13955 r=`${PWD_COMMAND}`; export r; \
13956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13957 $(SET_LIB_PATH) \
13958 $(HOST_EXPORTS) \
13959 for flag in $(EXTRA_HOST_FLAGS) ; do \
13960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13961 done; \
13962 echo "Doing install-info in libgui" ; \
13963 (cd libgui && \
13964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13966 "RANLIB=$${RANLIB}" \
13967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13968 install-info) \
13969 || exit 1
13971 @endif libgui
13973 .PHONY: maybe-installcheck-libgui installcheck-libgui
13974 maybe-installcheck-libgui:
13975 @if libgui
13976 maybe-installcheck-libgui: installcheck-libgui
13978 installcheck-libgui: \
13979 configure-libgui
13980 @[ -f ./libgui/Makefile ] || exit 0; \
13981 r=`${PWD_COMMAND}`; export r; \
13982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13983 $(SET_LIB_PATH) \
13984 $(HOST_EXPORTS) \
13985 for flag in $(EXTRA_HOST_FLAGS) ; do \
13986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13987 done; \
13988 echo "Doing installcheck in libgui" ; \
13989 (cd libgui && \
13990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13992 "RANLIB=$${RANLIB}" \
13993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13994 installcheck) \
13995 || exit 1
13997 @endif libgui
13999 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
14000 maybe-mostlyclean-libgui:
14001 @if libgui
14002 maybe-mostlyclean-libgui: mostlyclean-libgui
14004 mostlyclean-libgui:
14005 @[ -f ./libgui/Makefile ] || exit 0; \
14006 r=`${PWD_COMMAND}`; export r; \
14007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14008 $(SET_LIB_PATH) \
14009 $(HOST_EXPORTS) \
14010 for flag in $(EXTRA_HOST_FLAGS) ; do \
14011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14012 done; \
14013 echo "Doing mostlyclean in libgui" ; \
14014 (cd libgui && \
14015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14017 "RANLIB=$${RANLIB}" \
14018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14019 mostlyclean) \
14020 || exit 1
14022 @endif libgui
14024 .PHONY: maybe-clean-libgui clean-libgui
14025 maybe-clean-libgui:
14026 @if libgui
14027 maybe-clean-libgui: clean-libgui
14029 clean-libgui:
14030 @[ -f ./libgui/Makefile ] || exit 0; \
14031 r=`${PWD_COMMAND}`; export r; \
14032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14033 $(SET_LIB_PATH) \
14034 $(HOST_EXPORTS) \
14035 for flag in $(EXTRA_HOST_FLAGS) ; do \
14036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14037 done; \
14038 echo "Doing clean in libgui" ; \
14039 (cd libgui && \
14040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14042 "RANLIB=$${RANLIB}" \
14043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14044 clean) \
14045 || exit 1
14047 @endif libgui
14049 .PHONY: maybe-distclean-libgui distclean-libgui
14050 maybe-distclean-libgui:
14051 @if libgui
14052 maybe-distclean-libgui: distclean-libgui
14054 distclean-libgui:
14055 @[ -f ./libgui/Makefile ] || exit 0; \
14056 r=`${PWD_COMMAND}`; export r; \
14057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14058 $(SET_LIB_PATH) \
14059 $(HOST_EXPORTS) \
14060 for flag in $(EXTRA_HOST_FLAGS) ; do \
14061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14062 done; \
14063 echo "Doing distclean in libgui" ; \
14064 (cd libgui && \
14065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14067 "RANLIB=$${RANLIB}" \
14068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14069 distclean) \
14070 || exit 1
14072 @endif libgui
14074 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
14075 maybe-maintainer-clean-libgui:
14076 @if libgui
14077 maybe-maintainer-clean-libgui: maintainer-clean-libgui
14079 maintainer-clean-libgui:
14080 @[ -f ./libgui/Makefile ] || exit 0; \
14081 r=`${PWD_COMMAND}`; export r; \
14082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14083 $(SET_LIB_PATH) \
14084 $(HOST_EXPORTS) \
14085 for flag in $(EXTRA_HOST_FLAGS) ; do \
14086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14087 done; \
14088 echo "Doing maintainer-clean in libgui" ; \
14089 (cd libgui && \
14090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14092 "RANLIB=$${RANLIB}" \
14093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14094 maintainer-clean) \
14095 || exit 1
14097 @endif libgui
14100 .PHONY: configure-libiberty maybe-configure-libiberty
14101 maybe-configure-libiberty:
14102 @if libiberty
14103 maybe-configure-libiberty: configure-libiberty
14104 configure-libiberty:
14105 @test -f stage_last && exit 0; \
14106 test ! -f libiberty/Makefile || exit 0; \
14107 [ -d libiberty ] || mkdir libiberty; \
14108 r=`${PWD_COMMAND}`; export r; \
14109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14110 $(HOST_EXPORTS) \
14111 echo Configuring in libiberty; \
14112 cd libiberty || exit 1; \
14113 case $(srcdir) in \
14114 \.) \
14115 srcdiroption="--srcdir=."; \
14116 libsrcdir=".";; \
14117 /* | [A-Za-z]:[\\/]*) \
14118 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
14119 libsrcdir="$$s/libiberty";; \
14120 *) \
14121 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
14122 libsrcdir="$$s/libiberty";; \
14123 esac; \
14124 $(SHELL) $${libsrcdir}/configure \
14125 $(HOST_CONFIGARGS) $${srcdiroption} \
14126 || exit 1
14127 @endif libiberty
14129 .PHONY: all-libiberty maybe-all-libiberty
14130 maybe-all-libiberty:
14131 @if libiberty
14132 TARGET-libiberty=all
14133 maybe-all-libiberty: all-libiberty
14134 all-libiberty: configure-libiberty
14135 @test -f stage_last && exit 0; \
14136 r=`${PWD_COMMAND}`; export r; \
14137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14138 $(SET_LIB_PATH) \
14139 $(HOST_EXPORTS) \
14140 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) \
14141 $(TARGET-libiberty))
14142 @endif libiberty
14144 .PHONY: check-libiberty maybe-check-libiberty
14145 maybe-check-libiberty:
14146 @if libiberty
14147 maybe-check-libiberty: check-libiberty
14149 check-libiberty:
14150 @r=`${PWD_COMMAND}`; export r; \
14151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14152 $(SET_LIB_PATH) \
14153 $(HOST_EXPORTS) \
14154 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
14156 @endif libiberty
14158 .PHONY: install-libiberty maybe-install-libiberty
14159 maybe-install-libiberty:
14160 @if libiberty
14161 maybe-install-libiberty: install-libiberty
14163 install-libiberty: installdirs
14164 @r=`${PWD_COMMAND}`; export r; \
14165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14166 $(SET_LIB_PATH) \
14167 $(HOST_EXPORTS) \
14168 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
14170 @endif libiberty
14172 # Other targets (info, dvi, etc.)
14174 .PHONY: maybe-info-libiberty info-libiberty
14175 maybe-info-libiberty:
14176 @if libiberty
14177 maybe-info-libiberty: info-libiberty
14179 info-libiberty: \
14180 configure-libiberty
14181 @[ -f ./libiberty/Makefile ] || exit 0; \
14182 r=`${PWD_COMMAND}`; export r; \
14183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14184 $(SET_LIB_PATH) \
14185 $(HOST_EXPORTS) \
14186 for flag in $(EXTRA_HOST_FLAGS) ; do \
14187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14188 done; \
14189 echo "Doing info in libiberty" ; \
14190 (cd libiberty && \
14191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14193 "RANLIB=$${RANLIB}" \
14194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14195 info) \
14196 || exit 1
14198 @endif libiberty
14200 .PHONY: maybe-dvi-libiberty dvi-libiberty
14201 maybe-dvi-libiberty:
14202 @if libiberty
14203 maybe-dvi-libiberty: dvi-libiberty
14205 dvi-libiberty: \
14206 configure-libiberty
14207 @[ -f ./libiberty/Makefile ] || exit 0; \
14208 r=`${PWD_COMMAND}`; export r; \
14209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14210 $(SET_LIB_PATH) \
14211 $(HOST_EXPORTS) \
14212 for flag in $(EXTRA_HOST_FLAGS) ; do \
14213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14214 done; \
14215 echo "Doing dvi in libiberty" ; \
14216 (cd libiberty && \
14217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14219 "RANLIB=$${RANLIB}" \
14220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14221 dvi) \
14222 || exit 1
14224 @endif libiberty
14226 .PHONY: maybe-html-libiberty html-libiberty
14227 maybe-html-libiberty:
14228 @if libiberty
14229 maybe-html-libiberty: html-libiberty
14231 html-libiberty: \
14232 configure-libiberty
14233 @[ -f ./libiberty/Makefile ] || exit 0; \
14234 r=`${PWD_COMMAND}`; export r; \
14235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14236 $(SET_LIB_PATH) \
14237 $(HOST_EXPORTS) \
14238 for flag in $(EXTRA_HOST_FLAGS) ; do \
14239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14240 done; \
14241 echo "Doing html in libiberty" ; \
14242 (cd libiberty && \
14243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14245 "RANLIB=$${RANLIB}" \
14246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14247 html) \
14248 || exit 1
14250 @endif libiberty
14252 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
14253 maybe-TAGS-libiberty:
14254 @if libiberty
14255 maybe-TAGS-libiberty: TAGS-libiberty
14257 TAGS-libiberty: \
14258 configure-libiberty
14259 @[ -f ./libiberty/Makefile ] || exit 0; \
14260 r=`${PWD_COMMAND}`; export r; \
14261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14262 $(SET_LIB_PATH) \
14263 $(HOST_EXPORTS) \
14264 for flag in $(EXTRA_HOST_FLAGS) ; do \
14265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14266 done; \
14267 echo "Doing TAGS in libiberty" ; \
14268 (cd libiberty && \
14269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14271 "RANLIB=$${RANLIB}" \
14272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14273 TAGS) \
14274 || exit 1
14276 @endif libiberty
14278 .PHONY: maybe-install-info-libiberty install-info-libiberty
14279 maybe-install-info-libiberty:
14280 @if libiberty
14281 maybe-install-info-libiberty: install-info-libiberty
14283 install-info-libiberty: \
14284 configure-libiberty \
14285 info-libiberty
14286 @[ -f ./libiberty/Makefile ] || exit 0; \
14287 r=`${PWD_COMMAND}`; export r; \
14288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14289 $(SET_LIB_PATH) \
14290 $(HOST_EXPORTS) \
14291 for flag in $(EXTRA_HOST_FLAGS) ; do \
14292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14293 done; \
14294 echo "Doing install-info in libiberty" ; \
14295 (cd libiberty && \
14296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14298 "RANLIB=$${RANLIB}" \
14299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14300 install-info) \
14301 || exit 1
14303 @endif libiberty
14305 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
14306 maybe-installcheck-libiberty:
14307 @if libiberty
14308 maybe-installcheck-libiberty: installcheck-libiberty
14310 installcheck-libiberty: \
14311 configure-libiberty
14312 @[ -f ./libiberty/Makefile ] || exit 0; \
14313 r=`${PWD_COMMAND}`; export r; \
14314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14315 $(SET_LIB_PATH) \
14316 $(HOST_EXPORTS) \
14317 for flag in $(EXTRA_HOST_FLAGS) ; do \
14318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14319 done; \
14320 echo "Doing installcheck in libiberty" ; \
14321 (cd libiberty && \
14322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14324 "RANLIB=$${RANLIB}" \
14325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14326 installcheck) \
14327 || exit 1
14329 @endif libiberty
14331 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
14332 maybe-mostlyclean-libiberty:
14333 @if libiberty
14334 maybe-mostlyclean-libiberty: mostlyclean-libiberty
14336 mostlyclean-libiberty:
14337 @[ -f ./libiberty/Makefile ] || exit 0; \
14338 r=`${PWD_COMMAND}`; export r; \
14339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14340 $(SET_LIB_PATH) \
14341 $(HOST_EXPORTS) \
14342 for flag in $(EXTRA_HOST_FLAGS) ; do \
14343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14344 done; \
14345 echo "Doing mostlyclean in libiberty" ; \
14346 (cd libiberty && \
14347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14349 "RANLIB=$${RANLIB}" \
14350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14351 mostlyclean) \
14352 || exit 1
14354 @endif libiberty
14356 .PHONY: maybe-clean-libiberty clean-libiberty
14357 maybe-clean-libiberty:
14358 @if libiberty
14359 maybe-clean-libiberty: clean-libiberty
14361 clean-libiberty:
14362 @[ -f ./libiberty/Makefile ] || exit 0; \
14363 r=`${PWD_COMMAND}`; export r; \
14364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14365 $(SET_LIB_PATH) \
14366 $(HOST_EXPORTS) \
14367 for flag in $(EXTRA_HOST_FLAGS) ; do \
14368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14369 done; \
14370 echo "Doing clean in libiberty" ; \
14371 (cd libiberty && \
14372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14374 "RANLIB=$${RANLIB}" \
14375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14376 clean) \
14377 || exit 1
14379 @endif libiberty
14381 .PHONY: maybe-distclean-libiberty distclean-libiberty
14382 maybe-distclean-libiberty:
14383 @if libiberty
14384 maybe-distclean-libiberty: distclean-libiberty
14386 distclean-libiberty:
14387 @[ -f ./libiberty/Makefile ] || exit 0; \
14388 r=`${PWD_COMMAND}`; export r; \
14389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14390 $(SET_LIB_PATH) \
14391 $(HOST_EXPORTS) \
14392 for flag in $(EXTRA_HOST_FLAGS) ; do \
14393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14394 done; \
14395 echo "Doing distclean in libiberty" ; \
14396 (cd libiberty && \
14397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14399 "RANLIB=$${RANLIB}" \
14400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14401 distclean) \
14402 || exit 1
14404 @endif libiberty
14406 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
14407 maybe-maintainer-clean-libiberty:
14408 @if libiberty
14409 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
14411 maintainer-clean-libiberty:
14412 @[ -f ./libiberty/Makefile ] || exit 0; \
14413 r=`${PWD_COMMAND}`; export r; \
14414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14415 $(SET_LIB_PATH) \
14416 $(HOST_EXPORTS) \
14417 for flag in $(EXTRA_HOST_FLAGS) ; do \
14418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14419 done; \
14420 echo "Doing maintainer-clean in libiberty" ; \
14421 (cd libiberty && \
14422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14424 "RANLIB=$${RANLIB}" \
14425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14426 maintainer-clean) \
14427 || exit 1
14429 @endif libiberty
14432 .PHONY: configure-libtool maybe-configure-libtool
14433 maybe-configure-libtool:
14434 @if libtool
14435 maybe-configure-libtool: configure-libtool
14436 configure-libtool:
14437 @test ! -f libtool/Makefile || exit 0; \
14438 [ -d libtool ] || mkdir libtool; \
14439 r=`${PWD_COMMAND}`; export r; \
14440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14441 $(HOST_EXPORTS) \
14442 echo Configuring in libtool; \
14443 cd libtool || exit 1; \
14444 case $(srcdir) in \
14445 \.) \
14446 srcdiroption="--srcdir=."; \
14447 libsrcdir=".";; \
14448 /* | [A-Za-z]:[\\/]*) \
14449 srcdiroption="--srcdir=$(srcdir)/libtool"; \
14450 libsrcdir="$$s/libtool";; \
14451 *) \
14452 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
14453 libsrcdir="$$s/libtool";; \
14454 esac; \
14455 $(SHELL) $${libsrcdir}/configure \
14456 $(HOST_CONFIGARGS) $${srcdiroption} \
14457 || exit 1
14458 @endif libtool
14460 .PHONY: all-libtool maybe-all-libtool
14461 maybe-all-libtool:
14462 @if libtool
14463 TARGET-libtool=all
14464 maybe-all-libtool: all-libtool
14465 all-libtool: configure-libtool
14466 @r=`${PWD_COMMAND}`; export r; \
14467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14468 $(SET_LIB_PATH) \
14469 $(HOST_EXPORTS) \
14470 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) \
14471 $(TARGET-libtool))
14472 @endif libtool
14474 .PHONY: check-libtool maybe-check-libtool
14475 maybe-check-libtool:
14476 @if libtool
14477 maybe-check-libtool: check-libtool
14479 check-libtool:
14480 @r=`${PWD_COMMAND}`; export r; \
14481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14482 $(SET_LIB_PATH) \
14483 $(HOST_EXPORTS) \
14484 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
14486 @endif libtool
14488 .PHONY: install-libtool maybe-install-libtool
14489 maybe-install-libtool:
14490 @if libtool
14491 maybe-install-libtool: install-libtool
14493 install-libtool: installdirs
14494 @r=`${PWD_COMMAND}`; export r; \
14495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14496 $(SET_LIB_PATH) \
14497 $(HOST_EXPORTS) \
14498 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
14500 @endif libtool
14502 # Other targets (info, dvi, etc.)
14504 .PHONY: maybe-info-libtool info-libtool
14505 maybe-info-libtool:
14506 @if libtool
14507 maybe-info-libtool: info-libtool
14509 info-libtool: \
14510 configure-libtool
14511 @[ -f ./libtool/Makefile ] || exit 0; \
14512 r=`${PWD_COMMAND}`; export r; \
14513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14514 $(SET_LIB_PATH) \
14515 $(HOST_EXPORTS) \
14516 for flag in $(EXTRA_HOST_FLAGS) ; do \
14517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14518 done; \
14519 echo "Doing info in libtool" ; \
14520 (cd libtool && \
14521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14523 "RANLIB=$${RANLIB}" \
14524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14525 info) \
14526 || exit 1
14528 @endif libtool
14530 .PHONY: maybe-dvi-libtool dvi-libtool
14531 maybe-dvi-libtool:
14532 @if libtool
14533 maybe-dvi-libtool: dvi-libtool
14535 dvi-libtool: \
14536 configure-libtool
14537 @[ -f ./libtool/Makefile ] || exit 0; \
14538 r=`${PWD_COMMAND}`; export r; \
14539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14540 $(SET_LIB_PATH) \
14541 $(HOST_EXPORTS) \
14542 for flag in $(EXTRA_HOST_FLAGS) ; do \
14543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14544 done; \
14545 echo "Doing dvi in libtool" ; \
14546 (cd libtool && \
14547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14549 "RANLIB=$${RANLIB}" \
14550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14551 dvi) \
14552 || exit 1
14554 @endif libtool
14556 .PHONY: maybe-html-libtool html-libtool
14557 maybe-html-libtool:
14558 @if libtool
14559 maybe-html-libtool: html-libtool
14561 html-libtool: \
14562 configure-libtool
14563 @[ -f ./libtool/Makefile ] || exit 0; \
14564 r=`${PWD_COMMAND}`; export r; \
14565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14566 $(SET_LIB_PATH) \
14567 $(HOST_EXPORTS) \
14568 for flag in $(EXTRA_HOST_FLAGS) ; do \
14569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14570 done; \
14571 echo "Doing html in libtool" ; \
14572 (cd libtool && \
14573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14575 "RANLIB=$${RANLIB}" \
14576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14577 html) \
14578 || exit 1
14580 @endif libtool
14582 .PHONY: maybe-TAGS-libtool TAGS-libtool
14583 maybe-TAGS-libtool:
14584 @if libtool
14585 maybe-TAGS-libtool: TAGS-libtool
14587 TAGS-libtool: \
14588 configure-libtool
14589 @[ -f ./libtool/Makefile ] || exit 0; \
14590 r=`${PWD_COMMAND}`; export r; \
14591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14592 $(SET_LIB_PATH) \
14593 $(HOST_EXPORTS) \
14594 for flag in $(EXTRA_HOST_FLAGS) ; do \
14595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14596 done; \
14597 echo "Doing TAGS in libtool" ; \
14598 (cd libtool && \
14599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14601 "RANLIB=$${RANLIB}" \
14602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14603 TAGS) \
14604 || exit 1
14606 @endif libtool
14608 .PHONY: maybe-install-info-libtool install-info-libtool
14609 maybe-install-info-libtool:
14610 @if libtool
14611 maybe-install-info-libtool: install-info-libtool
14613 install-info-libtool: \
14614 configure-libtool \
14615 info-libtool
14616 @[ -f ./libtool/Makefile ] || exit 0; \
14617 r=`${PWD_COMMAND}`; export r; \
14618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14619 $(SET_LIB_PATH) \
14620 $(HOST_EXPORTS) \
14621 for flag in $(EXTRA_HOST_FLAGS) ; do \
14622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14623 done; \
14624 echo "Doing install-info in libtool" ; \
14625 (cd libtool && \
14626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14628 "RANLIB=$${RANLIB}" \
14629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14630 install-info) \
14631 || exit 1
14633 @endif libtool
14635 .PHONY: maybe-installcheck-libtool installcheck-libtool
14636 maybe-installcheck-libtool:
14637 @if libtool
14638 maybe-installcheck-libtool: installcheck-libtool
14640 installcheck-libtool: \
14641 configure-libtool
14642 @[ -f ./libtool/Makefile ] || exit 0; \
14643 r=`${PWD_COMMAND}`; export r; \
14644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14645 $(SET_LIB_PATH) \
14646 $(HOST_EXPORTS) \
14647 for flag in $(EXTRA_HOST_FLAGS) ; do \
14648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14649 done; \
14650 echo "Doing installcheck in libtool" ; \
14651 (cd libtool && \
14652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14654 "RANLIB=$${RANLIB}" \
14655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14656 installcheck) \
14657 || exit 1
14659 @endif libtool
14661 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
14662 maybe-mostlyclean-libtool:
14663 @if libtool
14664 maybe-mostlyclean-libtool: mostlyclean-libtool
14666 mostlyclean-libtool:
14667 @[ -f ./libtool/Makefile ] || exit 0; \
14668 r=`${PWD_COMMAND}`; export r; \
14669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14670 $(SET_LIB_PATH) \
14671 $(HOST_EXPORTS) \
14672 for flag in $(EXTRA_HOST_FLAGS) ; do \
14673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14674 done; \
14675 echo "Doing mostlyclean in libtool" ; \
14676 (cd libtool && \
14677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14679 "RANLIB=$${RANLIB}" \
14680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14681 mostlyclean) \
14682 || exit 1
14684 @endif libtool
14686 .PHONY: maybe-clean-libtool clean-libtool
14687 maybe-clean-libtool:
14688 @if libtool
14689 maybe-clean-libtool: clean-libtool
14691 clean-libtool:
14692 @[ -f ./libtool/Makefile ] || exit 0; \
14693 r=`${PWD_COMMAND}`; export r; \
14694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14695 $(SET_LIB_PATH) \
14696 $(HOST_EXPORTS) \
14697 for flag in $(EXTRA_HOST_FLAGS) ; do \
14698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14699 done; \
14700 echo "Doing clean in libtool" ; \
14701 (cd libtool && \
14702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14704 "RANLIB=$${RANLIB}" \
14705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14706 clean) \
14707 || exit 1
14709 @endif libtool
14711 .PHONY: maybe-distclean-libtool distclean-libtool
14712 maybe-distclean-libtool:
14713 @if libtool
14714 maybe-distclean-libtool: distclean-libtool
14716 distclean-libtool:
14717 @[ -f ./libtool/Makefile ] || exit 0; \
14718 r=`${PWD_COMMAND}`; export r; \
14719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14720 $(SET_LIB_PATH) \
14721 $(HOST_EXPORTS) \
14722 for flag in $(EXTRA_HOST_FLAGS) ; do \
14723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14724 done; \
14725 echo "Doing distclean in libtool" ; \
14726 (cd libtool && \
14727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14729 "RANLIB=$${RANLIB}" \
14730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14731 distclean) \
14732 || exit 1
14734 @endif libtool
14736 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
14737 maybe-maintainer-clean-libtool:
14738 @if libtool
14739 maybe-maintainer-clean-libtool: maintainer-clean-libtool
14741 maintainer-clean-libtool:
14742 @[ -f ./libtool/Makefile ] || exit 0; \
14743 r=`${PWD_COMMAND}`; export r; \
14744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14745 $(SET_LIB_PATH) \
14746 $(HOST_EXPORTS) \
14747 for flag in $(EXTRA_HOST_FLAGS) ; do \
14748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14749 done; \
14750 echo "Doing maintainer-clean in libtool" ; \
14751 (cd libtool && \
14752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14754 "RANLIB=$${RANLIB}" \
14755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14756 maintainer-clean) \
14757 || exit 1
14759 @endif libtool
14762 .PHONY: configure-m4 maybe-configure-m4
14763 maybe-configure-m4:
14764 @if m4
14765 maybe-configure-m4: configure-m4
14766 configure-m4:
14767 @test ! -f m4/Makefile || exit 0; \
14768 [ -d m4 ] || mkdir m4; \
14769 r=`${PWD_COMMAND}`; export r; \
14770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14771 $(HOST_EXPORTS) \
14772 echo Configuring in m4; \
14773 cd m4 || exit 1; \
14774 case $(srcdir) in \
14775 \.) \
14776 srcdiroption="--srcdir=."; \
14777 libsrcdir=".";; \
14778 /* | [A-Za-z]:[\\/]*) \
14779 srcdiroption="--srcdir=$(srcdir)/m4"; \
14780 libsrcdir="$$s/m4";; \
14781 *) \
14782 srcdiroption="--srcdir=../$(srcdir)/m4"; \
14783 libsrcdir="$$s/m4";; \
14784 esac; \
14785 $(SHELL) $${libsrcdir}/configure \
14786 $(HOST_CONFIGARGS) $${srcdiroption} \
14787 || exit 1
14788 @endif m4
14790 .PHONY: all-m4 maybe-all-m4
14791 maybe-all-m4:
14792 @if m4
14793 TARGET-m4=all
14794 maybe-all-m4: all-m4
14795 all-m4: configure-m4
14796 @r=`${PWD_COMMAND}`; export r; \
14797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14798 $(SET_LIB_PATH) \
14799 $(HOST_EXPORTS) \
14800 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) \
14801 $(TARGET-m4))
14802 @endif m4
14804 .PHONY: check-m4 maybe-check-m4
14805 maybe-check-m4:
14806 @if m4
14807 maybe-check-m4: check-m4
14809 check-m4:
14810 @r=`${PWD_COMMAND}`; export r; \
14811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14812 $(SET_LIB_PATH) \
14813 $(HOST_EXPORTS) \
14814 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
14816 @endif m4
14818 .PHONY: install-m4 maybe-install-m4
14819 maybe-install-m4:
14820 @if m4
14821 maybe-install-m4: install-m4
14823 install-m4: installdirs
14824 @r=`${PWD_COMMAND}`; export r; \
14825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14826 $(SET_LIB_PATH) \
14827 $(HOST_EXPORTS) \
14828 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
14830 @endif m4
14832 # Other targets (info, dvi, etc.)
14834 .PHONY: maybe-info-m4 info-m4
14835 maybe-info-m4:
14836 @if m4
14837 maybe-info-m4: info-m4
14839 info-m4: \
14840 configure-m4
14841 @[ -f ./m4/Makefile ] || exit 0; \
14842 r=`${PWD_COMMAND}`; export r; \
14843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14844 $(SET_LIB_PATH) \
14845 $(HOST_EXPORTS) \
14846 for flag in $(EXTRA_HOST_FLAGS) ; do \
14847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14848 done; \
14849 echo "Doing info in m4" ; \
14850 (cd m4 && \
14851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14853 "RANLIB=$${RANLIB}" \
14854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14855 info) \
14856 || exit 1
14858 @endif m4
14860 .PHONY: maybe-dvi-m4 dvi-m4
14861 maybe-dvi-m4:
14862 @if m4
14863 maybe-dvi-m4: dvi-m4
14865 dvi-m4: \
14866 configure-m4
14867 @[ -f ./m4/Makefile ] || exit 0; \
14868 r=`${PWD_COMMAND}`; export r; \
14869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14870 $(SET_LIB_PATH) \
14871 $(HOST_EXPORTS) \
14872 for flag in $(EXTRA_HOST_FLAGS) ; do \
14873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14874 done; \
14875 echo "Doing dvi in m4" ; \
14876 (cd m4 && \
14877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14879 "RANLIB=$${RANLIB}" \
14880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14881 dvi) \
14882 || exit 1
14884 @endif m4
14886 .PHONY: maybe-html-m4 html-m4
14887 maybe-html-m4:
14888 @if m4
14889 maybe-html-m4: html-m4
14891 html-m4: \
14892 configure-m4
14893 @[ -f ./m4/Makefile ] || exit 0; \
14894 r=`${PWD_COMMAND}`; export r; \
14895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14896 $(SET_LIB_PATH) \
14897 $(HOST_EXPORTS) \
14898 for flag in $(EXTRA_HOST_FLAGS) ; do \
14899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14900 done; \
14901 echo "Doing html in m4" ; \
14902 (cd m4 && \
14903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14905 "RANLIB=$${RANLIB}" \
14906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14907 html) \
14908 || exit 1
14910 @endif m4
14912 .PHONY: maybe-TAGS-m4 TAGS-m4
14913 maybe-TAGS-m4:
14914 @if m4
14915 maybe-TAGS-m4: TAGS-m4
14917 TAGS-m4: \
14918 configure-m4
14919 @[ -f ./m4/Makefile ] || exit 0; \
14920 r=`${PWD_COMMAND}`; export r; \
14921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14922 $(SET_LIB_PATH) \
14923 $(HOST_EXPORTS) \
14924 for flag in $(EXTRA_HOST_FLAGS) ; do \
14925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14926 done; \
14927 echo "Doing TAGS in m4" ; \
14928 (cd m4 && \
14929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14931 "RANLIB=$${RANLIB}" \
14932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14933 TAGS) \
14934 || exit 1
14936 @endif m4
14938 .PHONY: maybe-install-info-m4 install-info-m4
14939 maybe-install-info-m4:
14940 @if m4
14941 maybe-install-info-m4: install-info-m4
14943 install-info-m4: \
14944 configure-m4 \
14945 info-m4
14946 @[ -f ./m4/Makefile ] || exit 0; \
14947 r=`${PWD_COMMAND}`; export r; \
14948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14949 $(SET_LIB_PATH) \
14950 $(HOST_EXPORTS) \
14951 for flag in $(EXTRA_HOST_FLAGS) ; do \
14952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14953 done; \
14954 echo "Doing install-info in m4" ; \
14955 (cd m4 && \
14956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14958 "RANLIB=$${RANLIB}" \
14959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14960 install-info) \
14961 || exit 1
14963 @endif m4
14965 .PHONY: maybe-installcheck-m4 installcheck-m4
14966 maybe-installcheck-m4:
14967 @if m4
14968 maybe-installcheck-m4: installcheck-m4
14970 installcheck-m4: \
14971 configure-m4
14972 @[ -f ./m4/Makefile ] || exit 0; \
14973 r=`${PWD_COMMAND}`; export r; \
14974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14975 $(SET_LIB_PATH) \
14976 $(HOST_EXPORTS) \
14977 for flag in $(EXTRA_HOST_FLAGS) ; do \
14978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14979 done; \
14980 echo "Doing installcheck in m4" ; \
14981 (cd m4 && \
14982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14984 "RANLIB=$${RANLIB}" \
14985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14986 installcheck) \
14987 || exit 1
14989 @endif m4
14991 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
14992 maybe-mostlyclean-m4:
14993 @if m4
14994 maybe-mostlyclean-m4: mostlyclean-m4
14996 mostlyclean-m4:
14997 @[ -f ./m4/Makefile ] || exit 0; \
14998 r=`${PWD_COMMAND}`; export r; \
14999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15000 $(SET_LIB_PATH) \
15001 $(HOST_EXPORTS) \
15002 for flag in $(EXTRA_HOST_FLAGS) ; do \
15003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15004 done; \
15005 echo "Doing mostlyclean in m4" ; \
15006 (cd m4 && \
15007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15009 "RANLIB=$${RANLIB}" \
15010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15011 mostlyclean) \
15012 || exit 1
15014 @endif m4
15016 .PHONY: maybe-clean-m4 clean-m4
15017 maybe-clean-m4:
15018 @if m4
15019 maybe-clean-m4: clean-m4
15021 clean-m4:
15022 @[ -f ./m4/Makefile ] || exit 0; \
15023 r=`${PWD_COMMAND}`; export r; \
15024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15025 $(SET_LIB_PATH) \
15026 $(HOST_EXPORTS) \
15027 for flag in $(EXTRA_HOST_FLAGS) ; do \
15028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15029 done; \
15030 echo "Doing clean in m4" ; \
15031 (cd m4 && \
15032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15034 "RANLIB=$${RANLIB}" \
15035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15036 clean) \
15037 || exit 1
15039 @endif m4
15041 .PHONY: maybe-distclean-m4 distclean-m4
15042 maybe-distclean-m4:
15043 @if m4
15044 maybe-distclean-m4: distclean-m4
15046 distclean-m4:
15047 @[ -f ./m4/Makefile ] || exit 0; \
15048 r=`${PWD_COMMAND}`; export r; \
15049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15050 $(SET_LIB_PATH) \
15051 $(HOST_EXPORTS) \
15052 for flag in $(EXTRA_HOST_FLAGS) ; do \
15053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15054 done; \
15055 echo "Doing distclean in m4" ; \
15056 (cd m4 && \
15057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15059 "RANLIB=$${RANLIB}" \
15060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15061 distclean) \
15062 || exit 1
15064 @endif m4
15066 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
15067 maybe-maintainer-clean-m4:
15068 @if m4
15069 maybe-maintainer-clean-m4: maintainer-clean-m4
15071 maintainer-clean-m4:
15072 @[ -f ./m4/Makefile ] || exit 0; \
15073 r=`${PWD_COMMAND}`; export r; \
15074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15075 $(SET_LIB_PATH) \
15076 $(HOST_EXPORTS) \
15077 for flag in $(EXTRA_HOST_FLAGS) ; do \
15078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15079 done; \
15080 echo "Doing maintainer-clean in m4" ; \
15081 (cd m4 && \
15082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15084 "RANLIB=$${RANLIB}" \
15085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15086 maintainer-clean) \
15087 || exit 1
15089 @endif m4
15092 .PHONY: configure-make maybe-configure-make
15093 maybe-configure-make:
15094 @if make
15095 maybe-configure-make: configure-make
15096 configure-make:
15097 @test ! -f make/Makefile || exit 0; \
15098 [ -d make ] || mkdir make; \
15099 r=`${PWD_COMMAND}`; export r; \
15100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15101 $(HOST_EXPORTS) \
15102 echo Configuring in make; \
15103 cd make || exit 1; \
15104 case $(srcdir) in \
15105 \.) \
15106 srcdiroption="--srcdir=."; \
15107 libsrcdir=".";; \
15108 /* | [A-Za-z]:[\\/]*) \
15109 srcdiroption="--srcdir=$(srcdir)/make"; \
15110 libsrcdir="$$s/make";; \
15111 *) \
15112 srcdiroption="--srcdir=../$(srcdir)/make"; \
15113 libsrcdir="$$s/make";; \
15114 esac; \
15115 $(SHELL) $${libsrcdir}/configure \
15116 $(HOST_CONFIGARGS) $${srcdiroption} \
15117 || exit 1
15118 @endif make
15120 .PHONY: all-make maybe-all-make
15121 maybe-all-make:
15122 @if make
15123 TARGET-make=all
15124 maybe-all-make: all-make
15125 all-make: configure-make
15126 @r=`${PWD_COMMAND}`; export r; \
15127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15128 $(SET_LIB_PATH) \
15129 $(HOST_EXPORTS) \
15130 (cd make && $(MAKE) $(FLAGS_TO_PASS) \
15131 $(TARGET-make))
15132 @endif make
15134 .PHONY: check-make maybe-check-make
15135 maybe-check-make:
15136 @if make
15137 maybe-check-make: check-make
15139 check-make:
15140 @r=`${PWD_COMMAND}`; export r; \
15141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15142 $(SET_LIB_PATH) \
15143 $(HOST_EXPORTS) \
15144 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
15146 @endif make
15148 .PHONY: install-make maybe-install-make
15149 maybe-install-make:
15150 @if make
15151 maybe-install-make: install-make
15153 install-make: installdirs
15154 @r=`${PWD_COMMAND}`; export r; \
15155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15156 $(SET_LIB_PATH) \
15157 $(HOST_EXPORTS) \
15158 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
15160 @endif make
15162 # Other targets (info, dvi, etc.)
15164 .PHONY: maybe-info-make info-make
15165 maybe-info-make:
15166 @if make
15167 maybe-info-make: info-make
15169 info-make: \
15170 configure-make
15171 @[ -f ./make/Makefile ] || exit 0; \
15172 r=`${PWD_COMMAND}`; export r; \
15173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15174 $(SET_LIB_PATH) \
15175 $(HOST_EXPORTS) \
15176 for flag in $(EXTRA_HOST_FLAGS) ; do \
15177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15178 done; \
15179 echo "Doing info in make" ; \
15180 (cd make && \
15181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15183 "RANLIB=$${RANLIB}" \
15184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15185 info) \
15186 || exit 1
15188 @endif make
15190 .PHONY: maybe-dvi-make dvi-make
15191 maybe-dvi-make:
15192 @if make
15193 maybe-dvi-make: dvi-make
15195 dvi-make: \
15196 configure-make
15197 @[ -f ./make/Makefile ] || exit 0; \
15198 r=`${PWD_COMMAND}`; export r; \
15199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15200 $(SET_LIB_PATH) \
15201 $(HOST_EXPORTS) \
15202 for flag in $(EXTRA_HOST_FLAGS) ; do \
15203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15204 done; \
15205 echo "Doing dvi in make" ; \
15206 (cd make && \
15207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15209 "RANLIB=$${RANLIB}" \
15210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15211 dvi) \
15212 || exit 1
15214 @endif make
15216 .PHONY: maybe-html-make html-make
15217 maybe-html-make:
15218 @if make
15219 maybe-html-make: html-make
15221 html-make: \
15222 configure-make
15223 @[ -f ./make/Makefile ] || exit 0; \
15224 r=`${PWD_COMMAND}`; export r; \
15225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15226 $(SET_LIB_PATH) \
15227 $(HOST_EXPORTS) \
15228 for flag in $(EXTRA_HOST_FLAGS) ; do \
15229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15230 done; \
15231 echo "Doing html in make" ; \
15232 (cd make && \
15233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15235 "RANLIB=$${RANLIB}" \
15236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15237 html) \
15238 || exit 1
15240 @endif make
15242 .PHONY: maybe-TAGS-make TAGS-make
15243 maybe-TAGS-make:
15244 @if make
15245 maybe-TAGS-make: TAGS-make
15247 TAGS-make: \
15248 configure-make
15249 @[ -f ./make/Makefile ] || exit 0; \
15250 r=`${PWD_COMMAND}`; export r; \
15251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15252 $(SET_LIB_PATH) \
15253 $(HOST_EXPORTS) \
15254 for flag in $(EXTRA_HOST_FLAGS) ; do \
15255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15256 done; \
15257 echo "Doing TAGS in make" ; \
15258 (cd make && \
15259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15261 "RANLIB=$${RANLIB}" \
15262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15263 TAGS) \
15264 || exit 1
15266 @endif make
15268 .PHONY: maybe-install-info-make install-info-make
15269 maybe-install-info-make:
15270 @if make
15271 maybe-install-info-make: install-info-make
15273 install-info-make: \
15274 configure-make \
15275 info-make
15276 @[ -f ./make/Makefile ] || exit 0; \
15277 r=`${PWD_COMMAND}`; export r; \
15278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15279 $(SET_LIB_PATH) \
15280 $(HOST_EXPORTS) \
15281 for flag in $(EXTRA_HOST_FLAGS) ; do \
15282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15283 done; \
15284 echo "Doing install-info in make" ; \
15285 (cd make && \
15286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15288 "RANLIB=$${RANLIB}" \
15289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15290 install-info) \
15291 || exit 1
15293 @endif make
15295 .PHONY: maybe-installcheck-make installcheck-make
15296 maybe-installcheck-make:
15297 @if make
15298 maybe-installcheck-make: installcheck-make
15300 installcheck-make: \
15301 configure-make
15302 @[ -f ./make/Makefile ] || exit 0; \
15303 r=`${PWD_COMMAND}`; export r; \
15304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15305 $(SET_LIB_PATH) \
15306 $(HOST_EXPORTS) \
15307 for flag in $(EXTRA_HOST_FLAGS) ; do \
15308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15309 done; \
15310 echo "Doing installcheck in make" ; \
15311 (cd make && \
15312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15314 "RANLIB=$${RANLIB}" \
15315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15316 installcheck) \
15317 || exit 1
15319 @endif make
15321 .PHONY: maybe-mostlyclean-make mostlyclean-make
15322 maybe-mostlyclean-make:
15323 @if make
15324 maybe-mostlyclean-make: mostlyclean-make
15326 mostlyclean-make:
15327 @[ -f ./make/Makefile ] || exit 0; \
15328 r=`${PWD_COMMAND}`; export r; \
15329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15330 $(SET_LIB_PATH) \
15331 $(HOST_EXPORTS) \
15332 for flag in $(EXTRA_HOST_FLAGS) ; do \
15333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15334 done; \
15335 echo "Doing mostlyclean in make" ; \
15336 (cd make && \
15337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15339 "RANLIB=$${RANLIB}" \
15340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15341 mostlyclean) \
15342 || exit 1
15344 @endif make
15346 .PHONY: maybe-clean-make clean-make
15347 maybe-clean-make:
15348 @if make
15349 maybe-clean-make: clean-make
15351 clean-make:
15352 @[ -f ./make/Makefile ] || exit 0; \
15353 r=`${PWD_COMMAND}`; export r; \
15354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15355 $(SET_LIB_PATH) \
15356 $(HOST_EXPORTS) \
15357 for flag in $(EXTRA_HOST_FLAGS) ; do \
15358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15359 done; \
15360 echo "Doing clean in make" ; \
15361 (cd make && \
15362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15364 "RANLIB=$${RANLIB}" \
15365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15366 clean) \
15367 || exit 1
15369 @endif make
15371 .PHONY: maybe-distclean-make distclean-make
15372 maybe-distclean-make:
15373 @if make
15374 maybe-distclean-make: distclean-make
15376 distclean-make:
15377 @[ -f ./make/Makefile ] || exit 0; \
15378 r=`${PWD_COMMAND}`; export r; \
15379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15380 $(SET_LIB_PATH) \
15381 $(HOST_EXPORTS) \
15382 for flag in $(EXTRA_HOST_FLAGS) ; do \
15383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15384 done; \
15385 echo "Doing distclean in make" ; \
15386 (cd make && \
15387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15389 "RANLIB=$${RANLIB}" \
15390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15391 distclean) \
15392 || exit 1
15394 @endif make
15396 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
15397 maybe-maintainer-clean-make:
15398 @if make
15399 maybe-maintainer-clean-make: maintainer-clean-make
15401 maintainer-clean-make:
15402 @[ -f ./make/Makefile ] || exit 0; \
15403 r=`${PWD_COMMAND}`; export r; \
15404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15405 $(SET_LIB_PATH) \
15406 $(HOST_EXPORTS) \
15407 for flag in $(EXTRA_HOST_FLAGS) ; do \
15408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15409 done; \
15410 echo "Doing maintainer-clean in make" ; \
15411 (cd make && \
15412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15414 "RANLIB=$${RANLIB}" \
15415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15416 maintainer-clean) \
15417 || exit 1
15419 @endif make
15422 .PHONY: configure-mmalloc maybe-configure-mmalloc
15423 maybe-configure-mmalloc:
15424 @if mmalloc
15425 maybe-configure-mmalloc: configure-mmalloc
15426 configure-mmalloc:
15427 @test ! -f mmalloc/Makefile || exit 0; \
15428 [ -d mmalloc ] || mkdir mmalloc; \
15429 r=`${PWD_COMMAND}`; export r; \
15430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15431 $(HOST_EXPORTS) \
15432 echo Configuring in mmalloc; \
15433 cd mmalloc || exit 1; \
15434 case $(srcdir) in \
15435 \.) \
15436 srcdiroption="--srcdir=."; \
15437 libsrcdir=".";; \
15438 /* | [A-Za-z]:[\\/]*) \
15439 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
15440 libsrcdir="$$s/mmalloc";; \
15441 *) \
15442 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
15443 libsrcdir="$$s/mmalloc";; \
15444 esac; \
15445 $(SHELL) $${libsrcdir}/configure \
15446 $(HOST_CONFIGARGS) $${srcdiroption} \
15447 || exit 1
15448 @endif mmalloc
15450 .PHONY: all-mmalloc maybe-all-mmalloc
15451 maybe-all-mmalloc:
15452 @if mmalloc
15453 TARGET-mmalloc=all
15454 maybe-all-mmalloc: all-mmalloc
15455 all-mmalloc: configure-mmalloc
15456 @r=`${PWD_COMMAND}`; export r; \
15457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15458 $(SET_LIB_PATH) \
15459 $(HOST_EXPORTS) \
15460 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) \
15461 $(TARGET-mmalloc))
15462 @endif mmalloc
15464 .PHONY: check-mmalloc maybe-check-mmalloc
15465 maybe-check-mmalloc:
15466 @if mmalloc
15467 maybe-check-mmalloc: check-mmalloc
15469 check-mmalloc:
15471 @endif mmalloc
15473 .PHONY: install-mmalloc maybe-install-mmalloc
15474 maybe-install-mmalloc:
15475 @if mmalloc
15476 maybe-install-mmalloc: install-mmalloc
15478 install-mmalloc: installdirs
15479 @r=`${PWD_COMMAND}`; export r; \
15480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15481 $(SET_LIB_PATH) \
15482 $(HOST_EXPORTS) \
15483 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
15485 @endif mmalloc
15487 # Other targets (info, dvi, etc.)
15489 .PHONY: maybe-info-mmalloc info-mmalloc
15490 maybe-info-mmalloc:
15491 @if mmalloc
15492 maybe-info-mmalloc: info-mmalloc
15494 info-mmalloc: \
15495 configure-mmalloc
15496 @[ -f ./mmalloc/Makefile ] || exit 0; \
15497 r=`${PWD_COMMAND}`; export r; \
15498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15499 $(SET_LIB_PATH) \
15500 $(HOST_EXPORTS) \
15501 for flag in $(EXTRA_HOST_FLAGS) ; do \
15502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15503 done; \
15504 echo "Doing info in mmalloc" ; \
15505 (cd mmalloc && \
15506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15508 "RANLIB=$${RANLIB}" \
15509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15510 info) \
15511 || exit 1
15513 @endif mmalloc
15515 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
15516 maybe-dvi-mmalloc:
15517 @if mmalloc
15518 maybe-dvi-mmalloc: dvi-mmalloc
15520 dvi-mmalloc: \
15521 configure-mmalloc
15522 @[ -f ./mmalloc/Makefile ] || exit 0; \
15523 r=`${PWD_COMMAND}`; export r; \
15524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15525 $(SET_LIB_PATH) \
15526 $(HOST_EXPORTS) \
15527 for flag in $(EXTRA_HOST_FLAGS) ; do \
15528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15529 done; \
15530 echo "Doing dvi in mmalloc" ; \
15531 (cd mmalloc && \
15532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15534 "RANLIB=$${RANLIB}" \
15535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15536 dvi) \
15537 || exit 1
15539 @endif mmalloc
15541 .PHONY: maybe-html-mmalloc html-mmalloc
15542 maybe-html-mmalloc:
15543 @if mmalloc
15544 maybe-html-mmalloc: html-mmalloc
15546 html-mmalloc: \
15547 configure-mmalloc
15548 @[ -f ./mmalloc/Makefile ] || exit 0; \
15549 r=`${PWD_COMMAND}`; export r; \
15550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15551 $(SET_LIB_PATH) \
15552 $(HOST_EXPORTS) \
15553 for flag in $(EXTRA_HOST_FLAGS) ; do \
15554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15555 done; \
15556 echo "Doing html in mmalloc" ; \
15557 (cd mmalloc && \
15558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15560 "RANLIB=$${RANLIB}" \
15561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15562 html) \
15563 || exit 1
15565 @endif mmalloc
15567 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
15568 maybe-TAGS-mmalloc:
15569 @if mmalloc
15570 maybe-TAGS-mmalloc: TAGS-mmalloc
15572 TAGS-mmalloc: \
15573 configure-mmalloc
15574 @[ -f ./mmalloc/Makefile ] || exit 0; \
15575 r=`${PWD_COMMAND}`; export r; \
15576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15577 $(SET_LIB_PATH) \
15578 $(HOST_EXPORTS) \
15579 for flag in $(EXTRA_HOST_FLAGS) ; do \
15580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15581 done; \
15582 echo "Doing TAGS in mmalloc" ; \
15583 (cd mmalloc && \
15584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15586 "RANLIB=$${RANLIB}" \
15587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15588 TAGS) \
15589 || exit 1
15591 @endif mmalloc
15593 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
15594 maybe-install-info-mmalloc:
15595 @if mmalloc
15596 maybe-install-info-mmalloc: install-info-mmalloc
15598 install-info-mmalloc: \
15599 configure-mmalloc \
15600 info-mmalloc
15601 @[ -f ./mmalloc/Makefile ] || exit 0; \
15602 r=`${PWD_COMMAND}`; export r; \
15603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15604 $(SET_LIB_PATH) \
15605 $(HOST_EXPORTS) \
15606 for flag in $(EXTRA_HOST_FLAGS) ; do \
15607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15608 done; \
15609 echo "Doing install-info in mmalloc" ; \
15610 (cd mmalloc && \
15611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15613 "RANLIB=$${RANLIB}" \
15614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15615 install-info) \
15616 || exit 1
15618 @endif mmalloc
15620 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
15621 maybe-installcheck-mmalloc:
15622 @if mmalloc
15623 maybe-installcheck-mmalloc: installcheck-mmalloc
15625 installcheck-mmalloc: \
15626 configure-mmalloc
15627 @[ -f ./mmalloc/Makefile ] || exit 0; \
15628 r=`${PWD_COMMAND}`; export r; \
15629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15630 $(SET_LIB_PATH) \
15631 $(HOST_EXPORTS) \
15632 for flag in $(EXTRA_HOST_FLAGS) ; do \
15633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15634 done; \
15635 echo "Doing installcheck in mmalloc" ; \
15636 (cd mmalloc && \
15637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15639 "RANLIB=$${RANLIB}" \
15640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15641 installcheck) \
15642 || exit 1
15644 @endif mmalloc
15646 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
15647 maybe-mostlyclean-mmalloc:
15648 @if mmalloc
15649 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
15651 mostlyclean-mmalloc:
15652 @[ -f ./mmalloc/Makefile ] || exit 0; \
15653 r=`${PWD_COMMAND}`; export r; \
15654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15655 $(SET_LIB_PATH) \
15656 $(HOST_EXPORTS) \
15657 for flag in $(EXTRA_HOST_FLAGS) ; do \
15658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15659 done; \
15660 echo "Doing mostlyclean in mmalloc" ; \
15661 (cd mmalloc && \
15662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15664 "RANLIB=$${RANLIB}" \
15665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15666 mostlyclean) \
15667 || exit 1
15669 @endif mmalloc
15671 .PHONY: maybe-clean-mmalloc clean-mmalloc
15672 maybe-clean-mmalloc:
15673 @if mmalloc
15674 maybe-clean-mmalloc: clean-mmalloc
15676 clean-mmalloc:
15677 @[ -f ./mmalloc/Makefile ] || exit 0; \
15678 r=`${PWD_COMMAND}`; export r; \
15679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15680 $(SET_LIB_PATH) \
15681 $(HOST_EXPORTS) \
15682 for flag in $(EXTRA_HOST_FLAGS) ; do \
15683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15684 done; \
15685 echo "Doing clean in mmalloc" ; \
15686 (cd mmalloc && \
15687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15689 "RANLIB=$${RANLIB}" \
15690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15691 clean) \
15692 || exit 1
15694 @endif mmalloc
15696 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
15697 maybe-distclean-mmalloc:
15698 @if mmalloc
15699 maybe-distclean-mmalloc: distclean-mmalloc
15701 distclean-mmalloc:
15702 @[ -f ./mmalloc/Makefile ] || exit 0; \
15703 r=`${PWD_COMMAND}`; export r; \
15704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15705 $(SET_LIB_PATH) \
15706 $(HOST_EXPORTS) \
15707 for flag in $(EXTRA_HOST_FLAGS) ; do \
15708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15709 done; \
15710 echo "Doing distclean in mmalloc" ; \
15711 (cd mmalloc && \
15712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15714 "RANLIB=$${RANLIB}" \
15715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15716 distclean) \
15717 || exit 1
15719 @endif mmalloc
15721 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
15722 maybe-maintainer-clean-mmalloc:
15723 @if mmalloc
15724 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
15726 maintainer-clean-mmalloc:
15727 @[ -f ./mmalloc/Makefile ] || exit 0; \
15728 r=`${PWD_COMMAND}`; export r; \
15729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15730 $(SET_LIB_PATH) \
15731 $(HOST_EXPORTS) \
15732 for flag in $(EXTRA_HOST_FLAGS) ; do \
15733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15734 done; \
15735 echo "Doing maintainer-clean in mmalloc" ; \
15736 (cd mmalloc && \
15737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15739 "RANLIB=$${RANLIB}" \
15740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15741 maintainer-clean) \
15742 || exit 1
15744 @endif mmalloc
15747 .PHONY: configure-patch maybe-configure-patch
15748 maybe-configure-patch:
15749 @if patch
15750 maybe-configure-patch: configure-patch
15751 configure-patch:
15752 @test ! -f patch/Makefile || exit 0; \
15753 [ -d patch ] || mkdir patch; \
15754 r=`${PWD_COMMAND}`; export r; \
15755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15756 $(HOST_EXPORTS) \
15757 echo Configuring in patch; \
15758 cd patch || exit 1; \
15759 case $(srcdir) in \
15760 \.) \
15761 srcdiroption="--srcdir=."; \
15762 libsrcdir=".";; \
15763 /* | [A-Za-z]:[\\/]*) \
15764 srcdiroption="--srcdir=$(srcdir)/patch"; \
15765 libsrcdir="$$s/patch";; \
15766 *) \
15767 srcdiroption="--srcdir=../$(srcdir)/patch"; \
15768 libsrcdir="$$s/patch";; \
15769 esac; \
15770 $(SHELL) $${libsrcdir}/configure \
15771 $(HOST_CONFIGARGS) $${srcdiroption} \
15772 || exit 1
15773 @endif patch
15775 .PHONY: all-patch maybe-all-patch
15776 maybe-all-patch:
15777 @if patch
15778 TARGET-patch=all
15779 maybe-all-patch: all-patch
15780 all-patch: configure-patch
15781 @r=`${PWD_COMMAND}`; export r; \
15782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15783 $(SET_LIB_PATH) \
15784 $(HOST_EXPORTS) \
15785 (cd patch && $(MAKE) $(FLAGS_TO_PASS) \
15786 $(TARGET-patch))
15787 @endif patch
15789 .PHONY: check-patch maybe-check-patch
15790 maybe-check-patch:
15791 @if patch
15792 maybe-check-patch: check-patch
15794 check-patch:
15795 @r=`${PWD_COMMAND}`; export r; \
15796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15797 $(SET_LIB_PATH) \
15798 $(HOST_EXPORTS) \
15799 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
15801 @endif patch
15803 .PHONY: install-patch maybe-install-patch
15804 maybe-install-patch:
15805 @if patch
15806 maybe-install-patch: install-patch
15808 install-patch: installdirs
15809 @r=`${PWD_COMMAND}`; export r; \
15810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15811 $(SET_LIB_PATH) \
15812 $(HOST_EXPORTS) \
15813 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
15815 @endif patch
15817 # Other targets (info, dvi, etc.)
15819 .PHONY: maybe-info-patch info-patch
15820 maybe-info-patch:
15821 @if patch
15822 maybe-info-patch: info-patch
15824 info-patch: \
15825 configure-patch
15826 @[ -f ./patch/Makefile ] || exit 0; \
15827 r=`${PWD_COMMAND}`; export r; \
15828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15829 $(SET_LIB_PATH) \
15830 $(HOST_EXPORTS) \
15831 for flag in $(EXTRA_HOST_FLAGS) ; do \
15832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15833 done; \
15834 echo "Doing info in patch" ; \
15835 (cd patch && \
15836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15838 "RANLIB=$${RANLIB}" \
15839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15840 info) \
15841 || exit 1
15843 @endif patch
15845 .PHONY: maybe-dvi-patch dvi-patch
15846 maybe-dvi-patch:
15847 @if patch
15848 maybe-dvi-patch: dvi-patch
15850 dvi-patch: \
15851 configure-patch
15852 @[ -f ./patch/Makefile ] || exit 0; \
15853 r=`${PWD_COMMAND}`; export r; \
15854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15855 $(SET_LIB_PATH) \
15856 $(HOST_EXPORTS) \
15857 for flag in $(EXTRA_HOST_FLAGS) ; do \
15858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15859 done; \
15860 echo "Doing dvi in patch" ; \
15861 (cd patch && \
15862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15864 "RANLIB=$${RANLIB}" \
15865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15866 dvi) \
15867 || exit 1
15869 @endif patch
15871 .PHONY: maybe-html-patch html-patch
15872 maybe-html-patch:
15873 @if patch
15874 maybe-html-patch: html-patch
15876 html-patch: \
15877 configure-patch
15878 @[ -f ./patch/Makefile ] || exit 0; \
15879 r=`${PWD_COMMAND}`; export r; \
15880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15881 $(SET_LIB_PATH) \
15882 $(HOST_EXPORTS) \
15883 for flag in $(EXTRA_HOST_FLAGS) ; do \
15884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15885 done; \
15886 echo "Doing html in patch" ; \
15887 (cd patch && \
15888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15890 "RANLIB=$${RANLIB}" \
15891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15892 html) \
15893 || exit 1
15895 @endif patch
15897 .PHONY: maybe-TAGS-patch TAGS-patch
15898 maybe-TAGS-patch:
15899 @if patch
15900 maybe-TAGS-patch: TAGS-patch
15902 TAGS-patch: \
15903 configure-patch
15904 @[ -f ./patch/Makefile ] || exit 0; \
15905 r=`${PWD_COMMAND}`; export r; \
15906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15907 $(SET_LIB_PATH) \
15908 $(HOST_EXPORTS) \
15909 for flag in $(EXTRA_HOST_FLAGS) ; do \
15910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15911 done; \
15912 echo "Doing TAGS in patch" ; \
15913 (cd patch && \
15914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15916 "RANLIB=$${RANLIB}" \
15917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15918 TAGS) \
15919 || exit 1
15921 @endif patch
15923 .PHONY: maybe-install-info-patch install-info-patch
15924 maybe-install-info-patch:
15925 @if patch
15926 maybe-install-info-patch: install-info-patch
15928 install-info-patch: \
15929 configure-patch \
15930 info-patch
15931 @[ -f ./patch/Makefile ] || exit 0; \
15932 r=`${PWD_COMMAND}`; export r; \
15933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15934 $(SET_LIB_PATH) \
15935 $(HOST_EXPORTS) \
15936 for flag in $(EXTRA_HOST_FLAGS) ; do \
15937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15938 done; \
15939 echo "Doing install-info in patch" ; \
15940 (cd patch && \
15941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15943 "RANLIB=$${RANLIB}" \
15944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15945 install-info) \
15946 || exit 1
15948 @endif patch
15950 .PHONY: maybe-installcheck-patch installcheck-patch
15951 maybe-installcheck-patch:
15952 @if patch
15953 maybe-installcheck-patch: installcheck-patch
15955 installcheck-patch: \
15956 configure-patch
15957 @[ -f ./patch/Makefile ] || exit 0; \
15958 r=`${PWD_COMMAND}`; export r; \
15959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15960 $(SET_LIB_PATH) \
15961 $(HOST_EXPORTS) \
15962 for flag in $(EXTRA_HOST_FLAGS) ; do \
15963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15964 done; \
15965 echo "Doing installcheck in patch" ; \
15966 (cd patch && \
15967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15969 "RANLIB=$${RANLIB}" \
15970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15971 installcheck) \
15972 || exit 1
15974 @endif patch
15976 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
15977 maybe-mostlyclean-patch:
15978 @if patch
15979 maybe-mostlyclean-patch: mostlyclean-patch
15981 mostlyclean-patch:
15982 @[ -f ./patch/Makefile ] || exit 0; \
15983 r=`${PWD_COMMAND}`; export r; \
15984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15985 $(SET_LIB_PATH) \
15986 $(HOST_EXPORTS) \
15987 for flag in $(EXTRA_HOST_FLAGS) ; do \
15988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15989 done; \
15990 echo "Doing mostlyclean in patch" ; \
15991 (cd patch && \
15992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15994 "RANLIB=$${RANLIB}" \
15995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15996 mostlyclean) \
15997 || exit 1
15999 @endif patch
16001 .PHONY: maybe-clean-patch clean-patch
16002 maybe-clean-patch:
16003 @if patch
16004 maybe-clean-patch: clean-patch
16006 clean-patch:
16007 @[ -f ./patch/Makefile ] || exit 0; \
16008 r=`${PWD_COMMAND}`; export r; \
16009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16010 $(SET_LIB_PATH) \
16011 $(HOST_EXPORTS) \
16012 for flag in $(EXTRA_HOST_FLAGS) ; do \
16013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16014 done; \
16015 echo "Doing clean in patch" ; \
16016 (cd patch && \
16017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16019 "RANLIB=$${RANLIB}" \
16020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16021 clean) \
16022 || exit 1
16024 @endif patch
16026 .PHONY: maybe-distclean-patch distclean-patch
16027 maybe-distclean-patch:
16028 @if patch
16029 maybe-distclean-patch: distclean-patch
16031 distclean-patch:
16032 @[ -f ./patch/Makefile ] || exit 0; \
16033 r=`${PWD_COMMAND}`; export r; \
16034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16035 $(SET_LIB_PATH) \
16036 $(HOST_EXPORTS) \
16037 for flag in $(EXTRA_HOST_FLAGS) ; do \
16038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16039 done; \
16040 echo "Doing distclean in patch" ; \
16041 (cd patch && \
16042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16044 "RANLIB=$${RANLIB}" \
16045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16046 distclean) \
16047 || exit 1
16049 @endif patch
16051 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
16052 maybe-maintainer-clean-patch:
16053 @if patch
16054 maybe-maintainer-clean-patch: maintainer-clean-patch
16056 maintainer-clean-patch:
16057 @[ -f ./patch/Makefile ] || exit 0; \
16058 r=`${PWD_COMMAND}`; export r; \
16059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16060 $(SET_LIB_PATH) \
16061 $(HOST_EXPORTS) \
16062 for flag in $(EXTRA_HOST_FLAGS) ; do \
16063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16064 done; \
16065 echo "Doing maintainer-clean in patch" ; \
16066 (cd patch && \
16067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16069 "RANLIB=$${RANLIB}" \
16070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16071 maintainer-clean) \
16072 || exit 1
16074 @endif patch
16077 .PHONY: configure-perl maybe-configure-perl
16078 maybe-configure-perl:
16079 @if perl
16080 maybe-configure-perl: configure-perl
16081 configure-perl:
16082 @test ! -f perl/Makefile || exit 0; \
16083 [ -d perl ] || mkdir perl; \
16084 r=`${PWD_COMMAND}`; export r; \
16085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16086 $(HOST_EXPORTS) \
16087 echo Configuring in perl; \
16088 cd perl || exit 1; \
16089 case $(srcdir) in \
16090 \.) \
16091 srcdiroption="--srcdir=."; \
16092 libsrcdir=".";; \
16093 /* | [A-Za-z]:[\\/]*) \
16094 srcdiroption="--srcdir=$(srcdir)/perl"; \
16095 libsrcdir="$$s/perl";; \
16096 *) \
16097 srcdiroption="--srcdir=../$(srcdir)/perl"; \
16098 libsrcdir="$$s/perl";; \
16099 esac; \
16100 $(SHELL) $${libsrcdir}/configure \
16101 $(HOST_CONFIGARGS) $${srcdiroption} \
16102 || exit 1
16103 @endif perl
16105 .PHONY: all-perl maybe-all-perl
16106 maybe-all-perl:
16107 @if perl
16108 TARGET-perl=all
16109 maybe-all-perl: all-perl
16110 all-perl: configure-perl
16111 @r=`${PWD_COMMAND}`; export r; \
16112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16113 $(SET_LIB_PATH) \
16114 $(HOST_EXPORTS) \
16115 (cd perl && $(MAKE) $(FLAGS_TO_PASS) \
16116 $(TARGET-perl))
16117 @endif perl
16119 .PHONY: check-perl maybe-check-perl
16120 maybe-check-perl:
16121 @if perl
16122 maybe-check-perl: check-perl
16124 check-perl:
16125 @r=`${PWD_COMMAND}`; export r; \
16126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16127 $(SET_LIB_PATH) \
16128 $(HOST_EXPORTS) \
16129 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
16131 @endif perl
16133 .PHONY: install-perl maybe-install-perl
16134 maybe-install-perl:
16135 @if perl
16136 maybe-install-perl: install-perl
16138 install-perl: installdirs
16139 @r=`${PWD_COMMAND}`; export r; \
16140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16141 $(SET_LIB_PATH) \
16142 $(HOST_EXPORTS) \
16143 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
16145 @endif perl
16147 # Other targets (info, dvi, etc.)
16149 .PHONY: maybe-info-perl info-perl
16150 maybe-info-perl:
16151 @if perl
16152 maybe-info-perl: info-perl
16154 info-perl: \
16155 configure-perl
16156 @[ -f ./perl/Makefile ] || exit 0; \
16157 r=`${PWD_COMMAND}`; export r; \
16158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16159 $(SET_LIB_PATH) \
16160 $(HOST_EXPORTS) \
16161 for flag in $(EXTRA_HOST_FLAGS) ; do \
16162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16163 done; \
16164 echo "Doing info in perl" ; \
16165 (cd perl && \
16166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16168 "RANLIB=$${RANLIB}" \
16169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16170 info) \
16171 || exit 1
16173 @endif perl
16175 .PHONY: maybe-dvi-perl dvi-perl
16176 maybe-dvi-perl:
16177 @if perl
16178 maybe-dvi-perl: dvi-perl
16180 dvi-perl: \
16181 configure-perl
16182 @[ -f ./perl/Makefile ] || exit 0; \
16183 r=`${PWD_COMMAND}`; export r; \
16184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16185 $(SET_LIB_PATH) \
16186 $(HOST_EXPORTS) \
16187 for flag in $(EXTRA_HOST_FLAGS) ; do \
16188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16189 done; \
16190 echo "Doing dvi in perl" ; \
16191 (cd perl && \
16192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16194 "RANLIB=$${RANLIB}" \
16195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16196 dvi) \
16197 || exit 1
16199 @endif perl
16201 .PHONY: maybe-html-perl html-perl
16202 maybe-html-perl:
16203 @if perl
16204 maybe-html-perl: html-perl
16206 html-perl: \
16207 configure-perl
16208 @[ -f ./perl/Makefile ] || exit 0; \
16209 r=`${PWD_COMMAND}`; export r; \
16210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16211 $(SET_LIB_PATH) \
16212 $(HOST_EXPORTS) \
16213 for flag in $(EXTRA_HOST_FLAGS) ; do \
16214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16215 done; \
16216 echo "Doing html in perl" ; \
16217 (cd perl && \
16218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16220 "RANLIB=$${RANLIB}" \
16221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16222 html) \
16223 || exit 1
16225 @endif perl
16227 .PHONY: maybe-TAGS-perl TAGS-perl
16228 maybe-TAGS-perl:
16229 @if perl
16230 maybe-TAGS-perl: TAGS-perl
16232 TAGS-perl: \
16233 configure-perl
16234 @[ -f ./perl/Makefile ] || exit 0; \
16235 r=`${PWD_COMMAND}`; export r; \
16236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16237 $(SET_LIB_PATH) \
16238 $(HOST_EXPORTS) \
16239 for flag in $(EXTRA_HOST_FLAGS) ; do \
16240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16241 done; \
16242 echo "Doing TAGS in perl" ; \
16243 (cd perl && \
16244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16246 "RANLIB=$${RANLIB}" \
16247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16248 TAGS) \
16249 || exit 1
16251 @endif perl
16253 .PHONY: maybe-install-info-perl install-info-perl
16254 maybe-install-info-perl:
16255 @if perl
16256 maybe-install-info-perl: install-info-perl
16258 install-info-perl: \
16259 configure-perl \
16260 info-perl
16261 @[ -f ./perl/Makefile ] || exit 0; \
16262 r=`${PWD_COMMAND}`; export r; \
16263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16264 $(SET_LIB_PATH) \
16265 $(HOST_EXPORTS) \
16266 for flag in $(EXTRA_HOST_FLAGS) ; do \
16267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16268 done; \
16269 echo "Doing install-info in perl" ; \
16270 (cd perl && \
16271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16273 "RANLIB=$${RANLIB}" \
16274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16275 install-info) \
16276 || exit 1
16278 @endif perl
16280 .PHONY: maybe-installcheck-perl installcheck-perl
16281 maybe-installcheck-perl:
16282 @if perl
16283 maybe-installcheck-perl: installcheck-perl
16285 installcheck-perl: \
16286 configure-perl
16287 @[ -f ./perl/Makefile ] || exit 0; \
16288 r=`${PWD_COMMAND}`; export r; \
16289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16290 $(SET_LIB_PATH) \
16291 $(HOST_EXPORTS) \
16292 for flag in $(EXTRA_HOST_FLAGS) ; do \
16293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16294 done; \
16295 echo "Doing installcheck in perl" ; \
16296 (cd perl && \
16297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16299 "RANLIB=$${RANLIB}" \
16300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16301 installcheck) \
16302 || exit 1
16304 @endif perl
16306 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
16307 maybe-mostlyclean-perl:
16308 @if perl
16309 maybe-mostlyclean-perl: mostlyclean-perl
16311 mostlyclean-perl:
16312 @[ -f ./perl/Makefile ] || exit 0; \
16313 r=`${PWD_COMMAND}`; export r; \
16314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16315 $(SET_LIB_PATH) \
16316 $(HOST_EXPORTS) \
16317 for flag in $(EXTRA_HOST_FLAGS) ; do \
16318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16319 done; \
16320 echo "Doing mostlyclean in perl" ; \
16321 (cd perl && \
16322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16324 "RANLIB=$${RANLIB}" \
16325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16326 mostlyclean) \
16327 || exit 1
16329 @endif perl
16331 .PHONY: maybe-clean-perl clean-perl
16332 maybe-clean-perl:
16333 @if perl
16334 maybe-clean-perl: clean-perl
16336 clean-perl:
16337 @[ -f ./perl/Makefile ] || exit 0; \
16338 r=`${PWD_COMMAND}`; export r; \
16339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16340 $(SET_LIB_PATH) \
16341 $(HOST_EXPORTS) \
16342 for flag in $(EXTRA_HOST_FLAGS) ; do \
16343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16344 done; \
16345 echo "Doing clean in perl" ; \
16346 (cd perl && \
16347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16349 "RANLIB=$${RANLIB}" \
16350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16351 clean) \
16352 || exit 1
16354 @endif perl
16356 .PHONY: maybe-distclean-perl distclean-perl
16357 maybe-distclean-perl:
16358 @if perl
16359 maybe-distclean-perl: distclean-perl
16361 distclean-perl:
16362 @[ -f ./perl/Makefile ] || exit 0; \
16363 r=`${PWD_COMMAND}`; export r; \
16364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16365 $(SET_LIB_PATH) \
16366 $(HOST_EXPORTS) \
16367 for flag in $(EXTRA_HOST_FLAGS) ; do \
16368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16369 done; \
16370 echo "Doing distclean in perl" ; \
16371 (cd perl && \
16372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16374 "RANLIB=$${RANLIB}" \
16375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16376 distclean) \
16377 || exit 1
16379 @endif perl
16381 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16382 maybe-maintainer-clean-perl:
16383 @if perl
16384 maybe-maintainer-clean-perl: maintainer-clean-perl
16386 maintainer-clean-perl:
16387 @[ -f ./perl/Makefile ] || exit 0; \
16388 r=`${PWD_COMMAND}`; export r; \
16389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16390 $(SET_LIB_PATH) \
16391 $(HOST_EXPORTS) \
16392 for flag in $(EXTRA_HOST_FLAGS) ; do \
16393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16394 done; \
16395 echo "Doing maintainer-clean in perl" ; \
16396 (cd perl && \
16397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16399 "RANLIB=$${RANLIB}" \
16400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16401 maintainer-clean) \
16402 || exit 1
16404 @endif perl
16407 .PHONY: configure-prms maybe-configure-prms
16408 maybe-configure-prms:
16409 @if prms
16410 maybe-configure-prms: configure-prms
16411 configure-prms:
16412 @test ! -f prms/Makefile || exit 0; \
16413 [ -d prms ] || mkdir prms; \
16414 r=`${PWD_COMMAND}`; export r; \
16415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16416 $(HOST_EXPORTS) \
16417 echo Configuring in prms; \
16418 cd prms || exit 1; \
16419 case $(srcdir) in \
16420 \.) \
16421 srcdiroption="--srcdir=."; \
16422 libsrcdir=".";; \
16423 /* | [A-Za-z]:[\\/]*) \
16424 srcdiroption="--srcdir=$(srcdir)/prms"; \
16425 libsrcdir="$$s/prms";; \
16426 *) \
16427 srcdiroption="--srcdir=../$(srcdir)/prms"; \
16428 libsrcdir="$$s/prms";; \
16429 esac; \
16430 $(SHELL) $${libsrcdir}/configure \
16431 $(HOST_CONFIGARGS) $${srcdiroption} \
16432 || exit 1
16433 @endif prms
16435 .PHONY: all-prms maybe-all-prms
16436 maybe-all-prms:
16437 @if prms
16438 TARGET-prms=all
16439 maybe-all-prms: all-prms
16440 all-prms: configure-prms
16441 @r=`${PWD_COMMAND}`; export r; \
16442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16443 $(SET_LIB_PATH) \
16444 $(HOST_EXPORTS) \
16445 (cd prms && $(MAKE) $(FLAGS_TO_PASS) \
16446 $(TARGET-prms))
16447 @endif prms
16449 .PHONY: check-prms maybe-check-prms
16450 maybe-check-prms:
16451 @if prms
16452 maybe-check-prms: check-prms
16454 check-prms:
16455 @r=`${PWD_COMMAND}`; export r; \
16456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16457 $(SET_LIB_PATH) \
16458 $(HOST_EXPORTS) \
16459 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
16461 @endif prms
16463 .PHONY: install-prms maybe-install-prms
16464 maybe-install-prms:
16465 @if prms
16466 maybe-install-prms: install-prms
16468 install-prms: installdirs
16469 @r=`${PWD_COMMAND}`; export r; \
16470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16471 $(SET_LIB_PATH) \
16472 $(HOST_EXPORTS) \
16473 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
16475 @endif prms
16477 # Other targets (info, dvi, etc.)
16479 .PHONY: maybe-info-prms info-prms
16480 maybe-info-prms:
16481 @if prms
16482 maybe-info-prms: info-prms
16484 info-prms: \
16485 configure-prms
16486 @[ -f ./prms/Makefile ] || exit 0; \
16487 r=`${PWD_COMMAND}`; export r; \
16488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16489 $(SET_LIB_PATH) \
16490 $(HOST_EXPORTS) \
16491 for flag in $(EXTRA_HOST_FLAGS) ; do \
16492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16493 done; \
16494 echo "Doing info in prms" ; \
16495 (cd prms && \
16496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16498 "RANLIB=$${RANLIB}" \
16499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16500 info) \
16501 || exit 1
16503 @endif prms
16505 .PHONY: maybe-dvi-prms dvi-prms
16506 maybe-dvi-prms:
16507 @if prms
16508 maybe-dvi-prms: dvi-prms
16510 dvi-prms: \
16511 configure-prms
16512 @[ -f ./prms/Makefile ] || exit 0; \
16513 r=`${PWD_COMMAND}`; export r; \
16514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16515 $(SET_LIB_PATH) \
16516 $(HOST_EXPORTS) \
16517 for flag in $(EXTRA_HOST_FLAGS) ; do \
16518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16519 done; \
16520 echo "Doing dvi in prms" ; \
16521 (cd prms && \
16522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16524 "RANLIB=$${RANLIB}" \
16525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16526 dvi) \
16527 || exit 1
16529 @endif prms
16531 .PHONY: maybe-html-prms html-prms
16532 maybe-html-prms:
16533 @if prms
16534 maybe-html-prms: html-prms
16536 html-prms: \
16537 configure-prms
16538 @[ -f ./prms/Makefile ] || exit 0; \
16539 r=`${PWD_COMMAND}`; export r; \
16540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16541 $(SET_LIB_PATH) \
16542 $(HOST_EXPORTS) \
16543 for flag in $(EXTRA_HOST_FLAGS) ; do \
16544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16545 done; \
16546 echo "Doing html in prms" ; \
16547 (cd prms && \
16548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16550 "RANLIB=$${RANLIB}" \
16551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16552 html) \
16553 || exit 1
16555 @endif prms
16557 .PHONY: maybe-TAGS-prms TAGS-prms
16558 maybe-TAGS-prms:
16559 @if prms
16560 maybe-TAGS-prms: TAGS-prms
16562 TAGS-prms: \
16563 configure-prms
16564 @[ -f ./prms/Makefile ] || exit 0; \
16565 r=`${PWD_COMMAND}`; export r; \
16566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16567 $(SET_LIB_PATH) \
16568 $(HOST_EXPORTS) \
16569 for flag in $(EXTRA_HOST_FLAGS) ; do \
16570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16571 done; \
16572 echo "Doing TAGS in prms" ; \
16573 (cd prms && \
16574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16576 "RANLIB=$${RANLIB}" \
16577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16578 TAGS) \
16579 || exit 1
16581 @endif prms
16583 .PHONY: maybe-install-info-prms install-info-prms
16584 maybe-install-info-prms:
16585 @if prms
16586 maybe-install-info-prms: install-info-prms
16588 install-info-prms: \
16589 configure-prms \
16590 info-prms
16591 @[ -f ./prms/Makefile ] || exit 0; \
16592 r=`${PWD_COMMAND}`; export r; \
16593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16594 $(SET_LIB_PATH) \
16595 $(HOST_EXPORTS) \
16596 for flag in $(EXTRA_HOST_FLAGS) ; do \
16597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16598 done; \
16599 echo "Doing install-info in prms" ; \
16600 (cd prms && \
16601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16603 "RANLIB=$${RANLIB}" \
16604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16605 install-info) \
16606 || exit 1
16608 @endif prms
16610 .PHONY: maybe-installcheck-prms installcheck-prms
16611 maybe-installcheck-prms:
16612 @if prms
16613 maybe-installcheck-prms: installcheck-prms
16615 installcheck-prms: \
16616 configure-prms
16617 @[ -f ./prms/Makefile ] || exit 0; \
16618 r=`${PWD_COMMAND}`; export r; \
16619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16620 $(SET_LIB_PATH) \
16621 $(HOST_EXPORTS) \
16622 for flag in $(EXTRA_HOST_FLAGS) ; do \
16623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16624 done; \
16625 echo "Doing installcheck in prms" ; \
16626 (cd prms && \
16627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16629 "RANLIB=$${RANLIB}" \
16630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16631 installcheck) \
16632 || exit 1
16634 @endif prms
16636 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
16637 maybe-mostlyclean-prms:
16638 @if prms
16639 maybe-mostlyclean-prms: mostlyclean-prms
16641 mostlyclean-prms:
16642 @[ -f ./prms/Makefile ] || exit 0; \
16643 r=`${PWD_COMMAND}`; export r; \
16644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16645 $(SET_LIB_PATH) \
16646 $(HOST_EXPORTS) \
16647 for flag in $(EXTRA_HOST_FLAGS) ; do \
16648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16649 done; \
16650 echo "Doing mostlyclean in prms" ; \
16651 (cd prms && \
16652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16654 "RANLIB=$${RANLIB}" \
16655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16656 mostlyclean) \
16657 || exit 1
16659 @endif prms
16661 .PHONY: maybe-clean-prms clean-prms
16662 maybe-clean-prms:
16663 @if prms
16664 maybe-clean-prms: clean-prms
16666 clean-prms:
16667 @[ -f ./prms/Makefile ] || exit 0; \
16668 r=`${PWD_COMMAND}`; export r; \
16669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16670 $(SET_LIB_PATH) \
16671 $(HOST_EXPORTS) \
16672 for flag in $(EXTRA_HOST_FLAGS) ; do \
16673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16674 done; \
16675 echo "Doing clean in prms" ; \
16676 (cd prms && \
16677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16679 "RANLIB=$${RANLIB}" \
16680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16681 clean) \
16682 || exit 1
16684 @endif prms
16686 .PHONY: maybe-distclean-prms distclean-prms
16687 maybe-distclean-prms:
16688 @if prms
16689 maybe-distclean-prms: distclean-prms
16691 distclean-prms:
16692 @[ -f ./prms/Makefile ] || exit 0; \
16693 r=`${PWD_COMMAND}`; export r; \
16694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16695 $(SET_LIB_PATH) \
16696 $(HOST_EXPORTS) \
16697 for flag in $(EXTRA_HOST_FLAGS) ; do \
16698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16699 done; \
16700 echo "Doing distclean in prms" ; \
16701 (cd prms && \
16702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16704 "RANLIB=$${RANLIB}" \
16705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16706 distclean) \
16707 || exit 1
16709 @endif prms
16711 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16712 maybe-maintainer-clean-prms:
16713 @if prms
16714 maybe-maintainer-clean-prms: maintainer-clean-prms
16716 maintainer-clean-prms:
16717 @[ -f ./prms/Makefile ] || exit 0; \
16718 r=`${PWD_COMMAND}`; export r; \
16719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16720 $(SET_LIB_PATH) \
16721 $(HOST_EXPORTS) \
16722 for flag in $(EXTRA_HOST_FLAGS) ; do \
16723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16724 done; \
16725 echo "Doing maintainer-clean in prms" ; \
16726 (cd prms && \
16727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16729 "RANLIB=$${RANLIB}" \
16730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16731 maintainer-clean) \
16732 || exit 1
16734 @endif prms
16737 .PHONY: configure-rcs maybe-configure-rcs
16738 maybe-configure-rcs:
16739 @if rcs
16740 maybe-configure-rcs: configure-rcs
16741 configure-rcs:
16742 @test ! -f rcs/Makefile || exit 0; \
16743 [ -d rcs ] || mkdir rcs; \
16744 r=`${PWD_COMMAND}`; export r; \
16745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16746 $(HOST_EXPORTS) \
16747 echo Configuring in rcs; \
16748 cd rcs || exit 1; \
16749 case $(srcdir) in \
16750 \.) \
16751 srcdiroption="--srcdir=."; \
16752 libsrcdir=".";; \
16753 /* | [A-Za-z]:[\\/]*) \
16754 srcdiroption="--srcdir=$(srcdir)/rcs"; \
16755 libsrcdir="$$s/rcs";; \
16756 *) \
16757 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
16758 libsrcdir="$$s/rcs";; \
16759 esac; \
16760 $(SHELL) $${libsrcdir}/configure \
16761 $(HOST_CONFIGARGS) $${srcdiroption} \
16762 || exit 1
16763 @endif rcs
16765 .PHONY: all-rcs maybe-all-rcs
16766 maybe-all-rcs:
16767 @if rcs
16768 TARGET-rcs=all
16769 maybe-all-rcs: all-rcs
16770 all-rcs: configure-rcs
16771 @r=`${PWD_COMMAND}`; export r; \
16772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16773 $(SET_LIB_PATH) \
16774 $(HOST_EXPORTS) \
16775 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) \
16776 $(TARGET-rcs))
16777 @endif rcs
16779 .PHONY: check-rcs maybe-check-rcs
16780 maybe-check-rcs:
16781 @if rcs
16782 maybe-check-rcs: check-rcs
16784 check-rcs:
16785 @r=`${PWD_COMMAND}`; export r; \
16786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16787 $(SET_LIB_PATH) \
16788 $(HOST_EXPORTS) \
16789 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
16791 @endif rcs
16793 .PHONY: install-rcs maybe-install-rcs
16794 maybe-install-rcs:
16795 @if rcs
16796 maybe-install-rcs: install-rcs
16798 install-rcs: installdirs
16799 @r=`${PWD_COMMAND}`; export r; \
16800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16801 $(SET_LIB_PATH) \
16802 $(HOST_EXPORTS) \
16803 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
16805 @endif rcs
16807 # Other targets (info, dvi, etc.)
16809 .PHONY: maybe-info-rcs info-rcs
16810 maybe-info-rcs:
16811 @if rcs
16812 maybe-info-rcs: info-rcs
16814 info-rcs: \
16815 configure-rcs
16816 @[ -f ./rcs/Makefile ] || exit 0; \
16817 r=`${PWD_COMMAND}`; export r; \
16818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16819 $(SET_LIB_PATH) \
16820 $(HOST_EXPORTS) \
16821 for flag in $(EXTRA_HOST_FLAGS) ; do \
16822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16823 done; \
16824 echo "Doing info in rcs" ; \
16825 (cd rcs && \
16826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16828 "RANLIB=$${RANLIB}" \
16829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16830 info) \
16831 || exit 1
16833 @endif rcs
16835 .PHONY: maybe-dvi-rcs dvi-rcs
16836 maybe-dvi-rcs:
16837 @if rcs
16838 maybe-dvi-rcs: dvi-rcs
16840 dvi-rcs: \
16841 configure-rcs
16842 @[ -f ./rcs/Makefile ] || exit 0; \
16843 r=`${PWD_COMMAND}`; export r; \
16844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16845 $(SET_LIB_PATH) \
16846 $(HOST_EXPORTS) \
16847 for flag in $(EXTRA_HOST_FLAGS) ; do \
16848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16849 done; \
16850 echo "Doing dvi in rcs" ; \
16851 (cd rcs && \
16852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16854 "RANLIB=$${RANLIB}" \
16855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16856 dvi) \
16857 || exit 1
16859 @endif rcs
16861 .PHONY: maybe-html-rcs html-rcs
16862 maybe-html-rcs:
16863 @if rcs
16864 maybe-html-rcs: html-rcs
16866 html-rcs: \
16867 configure-rcs
16868 @[ -f ./rcs/Makefile ] || exit 0; \
16869 r=`${PWD_COMMAND}`; export r; \
16870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16871 $(SET_LIB_PATH) \
16872 $(HOST_EXPORTS) \
16873 for flag in $(EXTRA_HOST_FLAGS) ; do \
16874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16875 done; \
16876 echo "Doing html in rcs" ; \
16877 (cd rcs && \
16878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16880 "RANLIB=$${RANLIB}" \
16881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16882 html) \
16883 || exit 1
16885 @endif rcs
16887 .PHONY: maybe-TAGS-rcs TAGS-rcs
16888 maybe-TAGS-rcs:
16889 @if rcs
16890 maybe-TAGS-rcs: TAGS-rcs
16892 TAGS-rcs: \
16893 configure-rcs
16894 @[ -f ./rcs/Makefile ] || exit 0; \
16895 r=`${PWD_COMMAND}`; export r; \
16896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16897 $(SET_LIB_PATH) \
16898 $(HOST_EXPORTS) \
16899 for flag in $(EXTRA_HOST_FLAGS) ; do \
16900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16901 done; \
16902 echo "Doing TAGS in rcs" ; \
16903 (cd rcs && \
16904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16906 "RANLIB=$${RANLIB}" \
16907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16908 TAGS) \
16909 || exit 1
16911 @endif rcs
16913 .PHONY: maybe-install-info-rcs install-info-rcs
16914 maybe-install-info-rcs:
16915 @if rcs
16916 maybe-install-info-rcs: install-info-rcs
16918 install-info-rcs: \
16919 configure-rcs \
16920 info-rcs
16921 @[ -f ./rcs/Makefile ] || exit 0; \
16922 r=`${PWD_COMMAND}`; export r; \
16923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16924 $(SET_LIB_PATH) \
16925 $(HOST_EXPORTS) \
16926 for flag in $(EXTRA_HOST_FLAGS) ; do \
16927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16928 done; \
16929 echo "Doing install-info in rcs" ; \
16930 (cd rcs && \
16931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16933 "RANLIB=$${RANLIB}" \
16934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16935 install-info) \
16936 || exit 1
16938 @endif rcs
16940 .PHONY: maybe-installcheck-rcs installcheck-rcs
16941 maybe-installcheck-rcs:
16942 @if rcs
16943 maybe-installcheck-rcs: installcheck-rcs
16945 installcheck-rcs: \
16946 configure-rcs
16947 @[ -f ./rcs/Makefile ] || exit 0; \
16948 r=`${PWD_COMMAND}`; export r; \
16949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16950 $(SET_LIB_PATH) \
16951 $(HOST_EXPORTS) \
16952 for flag in $(EXTRA_HOST_FLAGS) ; do \
16953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16954 done; \
16955 echo "Doing installcheck in rcs" ; \
16956 (cd rcs && \
16957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16959 "RANLIB=$${RANLIB}" \
16960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16961 installcheck) \
16962 || exit 1
16964 @endif rcs
16966 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
16967 maybe-mostlyclean-rcs:
16968 @if rcs
16969 maybe-mostlyclean-rcs: mostlyclean-rcs
16971 mostlyclean-rcs:
16972 @[ -f ./rcs/Makefile ] || exit 0; \
16973 r=`${PWD_COMMAND}`; export r; \
16974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16975 $(SET_LIB_PATH) \
16976 $(HOST_EXPORTS) \
16977 for flag in $(EXTRA_HOST_FLAGS) ; do \
16978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16979 done; \
16980 echo "Doing mostlyclean in rcs" ; \
16981 (cd rcs && \
16982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16984 "RANLIB=$${RANLIB}" \
16985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16986 mostlyclean) \
16987 || exit 1
16989 @endif rcs
16991 .PHONY: maybe-clean-rcs clean-rcs
16992 maybe-clean-rcs:
16993 @if rcs
16994 maybe-clean-rcs: clean-rcs
16996 clean-rcs:
16997 @[ -f ./rcs/Makefile ] || exit 0; \
16998 r=`${PWD_COMMAND}`; export r; \
16999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17000 $(SET_LIB_PATH) \
17001 $(HOST_EXPORTS) \
17002 for flag in $(EXTRA_HOST_FLAGS) ; do \
17003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17004 done; \
17005 echo "Doing clean in rcs" ; \
17006 (cd rcs && \
17007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17009 "RANLIB=$${RANLIB}" \
17010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17011 clean) \
17012 || exit 1
17014 @endif rcs
17016 .PHONY: maybe-distclean-rcs distclean-rcs
17017 maybe-distclean-rcs:
17018 @if rcs
17019 maybe-distclean-rcs: distclean-rcs
17021 distclean-rcs:
17022 @[ -f ./rcs/Makefile ] || exit 0; \
17023 r=`${PWD_COMMAND}`; export r; \
17024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17025 $(SET_LIB_PATH) \
17026 $(HOST_EXPORTS) \
17027 for flag in $(EXTRA_HOST_FLAGS) ; do \
17028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17029 done; \
17030 echo "Doing distclean in rcs" ; \
17031 (cd rcs && \
17032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17034 "RANLIB=$${RANLIB}" \
17035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17036 distclean) \
17037 || exit 1
17039 @endif rcs
17041 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
17042 maybe-maintainer-clean-rcs:
17043 @if rcs
17044 maybe-maintainer-clean-rcs: maintainer-clean-rcs
17046 maintainer-clean-rcs:
17047 @[ -f ./rcs/Makefile ] || exit 0; \
17048 r=`${PWD_COMMAND}`; export r; \
17049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17050 $(SET_LIB_PATH) \
17051 $(HOST_EXPORTS) \
17052 for flag in $(EXTRA_HOST_FLAGS) ; do \
17053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17054 done; \
17055 echo "Doing maintainer-clean in rcs" ; \
17056 (cd rcs && \
17057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17059 "RANLIB=$${RANLIB}" \
17060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17061 maintainer-clean) \
17062 || exit 1
17064 @endif rcs
17067 .PHONY: configure-readline maybe-configure-readline
17068 maybe-configure-readline:
17069 @if readline
17070 maybe-configure-readline: configure-readline
17071 configure-readline:
17072 @test ! -f readline/Makefile || exit 0; \
17073 [ -d readline ] || mkdir readline; \
17074 r=`${PWD_COMMAND}`; export r; \
17075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17076 $(HOST_EXPORTS) \
17077 echo Configuring in readline; \
17078 cd readline || exit 1; \
17079 case $(srcdir) in \
17080 \.) \
17081 srcdiroption="--srcdir=."; \
17082 libsrcdir=".";; \
17083 /* | [A-Za-z]:[\\/]*) \
17084 srcdiroption="--srcdir=$(srcdir)/readline"; \
17085 libsrcdir="$$s/readline";; \
17086 *) \
17087 srcdiroption="--srcdir=../$(srcdir)/readline"; \
17088 libsrcdir="$$s/readline";; \
17089 esac; \
17090 $(SHELL) $${libsrcdir}/configure \
17091 $(HOST_CONFIGARGS) $${srcdiroption} \
17092 || exit 1
17093 @endif readline
17095 .PHONY: all-readline maybe-all-readline
17096 maybe-all-readline:
17097 @if readline
17098 TARGET-readline=all
17099 maybe-all-readline: all-readline
17100 all-readline: configure-readline
17101 @r=`${PWD_COMMAND}`; export r; \
17102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17103 $(SET_LIB_PATH) \
17104 $(HOST_EXPORTS) \
17105 (cd readline && $(MAKE) $(FLAGS_TO_PASS) \
17106 $(TARGET-readline))
17107 @endif readline
17109 .PHONY: check-readline maybe-check-readline
17110 maybe-check-readline:
17111 @if readline
17112 maybe-check-readline: check-readline
17114 check-readline:
17115 @r=`${PWD_COMMAND}`; export r; \
17116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17117 $(SET_LIB_PATH) \
17118 $(HOST_EXPORTS) \
17119 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
17121 @endif readline
17123 .PHONY: install-readline maybe-install-readline
17124 maybe-install-readline:
17125 @if readline
17126 maybe-install-readline: install-readline
17128 install-readline: installdirs
17129 @r=`${PWD_COMMAND}`; export r; \
17130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17131 $(SET_LIB_PATH) \
17132 $(HOST_EXPORTS) \
17133 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
17135 @endif readline
17137 # Other targets (info, dvi, etc.)
17139 .PHONY: maybe-info-readline info-readline
17140 maybe-info-readline:
17141 @if readline
17142 maybe-info-readline: info-readline
17144 info-readline: \
17145 configure-readline
17146 @[ -f ./readline/Makefile ] || exit 0; \
17147 r=`${PWD_COMMAND}`; export r; \
17148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17149 $(SET_LIB_PATH) \
17150 $(HOST_EXPORTS) \
17151 for flag in $(EXTRA_HOST_FLAGS) ; do \
17152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17153 done; \
17154 echo "Doing info in readline" ; \
17155 (cd readline && \
17156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17158 "RANLIB=$${RANLIB}" \
17159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17160 info) \
17161 || exit 1
17163 @endif readline
17165 .PHONY: maybe-dvi-readline dvi-readline
17166 maybe-dvi-readline:
17167 @if readline
17168 maybe-dvi-readline: dvi-readline
17170 dvi-readline: \
17171 configure-readline
17172 @[ -f ./readline/Makefile ] || exit 0; \
17173 r=`${PWD_COMMAND}`; export r; \
17174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17175 $(SET_LIB_PATH) \
17176 $(HOST_EXPORTS) \
17177 for flag in $(EXTRA_HOST_FLAGS) ; do \
17178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17179 done; \
17180 echo "Doing dvi in readline" ; \
17181 (cd readline && \
17182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17184 "RANLIB=$${RANLIB}" \
17185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17186 dvi) \
17187 || exit 1
17189 @endif readline
17191 .PHONY: maybe-html-readline html-readline
17192 maybe-html-readline:
17193 @if readline
17194 maybe-html-readline: html-readline
17196 html-readline: \
17197 configure-readline
17198 @[ -f ./readline/Makefile ] || exit 0; \
17199 r=`${PWD_COMMAND}`; export r; \
17200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17201 $(SET_LIB_PATH) \
17202 $(HOST_EXPORTS) \
17203 for flag in $(EXTRA_HOST_FLAGS) ; do \
17204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17205 done; \
17206 echo "Doing html in readline" ; \
17207 (cd readline && \
17208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17210 "RANLIB=$${RANLIB}" \
17211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17212 html) \
17213 || exit 1
17215 @endif readline
17217 .PHONY: maybe-TAGS-readline TAGS-readline
17218 maybe-TAGS-readline:
17219 @if readline
17220 maybe-TAGS-readline: TAGS-readline
17222 TAGS-readline: \
17223 configure-readline
17224 @[ -f ./readline/Makefile ] || exit 0; \
17225 r=`${PWD_COMMAND}`; export r; \
17226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17227 $(SET_LIB_PATH) \
17228 $(HOST_EXPORTS) \
17229 for flag in $(EXTRA_HOST_FLAGS) ; do \
17230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17231 done; \
17232 echo "Doing TAGS in readline" ; \
17233 (cd readline && \
17234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17236 "RANLIB=$${RANLIB}" \
17237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17238 TAGS) \
17239 || exit 1
17241 @endif readline
17243 .PHONY: maybe-install-info-readline install-info-readline
17244 maybe-install-info-readline:
17245 @if readline
17246 maybe-install-info-readline: install-info-readline
17248 install-info-readline: \
17249 configure-readline \
17250 info-readline
17251 @[ -f ./readline/Makefile ] || exit 0; \
17252 r=`${PWD_COMMAND}`; export r; \
17253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17254 $(SET_LIB_PATH) \
17255 $(HOST_EXPORTS) \
17256 for flag in $(EXTRA_HOST_FLAGS) ; do \
17257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17258 done; \
17259 echo "Doing install-info in readline" ; \
17260 (cd readline && \
17261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17263 "RANLIB=$${RANLIB}" \
17264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17265 install-info) \
17266 || exit 1
17268 @endif readline
17270 .PHONY: maybe-installcheck-readline installcheck-readline
17271 maybe-installcheck-readline:
17272 @if readline
17273 maybe-installcheck-readline: installcheck-readline
17275 installcheck-readline: \
17276 configure-readline
17277 @[ -f ./readline/Makefile ] || exit 0; \
17278 r=`${PWD_COMMAND}`; export r; \
17279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17280 $(SET_LIB_PATH) \
17281 $(HOST_EXPORTS) \
17282 for flag in $(EXTRA_HOST_FLAGS) ; do \
17283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17284 done; \
17285 echo "Doing installcheck in readline" ; \
17286 (cd readline && \
17287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17289 "RANLIB=$${RANLIB}" \
17290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17291 installcheck) \
17292 || exit 1
17294 @endif readline
17296 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
17297 maybe-mostlyclean-readline:
17298 @if readline
17299 maybe-mostlyclean-readline: mostlyclean-readline
17301 mostlyclean-readline:
17302 @[ -f ./readline/Makefile ] || exit 0; \
17303 r=`${PWD_COMMAND}`; export r; \
17304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17305 $(SET_LIB_PATH) \
17306 $(HOST_EXPORTS) \
17307 for flag in $(EXTRA_HOST_FLAGS) ; do \
17308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17309 done; \
17310 echo "Doing mostlyclean in readline" ; \
17311 (cd readline && \
17312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17314 "RANLIB=$${RANLIB}" \
17315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17316 mostlyclean) \
17317 || exit 1
17319 @endif readline
17321 .PHONY: maybe-clean-readline clean-readline
17322 maybe-clean-readline:
17323 @if readline
17324 maybe-clean-readline: clean-readline
17326 clean-readline:
17327 @[ -f ./readline/Makefile ] || exit 0; \
17328 r=`${PWD_COMMAND}`; export r; \
17329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17330 $(SET_LIB_PATH) \
17331 $(HOST_EXPORTS) \
17332 for flag in $(EXTRA_HOST_FLAGS) ; do \
17333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17334 done; \
17335 echo "Doing clean in readline" ; \
17336 (cd readline && \
17337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17339 "RANLIB=$${RANLIB}" \
17340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17341 clean) \
17342 || exit 1
17344 @endif readline
17346 .PHONY: maybe-distclean-readline distclean-readline
17347 maybe-distclean-readline:
17348 @if readline
17349 maybe-distclean-readline: distclean-readline
17351 distclean-readline:
17352 @[ -f ./readline/Makefile ] || exit 0; \
17353 r=`${PWD_COMMAND}`; export r; \
17354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17355 $(SET_LIB_PATH) \
17356 $(HOST_EXPORTS) \
17357 for flag in $(EXTRA_HOST_FLAGS) ; do \
17358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17359 done; \
17360 echo "Doing distclean in readline" ; \
17361 (cd readline && \
17362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17364 "RANLIB=$${RANLIB}" \
17365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17366 distclean) \
17367 || exit 1
17369 @endif readline
17371 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
17372 maybe-maintainer-clean-readline:
17373 @if readline
17374 maybe-maintainer-clean-readline: maintainer-clean-readline
17376 maintainer-clean-readline:
17377 @[ -f ./readline/Makefile ] || exit 0; \
17378 r=`${PWD_COMMAND}`; export r; \
17379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17380 $(SET_LIB_PATH) \
17381 $(HOST_EXPORTS) \
17382 for flag in $(EXTRA_HOST_FLAGS) ; do \
17383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17384 done; \
17385 echo "Doing maintainer-clean in readline" ; \
17386 (cd readline && \
17387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17389 "RANLIB=$${RANLIB}" \
17390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17391 maintainer-clean) \
17392 || exit 1
17394 @endif readline
17397 .PHONY: configure-release maybe-configure-release
17398 maybe-configure-release:
17399 @if release
17400 maybe-configure-release: configure-release
17401 configure-release:
17402 @test ! -f release/Makefile || exit 0; \
17403 [ -d release ] || mkdir release; \
17404 r=`${PWD_COMMAND}`; export r; \
17405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17406 $(HOST_EXPORTS) \
17407 echo Configuring in release; \
17408 cd release || exit 1; \
17409 case $(srcdir) in \
17410 \.) \
17411 srcdiroption="--srcdir=."; \
17412 libsrcdir=".";; \
17413 /* | [A-Za-z]:[\\/]*) \
17414 srcdiroption="--srcdir=$(srcdir)/release"; \
17415 libsrcdir="$$s/release";; \
17416 *) \
17417 srcdiroption="--srcdir=../$(srcdir)/release"; \
17418 libsrcdir="$$s/release";; \
17419 esac; \
17420 $(SHELL) $${libsrcdir}/configure \
17421 $(HOST_CONFIGARGS) $${srcdiroption} \
17422 || exit 1
17423 @endif release
17425 .PHONY: all-release maybe-all-release
17426 maybe-all-release:
17427 @if release
17428 TARGET-release=all
17429 maybe-all-release: all-release
17430 all-release: configure-release
17431 @r=`${PWD_COMMAND}`; export r; \
17432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17433 $(SET_LIB_PATH) \
17434 $(HOST_EXPORTS) \
17435 (cd release && $(MAKE) $(FLAGS_TO_PASS) \
17436 $(TARGET-release))
17437 @endif release
17439 .PHONY: check-release maybe-check-release
17440 maybe-check-release:
17441 @if release
17442 maybe-check-release: check-release
17444 check-release:
17446 @endif release
17448 .PHONY: install-release maybe-install-release
17449 maybe-install-release:
17450 @if release
17451 maybe-install-release: install-release
17453 install-release:
17455 @endif release
17457 # Other targets (info, dvi, etc.)
17459 .PHONY: maybe-info-release info-release
17460 maybe-info-release:
17461 @if release
17462 maybe-info-release: info-release
17464 info-release: \
17465 configure-release
17466 @[ -f ./release/Makefile ] || exit 0; \
17467 r=`${PWD_COMMAND}`; export r; \
17468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17469 $(SET_LIB_PATH) \
17470 $(HOST_EXPORTS) \
17471 for flag in $(EXTRA_HOST_FLAGS) ; do \
17472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17473 done; \
17474 echo "Doing info in release" ; \
17475 (cd release && \
17476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17478 "RANLIB=$${RANLIB}" \
17479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17480 info) \
17481 || exit 1
17483 @endif release
17485 .PHONY: maybe-dvi-release dvi-release
17486 maybe-dvi-release:
17487 @if release
17488 maybe-dvi-release: dvi-release
17490 dvi-release: \
17491 configure-release
17492 @[ -f ./release/Makefile ] || exit 0; \
17493 r=`${PWD_COMMAND}`; export r; \
17494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17495 $(SET_LIB_PATH) \
17496 $(HOST_EXPORTS) \
17497 for flag in $(EXTRA_HOST_FLAGS) ; do \
17498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17499 done; \
17500 echo "Doing dvi in release" ; \
17501 (cd release && \
17502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17504 "RANLIB=$${RANLIB}" \
17505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17506 dvi) \
17507 || exit 1
17509 @endif release
17511 .PHONY: maybe-html-release html-release
17512 maybe-html-release:
17513 @if release
17514 maybe-html-release: html-release
17516 html-release: \
17517 configure-release
17518 @[ -f ./release/Makefile ] || exit 0; \
17519 r=`${PWD_COMMAND}`; export r; \
17520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17521 $(SET_LIB_PATH) \
17522 $(HOST_EXPORTS) \
17523 for flag in $(EXTRA_HOST_FLAGS) ; do \
17524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17525 done; \
17526 echo "Doing html in release" ; \
17527 (cd release && \
17528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17530 "RANLIB=$${RANLIB}" \
17531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17532 html) \
17533 || exit 1
17535 @endif release
17537 .PHONY: maybe-TAGS-release TAGS-release
17538 maybe-TAGS-release:
17539 @if release
17540 maybe-TAGS-release: TAGS-release
17542 TAGS-release: \
17543 configure-release
17544 @[ -f ./release/Makefile ] || exit 0; \
17545 r=`${PWD_COMMAND}`; export r; \
17546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17547 $(SET_LIB_PATH) \
17548 $(HOST_EXPORTS) \
17549 for flag in $(EXTRA_HOST_FLAGS) ; do \
17550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17551 done; \
17552 echo "Doing TAGS in release" ; \
17553 (cd release && \
17554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17556 "RANLIB=$${RANLIB}" \
17557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17558 TAGS) \
17559 || exit 1
17561 @endif release
17563 .PHONY: maybe-install-info-release install-info-release
17564 maybe-install-info-release:
17565 @if release
17566 maybe-install-info-release: install-info-release
17568 install-info-release: \
17569 configure-release \
17570 info-release
17571 @[ -f ./release/Makefile ] || exit 0; \
17572 r=`${PWD_COMMAND}`; export r; \
17573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17574 $(SET_LIB_PATH) \
17575 $(HOST_EXPORTS) \
17576 for flag in $(EXTRA_HOST_FLAGS) ; do \
17577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17578 done; \
17579 echo "Doing install-info in release" ; \
17580 (cd release && \
17581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17583 "RANLIB=$${RANLIB}" \
17584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17585 install-info) \
17586 || exit 1
17588 @endif release
17590 .PHONY: maybe-installcheck-release installcheck-release
17591 maybe-installcheck-release:
17592 @if release
17593 maybe-installcheck-release: installcheck-release
17595 installcheck-release: \
17596 configure-release
17597 @[ -f ./release/Makefile ] || exit 0; \
17598 r=`${PWD_COMMAND}`; export r; \
17599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17600 $(SET_LIB_PATH) \
17601 $(HOST_EXPORTS) \
17602 for flag in $(EXTRA_HOST_FLAGS) ; do \
17603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17604 done; \
17605 echo "Doing installcheck in release" ; \
17606 (cd release && \
17607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17609 "RANLIB=$${RANLIB}" \
17610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17611 installcheck) \
17612 || exit 1
17614 @endif release
17616 .PHONY: maybe-mostlyclean-release mostlyclean-release
17617 maybe-mostlyclean-release:
17618 @if release
17619 maybe-mostlyclean-release: mostlyclean-release
17621 mostlyclean-release:
17622 @[ -f ./release/Makefile ] || exit 0; \
17623 r=`${PWD_COMMAND}`; export r; \
17624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17625 $(SET_LIB_PATH) \
17626 $(HOST_EXPORTS) \
17627 for flag in $(EXTRA_HOST_FLAGS) ; do \
17628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17629 done; \
17630 echo "Doing mostlyclean in release" ; \
17631 (cd release && \
17632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17634 "RANLIB=$${RANLIB}" \
17635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17636 mostlyclean) \
17637 || exit 1
17639 @endif release
17641 .PHONY: maybe-clean-release clean-release
17642 maybe-clean-release:
17643 @if release
17644 maybe-clean-release: clean-release
17646 clean-release:
17647 @[ -f ./release/Makefile ] || exit 0; \
17648 r=`${PWD_COMMAND}`; export r; \
17649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17650 $(SET_LIB_PATH) \
17651 $(HOST_EXPORTS) \
17652 for flag in $(EXTRA_HOST_FLAGS) ; do \
17653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17654 done; \
17655 echo "Doing clean in release" ; \
17656 (cd release && \
17657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17659 "RANLIB=$${RANLIB}" \
17660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17661 clean) \
17662 || exit 1
17664 @endif release
17666 .PHONY: maybe-distclean-release distclean-release
17667 maybe-distclean-release:
17668 @if release
17669 maybe-distclean-release: distclean-release
17671 distclean-release:
17672 @[ -f ./release/Makefile ] || exit 0; \
17673 r=`${PWD_COMMAND}`; export r; \
17674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17675 $(SET_LIB_PATH) \
17676 $(HOST_EXPORTS) \
17677 for flag in $(EXTRA_HOST_FLAGS) ; do \
17678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17679 done; \
17680 echo "Doing distclean in release" ; \
17681 (cd release && \
17682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17684 "RANLIB=$${RANLIB}" \
17685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17686 distclean) \
17687 || exit 1
17689 @endif release
17691 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
17692 maybe-maintainer-clean-release:
17693 @if release
17694 maybe-maintainer-clean-release: maintainer-clean-release
17696 maintainer-clean-release:
17697 @[ -f ./release/Makefile ] || exit 0; \
17698 r=`${PWD_COMMAND}`; export r; \
17699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17700 $(SET_LIB_PATH) \
17701 $(HOST_EXPORTS) \
17702 for flag in $(EXTRA_HOST_FLAGS) ; do \
17703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17704 done; \
17705 echo "Doing maintainer-clean in release" ; \
17706 (cd release && \
17707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17709 "RANLIB=$${RANLIB}" \
17710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17711 maintainer-clean) \
17712 || exit 1
17714 @endif release
17717 .PHONY: configure-recode maybe-configure-recode
17718 maybe-configure-recode:
17719 @if recode
17720 maybe-configure-recode: configure-recode
17721 configure-recode:
17722 @test ! -f recode/Makefile || exit 0; \
17723 [ -d recode ] || mkdir recode; \
17724 r=`${PWD_COMMAND}`; export r; \
17725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17726 $(HOST_EXPORTS) \
17727 echo Configuring in recode; \
17728 cd recode || exit 1; \
17729 case $(srcdir) in \
17730 \.) \
17731 srcdiroption="--srcdir=."; \
17732 libsrcdir=".";; \
17733 /* | [A-Za-z]:[\\/]*) \
17734 srcdiroption="--srcdir=$(srcdir)/recode"; \
17735 libsrcdir="$$s/recode";; \
17736 *) \
17737 srcdiroption="--srcdir=../$(srcdir)/recode"; \
17738 libsrcdir="$$s/recode";; \
17739 esac; \
17740 $(SHELL) $${libsrcdir}/configure \
17741 $(HOST_CONFIGARGS) $${srcdiroption} \
17742 || exit 1
17743 @endif recode
17745 .PHONY: all-recode maybe-all-recode
17746 maybe-all-recode:
17747 @if recode
17748 TARGET-recode=all
17749 maybe-all-recode: all-recode
17750 all-recode: configure-recode
17751 @r=`${PWD_COMMAND}`; export r; \
17752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17753 $(SET_LIB_PATH) \
17754 $(HOST_EXPORTS) \
17755 (cd recode && $(MAKE) $(FLAGS_TO_PASS) \
17756 $(TARGET-recode))
17757 @endif recode
17759 .PHONY: check-recode maybe-check-recode
17760 maybe-check-recode:
17761 @if recode
17762 maybe-check-recode: check-recode
17764 check-recode:
17765 @r=`${PWD_COMMAND}`; export r; \
17766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17767 $(SET_LIB_PATH) \
17768 $(HOST_EXPORTS) \
17769 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
17771 @endif recode
17773 .PHONY: install-recode maybe-install-recode
17774 maybe-install-recode:
17775 @if recode
17776 maybe-install-recode: install-recode
17778 install-recode: installdirs
17779 @r=`${PWD_COMMAND}`; export r; \
17780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17781 $(SET_LIB_PATH) \
17782 $(HOST_EXPORTS) \
17783 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
17785 @endif recode
17787 # Other targets (info, dvi, etc.)
17789 .PHONY: maybe-info-recode info-recode
17790 maybe-info-recode:
17791 @if recode
17792 maybe-info-recode: info-recode
17794 info-recode: \
17795 configure-recode
17796 @[ -f ./recode/Makefile ] || exit 0; \
17797 r=`${PWD_COMMAND}`; export r; \
17798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17799 $(SET_LIB_PATH) \
17800 $(HOST_EXPORTS) \
17801 for flag in $(EXTRA_HOST_FLAGS) ; do \
17802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17803 done; \
17804 echo "Doing info in recode" ; \
17805 (cd recode && \
17806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17808 "RANLIB=$${RANLIB}" \
17809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17810 info) \
17811 || exit 1
17813 @endif recode
17815 .PHONY: maybe-dvi-recode dvi-recode
17816 maybe-dvi-recode:
17817 @if recode
17818 maybe-dvi-recode: dvi-recode
17820 dvi-recode: \
17821 configure-recode
17822 @[ -f ./recode/Makefile ] || exit 0; \
17823 r=`${PWD_COMMAND}`; export r; \
17824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17825 $(SET_LIB_PATH) \
17826 $(HOST_EXPORTS) \
17827 for flag in $(EXTRA_HOST_FLAGS) ; do \
17828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17829 done; \
17830 echo "Doing dvi in recode" ; \
17831 (cd recode && \
17832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17834 "RANLIB=$${RANLIB}" \
17835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17836 dvi) \
17837 || exit 1
17839 @endif recode
17841 .PHONY: maybe-html-recode html-recode
17842 maybe-html-recode:
17843 @if recode
17844 maybe-html-recode: html-recode
17846 html-recode: \
17847 configure-recode
17848 @[ -f ./recode/Makefile ] || exit 0; \
17849 r=`${PWD_COMMAND}`; export r; \
17850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17851 $(SET_LIB_PATH) \
17852 $(HOST_EXPORTS) \
17853 for flag in $(EXTRA_HOST_FLAGS) ; do \
17854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17855 done; \
17856 echo "Doing html in recode" ; \
17857 (cd recode && \
17858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17860 "RANLIB=$${RANLIB}" \
17861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17862 html) \
17863 || exit 1
17865 @endif recode
17867 .PHONY: maybe-TAGS-recode TAGS-recode
17868 maybe-TAGS-recode:
17869 @if recode
17870 maybe-TAGS-recode: TAGS-recode
17872 TAGS-recode: \
17873 configure-recode
17874 @[ -f ./recode/Makefile ] || exit 0; \
17875 r=`${PWD_COMMAND}`; export r; \
17876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17877 $(SET_LIB_PATH) \
17878 $(HOST_EXPORTS) \
17879 for flag in $(EXTRA_HOST_FLAGS) ; do \
17880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17881 done; \
17882 echo "Doing TAGS in recode" ; \
17883 (cd recode && \
17884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17886 "RANLIB=$${RANLIB}" \
17887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17888 TAGS) \
17889 || exit 1
17891 @endif recode
17893 .PHONY: maybe-install-info-recode install-info-recode
17894 maybe-install-info-recode:
17895 @if recode
17896 maybe-install-info-recode: install-info-recode
17898 install-info-recode: \
17899 configure-recode \
17900 info-recode
17901 @[ -f ./recode/Makefile ] || exit 0; \
17902 r=`${PWD_COMMAND}`; export r; \
17903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17904 $(SET_LIB_PATH) \
17905 $(HOST_EXPORTS) \
17906 for flag in $(EXTRA_HOST_FLAGS) ; do \
17907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17908 done; \
17909 echo "Doing install-info in recode" ; \
17910 (cd recode && \
17911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17913 "RANLIB=$${RANLIB}" \
17914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17915 install-info) \
17916 || exit 1
17918 @endif recode
17920 .PHONY: maybe-installcheck-recode installcheck-recode
17921 maybe-installcheck-recode:
17922 @if recode
17923 maybe-installcheck-recode: installcheck-recode
17925 installcheck-recode: \
17926 configure-recode
17927 @[ -f ./recode/Makefile ] || exit 0; \
17928 r=`${PWD_COMMAND}`; export r; \
17929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17930 $(SET_LIB_PATH) \
17931 $(HOST_EXPORTS) \
17932 for flag in $(EXTRA_HOST_FLAGS) ; do \
17933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17934 done; \
17935 echo "Doing installcheck in recode" ; \
17936 (cd recode && \
17937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17939 "RANLIB=$${RANLIB}" \
17940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17941 installcheck) \
17942 || exit 1
17944 @endif recode
17946 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
17947 maybe-mostlyclean-recode:
17948 @if recode
17949 maybe-mostlyclean-recode: mostlyclean-recode
17951 mostlyclean-recode:
17952 @[ -f ./recode/Makefile ] || exit 0; \
17953 r=`${PWD_COMMAND}`; export r; \
17954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17955 $(SET_LIB_PATH) \
17956 $(HOST_EXPORTS) \
17957 for flag in $(EXTRA_HOST_FLAGS) ; do \
17958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17959 done; \
17960 echo "Doing mostlyclean in recode" ; \
17961 (cd recode && \
17962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17964 "RANLIB=$${RANLIB}" \
17965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17966 mostlyclean) \
17967 || exit 1
17969 @endif recode
17971 .PHONY: maybe-clean-recode clean-recode
17972 maybe-clean-recode:
17973 @if recode
17974 maybe-clean-recode: clean-recode
17976 clean-recode:
17977 @[ -f ./recode/Makefile ] || exit 0; \
17978 r=`${PWD_COMMAND}`; export r; \
17979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17980 $(SET_LIB_PATH) \
17981 $(HOST_EXPORTS) \
17982 for flag in $(EXTRA_HOST_FLAGS) ; do \
17983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17984 done; \
17985 echo "Doing clean in recode" ; \
17986 (cd recode && \
17987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17989 "RANLIB=$${RANLIB}" \
17990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17991 clean) \
17992 || exit 1
17994 @endif recode
17996 .PHONY: maybe-distclean-recode distclean-recode
17997 maybe-distclean-recode:
17998 @if recode
17999 maybe-distclean-recode: distclean-recode
18001 distclean-recode:
18002 @[ -f ./recode/Makefile ] || exit 0; \
18003 r=`${PWD_COMMAND}`; export r; \
18004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18005 $(SET_LIB_PATH) \
18006 $(HOST_EXPORTS) \
18007 for flag in $(EXTRA_HOST_FLAGS) ; do \
18008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18009 done; \
18010 echo "Doing distclean in recode" ; \
18011 (cd recode && \
18012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18014 "RANLIB=$${RANLIB}" \
18015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18016 distclean) \
18017 || exit 1
18019 @endif recode
18021 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
18022 maybe-maintainer-clean-recode:
18023 @if recode
18024 maybe-maintainer-clean-recode: maintainer-clean-recode
18026 maintainer-clean-recode:
18027 @[ -f ./recode/Makefile ] || exit 0; \
18028 r=`${PWD_COMMAND}`; export r; \
18029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18030 $(SET_LIB_PATH) \
18031 $(HOST_EXPORTS) \
18032 for flag in $(EXTRA_HOST_FLAGS) ; do \
18033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18034 done; \
18035 echo "Doing maintainer-clean in recode" ; \
18036 (cd recode && \
18037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18039 "RANLIB=$${RANLIB}" \
18040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18041 maintainer-clean) \
18042 || exit 1
18044 @endif recode
18047 .PHONY: configure-sed maybe-configure-sed
18048 maybe-configure-sed:
18049 @if sed
18050 maybe-configure-sed: configure-sed
18051 configure-sed:
18052 @test ! -f sed/Makefile || exit 0; \
18053 [ -d sed ] || mkdir sed; \
18054 r=`${PWD_COMMAND}`; export r; \
18055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18056 $(HOST_EXPORTS) \
18057 echo Configuring in sed; \
18058 cd sed || exit 1; \
18059 case $(srcdir) in \
18060 \.) \
18061 srcdiroption="--srcdir=."; \
18062 libsrcdir=".";; \
18063 /* | [A-Za-z]:[\\/]*) \
18064 srcdiroption="--srcdir=$(srcdir)/sed"; \
18065 libsrcdir="$$s/sed";; \
18066 *) \
18067 srcdiroption="--srcdir=../$(srcdir)/sed"; \
18068 libsrcdir="$$s/sed";; \
18069 esac; \
18070 $(SHELL) $${libsrcdir}/configure \
18071 $(HOST_CONFIGARGS) $${srcdiroption} \
18072 || exit 1
18073 @endif sed
18075 .PHONY: all-sed maybe-all-sed
18076 maybe-all-sed:
18077 @if sed
18078 TARGET-sed=all
18079 maybe-all-sed: all-sed
18080 all-sed: configure-sed
18081 @r=`${PWD_COMMAND}`; export r; \
18082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18083 $(SET_LIB_PATH) \
18084 $(HOST_EXPORTS) \
18085 (cd sed && $(MAKE) $(FLAGS_TO_PASS) \
18086 $(TARGET-sed))
18087 @endif sed
18089 .PHONY: check-sed maybe-check-sed
18090 maybe-check-sed:
18091 @if sed
18092 maybe-check-sed: check-sed
18094 check-sed:
18095 @r=`${PWD_COMMAND}`; export r; \
18096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18097 $(SET_LIB_PATH) \
18098 $(HOST_EXPORTS) \
18099 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
18101 @endif sed
18103 .PHONY: install-sed maybe-install-sed
18104 maybe-install-sed:
18105 @if sed
18106 maybe-install-sed: install-sed
18108 install-sed: installdirs
18109 @r=`${PWD_COMMAND}`; export r; \
18110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18111 $(SET_LIB_PATH) \
18112 $(HOST_EXPORTS) \
18113 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
18115 @endif sed
18117 # Other targets (info, dvi, etc.)
18119 .PHONY: maybe-info-sed info-sed
18120 maybe-info-sed:
18121 @if sed
18122 maybe-info-sed: info-sed
18124 info-sed: \
18125 configure-sed
18126 @[ -f ./sed/Makefile ] || exit 0; \
18127 r=`${PWD_COMMAND}`; export r; \
18128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18129 $(SET_LIB_PATH) \
18130 $(HOST_EXPORTS) \
18131 for flag in $(EXTRA_HOST_FLAGS) ; do \
18132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18133 done; \
18134 echo "Doing info in sed" ; \
18135 (cd sed && \
18136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18138 "RANLIB=$${RANLIB}" \
18139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18140 info) \
18141 || exit 1
18143 @endif sed
18145 .PHONY: maybe-dvi-sed dvi-sed
18146 maybe-dvi-sed:
18147 @if sed
18148 maybe-dvi-sed: dvi-sed
18150 dvi-sed: \
18151 configure-sed
18152 @[ -f ./sed/Makefile ] || exit 0; \
18153 r=`${PWD_COMMAND}`; export r; \
18154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18155 $(SET_LIB_PATH) \
18156 $(HOST_EXPORTS) \
18157 for flag in $(EXTRA_HOST_FLAGS) ; do \
18158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18159 done; \
18160 echo "Doing dvi in sed" ; \
18161 (cd sed && \
18162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18164 "RANLIB=$${RANLIB}" \
18165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18166 dvi) \
18167 || exit 1
18169 @endif sed
18171 .PHONY: maybe-html-sed html-sed
18172 maybe-html-sed:
18173 @if sed
18174 maybe-html-sed: html-sed
18176 html-sed: \
18177 configure-sed
18178 @[ -f ./sed/Makefile ] || exit 0; \
18179 r=`${PWD_COMMAND}`; export r; \
18180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18181 $(SET_LIB_PATH) \
18182 $(HOST_EXPORTS) \
18183 for flag in $(EXTRA_HOST_FLAGS) ; do \
18184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18185 done; \
18186 echo "Doing html in sed" ; \
18187 (cd sed && \
18188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18190 "RANLIB=$${RANLIB}" \
18191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18192 html) \
18193 || exit 1
18195 @endif sed
18197 .PHONY: maybe-TAGS-sed TAGS-sed
18198 maybe-TAGS-sed:
18199 @if sed
18200 maybe-TAGS-sed: TAGS-sed
18202 TAGS-sed: \
18203 configure-sed
18204 @[ -f ./sed/Makefile ] || exit 0; \
18205 r=`${PWD_COMMAND}`; export r; \
18206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18207 $(SET_LIB_PATH) \
18208 $(HOST_EXPORTS) \
18209 for flag in $(EXTRA_HOST_FLAGS) ; do \
18210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18211 done; \
18212 echo "Doing TAGS in sed" ; \
18213 (cd sed && \
18214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18216 "RANLIB=$${RANLIB}" \
18217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18218 TAGS) \
18219 || exit 1
18221 @endif sed
18223 .PHONY: maybe-install-info-sed install-info-sed
18224 maybe-install-info-sed:
18225 @if sed
18226 maybe-install-info-sed: install-info-sed
18228 install-info-sed: \
18229 configure-sed \
18230 info-sed
18231 @[ -f ./sed/Makefile ] || exit 0; \
18232 r=`${PWD_COMMAND}`; export r; \
18233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18234 $(SET_LIB_PATH) \
18235 $(HOST_EXPORTS) \
18236 for flag in $(EXTRA_HOST_FLAGS) ; do \
18237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18238 done; \
18239 echo "Doing install-info in sed" ; \
18240 (cd sed && \
18241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18243 "RANLIB=$${RANLIB}" \
18244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18245 install-info) \
18246 || exit 1
18248 @endif sed
18250 .PHONY: maybe-installcheck-sed installcheck-sed
18251 maybe-installcheck-sed:
18252 @if sed
18253 maybe-installcheck-sed: installcheck-sed
18255 installcheck-sed: \
18256 configure-sed
18257 @[ -f ./sed/Makefile ] || exit 0; \
18258 r=`${PWD_COMMAND}`; export r; \
18259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18260 $(SET_LIB_PATH) \
18261 $(HOST_EXPORTS) \
18262 for flag in $(EXTRA_HOST_FLAGS) ; do \
18263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18264 done; \
18265 echo "Doing installcheck in sed" ; \
18266 (cd sed && \
18267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18269 "RANLIB=$${RANLIB}" \
18270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18271 installcheck) \
18272 || exit 1
18274 @endif sed
18276 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
18277 maybe-mostlyclean-sed:
18278 @if sed
18279 maybe-mostlyclean-sed: mostlyclean-sed
18281 mostlyclean-sed:
18282 @[ -f ./sed/Makefile ] || exit 0; \
18283 r=`${PWD_COMMAND}`; export r; \
18284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18285 $(SET_LIB_PATH) \
18286 $(HOST_EXPORTS) \
18287 for flag in $(EXTRA_HOST_FLAGS) ; do \
18288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18289 done; \
18290 echo "Doing mostlyclean in sed" ; \
18291 (cd sed && \
18292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18294 "RANLIB=$${RANLIB}" \
18295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18296 mostlyclean) \
18297 || exit 1
18299 @endif sed
18301 .PHONY: maybe-clean-sed clean-sed
18302 maybe-clean-sed:
18303 @if sed
18304 maybe-clean-sed: clean-sed
18306 clean-sed:
18307 @[ -f ./sed/Makefile ] || exit 0; \
18308 r=`${PWD_COMMAND}`; export r; \
18309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18310 $(SET_LIB_PATH) \
18311 $(HOST_EXPORTS) \
18312 for flag in $(EXTRA_HOST_FLAGS) ; do \
18313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18314 done; \
18315 echo "Doing clean in sed" ; \
18316 (cd sed && \
18317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18319 "RANLIB=$${RANLIB}" \
18320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18321 clean) \
18322 || exit 1
18324 @endif sed
18326 .PHONY: maybe-distclean-sed distclean-sed
18327 maybe-distclean-sed:
18328 @if sed
18329 maybe-distclean-sed: distclean-sed
18331 distclean-sed:
18332 @[ -f ./sed/Makefile ] || exit 0; \
18333 r=`${PWD_COMMAND}`; export r; \
18334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18335 $(SET_LIB_PATH) \
18336 $(HOST_EXPORTS) \
18337 for flag in $(EXTRA_HOST_FLAGS) ; do \
18338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18339 done; \
18340 echo "Doing distclean in sed" ; \
18341 (cd sed && \
18342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18344 "RANLIB=$${RANLIB}" \
18345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18346 distclean) \
18347 || exit 1
18349 @endif sed
18351 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
18352 maybe-maintainer-clean-sed:
18353 @if sed
18354 maybe-maintainer-clean-sed: maintainer-clean-sed
18356 maintainer-clean-sed:
18357 @[ -f ./sed/Makefile ] || exit 0; \
18358 r=`${PWD_COMMAND}`; export r; \
18359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18360 $(SET_LIB_PATH) \
18361 $(HOST_EXPORTS) \
18362 for flag in $(EXTRA_HOST_FLAGS) ; do \
18363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18364 done; \
18365 echo "Doing maintainer-clean in sed" ; \
18366 (cd sed && \
18367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18369 "RANLIB=$${RANLIB}" \
18370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18371 maintainer-clean) \
18372 || exit 1
18374 @endif sed
18377 .PHONY: configure-send-pr maybe-configure-send-pr
18378 maybe-configure-send-pr:
18379 @if send-pr
18380 maybe-configure-send-pr: configure-send-pr
18381 configure-send-pr:
18382 @test ! -f send-pr/Makefile || exit 0; \
18383 [ -d send-pr ] || mkdir send-pr; \
18384 r=`${PWD_COMMAND}`; export r; \
18385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18386 $(HOST_EXPORTS) \
18387 echo Configuring in send-pr; \
18388 cd send-pr || exit 1; \
18389 case $(srcdir) in \
18390 \.) \
18391 srcdiroption="--srcdir=."; \
18392 libsrcdir=".";; \
18393 /* | [A-Za-z]:[\\/]*) \
18394 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
18395 libsrcdir="$$s/send-pr";; \
18396 *) \
18397 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
18398 libsrcdir="$$s/send-pr";; \
18399 esac; \
18400 $(SHELL) $${libsrcdir}/configure \
18401 $(HOST_CONFIGARGS) $${srcdiroption} \
18402 || exit 1
18403 @endif send-pr
18405 .PHONY: all-send-pr maybe-all-send-pr
18406 maybe-all-send-pr:
18407 @if send-pr
18408 TARGET-send-pr=all
18409 maybe-all-send-pr: all-send-pr
18410 all-send-pr: configure-send-pr
18411 @r=`${PWD_COMMAND}`; export r; \
18412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18413 $(SET_LIB_PATH) \
18414 $(HOST_EXPORTS) \
18415 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) \
18416 $(TARGET-send-pr))
18417 @endif send-pr
18419 .PHONY: check-send-pr maybe-check-send-pr
18420 maybe-check-send-pr:
18421 @if send-pr
18422 maybe-check-send-pr: check-send-pr
18424 check-send-pr:
18425 @r=`${PWD_COMMAND}`; export r; \
18426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18427 $(SET_LIB_PATH) \
18428 $(HOST_EXPORTS) \
18429 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
18431 @endif send-pr
18433 .PHONY: install-send-pr maybe-install-send-pr
18434 maybe-install-send-pr:
18435 @if send-pr
18436 maybe-install-send-pr: install-send-pr
18438 install-send-pr: installdirs
18439 @r=`${PWD_COMMAND}`; export r; \
18440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18441 $(SET_LIB_PATH) \
18442 $(HOST_EXPORTS) \
18443 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
18445 @endif send-pr
18447 # Other targets (info, dvi, etc.)
18449 .PHONY: maybe-info-send-pr info-send-pr
18450 maybe-info-send-pr:
18451 @if send-pr
18452 maybe-info-send-pr: info-send-pr
18454 info-send-pr: \
18455 configure-send-pr
18456 @[ -f ./send-pr/Makefile ] || exit 0; \
18457 r=`${PWD_COMMAND}`; export r; \
18458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18459 $(SET_LIB_PATH) \
18460 $(HOST_EXPORTS) \
18461 for flag in $(EXTRA_HOST_FLAGS) ; do \
18462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18463 done; \
18464 echo "Doing info in send-pr" ; \
18465 (cd send-pr && \
18466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18468 "RANLIB=$${RANLIB}" \
18469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18470 info) \
18471 || exit 1
18473 @endif send-pr
18475 .PHONY: maybe-dvi-send-pr dvi-send-pr
18476 maybe-dvi-send-pr:
18477 @if send-pr
18478 maybe-dvi-send-pr: dvi-send-pr
18480 dvi-send-pr: \
18481 configure-send-pr
18482 @[ -f ./send-pr/Makefile ] || exit 0; \
18483 r=`${PWD_COMMAND}`; export r; \
18484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18485 $(SET_LIB_PATH) \
18486 $(HOST_EXPORTS) \
18487 for flag in $(EXTRA_HOST_FLAGS) ; do \
18488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18489 done; \
18490 echo "Doing dvi in send-pr" ; \
18491 (cd send-pr && \
18492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18494 "RANLIB=$${RANLIB}" \
18495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18496 dvi) \
18497 || exit 1
18499 @endif send-pr
18501 .PHONY: maybe-html-send-pr html-send-pr
18502 maybe-html-send-pr:
18503 @if send-pr
18504 maybe-html-send-pr: html-send-pr
18506 html-send-pr: \
18507 configure-send-pr
18508 @[ -f ./send-pr/Makefile ] || exit 0; \
18509 r=`${PWD_COMMAND}`; export r; \
18510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18511 $(SET_LIB_PATH) \
18512 $(HOST_EXPORTS) \
18513 for flag in $(EXTRA_HOST_FLAGS) ; do \
18514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18515 done; \
18516 echo "Doing html in send-pr" ; \
18517 (cd send-pr && \
18518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18520 "RANLIB=$${RANLIB}" \
18521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18522 html) \
18523 || exit 1
18525 @endif send-pr
18527 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
18528 maybe-TAGS-send-pr:
18529 @if send-pr
18530 maybe-TAGS-send-pr: TAGS-send-pr
18532 TAGS-send-pr: \
18533 configure-send-pr
18534 @[ -f ./send-pr/Makefile ] || exit 0; \
18535 r=`${PWD_COMMAND}`; export r; \
18536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18537 $(SET_LIB_PATH) \
18538 $(HOST_EXPORTS) \
18539 for flag in $(EXTRA_HOST_FLAGS) ; do \
18540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18541 done; \
18542 echo "Doing TAGS in send-pr" ; \
18543 (cd send-pr && \
18544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18546 "RANLIB=$${RANLIB}" \
18547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18548 TAGS) \
18549 || exit 1
18551 @endif send-pr
18553 .PHONY: maybe-install-info-send-pr install-info-send-pr
18554 maybe-install-info-send-pr:
18555 @if send-pr
18556 maybe-install-info-send-pr: install-info-send-pr
18558 install-info-send-pr: \
18559 configure-send-pr \
18560 info-send-pr
18561 @[ -f ./send-pr/Makefile ] || exit 0; \
18562 r=`${PWD_COMMAND}`; export r; \
18563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18564 $(SET_LIB_PATH) \
18565 $(HOST_EXPORTS) \
18566 for flag in $(EXTRA_HOST_FLAGS) ; do \
18567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18568 done; \
18569 echo "Doing install-info in send-pr" ; \
18570 (cd send-pr && \
18571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18573 "RANLIB=$${RANLIB}" \
18574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18575 install-info) \
18576 || exit 1
18578 @endif send-pr
18580 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
18581 maybe-installcheck-send-pr:
18582 @if send-pr
18583 maybe-installcheck-send-pr: installcheck-send-pr
18585 installcheck-send-pr: \
18586 configure-send-pr
18587 @[ -f ./send-pr/Makefile ] || exit 0; \
18588 r=`${PWD_COMMAND}`; export r; \
18589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18590 $(SET_LIB_PATH) \
18591 $(HOST_EXPORTS) \
18592 for flag in $(EXTRA_HOST_FLAGS) ; do \
18593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18594 done; \
18595 echo "Doing installcheck in send-pr" ; \
18596 (cd send-pr && \
18597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18599 "RANLIB=$${RANLIB}" \
18600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18601 installcheck) \
18602 || exit 1
18604 @endif send-pr
18606 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
18607 maybe-mostlyclean-send-pr:
18608 @if send-pr
18609 maybe-mostlyclean-send-pr: mostlyclean-send-pr
18611 mostlyclean-send-pr:
18612 @[ -f ./send-pr/Makefile ] || exit 0; \
18613 r=`${PWD_COMMAND}`; export r; \
18614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18615 $(SET_LIB_PATH) \
18616 $(HOST_EXPORTS) \
18617 for flag in $(EXTRA_HOST_FLAGS) ; do \
18618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18619 done; \
18620 echo "Doing mostlyclean in send-pr" ; \
18621 (cd send-pr && \
18622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18624 "RANLIB=$${RANLIB}" \
18625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18626 mostlyclean) \
18627 || exit 1
18629 @endif send-pr
18631 .PHONY: maybe-clean-send-pr clean-send-pr
18632 maybe-clean-send-pr:
18633 @if send-pr
18634 maybe-clean-send-pr: clean-send-pr
18636 clean-send-pr:
18637 @[ -f ./send-pr/Makefile ] || exit 0; \
18638 r=`${PWD_COMMAND}`; export r; \
18639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18640 $(SET_LIB_PATH) \
18641 $(HOST_EXPORTS) \
18642 for flag in $(EXTRA_HOST_FLAGS) ; do \
18643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18644 done; \
18645 echo "Doing clean in send-pr" ; \
18646 (cd send-pr && \
18647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18649 "RANLIB=$${RANLIB}" \
18650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18651 clean) \
18652 || exit 1
18654 @endif send-pr
18656 .PHONY: maybe-distclean-send-pr distclean-send-pr
18657 maybe-distclean-send-pr:
18658 @if send-pr
18659 maybe-distclean-send-pr: distclean-send-pr
18661 distclean-send-pr:
18662 @[ -f ./send-pr/Makefile ] || exit 0; \
18663 r=`${PWD_COMMAND}`; export r; \
18664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18665 $(SET_LIB_PATH) \
18666 $(HOST_EXPORTS) \
18667 for flag in $(EXTRA_HOST_FLAGS) ; do \
18668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18669 done; \
18670 echo "Doing distclean in send-pr" ; \
18671 (cd send-pr && \
18672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18674 "RANLIB=$${RANLIB}" \
18675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18676 distclean) \
18677 || exit 1
18679 @endif send-pr
18681 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
18682 maybe-maintainer-clean-send-pr:
18683 @if send-pr
18684 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
18686 maintainer-clean-send-pr:
18687 @[ -f ./send-pr/Makefile ] || exit 0; \
18688 r=`${PWD_COMMAND}`; export r; \
18689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18690 $(SET_LIB_PATH) \
18691 $(HOST_EXPORTS) \
18692 for flag in $(EXTRA_HOST_FLAGS) ; do \
18693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18694 done; \
18695 echo "Doing maintainer-clean in send-pr" ; \
18696 (cd send-pr && \
18697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18699 "RANLIB=$${RANLIB}" \
18700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18701 maintainer-clean) \
18702 || exit 1
18704 @endif send-pr
18707 .PHONY: configure-shellutils maybe-configure-shellutils
18708 maybe-configure-shellutils:
18709 @if shellutils
18710 maybe-configure-shellutils: configure-shellutils
18711 configure-shellutils:
18712 @test ! -f shellutils/Makefile || exit 0; \
18713 [ -d shellutils ] || mkdir shellutils; \
18714 r=`${PWD_COMMAND}`; export r; \
18715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18716 $(HOST_EXPORTS) \
18717 echo Configuring in shellutils; \
18718 cd shellutils || exit 1; \
18719 case $(srcdir) in \
18720 \.) \
18721 srcdiroption="--srcdir=."; \
18722 libsrcdir=".";; \
18723 /* | [A-Za-z]:[\\/]*) \
18724 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
18725 libsrcdir="$$s/shellutils";; \
18726 *) \
18727 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
18728 libsrcdir="$$s/shellutils";; \
18729 esac; \
18730 $(SHELL) $${libsrcdir}/configure \
18731 $(HOST_CONFIGARGS) $${srcdiroption} \
18732 || exit 1
18733 @endif shellutils
18735 .PHONY: all-shellutils maybe-all-shellutils
18736 maybe-all-shellutils:
18737 @if shellutils
18738 TARGET-shellutils=all
18739 maybe-all-shellutils: all-shellutils
18740 all-shellutils: configure-shellutils
18741 @r=`${PWD_COMMAND}`; export r; \
18742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18743 $(SET_LIB_PATH) \
18744 $(HOST_EXPORTS) \
18745 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) \
18746 $(TARGET-shellutils))
18747 @endif shellutils
18749 .PHONY: check-shellutils maybe-check-shellutils
18750 maybe-check-shellutils:
18751 @if shellutils
18752 maybe-check-shellutils: check-shellutils
18754 check-shellutils:
18755 @r=`${PWD_COMMAND}`; export r; \
18756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18757 $(SET_LIB_PATH) \
18758 $(HOST_EXPORTS) \
18759 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
18761 @endif shellutils
18763 .PHONY: install-shellutils maybe-install-shellutils
18764 maybe-install-shellutils:
18765 @if shellutils
18766 maybe-install-shellutils: install-shellutils
18768 install-shellutils: installdirs
18769 @r=`${PWD_COMMAND}`; export r; \
18770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18771 $(SET_LIB_PATH) \
18772 $(HOST_EXPORTS) \
18773 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
18775 @endif shellutils
18777 # Other targets (info, dvi, etc.)
18779 .PHONY: maybe-info-shellutils info-shellutils
18780 maybe-info-shellutils:
18781 @if shellutils
18782 maybe-info-shellutils: info-shellutils
18784 info-shellutils: \
18785 configure-shellutils
18786 @[ -f ./shellutils/Makefile ] || exit 0; \
18787 r=`${PWD_COMMAND}`; export r; \
18788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18789 $(SET_LIB_PATH) \
18790 $(HOST_EXPORTS) \
18791 for flag in $(EXTRA_HOST_FLAGS) ; do \
18792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18793 done; \
18794 echo "Doing info in shellutils" ; \
18795 (cd shellutils && \
18796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18798 "RANLIB=$${RANLIB}" \
18799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18800 info) \
18801 || exit 1
18803 @endif shellutils
18805 .PHONY: maybe-dvi-shellutils dvi-shellutils
18806 maybe-dvi-shellutils:
18807 @if shellutils
18808 maybe-dvi-shellutils: dvi-shellutils
18810 dvi-shellutils: \
18811 configure-shellutils
18812 @[ -f ./shellutils/Makefile ] || exit 0; \
18813 r=`${PWD_COMMAND}`; export r; \
18814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18815 $(SET_LIB_PATH) \
18816 $(HOST_EXPORTS) \
18817 for flag in $(EXTRA_HOST_FLAGS) ; do \
18818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18819 done; \
18820 echo "Doing dvi in shellutils" ; \
18821 (cd shellutils && \
18822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18824 "RANLIB=$${RANLIB}" \
18825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18826 dvi) \
18827 || exit 1
18829 @endif shellutils
18831 .PHONY: maybe-html-shellutils html-shellutils
18832 maybe-html-shellutils:
18833 @if shellutils
18834 maybe-html-shellutils: html-shellutils
18836 html-shellutils: \
18837 configure-shellutils
18838 @[ -f ./shellutils/Makefile ] || exit 0; \
18839 r=`${PWD_COMMAND}`; export r; \
18840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18841 $(SET_LIB_PATH) \
18842 $(HOST_EXPORTS) \
18843 for flag in $(EXTRA_HOST_FLAGS) ; do \
18844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18845 done; \
18846 echo "Doing html in shellutils" ; \
18847 (cd shellutils && \
18848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18850 "RANLIB=$${RANLIB}" \
18851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18852 html) \
18853 || exit 1
18855 @endif shellutils
18857 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
18858 maybe-TAGS-shellutils:
18859 @if shellutils
18860 maybe-TAGS-shellutils: TAGS-shellutils
18862 TAGS-shellutils: \
18863 configure-shellutils
18864 @[ -f ./shellutils/Makefile ] || exit 0; \
18865 r=`${PWD_COMMAND}`; export r; \
18866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18867 $(SET_LIB_PATH) \
18868 $(HOST_EXPORTS) \
18869 for flag in $(EXTRA_HOST_FLAGS) ; do \
18870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18871 done; \
18872 echo "Doing TAGS in shellutils" ; \
18873 (cd shellutils && \
18874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18876 "RANLIB=$${RANLIB}" \
18877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18878 TAGS) \
18879 || exit 1
18881 @endif shellutils
18883 .PHONY: maybe-install-info-shellutils install-info-shellutils
18884 maybe-install-info-shellutils:
18885 @if shellutils
18886 maybe-install-info-shellutils: install-info-shellutils
18888 install-info-shellutils: \
18889 configure-shellutils \
18890 info-shellutils
18891 @[ -f ./shellutils/Makefile ] || exit 0; \
18892 r=`${PWD_COMMAND}`; export r; \
18893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18894 $(SET_LIB_PATH) \
18895 $(HOST_EXPORTS) \
18896 for flag in $(EXTRA_HOST_FLAGS) ; do \
18897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18898 done; \
18899 echo "Doing install-info in shellutils" ; \
18900 (cd shellutils && \
18901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18903 "RANLIB=$${RANLIB}" \
18904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18905 install-info) \
18906 || exit 1
18908 @endif shellutils
18910 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
18911 maybe-installcheck-shellutils:
18912 @if shellutils
18913 maybe-installcheck-shellutils: installcheck-shellutils
18915 installcheck-shellutils: \
18916 configure-shellutils
18917 @[ -f ./shellutils/Makefile ] || exit 0; \
18918 r=`${PWD_COMMAND}`; export r; \
18919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18920 $(SET_LIB_PATH) \
18921 $(HOST_EXPORTS) \
18922 for flag in $(EXTRA_HOST_FLAGS) ; do \
18923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18924 done; \
18925 echo "Doing installcheck in shellutils" ; \
18926 (cd shellutils && \
18927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18929 "RANLIB=$${RANLIB}" \
18930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18931 installcheck) \
18932 || exit 1
18934 @endif shellutils
18936 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
18937 maybe-mostlyclean-shellutils:
18938 @if shellutils
18939 maybe-mostlyclean-shellutils: mostlyclean-shellutils
18941 mostlyclean-shellutils:
18942 @[ -f ./shellutils/Makefile ] || exit 0; \
18943 r=`${PWD_COMMAND}`; export r; \
18944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18945 $(SET_LIB_PATH) \
18946 $(HOST_EXPORTS) \
18947 for flag in $(EXTRA_HOST_FLAGS) ; do \
18948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18949 done; \
18950 echo "Doing mostlyclean in shellutils" ; \
18951 (cd shellutils && \
18952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18954 "RANLIB=$${RANLIB}" \
18955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18956 mostlyclean) \
18957 || exit 1
18959 @endif shellutils
18961 .PHONY: maybe-clean-shellutils clean-shellutils
18962 maybe-clean-shellutils:
18963 @if shellutils
18964 maybe-clean-shellutils: clean-shellutils
18966 clean-shellutils:
18967 @[ -f ./shellutils/Makefile ] || exit 0; \
18968 r=`${PWD_COMMAND}`; export r; \
18969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18970 $(SET_LIB_PATH) \
18971 $(HOST_EXPORTS) \
18972 for flag in $(EXTRA_HOST_FLAGS) ; do \
18973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18974 done; \
18975 echo "Doing clean in shellutils" ; \
18976 (cd shellutils && \
18977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18979 "RANLIB=$${RANLIB}" \
18980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18981 clean) \
18982 || exit 1
18984 @endif shellutils
18986 .PHONY: maybe-distclean-shellutils distclean-shellutils
18987 maybe-distclean-shellutils:
18988 @if shellutils
18989 maybe-distclean-shellutils: distclean-shellutils
18991 distclean-shellutils:
18992 @[ -f ./shellutils/Makefile ] || exit 0; \
18993 r=`${PWD_COMMAND}`; export r; \
18994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18995 $(SET_LIB_PATH) \
18996 $(HOST_EXPORTS) \
18997 for flag in $(EXTRA_HOST_FLAGS) ; do \
18998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18999 done; \
19000 echo "Doing distclean in shellutils" ; \
19001 (cd shellutils && \
19002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19004 "RANLIB=$${RANLIB}" \
19005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19006 distclean) \
19007 || exit 1
19009 @endif shellutils
19011 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
19012 maybe-maintainer-clean-shellutils:
19013 @if shellutils
19014 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
19016 maintainer-clean-shellutils:
19017 @[ -f ./shellutils/Makefile ] || exit 0; \
19018 r=`${PWD_COMMAND}`; export r; \
19019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19020 $(SET_LIB_PATH) \
19021 $(HOST_EXPORTS) \
19022 for flag in $(EXTRA_HOST_FLAGS) ; do \
19023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19024 done; \
19025 echo "Doing maintainer-clean in shellutils" ; \
19026 (cd shellutils && \
19027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19029 "RANLIB=$${RANLIB}" \
19030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19031 maintainer-clean) \
19032 || exit 1
19034 @endif shellutils
19037 .PHONY: configure-sid maybe-configure-sid
19038 maybe-configure-sid:
19039 @if sid
19040 maybe-configure-sid: configure-sid
19041 configure-sid:
19042 @test ! -f sid/Makefile || exit 0; \
19043 [ -d sid ] || mkdir sid; \
19044 r=`${PWD_COMMAND}`; export r; \
19045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19046 $(HOST_EXPORTS) \
19047 echo Configuring in sid; \
19048 cd sid || exit 1; \
19049 case $(srcdir) in \
19050 \.) \
19051 srcdiroption="--srcdir=."; \
19052 libsrcdir=".";; \
19053 /* | [A-Za-z]:[\\/]*) \
19054 srcdiroption="--srcdir=$(srcdir)/sid"; \
19055 libsrcdir="$$s/sid";; \
19056 *) \
19057 srcdiroption="--srcdir=../$(srcdir)/sid"; \
19058 libsrcdir="$$s/sid";; \
19059 esac; \
19060 $(SHELL) $${libsrcdir}/configure \
19061 $(HOST_CONFIGARGS) $${srcdiroption} \
19062 || exit 1
19063 @endif sid
19065 .PHONY: all-sid maybe-all-sid
19066 maybe-all-sid:
19067 @if sid
19068 TARGET-sid=all
19069 maybe-all-sid: all-sid
19070 all-sid: configure-sid
19071 @r=`${PWD_COMMAND}`; export r; \
19072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19073 $(SET_LIB_PATH) \
19074 $(HOST_EXPORTS) \
19075 (cd sid && $(MAKE) $(FLAGS_TO_PASS) \
19076 $(TARGET-sid))
19077 @endif sid
19079 .PHONY: check-sid maybe-check-sid
19080 maybe-check-sid:
19081 @if sid
19082 maybe-check-sid: check-sid
19084 check-sid:
19085 @r=`${PWD_COMMAND}`; export r; \
19086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19087 $(SET_LIB_PATH) \
19088 $(HOST_EXPORTS) \
19089 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
19091 @endif sid
19093 .PHONY: install-sid maybe-install-sid
19094 maybe-install-sid:
19095 @if sid
19096 maybe-install-sid: install-sid
19098 install-sid: installdirs
19099 @r=`${PWD_COMMAND}`; export r; \
19100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19101 $(SET_LIB_PATH) \
19102 $(HOST_EXPORTS) \
19103 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
19105 @endif sid
19107 # Other targets (info, dvi, etc.)
19109 .PHONY: maybe-info-sid info-sid
19110 maybe-info-sid:
19111 @if sid
19112 maybe-info-sid: info-sid
19114 info-sid: \
19115 configure-sid
19116 @[ -f ./sid/Makefile ] || exit 0; \
19117 r=`${PWD_COMMAND}`; export r; \
19118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19119 $(SET_LIB_PATH) \
19120 $(HOST_EXPORTS) \
19121 for flag in $(EXTRA_HOST_FLAGS) ; do \
19122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19123 done; \
19124 echo "Doing info in sid" ; \
19125 (cd sid && \
19126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19128 "RANLIB=$${RANLIB}" \
19129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19130 info) \
19131 || exit 1
19133 @endif sid
19135 .PHONY: maybe-dvi-sid dvi-sid
19136 maybe-dvi-sid:
19137 @if sid
19138 maybe-dvi-sid: dvi-sid
19140 dvi-sid: \
19141 configure-sid
19142 @[ -f ./sid/Makefile ] || exit 0; \
19143 r=`${PWD_COMMAND}`; export r; \
19144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19145 $(SET_LIB_PATH) \
19146 $(HOST_EXPORTS) \
19147 for flag in $(EXTRA_HOST_FLAGS) ; do \
19148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19149 done; \
19150 echo "Doing dvi in sid" ; \
19151 (cd sid && \
19152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19154 "RANLIB=$${RANLIB}" \
19155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19156 dvi) \
19157 || exit 1
19159 @endif sid
19161 .PHONY: maybe-html-sid html-sid
19162 maybe-html-sid:
19163 @if sid
19164 maybe-html-sid: html-sid
19166 html-sid: \
19167 configure-sid
19168 @[ -f ./sid/Makefile ] || exit 0; \
19169 r=`${PWD_COMMAND}`; export r; \
19170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19171 $(SET_LIB_PATH) \
19172 $(HOST_EXPORTS) \
19173 for flag in $(EXTRA_HOST_FLAGS) ; do \
19174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19175 done; \
19176 echo "Doing html in sid" ; \
19177 (cd sid && \
19178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19180 "RANLIB=$${RANLIB}" \
19181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19182 html) \
19183 || exit 1
19185 @endif sid
19187 .PHONY: maybe-TAGS-sid TAGS-sid
19188 maybe-TAGS-sid:
19189 @if sid
19190 maybe-TAGS-sid: TAGS-sid
19192 TAGS-sid: \
19193 configure-sid
19194 @[ -f ./sid/Makefile ] || exit 0; \
19195 r=`${PWD_COMMAND}`; export r; \
19196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19197 $(SET_LIB_PATH) \
19198 $(HOST_EXPORTS) \
19199 for flag in $(EXTRA_HOST_FLAGS) ; do \
19200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19201 done; \
19202 echo "Doing TAGS in sid" ; \
19203 (cd sid && \
19204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19206 "RANLIB=$${RANLIB}" \
19207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19208 TAGS) \
19209 || exit 1
19211 @endif sid
19213 .PHONY: maybe-install-info-sid install-info-sid
19214 maybe-install-info-sid:
19215 @if sid
19216 maybe-install-info-sid: install-info-sid
19218 install-info-sid: \
19219 configure-sid \
19220 info-sid
19221 @[ -f ./sid/Makefile ] || exit 0; \
19222 r=`${PWD_COMMAND}`; export r; \
19223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19224 $(SET_LIB_PATH) \
19225 $(HOST_EXPORTS) \
19226 for flag in $(EXTRA_HOST_FLAGS) ; do \
19227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19228 done; \
19229 echo "Doing install-info in sid" ; \
19230 (cd sid && \
19231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19233 "RANLIB=$${RANLIB}" \
19234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19235 install-info) \
19236 || exit 1
19238 @endif sid
19240 .PHONY: maybe-installcheck-sid installcheck-sid
19241 maybe-installcheck-sid:
19242 @if sid
19243 maybe-installcheck-sid: installcheck-sid
19245 installcheck-sid: \
19246 configure-sid
19247 @[ -f ./sid/Makefile ] || exit 0; \
19248 r=`${PWD_COMMAND}`; export r; \
19249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19250 $(SET_LIB_PATH) \
19251 $(HOST_EXPORTS) \
19252 for flag in $(EXTRA_HOST_FLAGS) ; do \
19253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19254 done; \
19255 echo "Doing installcheck in sid" ; \
19256 (cd sid && \
19257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19259 "RANLIB=$${RANLIB}" \
19260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19261 installcheck) \
19262 || exit 1
19264 @endif sid
19266 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
19267 maybe-mostlyclean-sid:
19268 @if sid
19269 maybe-mostlyclean-sid: mostlyclean-sid
19271 mostlyclean-sid:
19272 @[ -f ./sid/Makefile ] || exit 0; \
19273 r=`${PWD_COMMAND}`; export r; \
19274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19275 $(SET_LIB_PATH) \
19276 $(HOST_EXPORTS) \
19277 for flag in $(EXTRA_HOST_FLAGS) ; do \
19278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19279 done; \
19280 echo "Doing mostlyclean in sid" ; \
19281 (cd sid && \
19282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19284 "RANLIB=$${RANLIB}" \
19285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19286 mostlyclean) \
19287 || exit 1
19289 @endif sid
19291 .PHONY: maybe-clean-sid clean-sid
19292 maybe-clean-sid:
19293 @if sid
19294 maybe-clean-sid: clean-sid
19296 clean-sid:
19297 @[ -f ./sid/Makefile ] || exit 0; \
19298 r=`${PWD_COMMAND}`; export r; \
19299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19300 $(SET_LIB_PATH) \
19301 $(HOST_EXPORTS) \
19302 for flag in $(EXTRA_HOST_FLAGS) ; do \
19303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19304 done; \
19305 echo "Doing clean in sid" ; \
19306 (cd sid && \
19307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19309 "RANLIB=$${RANLIB}" \
19310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19311 clean) \
19312 || exit 1
19314 @endif sid
19316 .PHONY: maybe-distclean-sid distclean-sid
19317 maybe-distclean-sid:
19318 @if sid
19319 maybe-distclean-sid: distclean-sid
19321 distclean-sid:
19322 @[ -f ./sid/Makefile ] || exit 0; \
19323 r=`${PWD_COMMAND}`; export r; \
19324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19325 $(SET_LIB_PATH) \
19326 $(HOST_EXPORTS) \
19327 for flag in $(EXTRA_HOST_FLAGS) ; do \
19328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19329 done; \
19330 echo "Doing distclean in sid" ; \
19331 (cd sid && \
19332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19334 "RANLIB=$${RANLIB}" \
19335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19336 distclean) \
19337 || exit 1
19339 @endif sid
19341 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
19342 maybe-maintainer-clean-sid:
19343 @if sid
19344 maybe-maintainer-clean-sid: maintainer-clean-sid
19346 maintainer-clean-sid:
19347 @[ -f ./sid/Makefile ] || exit 0; \
19348 r=`${PWD_COMMAND}`; export r; \
19349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19350 $(SET_LIB_PATH) \
19351 $(HOST_EXPORTS) \
19352 for flag in $(EXTRA_HOST_FLAGS) ; do \
19353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19354 done; \
19355 echo "Doing maintainer-clean in sid" ; \
19356 (cd sid && \
19357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19359 "RANLIB=$${RANLIB}" \
19360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19361 maintainer-clean) \
19362 || exit 1
19364 @endif sid
19367 .PHONY: configure-sim maybe-configure-sim
19368 maybe-configure-sim:
19369 @if sim
19370 maybe-configure-sim: configure-sim
19371 configure-sim:
19372 @test ! -f sim/Makefile || exit 0; \
19373 [ -d sim ] || mkdir sim; \
19374 r=`${PWD_COMMAND}`; export r; \
19375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19376 $(HOST_EXPORTS) \
19377 echo Configuring in sim; \
19378 cd sim || exit 1; \
19379 case $(srcdir) in \
19380 \.) \
19381 srcdiroption="--srcdir=."; \
19382 libsrcdir=".";; \
19383 /* | [A-Za-z]:[\\/]*) \
19384 srcdiroption="--srcdir=$(srcdir)/sim"; \
19385 libsrcdir="$$s/sim";; \
19386 *) \
19387 srcdiroption="--srcdir=../$(srcdir)/sim"; \
19388 libsrcdir="$$s/sim";; \
19389 esac; \
19390 $(SHELL) $${libsrcdir}/configure \
19391 $(HOST_CONFIGARGS) $${srcdiroption} \
19392 || exit 1
19393 @endif sim
19395 .PHONY: all-sim maybe-all-sim
19396 maybe-all-sim:
19397 @if sim
19398 TARGET-sim=all
19399 maybe-all-sim: all-sim
19400 all-sim: configure-sim
19401 @r=`${PWD_COMMAND}`; export r; \
19402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19403 $(SET_LIB_PATH) \
19404 $(HOST_EXPORTS) \
19405 (cd sim && $(MAKE) $(FLAGS_TO_PASS) \
19406 $(TARGET-sim))
19407 @endif sim
19409 .PHONY: check-sim maybe-check-sim
19410 maybe-check-sim:
19411 @if sim
19412 maybe-check-sim: check-sim
19414 check-sim:
19415 @r=`${PWD_COMMAND}`; export r; \
19416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19417 $(SET_LIB_PATH) \
19418 $(HOST_EXPORTS) \
19419 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
19421 @endif sim
19423 .PHONY: install-sim maybe-install-sim
19424 maybe-install-sim:
19425 @if sim
19426 maybe-install-sim: install-sim
19428 install-sim: installdirs
19429 @r=`${PWD_COMMAND}`; export r; \
19430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19431 $(SET_LIB_PATH) \
19432 $(HOST_EXPORTS) \
19433 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
19435 @endif sim
19437 # Other targets (info, dvi, etc.)
19439 .PHONY: maybe-info-sim info-sim
19440 maybe-info-sim:
19441 @if sim
19442 maybe-info-sim: info-sim
19444 info-sim: \
19445 configure-sim
19446 @[ -f ./sim/Makefile ] || exit 0; \
19447 r=`${PWD_COMMAND}`; export r; \
19448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19449 $(SET_LIB_PATH) \
19450 $(HOST_EXPORTS) \
19451 for flag in $(EXTRA_HOST_FLAGS) ; do \
19452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19453 done; \
19454 echo "Doing info in sim" ; \
19455 (cd sim && \
19456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19458 "RANLIB=$${RANLIB}" \
19459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19460 info) \
19461 || exit 1
19463 @endif sim
19465 .PHONY: maybe-dvi-sim dvi-sim
19466 maybe-dvi-sim:
19467 @if sim
19468 maybe-dvi-sim: dvi-sim
19470 dvi-sim: \
19471 configure-sim
19472 @[ -f ./sim/Makefile ] || exit 0; \
19473 r=`${PWD_COMMAND}`; export r; \
19474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19475 $(SET_LIB_PATH) \
19476 $(HOST_EXPORTS) \
19477 for flag in $(EXTRA_HOST_FLAGS) ; do \
19478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19479 done; \
19480 echo "Doing dvi in sim" ; \
19481 (cd sim && \
19482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19484 "RANLIB=$${RANLIB}" \
19485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19486 dvi) \
19487 || exit 1
19489 @endif sim
19491 .PHONY: maybe-html-sim html-sim
19492 maybe-html-sim:
19493 @if sim
19494 maybe-html-sim: html-sim
19496 html-sim: \
19497 configure-sim
19498 @[ -f ./sim/Makefile ] || exit 0; \
19499 r=`${PWD_COMMAND}`; export r; \
19500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19501 $(SET_LIB_PATH) \
19502 $(HOST_EXPORTS) \
19503 for flag in $(EXTRA_HOST_FLAGS) ; do \
19504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19505 done; \
19506 echo "Doing html in sim" ; \
19507 (cd sim && \
19508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19510 "RANLIB=$${RANLIB}" \
19511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19512 html) \
19513 || exit 1
19515 @endif sim
19517 .PHONY: maybe-TAGS-sim TAGS-sim
19518 maybe-TAGS-sim:
19519 @if sim
19520 maybe-TAGS-sim: TAGS-sim
19522 TAGS-sim: \
19523 configure-sim
19524 @[ -f ./sim/Makefile ] || exit 0; \
19525 r=`${PWD_COMMAND}`; export r; \
19526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19527 $(SET_LIB_PATH) \
19528 $(HOST_EXPORTS) \
19529 for flag in $(EXTRA_HOST_FLAGS) ; do \
19530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19531 done; \
19532 echo "Doing TAGS in sim" ; \
19533 (cd sim && \
19534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19536 "RANLIB=$${RANLIB}" \
19537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19538 TAGS) \
19539 || exit 1
19541 @endif sim
19543 .PHONY: maybe-install-info-sim install-info-sim
19544 maybe-install-info-sim:
19545 @if sim
19546 maybe-install-info-sim: install-info-sim
19548 install-info-sim: \
19549 configure-sim \
19550 info-sim
19551 @[ -f ./sim/Makefile ] || exit 0; \
19552 r=`${PWD_COMMAND}`; export r; \
19553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19554 $(SET_LIB_PATH) \
19555 $(HOST_EXPORTS) \
19556 for flag in $(EXTRA_HOST_FLAGS) ; do \
19557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19558 done; \
19559 echo "Doing install-info in sim" ; \
19560 (cd sim && \
19561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19563 "RANLIB=$${RANLIB}" \
19564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19565 install-info) \
19566 || exit 1
19568 @endif sim
19570 .PHONY: maybe-installcheck-sim installcheck-sim
19571 maybe-installcheck-sim:
19572 @if sim
19573 maybe-installcheck-sim: installcheck-sim
19575 installcheck-sim: \
19576 configure-sim
19577 @[ -f ./sim/Makefile ] || exit 0; \
19578 r=`${PWD_COMMAND}`; export r; \
19579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19580 $(SET_LIB_PATH) \
19581 $(HOST_EXPORTS) \
19582 for flag in $(EXTRA_HOST_FLAGS) ; do \
19583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19584 done; \
19585 echo "Doing installcheck in sim" ; \
19586 (cd sim && \
19587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19589 "RANLIB=$${RANLIB}" \
19590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19591 installcheck) \
19592 || exit 1
19594 @endif sim
19596 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
19597 maybe-mostlyclean-sim:
19598 @if sim
19599 maybe-mostlyclean-sim: mostlyclean-sim
19601 mostlyclean-sim:
19602 @[ -f ./sim/Makefile ] || exit 0; \
19603 r=`${PWD_COMMAND}`; export r; \
19604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19605 $(SET_LIB_PATH) \
19606 $(HOST_EXPORTS) \
19607 for flag in $(EXTRA_HOST_FLAGS) ; do \
19608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19609 done; \
19610 echo "Doing mostlyclean in sim" ; \
19611 (cd sim && \
19612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19614 "RANLIB=$${RANLIB}" \
19615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19616 mostlyclean) \
19617 || exit 1
19619 @endif sim
19621 .PHONY: maybe-clean-sim clean-sim
19622 maybe-clean-sim:
19623 @if sim
19624 maybe-clean-sim: clean-sim
19626 clean-sim:
19627 @[ -f ./sim/Makefile ] || exit 0; \
19628 r=`${PWD_COMMAND}`; export r; \
19629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19630 $(SET_LIB_PATH) \
19631 $(HOST_EXPORTS) \
19632 for flag in $(EXTRA_HOST_FLAGS) ; do \
19633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19634 done; \
19635 echo "Doing clean in sim" ; \
19636 (cd sim && \
19637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19639 "RANLIB=$${RANLIB}" \
19640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19641 clean) \
19642 || exit 1
19644 @endif sim
19646 .PHONY: maybe-distclean-sim distclean-sim
19647 maybe-distclean-sim:
19648 @if sim
19649 maybe-distclean-sim: distclean-sim
19651 distclean-sim:
19652 @[ -f ./sim/Makefile ] || exit 0; \
19653 r=`${PWD_COMMAND}`; export r; \
19654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19655 $(SET_LIB_PATH) \
19656 $(HOST_EXPORTS) \
19657 for flag in $(EXTRA_HOST_FLAGS) ; do \
19658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19659 done; \
19660 echo "Doing distclean in sim" ; \
19661 (cd sim && \
19662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19664 "RANLIB=$${RANLIB}" \
19665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19666 distclean) \
19667 || exit 1
19669 @endif sim
19671 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
19672 maybe-maintainer-clean-sim:
19673 @if sim
19674 maybe-maintainer-clean-sim: maintainer-clean-sim
19676 maintainer-clean-sim:
19677 @[ -f ./sim/Makefile ] || exit 0; \
19678 r=`${PWD_COMMAND}`; export r; \
19679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19680 $(SET_LIB_PATH) \
19681 $(HOST_EXPORTS) \
19682 for flag in $(EXTRA_HOST_FLAGS) ; do \
19683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19684 done; \
19685 echo "Doing maintainer-clean in sim" ; \
19686 (cd sim && \
19687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19689 "RANLIB=$${RANLIB}" \
19690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19691 maintainer-clean) \
19692 || exit 1
19694 @endif sim
19697 .PHONY: configure-tar maybe-configure-tar
19698 maybe-configure-tar:
19699 @if tar
19700 maybe-configure-tar: configure-tar
19701 configure-tar:
19702 @test ! -f tar/Makefile || exit 0; \
19703 [ -d tar ] || mkdir tar; \
19704 r=`${PWD_COMMAND}`; export r; \
19705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19706 $(HOST_EXPORTS) \
19707 echo Configuring in tar; \
19708 cd tar || exit 1; \
19709 case $(srcdir) in \
19710 \.) \
19711 srcdiroption="--srcdir=."; \
19712 libsrcdir=".";; \
19713 /* | [A-Za-z]:[\\/]*) \
19714 srcdiroption="--srcdir=$(srcdir)/tar"; \
19715 libsrcdir="$$s/tar";; \
19716 *) \
19717 srcdiroption="--srcdir=../$(srcdir)/tar"; \
19718 libsrcdir="$$s/tar";; \
19719 esac; \
19720 $(SHELL) $${libsrcdir}/configure \
19721 $(HOST_CONFIGARGS) $${srcdiroption} \
19722 || exit 1
19723 @endif tar
19725 .PHONY: all-tar maybe-all-tar
19726 maybe-all-tar:
19727 @if tar
19728 TARGET-tar=all
19729 maybe-all-tar: all-tar
19730 all-tar: configure-tar
19731 @r=`${PWD_COMMAND}`; export r; \
19732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19733 $(SET_LIB_PATH) \
19734 $(HOST_EXPORTS) \
19735 (cd tar && $(MAKE) $(FLAGS_TO_PASS) \
19736 $(TARGET-tar))
19737 @endif tar
19739 .PHONY: check-tar maybe-check-tar
19740 maybe-check-tar:
19741 @if tar
19742 maybe-check-tar: check-tar
19744 check-tar:
19745 @r=`${PWD_COMMAND}`; export r; \
19746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19747 $(SET_LIB_PATH) \
19748 $(HOST_EXPORTS) \
19749 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
19751 @endif tar
19753 .PHONY: install-tar maybe-install-tar
19754 maybe-install-tar:
19755 @if tar
19756 maybe-install-tar: install-tar
19758 install-tar: installdirs
19759 @r=`${PWD_COMMAND}`; export r; \
19760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19761 $(SET_LIB_PATH) \
19762 $(HOST_EXPORTS) \
19763 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
19765 @endif tar
19767 # Other targets (info, dvi, etc.)
19769 .PHONY: maybe-info-tar info-tar
19770 maybe-info-tar:
19771 @if tar
19772 maybe-info-tar: info-tar
19774 info-tar: \
19775 configure-tar
19776 @[ -f ./tar/Makefile ] || exit 0; \
19777 r=`${PWD_COMMAND}`; export r; \
19778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19779 $(SET_LIB_PATH) \
19780 $(HOST_EXPORTS) \
19781 for flag in $(EXTRA_HOST_FLAGS) ; do \
19782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19783 done; \
19784 echo "Doing info in tar" ; \
19785 (cd tar && \
19786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19788 "RANLIB=$${RANLIB}" \
19789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19790 info) \
19791 || exit 1
19793 @endif tar
19795 .PHONY: maybe-dvi-tar dvi-tar
19796 maybe-dvi-tar:
19797 @if tar
19798 maybe-dvi-tar: dvi-tar
19800 dvi-tar: \
19801 configure-tar
19802 @[ -f ./tar/Makefile ] || exit 0; \
19803 r=`${PWD_COMMAND}`; export r; \
19804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19805 $(SET_LIB_PATH) \
19806 $(HOST_EXPORTS) \
19807 for flag in $(EXTRA_HOST_FLAGS) ; do \
19808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19809 done; \
19810 echo "Doing dvi in tar" ; \
19811 (cd tar && \
19812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19814 "RANLIB=$${RANLIB}" \
19815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19816 dvi) \
19817 || exit 1
19819 @endif tar
19821 .PHONY: maybe-html-tar html-tar
19822 maybe-html-tar:
19823 @if tar
19824 maybe-html-tar: html-tar
19826 html-tar: \
19827 configure-tar
19828 @[ -f ./tar/Makefile ] || exit 0; \
19829 r=`${PWD_COMMAND}`; export r; \
19830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19831 $(SET_LIB_PATH) \
19832 $(HOST_EXPORTS) \
19833 for flag in $(EXTRA_HOST_FLAGS) ; do \
19834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19835 done; \
19836 echo "Doing html in tar" ; \
19837 (cd tar && \
19838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19840 "RANLIB=$${RANLIB}" \
19841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19842 html) \
19843 || exit 1
19845 @endif tar
19847 .PHONY: maybe-TAGS-tar TAGS-tar
19848 maybe-TAGS-tar:
19849 @if tar
19850 maybe-TAGS-tar: TAGS-tar
19852 TAGS-tar: \
19853 configure-tar
19854 @[ -f ./tar/Makefile ] || exit 0; \
19855 r=`${PWD_COMMAND}`; export r; \
19856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19857 $(SET_LIB_PATH) \
19858 $(HOST_EXPORTS) \
19859 for flag in $(EXTRA_HOST_FLAGS) ; do \
19860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19861 done; \
19862 echo "Doing TAGS in tar" ; \
19863 (cd tar && \
19864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19866 "RANLIB=$${RANLIB}" \
19867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19868 TAGS) \
19869 || exit 1
19871 @endif tar
19873 .PHONY: maybe-install-info-tar install-info-tar
19874 maybe-install-info-tar:
19875 @if tar
19876 maybe-install-info-tar: install-info-tar
19878 install-info-tar: \
19879 configure-tar \
19880 info-tar
19881 @[ -f ./tar/Makefile ] || exit 0; \
19882 r=`${PWD_COMMAND}`; export r; \
19883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19884 $(SET_LIB_PATH) \
19885 $(HOST_EXPORTS) \
19886 for flag in $(EXTRA_HOST_FLAGS) ; do \
19887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19888 done; \
19889 echo "Doing install-info in tar" ; \
19890 (cd tar && \
19891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19893 "RANLIB=$${RANLIB}" \
19894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19895 install-info) \
19896 || exit 1
19898 @endif tar
19900 .PHONY: maybe-installcheck-tar installcheck-tar
19901 maybe-installcheck-tar:
19902 @if tar
19903 maybe-installcheck-tar: installcheck-tar
19905 installcheck-tar: \
19906 configure-tar
19907 @[ -f ./tar/Makefile ] || exit 0; \
19908 r=`${PWD_COMMAND}`; export r; \
19909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19910 $(SET_LIB_PATH) \
19911 $(HOST_EXPORTS) \
19912 for flag in $(EXTRA_HOST_FLAGS) ; do \
19913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19914 done; \
19915 echo "Doing installcheck in tar" ; \
19916 (cd tar && \
19917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19919 "RANLIB=$${RANLIB}" \
19920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19921 installcheck) \
19922 || exit 1
19924 @endif tar
19926 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
19927 maybe-mostlyclean-tar:
19928 @if tar
19929 maybe-mostlyclean-tar: mostlyclean-tar
19931 mostlyclean-tar:
19932 @[ -f ./tar/Makefile ] || exit 0; \
19933 r=`${PWD_COMMAND}`; export r; \
19934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19935 $(SET_LIB_PATH) \
19936 $(HOST_EXPORTS) \
19937 for flag in $(EXTRA_HOST_FLAGS) ; do \
19938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19939 done; \
19940 echo "Doing mostlyclean in tar" ; \
19941 (cd tar && \
19942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19944 "RANLIB=$${RANLIB}" \
19945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19946 mostlyclean) \
19947 || exit 1
19949 @endif tar
19951 .PHONY: maybe-clean-tar clean-tar
19952 maybe-clean-tar:
19953 @if tar
19954 maybe-clean-tar: clean-tar
19956 clean-tar:
19957 @[ -f ./tar/Makefile ] || exit 0; \
19958 r=`${PWD_COMMAND}`; export r; \
19959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19960 $(SET_LIB_PATH) \
19961 $(HOST_EXPORTS) \
19962 for flag in $(EXTRA_HOST_FLAGS) ; do \
19963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19964 done; \
19965 echo "Doing clean in tar" ; \
19966 (cd tar && \
19967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19969 "RANLIB=$${RANLIB}" \
19970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19971 clean) \
19972 || exit 1
19974 @endif tar
19976 .PHONY: maybe-distclean-tar distclean-tar
19977 maybe-distclean-tar:
19978 @if tar
19979 maybe-distclean-tar: distclean-tar
19981 distclean-tar:
19982 @[ -f ./tar/Makefile ] || exit 0; \
19983 r=`${PWD_COMMAND}`; export r; \
19984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19985 $(SET_LIB_PATH) \
19986 $(HOST_EXPORTS) \
19987 for flag in $(EXTRA_HOST_FLAGS) ; do \
19988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19989 done; \
19990 echo "Doing distclean in tar" ; \
19991 (cd tar && \
19992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19994 "RANLIB=$${RANLIB}" \
19995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19996 distclean) \
19997 || exit 1
19999 @endif tar
20001 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
20002 maybe-maintainer-clean-tar:
20003 @if tar
20004 maybe-maintainer-clean-tar: maintainer-clean-tar
20006 maintainer-clean-tar:
20007 @[ -f ./tar/Makefile ] || exit 0; \
20008 r=`${PWD_COMMAND}`; export r; \
20009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20010 $(SET_LIB_PATH) \
20011 $(HOST_EXPORTS) \
20012 for flag in $(EXTRA_HOST_FLAGS) ; do \
20013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20014 done; \
20015 echo "Doing maintainer-clean in tar" ; \
20016 (cd tar && \
20017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20019 "RANLIB=$${RANLIB}" \
20020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20021 maintainer-clean) \
20022 || exit 1
20024 @endif tar
20027 .PHONY: configure-texinfo maybe-configure-texinfo
20028 maybe-configure-texinfo:
20029 @if texinfo
20030 maybe-configure-texinfo: configure-texinfo
20031 configure-texinfo:
20032 @test ! -f texinfo/Makefile || exit 0; \
20033 [ -d texinfo ] || mkdir texinfo; \
20034 r=`${PWD_COMMAND}`; export r; \
20035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20036 $(HOST_EXPORTS) \
20037 echo Configuring in texinfo; \
20038 cd texinfo || exit 1; \
20039 case $(srcdir) in \
20040 \.) \
20041 srcdiroption="--srcdir=."; \
20042 libsrcdir=".";; \
20043 /* | [A-Za-z]:[\\/]*) \
20044 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
20045 libsrcdir="$$s/texinfo";; \
20046 *) \
20047 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
20048 libsrcdir="$$s/texinfo";; \
20049 esac; \
20050 $(SHELL) $${libsrcdir}/configure \
20051 $(HOST_CONFIGARGS) $${srcdiroption} \
20052 || exit 1
20053 @endif texinfo
20055 .PHONY: all-texinfo maybe-all-texinfo
20056 maybe-all-texinfo:
20057 @if texinfo
20058 TARGET-texinfo=all
20059 maybe-all-texinfo: all-texinfo
20060 all-texinfo: configure-texinfo
20061 @r=`${PWD_COMMAND}`; export r; \
20062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20063 $(SET_LIB_PATH) \
20064 $(HOST_EXPORTS) \
20065 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) \
20066 $(TARGET-texinfo))
20067 @endif texinfo
20069 .PHONY: check-texinfo maybe-check-texinfo
20070 maybe-check-texinfo:
20071 @if texinfo
20072 maybe-check-texinfo: check-texinfo
20074 check-texinfo:
20075 @r=`${PWD_COMMAND}`; export r; \
20076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20077 $(SET_LIB_PATH) \
20078 $(HOST_EXPORTS) \
20079 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
20081 @endif texinfo
20083 .PHONY: install-texinfo maybe-install-texinfo
20084 maybe-install-texinfo:
20085 @if texinfo
20086 maybe-install-texinfo: install-texinfo
20088 install-texinfo:
20090 @endif texinfo
20092 # Other targets (info, dvi, etc.)
20094 .PHONY: maybe-info-texinfo info-texinfo
20095 maybe-info-texinfo:
20096 @if texinfo
20097 maybe-info-texinfo: info-texinfo
20099 info-texinfo: \
20100 configure-texinfo
20101 @[ -f ./texinfo/Makefile ] || exit 0; \
20102 r=`${PWD_COMMAND}`; export r; \
20103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20104 $(SET_LIB_PATH) \
20105 $(HOST_EXPORTS) \
20106 for flag in $(EXTRA_HOST_FLAGS) ; do \
20107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20108 done; \
20109 echo "Doing info in texinfo" ; \
20110 (cd texinfo && \
20111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20113 "RANLIB=$${RANLIB}" \
20114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20115 info) \
20116 || exit 1
20118 @endif texinfo
20120 .PHONY: maybe-dvi-texinfo dvi-texinfo
20121 maybe-dvi-texinfo:
20122 @if texinfo
20123 maybe-dvi-texinfo: dvi-texinfo
20125 dvi-texinfo: \
20126 configure-texinfo
20127 @[ -f ./texinfo/Makefile ] || exit 0; \
20128 r=`${PWD_COMMAND}`; export r; \
20129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20130 $(SET_LIB_PATH) \
20131 $(HOST_EXPORTS) \
20132 for flag in $(EXTRA_HOST_FLAGS) ; do \
20133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20134 done; \
20135 echo "Doing dvi in texinfo" ; \
20136 (cd texinfo && \
20137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20139 "RANLIB=$${RANLIB}" \
20140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20141 dvi) \
20142 || exit 1
20144 @endif texinfo
20146 .PHONY: maybe-html-texinfo html-texinfo
20147 maybe-html-texinfo:
20148 @if texinfo
20149 maybe-html-texinfo: html-texinfo
20151 html-texinfo: \
20152 configure-texinfo
20153 @[ -f ./texinfo/Makefile ] || exit 0; \
20154 r=`${PWD_COMMAND}`; export r; \
20155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20156 $(SET_LIB_PATH) \
20157 $(HOST_EXPORTS) \
20158 for flag in $(EXTRA_HOST_FLAGS) ; do \
20159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20160 done; \
20161 echo "Doing html in texinfo" ; \
20162 (cd texinfo && \
20163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20165 "RANLIB=$${RANLIB}" \
20166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20167 html) \
20168 || exit 1
20170 @endif texinfo
20172 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
20173 maybe-TAGS-texinfo:
20174 @if texinfo
20175 maybe-TAGS-texinfo: TAGS-texinfo
20177 TAGS-texinfo: \
20178 configure-texinfo
20179 @[ -f ./texinfo/Makefile ] || exit 0; \
20180 r=`${PWD_COMMAND}`; export r; \
20181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20182 $(SET_LIB_PATH) \
20183 $(HOST_EXPORTS) \
20184 for flag in $(EXTRA_HOST_FLAGS) ; do \
20185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20186 done; \
20187 echo "Doing TAGS in texinfo" ; \
20188 (cd texinfo && \
20189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20191 "RANLIB=$${RANLIB}" \
20192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20193 TAGS) \
20194 || exit 1
20196 @endif texinfo
20198 .PHONY: maybe-install-info-texinfo install-info-texinfo
20199 maybe-install-info-texinfo:
20200 @if texinfo
20201 maybe-install-info-texinfo: install-info-texinfo
20203 install-info-texinfo: \
20204 configure-texinfo \
20205 info-texinfo
20206 @[ -f ./texinfo/Makefile ] || exit 0; \
20207 r=`${PWD_COMMAND}`; export r; \
20208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20209 $(SET_LIB_PATH) \
20210 $(HOST_EXPORTS) \
20211 for flag in $(EXTRA_HOST_FLAGS) ; do \
20212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20213 done; \
20214 echo "Doing install-info in texinfo" ; \
20215 (cd texinfo && \
20216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20218 "RANLIB=$${RANLIB}" \
20219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20220 install-info) \
20221 || exit 1
20223 @endif texinfo
20225 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
20226 maybe-installcheck-texinfo:
20227 @if texinfo
20228 maybe-installcheck-texinfo: installcheck-texinfo
20230 installcheck-texinfo: \
20231 configure-texinfo
20232 @[ -f ./texinfo/Makefile ] || exit 0; \
20233 r=`${PWD_COMMAND}`; export r; \
20234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20235 $(SET_LIB_PATH) \
20236 $(HOST_EXPORTS) \
20237 for flag in $(EXTRA_HOST_FLAGS) ; do \
20238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20239 done; \
20240 echo "Doing installcheck in texinfo" ; \
20241 (cd texinfo && \
20242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20244 "RANLIB=$${RANLIB}" \
20245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20246 installcheck) \
20247 || exit 1
20249 @endif texinfo
20251 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
20252 maybe-mostlyclean-texinfo:
20253 @if texinfo
20254 maybe-mostlyclean-texinfo: mostlyclean-texinfo
20256 mostlyclean-texinfo:
20257 @[ -f ./texinfo/Makefile ] || exit 0; \
20258 r=`${PWD_COMMAND}`; export r; \
20259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20260 $(SET_LIB_PATH) \
20261 $(HOST_EXPORTS) \
20262 for flag in $(EXTRA_HOST_FLAGS) ; do \
20263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20264 done; \
20265 echo "Doing mostlyclean in texinfo" ; \
20266 (cd texinfo && \
20267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20269 "RANLIB=$${RANLIB}" \
20270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20271 mostlyclean) \
20272 || exit 1
20274 @endif texinfo
20276 .PHONY: maybe-clean-texinfo clean-texinfo
20277 maybe-clean-texinfo:
20278 @if texinfo
20279 maybe-clean-texinfo: clean-texinfo
20281 clean-texinfo:
20282 @[ -f ./texinfo/Makefile ] || exit 0; \
20283 r=`${PWD_COMMAND}`; export r; \
20284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20285 $(SET_LIB_PATH) \
20286 $(HOST_EXPORTS) \
20287 for flag in $(EXTRA_HOST_FLAGS) ; do \
20288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20289 done; \
20290 echo "Doing clean in texinfo" ; \
20291 (cd texinfo && \
20292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20294 "RANLIB=$${RANLIB}" \
20295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20296 clean) \
20297 || exit 1
20299 @endif texinfo
20301 .PHONY: maybe-distclean-texinfo distclean-texinfo
20302 maybe-distclean-texinfo:
20303 @if texinfo
20304 maybe-distclean-texinfo: distclean-texinfo
20306 distclean-texinfo:
20307 @[ -f ./texinfo/Makefile ] || exit 0; \
20308 r=`${PWD_COMMAND}`; export r; \
20309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20310 $(SET_LIB_PATH) \
20311 $(HOST_EXPORTS) \
20312 for flag in $(EXTRA_HOST_FLAGS) ; do \
20313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20314 done; \
20315 echo "Doing distclean in texinfo" ; \
20316 (cd texinfo && \
20317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20319 "RANLIB=$${RANLIB}" \
20320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20321 distclean) \
20322 || exit 1
20324 @endif texinfo
20326 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
20327 maybe-maintainer-clean-texinfo:
20328 @if texinfo
20329 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
20331 maintainer-clean-texinfo:
20332 @[ -f ./texinfo/Makefile ] || exit 0; \
20333 r=`${PWD_COMMAND}`; export r; \
20334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20335 $(SET_LIB_PATH) \
20336 $(HOST_EXPORTS) \
20337 for flag in $(EXTRA_HOST_FLAGS) ; do \
20338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20339 done; \
20340 echo "Doing maintainer-clean in texinfo" ; \
20341 (cd texinfo && \
20342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20344 "RANLIB=$${RANLIB}" \
20345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20346 maintainer-clean) \
20347 || exit 1
20349 @endif texinfo
20352 .PHONY: configure-textutils maybe-configure-textutils
20353 maybe-configure-textutils:
20354 @if textutils
20355 maybe-configure-textutils: configure-textutils
20356 configure-textutils:
20357 @test ! -f textutils/Makefile || exit 0; \
20358 [ -d textutils ] || mkdir textutils; \
20359 r=`${PWD_COMMAND}`; export r; \
20360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20361 $(HOST_EXPORTS) \
20362 echo Configuring in textutils; \
20363 cd textutils || exit 1; \
20364 case $(srcdir) in \
20365 \.) \
20366 srcdiroption="--srcdir=."; \
20367 libsrcdir=".";; \
20368 /* | [A-Za-z]:[\\/]*) \
20369 srcdiroption="--srcdir=$(srcdir)/textutils"; \
20370 libsrcdir="$$s/textutils";; \
20371 *) \
20372 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
20373 libsrcdir="$$s/textutils";; \
20374 esac; \
20375 $(SHELL) $${libsrcdir}/configure \
20376 $(HOST_CONFIGARGS) $${srcdiroption} \
20377 || exit 1
20378 @endif textutils
20380 .PHONY: all-textutils maybe-all-textutils
20381 maybe-all-textutils:
20382 @if textutils
20383 TARGET-textutils=all
20384 maybe-all-textutils: all-textutils
20385 all-textutils: configure-textutils
20386 @r=`${PWD_COMMAND}`; export r; \
20387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20388 $(SET_LIB_PATH) \
20389 $(HOST_EXPORTS) \
20390 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) \
20391 $(TARGET-textutils))
20392 @endif textutils
20394 .PHONY: check-textutils maybe-check-textutils
20395 maybe-check-textutils:
20396 @if textutils
20397 maybe-check-textutils: check-textutils
20399 check-textutils:
20400 @r=`${PWD_COMMAND}`; export r; \
20401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20402 $(SET_LIB_PATH) \
20403 $(HOST_EXPORTS) \
20404 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
20406 @endif textutils
20408 .PHONY: install-textutils maybe-install-textutils
20409 maybe-install-textutils:
20410 @if textutils
20411 maybe-install-textutils: install-textutils
20413 install-textutils: installdirs
20414 @r=`${PWD_COMMAND}`; export r; \
20415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20416 $(SET_LIB_PATH) \
20417 $(HOST_EXPORTS) \
20418 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
20420 @endif textutils
20422 # Other targets (info, dvi, etc.)
20424 .PHONY: maybe-info-textutils info-textutils
20425 maybe-info-textutils:
20426 @if textutils
20427 maybe-info-textutils: info-textutils
20429 info-textutils: \
20430 configure-textutils
20431 @[ -f ./textutils/Makefile ] || exit 0; \
20432 r=`${PWD_COMMAND}`; export r; \
20433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20434 $(SET_LIB_PATH) \
20435 $(HOST_EXPORTS) \
20436 for flag in $(EXTRA_HOST_FLAGS) ; do \
20437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20438 done; \
20439 echo "Doing info in textutils" ; \
20440 (cd textutils && \
20441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20443 "RANLIB=$${RANLIB}" \
20444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20445 info) \
20446 || exit 1
20448 @endif textutils
20450 .PHONY: maybe-dvi-textutils dvi-textutils
20451 maybe-dvi-textutils:
20452 @if textutils
20453 maybe-dvi-textutils: dvi-textutils
20455 dvi-textutils: \
20456 configure-textutils
20457 @[ -f ./textutils/Makefile ] || exit 0; \
20458 r=`${PWD_COMMAND}`; export r; \
20459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20460 $(SET_LIB_PATH) \
20461 $(HOST_EXPORTS) \
20462 for flag in $(EXTRA_HOST_FLAGS) ; do \
20463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20464 done; \
20465 echo "Doing dvi in textutils" ; \
20466 (cd textutils && \
20467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20469 "RANLIB=$${RANLIB}" \
20470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20471 dvi) \
20472 || exit 1
20474 @endif textutils
20476 .PHONY: maybe-html-textutils html-textutils
20477 maybe-html-textutils:
20478 @if textutils
20479 maybe-html-textutils: html-textutils
20481 html-textutils: \
20482 configure-textutils
20483 @[ -f ./textutils/Makefile ] || exit 0; \
20484 r=`${PWD_COMMAND}`; export r; \
20485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20486 $(SET_LIB_PATH) \
20487 $(HOST_EXPORTS) \
20488 for flag in $(EXTRA_HOST_FLAGS) ; do \
20489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20490 done; \
20491 echo "Doing html in textutils" ; \
20492 (cd textutils && \
20493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20495 "RANLIB=$${RANLIB}" \
20496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20497 html) \
20498 || exit 1
20500 @endif textutils
20502 .PHONY: maybe-TAGS-textutils TAGS-textutils
20503 maybe-TAGS-textutils:
20504 @if textutils
20505 maybe-TAGS-textutils: TAGS-textutils
20507 TAGS-textutils: \
20508 configure-textutils
20509 @[ -f ./textutils/Makefile ] || exit 0; \
20510 r=`${PWD_COMMAND}`; export r; \
20511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20512 $(SET_LIB_PATH) \
20513 $(HOST_EXPORTS) \
20514 for flag in $(EXTRA_HOST_FLAGS) ; do \
20515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20516 done; \
20517 echo "Doing TAGS in textutils" ; \
20518 (cd textutils && \
20519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20521 "RANLIB=$${RANLIB}" \
20522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20523 TAGS) \
20524 || exit 1
20526 @endif textutils
20528 .PHONY: maybe-install-info-textutils install-info-textutils
20529 maybe-install-info-textutils:
20530 @if textutils
20531 maybe-install-info-textutils: install-info-textutils
20533 install-info-textutils: \
20534 configure-textutils \
20535 info-textutils
20536 @[ -f ./textutils/Makefile ] || exit 0; \
20537 r=`${PWD_COMMAND}`; export r; \
20538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20539 $(SET_LIB_PATH) \
20540 $(HOST_EXPORTS) \
20541 for flag in $(EXTRA_HOST_FLAGS) ; do \
20542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20543 done; \
20544 echo "Doing install-info in textutils" ; \
20545 (cd textutils && \
20546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20548 "RANLIB=$${RANLIB}" \
20549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20550 install-info) \
20551 || exit 1
20553 @endif textutils
20555 .PHONY: maybe-installcheck-textutils installcheck-textutils
20556 maybe-installcheck-textutils:
20557 @if textutils
20558 maybe-installcheck-textutils: installcheck-textutils
20560 installcheck-textutils: \
20561 configure-textutils
20562 @[ -f ./textutils/Makefile ] || exit 0; \
20563 r=`${PWD_COMMAND}`; export r; \
20564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20565 $(SET_LIB_PATH) \
20566 $(HOST_EXPORTS) \
20567 for flag in $(EXTRA_HOST_FLAGS) ; do \
20568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20569 done; \
20570 echo "Doing installcheck in textutils" ; \
20571 (cd textutils && \
20572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20574 "RANLIB=$${RANLIB}" \
20575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20576 installcheck) \
20577 || exit 1
20579 @endif textutils
20581 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
20582 maybe-mostlyclean-textutils:
20583 @if textutils
20584 maybe-mostlyclean-textutils: mostlyclean-textutils
20586 mostlyclean-textutils:
20587 @[ -f ./textutils/Makefile ] || exit 0; \
20588 r=`${PWD_COMMAND}`; export r; \
20589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20590 $(SET_LIB_PATH) \
20591 $(HOST_EXPORTS) \
20592 for flag in $(EXTRA_HOST_FLAGS) ; do \
20593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20594 done; \
20595 echo "Doing mostlyclean in textutils" ; \
20596 (cd textutils && \
20597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20599 "RANLIB=$${RANLIB}" \
20600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20601 mostlyclean) \
20602 || exit 1
20604 @endif textutils
20606 .PHONY: maybe-clean-textutils clean-textutils
20607 maybe-clean-textutils:
20608 @if textutils
20609 maybe-clean-textutils: clean-textutils
20611 clean-textutils:
20612 @[ -f ./textutils/Makefile ] || exit 0; \
20613 r=`${PWD_COMMAND}`; export r; \
20614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20615 $(SET_LIB_PATH) \
20616 $(HOST_EXPORTS) \
20617 for flag in $(EXTRA_HOST_FLAGS) ; do \
20618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20619 done; \
20620 echo "Doing clean in textutils" ; \
20621 (cd textutils && \
20622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20624 "RANLIB=$${RANLIB}" \
20625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20626 clean) \
20627 || exit 1
20629 @endif textutils
20631 .PHONY: maybe-distclean-textutils distclean-textutils
20632 maybe-distclean-textutils:
20633 @if textutils
20634 maybe-distclean-textutils: distclean-textutils
20636 distclean-textutils:
20637 @[ -f ./textutils/Makefile ] || exit 0; \
20638 r=`${PWD_COMMAND}`; export r; \
20639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20640 $(SET_LIB_PATH) \
20641 $(HOST_EXPORTS) \
20642 for flag in $(EXTRA_HOST_FLAGS) ; do \
20643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20644 done; \
20645 echo "Doing distclean in textutils" ; \
20646 (cd textutils && \
20647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20649 "RANLIB=$${RANLIB}" \
20650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20651 distclean) \
20652 || exit 1
20654 @endif textutils
20656 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
20657 maybe-maintainer-clean-textutils:
20658 @if textutils
20659 maybe-maintainer-clean-textutils: maintainer-clean-textutils
20661 maintainer-clean-textutils:
20662 @[ -f ./textutils/Makefile ] || exit 0; \
20663 r=`${PWD_COMMAND}`; export r; \
20664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20665 $(SET_LIB_PATH) \
20666 $(HOST_EXPORTS) \
20667 for flag in $(EXTRA_HOST_FLAGS) ; do \
20668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20669 done; \
20670 echo "Doing maintainer-clean in textutils" ; \
20671 (cd textutils && \
20672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20674 "RANLIB=$${RANLIB}" \
20675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20676 maintainer-clean) \
20677 || exit 1
20679 @endif textutils
20682 .PHONY: configure-time maybe-configure-time
20683 maybe-configure-time:
20684 @if time
20685 maybe-configure-time: configure-time
20686 configure-time:
20687 @test ! -f time/Makefile || exit 0; \
20688 [ -d time ] || mkdir time; \
20689 r=`${PWD_COMMAND}`; export r; \
20690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20691 $(HOST_EXPORTS) \
20692 echo Configuring in time; \
20693 cd time || exit 1; \
20694 case $(srcdir) in \
20695 \.) \
20696 srcdiroption="--srcdir=."; \
20697 libsrcdir=".";; \
20698 /* | [A-Za-z]:[\\/]*) \
20699 srcdiroption="--srcdir=$(srcdir)/time"; \
20700 libsrcdir="$$s/time";; \
20701 *) \
20702 srcdiroption="--srcdir=../$(srcdir)/time"; \
20703 libsrcdir="$$s/time";; \
20704 esac; \
20705 $(SHELL) $${libsrcdir}/configure \
20706 $(HOST_CONFIGARGS) $${srcdiroption} \
20707 || exit 1
20708 @endif time
20710 .PHONY: all-time maybe-all-time
20711 maybe-all-time:
20712 @if time
20713 TARGET-time=all
20714 maybe-all-time: all-time
20715 all-time: configure-time
20716 @r=`${PWD_COMMAND}`; export r; \
20717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20718 $(SET_LIB_PATH) \
20719 $(HOST_EXPORTS) \
20720 (cd time && $(MAKE) $(FLAGS_TO_PASS) \
20721 $(TARGET-time))
20722 @endif time
20724 .PHONY: check-time maybe-check-time
20725 maybe-check-time:
20726 @if time
20727 maybe-check-time: check-time
20729 check-time:
20730 @r=`${PWD_COMMAND}`; export r; \
20731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20732 $(SET_LIB_PATH) \
20733 $(HOST_EXPORTS) \
20734 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
20736 @endif time
20738 .PHONY: install-time maybe-install-time
20739 maybe-install-time:
20740 @if time
20741 maybe-install-time: install-time
20743 install-time: installdirs
20744 @r=`${PWD_COMMAND}`; export r; \
20745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20746 $(SET_LIB_PATH) \
20747 $(HOST_EXPORTS) \
20748 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
20750 @endif time
20752 # Other targets (info, dvi, etc.)
20754 .PHONY: maybe-info-time info-time
20755 maybe-info-time:
20756 @if time
20757 maybe-info-time: info-time
20759 info-time: \
20760 configure-time
20761 @[ -f ./time/Makefile ] || exit 0; \
20762 r=`${PWD_COMMAND}`; export r; \
20763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20764 $(SET_LIB_PATH) \
20765 $(HOST_EXPORTS) \
20766 for flag in $(EXTRA_HOST_FLAGS) ; do \
20767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20768 done; \
20769 echo "Doing info in time" ; \
20770 (cd time && \
20771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20773 "RANLIB=$${RANLIB}" \
20774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20775 info) \
20776 || exit 1
20778 @endif time
20780 .PHONY: maybe-dvi-time dvi-time
20781 maybe-dvi-time:
20782 @if time
20783 maybe-dvi-time: dvi-time
20785 dvi-time: \
20786 configure-time
20787 @[ -f ./time/Makefile ] || exit 0; \
20788 r=`${PWD_COMMAND}`; export r; \
20789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20790 $(SET_LIB_PATH) \
20791 $(HOST_EXPORTS) \
20792 for flag in $(EXTRA_HOST_FLAGS) ; do \
20793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20794 done; \
20795 echo "Doing dvi in time" ; \
20796 (cd time && \
20797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20799 "RANLIB=$${RANLIB}" \
20800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20801 dvi) \
20802 || exit 1
20804 @endif time
20806 .PHONY: maybe-html-time html-time
20807 maybe-html-time:
20808 @if time
20809 maybe-html-time: html-time
20811 html-time: \
20812 configure-time
20813 @[ -f ./time/Makefile ] || exit 0; \
20814 r=`${PWD_COMMAND}`; export r; \
20815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20816 $(SET_LIB_PATH) \
20817 $(HOST_EXPORTS) \
20818 for flag in $(EXTRA_HOST_FLAGS) ; do \
20819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20820 done; \
20821 echo "Doing html in time" ; \
20822 (cd time && \
20823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20825 "RANLIB=$${RANLIB}" \
20826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20827 html) \
20828 || exit 1
20830 @endif time
20832 .PHONY: maybe-TAGS-time TAGS-time
20833 maybe-TAGS-time:
20834 @if time
20835 maybe-TAGS-time: TAGS-time
20837 TAGS-time: \
20838 configure-time
20839 @[ -f ./time/Makefile ] || exit 0; \
20840 r=`${PWD_COMMAND}`; export r; \
20841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20842 $(SET_LIB_PATH) \
20843 $(HOST_EXPORTS) \
20844 for flag in $(EXTRA_HOST_FLAGS) ; do \
20845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20846 done; \
20847 echo "Doing TAGS in time" ; \
20848 (cd time && \
20849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20851 "RANLIB=$${RANLIB}" \
20852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20853 TAGS) \
20854 || exit 1
20856 @endif time
20858 .PHONY: maybe-install-info-time install-info-time
20859 maybe-install-info-time:
20860 @if time
20861 maybe-install-info-time: install-info-time
20863 install-info-time: \
20864 configure-time \
20865 info-time
20866 @[ -f ./time/Makefile ] || exit 0; \
20867 r=`${PWD_COMMAND}`; export r; \
20868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20869 $(SET_LIB_PATH) \
20870 $(HOST_EXPORTS) \
20871 for flag in $(EXTRA_HOST_FLAGS) ; do \
20872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20873 done; \
20874 echo "Doing install-info in time" ; \
20875 (cd time && \
20876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20878 "RANLIB=$${RANLIB}" \
20879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20880 install-info) \
20881 || exit 1
20883 @endif time
20885 .PHONY: maybe-installcheck-time installcheck-time
20886 maybe-installcheck-time:
20887 @if time
20888 maybe-installcheck-time: installcheck-time
20890 installcheck-time: \
20891 configure-time
20892 @[ -f ./time/Makefile ] || exit 0; \
20893 r=`${PWD_COMMAND}`; export r; \
20894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20895 $(SET_LIB_PATH) \
20896 $(HOST_EXPORTS) \
20897 for flag in $(EXTRA_HOST_FLAGS) ; do \
20898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20899 done; \
20900 echo "Doing installcheck in time" ; \
20901 (cd time && \
20902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20904 "RANLIB=$${RANLIB}" \
20905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20906 installcheck) \
20907 || exit 1
20909 @endif time
20911 .PHONY: maybe-mostlyclean-time mostlyclean-time
20912 maybe-mostlyclean-time:
20913 @if time
20914 maybe-mostlyclean-time: mostlyclean-time
20916 mostlyclean-time:
20917 @[ -f ./time/Makefile ] || exit 0; \
20918 r=`${PWD_COMMAND}`; export r; \
20919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20920 $(SET_LIB_PATH) \
20921 $(HOST_EXPORTS) \
20922 for flag in $(EXTRA_HOST_FLAGS) ; do \
20923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20924 done; \
20925 echo "Doing mostlyclean in time" ; \
20926 (cd time && \
20927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20929 "RANLIB=$${RANLIB}" \
20930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20931 mostlyclean) \
20932 || exit 1
20934 @endif time
20936 .PHONY: maybe-clean-time clean-time
20937 maybe-clean-time:
20938 @if time
20939 maybe-clean-time: clean-time
20941 clean-time:
20942 @[ -f ./time/Makefile ] || exit 0; \
20943 r=`${PWD_COMMAND}`; export r; \
20944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20945 $(SET_LIB_PATH) \
20946 $(HOST_EXPORTS) \
20947 for flag in $(EXTRA_HOST_FLAGS) ; do \
20948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20949 done; \
20950 echo "Doing clean in time" ; \
20951 (cd time && \
20952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20954 "RANLIB=$${RANLIB}" \
20955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20956 clean) \
20957 || exit 1
20959 @endif time
20961 .PHONY: maybe-distclean-time distclean-time
20962 maybe-distclean-time:
20963 @if time
20964 maybe-distclean-time: distclean-time
20966 distclean-time:
20967 @[ -f ./time/Makefile ] || exit 0; \
20968 r=`${PWD_COMMAND}`; export r; \
20969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20970 $(SET_LIB_PATH) \
20971 $(HOST_EXPORTS) \
20972 for flag in $(EXTRA_HOST_FLAGS) ; do \
20973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20974 done; \
20975 echo "Doing distclean in time" ; \
20976 (cd time && \
20977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20979 "RANLIB=$${RANLIB}" \
20980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20981 distclean) \
20982 || exit 1
20984 @endif time
20986 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
20987 maybe-maintainer-clean-time:
20988 @if time
20989 maybe-maintainer-clean-time: maintainer-clean-time
20991 maintainer-clean-time:
20992 @[ -f ./time/Makefile ] || exit 0; \
20993 r=`${PWD_COMMAND}`; export r; \
20994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20995 $(SET_LIB_PATH) \
20996 $(HOST_EXPORTS) \
20997 for flag in $(EXTRA_HOST_FLAGS) ; do \
20998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20999 done; \
21000 echo "Doing maintainer-clean in time" ; \
21001 (cd time && \
21002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21004 "RANLIB=$${RANLIB}" \
21005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21006 maintainer-clean) \
21007 || exit 1
21009 @endif time
21012 .PHONY: configure-uudecode maybe-configure-uudecode
21013 maybe-configure-uudecode:
21014 @if uudecode
21015 maybe-configure-uudecode: configure-uudecode
21016 configure-uudecode:
21017 @test ! -f uudecode/Makefile || exit 0; \
21018 [ -d uudecode ] || mkdir uudecode; \
21019 r=`${PWD_COMMAND}`; export r; \
21020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21021 $(HOST_EXPORTS) \
21022 echo Configuring in uudecode; \
21023 cd uudecode || exit 1; \
21024 case $(srcdir) in \
21025 \.) \
21026 srcdiroption="--srcdir=."; \
21027 libsrcdir=".";; \
21028 /* | [A-Za-z]:[\\/]*) \
21029 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
21030 libsrcdir="$$s/uudecode";; \
21031 *) \
21032 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
21033 libsrcdir="$$s/uudecode";; \
21034 esac; \
21035 $(SHELL) $${libsrcdir}/configure \
21036 $(HOST_CONFIGARGS) $${srcdiroption} \
21037 || exit 1
21038 @endif uudecode
21040 .PHONY: all-uudecode maybe-all-uudecode
21041 maybe-all-uudecode:
21042 @if uudecode
21043 TARGET-uudecode=all
21044 maybe-all-uudecode: all-uudecode
21045 all-uudecode: configure-uudecode
21046 @r=`${PWD_COMMAND}`; export r; \
21047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21048 $(SET_LIB_PATH) \
21049 $(HOST_EXPORTS) \
21050 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) \
21051 $(TARGET-uudecode))
21052 @endif uudecode
21054 .PHONY: check-uudecode maybe-check-uudecode
21055 maybe-check-uudecode:
21056 @if uudecode
21057 maybe-check-uudecode: check-uudecode
21059 check-uudecode:
21060 @r=`${PWD_COMMAND}`; export r; \
21061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21062 $(SET_LIB_PATH) \
21063 $(HOST_EXPORTS) \
21064 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
21066 @endif uudecode
21068 .PHONY: install-uudecode maybe-install-uudecode
21069 maybe-install-uudecode:
21070 @if uudecode
21071 maybe-install-uudecode: install-uudecode
21073 install-uudecode: installdirs
21074 @r=`${PWD_COMMAND}`; export r; \
21075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21076 $(SET_LIB_PATH) \
21077 $(HOST_EXPORTS) \
21078 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
21080 @endif uudecode
21082 # Other targets (info, dvi, etc.)
21084 .PHONY: maybe-info-uudecode info-uudecode
21085 maybe-info-uudecode:
21086 @if uudecode
21087 maybe-info-uudecode: info-uudecode
21089 info-uudecode: \
21090 configure-uudecode
21091 @[ -f ./uudecode/Makefile ] || exit 0; \
21092 r=`${PWD_COMMAND}`; export r; \
21093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21094 $(SET_LIB_PATH) \
21095 $(HOST_EXPORTS) \
21096 for flag in $(EXTRA_HOST_FLAGS) ; do \
21097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21098 done; \
21099 echo "Doing info in uudecode" ; \
21100 (cd uudecode && \
21101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21103 "RANLIB=$${RANLIB}" \
21104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21105 info) \
21106 || exit 1
21108 @endif uudecode
21110 .PHONY: maybe-dvi-uudecode dvi-uudecode
21111 maybe-dvi-uudecode:
21112 @if uudecode
21113 maybe-dvi-uudecode: dvi-uudecode
21115 dvi-uudecode: \
21116 configure-uudecode
21117 @[ -f ./uudecode/Makefile ] || exit 0; \
21118 r=`${PWD_COMMAND}`; export r; \
21119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21120 $(SET_LIB_PATH) \
21121 $(HOST_EXPORTS) \
21122 for flag in $(EXTRA_HOST_FLAGS) ; do \
21123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21124 done; \
21125 echo "Doing dvi in uudecode" ; \
21126 (cd uudecode && \
21127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21129 "RANLIB=$${RANLIB}" \
21130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21131 dvi) \
21132 || exit 1
21134 @endif uudecode
21136 .PHONY: maybe-html-uudecode html-uudecode
21137 maybe-html-uudecode:
21138 @if uudecode
21139 maybe-html-uudecode: html-uudecode
21141 html-uudecode: \
21142 configure-uudecode
21143 @[ -f ./uudecode/Makefile ] || exit 0; \
21144 r=`${PWD_COMMAND}`; export r; \
21145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21146 $(SET_LIB_PATH) \
21147 $(HOST_EXPORTS) \
21148 for flag in $(EXTRA_HOST_FLAGS) ; do \
21149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21150 done; \
21151 echo "Doing html in uudecode" ; \
21152 (cd uudecode && \
21153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21155 "RANLIB=$${RANLIB}" \
21156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21157 html) \
21158 || exit 1
21160 @endif uudecode
21162 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
21163 maybe-TAGS-uudecode:
21164 @if uudecode
21165 maybe-TAGS-uudecode: TAGS-uudecode
21167 TAGS-uudecode: \
21168 configure-uudecode
21169 @[ -f ./uudecode/Makefile ] || exit 0; \
21170 r=`${PWD_COMMAND}`; export r; \
21171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21172 $(SET_LIB_PATH) \
21173 $(HOST_EXPORTS) \
21174 for flag in $(EXTRA_HOST_FLAGS) ; do \
21175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21176 done; \
21177 echo "Doing TAGS in uudecode" ; \
21178 (cd uudecode && \
21179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21181 "RANLIB=$${RANLIB}" \
21182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21183 TAGS) \
21184 || exit 1
21186 @endif uudecode
21188 .PHONY: maybe-install-info-uudecode install-info-uudecode
21189 maybe-install-info-uudecode:
21190 @if uudecode
21191 maybe-install-info-uudecode: install-info-uudecode
21193 install-info-uudecode: \
21194 configure-uudecode \
21195 info-uudecode
21196 @[ -f ./uudecode/Makefile ] || exit 0; \
21197 r=`${PWD_COMMAND}`; export r; \
21198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21199 $(SET_LIB_PATH) \
21200 $(HOST_EXPORTS) \
21201 for flag in $(EXTRA_HOST_FLAGS) ; do \
21202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21203 done; \
21204 echo "Doing install-info in uudecode" ; \
21205 (cd uudecode && \
21206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21208 "RANLIB=$${RANLIB}" \
21209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21210 install-info) \
21211 || exit 1
21213 @endif uudecode
21215 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
21216 maybe-installcheck-uudecode:
21217 @if uudecode
21218 maybe-installcheck-uudecode: installcheck-uudecode
21220 installcheck-uudecode: \
21221 configure-uudecode
21222 @[ -f ./uudecode/Makefile ] || exit 0; \
21223 r=`${PWD_COMMAND}`; export r; \
21224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21225 $(SET_LIB_PATH) \
21226 $(HOST_EXPORTS) \
21227 for flag in $(EXTRA_HOST_FLAGS) ; do \
21228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21229 done; \
21230 echo "Doing installcheck in uudecode" ; \
21231 (cd uudecode && \
21232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21234 "RANLIB=$${RANLIB}" \
21235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21236 installcheck) \
21237 || exit 1
21239 @endif uudecode
21241 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
21242 maybe-mostlyclean-uudecode:
21243 @if uudecode
21244 maybe-mostlyclean-uudecode: mostlyclean-uudecode
21246 mostlyclean-uudecode:
21247 @[ -f ./uudecode/Makefile ] || exit 0; \
21248 r=`${PWD_COMMAND}`; export r; \
21249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21250 $(SET_LIB_PATH) \
21251 $(HOST_EXPORTS) \
21252 for flag in $(EXTRA_HOST_FLAGS) ; do \
21253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21254 done; \
21255 echo "Doing mostlyclean in uudecode" ; \
21256 (cd uudecode && \
21257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21259 "RANLIB=$${RANLIB}" \
21260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21261 mostlyclean) \
21262 || exit 1
21264 @endif uudecode
21266 .PHONY: maybe-clean-uudecode clean-uudecode
21267 maybe-clean-uudecode:
21268 @if uudecode
21269 maybe-clean-uudecode: clean-uudecode
21271 clean-uudecode:
21272 @[ -f ./uudecode/Makefile ] || exit 0; \
21273 r=`${PWD_COMMAND}`; export r; \
21274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21275 $(SET_LIB_PATH) \
21276 $(HOST_EXPORTS) \
21277 for flag in $(EXTRA_HOST_FLAGS) ; do \
21278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21279 done; \
21280 echo "Doing clean in uudecode" ; \
21281 (cd uudecode && \
21282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21284 "RANLIB=$${RANLIB}" \
21285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21286 clean) \
21287 || exit 1
21289 @endif uudecode
21291 .PHONY: maybe-distclean-uudecode distclean-uudecode
21292 maybe-distclean-uudecode:
21293 @if uudecode
21294 maybe-distclean-uudecode: distclean-uudecode
21296 distclean-uudecode:
21297 @[ -f ./uudecode/Makefile ] || exit 0; \
21298 r=`${PWD_COMMAND}`; export r; \
21299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21300 $(SET_LIB_PATH) \
21301 $(HOST_EXPORTS) \
21302 for flag in $(EXTRA_HOST_FLAGS) ; do \
21303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21304 done; \
21305 echo "Doing distclean in uudecode" ; \
21306 (cd uudecode && \
21307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21309 "RANLIB=$${RANLIB}" \
21310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21311 distclean) \
21312 || exit 1
21314 @endif uudecode
21316 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
21317 maybe-maintainer-clean-uudecode:
21318 @if uudecode
21319 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
21321 maintainer-clean-uudecode:
21322 @[ -f ./uudecode/Makefile ] || exit 0; \
21323 r=`${PWD_COMMAND}`; export r; \
21324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21325 $(SET_LIB_PATH) \
21326 $(HOST_EXPORTS) \
21327 for flag in $(EXTRA_HOST_FLAGS) ; do \
21328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21329 done; \
21330 echo "Doing maintainer-clean in uudecode" ; \
21331 (cd uudecode && \
21332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21334 "RANLIB=$${RANLIB}" \
21335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21336 maintainer-clean) \
21337 || exit 1
21339 @endif uudecode
21342 .PHONY: configure-wdiff maybe-configure-wdiff
21343 maybe-configure-wdiff:
21344 @if wdiff
21345 maybe-configure-wdiff: configure-wdiff
21346 configure-wdiff:
21347 @test ! -f wdiff/Makefile || exit 0; \
21348 [ -d wdiff ] || mkdir wdiff; \
21349 r=`${PWD_COMMAND}`; export r; \
21350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21351 $(HOST_EXPORTS) \
21352 echo Configuring in wdiff; \
21353 cd wdiff || exit 1; \
21354 case $(srcdir) in \
21355 \.) \
21356 srcdiroption="--srcdir=."; \
21357 libsrcdir=".";; \
21358 /* | [A-Za-z]:[\\/]*) \
21359 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
21360 libsrcdir="$$s/wdiff";; \
21361 *) \
21362 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
21363 libsrcdir="$$s/wdiff";; \
21364 esac; \
21365 $(SHELL) $${libsrcdir}/configure \
21366 $(HOST_CONFIGARGS) $${srcdiroption} \
21367 || exit 1
21368 @endif wdiff
21370 .PHONY: all-wdiff maybe-all-wdiff
21371 maybe-all-wdiff:
21372 @if wdiff
21373 TARGET-wdiff=all
21374 maybe-all-wdiff: all-wdiff
21375 all-wdiff: configure-wdiff
21376 @r=`${PWD_COMMAND}`; export r; \
21377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21378 $(SET_LIB_PATH) \
21379 $(HOST_EXPORTS) \
21380 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) \
21381 $(TARGET-wdiff))
21382 @endif wdiff
21384 .PHONY: check-wdiff maybe-check-wdiff
21385 maybe-check-wdiff:
21386 @if wdiff
21387 maybe-check-wdiff: check-wdiff
21389 check-wdiff:
21390 @r=`${PWD_COMMAND}`; export r; \
21391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21392 $(SET_LIB_PATH) \
21393 $(HOST_EXPORTS) \
21394 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
21396 @endif wdiff
21398 .PHONY: install-wdiff maybe-install-wdiff
21399 maybe-install-wdiff:
21400 @if wdiff
21401 maybe-install-wdiff: install-wdiff
21403 install-wdiff: installdirs
21404 @r=`${PWD_COMMAND}`; export r; \
21405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21406 $(SET_LIB_PATH) \
21407 $(HOST_EXPORTS) \
21408 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
21410 @endif wdiff
21412 # Other targets (info, dvi, etc.)
21414 .PHONY: maybe-info-wdiff info-wdiff
21415 maybe-info-wdiff:
21416 @if wdiff
21417 maybe-info-wdiff: info-wdiff
21419 info-wdiff: \
21420 configure-wdiff
21421 @[ -f ./wdiff/Makefile ] || exit 0; \
21422 r=`${PWD_COMMAND}`; export r; \
21423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21424 $(SET_LIB_PATH) \
21425 $(HOST_EXPORTS) \
21426 for flag in $(EXTRA_HOST_FLAGS) ; do \
21427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21428 done; \
21429 echo "Doing info in wdiff" ; \
21430 (cd wdiff && \
21431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21433 "RANLIB=$${RANLIB}" \
21434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21435 info) \
21436 || exit 1
21438 @endif wdiff
21440 .PHONY: maybe-dvi-wdiff dvi-wdiff
21441 maybe-dvi-wdiff:
21442 @if wdiff
21443 maybe-dvi-wdiff: dvi-wdiff
21445 dvi-wdiff: \
21446 configure-wdiff
21447 @[ -f ./wdiff/Makefile ] || exit 0; \
21448 r=`${PWD_COMMAND}`; export r; \
21449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21450 $(SET_LIB_PATH) \
21451 $(HOST_EXPORTS) \
21452 for flag in $(EXTRA_HOST_FLAGS) ; do \
21453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21454 done; \
21455 echo "Doing dvi in wdiff" ; \
21456 (cd wdiff && \
21457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21459 "RANLIB=$${RANLIB}" \
21460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21461 dvi) \
21462 || exit 1
21464 @endif wdiff
21466 .PHONY: maybe-html-wdiff html-wdiff
21467 maybe-html-wdiff:
21468 @if wdiff
21469 maybe-html-wdiff: html-wdiff
21471 html-wdiff: \
21472 configure-wdiff
21473 @[ -f ./wdiff/Makefile ] || exit 0; \
21474 r=`${PWD_COMMAND}`; export r; \
21475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21476 $(SET_LIB_PATH) \
21477 $(HOST_EXPORTS) \
21478 for flag in $(EXTRA_HOST_FLAGS) ; do \
21479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21480 done; \
21481 echo "Doing html in wdiff" ; \
21482 (cd wdiff && \
21483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21485 "RANLIB=$${RANLIB}" \
21486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21487 html) \
21488 || exit 1
21490 @endif wdiff
21492 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
21493 maybe-TAGS-wdiff:
21494 @if wdiff
21495 maybe-TAGS-wdiff: TAGS-wdiff
21497 TAGS-wdiff: \
21498 configure-wdiff
21499 @[ -f ./wdiff/Makefile ] || exit 0; \
21500 r=`${PWD_COMMAND}`; export r; \
21501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21502 $(SET_LIB_PATH) \
21503 $(HOST_EXPORTS) \
21504 for flag in $(EXTRA_HOST_FLAGS) ; do \
21505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21506 done; \
21507 echo "Doing TAGS in wdiff" ; \
21508 (cd wdiff && \
21509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21511 "RANLIB=$${RANLIB}" \
21512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21513 TAGS) \
21514 || exit 1
21516 @endif wdiff
21518 .PHONY: maybe-install-info-wdiff install-info-wdiff
21519 maybe-install-info-wdiff:
21520 @if wdiff
21521 maybe-install-info-wdiff: install-info-wdiff
21523 install-info-wdiff: \
21524 configure-wdiff \
21525 info-wdiff
21526 @[ -f ./wdiff/Makefile ] || exit 0; \
21527 r=`${PWD_COMMAND}`; export r; \
21528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21529 $(SET_LIB_PATH) \
21530 $(HOST_EXPORTS) \
21531 for flag in $(EXTRA_HOST_FLAGS) ; do \
21532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21533 done; \
21534 echo "Doing install-info in wdiff" ; \
21535 (cd wdiff && \
21536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21538 "RANLIB=$${RANLIB}" \
21539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21540 install-info) \
21541 || exit 1
21543 @endif wdiff
21545 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
21546 maybe-installcheck-wdiff:
21547 @if wdiff
21548 maybe-installcheck-wdiff: installcheck-wdiff
21550 installcheck-wdiff: \
21551 configure-wdiff
21552 @[ -f ./wdiff/Makefile ] || exit 0; \
21553 r=`${PWD_COMMAND}`; export r; \
21554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21555 $(SET_LIB_PATH) \
21556 $(HOST_EXPORTS) \
21557 for flag in $(EXTRA_HOST_FLAGS) ; do \
21558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21559 done; \
21560 echo "Doing installcheck in wdiff" ; \
21561 (cd wdiff && \
21562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21564 "RANLIB=$${RANLIB}" \
21565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21566 installcheck) \
21567 || exit 1
21569 @endif wdiff
21571 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
21572 maybe-mostlyclean-wdiff:
21573 @if wdiff
21574 maybe-mostlyclean-wdiff: mostlyclean-wdiff
21576 mostlyclean-wdiff:
21577 @[ -f ./wdiff/Makefile ] || exit 0; \
21578 r=`${PWD_COMMAND}`; export r; \
21579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21580 $(SET_LIB_PATH) \
21581 $(HOST_EXPORTS) \
21582 for flag in $(EXTRA_HOST_FLAGS) ; do \
21583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21584 done; \
21585 echo "Doing mostlyclean in wdiff" ; \
21586 (cd wdiff && \
21587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21589 "RANLIB=$${RANLIB}" \
21590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21591 mostlyclean) \
21592 || exit 1
21594 @endif wdiff
21596 .PHONY: maybe-clean-wdiff clean-wdiff
21597 maybe-clean-wdiff:
21598 @if wdiff
21599 maybe-clean-wdiff: clean-wdiff
21601 clean-wdiff:
21602 @[ -f ./wdiff/Makefile ] || exit 0; \
21603 r=`${PWD_COMMAND}`; export r; \
21604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21605 $(SET_LIB_PATH) \
21606 $(HOST_EXPORTS) \
21607 for flag in $(EXTRA_HOST_FLAGS) ; do \
21608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21609 done; \
21610 echo "Doing clean in wdiff" ; \
21611 (cd wdiff && \
21612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21614 "RANLIB=$${RANLIB}" \
21615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21616 clean) \
21617 || exit 1
21619 @endif wdiff
21621 .PHONY: maybe-distclean-wdiff distclean-wdiff
21622 maybe-distclean-wdiff:
21623 @if wdiff
21624 maybe-distclean-wdiff: distclean-wdiff
21626 distclean-wdiff:
21627 @[ -f ./wdiff/Makefile ] || exit 0; \
21628 r=`${PWD_COMMAND}`; export r; \
21629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21630 $(SET_LIB_PATH) \
21631 $(HOST_EXPORTS) \
21632 for flag in $(EXTRA_HOST_FLAGS) ; do \
21633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21634 done; \
21635 echo "Doing distclean in wdiff" ; \
21636 (cd wdiff && \
21637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21639 "RANLIB=$${RANLIB}" \
21640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21641 distclean) \
21642 || exit 1
21644 @endif wdiff
21646 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
21647 maybe-maintainer-clean-wdiff:
21648 @if wdiff
21649 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
21651 maintainer-clean-wdiff:
21652 @[ -f ./wdiff/Makefile ] || exit 0; \
21653 r=`${PWD_COMMAND}`; export r; \
21654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21655 $(SET_LIB_PATH) \
21656 $(HOST_EXPORTS) \
21657 for flag in $(EXTRA_HOST_FLAGS) ; do \
21658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21659 done; \
21660 echo "Doing maintainer-clean in wdiff" ; \
21661 (cd wdiff && \
21662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21664 "RANLIB=$${RANLIB}" \
21665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21666 maintainer-clean) \
21667 || exit 1
21669 @endif wdiff
21672 .PHONY: configure-zip maybe-configure-zip
21673 maybe-configure-zip:
21674 @if zip
21675 maybe-configure-zip: configure-zip
21676 configure-zip:
21677 @test ! -f zip/Makefile || exit 0; \
21678 [ -d zip ] || mkdir zip; \
21679 r=`${PWD_COMMAND}`; export r; \
21680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21681 $(HOST_EXPORTS) \
21682 echo Configuring in zip; \
21683 cd zip || exit 1; \
21684 case $(srcdir) in \
21685 \.) \
21686 srcdiroption="--srcdir=."; \
21687 libsrcdir=".";; \
21688 /* | [A-Za-z]:[\\/]*) \
21689 srcdiroption="--srcdir=$(srcdir)/zip"; \
21690 libsrcdir="$$s/zip";; \
21691 *) \
21692 srcdiroption="--srcdir=../$(srcdir)/zip"; \
21693 libsrcdir="$$s/zip";; \
21694 esac; \
21695 $(SHELL) $${libsrcdir}/configure \
21696 $(HOST_CONFIGARGS) $${srcdiroption} \
21697 || exit 1
21698 @endif zip
21700 .PHONY: all-zip maybe-all-zip
21701 maybe-all-zip:
21702 @if zip
21703 TARGET-zip=all
21704 maybe-all-zip: all-zip
21705 all-zip: configure-zip
21706 @r=`${PWD_COMMAND}`; export r; \
21707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21708 $(SET_LIB_PATH) \
21709 $(HOST_EXPORTS) \
21710 (cd zip && $(MAKE) $(FLAGS_TO_PASS) \
21711 $(TARGET-zip))
21712 @endif zip
21714 .PHONY: check-zip maybe-check-zip
21715 maybe-check-zip:
21716 @if zip
21717 maybe-check-zip: check-zip
21719 # This module is only tested in a native toolchain.
21720 check-zip:
21721 @if [ '$(host)' = '$(target)' ] ; then \
21722 r=`${PWD_COMMAND}`; export r; \
21723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21724 $(SET_LIB_PATH) \
21725 $(HOST_EXPORTS) \
21726 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
21729 @endif zip
21731 .PHONY: install-zip maybe-install-zip
21732 maybe-install-zip:
21733 @if zip
21734 maybe-install-zip: install-zip
21736 install-zip: installdirs
21737 @r=`${PWD_COMMAND}`; export r; \
21738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21739 $(SET_LIB_PATH) \
21740 $(HOST_EXPORTS) \
21741 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
21743 @endif zip
21745 # Other targets (info, dvi, etc.)
21747 .PHONY: maybe-info-zip info-zip
21748 maybe-info-zip:
21749 @if zip
21750 maybe-info-zip: info-zip
21752 info-zip: \
21753 configure-zip
21754 @[ -f ./zip/Makefile ] || exit 0; \
21755 r=`${PWD_COMMAND}`; export r; \
21756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21757 $(SET_LIB_PATH) \
21758 $(HOST_EXPORTS) \
21759 for flag in $(EXTRA_HOST_FLAGS) ; do \
21760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21761 done; \
21762 echo "Doing info in zip" ; \
21763 (cd zip && \
21764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21766 "RANLIB=$${RANLIB}" \
21767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21768 info) \
21769 || exit 1
21771 @endif zip
21773 .PHONY: maybe-dvi-zip dvi-zip
21774 maybe-dvi-zip:
21775 @if zip
21776 maybe-dvi-zip: dvi-zip
21778 dvi-zip: \
21779 configure-zip
21780 @[ -f ./zip/Makefile ] || exit 0; \
21781 r=`${PWD_COMMAND}`; export r; \
21782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21783 $(SET_LIB_PATH) \
21784 $(HOST_EXPORTS) \
21785 for flag in $(EXTRA_HOST_FLAGS) ; do \
21786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21787 done; \
21788 echo "Doing dvi in zip" ; \
21789 (cd zip && \
21790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21792 "RANLIB=$${RANLIB}" \
21793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21794 dvi) \
21795 || exit 1
21797 @endif zip
21799 .PHONY: maybe-html-zip html-zip
21800 maybe-html-zip:
21801 @if zip
21802 maybe-html-zip: html-zip
21804 html-zip: \
21805 configure-zip
21806 @[ -f ./zip/Makefile ] || exit 0; \
21807 r=`${PWD_COMMAND}`; export r; \
21808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21809 $(SET_LIB_PATH) \
21810 $(HOST_EXPORTS) \
21811 for flag in $(EXTRA_HOST_FLAGS) ; do \
21812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21813 done; \
21814 echo "Doing html in zip" ; \
21815 (cd zip && \
21816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21818 "RANLIB=$${RANLIB}" \
21819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21820 html) \
21821 || exit 1
21823 @endif zip
21825 .PHONY: maybe-TAGS-zip TAGS-zip
21826 maybe-TAGS-zip:
21827 @if zip
21828 maybe-TAGS-zip: TAGS-zip
21830 TAGS-zip: \
21831 configure-zip
21832 @[ -f ./zip/Makefile ] || exit 0; \
21833 r=`${PWD_COMMAND}`; export r; \
21834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21835 $(SET_LIB_PATH) \
21836 $(HOST_EXPORTS) \
21837 for flag in $(EXTRA_HOST_FLAGS) ; do \
21838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21839 done; \
21840 echo "Doing TAGS in zip" ; \
21841 (cd zip && \
21842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21844 "RANLIB=$${RANLIB}" \
21845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21846 TAGS) \
21847 || exit 1
21849 @endif zip
21851 .PHONY: maybe-install-info-zip install-info-zip
21852 maybe-install-info-zip:
21853 @if zip
21854 maybe-install-info-zip: install-info-zip
21856 install-info-zip: \
21857 configure-zip \
21858 info-zip
21859 @[ -f ./zip/Makefile ] || exit 0; \
21860 r=`${PWD_COMMAND}`; export r; \
21861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21862 $(SET_LIB_PATH) \
21863 $(HOST_EXPORTS) \
21864 for flag in $(EXTRA_HOST_FLAGS) ; do \
21865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21866 done; \
21867 echo "Doing install-info in zip" ; \
21868 (cd zip && \
21869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21871 "RANLIB=$${RANLIB}" \
21872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21873 install-info) \
21874 || exit 1
21876 @endif zip
21878 .PHONY: maybe-installcheck-zip installcheck-zip
21879 maybe-installcheck-zip:
21880 @if zip
21881 maybe-installcheck-zip: installcheck-zip
21883 installcheck-zip: \
21884 configure-zip
21885 @[ -f ./zip/Makefile ] || exit 0; \
21886 r=`${PWD_COMMAND}`; export r; \
21887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21888 $(SET_LIB_PATH) \
21889 $(HOST_EXPORTS) \
21890 for flag in $(EXTRA_HOST_FLAGS) ; do \
21891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21892 done; \
21893 echo "Doing installcheck in zip" ; \
21894 (cd zip && \
21895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21897 "RANLIB=$${RANLIB}" \
21898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21899 installcheck) \
21900 || exit 1
21902 @endif zip
21904 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
21905 maybe-mostlyclean-zip:
21906 @if zip
21907 maybe-mostlyclean-zip: mostlyclean-zip
21909 mostlyclean-zip:
21910 @[ -f ./zip/Makefile ] || exit 0; \
21911 r=`${PWD_COMMAND}`; export r; \
21912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21913 $(SET_LIB_PATH) \
21914 $(HOST_EXPORTS) \
21915 for flag in $(EXTRA_HOST_FLAGS) ; do \
21916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21917 done; \
21918 echo "Doing mostlyclean in zip" ; \
21919 (cd zip && \
21920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21922 "RANLIB=$${RANLIB}" \
21923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21924 mostlyclean) \
21925 || exit 1
21927 @endif zip
21929 .PHONY: maybe-clean-zip clean-zip
21930 maybe-clean-zip:
21931 @if zip
21932 maybe-clean-zip: clean-zip
21934 clean-zip:
21935 @[ -f ./zip/Makefile ] || exit 0; \
21936 r=`${PWD_COMMAND}`; export r; \
21937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21938 $(SET_LIB_PATH) \
21939 $(HOST_EXPORTS) \
21940 for flag in $(EXTRA_HOST_FLAGS) ; do \
21941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21942 done; \
21943 echo "Doing clean in zip" ; \
21944 (cd zip && \
21945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21947 "RANLIB=$${RANLIB}" \
21948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21949 clean) \
21950 || exit 1
21952 @endif zip
21954 .PHONY: maybe-distclean-zip distclean-zip
21955 maybe-distclean-zip:
21956 @if zip
21957 maybe-distclean-zip: distclean-zip
21959 distclean-zip:
21960 @[ -f ./zip/Makefile ] || exit 0; \
21961 r=`${PWD_COMMAND}`; export r; \
21962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21963 $(SET_LIB_PATH) \
21964 $(HOST_EXPORTS) \
21965 for flag in $(EXTRA_HOST_FLAGS) ; do \
21966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21967 done; \
21968 echo "Doing distclean in zip" ; \
21969 (cd zip && \
21970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21972 "RANLIB=$${RANLIB}" \
21973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21974 distclean) \
21975 || exit 1
21977 @endif zip
21979 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
21980 maybe-maintainer-clean-zip:
21981 @if zip
21982 maybe-maintainer-clean-zip: maintainer-clean-zip
21984 maintainer-clean-zip:
21985 @[ -f ./zip/Makefile ] || exit 0; \
21986 r=`${PWD_COMMAND}`; export r; \
21987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21988 $(SET_LIB_PATH) \
21989 $(HOST_EXPORTS) \
21990 for flag in $(EXTRA_HOST_FLAGS) ; do \
21991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21992 done; \
21993 echo "Doing maintainer-clean in zip" ; \
21994 (cd zip && \
21995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21997 "RANLIB=$${RANLIB}" \
21998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21999 maintainer-clean) \
22000 || exit 1
22002 @endif zip
22005 .PHONY: configure-zlib maybe-configure-zlib
22006 maybe-configure-zlib:
22007 @if zlib
22008 maybe-configure-zlib: configure-zlib
22009 configure-zlib:
22010 @test -f stage_last && exit 0; \
22011 test ! -f zlib/Makefile || exit 0; \
22012 [ -d zlib ] || mkdir zlib; \
22013 r=`${PWD_COMMAND}`; export r; \
22014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22015 $(HOST_EXPORTS) \
22016 echo Configuring in zlib; \
22017 cd zlib || exit 1; \
22018 case $(srcdir) in \
22019 \.) \
22020 srcdiroption="--srcdir=."; \
22021 libsrcdir=".";; \
22022 /* | [A-Za-z]:[\\/]*) \
22023 srcdiroption="--srcdir=$(srcdir)/zlib"; \
22024 libsrcdir="$$s/zlib";; \
22025 *) \
22026 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
22027 libsrcdir="$$s/zlib";; \
22028 esac; \
22029 $(SHELL) $${libsrcdir}/configure \
22030 $(HOST_CONFIGARGS) $${srcdiroption} \
22031 || exit 1
22032 @endif zlib
22034 .PHONY: all-zlib maybe-all-zlib
22035 maybe-all-zlib:
22036 @if zlib
22037 TARGET-zlib=all
22038 maybe-all-zlib: all-zlib
22039 all-zlib: configure-zlib
22040 @test -f stage_last && exit 0; \
22041 r=`${PWD_COMMAND}`; export r; \
22042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22043 $(SET_LIB_PATH) \
22044 $(HOST_EXPORTS) \
22045 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) \
22046 $(TARGET-zlib))
22047 @endif zlib
22049 .PHONY: check-zlib maybe-check-zlib
22050 maybe-check-zlib:
22051 @if zlib
22052 maybe-check-zlib: check-zlib
22054 check-zlib:
22056 @endif zlib
22058 .PHONY: install-zlib maybe-install-zlib
22059 maybe-install-zlib:
22060 @if zlib
22061 maybe-install-zlib: install-zlib
22063 install-zlib:
22065 @endif zlib
22067 # Other targets (info, dvi, etc.)
22069 .PHONY: maybe-info-zlib info-zlib
22070 maybe-info-zlib:
22071 @if zlib
22072 maybe-info-zlib: info-zlib
22074 info-zlib: \
22075 configure-zlib
22076 @[ -f ./zlib/Makefile ] || exit 0; \
22077 r=`${PWD_COMMAND}`; export r; \
22078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22079 $(SET_LIB_PATH) \
22080 $(HOST_EXPORTS) \
22081 for flag in $(EXTRA_HOST_FLAGS) ; do \
22082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22083 done; \
22084 echo "Doing info in zlib" ; \
22085 (cd zlib && \
22086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22088 "RANLIB=$${RANLIB}" \
22089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22090 info) \
22091 || exit 1
22093 @endif zlib
22095 .PHONY: maybe-dvi-zlib dvi-zlib
22096 maybe-dvi-zlib:
22097 @if zlib
22098 maybe-dvi-zlib: dvi-zlib
22100 dvi-zlib: \
22101 configure-zlib
22102 @[ -f ./zlib/Makefile ] || exit 0; \
22103 r=`${PWD_COMMAND}`; export r; \
22104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22105 $(SET_LIB_PATH) \
22106 $(HOST_EXPORTS) \
22107 for flag in $(EXTRA_HOST_FLAGS) ; do \
22108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22109 done; \
22110 echo "Doing dvi in zlib" ; \
22111 (cd zlib && \
22112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22114 "RANLIB=$${RANLIB}" \
22115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22116 dvi) \
22117 || exit 1
22119 @endif zlib
22121 .PHONY: maybe-html-zlib html-zlib
22122 maybe-html-zlib:
22123 @if zlib
22124 maybe-html-zlib: html-zlib
22126 html-zlib: \
22127 configure-zlib
22128 @[ -f ./zlib/Makefile ] || exit 0; \
22129 r=`${PWD_COMMAND}`; export r; \
22130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22131 $(SET_LIB_PATH) \
22132 $(HOST_EXPORTS) \
22133 for flag in $(EXTRA_HOST_FLAGS) ; do \
22134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22135 done; \
22136 echo "Doing html in zlib" ; \
22137 (cd zlib && \
22138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22140 "RANLIB=$${RANLIB}" \
22141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22142 html) \
22143 || exit 1
22145 @endif zlib
22147 .PHONY: maybe-TAGS-zlib TAGS-zlib
22148 maybe-TAGS-zlib:
22149 @if zlib
22150 maybe-TAGS-zlib: TAGS-zlib
22152 TAGS-zlib: \
22153 configure-zlib
22154 @[ -f ./zlib/Makefile ] || exit 0; \
22155 r=`${PWD_COMMAND}`; export r; \
22156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22157 $(SET_LIB_PATH) \
22158 $(HOST_EXPORTS) \
22159 for flag in $(EXTRA_HOST_FLAGS) ; do \
22160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22161 done; \
22162 echo "Doing TAGS in zlib" ; \
22163 (cd zlib && \
22164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22166 "RANLIB=$${RANLIB}" \
22167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22168 TAGS) \
22169 || exit 1
22171 @endif zlib
22173 .PHONY: maybe-install-info-zlib install-info-zlib
22174 maybe-install-info-zlib:
22175 @if zlib
22176 maybe-install-info-zlib: install-info-zlib
22178 install-info-zlib: \
22179 configure-zlib \
22180 info-zlib
22181 @[ -f ./zlib/Makefile ] || exit 0; \
22182 r=`${PWD_COMMAND}`; export r; \
22183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22184 $(SET_LIB_PATH) \
22185 $(HOST_EXPORTS) \
22186 for flag in $(EXTRA_HOST_FLAGS) ; do \
22187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22188 done; \
22189 echo "Doing install-info in zlib" ; \
22190 (cd zlib && \
22191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22193 "RANLIB=$${RANLIB}" \
22194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22195 install-info) \
22196 || exit 1
22198 @endif zlib
22200 .PHONY: maybe-installcheck-zlib installcheck-zlib
22201 maybe-installcheck-zlib:
22202 @if zlib
22203 maybe-installcheck-zlib: installcheck-zlib
22205 installcheck-zlib: \
22206 configure-zlib
22207 @[ -f ./zlib/Makefile ] || exit 0; \
22208 r=`${PWD_COMMAND}`; export r; \
22209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22210 $(SET_LIB_PATH) \
22211 $(HOST_EXPORTS) \
22212 for flag in $(EXTRA_HOST_FLAGS) ; do \
22213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22214 done; \
22215 echo "Doing installcheck in zlib" ; \
22216 (cd zlib && \
22217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22219 "RANLIB=$${RANLIB}" \
22220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22221 installcheck) \
22222 || exit 1
22224 @endif zlib
22226 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
22227 maybe-mostlyclean-zlib:
22228 @if zlib
22229 maybe-mostlyclean-zlib: mostlyclean-zlib
22231 mostlyclean-zlib:
22232 @[ -f ./zlib/Makefile ] || exit 0; \
22233 r=`${PWD_COMMAND}`; export r; \
22234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22235 $(SET_LIB_PATH) \
22236 $(HOST_EXPORTS) \
22237 for flag in $(EXTRA_HOST_FLAGS) ; do \
22238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22239 done; \
22240 echo "Doing mostlyclean in zlib" ; \
22241 (cd zlib && \
22242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22244 "RANLIB=$${RANLIB}" \
22245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22246 mostlyclean) \
22247 || exit 1
22249 @endif zlib
22251 .PHONY: maybe-clean-zlib clean-zlib
22252 maybe-clean-zlib:
22253 @if zlib
22254 maybe-clean-zlib: clean-zlib
22256 clean-zlib:
22257 @[ -f ./zlib/Makefile ] || exit 0; \
22258 r=`${PWD_COMMAND}`; export r; \
22259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22260 $(SET_LIB_PATH) \
22261 $(HOST_EXPORTS) \
22262 for flag in $(EXTRA_HOST_FLAGS) ; do \
22263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22264 done; \
22265 echo "Doing clean in zlib" ; \
22266 (cd zlib && \
22267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22269 "RANLIB=$${RANLIB}" \
22270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22271 clean) \
22272 || exit 1
22274 @endif zlib
22276 .PHONY: maybe-distclean-zlib distclean-zlib
22277 maybe-distclean-zlib:
22278 @if zlib
22279 maybe-distclean-zlib: distclean-zlib
22281 distclean-zlib:
22282 @[ -f ./zlib/Makefile ] || exit 0; \
22283 r=`${PWD_COMMAND}`; export r; \
22284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22285 $(SET_LIB_PATH) \
22286 $(HOST_EXPORTS) \
22287 for flag in $(EXTRA_HOST_FLAGS) ; do \
22288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22289 done; \
22290 echo "Doing distclean in zlib" ; \
22291 (cd zlib && \
22292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22294 "RANLIB=$${RANLIB}" \
22295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22296 distclean) \
22297 || exit 1
22299 @endif zlib
22301 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
22302 maybe-maintainer-clean-zlib:
22303 @if zlib
22304 maybe-maintainer-clean-zlib: maintainer-clean-zlib
22306 maintainer-clean-zlib:
22307 @[ -f ./zlib/Makefile ] || exit 0; \
22308 r=`${PWD_COMMAND}`; export r; \
22309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22310 $(SET_LIB_PATH) \
22311 $(HOST_EXPORTS) \
22312 for flag in $(EXTRA_HOST_FLAGS) ; do \
22313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22314 done; \
22315 echo "Doing maintainer-clean in zlib" ; \
22316 (cd zlib && \
22317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22319 "RANLIB=$${RANLIB}" \
22320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22321 maintainer-clean) \
22322 || exit 1
22324 @endif zlib
22327 .PHONY: configure-gdb maybe-configure-gdb
22328 maybe-configure-gdb:
22329 @if gdb
22330 maybe-configure-gdb: configure-gdb
22331 configure-gdb:
22332 @test ! -f gdb/Makefile || exit 0; \
22333 [ -d gdb ] || mkdir gdb; \
22334 r=`${PWD_COMMAND}`; export r; \
22335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22336 $(HOST_EXPORTS) \
22337 echo Configuring in gdb; \
22338 cd gdb || exit 1; \
22339 case $(srcdir) in \
22340 \.) \
22341 srcdiroption="--srcdir=."; \
22342 libsrcdir=".";; \
22343 /* | [A-Za-z]:[\\/]*) \
22344 srcdiroption="--srcdir=$(srcdir)/gdb"; \
22345 libsrcdir="$$s/gdb";; \
22346 *) \
22347 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
22348 libsrcdir="$$s/gdb";; \
22349 esac; \
22350 $(SHELL) $${libsrcdir}/configure \
22351 $(HOST_CONFIGARGS) $${srcdiroption} \
22352 || exit 1
22353 @endif gdb
22355 .PHONY: all-gdb maybe-all-gdb
22356 maybe-all-gdb:
22357 @if gdb
22358 TARGET-gdb=all
22359 maybe-all-gdb: all-gdb
22360 all-gdb: configure-gdb
22361 @r=`${PWD_COMMAND}`; export r; \
22362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22363 $(SET_LIB_PATH) \
22364 $(HOST_EXPORTS) \
22365 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22366 $(TARGET-gdb))
22367 @endif gdb
22369 .PHONY: check-gdb maybe-check-gdb
22370 maybe-check-gdb:
22371 @if gdb
22372 maybe-check-gdb: check-gdb
22374 check-gdb:
22375 @r=`${PWD_COMMAND}`; export r; \
22376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22377 $(SET_LIB_PATH) \
22378 $(HOST_EXPORTS) \
22379 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22381 @endif gdb
22383 .PHONY: install-gdb maybe-install-gdb
22384 maybe-install-gdb:
22385 @if gdb
22386 maybe-install-gdb: install-gdb
22388 install-gdb: installdirs
22389 @r=`${PWD_COMMAND}`; export r; \
22390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22391 $(SET_LIB_PATH) \
22392 $(HOST_EXPORTS) \
22393 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22395 @endif gdb
22397 # Other targets (info, dvi, etc.)
22399 .PHONY: maybe-info-gdb info-gdb
22400 maybe-info-gdb:
22401 @if gdb
22402 maybe-info-gdb: info-gdb
22404 info-gdb: \
22405 configure-gdb
22406 @[ -f ./gdb/Makefile ] || exit 0; \
22407 r=`${PWD_COMMAND}`; export r; \
22408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22409 $(SET_LIB_PATH) \
22410 $(HOST_EXPORTS) \
22411 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22413 done; \
22414 echo "Doing info in gdb" ; \
22415 (cd gdb && \
22416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22418 "RANLIB=$${RANLIB}" \
22419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22420 info) \
22421 || exit 1
22423 @endif gdb
22425 .PHONY: maybe-dvi-gdb dvi-gdb
22426 maybe-dvi-gdb:
22427 @if gdb
22428 maybe-dvi-gdb: dvi-gdb
22430 dvi-gdb: \
22431 configure-gdb
22432 @[ -f ./gdb/Makefile ] || exit 0; \
22433 r=`${PWD_COMMAND}`; export r; \
22434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22435 $(SET_LIB_PATH) \
22436 $(HOST_EXPORTS) \
22437 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22439 done; \
22440 echo "Doing dvi in gdb" ; \
22441 (cd gdb && \
22442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22444 "RANLIB=$${RANLIB}" \
22445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22446 dvi) \
22447 || exit 1
22449 @endif gdb
22451 .PHONY: maybe-html-gdb html-gdb
22452 maybe-html-gdb:
22453 @if gdb
22454 maybe-html-gdb: html-gdb
22456 html-gdb: \
22457 configure-gdb
22458 @[ -f ./gdb/Makefile ] || exit 0; \
22459 r=`${PWD_COMMAND}`; export r; \
22460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22461 $(SET_LIB_PATH) \
22462 $(HOST_EXPORTS) \
22463 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22465 done; \
22466 echo "Doing html in gdb" ; \
22467 (cd gdb && \
22468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22470 "RANLIB=$${RANLIB}" \
22471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22472 html) \
22473 || exit 1
22475 @endif gdb
22477 .PHONY: maybe-TAGS-gdb TAGS-gdb
22478 maybe-TAGS-gdb:
22479 @if gdb
22480 maybe-TAGS-gdb: TAGS-gdb
22482 TAGS-gdb: \
22483 configure-gdb
22484 @[ -f ./gdb/Makefile ] || exit 0; \
22485 r=`${PWD_COMMAND}`; export r; \
22486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22487 $(SET_LIB_PATH) \
22488 $(HOST_EXPORTS) \
22489 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22491 done; \
22492 echo "Doing TAGS in gdb" ; \
22493 (cd gdb && \
22494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22496 "RANLIB=$${RANLIB}" \
22497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22498 TAGS) \
22499 || exit 1
22501 @endif gdb
22503 .PHONY: maybe-install-info-gdb install-info-gdb
22504 maybe-install-info-gdb:
22505 @if gdb
22506 maybe-install-info-gdb: install-info-gdb
22508 install-info-gdb: \
22509 configure-gdb \
22510 info-gdb
22511 @[ -f ./gdb/Makefile ] || exit 0; \
22512 r=`${PWD_COMMAND}`; export r; \
22513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22514 $(SET_LIB_PATH) \
22515 $(HOST_EXPORTS) \
22516 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22518 done; \
22519 echo "Doing install-info in gdb" ; \
22520 (cd gdb && \
22521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22523 "RANLIB=$${RANLIB}" \
22524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22525 install-info) \
22526 || exit 1
22528 @endif gdb
22530 .PHONY: maybe-installcheck-gdb installcheck-gdb
22531 maybe-installcheck-gdb:
22532 @if gdb
22533 maybe-installcheck-gdb: installcheck-gdb
22535 installcheck-gdb: \
22536 configure-gdb
22537 @[ -f ./gdb/Makefile ] || exit 0; \
22538 r=`${PWD_COMMAND}`; export r; \
22539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22540 $(SET_LIB_PATH) \
22541 $(HOST_EXPORTS) \
22542 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22544 done; \
22545 echo "Doing installcheck in gdb" ; \
22546 (cd gdb && \
22547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22549 "RANLIB=$${RANLIB}" \
22550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22551 installcheck) \
22552 || exit 1
22554 @endif gdb
22556 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
22557 maybe-mostlyclean-gdb:
22558 @if gdb
22559 maybe-mostlyclean-gdb: mostlyclean-gdb
22561 mostlyclean-gdb:
22562 @[ -f ./gdb/Makefile ] || exit 0; \
22563 r=`${PWD_COMMAND}`; export r; \
22564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22565 $(SET_LIB_PATH) \
22566 $(HOST_EXPORTS) \
22567 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22569 done; \
22570 echo "Doing mostlyclean in gdb" ; \
22571 (cd gdb && \
22572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22574 "RANLIB=$${RANLIB}" \
22575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22576 mostlyclean) \
22577 || exit 1
22579 @endif gdb
22581 .PHONY: maybe-clean-gdb clean-gdb
22582 maybe-clean-gdb:
22583 @if gdb
22584 maybe-clean-gdb: clean-gdb
22586 clean-gdb:
22587 @[ -f ./gdb/Makefile ] || exit 0; \
22588 r=`${PWD_COMMAND}`; export r; \
22589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22590 $(SET_LIB_PATH) \
22591 $(HOST_EXPORTS) \
22592 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22594 done; \
22595 echo "Doing clean in gdb" ; \
22596 (cd gdb && \
22597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22599 "RANLIB=$${RANLIB}" \
22600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22601 clean) \
22602 || exit 1
22604 @endif gdb
22606 .PHONY: maybe-distclean-gdb distclean-gdb
22607 maybe-distclean-gdb:
22608 @if gdb
22609 maybe-distclean-gdb: distclean-gdb
22611 distclean-gdb:
22612 @[ -f ./gdb/Makefile ] || exit 0; \
22613 r=`${PWD_COMMAND}`; export r; \
22614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22615 $(SET_LIB_PATH) \
22616 $(HOST_EXPORTS) \
22617 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22619 done; \
22620 echo "Doing distclean in gdb" ; \
22621 (cd gdb && \
22622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22624 "RANLIB=$${RANLIB}" \
22625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22626 distclean) \
22627 || exit 1
22629 @endif gdb
22631 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
22632 maybe-maintainer-clean-gdb:
22633 @if gdb
22634 maybe-maintainer-clean-gdb: maintainer-clean-gdb
22636 maintainer-clean-gdb:
22637 @[ -f ./gdb/Makefile ] || exit 0; \
22638 r=`${PWD_COMMAND}`; export r; \
22639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22640 $(SET_LIB_PATH) \
22641 $(HOST_EXPORTS) \
22642 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22644 done; \
22645 echo "Doing maintainer-clean in gdb" ; \
22646 (cd gdb && \
22647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22649 "RANLIB=$${RANLIB}" \
22650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22651 maintainer-clean) \
22652 || exit 1
22654 @endif gdb
22657 .PHONY: configure-expect maybe-configure-expect
22658 maybe-configure-expect:
22659 @if expect
22660 maybe-configure-expect: configure-expect
22661 configure-expect:
22662 @test ! -f expect/Makefile || exit 0; \
22663 [ -d expect ] || mkdir expect; \
22664 r=`${PWD_COMMAND}`; export r; \
22665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22666 $(HOST_EXPORTS) \
22667 echo Configuring in expect; \
22668 cd expect || exit 1; \
22669 case $(srcdir) in \
22670 \.) \
22671 srcdiroption="--srcdir=."; \
22672 libsrcdir=".";; \
22673 /* | [A-Za-z]:[\\/]*) \
22674 srcdiroption="--srcdir=$(srcdir)/expect"; \
22675 libsrcdir="$$s/expect";; \
22676 *) \
22677 srcdiroption="--srcdir=../$(srcdir)/expect"; \
22678 libsrcdir="$$s/expect";; \
22679 esac; \
22680 $(SHELL) $${libsrcdir}/configure \
22681 $(HOST_CONFIGARGS) $${srcdiroption} \
22682 || exit 1
22683 @endif expect
22685 .PHONY: all-expect maybe-all-expect
22686 maybe-all-expect:
22687 @if expect
22688 TARGET-expect=all
22689 maybe-all-expect: all-expect
22690 all-expect: configure-expect
22691 @r=`${PWD_COMMAND}`; export r; \
22692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22693 $(SET_LIB_PATH) \
22694 $(HOST_EXPORTS) \
22695 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22696 $(TARGET-expect))
22697 @endif expect
22699 .PHONY: check-expect maybe-check-expect
22700 maybe-check-expect:
22701 @if expect
22702 maybe-check-expect: check-expect
22704 check-expect:
22705 @r=`${PWD_COMMAND}`; export r; \
22706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22707 $(SET_LIB_PATH) \
22708 $(HOST_EXPORTS) \
22709 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22711 @endif expect
22713 .PHONY: install-expect maybe-install-expect
22714 maybe-install-expect:
22715 @if expect
22716 maybe-install-expect: install-expect
22718 install-expect: installdirs
22719 @r=`${PWD_COMMAND}`; export r; \
22720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22721 $(SET_LIB_PATH) \
22722 $(HOST_EXPORTS) \
22723 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22725 @endif expect
22727 # Other targets (info, dvi, etc.)
22729 .PHONY: maybe-info-expect info-expect
22730 maybe-info-expect:
22731 @if expect
22732 maybe-info-expect: info-expect
22734 info-expect: \
22735 configure-expect
22736 @[ -f ./expect/Makefile ] || exit 0; \
22737 r=`${PWD_COMMAND}`; export r; \
22738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22739 $(SET_LIB_PATH) \
22740 $(HOST_EXPORTS) \
22741 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22743 done; \
22744 echo "Doing info in expect" ; \
22745 (cd expect && \
22746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22748 "RANLIB=$${RANLIB}" \
22749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22750 info) \
22751 || exit 1
22753 @endif expect
22755 .PHONY: maybe-dvi-expect dvi-expect
22756 maybe-dvi-expect:
22757 @if expect
22758 maybe-dvi-expect: dvi-expect
22760 dvi-expect: \
22761 configure-expect
22762 @[ -f ./expect/Makefile ] || exit 0; \
22763 r=`${PWD_COMMAND}`; export r; \
22764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22765 $(SET_LIB_PATH) \
22766 $(HOST_EXPORTS) \
22767 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22769 done; \
22770 echo "Doing dvi in expect" ; \
22771 (cd expect && \
22772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22774 "RANLIB=$${RANLIB}" \
22775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22776 dvi) \
22777 || exit 1
22779 @endif expect
22781 .PHONY: maybe-html-expect html-expect
22782 maybe-html-expect:
22783 @if expect
22784 maybe-html-expect: html-expect
22786 html-expect: \
22787 configure-expect
22788 @[ -f ./expect/Makefile ] || exit 0; \
22789 r=`${PWD_COMMAND}`; export r; \
22790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22791 $(SET_LIB_PATH) \
22792 $(HOST_EXPORTS) \
22793 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22795 done; \
22796 echo "Doing html in expect" ; \
22797 (cd expect && \
22798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22800 "RANLIB=$${RANLIB}" \
22801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22802 html) \
22803 || exit 1
22805 @endif expect
22807 .PHONY: maybe-TAGS-expect TAGS-expect
22808 maybe-TAGS-expect:
22809 @if expect
22810 maybe-TAGS-expect: TAGS-expect
22812 TAGS-expect: \
22813 configure-expect
22814 @[ -f ./expect/Makefile ] || exit 0; \
22815 r=`${PWD_COMMAND}`; export r; \
22816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22817 $(SET_LIB_PATH) \
22818 $(HOST_EXPORTS) \
22819 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22821 done; \
22822 echo "Doing TAGS in expect" ; \
22823 (cd expect && \
22824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22826 "RANLIB=$${RANLIB}" \
22827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22828 TAGS) \
22829 || exit 1
22831 @endif expect
22833 .PHONY: maybe-install-info-expect install-info-expect
22834 maybe-install-info-expect:
22835 @if expect
22836 maybe-install-info-expect: install-info-expect
22838 install-info-expect: \
22839 configure-expect \
22840 info-expect
22841 @[ -f ./expect/Makefile ] || exit 0; \
22842 r=`${PWD_COMMAND}`; export r; \
22843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22844 $(SET_LIB_PATH) \
22845 $(HOST_EXPORTS) \
22846 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22848 done; \
22849 echo "Doing install-info in expect" ; \
22850 (cd expect && \
22851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22853 "RANLIB=$${RANLIB}" \
22854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22855 install-info) \
22856 || exit 1
22858 @endif expect
22860 .PHONY: maybe-installcheck-expect installcheck-expect
22861 maybe-installcheck-expect:
22862 @if expect
22863 maybe-installcheck-expect: installcheck-expect
22865 installcheck-expect: \
22866 configure-expect
22867 @[ -f ./expect/Makefile ] || exit 0; \
22868 r=`${PWD_COMMAND}`; export r; \
22869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22870 $(SET_LIB_PATH) \
22871 $(HOST_EXPORTS) \
22872 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22874 done; \
22875 echo "Doing installcheck in expect" ; \
22876 (cd expect && \
22877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22879 "RANLIB=$${RANLIB}" \
22880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22881 installcheck) \
22882 || exit 1
22884 @endif expect
22886 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
22887 maybe-mostlyclean-expect:
22888 @if expect
22889 maybe-mostlyclean-expect: mostlyclean-expect
22891 mostlyclean-expect:
22892 @[ -f ./expect/Makefile ] || exit 0; \
22893 r=`${PWD_COMMAND}`; export r; \
22894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22895 $(SET_LIB_PATH) \
22896 $(HOST_EXPORTS) \
22897 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22899 done; \
22900 echo "Doing mostlyclean in expect" ; \
22901 (cd expect && \
22902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22904 "RANLIB=$${RANLIB}" \
22905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22906 mostlyclean) \
22907 || exit 1
22909 @endif expect
22911 .PHONY: maybe-clean-expect clean-expect
22912 maybe-clean-expect:
22913 @if expect
22914 maybe-clean-expect: clean-expect
22916 clean-expect:
22917 @[ -f ./expect/Makefile ] || exit 0; \
22918 r=`${PWD_COMMAND}`; export r; \
22919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22920 $(SET_LIB_PATH) \
22921 $(HOST_EXPORTS) \
22922 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22924 done; \
22925 echo "Doing clean in expect" ; \
22926 (cd expect && \
22927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22929 "RANLIB=$${RANLIB}" \
22930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22931 clean) \
22932 || exit 1
22934 @endif expect
22936 .PHONY: maybe-distclean-expect distclean-expect
22937 maybe-distclean-expect:
22938 @if expect
22939 maybe-distclean-expect: distclean-expect
22941 distclean-expect:
22942 @[ -f ./expect/Makefile ] || exit 0; \
22943 r=`${PWD_COMMAND}`; export r; \
22944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22945 $(SET_LIB_PATH) \
22946 $(HOST_EXPORTS) \
22947 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22949 done; \
22950 echo "Doing distclean in expect" ; \
22951 (cd expect && \
22952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22954 "RANLIB=$${RANLIB}" \
22955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22956 distclean) \
22957 || exit 1
22959 @endif expect
22961 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
22962 maybe-maintainer-clean-expect:
22963 @if expect
22964 maybe-maintainer-clean-expect: maintainer-clean-expect
22966 maintainer-clean-expect:
22967 @[ -f ./expect/Makefile ] || exit 0; \
22968 r=`${PWD_COMMAND}`; export r; \
22969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22970 $(SET_LIB_PATH) \
22971 $(HOST_EXPORTS) \
22972 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22974 done; \
22975 echo "Doing maintainer-clean in expect" ; \
22976 (cd expect && \
22977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22979 "RANLIB=$${RANLIB}" \
22980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22981 maintainer-clean) \
22982 || exit 1
22984 @endif expect
22987 .PHONY: configure-guile maybe-configure-guile
22988 maybe-configure-guile:
22989 @if guile
22990 maybe-configure-guile: configure-guile
22991 configure-guile:
22992 @test ! -f guile/Makefile || exit 0; \
22993 [ -d guile ] || mkdir guile; \
22994 r=`${PWD_COMMAND}`; export r; \
22995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22996 $(HOST_EXPORTS) \
22997 echo Configuring in guile; \
22998 cd guile || exit 1; \
22999 case $(srcdir) in \
23000 \.) \
23001 srcdiroption="--srcdir=."; \
23002 libsrcdir=".";; \
23003 /* | [A-Za-z]:[\\/]*) \
23004 srcdiroption="--srcdir=$(srcdir)/guile"; \
23005 libsrcdir="$$s/guile";; \
23006 *) \
23007 srcdiroption="--srcdir=../$(srcdir)/guile"; \
23008 libsrcdir="$$s/guile";; \
23009 esac; \
23010 $(SHELL) $${libsrcdir}/configure \
23011 $(HOST_CONFIGARGS) $${srcdiroption} \
23012 || exit 1
23013 @endif guile
23015 .PHONY: all-guile maybe-all-guile
23016 maybe-all-guile:
23017 @if guile
23018 TARGET-guile=all
23019 maybe-all-guile: all-guile
23020 all-guile: configure-guile
23021 @r=`${PWD_COMMAND}`; export r; \
23022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23023 $(SET_LIB_PATH) \
23024 $(HOST_EXPORTS) \
23025 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23026 $(TARGET-guile))
23027 @endif guile
23029 .PHONY: check-guile maybe-check-guile
23030 maybe-check-guile:
23031 @if guile
23032 maybe-check-guile: check-guile
23034 check-guile:
23035 @r=`${PWD_COMMAND}`; export r; \
23036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23037 $(SET_LIB_PATH) \
23038 $(HOST_EXPORTS) \
23039 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23041 @endif guile
23043 .PHONY: install-guile maybe-install-guile
23044 maybe-install-guile:
23045 @if guile
23046 maybe-install-guile: install-guile
23048 install-guile: installdirs
23049 @r=`${PWD_COMMAND}`; export r; \
23050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23051 $(SET_LIB_PATH) \
23052 $(HOST_EXPORTS) \
23053 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23055 @endif guile
23057 # Other targets (info, dvi, etc.)
23059 .PHONY: maybe-info-guile info-guile
23060 maybe-info-guile:
23061 @if guile
23062 maybe-info-guile: info-guile
23064 info-guile: \
23065 configure-guile
23066 @[ -f ./guile/Makefile ] || exit 0; \
23067 r=`${PWD_COMMAND}`; export r; \
23068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23069 $(SET_LIB_PATH) \
23070 $(HOST_EXPORTS) \
23071 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23073 done; \
23074 echo "Doing info in guile" ; \
23075 (cd guile && \
23076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23078 "RANLIB=$${RANLIB}" \
23079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23080 info) \
23081 || exit 1
23083 @endif guile
23085 .PHONY: maybe-dvi-guile dvi-guile
23086 maybe-dvi-guile:
23087 @if guile
23088 maybe-dvi-guile: dvi-guile
23090 dvi-guile: \
23091 configure-guile
23092 @[ -f ./guile/Makefile ] || exit 0; \
23093 r=`${PWD_COMMAND}`; export r; \
23094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23095 $(SET_LIB_PATH) \
23096 $(HOST_EXPORTS) \
23097 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23099 done; \
23100 echo "Doing dvi in guile" ; \
23101 (cd guile && \
23102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23104 "RANLIB=$${RANLIB}" \
23105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23106 dvi) \
23107 || exit 1
23109 @endif guile
23111 .PHONY: maybe-html-guile html-guile
23112 maybe-html-guile:
23113 @if guile
23114 maybe-html-guile: html-guile
23116 html-guile: \
23117 configure-guile
23118 @[ -f ./guile/Makefile ] || exit 0; \
23119 r=`${PWD_COMMAND}`; export r; \
23120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23121 $(SET_LIB_PATH) \
23122 $(HOST_EXPORTS) \
23123 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23125 done; \
23126 echo "Doing html in guile" ; \
23127 (cd guile && \
23128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23130 "RANLIB=$${RANLIB}" \
23131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23132 html) \
23133 || exit 1
23135 @endif guile
23137 .PHONY: maybe-TAGS-guile TAGS-guile
23138 maybe-TAGS-guile:
23139 @if guile
23140 maybe-TAGS-guile: TAGS-guile
23142 TAGS-guile: \
23143 configure-guile
23144 @[ -f ./guile/Makefile ] || exit 0; \
23145 r=`${PWD_COMMAND}`; export r; \
23146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23147 $(SET_LIB_PATH) \
23148 $(HOST_EXPORTS) \
23149 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23151 done; \
23152 echo "Doing TAGS in guile" ; \
23153 (cd guile && \
23154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23156 "RANLIB=$${RANLIB}" \
23157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23158 TAGS) \
23159 || exit 1
23161 @endif guile
23163 .PHONY: maybe-install-info-guile install-info-guile
23164 maybe-install-info-guile:
23165 @if guile
23166 maybe-install-info-guile: install-info-guile
23168 install-info-guile: \
23169 configure-guile \
23170 info-guile
23171 @[ -f ./guile/Makefile ] || exit 0; \
23172 r=`${PWD_COMMAND}`; export r; \
23173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23174 $(SET_LIB_PATH) \
23175 $(HOST_EXPORTS) \
23176 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23178 done; \
23179 echo "Doing install-info in guile" ; \
23180 (cd guile && \
23181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23183 "RANLIB=$${RANLIB}" \
23184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23185 install-info) \
23186 || exit 1
23188 @endif guile
23190 .PHONY: maybe-installcheck-guile installcheck-guile
23191 maybe-installcheck-guile:
23192 @if guile
23193 maybe-installcheck-guile: installcheck-guile
23195 installcheck-guile: \
23196 configure-guile
23197 @[ -f ./guile/Makefile ] || exit 0; \
23198 r=`${PWD_COMMAND}`; export r; \
23199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23200 $(SET_LIB_PATH) \
23201 $(HOST_EXPORTS) \
23202 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23204 done; \
23205 echo "Doing installcheck in guile" ; \
23206 (cd guile && \
23207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23209 "RANLIB=$${RANLIB}" \
23210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23211 installcheck) \
23212 || exit 1
23214 @endif guile
23216 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
23217 maybe-mostlyclean-guile:
23218 @if guile
23219 maybe-mostlyclean-guile: mostlyclean-guile
23221 mostlyclean-guile:
23222 @[ -f ./guile/Makefile ] || exit 0; \
23223 r=`${PWD_COMMAND}`; export r; \
23224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23225 $(SET_LIB_PATH) \
23226 $(HOST_EXPORTS) \
23227 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23229 done; \
23230 echo "Doing mostlyclean in guile" ; \
23231 (cd guile && \
23232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23234 "RANLIB=$${RANLIB}" \
23235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23236 mostlyclean) \
23237 || exit 1
23239 @endif guile
23241 .PHONY: maybe-clean-guile clean-guile
23242 maybe-clean-guile:
23243 @if guile
23244 maybe-clean-guile: clean-guile
23246 clean-guile:
23247 @[ -f ./guile/Makefile ] || exit 0; \
23248 r=`${PWD_COMMAND}`; export r; \
23249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23250 $(SET_LIB_PATH) \
23251 $(HOST_EXPORTS) \
23252 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23254 done; \
23255 echo "Doing clean in guile" ; \
23256 (cd guile && \
23257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23259 "RANLIB=$${RANLIB}" \
23260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23261 clean) \
23262 || exit 1
23264 @endif guile
23266 .PHONY: maybe-distclean-guile distclean-guile
23267 maybe-distclean-guile:
23268 @if guile
23269 maybe-distclean-guile: distclean-guile
23271 distclean-guile:
23272 @[ -f ./guile/Makefile ] || exit 0; \
23273 r=`${PWD_COMMAND}`; export r; \
23274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23275 $(SET_LIB_PATH) \
23276 $(HOST_EXPORTS) \
23277 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23279 done; \
23280 echo "Doing distclean in guile" ; \
23281 (cd guile && \
23282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23284 "RANLIB=$${RANLIB}" \
23285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23286 distclean) \
23287 || exit 1
23289 @endif guile
23291 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
23292 maybe-maintainer-clean-guile:
23293 @if guile
23294 maybe-maintainer-clean-guile: maintainer-clean-guile
23296 maintainer-clean-guile:
23297 @[ -f ./guile/Makefile ] || exit 0; \
23298 r=`${PWD_COMMAND}`; export r; \
23299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23300 $(SET_LIB_PATH) \
23301 $(HOST_EXPORTS) \
23302 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23304 done; \
23305 echo "Doing maintainer-clean in guile" ; \
23306 (cd guile && \
23307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23309 "RANLIB=$${RANLIB}" \
23310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23311 maintainer-clean) \
23312 || exit 1
23314 @endif guile
23317 .PHONY: configure-tk maybe-configure-tk
23318 maybe-configure-tk:
23319 @if tk
23320 maybe-configure-tk: configure-tk
23321 configure-tk:
23322 @test ! -f tk/Makefile || exit 0; \
23323 [ -d tk ] || mkdir tk; \
23324 r=`${PWD_COMMAND}`; export r; \
23325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23326 $(HOST_EXPORTS) \
23327 echo Configuring in tk; \
23328 cd tk || exit 1; \
23329 case $(srcdir) in \
23330 \.) \
23331 srcdiroption="--srcdir=."; \
23332 libsrcdir=".";; \
23333 /* | [A-Za-z]:[\\/]*) \
23334 srcdiroption="--srcdir=$(srcdir)/tk"; \
23335 libsrcdir="$$s/tk";; \
23336 *) \
23337 srcdiroption="--srcdir=../$(srcdir)/tk"; \
23338 libsrcdir="$$s/tk";; \
23339 esac; \
23340 $(SHELL) $${libsrcdir}/configure \
23341 $(HOST_CONFIGARGS) $${srcdiroption} \
23342 || exit 1
23343 @endif tk
23345 .PHONY: all-tk maybe-all-tk
23346 maybe-all-tk:
23347 @if tk
23348 TARGET-tk=all
23349 maybe-all-tk: all-tk
23350 all-tk: configure-tk
23351 @r=`${PWD_COMMAND}`; export r; \
23352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23353 $(SET_LIB_PATH) \
23354 $(HOST_EXPORTS) \
23355 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23356 $(TARGET-tk))
23357 @endif tk
23359 .PHONY: check-tk maybe-check-tk
23360 maybe-check-tk:
23361 @if tk
23362 maybe-check-tk: check-tk
23364 check-tk:
23365 @r=`${PWD_COMMAND}`; export r; \
23366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23367 $(SET_LIB_PATH) \
23368 $(HOST_EXPORTS) \
23369 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23371 @endif tk
23373 .PHONY: install-tk maybe-install-tk
23374 maybe-install-tk:
23375 @if tk
23376 maybe-install-tk: install-tk
23378 install-tk: installdirs
23379 @r=`${PWD_COMMAND}`; export r; \
23380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23381 $(SET_LIB_PATH) \
23382 $(HOST_EXPORTS) \
23383 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23385 @endif tk
23387 # Other targets (info, dvi, etc.)
23389 .PHONY: maybe-info-tk info-tk
23390 maybe-info-tk:
23391 @if tk
23392 maybe-info-tk: info-tk
23394 info-tk: \
23395 configure-tk
23396 @[ -f ./tk/Makefile ] || exit 0; \
23397 r=`${PWD_COMMAND}`; export r; \
23398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23399 $(SET_LIB_PATH) \
23400 $(HOST_EXPORTS) \
23401 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23403 done; \
23404 echo "Doing info in tk" ; \
23405 (cd tk && \
23406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23408 "RANLIB=$${RANLIB}" \
23409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23410 info) \
23411 || exit 1
23413 @endif tk
23415 .PHONY: maybe-dvi-tk dvi-tk
23416 maybe-dvi-tk:
23417 @if tk
23418 maybe-dvi-tk: dvi-tk
23420 dvi-tk: \
23421 configure-tk
23422 @[ -f ./tk/Makefile ] || exit 0; \
23423 r=`${PWD_COMMAND}`; export r; \
23424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23425 $(SET_LIB_PATH) \
23426 $(HOST_EXPORTS) \
23427 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23429 done; \
23430 echo "Doing dvi in tk" ; \
23431 (cd tk && \
23432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23434 "RANLIB=$${RANLIB}" \
23435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23436 dvi) \
23437 || exit 1
23439 @endif tk
23441 .PHONY: maybe-html-tk html-tk
23442 maybe-html-tk:
23443 @if tk
23444 maybe-html-tk: html-tk
23446 html-tk: \
23447 configure-tk
23448 @[ -f ./tk/Makefile ] || exit 0; \
23449 r=`${PWD_COMMAND}`; export r; \
23450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23451 $(SET_LIB_PATH) \
23452 $(HOST_EXPORTS) \
23453 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23455 done; \
23456 echo "Doing html in tk" ; \
23457 (cd tk && \
23458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23460 "RANLIB=$${RANLIB}" \
23461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23462 html) \
23463 || exit 1
23465 @endif tk
23467 .PHONY: maybe-TAGS-tk TAGS-tk
23468 maybe-TAGS-tk:
23469 @if tk
23470 maybe-TAGS-tk: TAGS-tk
23472 TAGS-tk: \
23473 configure-tk
23474 @[ -f ./tk/Makefile ] || exit 0; \
23475 r=`${PWD_COMMAND}`; export r; \
23476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23477 $(SET_LIB_PATH) \
23478 $(HOST_EXPORTS) \
23479 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23481 done; \
23482 echo "Doing TAGS in tk" ; \
23483 (cd tk && \
23484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23486 "RANLIB=$${RANLIB}" \
23487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23488 TAGS) \
23489 || exit 1
23491 @endif tk
23493 .PHONY: maybe-install-info-tk install-info-tk
23494 maybe-install-info-tk:
23495 @if tk
23496 maybe-install-info-tk: install-info-tk
23498 install-info-tk: \
23499 configure-tk \
23500 info-tk
23501 @[ -f ./tk/Makefile ] || exit 0; \
23502 r=`${PWD_COMMAND}`; export r; \
23503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23504 $(SET_LIB_PATH) \
23505 $(HOST_EXPORTS) \
23506 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23508 done; \
23509 echo "Doing install-info in tk" ; \
23510 (cd tk && \
23511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23513 "RANLIB=$${RANLIB}" \
23514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23515 install-info) \
23516 || exit 1
23518 @endif tk
23520 .PHONY: maybe-installcheck-tk installcheck-tk
23521 maybe-installcheck-tk:
23522 @if tk
23523 maybe-installcheck-tk: installcheck-tk
23525 installcheck-tk: \
23526 configure-tk
23527 @[ -f ./tk/Makefile ] || exit 0; \
23528 r=`${PWD_COMMAND}`; export r; \
23529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23530 $(SET_LIB_PATH) \
23531 $(HOST_EXPORTS) \
23532 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23534 done; \
23535 echo "Doing installcheck in tk" ; \
23536 (cd tk && \
23537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23539 "RANLIB=$${RANLIB}" \
23540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23541 installcheck) \
23542 || exit 1
23544 @endif tk
23546 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
23547 maybe-mostlyclean-tk:
23548 @if tk
23549 maybe-mostlyclean-tk: mostlyclean-tk
23551 mostlyclean-tk:
23552 @[ -f ./tk/Makefile ] || exit 0; \
23553 r=`${PWD_COMMAND}`; export r; \
23554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23555 $(SET_LIB_PATH) \
23556 $(HOST_EXPORTS) \
23557 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23559 done; \
23560 echo "Doing mostlyclean in tk" ; \
23561 (cd tk && \
23562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23564 "RANLIB=$${RANLIB}" \
23565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23566 mostlyclean) \
23567 || exit 1
23569 @endif tk
23571 .PHONY: maybe-clean-tk clean-tk
23572 maybe-clean-tk:
23573 @if tk
23574 maybe-clean-tk: clean-tk
23576 clean-tk:
23577 @[ -f ./tk/Makefile ] || exit 0; \
23578 r=`${PWD_COMMAND}`; export r; \
23579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23580 $(SET_LIB_PATH) \
23581 $(HOST_EXPORTS) \
23582 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23584 done; \
23585 echo "Doing clean in tk" ; \
23586 (cd tk && \
23587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23589 "RANLIB=$${RANLIB}" \
23590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23591 clean) \
23592 || exit 1
23594 @endif tk
23596 .PHONY: maybe-distclean-tk distclean-tk
23597 maybe-distclean-tk:
23598 @if tk
23599 maybe-distclean-tk: distclean-tk
23601 distclean-tk:
23602 @[ -f ./tk/Makefile ] || exit 0; \
23603 r=`${PWD_COMMAND}`; export r; \
23604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23605 $(SET_LIB_PATH) \
23606 $(HOST_EXPORTS) \
23607 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23609 done; \
23610 echo "Doing distclean in tk" ; \
23611 (cd tk && \
23612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23614 "RANLIB=$${RANLIB}" \
23615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23616 distclean) \
23617 || exit 1
23619 @endif tk
23621 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
23622 maybe-maintainer-clean-tk:
23623 @if tk
23624 maybe-maintainer-clean-tk: maintainer-clean-tk
23626 maintainer-clean-tk:
23627 @[ -f ./tk/Makefile ] || exit 0; \
23628 r=`${PWD_COMMAND}`; export r; \
23629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23630 $(SET_LIB_PATH) \
23631 $(HOST_EXPORTS) \
23632 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23634 done; \
23635 echo "Doing maintainer-clean in tk" ; \
23636 (cd tk && \
23637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23639 "RANLIB=$${RANLIB}" \
23640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23641 maintainer-clean) \
23642 || exit 1
23644 @endif tk
23647 .PHONY: configure-libtermcap maybe-configure-libtermcap
23648 maybe-configure-libtermcap:
23649 @if libtermcap
23650 maybe-configure-libtermcap: configure-libtermcap
23651 configure-libtermcap:
23652 @test ! -f libtermcap/Makefile || exit 0; \
23653 [ -d libtermcap ] || mkdir libtermcap; \
23654 r=`${PWD_COMMAND}`; export r; \
23655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23656 $(HOST_EXPORTS) \
23657 echo Configuring in libtermcap; \
23658 cd libtermcap || exit 1; \
23659 case $(srcdir) in \
23660 \.) \
23661 srcdiroption="--srcdir=."; \
23662 libsrcdir=".";; \
23663 /* | [A-Za-z]:[\\/]*) \
23664 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
23665 libsrcdir="$$s/libtermcap";; \
23666 *) \
23667 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
23668 libsrcdir="$$s/libtermcap";; \
23669 esac; \
23670 $(SHELL) $${libsrcdir}/configure \
23671 $(HOST_CONFIGARGS) $${srcdiroption} \
23672 || exit 1
23673 @endif libtermcap
23675 .PHONY: all-libtermcap maybe-all-libtermcap
23676 maybe-all-libtermcap:
23677 @if libtermcap
23678 TARGET-libtermcap=all
23679 maybe-all-libtermcap: all-libtermcap
23680 all-libtermcap: configure-libtermcap
23681 @r=`${PWD_COMMAND}`; export r; \
23682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23683 $(SET_LIB_PATH) \
23684 $(HOST_EXPORTS) \
23685 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) \
23686 $(TARGET-libtermcap))
23687 @endif libtermcap
23689 .PHONY: check-libtermcap maybe-check-libtermcap
23690 maybe-check-libtermcap:
23691 @if libtermcap
23692 maybe-check-libtermcap: check-libtermcap
23694 check-libtermcap:
23696 @endif libtermcap
23698 .PHONY: install-libtermcap maybe-install-libtermcap
23699 maybe-install-libtermcap:
23700 @if libtermcap
23701 maybe-install-libtermcap: install-libtermcap
23703 install-libtermcap: installdirs
23704 @r=`${PWD_COMMAND}`; export r; \
23705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23706 $(SET_LIB_PATH) \
23707 $(HOST_EXPORTS) \
23708 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
23710 @endif libtermcap
23712 # Other targets (info, dvi, etc.)
23714 .PHONY: maybe-info-libtermcap info-libtermcap
23715 maybe-info-libtermcap:
23716 @if libtermcap
23717 maybe-info-libtermcap: info-libtermcap
23719 info-libtermcap: \
23720 configure-libtermcap
23721 @[ -f ./libtermcap/Makefile ] || exit 0; \
23722 r=`${PWD_COMMAND}`; export r; \
23723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23724 $(SET_LIB_PATH) \
23725 $(HOST_EXPORTS) \
23726 for flag in $(EXTRA_HOST_FLAGS) ; do \
23727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23728 done; \
23729 echo "Doing info in libtermcap" ; \
23730 (cd libtermcap && \
23731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23733 "RANLIB=$${RANLIB}" \
23734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23735 info) \
23736 || exit 1
23738 @endif libtermcap
23740 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
23741 maybe-dvi-libtermcap:
23742 @if libtermcap
23743 maybe-dvi-libtermcap: dvi-libtermcap
23745 dvi-libtermcap: \
23746 configure-libtermcap
23747 @[ -f ./libtermcap/Makefile ] || exit 0; \
23748 r=`${PWD_COMMAND}`; export r; \
23749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23750 $(SET_LIB_PATH) \
23751 $(HOST_EXPORTS) \
23752 for flag in $(EXTRA_HOST_FLAGS) ; do \
23753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23754 done; \
23755 echo "Doing dvi in libtermcap" ; \
23756 (cd libtermcap && \
23757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23759 "RANLIB=$${RANLIB}" \
23760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23761 dvi) \
23762 || exit 1
23764 @endif libtermcap
23766 .PHONY: maybe-html-libtermcap html-libtermcap
23767 maybe-html-libtermcap:
23768 @if libtermcap
23769 maybe-html-libtermcap: html-libtermcap
23771 html-libtermcap: \
23772 configure-libtermcap
23773 @[ -f ./libtermcap/Makefile ] || exit 0; \
23774 r=`${PWD_COMMAND}`; export r; \
23775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23776 $(SET_LIB_PATH) \
23777 $(HOST_EXPORTS) \
23778 for flag in $(EXTRA_HOST_FLAGS) ; do \
23779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23780 done; \
23781 echo "Doing html in libtermcap" ; \
23782 (cd libtermcap && \
23783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23785 "RANLIB=$${RANLIB}" \
23786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23787 html) \
23788 || exit 1
23790 @endif libtermcap
23792 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
23793 maybe-TAGS-libtermcap:
23794 @if libtermcap
23795 maybe-TAGS-libtermcap: TAGS-libtermcap
23797 TAGS-libtermcap: \
23798 configure-libtermcap
23799 @[ -f ./libtermcap/Makefile ] || exit 0; \
23800 r=`${PWD_COMMAND}`; export r; \
23801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23802 $(SET_LIB_PATH) \
23803 $(HOST_EXPORTS) \
23804 for flag in $(EXTRA_HOST_FLAGS) ; do \
23805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23806 done; \
23807 echo "Doing TAGS in libtermcap" ; \
23808 (cd libtermcap && \
23809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23811 "RANLIB=$${RANLIB}" \
23812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23813 TAGS) \
23814 || exit 1
23816 @endif libtermcap
23818 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
23819 maybe-install-info-libtermcap:
23820 @if libtermcap
23821 maybe-install-info-libtermcap: install-info-libtermcap
23823 install-info-libtermcap: \
23824 configure-libtermcap \
23825 info-libtermcap
23826 @[ -f ./libtermcap/Makefile ] || exit 0; \
23827 r=`${PWD_COMMAND}`; export r; \
23828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23829 $(SET_LIB_PATH) \
23830 $(HOST_EXPORTS) \
23831 for flag in $(EXTRA_HOST_FLAGS) ; do \
23832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23833 done; \
23834 echo "Doing install-info in libtermcap" ; \
23835 (cd libtermcap && \
23836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23838 "RANLIB=$${RANLIB}" \
23839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23840 install-info) \
23841 || exit 1
23843 @endif libtermcap
23845 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
23846 maybe-installcheck-libtermcap:
23847 @if libtermcap
23848 maybe-installcheck-libtermcap: installcheck-libtermcap
23850 installcheck-libtermcap: \
23851 configure-libtermcap
23852 @[ -f ./libtermcap/Makefile ] || exit 0; \
23853 r=`${PWD_COMMAND}`; export r; \
23854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23855 $(SET_LIB_PATH) \
23856 $(HOST_EXPORTS) \
23857 for flag in $(EXTRA_HOST_FLAGS) ; do \
23858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23859 done; \
23860 echo "Doing installcheck in libtermcap" ; \
23861 (cd libtermcap && \
23862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23864 "RANLIB=$${RANLIB}" \
23865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23866 installcheck) \
23867 || exit 1
23869 @endif libtermcap
23871 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
23872 maybe-mostlyclean-libtermcap:
23873 @if libtermcap
23874 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
23876 # libtermcap doesn't support mostlyclean.
23877 mostlyclean-libtermcap:
23879 @endif libtermcap
23881 .PHONY: maybe-clean-libtermcap clean-libtermcap
23882 maybe-clean-libtermcap:
23883 @if libtermcap
23884 maybe-clean-libtermcap: clean-libtermcap
23886 # libtermcap doesn't support clean.
23887 clean-libtermcap:
23889 @endif libtermcap
23891 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
23892 maybe-distclean-libtermcap:
23893 @if libtermcap
23894 maybe-distclean-libtermcap: distclean-libtermcap
23896 # libtermcap doesn't support distclean.
23897 distclean-libtermcap:
23899 @endif libtermcap
23901 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
23902 maybe-maintainer-clean-libtermcap:
23903 @if libtermcap
23904 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
23906 # libtermcap doesn't support maintainer-clean.
23907 maintainer-clean-libtermcap:
23909 @endif libtermcap
23912 .PHONY: configure-utils maybe-configure-utils
23913 maybe-configure-utils:
23914 @if utils
23915 maybe-configure-utils: configure-utils
23916 configure-utils:
23917 @test ! -f utils/Makefile || exit 0; \
23918 [ -d utils ] || mkdir utils; \
23919 r=`${PWD_COMMAND}`; export r; \
23920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23921 $(HOST_EXPORTS) \
23922 echo Configuring in utils; \
23923 cd utils || exit 1; \
23924 case $(srcdir) in \
23925 \.) \
23926 srcdiroption="--srcdir=."; \
23927 libsrcdir=".";; \
23928 /* | [A-Za-z]:[\\/]*) \
23929 srcdiroption="--srcdir=$(srcdir)/utils"; \
23930 libsrcdir="$$s/utils";; \
23931 *) \
23932 srcdiroption="--srcdir=../$(srcdir)/utils"; \
23933 libsrcdir="$$s/utils";; \
23934 esac; \
23935 $(SHELL) $${libsrcdir}/configure \
23936 $(HOST_CONFIGARGS) $${srcdiroption} \
23937 || exit 1
23938 @endif utils
23940 .PHONY: all-utils maybe-all-utils
23941 maybe-all-utils:
23942 @if utils
23943 TARGET-utils=all
23944 maybe-all-utils: all-utils
23945 all-utils: configure-utils
23946 @r=`${PWD_COMMAND}`; export r; \
23947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23948 $(SET_LIB_PATH) \
23949 $(HOST_EXPORTS) \
23950 (cd utils && $(MAKE) $(FLAGS_TO_PASS) \
23951 $(TARGET-utils))
23952 @endif utils
23954 .PHONY: check-utils maybe-check-utils
23955 maybe-check-utils:
23956 @if utils
23957 maybe-check-utils: check-utils
23959 check-utils:
23961 @endif utils
23963 .PHONY: install-utils maybe-install-utils
23964 maybe-install-utils:
23965 @if utils
23966 maybe-install-utils: install-utils
23968 install-utils: installdirs
23969 @r=`${PWD_COMMAND}`; export r; \
23970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23971 $(SET_LIB_PATH) \
23972 $(HOST_EXPORTS) \
23973 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
23975 @endif utils
23977 # Other targets (info, dvi, etc.)
23979 .PHONY: maybe-info-utils info-utils
23980 maybe-info-utils:
23981 @if utils
23982 maybe-info-utils: info-utils
23984 info-utils: \
23985 configure-utils
23986 @[ -f ./utils/Makefile ] || exit 0; \
23987 r=`${PWD_COMMAND}`; export r; \
23988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23989 $(SET_LIB_PATH) \
23990 $(HOST_EXPORTS) \
23991 for flag in $(EXTRA_HOST_FLAGS) ; do \
23992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23993 done; \
23994 echo "Doing info in utils" ; \
23995 (cd utils && \
23996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23998 "RANLIB=$${RANLIB}" \
23999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24000 info) \
24001 || exit 1
24003 @endif utils
24005 .PHONY: maybe-dvi-utils dvi-utils
24006 maybe-dvi-utils:
24007 @if utils
24008 maybe-dvi-utils: dvi-utils
24010 dvi-utils: \
24011 configure-utils
24012 @[ -f ./utils/Makefile ] || exit 0; \
24013 r=`${PWD_COMMAND}`; export r; \
24014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24015 $(SET_LIB_PATH) \
24016 $(HOST_EXPORTS) \
24017 for flag in $(EXTRA_HOST_FLAGS) ; do \
24018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24019 done; \
24020 echo "Doing dvi in utils" ; \
24021 (cd utils && \
24022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24024 "RANLIB=$${RANLIB}" \
24025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24026 dvi) \
24027 || exit 1
24029 @endif utils
24031 .PHONY: maybe-html-utils html-utils
24032 maybe-html-utils:
24033 @if utils
24034 maybe-html-utils: html-utils
24036 html-utils: \
24037 configure-utils
24038 @[ -f ./utils/Makefile ] || exit 0; \
24039 r=`${PWD_COMMAND}`; export r; \
24040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24041 $(SET_LIB_PATH) \
24042 $(HOST_EXPORTS) \
24043 for flag in $(EXTRA_HOST_FLAGS) ; do \
24044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24045 done; \
24046 echo "Doing html in utils" ; \
24047 (cd utils && \
24048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24050 "RANLIB=$${RANLIB}" \
24051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24052 html) \
24053 || exit 1
24055 @endif utils
24057 .PHONY: maybe-TAGS-utils TAGS-utils
24058 maybe-TAGS-utils:
24059 @if utils
24060 maybe-TAGS-utils: TAGS-utils
24062 TAGS-utils: \
24063 configure-utils
24064 @[ -f ./utils/Makefile ] || exit 0; \
24065 r=`${PWD_COMMAND}`; export r; \
24066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24067 $(SET_LIB_PATH) \
24068 $(HOST_EXPORTS) \
24069 for flag in $(EXTRA_HOST_FLAGS) ; do \
24070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24071 done; \
24072 echo "Doing TAGS in utils" ; \
24073 (cd utils && \
24074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24076 "RANLIB=$${RANLIB}" \
24077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24078 TAGS) \
24079 || exit 1
24081 @endif utils
24083 .PHONY: maybe-install-info-utils install-info-utils
24084 maybe-install-info-utils:
24085 @if utils
24086 maybe-install-info-utils: install-info-utils
24088 install-info-utils: \
24089 configure-utils \
24090 info-utils
24091 @[ -f ./utils/Makefile ] || exit 0; \
24092 r=`${PWD_COMMAND}`; export r; \
24093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24094 $(SET_LIB_PATH) \
24095 $(HOST_EXPORTS) \
24096 for flag in $(EXTRA_HOST_FLAGS) ; do \
24097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24098 done; \
24099 echo "Doing install-info in utils" ; \
24100 (cd utils && \
24101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24103 "RANLIB=$${RANLIB}" \
24104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24105 install-info) \
24106 || exit 1
24108 @endif utils
24110 .PHONY: maybe-installcheck-utils installcheck-utils
24111 maybe-installcheck-utils:
24112 @if utils
24113 maybe-installcheck-utils: installcheck-utils
24115 installcheck-utils: \
24116 configure-utils
24117 @[ -f ./utils/Makefile ] || exit 0; \
24118 r=`${PWD_COMMAND}`; export r; \
24119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24120 $(SET_LIB_PATH) \
24121 $(HOST_EXPORTS) \
24122 for flag in $(EXTRA_HOST_FLAGS) ; do \
24123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24124 done; \
24125 echo "Doing installcheck in utils" ; \
24126 (cd utils && \
24127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24129 "RANLIB=$${RANLIB}" \
24130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24131 installcheck) \
24132 || exit 1
24134 @endif utils
24136 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
24137 maybe-mostlyclean-utils:
24138 @if utils
24139 maybe-mostlyclean-utils: mostlyclean-utils
24141 mostlyclean-utils:
24142 @[ -f ./utils/Makefile ] || exit 0; \
24143 r=`${PWD_COMMAND}`; export r; \
24144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24145 $(SET_LIB_PATH) \
24146 $(HOST_EXPORTS) \
24147 for flag in $(EXTRA_HOST_FLAGS) ; do \
24148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24149 done; \
24150 echo "Doing mostlyclean in utils" ; \
24151 (cd utils && \
24152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24154 "RANLIB=$${RANLIB}" \
24155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24156 mostlyclean) \
24157 || exit 1
24159 @endif utils
24161 .PHONY: maybe-clean-utils clean-utils
24162 maybe-clean-utils:
24163 @if utils
24164 maybe-clean-utils: clean-utils
24166 clean-utils:
24167 @[ -f ./utils/Makefile ] || exit 0; \
24168 r=`${PWD_COMMAND}`; export r; \
24169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24170 $(SET_LIB_PATH) \
24171 $(HOST_EXPORTS) \
24172 for flag in $(EXTRA_HOST_FLAGS) ; do \
24173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24174 done; \
24175 echo "Doing clean in utils" ; \
24176 (cd utils && \
24177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24179 "RANLIB=$${RANLIB}" \
24180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24181 clean) \
24182 || exit 1
24184 @endif utils
24186 .PHONY: maybe-distclean-utils distclean-utils
24187 maybe-distclean-utils:
24188 @if utils
24189 maybe-distclean-utils: distclean-utils
24191 distclean-utils:
24192 @[ -f ./utils/Makefile ] || exit 0; \
24193 r=`${PWD_COMMAND}`; export r; \
24194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24195 $(SET_LIB_PATH) \
24196 $(HOST_EXPORTS) \
24197 for flag in $(EXTRA_HOST_FLAGS) ; do \
24198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24199 done; \
24200 echo "Doing distclean in utils" ; \
24201 (cd utils && \
24202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24204 "RANLIB=$${RANLIB}" \
24205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24206 distclean) \
24207 || exit 1
24209 @endif utils
24211 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
24212 maybe-maintainer-clean-utils:
24213 @if utils
24214 maybe-maintainer-clean-utils: maintainer-clean-utils
24216 maintainer-clean-utils:
24217 @[ -f ./utils/Makefile ] || exit 0; \
24218 r=`${PWD_COMMAND}`; export r; \
24219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24220 $(SET_LIB_PATH) \
24221 $(HOST_EXPORTS) \
24222 for flag in $(EXTRA_HOST_FLAGS) ; do \
24223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24224 done; \
24225 echo "Doing maintainer-clean in utils" ; \
24226 (cd utils && \
24227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24229 "RANLIB=$${RANLIB}" \
24230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24231 maintainer-clean) \
24232 || exit 1
24234 @endif utils
24238 # ---------------------------------------
24239 # Modules which run on the target machine
24240 # ---------------------------------------
24242 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
24243 maybe-configure-target-libstdc++-v3:
24244 @if target-libstdc++-v3
24245 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
24247 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24248 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
24249 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24250 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
24251 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24253 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24254 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
24255 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24256 r=`${PWD_COMMAND}`; export r; \
24257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24258 $(SET_LIB_PATH) \
24259 $(RAW_CXX_TARGET_EXPORTS) \
24260 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
24261 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
24262 case $(srcdir) in \
24263 /* | [A-Za-z]:[\\/]*) \
24264 topdir=$(srcdir) ;; \
24265 *) \
24266 case "$(TARGET_SUBDIR)" in \
24267 .) topdir="../$(srcdir)" ;; \
24268 *) topdir="../../$(srcdir)" ;; \
24269 esac ;; \
24270 esac; \
24271 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
24272 libsrcdir="$$s/libstdc++-v3"; \
24273 rm -f no-such-file || : ; \
24274 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24275 $(TARGET_CONFIGARGS) $${srcdiroption} \
24276 --with-target-subdir="$(TARGET_SUBDIR)" \
24277 || exit 1
24278 @endif target-libstdc++-v3
24280 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
24281 maybe-all-target-libstdc++-v3:
24282 @if target-libstdc++-v3
24283 TARGET-target-libstdc++-v3=all
24284 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
24285 all-target-libstdc++-v3: configure-target-libstdc++-v3
24286 @r=`${PWD_COMMAND}`; export r; \
24287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24288 $(SET_LIB_PATH) \
24289 $(RAW_CXX_TARGET_EXPORTS) \
24290 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24291 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
24292 @endif target-libstdc++-v3
24294 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
24295 maybe-check-target-libstdc++-v3:
24296 @if target-libstdc++-v3
24297 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
24299 check-target-libstdc++-v3:
24300 @r=`${PWD_COMMAND}`; export r; \
24301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24302 $(SET_LIB_PATH) \
24303 $(RAW_CXX_TARGET_EXPORTS) \
24304 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24305 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
24307 @endif target-libstdc++-v3
24309 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
24310 maybe-install-target-libstdc++-v3:
24311 @if target-libstdc++-v3
24312 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
24314 install-target-libstdc++-v3: installdirs
24315 @r=`${PWD_COMMAND}`; export r; \
24316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24317 $(SET_LIB_PATH) \
24318 $(RAW_CXX_TARGET_EXPORTS) \
24319 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24320 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24322 @endif target-libstdc++-v3
24324 # Other targets (info, dvi, etc.)
24326 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
24327 maybe-info-target-libstdc++-v3:
24328 @if target-libstdc++-v3
24329 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
24331 info-target-libstdc++-v3: \
24332 configure-target-libstdc++-v3
24333 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24334 r=`${PWD_COMMAND}`; export r; \
24335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24336 $(SET_LIB_PATH) \
24337 $(RAW_CXX_TARGET_EXPORTS) \
24338 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24339 for flag in $(EXTRA_TARGET_FLAGS); do \
24340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24341 done; \
24342 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24345 "RANLIB=$${RANLIB}" \
24346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24347 info) \
24348 || exit 1
24350 @endif target-libstdc++-v3
24352 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
24353 maybe-dvi-target-libstdc++-v3:
24354 @if target-libstdc++-v3
24355 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
24357 dvi-target-libstdc++-v3: \
24358 configure-target-libstdc++-v3
24359 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24360 r=`${PWD_COMMAND}`; export r; \
24361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24362 $(SET_LIB_PATH) \
24363 $(RAW_CXX_TARGET_EXPORTS) \
24364 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24365 for flag in $(EXTRA_TARGET_FLAGS); do \
24366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24367 done; \
24368 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24371 "RANLIB=$${RANLIB}" \
24372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24373 dvi) \
24374 || exit 1
24376 @endif target-libstdc++-v3
24378 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
24379 maybe-html-target-libstdc++-v3:
24380 @if target-libstdc++-v3
24381 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
24383 html-target-libstdc++-v3: \
24384 configure-target-libstdc++-v3
24385 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24386 r=`${PWD_COMMAND}`; export r; \
24387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24388 $(SET_LIB_PATH) \
24389 $(RAW_CXX_TARGET_EXPORTS) \
24390 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24391 for flag in $(EXTRA_TARGET_FLAGS); do \
24392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24393 done; \
24394 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24397 "RANLIB=$${RANLIB}" \
24398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24399 html) \
24400 || exit 1
24402 @endif target-libstdc++-v3
24404 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
24405 maybe-TAGS-target-libstdc++-v3:
24406 @if target-libstdc++-v3
24407 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
24409 TAGS-target-libstdc++-v3: \
24410 configure-target-libstdc++-v3
24411 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24412 r=`${PWD_COMMAND}`; export r; \
24413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24414 $(SET_LIB_PATH) \
24415 $(RAW_CXX_TARGET_EXPORTS) \
24416 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24417 for flag in $(EXTRA_TARGET_FLAGS); do \
24418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24419 done; \
24420 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24423 "RANLIB=$${RANLIB}" \
24424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24425 TAGS) \
24426 || exit 1
24428 @endif target-libstdc++-v3
24430 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
24431 maybe-install-info-target-libstdc++-v3:
24432 @if target-libstdc++-v3
24433 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
24435 install-info-target-libstdc++-v3: \
24436 configure-target-libstdc++-v3 \
24437 info-target-libstdc++-v3
24438 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24439 r=`${PWD_COMMAND}`; export r; \
24440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24441 $(SET_LIB_PATH) \
24442 $(RAW_CXX_TARGET_EXPORTS) \
24443 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24444 for flag in $(EXTRA_TARGET_FLAGS); do \
24445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24446 done; \
24447 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24450 "RANLIB=$${RANLIB}" \
24451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24452 install-info) \
24453 || exit 1
24455 @endif target-libstdc++-v3
24457 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
24458 maybe-installcheck-target-libstdc++-v3:
24459 @if target-libstdc++-v3
24460 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
24462 installcheck-target-libstdc++-v3: \
24463 configure-target-libstdc++-v3
24464 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24465 r=`${PWD_COMMAND}`; export r; \
24466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24467 $(SET_LIB_PATH) \
24468 $(RAW_CXX_TARGET_EXPORTS) \
24469 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24470 for flag in $(EXTRA_TARGET_FLAGS); do \
24471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24472 done; \
24473 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24476 "RANLIB=$${RANLIB}" \
24477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24478 installcheck) \
24479 || exit 1
24481 @endif target-libstdc++-v3
24483 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
24484 maybe-mostlyclean-target-libstdc++-v3:
24485 @if target-libstdc++-v3
24486 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
24488 mostlyclean-target-libstdc++-v3:
24489 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24490 r=`${PWD_COMMAND}`; export r; \
24491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24492 $(SET_LIB_PATH) \
24493 $(RAW_CXX_TARGET_EXPORTS) \
24494 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24495 for flag in $(EXTRA_TARGET_FLAGS); do \
24496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24497 done; \
24498 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24501 "RANLIB=$${RANLIB}" \
24502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24503 mostlyclean) \
24504 || exit 1
24506 @endif target-libstdc++-v3
24508 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
24509 maybe-clean-target-libstdc++-v3:
24510 @if target-libstdc++-v3
24511 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
24513 clean-target-libstdc++-v3:
24514 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24515 r=`${PWD_COMMAND}`; export r; \
24516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24517 $(SET_LIB_PATH) \
24518 $(RAW_CXX_TARGET_EXPORTS) \
24519 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24520 for flag in $(EXTRA_TARGET_FLAGS); do \
24521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24522 done; \
24523 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24526 "RANLIB=$${RANLIB}" \
24527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24528 clean) \
24529 || exit 1
24531 @endif target-libstdc++-v3
24533 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
24534 maybe-distclean-target-libstdc++-v3:
24535 @if target-libstdc++-v3
24536 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
24538 distclean-target-libstdc++-v3:
24539 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24540 r=`${PWD_COMMAND}`; export r; \
24541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24542 $(SET_LIB_PATH) \
24543 $(RAW_CXX_TARGET_EXPORTS) \
24544 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24545 for flag in $(EXTRA_TARGET_FLAGS); do \
24546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24547 done; \
24548 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24551 "RANLIB=$${RANLIB}" \
24552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24553 distclean) \
24554 || exit 1
24556 @endif target-libstdc++-v3
24558 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
24559 maybe-maintainer-clean-target-libstdc++-v3:
24560 @if target-libstdc++-v3
24561 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
24563 maintainer-clean-target-libstdc++-v3:
24564 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24565 r=`${PWD_COMMAND}`; export r; \
24566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24567 $(SET_LIB_PATH) \
24568 $(RAW_CXX_TARGET_EXPORTS) \
24569 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24570 for flag in $(EXTRA_TARGET_FLAGS); do \
24571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24572 done; \
24573 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24576 "RANLIB=$${RANLIB}" \
24577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24578 maintainer-clean) \
24579 || exit 1
24581 @endif target-libstdc++-v3
24584 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
24585 maybe-configure-target-libmudflap:
24586 @if target-libmudflap
24587 maybe-configure-target-libmudflap: configure-target-libmudflap
24589 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24590 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
24591 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24592 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
24593 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
24595 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
24596 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
24597 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24598 r=`${PWD_COMMAND}`; export r; \
24599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24600 $(SET_LIB_PATH) \
24601 $(NORMAL_TARGET_EXPORTS) \
24602 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
24603 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
24604 case $(srcdir) in \
24605 /* | [A-Za-z]:[\\/]*) \
24606 topdir=$(srcdir) ;; \
24607 *) \
24608 case "$(TARGET_SUBDIR)" in \
24609 .) topdir="../$(srcdir)" ;; \
24610 *) topdir="../../$(srcdir)" ;; \
24611 esac ;; \
24612 esac; \
24613 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
24614 libsrcdir="$$s/libmudflap"; \
24615 rm -f no-such-file || : ; \
24616 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24617 $(TARGET_CONFIGARGS) $${srcdiroption} \
24618 --with-target-subdir="$(TARGET_SUBDIR)" \
24619 || exit 1
24620 @endif target-libmudflap
24622 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
24623 maybe-all-target-libmudflap:
24624 @if target-libmudflap
24625 TARGET-target-libmudflap=all
24626 maybe-all-target-libmudflap: all-target-libmudflap
24627 all-target-libmudflap: configure-target-libmudflap
24628 @r=`${PWD_COMMAND}`; export r; \
24629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24630 $(SET_LIB_PATH) \
24631 $(NORMAL_TARGET_EXPORTS) \
24632 (cd $(TARGET_SUBDIR)/libmudflap && \
24633 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
24634 @endif target-libmudflap
24636 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
24637 maybe-check-target-libmudflap:
24638 @if target-libmudflap
24639 maybe-check-target-libmudflap: check-target-libmudflap
24641 check-target-libmudflap:
24642 @r=`${PWD_COMMAND}`; export r; \
24643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24644 $(SET_LIB_PATH) \
24645 $(NORMAL_TARGET_EXPORTS) \
24646 (cd $(TARGET_SUBDIR)/libmudflap && \
24647 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24649 @endif target-libmudflap
24651 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
24652 maybe-install-target-libmudflap:
24653 @if target-libmudflap
24654 maybe-install-target-libmudflap: install-target-libmudflap
24656 install-target-libmudflap: installdirs
24657 @r=`${PWD_COMMAND}`; export r; \
24658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24659 $(SET_LIB_PATH) \
24660 $(NORMAL_TARGET_EXPORTS) \
24661 (cd $(TARGET_SUBDIR)/libmudflap && \
24662 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24664 @endif target-libmudflap
24666 # Other targets (info, dvi, etc.)
24668 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
24669 maybe-info-target-libmudflap:
24670 @if target-libmudflap
24671 maybe-info-target-libmudflap: info-target-libmudflap
24673 info-target-libmudflap: \
24674 configure-target-libmudflap
24675 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24676 r=`${PWD_COMMAND}`; export r; \
24677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24678 $(SET_LIB_PATH) \
24679 $(NORMAL_TARGET_EXPORTS) \
24680 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
24681 for flag in $(EXTRA_TARGET_FLAGS); do \
24682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24683 done; \
24684 (cd $(TARGET_SUBDIR)/libmudflap && \
24685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24687 "RANLIB=$${RANLIB}" \
24688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24689 info) \
24690 || exit 1
24692 @endif target-libmudflap
24694 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
24695 maybe-dvi-target-libmudflap:
24696 @if target-libmudflap
24697 maybe-dvi-target-libmudflap: dvi-target-libmudflap
24699 dvi-target-libmudflap: \
24700 configure-target-libmudflap
24701 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24702 r=`${PWD_COMMAND}`; export r; \
24703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24704 $(SET_LIB_PATH) \
24705 $(NORMAL_TARGET_EXPORTS) \
24706 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
24707 for flag in $(EXTRA_TARGET_FLAGS); do \
24708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24709 done; \
24710 (cd $(TARGET_SUBDIR)/libmudflap && \
24711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24713 "RANLIB=$${RANLIB}" \
24714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24715 dvi) \
24716 || exit 1
24718 @endif target-libmudflap
24720 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
24721 maybe-html-target-libmudflap:
24722 @if target-libmudflap
24723 maybe-html-target-libmudflap: html-target-libmudflap
24725 html-target-libmudflap: \
24726 configure-target-libmudflap
24727 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24728 r=`${PWD_COMMAND}`; export r; \
24729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24730 $(SET_LIB_PATH) \
24731 $(NORMAL_TARGET_EXPORTS) \
24732 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
24733 for flag in $(EXTRA_TARGET_FLAGS); do \
24734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24735 done; \
24736 (cd $(TARGET_SUBDIR)/libmudflap && \
24737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24739 "RANLIB=$${RANLIB}" \
24740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24741 html) \
24742 || exit 1
24744 @endif target-libmudflap
24746 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
24747 maybe-TAGS-target-libmudflap:
24748 @if target-libmudflap
24749 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
24751 TAGS-target-libmudflap: \
24752 configure-target-libmudflap
24753 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24754 r=`${PWD_COMMAND}`; export r; \
24755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24756 $(SET_LIB_PATH) \
24757 $(NORMAL_TARGET_EXPORTS) \
24758 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
24759 for flag in $(EXTRA_TARGET_FLAGS); do \
24760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24761 done; \
24762 (cd $(TARGET_SUBDIR)/libmudflap && \
24763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24765 "RANLIB=$${RANLIB}" \
24766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24767 TAGS) \
24768 || exit 1
24770 @endif target-libmudflap
24772 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
24773 maybe-install-info-target-libmudflap:
24774 @if target-libmudflap
24775 maybe-install-info-target-libmudflap: install-info-target-libmudflap
24777 install-info-target-libmudflap: \
24778 configure-target-libmudflap \
24779 info-target-libmudflap
24780 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24781 r=`${PWD_COMMAND}`; export r; \
24782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24783 $(SET_LIB_PATH) \
24784 $(NORMAL_TARGET_EXPORTS) \
24785 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
24786 for flag in $(EXTRA_TARGET_FLAGS); do \
24787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24788 done; \
24789 (cd $(TARGET_SUBDIR)/libmudflap && \
24790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24792 "RANLIB=$${RANLIB}" \
24793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24794 install-info) \
24795 || exit 1
24797 @endif target-libmudflap
24799 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
24800 maybe-installcheck-target-libmudflap:
24801 @if target-libmudflap
24802 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
24804 installcheck-target-libmudflap: \
24805 configure-target-libmudflap
24806 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24807 r=`${PWD_COMMAND}`; export r; \
24808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24809 $(SET_LIB_PATH) \
24810 $(NORMAL_TARGET_EXPORTS) \
24811 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
24812 for flag in $(EXTRA_TARGET_FLAGS); do \
24813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24814 done; \
24815 (cd $(TARGET_SUBDIR)/libmudflap && \
24816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24818 "RANLIB=$${RANLIB}" \
24819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24820 installcheck) \
24821 || exit 1
24823 @endif target-libmudflap
24825 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
24826 maybe-mostlyclean-target-libmudflap:
24827 @if target-libmudflap
24828 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
24830 mostlyclean-target-libmudflap:
24831 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24832 r=`${PWD_COMMAND}`; export r; \
24833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24834 $(SET_LIB_PATH) \
24835 $(NORMAL_TARGET_EXPORTS) \
24836 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
24837 for flag in $(EXTRA_TARGET_FLAGS); do \
24838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24839 done; \
24840 (cd $(TARGET_SUBDIR)/libmudflap && \
24841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24843 "RANLIB=$${RANLIB}" \
24844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24845 mostlyclean) \
24846 || exit 1
24848 @endif target-libmudflap
24850 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
24851 maybe-clean-target-libmudflap:
24852 @if target-libmudflap
24853 maybe-clean-target-libmudflap: clean-target-libmudflap
24855 clean-target-libmudflap:
24856 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24857 r=`${PWD_COMMAND}`; export r; \
24858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24859 $(SET_LIB_PATH) \
24860 $(NORMAL_TARGET_EXPORTS) \
24861 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
24862 for flag in $(EXTRA_TARGET_FLAGS); do \
24863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24864 done; \
24865 (cd $(TARGET_SUBDIR)/libmudflap && \
24866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24868 "RANLIB=$${RANLIB}" \
24869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24870 clean) \
24871 || exit 1
24873 @endif target-libmudflap
24875 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
24876 maybe-distclean-target-libmudflap:
24877 @if target-libmudflap
24878 maybe-distclean-target-libmudflap: distclean-target-libmudflap
24880 distclean-target-libmudflap:
24881 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24882 r=`${PWD_COMMAND}`; export r; \
24883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24884 $(SET_LIB_PATH) \
24885 $(NORMAL_TARGET_EXPORTS) \
24886 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
24887 for flag in $(EXTRA_TARGET_FLAGS); do \
24888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24889 done; \
24890 (cd $(TARGET_SUBDIR)/libmudflap && \
24891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24893 "RANLIB=$${RANLIB}" \
24894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24895 distclean) \
24896 || exit 1
24898 @endif target-libmudflap
24900 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
24901 maybe-maintainer-clean-target-libmudflap:
24902 @if target-libmudflap
24903 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
24905 maintainer-clean-target-libmudflap:
24906 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24907 r=`${PWD_COMMAND}`; export r; \
24908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24909 $(SET_LIB_PATH) \
24910 $(NORMAL_TARGET_EXPORTS) \
24911 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
24912 for flag in $(EXTRA_TARGET_FLAGS); do \
24913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24914 done; \
24915 (cd $(TARGET_SUBDIR)/libmudflap && \
24916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24918 "RANLIB=$${RANLIB}" \
24919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24920 maintainer-clean) \
24921 || exit 1
24923 @endif target-libmudflap
24926 .PHONY: configure-target-newlib maybe-configure-target-newlib
24927 maybe-configure-target-newlib:
24928 @if target-newlib
24929 maybe-configure-target-newlib: configure-target-newlib
24931 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24932 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
24933 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24934 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
24935 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
24937 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
24938 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
24939 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24940 r=`${PWD_COMMAND}`; export r; \
24941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24942 $(SET_LIB_PATH) \
24943 $(NORMAL_TARGET_EXPORTS) \
24944 echo Configuring in $(TARGET_SUBDIR)/newlib; \
24945 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
24946 case $(srcdir) in \
24947 /* | [A-Za-z]:[\\/]*) \
24948 topdir=$(srcdir) ;; \
24949 *) \
24950 case "$(TARGET_SUBDIR)" in \
24951 .) topdir="../$(srcdir)" ;; \
24952 *) topdir="../../$(srcdir)" ;; \
24953 esac ;; \
24954 esac; \
24955 srcdiroption="--srcdir=$${topdir}/newlib"; \
24956 libsrcdir="$$s/newlib"; \
24957 rm -f no-such-file || : ; \
24958 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24959 $(TARGET_CONFIGARGS) $${srcdiroption} \
24960 --with-target-subdir="$(TARGET_SUBDIR)" \
24961 || exit 1
24962 @endif target-newlib
24964 .PHONY: all-target-newlib maybe-all-target-newlib
24965 maybe-all-target-newlib:
24966 @if target-newlib
24967 TARGET-target-newlib=all
24968 maybe-all-target-newlib: all-target-newlib
24969 all-target-newlib: configure-target-newlib
24970 @r=`${PWD_COMMAND}`; export r; \
24971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24972 $(SET_LIB_PATH) \
24973 $(NORMAL_TARGET_EXPORTS) \
24974 (cd $(TARGET_SUBDIR)/newlib && \
24975 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
24976 @endif target-newlib
24978 .PHONY: check-target-newlib maybe-check-target-newlib
24979 maybe-check-target-newlib:
24980 @if target-newlib
24981 maybe-check-target-newlib: check-target-newlib
24983 check-target-newlib:
24984 @r=`${PWD_COMMAND}`; export r; \
24985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24986 $(SET_LIB_PATH) \
24987 $(NORMAL_TARGET_EXPORTS) \
24988 (cd $(TARGET_SUBDIR)/newlib && \
24989 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24991 @endif target-newlib
24993 .PHONY: install-target-newlib maybe-install-target-newlib
24994 maybe-install-target-newlib:
24995 @if target-newlib
24996 maybe-install-target-newlib: install-target-newlib
24998 install-target-newlib: installdirs
24999 @r=`${PWD_COMMAND}`; export r; \
25000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25001 $(SET_LIB_PATH) \
25002 $(NORMAL_TARGET_EXPORTS) \
25003 (cd $(TARGET_SUBDIR)/newlib && \
25004 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25006 @endif target-newlib
25008 # Other targets (info, dvi, etc.)
25010 .PHONY: maybe-info-target-newlib info-target-newlib
25011 maybe-info-target-newlib:
25012 @if target-newlib
25013 maybe-info-target-newlib: info-target-newlib
25015 info-target-newlib: \
25016 configure-target-newlib
25017 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25018 r=`${PWD_COMMAND}`; export r; \
25019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25020 $(SET_LIB_PATH) \
25021 $(NORMAL_TARGET_EXPORTS) \
25022 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
25023 for flag in $(EXTRA_TARGET_FLAGS); do \
25024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25025 done; \
25026 (cd $(TARGET_SUBDIR)/newlib && \
25027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25029 "RANLIB=$${RANLIB}" \
25030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25031 info) \
25032 || exit 1
25034 @endif target-newlib
25036 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
25037 maybe-dvi-target-newlib:
25038 @if target-newlib
25039 maybe-dvi-target-newlib: dvi-target-newlib
25041 dvi-target-newlib: \
25042 configure-target-newlib
25043 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25044 r=`${PWD_COMMAND}`; export r; \
25045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25046 $(SET_LIB_PATH) \
25047 $(NORMAL_TARGET_EXPORTS) \
25048 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
25049 for flag in $(EXTRA_TARGET_FLAGS); do \
25050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25051 done; \
25052 (cd $(TARGET_SUBDIR)/newlib && \
25053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25055 "RANLIB=$${RANLIB}" \
25056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25057 dvi) \
25058 || exit 1
25060 @endif target-newlib
25062 .PHONY: maybe-html-target-newlib html-target-newlib
25063 maybe-html-target-newlib:
25064 @if target-newlib
25065 maybe-html-target-newlib: html-target-newlib
25067 html-target-newlib: \
25068 configure-target-newlib
25069 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25070 r=`${PWD_COMMAND}`; export r; \
25071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25072 $(SET_LIB_PATH) \
25073 $(NORMAL_TARGET_EXPORTS) \
25074 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
25075 for flag in $(EXTRA_TARGET_FLAGS); do \
25076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25077 done; \
25078 (cd $(TARGET_SUBDIR)/newlib && \
25079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25081 "RANLIB=$${RANLIB}" \
25082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25083 html) \
25084 || exit 1
25086 @endif target-newlib
25088 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
25089 maybe-TAGS-target-newlib:
25090 @if target-newlib
25091 maybe-TAGS-target-newlib: TAGS-target-newlib
25093 TAGS-target-newlib: \
25094 configure-target-newlib
25095 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25096 r=`${PWD_COMMAND}`; export r; \
25097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25098 $(SET_LIB_PATH) \
25099 $(NORMAL_TARGET_EXPORTS) \
25100 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
25101 for flag in $(EXTRA_TARGET_FLAGS); do \
25102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25103 done; \
25104 (cd $(TARGET_SUBDIR)/newlib && \
25105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25107 "RANLIB=$${RANLIB}" \
25108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25109 TAGS) \
25110 || exit 1
25112 @endif target-newlib
25114 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
25115 maybe-install-info-target-newlib:
25116 @if target-newlib
25117 maybe-install-info-target-newlib: install-info-target-newlib
25119 install-info-target-newlib: \
25120 configure-target-newlib \
25121 info-target-newlib
25122 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25123 r=`${PWD_COMMAND}`; export r; \
25124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25125 $(SET_LIB_PATH) \
25126 $(NORMAL_TARGET_EXPORTS) \
25127 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
25128 for flag in $(EXTRA_TARGET_FLAGS); do \
25129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25130 done; \
25131 (cd $(TARGET_SUBDIR)/newlib && \
25132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25134 "RANLIB=$${RANLIB}" \
25135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25136 install-info) \
25137 || exit 1
25139 @endif target-newlib
25141 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
25142 maybe-installcheck-target-newlib:
25143 @if target-newlib
25144 maybe-installcheck-target-newlib: installcheck-target-newlib
25146 installcheck-target-newlib: \
25147 configure-target-newlib
25148 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25149 r=`${PWD_COMMAND}`; export r; \
25150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25151 $(SET_LIB_PATH) \
25152 $(NORMAL_TARGET_EXPORTS) \
25153 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
25154 for flag in $(EXTRA_TARGET_FLAGS); do \
25155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25156 done; \
25157 (cd $(TARGET_SUBDIR)/newlib && \
25158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25160 "RANLIB=$${RANLIB}" \
25161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25162 installcheck) \
25163 || exit 1
25165 @endif target-newlib
25167 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
25168 maybe-mostlyclean-target-newlib:
25169 @if target-newlib
25170 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
25172 mostlyclean-target-newlib:
25173 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25174 r=`${PWD_COMMAND}`; export r; \
25175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25176 $(SET_LIB_PATH) \
25177 $(NORMAL_TARGET_EXPORTS) \
25178 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
25179 for flag in $(EXTRA_TARGET_FLAGS); do \
25180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25181 done; \
25182 (cd $(TARGET_SUBDIR)/newlib && \
25183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25185 "RANLIB=$${RANLIB}" \
25186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25187 mostlyclean) \
25188 || exit 1
25190 @endif target-newlib
25192 .PHONY: maybe-clean-target-newlib clean-target-newlib
25193 maybe-clean-target-newlib:
25194 @if target-newlib
25195 maybe-clean-target-newlib: clean-target-newlib
25197 clean-target-newlib:
25198 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25199 r=`${PWD_COMMAND}`; export r; \
25200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25201 $(SET_LIB_PATH) \
25202 $(NORMAL_TARGET_EXPORTS) \
25203 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
25204 for flag in $(EXTRA_TARGET_FLAGS); do \
25205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25206 done; \
25207 (cd $(TARGET_SUBDIR)/newlib && \
25208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25210 "RANLIB=$${RANLIB}" \
25211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25212 clean) \
25213 || exit 1
25215 @endif target-newlib
25217 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
25218 maybe-distclean-target-newlib:
25219 @if target-newlib
25220 maybe-distclean-target-newlib: distclean-target-newlib
25222 distclean-target-newlib:
25223 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25224 r=`${PWD_COMMAND}`; export r; \
25225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25226 $(SET_LIB_PATH) \
25227 $(NORMAL_TARGET_EXPORTS) \
25228 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
25229 for flag in $(EXTRA_TARGET_FLAGS); do \
25230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25231 done; \
25232 (cd $(TARGET_SUBDIR)/newlib && \
25233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25235 "RANLIB=$${RANLIB}" \
25236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25237 distclean) \
25238 || exit 1
25240 @endif target-newlib
25242 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
25243 maybe-maintainer-clean-target-newlib:
25244 @if target-newlib
25245 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
25247 maintainer-clean-target-newlib:
25248 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25249 r=`${PWD_COMMAND}`; export r; \
25250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25251 $(SET_LIB_PATH) \
25252 $(NORMAL_TARGET_EXPORTS) \
25253 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
25254 for flag in $(EXTRA_TARGET_FLAGS); do \
25255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25256 done; \
25257 (cd $(TARGET_SUBDIR)/newlib && \
25258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25260 "RANLIB=$${RANLIB}" \
25261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25262 maintainer-clean) \
25263 || exit 1
25265 @endif target-newlib
25268 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
25269 maybe-configure-target-libgfortran:
25270 @if target-libgfortran
25271 maybe-configure-target-libgfortran: configure-target-libgfortran
25273 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25274 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
25275 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25276 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
25277 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
25279 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
25280 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
25281 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25282 r=`${PWD_COMMAND}`; export r; \
25283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25284 $(SET_LIB_PATH) \
25285 $(NORMAL_TARGET_EXPORTS) \
25286 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
25287 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
25288 case $(srcdir) in \
25289 /* | [A-Za-z]:[\\/]*) \
25290 topdir=$(srcdir) ;; \
25291 *) \
25292 case "$(TARGET_SUBDIR)" in \
25293 .) topdir="../$(srcdir)" ;; \
25294 *) topdir="../../$(srcdir)" ;; \
25295 esac ;; \
25296 esac; \
25297 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
25298 libsrcdir="$$s/libgfortran"; \
25299 rm -f no-such-file || : ; \
25300 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25301 $(TARGET_CONFIGARGS) $${srcdiroption} \
25302 --with-target-subdir="$(TARGET_SUBDIR)" \
25303 || exit 1
25304 @endif target-libgfortran
25306 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
25307 maybe-all-target-libgfortran:
25308 @if target-libgfortran
25309 TARGET-target-libgfortran=all
25310 maybe-all-target-libgfortran: all-target-libgfortran
25311 all-target-libgfortran: configure-target-libgfortran
25312 @r=`${PWD_COMMAND}`; export r; \
25313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25314 $(SET_LIB_PATH) \
25315 $(NORMAL_TARGET_EXPORTS) \
25316 (cd $(TARGET_SUBDIR)/libgfortran && \
25317 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
25318 @endif target-libgfortran
25320 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
25321 maybe-check-target-libgfortran:
25322 @if target-libgfortran
25323 maybe-check-target-libgfortran: check-target-libgfortran
25325 check-target-libgfortran:
25326 @r=`${PWD_COMMAND}`; export r; \
25327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25328 $(SET_LIB_PATH) \
25329 $(NORMAL_TARGET_EXPORTS) \
25330 (cd $(TARGET_SUBDIR)/libgfortran && \
25331 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25333 @endif target-libgfortran
25335 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
25336 maybe-install-target-libgfortran:
25337 @if target-libgfortran
25338 maybe-install-target-libgfortran: install-target-libgfortran
25340 install-target-libgfortran: installdirs
25341 @r=`${PWD_COMMAND}`; export r; \
25342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25343 $(SET_LIB_PATH) \
25344 $(NORMAL_TARGET_EXPORTS) \
25345 (cd $(TARGET_SUBDIR)/libgfortran && \
25346 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25348 @endif target-libgfortran
25350 # Other targets (info, dvi, etc.)
25352 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
25353 maybe-info-target-libgfortran:
25354 @if target-libgfortran
25355 maybe-info-target-libgfortran: info-target-libgfortran
25357 info-target-libgfortran: \
25358 configure-target-libgfortran
25359 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25360 r=`${PWD_COMMAND}`; export r; \
25361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25362 $(SET_LIB_PATH) \
25363 $(NORMAL_TARGET_EXPORTS) \
25364 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
25365 for flag in $(EXTRA_TARGET_FLAGS); do \
25366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25367 done; \
25368 (cd $(TARGET_SUBDIR)/libgfortran && \
25369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25371 "RANLIB=$${RANLIB}" \
25372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25373 info) \
25374 || exit 1
25376 @endif target-libgfortran
25378 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
25379 maybe-dvi-target-libgfortran:
25380 @if target-libgfortran
25381 maybe-dvi-target-libgfortran: dvi-target-libgfortran
25383 dvi-target-libgfortran: \
25384 configure-target-libgfortran
25385 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25386 r=`${PWD_COMMAND}`; export r; \
25387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25388 $(SET_LIB_PATH) \
25389 $(NORMAL_TARGET_EXPORTS) \
25390 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
25391 for flag in $(EXTRA_TARGET_FLAGS); do \
25392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25393 done; \
25394 (cd $(TARGET_SUBDIR)/libgfortran && \
25395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25397 "RANLIB=$${RANLIB}" \
25398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25399 dvi) \
25400 || exit 1
25402 @endif target-libgfortran
25404 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
25405 maybe-html-target-libgfortran:
25406 @if target-libgfortran
25407 maybe-html-target-libgfortran: html-target-libgfortran
25409 html-target-libgfortran: \
25410 configure-target-libgfortran
25411 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25412 r=`${PWD_COMMAND}`; export r; \
25413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25414 $(SET_LIB_PATH) \
25415 $(NORMAL_TARGET_EXPORTS) \
25416 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
25417 for flag in $(EXTRA_TARGET_FLAGS); do \
25418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25419 done; \
25420 (cd $(TARGET_SUBDIR)/libgfortran && \
25421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25423 "RANLIB=$${RANLIB}" \
25424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25425 html) \
25426 || exit 1
25428 @endif target-libgfortran
25430 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
25431 maybe-TAGS-target-libgfortran:
25432 @if target-libgfortran
25433 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
25435 TAGS-target-libgfortran: \
25436 configure-target-libgfortran
25437 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25438 r=`${PWD_COMMAND}`; export r; \
25439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25440 $(SET_LIB_PATH) \
25441 $(NORMAL_TARGET_EXPORTS) \
25442 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
25443 for flag in $(EXTRA_TARGET_FLAGS); do \
25444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25445 done; \
25446 (cd $(TARGET_SUBDIR)/libgfortran && \
25447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25449 "RANLIB=$${RANLIB}" \
25450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25451 TAGS) \
25452 || exit 1
25454 @endif target-libgfortran
25456 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
25457 maybe-install-info-target-libgfortran:
25458 @if target-libgfortran
25459 maybe-install-info-target-libgfortran: install-info-target-libgfortran
25461 install-info-target-libgfortran: \
25462 configure-target-libgfortran \
25463 info-target-libgfortran
25464 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25465 r=`${PWD_COMMAND}`; export r; \
25466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25467 $(SET_LIB_PATH) \
25468 $(NORMAL_TARGET_EXPORTS) \
25469 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
25470 for flag in $(EXTRA_TARGET_FLAGS); do \
25471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25472 done; \
25473 (cd $(TARGET_SUBDIR)/libgfortran && \
25474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25476 "RANLIB=$${RANLIB}" \
25477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25478 install-info) \
25479 || exit 1
25481 @endif target-libgfortran
25483 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
25484 maybe-installcheck-target-libgfortran:
25485 @if target-libgfortran
25486 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
25488 installcheck-target-libgfortran: \
25489 configure-target-libgfortran
25490 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25491 r=`${PWD_COMMAND}`; export r; \
25492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25493 $(SET_LIB_PATH) \
25494 $(NORMAL_TARGET_EXPORTS) \
25495 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
25496 for flag in $(EXTRA_TARGET_FLAGS); do \
25497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25498 done; \
25499 (cd $(TARGET_SUBDIR)/libgfortran && \
25500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25502 "RANLIB=$${RANLIB}" \
25503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25504 installcheck) \
25505 || exit 1
25507 @endif target-libgfortran
25509 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
25510 maybe-mostlyclean-target-libgfortran:
25511 @if target-libgfortran
25512 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
25514 mostlyclean-target-libgfortran:
25515 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25516 r=`${PWD_COMMAND}`; export r; \
25517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25518 $(SET_LIB_PATH) \
25519 $(NORMAL_TARGET_EXPORTS) \
25520 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
25521 for flag in $(EXTRA_TARGET_FLAGS); do \
25522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25523 done; \
25524 (cd $(TARGET_SUBDIR)/libgfortran && \
25525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25527 "RANLIB=$${RANLIB}" \
25528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25529 mostlyclean) \
25530 || exit 1
25532 @endif target-libgfortran
25534 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
25535 maybe-clean-target-libgfortran:
25536 @if target-libgfortran
25537 maybe-clean-target-libgfortran: clean-target-libgfortran
25539 clean-target-libgfortran:
25540 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25541 r=`${PWD_COMMAND}`; export r; \
25542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25543 $(SET_LIB_PATH) \
25544 $(NORMAL_TARGET_EXPORTS) \
25545 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
25546 for flag in $(EXTRA_TARGET_FLAGS); do \
25547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25548 done; \
25549 (cd $(TARGET_SUBDIR)/libgfortran && \
25550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25552 "RANLIB=$${RANLIB}" \
25553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25554 clean) \
25555 || exit 1
25557 @endif target-libgfortran
25559 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
25560 maybe-distclean-target-libgfortran:
25561 @if target-libgfortran
25562 maybe-distclean-target-libgfortran: distclean-target-libgfortran
25564 distclean-target-libgfortran:
25565 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25566 r=`${PWD_COMMAND}`; export r; \
25567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25568 $(SET_LIB_PATH) \
25569 $(NORMAL_TARGET_EXPORTS) \
25570 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
25571 for flag in $(EXTRA_TARGET_FLAGS); do \
25572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25573 done; \
25574 (cd $(TARGET_SUBDIR)/libgfortran && \
25575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25577 "RANLIB=$${RANLIB}" \
25578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25579 distclean) \
25580 || exit 1
25582 @endif target-libgfortran
25584 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
25585 maybe-maintainer-clean-target-libgfortran:
25586 @if target-libgfortran
25587 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
25589 maintainer-clean-target-libgfortran:
25590 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25591 r=`${PWD_COMMAND}`; export r; \
25592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25593 $(SET_LIB_PATH) \
25594 $(NORMAL_TARGET_EXPORTS) \
25595 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
25596 for flag in $(EXTRA_TARGET_FLAGS); do \
25597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25598 done; \
25599 (cd $(TARGET_SUBDIR)/libgfortran && \
25600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25602 "RANLIB=$${RANLIB}" \
25603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25604 maintainer-clean) \
25605 || exit 1
25607 @endif target-libgfortran
25610 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
25611 maybe-configure-target-libobjc:
25612 @if target-libobjc
25613 maybe-configure-target-libobjc: configure-target-libobjc
25615 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25616 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
25617 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25618 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
25619 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
25621 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
25622 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
25623 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25624 r=`${PWD_COMMAND}`; export r; \
25625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25626 $(SET_LIB_PATH) \
25627 $(NORMAL_TARGET_EXPORTS) \
25628 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
25629 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
25630 case $(srcdir) in \
25631 /* | [A-Za-z]:[\\/]*) \
25632 topdir=$(srcdir) ;; \
25633 *) \
25634 case "$(TARGET_SUBDIR)" in \
25635 .) topdir="../$(srcdir)" ;; \
25636 *) topdir="../../$(srcdir)" ;; \
25637 esac ;; \
25638 esac; \
25639 srcdiroption="--srcdir=$${topdir}/libobjc"; \
25640 libsrcdir="$$s/libobjc"; \
25641 rm -f no-such-file || : ; \
25642 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25643 $(TARGET_CONFIGARGS) $${srcdiroption} \
25644 --with-target-subdir="$(TARGET_SUBDIR)" \
25645 || exit 1
25646 @endif target-libobjc
25648 .PHONY: all-target-libobjc maybe-all-target-libobjc
25649 maybe-all-target-libobjc:
25650 @if target-libobjc
25651 TARGET-target-libobjc=all
25652 maybe-all-target-libobjc: all-target-libobjc
25653 all-target-libobjc: configure-target-libobjc
25654 @r=`${PWD_COMMAND}`; export r; \
25655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25656 $(SET_LIB_PATH) \
25657 $(NORMAL_TARGET_EXPORTS) \
25658 (cd $(TARGET_SUBDIR)/libobjc && \
25659 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
25660 @endif target-libobjc
25662 .PHONY: check-target-libobjc maybe-check-target-libobjc
25663 maybe-check-target-libobjc:
25664 @if target-libobjc
25665 maybe-check-target-libobjc: check-target-libobjc
25667 check-target-libobjc:
25668 @r=`${PWD_COMMAND}`; export r; \
25669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25670 $(SET_LIB_PATH) \
25671 $(NORMAL_TARGET_EXPORTS) \
25672 (cd $(TARGET_SUBDIR)/libobjc && \
25673 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25675 @endif target-libobjc
25677 .PHONY: install-target-libobjc maybe-install-target-libobjc
25678 maybe-install-target-libobjc:
25679 @if target-libobjc
25680 maybe-install-target-libobjc: install-target-libobjc
25682 install-target-libobjc: installdirs
25683 @r=`${PWD_COMMAND}`; export r; \
25684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25685 $(SET_LIB_PATH) \
25686 $(NORMAL_TARGET_EXPORTS) \
25687 (cd $(TARGET_SUBDIR)/libobjc && \
25688 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25690 @endif target-libobjc
25692 # Other targets (info, dvi, etc.)
25694 .PHONY: maybe-info-target-libobjc info-target-libobjc
25695 maybe-info-target-libobjc:
25696 @if target-libobjc
25697 maybe-info-target-libobjc: info-target-libobjc
25699 info-target-libobjc: \
25700 configure-target-libobjc
25701 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25702 r=`${PWD_COMMAND}`; export r; \
25703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25704 $(SET_LIB_PATH) \
25705 $(NORMAL_TARGET_EXPORTS) \
25706 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
25707 for flag in $(EXTRA_TARGET_FLAGS); do \
25708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25709 done; \
25710 (cd $(TARGET_SUBDIR)/libobjc && \
25711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25713 "RANLIB=$${RANLIB}" \
25714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25715 info) \
25716 || exit 1
25718 @endif target-libobjc
25720 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
25721 maybe-dvi-target-libobjc:
25722 @if target-libobjc
25723 maybe-dvi-target-libobjc: dvi-target-libobjc
25725 dvi-target-libobjc: \
25726 configure-target-libobjc
25727 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25728 r=`${PWD_COMMAND}`; export r; \
25729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25730 $(SET_LIB_PATH) \
25731 $(NORMAL_TARGET_EXPORTS) \
25732 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
25733 for flag in $(EXTRA_TARGET_FLAGS); do \
25734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25735 done; \
25736 (cd $(TARGET_SUBDIR)/libobjc && \
25737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25739 "RANLIB=$${RANLIB}" \
25740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25741 dvi) \
25742 || exit 1
25744 @endif target-libobjc
25746 .PHONY: maybe-html-target-libobjc html-target-libobjc
25747 maybe-html-target-libobjc:
25748 @if target-libobjc
25749 maybe-html-target-libobjc: html-target-libobjc
25751 html-target-libobjc: \
25752 configure-target-libobjc
25753 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25754 r=`${PWD_COMMAND}`; export r; \
25755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25756 $(SET_LIB_PATH) \
25757 $(NORMAL_TARGET_EXPORTS) \
25758 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
25759 for flag in $(EXTRA_TARGET_FLAGS); do \
25760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25761 done; \
25762 (cd $(TARGET_SUBDIR)/libobjc && \
25763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25765 "RANLIB=$${RANLIB}" \
25766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25767 html) \
25768 || exit 1
25770 @endif target-libobjc
25772 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
25773 maybe-TAGS-target-libobjc:
25774 @if target-libobjc
25775 maybe-TAGS-target-libobjc: TAGS-target-libobjc
25777 TAGS-target-libobjc: \
25778 configure-target-libobjc
25779 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25780 r=`${PWD_COMMAND}`; export r; \
25781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25782 $(SET_LIB_PATH) \
25783 $(NORMAL_TARGET_EXPORTS) \
25784 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
25785 for flag in $(EXTRA_TARGET_FLAGS); do \
25786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25787 done; \
25788 (cd $(TARGET_SUBDIR)/libobjc && \
25789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25791 "RANLIB=$${RANLIB}" \
25792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25793 TAGS) \
25794 || exit 1
25796 @endif target-libobjc
25798 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
25799 maybe-install-info-target-libobjc:
25800 @if target-libobjc
25801 maybe-install-info-target-libobjc: install-info-target-libobjc
25803 install-info-target-libobjc: \
25804 configure-target-libobjc \
25805 info-target-libobjc
25806 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25807 r=`${PWD_COMMAND}`; export r; \
25808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25809 $(SET_LIB_PATH) \
25810 $(NORMAL_TARGET_EXPORTS) \
25811 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
25812 for flag in $(EXTRA_TARGET_FLAGS); do \
25813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25814 done; \
25815 (cd $(TARGET_SUBDIR)/libobjc && \
25816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25818 "RANLIB=$${RANLIB}" \
25819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25820 install-info) \
25821 || exit 1
25823 @endif target-libobjc
25825 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
25826 maybe-installcheck-target-libobjc:
25827 @if target-libobjc
25828 maybe-installcheck-target-libobjc: installcheck-target-libobjc
25830 installcheck-target-libobjc: \
25831 configure-target-libobjc
25832 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25833 r=`${PWD_COMMAND}`; export r; \
25834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25835 $(SET_LIB_PATH) \
25836 $(NORMAL_TARGET_EXPORTS) \
25837 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
25838 for flag in $(EXTRA_TARGET_FLAGS); do \
25839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25840 done; \
25841 (cd $(TARGET_SUBDIR)/libobjc && \
25842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25844 "RANLIB=$${RANLIB}" \
25845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25846 installcheck) \
25847 || exit 1
25849 @endif target-libobjc
25851 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
25852 maybe-mostlyclean-target-libobjc:
25853 @if target-libobjc
25854 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
25856 mostlyclean-target-libobjc:
25857 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25858 r=`${PWD_COMMAND}`; export r; \
25859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25860 $(SET_LIB_PATH) \
25861 $(NORMAL_TARGET_EXPORTS) \
25862 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
25863 for flag in $(EXTRA_TARGET_FLAGS); do \
25864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25865 done; \
25866 (cd $(TARGET_SUBDIR)/libobjc && \
25867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25869 "RANLIB=$${RANLIB}" \
25870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25871 mostlyclean) \
25872 || exit 1
25874 @endif target-libobjc
25876 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
25877 maybe-clean-target-libobjc:
25878 @if target-libobjc
25879 maybe-clean-target-libobjc: clean-target-libobjc
25881 clean-target-libobjc:
25882 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25883 r=`${PWD_COMMAND}`; export r; \
25884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25885 $(SET_LIB_PATH) \
25886 $(NORMAL_TARGET_EXPORTS) \
25887 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
25888 for flag in $(EXTRA_TARGET_FLAGS); do \
25889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25890 done; \
25891 (cd $(TARGET_SUBDIR)/libobjc && \
25892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25894 "RANLIB=$${RANLIB}" \
25895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25896 clean) \
25897 || exit 1
25899 @endif target-libobjc
25901 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
25902 maybe-distclean-target-libobjc:
25903 @if target-libobjc
25904 maybe-distclean-target-libobjc: distclean-target-libobjc
25906 distclean-target-libobjc:
25907 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25908 r=`${PWD_COMMAND}`; export r; \
25909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25910 $(SET_LIB_PATH) \
25911 $(NORMAL_TARGET_EXPORTS) \
25912 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
25913 for flag in $(EXTRA_TARGET_FLAGS); do \
25914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25915 done; \
25916 (cd $(TARGET_SUBDIR)/libobjc && \
25917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25919 "RANLIB=$${RANLIB}" \
25920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25921 distclean) \
25922 || exit 1
25924 @endif target-libobjc
25926 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
25927 maybe-maintainer-clean-target-libobjc:
25928 @if target-libobjc
25929 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
25931 maintainer-clean-target-libobjc:
25932 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25933 r=`${PWD_COMMAND}`; export r; \
25934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25935 $(SET_LIB_PATH) \
25936 $(NORMAL_TARGET_EXPORTS) \
25937 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
25938 for flag in $(EXTRA_TARGET_FLAGS); do \
25939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25940 done; \
25941 (cd $(TARGET_SUBDIR)/libobjc && \
25942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25944 "RANLIB=$${RANLIB}" \
25945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25946 maintainer-clean) \
25947 || exit 1
25949 @endif target-libobjc
25952 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
25953 maybe-configure-target-libtermcap:
25954 @if target-libtermcap
25955 maybe-configure-target-libtermcap: configure-target-libtermcap
25957 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25958 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
25959 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25960 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
25961 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
25963 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
25964 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
25965 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25966 r=`${PWD_COMMAND}`; export r; \
25967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25968 $(SET_LIB_PATH) \
25969 $(NORMAL_TARGET_EXPORTS) \
25970 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
25971 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
25972 case $(srcdir) in \
25973 /* | [A-Za-z]:[\\/]*) \
25974 topdir=$(srcdir) ;; \
25975 *) \
25976 case "$(TARGET_SUBDIR)" in \
25977 .) topdir="../$(srcdir)" ;; \
25978 *) topdir="../../$(srcdir)" ;; \
25979 esac ;; \
25980 esac; \
25981 if [ "$(srcdir)" = "." ] ; then \
25982 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
25983 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
25984 if [ -f Makefile ]; then \
25985 if $(MAKE) distclean; then \
25986 true; \
25987 else \
25988 exit 1; \
25989 fi; \
25990 else \
25991 true; \
25992 fi; \
25993 else \
25994 exit 1; \
25995 fi; \
25996 else \
25997 true; \
25998 fi; \
25999 srcdiroption="--srcdir=."; \
26000 libsrcdir="."; \
26001 else \
26002 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
26003 libsrcdir="$$s/libtermcap"; \
26004 fi; \
26005 rm -f no-such-file || : ; \
26006 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26007 $(TARGET_CONFIGARGS) $${srcdiroption} \
26008 --with-target-subdir="$(TARGET_SUBDIR)" \
26009 || exit 1
26010 @endif target-libtermcap
26012 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
26013 maybe-all-target-libtermcap:
26014 @if target-libtermcap
26015 TARGET-target-libtermcap=all
26016 maybe-all-target-libtermcap: all-target-libtermcap
26017 all-target-libtermcap: configure-target-libtermcap
26018 @r=`${PWD_COMMAND}`; export r; \
26019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26020 $(SET_LIB_PATH) \
26021 $(NORMAL_TARGET_EXPORTS) \
26022 (cd $(TARGET_SUBDIR)/libtermcap && \
26023 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
26024 @endif target-libtermcap
26026 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
26027 maybe-check-target-libtermcap:
26028 @if target-libtermcap
26029 maybe-check-target-libtermcap: check-target-libtermcap
26031 # Dummy target for uncheckable module.
26032 check-target-libtermcap:
26034 @endif target-libtermcap
26036 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
26037 maybe-install-target-libtermcap:
26038 @if target-libtermcap
26039 maybe-install-target-libtermcap: install-target-libtermcap
26041 install-target-libtermcap: installdirs
26042 @r=`${PWD_COMMAND}`; export r; \
26043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26044 $(SET_LIB_PATH) \
26045 $(NORMAL_TARGET_EXPORTS) \
26046 (cd $(TARGET_SUBDIR)/libtermcap && \
26047 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26049 @endif target-libtermcap
26051 # Other targets (info, dvi, etc.)
26053 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
26054 maybe-info-target-libtermcap:
26055 @if target-libtermcap
26056 maybe-info-target-libtermcap: info-target-libtermcap
26058 info-target-libtermcap: \
26059 configure-target-libtermcap
26060 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26061 r=`${PWD_COMMAND}`; export r; \
26062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26063 $(SET_LIB_PATH) \
26064 $(NORMAL_TARGET_EXPORTS) \
26065 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
26066 for flag in $(EXTRA_TARGET_FLAGS); do \
26067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26068 done; \
26069 (cd $(TARGET_SUBDIR)/libtermcap && \
26070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26072 "RANLIB=$${RANLIB}" \
26073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26074 info) \
26075 || exit 1
26077 @endif target-libtermcap
26079 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
26080 maybe-dvi-target-libtermcap:
26081 @if target-libtermcap
26082 maybe-dvi-target-libtermcap: dvi-target-libtermcap
26084 dvi-target-libtermcap: \
26085 configure-target-libtermcap
26086 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26087 r=`${PWD_COMMAND}`; export r; \
26088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26089 $(SET_LIB_PATH) \
26090 $(NORMAL_TARGET_EXPORTS) \
26091 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
26092 for flag in $(EXTRA_TARGET_FLAGS); do \
26093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26094 done; \
26095 (cd $(TARGET_SUBDIR)/libtermcap && \
26096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26098 "RANLIB=$${RANLIB}" \
26099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26100 dvi) \
26101 || exit 1
26103 @endif target-libtermcap
26105 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
26106 maybe-html-target-libtermcap:
26107 @if target-libtermcap
26108 maybe-html-target-libtermcap: html-target-libtermcap
26110 html-target-libtermcap: \
26111 configure-target-libtermcap
26112 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26113 r=`${PWD_COMMAND}`; export r; \
26114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26115 $(SET_LIB_PATH) \
26116 $(NORMAL_TARGET_EXPORTS) \
26117 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
26118 for flag in $(EXTRA_TARGET_FLAGS); do \
26119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26120 done; \
26121 (cd $(TARGET_SUBDIR)/libtermcap && \
26122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26124 "RANLIB=$${RANLIB}" \
26125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26126 html) \
26127 || exit 1
26129 @endif target-libtermcap
26131 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
26132 maybe-TAGS-target-libtermcap:
26133 @if target-libtermcap
26134 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
26136 TAGS-target-libtermcap: \
26137 configure-target-libtermcap
26138 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26139 r=`${PWD_COMMAND}`; export r; \
26140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26141 $(SET_LIB_PATH) \
26142 $(NORMAL_TARGET_EXPORTS) \
26143 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
26144 for flag in $(EXTRA_TARGET_FLAGS); do \
26145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26146 done; \
26147 (cd $(TARGET_SUBDIR)/libtermcap && \
26148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26150 "RANLIB=$${RANLIB}" \
26151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26152 TAGS) \
26153 || exit 1
26155 @endif target-libtermcap
26157 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
26158 maybe-install-info-target-libtermcap:
26159 @if target-libtermcap
26160 maybe-install-info-target-libtermcap: install-info-target-libtermcap
26162 install-info-target-libtermcap: \
26163 configure-target-libtermcap \
26164 info-target-libtermcap
26165 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26166 r=`${PWD_COMMAND}`; export r; \
26167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26168 $(SET_LIB_PATH) \
26169 $(NORMAL_TARGET_EXPORTS) \
26170 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
26171 for flag in $(EXTRA_TARGET_FLAGS); do \
26172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26173 done; \
26174 (cd $(TARGET_SUBDIR)/libtermcap && \
26175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26177 "RANLIB=$${RANLIB}" \
26178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26179 install-info) \
26180 || exit 1
26182 @endif target-libtermcap
26184 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
26185 maybe-installcheck-target-libtermcap:
26186 @if target-libtermcap
26187 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
26189 installcheck-target-libtermcap: \
26190 configure-target-libtermcap
26191 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26192 r=`${PWD_COMMAND}`; export r; \
26193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26194 $(SET_LIB_PATH) \
26195 $(NORMAL_TARGET_EXPORTS) \
26196 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
26197 for flag in $(EXTRA_TARGET_FLAGS); do \
26198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26199 done; \
26200 (cd $(TARGET_SUBDIR)/libtermcap && \
26201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26203 "RANLIB=$${RANLIB}" \
26204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26205 installcheck) \
26206 || exit 1
26208 @endif target-libtermcap
26210 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
26211 maybe-mostlyclean-target-libtermcap:
26212 @if target-libtermcap
26213 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
26215 # libtermcap doesn't support mostlyclean.
26216 mostlyclean-target-libtermcap:
26218 @endif target-libtermcap
26220 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
26221 maybe-clean-target-libtermcap:
26222 @if target-libtermcap
26223 maybe-clean-target-libtermcap: clean-target-libtermcap
26225 # libtermcap doesn't support clean.
26226 clean-target-libtermcap:
26228 @endif target-libtermcap
26230 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
26231 maybe-distclean-target-libtermcap:
26232 @if target-libtermcap
26233 maybe-distclean-target-libtermcap: distclean-target-libtermcap
26235 # libtermcap doesn't support distclean.
26236 distclean-target-libtermcap:
26238 @endif target-libtermcap
26240 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
26241 maybe-maintainer-clean-target-libtermcap:
26242 @if target-libtermcap
26243 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
26245 # libtermcap doesn't support maintainer-clean.
26246 maintainer-clean-target-libtermcap:
26248 @endif target-libtermcap
26251 .PHONY: configure-target-winsup maybe-configure-target-winsup
26252 maybe-configure-target-winsup:
26253 @if target-winsup
26254 maybe-configure-target-winsup: configure-target-winsup
26256 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26257 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
26258 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26259 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
26260 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
26262 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
26263 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
26264 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26265 r=`${PWD_COMMAND}`; export r; \
26266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26267 $(SET_LIB_PATH) \
26268 $(NORMAL_TARGET_EXPORTS) \
26269 echo Configuring in $(TARGET_SUBDIR)/winsup; \
26270 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
26271 case $(srcdir) in \
26272 /* | [A-Za-z]:[\\/]*) \
26273 topdir=$(srcdir) ;; \
26274 *) \
26275 case "$(TARGET_SUBDIR)" in \
26276 .) topdir="../$(srcdir)" ;; \
26277 *) topdir="../../$(srcdir)" ;; \
26278 esac ;; \
26279 esac; \
26280 srcdiroption="--srcdir=$${topdir}/winsup"; \
26281 libsrcdir="$$s/winsup"; \
26282 rm -f no-such-file || : ; \
26283 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26284 $(TARGET_CONFIGARGS) $${srcdiroption} \
26285 --with-target-subdir="$(TARGET_SUBDIR)" \
26286 || exit 1
26287 @endif target-winsup
26289 .PHONY: all-target-winsup maybe-all-target-winsup
26290 maybe-all-target-winsup:
26291 @if target-winsup
26292 TARGET-target-winsup=all
26293 maybe-all-target-winsup: all-target-winsup
26294 all-target-winsup: configure-target-winsup
26295 @r=`${PWD_COMMAND}`; export r; \
26296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26297 $(SET_LIB_PATH) \
26298 $(NORMAL_TARGET_EXPORTS) \
26299 (cd $(TARGET_SUBDIR)/winsup && \
26300 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
26301 @endif target-winsup
26303 .PHONY: check-target-winsup maybe-check-target-winsup
26304 maybe-check-target-winsup:
26305 @if target-winsup
26306 maybe-check-target-winsup: check-target-winsup
26308 check-target-winsup:
26309 @r=`${PWD_COMMAND}`; export r; \
26310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26311 $(SET_LIB_PATH) \
26312 $(NORMAL_TARGET_EXPORTS) \
26313 (cd $(TARGET_SUBDIR)/winsup && \
26314 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26316 @endif target-winsup
26318 .PHONY: install-target-winsup maybe-install-target-winsup
26319 maybe-install-target-winsup:
26320 @if target-winsup
26321 maybe-install-target-winsup: install-target-winsup
26323 install-target-winsup: installdirs
26324 @r=`${PWD_COMMAND}`; export r; \
26325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26326 $(SET_LIB_PATH) \
26327 $(NORMAL_TARGET_EXPORTS) \
26328 (cd $(TARGET_SUBDIR)/winsup && \
26329 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26331 @endif target-winsup
26333 # Other targets (info, dvi, etc.)
26335 .PHONY: maybe-info-target-winsup info-target-winsup
26336 maybe-info-target-winsup:
26337 @if target-winsup
26338 maybe-info-target-winsup: info-target-winsup
26340 info-target-winsup: \
26341 configure-target-winsup
26342 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26343 r=`${PWD_COMMAND}`; export r; \
26344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26345 $(SET_LIB_PATH) \
26346 $(NORMAL_TARGET_EXPORTS) \
26347 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
26348 for flag in $(EXTRA_TARGET_FLAGS); do \
26349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26350 done; \
26351 (cd $(TARGET_SUBDIR)/winsup && \
26352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26354 "RANLIB=$${RANLIB}" \
26355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26356 info) \
26357 || exit 1
26359 @endif target-winsup
26361 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
26362 maybe-dvi-target-winsup:
26363 @if target-winsup
26364 maybe-dvi-target-winsup: dvi-target-winsup
26366 dvi-target-winsup: \
26367 configure-target-winsup
26368 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26369 r=`${PWD_COMMAND}`; export r; \
26370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26371 $(SET_LIB_PATH) \
26372 $(NORMAL_TARGET_EXPORTS) \
26373 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
26374 for flag in $(EXTRA_TARGET_FLAGS); do \
26375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26376 done; \
26377 (cd $(TARGET_SUBDIR)/winsup && \
26378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26380 "RANLIB=$${RANLIB}" \
26381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26382 dvi) \
26383 || exit 1
26385 @endif target-winsup
26387 .PHONY: maybe-html-target-winsup html-target-winsup
26388 maybe-html-target-winsup:
26389 @if target-winsup
26390 maybe-html-target-winsup: html-target-winsup
26392 html-target-winsup: \
26393 configure-target-winsup
26394 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26395 r=`${PWD_COMMAND}`; export r; \
26396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26397 $(SET_LIB_PATH) \
26398 $(NORMAL_TARGET_EXPORTS) \
26399 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
26400 for flag in $(EXTRA_TARGET_FLAGS); do \
26401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26402 done; \
26403 (cd $(TARGET_SUBDIR)/winsup && \
26404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26406 "RANLIB=$${RANLIB}" \
26407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26408 html) \
26409 || exit 1
26411 @endif target-winsup
26413 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
26414 maybe-TAGS-target-winsup:
26415 @if target-winsup
26416 maybe-TAGS-target-winsup: TAGS-target-winsup
26418 TAGS-target-winsup: \
26419 configure-target-winsup
26420 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26421 r=`${PWD_COMMAND}`; export r; \
26422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26423 $(SET_LIB_PATH) \
26424 $(NORMAL_TARGET_EXPORTS) \
26425 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
26426 for flag in $(EXTRA_TARGET_FLAGS); do \
26427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26428 done; \
26429 (cd $(TARGET_SUBDIR)/winsup && \
26430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26432 "RANLIB=$${RANLIB}" \
26433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26434 TAGS) \
26435 || exit 1
26437 @endif target-winsup
26439 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
26440 maybe-install-info-target-winsup:
26441 @if target-winsup
26442 maybe-install-info-target-winsup: install-info-target-winsup
26444 install-info-target-winsup: \
26445 configure-target-winsup \
26446 info-target-winsup
26447 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26448 r=`${PWD_COMMAND}`; export r; \
26449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26450 $(SET_LIB_PATH) \
26451 $(NORMAL_TARGET_EXPORTS) \
26452 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
26453 for flag in $(EXTRA_TARGET_FLAGS); do \
26454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26455 done; \
26456 (cd $(TARGET_SUBDIR)/winsup && \
26457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26459 "RANLIB=$${RANLIB}" \
26460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26461 install-info) \
26462 || exit 1
26464 @endif target-winsup
26466 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
26467 maybe-installcheck-target-winsup:
26468 @if target-winsup
26469 maybe-installcheck-target-winsup: installcheck-target-winsup
26471 installcheck-target-winsup: \
26472 configure-target-winsup
26473 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26474 r=`${PWD_COMMAND}`; export r; \
26475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26476 $(SET_LIB_PATH) \
26477 $(NORMAL_TARGET_EXPORTS) \
26478 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
26479 for flag in $(EXTRA_TARGET_FLAGS); do \
26480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26481 done; \
26482 (cd $(TARGET_SUBDIR)/winsup && \
26483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26485 "RANLIB=$${RANLIB}" \
26486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26487 installcheck) \
26488 || exit 1
26490 @endif target-winsup
26492 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
26493 maybe-mostlyclean-target-winsup:
26494 @if target-winsup
26495 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
26497 mostlyclean-target-winsup:
26498 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26499 r=`${PWD_COMMAND}`; export r; \
26500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26501 $(SET_LIB_PATH) \
26502 $(NORMAL_TARGET_EXPORTS) \
26503 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
26504 for flag in $(EXTRA_TARGET_FLAGS); do \
26505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26506 done; \
26507 (cd $(TARGET_SUBDIR)/winsup && \
26508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26510 "RANLIB=$${RANLIB}" \
26511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26512 mostlyclean) \
26513 || exit 1
26515 @endif target-winsup
26517 .PHONY: maybe-clean-target-winsup clean-target-winsup
26518 maybe-clean-target-winsup:
26519 @if target-winsup
26520 maybe-clean-target-winsup: clean-target-winsup
26522 clean-target-winsup:
26523 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26524 r=`${PWD_COMMAND}`; export r; \
26525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26526 $(SET_LIB_PATH) \
26527 $(NORMAL_TARGET_EXPORTS) \
26528 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
26529 for flag in $(EXTRA_TARGET_FLAGS); do \
26530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26531 done; \
26532 (cd $(TARGET_SUBDIR)/winsup && \
26533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26535 "RANLIB=$${RANLIB}" \
26536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26537 clean) \
26538 || exit 1
26540 @endif target-winsup
26542 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
26543 maybe-distclean-target-winsup:
26544 @if target-winsup
26545 maybe-distclean-target-winsup: distclean-target-winsup
26547 distclean-target-winsup:
26548 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26549 r=`${PWD_COMMAND}`; export r; \
26550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26551 $(SET_LIB_PATH) \
26552 $(NORMAL_TARGET_EXPORTS) \
26553 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
26554 for flag in $(EXTRA_TARGET_FLAGS); do \
26555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26556 done; \
26557 (cd $(TARGET_SUBDIR)/winsup && \
26558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26560 "RANLIB=$${RANLIB}" \
26561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26562 distclean) \
26563 || exit 1
26565 @endif target-winsup
26567 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
26568 maybe-maintainer-clean-target-winsup:
26569 @if target-winsup
26570 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
26572 maintainer-clean-target-winsup:
26573 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26574 r=`${PWD_COMMAND}`; export r; \
26575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26576 $(SET_LIB_PATH) \
26577 $(NORMAL_TARGET_EXPORTS) \
26578 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
26579 for flag in $(EXTRA_TARGET_FLAGS); do \
26580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26581 done; \
26582 (cd $(TARGET_SUBDIR)/winsup && \
26583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26585 "RANLIB=$${RANLIB}" \
26586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26587 maintainer-clean) \
26588 || exit 1
26590 @endif target-winsup
26593 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
26594 maybe-configure-target-libgloss:
26595 @if target-libgloss
26596 maybe-configure-target-libgloss: configure-target-libgloss
26598 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26599 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
26600 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26601 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
26602 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
26604 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
26605 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
26606 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26607 r=`${PWD_COMMAND}`; export r; \
26608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26609 $(SET_LIB_PATH) \
26610 $(NORMAL_TARGET_EXPORTS) \
26611 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
26612 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
26613 case $(srcdir) in \
26614 /* | [A-Za-z]:[\\/]*) \
26615 topdir=$(srcdir) ;; \
26616 *) \
26617 case "$(TARGET_SUBDIR)" in \
26618 .) topdir="../$(srcdir)" ;; \
26619 *) topdir="../../$(srcdir)" ;; \
26620 esac ;; \
26621 esac; \
26622 srcdiroption="--srcdir=$${topdir}/libgloss"; \
26623 libsrcdir="$$s/libgloss"; \
26624 rm -f no-such-file || : ; \
26625 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26626 $(TARGET_CONFIGARGS) $${srcdiroption} \
26627 --with-target-subdir="$(TARGET_SUBDIR)" \
26628 || exit 1
26629 @endif target-libgloss
26631 .PHONY: all-target-libgloss maybe-all-target-libgloss
26632 maybe-all-target-libgloss:
26633 @if target-libgloss
26634 TARGET-target-libgloss=all
26635 maybe-all-target-libgloss: all-target-libgloss
26636 all-target-libgloss: configure-target-libgloss
26637 @r=`${PWD_COMMAND}`; export r; \
26638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26639 $(SET_LIB_PATH) \
26640 $(NORMAL_TARGET_EXPORTS) \
26641 (cd $(TARGET_SUBDIR)/libgloss && \
26642 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
26643 @endif target-libgloss
26645 .PHONY: check-target-libgloss maybe-check-target-libgloss
26646 maybe-check-target-libgloss:
26647 @if target-libgloss
26648 maybe-check-target-libgloss: check-target-libgloss
26650 # Dummy target for uncheckable module.
26651 check-target-libgloss:
26653 @endif target-libgloss
26655 .PHONY: install-target-libgloss maybe-install-target-libgloss
26656 maybe-install-target-libgloss:
26657 @if target-libgloss
26658 maybe-install-target-libgloss: install-target-libgloss
26660 install-target-libgloss: installdirs
26661 @r=`${PWD_COMMAND}`; export r; \
26662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26663 $(SET_LIB_PATH) \
26664 $(NORMAL_TARGET_EXPORTS) \
26665 (cd $(TARGET_SUBDIR)/libgloss && \
26666 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26668 @endif target-libgloss
26670 # Other targets (info, dvi, etc.)
26672 .PHONY: maybe-info-target-libgloss info-target-libgloss
26673 maybe-info-target-libgloss:
26674 @if target-libgloss
26675 maybe-info-target-libgloss: info-target-libgloss
26677 info-target-libgloss: \
26678 configure-target-libgloss
26679 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26680 r=`${PWD_COMMAND}`; export r; \
26681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26682 $(SET_LIB_PATH) \
26683 $(NORMAL_TARGET_EXPORTS) \
26684 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
26685 for flag in $(EXTRA_TARGET_FLAGS); do \
26686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26687 done; \
26688 (cd $(TARGET_SUBDIR)/libgloss && \
26689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26691 "RANLIB=$${RANLIB}" \
26692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26693 info) \
26694 || exit 1
26696 @endif target-libgloss
26698 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
26699 maybe-dvi-target-libgloss:
26700 @if target-libgloss
26701 maybe-dvi-target-libgloss: dvi-target-libgloss
26703 dvi-target-libgloss: \
26704 configure-target-libgloss
26705 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26706 r=`${PWD_COMMAND}`; export r; \
26707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26708 $(SET_LIB_PATH) \
26709 $(NORMAL_TARGET_EXPORTS) \
26710 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
26711 for flag in $(EXTRA_TARGET_FLAGS); do \
26712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26713 done; \
26714 (cd $(TARGET_SUBDIR)/libgloss && \
26715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26717 "RANLIB=$${RANLIB}" \
26718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26719 dvi) \
26720 || exit 1
26722 @endif target-libgloss
26724 .PHONY: maybe-html-target-libgloss html-target-libgloss
26725 maybe-html-target-libgloss:
26726 @if target-libgloss
26727 maybe-html-target-libgloss: html-target-libgloss
26729 html-target-libgloss: \
26730 configure-target-libgloss
26731 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26732 r=`${PWD_COMMAND}`; export r; \
26733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26734 $(SET_LIB_PATH) \
26735 $(NORMAL_TARGET_EXPORTS) \
26736 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
26737 for flag in $(EXTRA_TARGET_FLAGS); do \
26738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26739 done; \
26740 (cd $(TARGET_SUBDIR)/libgloss && \
26741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26743 "RANLIB=$${RANLIB}" \
26744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26745 html) \
26746 || exit 1
26748 @endif target-libgloss
26750 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
26751 maybe-TAGS-target-libgloss:
26752 @if target-libgloss
26753 maybe-TAGS-target-libgloss: TAGS-target-libgloss
26755 TAGS-target-libgloss: \
26756 configure-target-libgloss
26757 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26758 r=`${PWD_COMMAND}`; export r; \
26759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26760 $(SET_LIB_PATH) \
26761 $(NORMAL_TARGET_EXPORTS) \
26762 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
26763 for flag in $(EXTRA_TARGET_FLAGS); do \
26764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26765 done; \
26766 (cd $(TARGET_SUBDIR)/libgloss && \
26767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26769 "RANLIB=$${RANLIB}" \
26770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26771 TAGS) \
26772 || exit 1
26774 @endif target-libgloss
26776 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
26777 maybe-install-info-target-libgloss:
26778 @if target-libgloss
26779 maybe-install-info-target-libgloss: install-info-target-libgloss
26781 install-info-target-libgloss: \
26782 configure-target-libgloss \
26783 info-target-libgloss
26784 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26785 r=`${PWD_COMMAND}`; export r; \
26786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26787 $(SET_LIB_PATH) \
26788 $(NORMAL_TARGET_EXPORTS) \
26789 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
26790 for flag in $(EXTRA_TARGET_FLAGS); do \
26791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26792 done; \
26793 (cd $(TARGET_SUBDIR)/libgloss && \
26794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26796 "RANLIB=$${RANLIB}" \
26797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26798 install-info) \
26799 || exit 1
26801 @endif target-libgloss
26803 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
26804 maybe-installcheck-target-libgloss:
26805 @if target-libgloss
26806 maybe-installcheck-target-libgloss: installcheck-target-libgloss
26808 installcheck-target-libgloss: \
26809 configure-target-libgloss
26810 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26811 r=`${PWD_COMMAND}`; export r; \
26812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26813 $(SET_LIB_PATH) \
26814 $(NORMAL_TARGET_EXPORTS) \
26815 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
26816 for flag in $(EXTRA_TARGET_FLAGS); do \
26817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26818 done; \
26819 (cd $(TARGET_SUBDIR)/libgloss && \
26820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26822 "RANLIB=$${RANLIB}" \
26823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26824 installcheck) \
26825 || exit 1
26827 @endif target-libgloss
26829 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
26830 maybe-mostlyclean-target-libgloss:
26831 @if target-libgloss
26832 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
26834 mostlyclean-target-libgloss:
26835 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26836 r=`${PWD_COMMAND}`; export r; \
26837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26838 $(SET_LIB_PATH) \
26839 $(NORMAL_TARGET_EXPORTS) \
26840 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
26841 for flag in $(EXTRA_TARGET_FLAGS); do \
26842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26843 done; \
26844 (cd $(TARGET_SUBDIR)/libgloss && \
26845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26847 "RANLIB=$${RANLIB}" \
26848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26849 mostlyclean) \
26850 || exit 1
26852 @endif target-libgloss
26854 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
26855 maybe-clean-target-libgloss:
26856 @if target-libgloss
26857 maybe-clean-target-libgloss: clean-target-libgloss
26859 clean-target-libgloss:
26860 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26861 r=`${PWD_COMMAND}`; export r; \
26862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26863 $(SET_LIB_PATH) \
26864 $(NORMAL_TARGET_EXPORTS) \
26865 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
26866 for flag in $(EXTRA_TARGET_FLAGS); do \
26867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26868 done; \
26869 (cd $(TARGET_SUBDIR)/libgloss && \
26870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26872 "RANLIB=$${RANLIB}" \
26873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26874 clean) \
26875 || exit 1
26877 @endif target-libgloss
26879 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
26880 maybe-distclean-target-libgloss:
26881 @if target-libgloss
26882 maybe-distclean-target-libgloss: distclean-target-libgloss
26884 distclean-target-libgloss:
26885 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26886 r=`${PWD_COMMAND}`; export r; \
26887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26888 $(SET_LIB_PATH) \
26889 $(NORMAL_TARGET_EXPORTS) \
26890 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
26891 for flag in $(EXTRA_TARGET_FLAGS); do \
26892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26893 done; \
26894 (cd $(TARGET_SUBDIR)/libgloss && \
26895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26897 "RANLIB=$${RANLIB}" \
26898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26899 distclean) \
26900 || exit 1
26902 @endif target-libgloss
26904 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
26905 maybe-maintainer-clean-target-libgloss:
26906 @if target-libgloss
26907 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
26909 maintainer-clean-target-libgloss:
26910 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26911 r=`${PWD_COMMAND}`; export r; \
26912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26913 $(SET_LIB_PATH) \
26914 $(NORMAL_TARGET_EXPORTS) \
26915 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
26916 for flag in $(EXTRA_TARGET_FLAGS); do \
26917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26918 done; \
26919 (cd $(TARGET_SUBDIR)/libgloss && \
26920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26922 "RANLIB=$${RANLIB}" \
26923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26924 maintainer-clean) \
26925 || exit 1
26927 @endif target-libgloss
26930 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
26931 maybe-configure-target-libiberty:
26932 @if target-libiberty
26933 maybe-configure-target-libiberty: configure-target-libiberty
26935 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26936 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
26937 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26938 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
26939 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
26941 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
26942 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
26943 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26944 r=`${PWD_COMMAND}`; export r; \
26945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26946 $(SET_LIB_PATH) \
26947 $(NORMAL_TARGET_EXPORTS) \
26948 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
26949 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
26950 case $(srcdir) in \
26951 /* | [A-Za-z]:[\\/]*) \
26952 topdir=$(srcdir) ;; \
26953 *) \
26954 case "$(TARGET_SUBDIR)" in \
26955 .) topdir="../$(srcdir)" ;; \
26956 *) topdir="../../$(srcdir)" ;; \
26957 esac ;; \
26958 esac; \
26959 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26960 libsrcdir="$$s/libiberty"; \
26961 rm -f no-such-file || : ; \
26962 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26963 $(TARGET_CONFIGARGS) $${srcdiroption} \
26964 --with-target-subdir="$(TARGET_SUBDIR)" \
26965 || exit 1
26966 @endif target-libiberty
26968 .PHONY: all-target-libiberty maybe-all-target-libiberty
26969 maybe-all-target-libiberty:
26970 @if target-libiberty
26971 TARGET-target-libiberty=all
26972 maybe-all-target-libiberty: all-target-libiberty
26973 all-target-libiberty: configure-target-libiberty
26974 @r=`${PWD_COMMAND}`; export r; \
26975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26976 $(SET_LIB_PATH) \
26977 $(NORMAL_TARGET_EXPORTS) \
26978 (cd $(TARGET_SUBDIR)/libiberty && \
26979 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
26980 @endif target-libiberty
26982 .PHONY: check-target-libiberty maybe-check-target-libiberty
26983 maybe-check-target-libiberty:
26984 @if target-libiberty
26985 maybe-check-target-libiberty: check-target-libiberty
26987 check-target-libiberty:
26988 @r=`${PWD_COMMAND}`; export r; \
26989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26990 $(SET_LIB_PATH) \
26991 $(NORMAL_TARGET_EXPORTS) \
26992 (cd $(TARGET_SUBDIR)/libiberty && \
26993 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26995 @endif target-libiberty
26997 .PHONY: install-target-libiberty maybe-install-target-libiberty
26998 maybe-install-target-libiberty:
26999 @if target-libiberty
27000 maybe-install-target-libiberty: install-target-libiberty
27002 install-target-libiberty: installdirs
27003 @r=`${PWD_COMMAND}`; export r; \
27004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27005 $(SET_LIB_PATH) \
27006 $(NORMAL_TARGET_EXPORTS) \
27007 (cd $(TARGET_SUBDIR)/libiberty && \
27008 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27010 @endif target-libiberty
27012 # Other targets (info, dvi, etc.)
27014 .PHONY: maybe-info-target-libiberty info-target-libiberty
27015 maybe-info-target-libiberty:
27016 @if target-libiberty
27017 maybe-info-target-libiberty: info-target-libiberty
27019 info-target-libiberty: \
27020 configure-target-libiberty
27021 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27022 r=`${PWD_COMMAND}`; export r; \
27023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27024 $(SET_LIB_PATH) \
27025 $(NORMAL_TARGET_EXPORTS) \
27026 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
27027 for flag in $(EXTRA_TARGET_FLAGS); do \
27028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27029 done; \
27030 (cd $(TARGET_SUBDIR)/libiberty && \
27031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27033 "RANLIB=$${RANLIB}" \
27034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27035 info) \
27036 || exit 1
27038 @endif target-libiberty
27040 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
27041 maybe-dvi-target-libiberty:
27042 @if target-libiberty
27043 maybe-dvi-target-libiberty: dvi-target-libiberty
27045 dvi-target-libiberty: \
27046 configure-target-libiberty
27047 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27048 r=`${PWD_COMMAND}`; export r; \
27049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27050 $(SET_LIB_PATH) \
27051 $(NORMAL_TARGET_EXPORTS) \
27052 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
27053 for flag in $(EXTRA_TARGET_FLAGS); do \
27054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27055 done; \
27056 (cd $(TARGET_SUBDIR)/libiberty && \
27057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27059 "RANLIB=$${RANLIB}" \
27060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27061 dvi) \
27062 || exit 1
27064 @endif target-libiberty
27066 .PHONY: maybe-html-target-libiberty html-target-libiberty
27067 maybe-html-target-libiberty:
27068 @if target-libiberty
27069 maybe-html-target-libiberty: html-target-libiberty
27071 html-target-libiberty: \
27072 configure-target-libiberty
27073 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27074 r=`${PWD_COMMAND}`; export r; \
27075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27076 $(SET_LIB_PATH) \
27077 $(NORMAL_TARGET_EXPORTS) \
27078 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
27079 for flag in $(EXTRA_TARGET_FLAGS); do \
27080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27081 done; \
27082 (cd $(TARGET_SUBDIR)/libiberty && \
27083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27085 "RANLIB=$${RANLIB}" \
27086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27087 html) \
27088 || exit 1
27090 @endif target-libiberty
27092 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
27093 maybe-TAGS-target-libiberty:
27094 @if target-libiberty
27095 maybe-TAGS-target-libiberty: TAGS-target-libiberty
27097 TAGS-target-libiberty: \
27098 configure-target-libiberty
27099 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27100 r=`${PWD_COMMAND}`; export r; \
27101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27102 $(SET_LIB_PATH) \
27103 $(NORMAL_TARGET_EXPORTS) \
27104 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
27105 for flag in $(EXTRA_TARGET_FLAGS); do \
27106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27107 done; \
27108 (cd $(TARGET_SUBDIR)/libiberty && \
27109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27111 "RANLIB=$${RANLIB}" \
27112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27113 TAGS) \
27114 || exit 1
27116 @endif target-libiberty
27118 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
27119 maybe-install-info-target-libiberty:
27120 @if target-libiberty
27121 maybe-install-info-target-libiberty: install-info-target-libiberty
27123 install-info-target-libiberty: \
27124 configure-target-libiberty \
27125 info-target-libiberty
27126 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27127 r=`${PWD_COMMAND}`; export r; \
27128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27129 $(SET_LIB_PATH) \
27130 $(NORMAL_TARGET_EXPORTS) \
27131 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
27132 for flag in $(EXTRA_TARGET_FLAGS); do \
27133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27134 done; \
27135 (cd $(TARGET_SUBDIR)/libiberty && \
27136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27138 "RANLIB=$${RANLIB}" \
27139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27140 install-info) \
27141 || exit 1
27143 @endif target-libiberty
27145 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
27146 maybe-installcheck-target-libiberty:
27147 @if target-libiberty
27148 maybe-installcheck-target-libiberty: installcheck-target-libiberty
27150 installcheck-target-libiberty: \
27151 configure-target-libiberty
27152 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27153 r=`${PWD_COMMAND}`; export r; \
27154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27155 $(SET_LIB_PATH) \
27156 $(NORMAL_TARGET_EXPORTS) \
27157 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
27158 for flag in $(EXTRA_TARGET_FLAGS); do \
27159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27160 done; \
27161 (cd $(TARGET_SUBDIR)/libiberty && \
27162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27164 "RANLIB=$${RANLIB}" \
27165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27166 installcheck) \
27167 || exit 1
27169 @endif target-libiberty
27171 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
27172 maybe-mostlyclean-target-libiberty:
27173 @if target-libiberty
27174 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
27176 mostlyclean-target-libiberty:
27177 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27178 r=`${PWD_COMMAND}`; export r; \
27179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27180 $(SET_LIB_PATH) \
27181 $(NORMAL_TARGET_EXPORTS) \
27182 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
27183 for flag in $(EXTRA_TARGET_FLAGS); do \
27184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27185 done; \
27186 (cd $(TARGET_SUBDIR)/libiberty && \
27187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27189 "RANLIB=$${RANLIB}" \
27190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27191 mostlyclean) \
27192 || exit 1
27194 @endif target-libiberty
27196 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
27197 maybe-clean-target-libiberty:
27198 @if target-libiberty
27199 maybe-clean-target-libiberty: clean-target-libiberty
27201 clean-target-libiberty:
27202 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27203 r=`${PWD_COMMAND}`; export r; \
27204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27205 $(SET_LIB_PATH) \
27206 $(NORMAL_TARGET_EXPORTS) \
27207 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
27208 for flag in $(EXTRA_TARGET_FLAGS); do \
27209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27210 done; \
27211 (cd $(TARGET_SUBDIR)/libiberty && \
27212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27214 "RANLIB=$${RANLIB}" \
27215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27216 clean) \
27217 || exit 1
27219 @endif target-libiberty
27221 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
27222 maybe-distclean-target-libiberty:
27223 @if target-libiberty
27224 maybe-distclean-target-libiberty: distclean-target-libiberty
27226 distclean-target-libiberty:
27227 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27228 r=`${PWD_COMMAND}`; export r; \
27229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27230 $(SET_LIB_PATH) \
27231 $(NORMAL_TARGET_EXPORTS) \
27232 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
27233 for flag in $(EXTRA_TARGET_FLAGS); do \
27234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27235 done; \
27236 (cd $(TARGET_SUBDIR)/libiberty && \
27237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27239 "RANLIB=$${RANLIB}" \
27240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27241 distclean) \
27242 || exit 1
27244 @endif target-libiberty
27246 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
27247 maybe-maintainer-clean-target-libiberty:
27248 @if target-libiberty
27249 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
27251 maintainer-clean-target-libiberty:
27252 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27253 r=`${PWD_COMMAND}`; export r; \
27254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27255 $(SET_LIB_PATH) \
27256 $(NORMAL_TARGET_EXPORTS) \
27257 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
27258 for flag in $(EXTRA_TARGET_FLAGS); do \
27259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27260 done; \
27261 (cd $(TARGET_SUBDIR)/libiberty && \
27262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27264 "RANLIB=$${RANLIB}" \
27265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27266 maintainer-clean) \
27267 || exit 1
27269 @endif target-libiberty
27272 .PHONY: configure-target-gperf maybe-configure-target-gperf
27273 maybe-configure-target-gperf:
27274 @if target-gperf
27275 maybe-configure-target-gperf: configure-target-gperf
27277 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27278 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
27279 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27280 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
27281 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
27283 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
27284 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
27285 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27286 r=`${PWD_COMMAND}`; export r; \
27287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27288 $(SET_LIB_PATH) \
27289 $(NORMAL_TARGET_EXPORTS) \
27290 echo Configuring in $(TARGET_SUBDIR)/gperf; \
27291 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
27292 case $(srcdir) in \
27293 /* | [A-Za-z]:[\\/]*) \
27294 topdir=$(srcdir) ;; \
27295 *) \
27296 case "$(TARGET_SUBDIR)" in \
27297 .) topdir="../$(srcdir)" ;; \
27298 *) topdir="../../$(srcdir)" ;; \
27299 esac ;; \
27300 esac; \
27301 srcdiroption="--srcdir=$${topdir}/gperf"; \
27302 libsrcdir="$$s/gperf"; \
27303 rm -f no-such-file || : ; \
27304 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27305 $(TARGET_CONFIGARGS) $${srcdiroption} \
27306 --with-target-subdir="$(TARGET_SUBDIR)" \
27307 || exit 1
27308 @endif target-gperf
27310 .PHONY: all-target-gperf maybe-all-target-gperf
27311 maybe-all-target-gperf:
27312 @if target-gperf
27313 TARGET-target-gperf=all
27314 maybe-all-target-gperf: all-target-gperf
27315 all-target-gperf: configure-target-gperf
27316 @r=`${PWD_COMMAND}`; export r; \
27317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27318 $(SET_LIB_PATH) \
27319 $(NORMAL_TARGET_EXPORTS) \
27320 (cd $(TARGET_SUBDIR)/gperf && \
27321 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
27322 @endif target-gperf
27324 .PHONY: check-target-gperf maybe-check-target-gperf
27325 maybe-check-target-gperf:
27326 @if target-gperf
27327 maybe-check-target-gperf: check-target-gperf
27329 check-target-gperf:
27330 @r=`${PWD_COMMAND}`; export r; \
27331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27332 $(SET_LIB_PATH) \
27333 $(NORMAL_TARGET_EXPORTS) \
27334 (cd $(TARGET_SUBDIR)/gperf && \
27335 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27337 @endif target-gperf
27339 .PHONY: install-target-gperf maybe-install-target-gperf
27340 maybe-install-target-gperf:
27341 @if target-gperf
27342 maybe-install-target-gperf: install-target-gperf
27344 install-target-gperf: installdirs
27345 @r=`${PWD_COMMAND}`; export r; \
27346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27347 $(SET_LIB_PATH) \
27348 $(NORMAL_TARGET_EXPORTS) \
27349 (cd $(TARGET_SUBDIR)/gperf && \
27350 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27352 @endif target-gperf
27354 # Other targets (info, dvi, etc.)
27356 .PHONY: maybe-info-target-gperf info-target-gperf
27357 maybe-info-target-gperf:
27358 @if target-gperf
27359 maybe-info-target-gperf: info-target-gperf
27361 info-target-gperf: \
27362 configure-target-gperf
27363 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27364 r=`${PWD_COMMAND}`; export r; \
27365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27366 $(SET_LIB_PATH) \
27367 $(NORMAL_TARGET_EXPORTS) \
27368 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
27369 for flag in $(EXTRA_TARGET_FLAGS); do \
27370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27371 done; \
27372 (cd $(TARGET_SUBDIR)/gperf && \
27373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27375 "RANLIB=$${RANLIB}" \
27376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27377 info) \
27378 || exit 1
27380 @endif target-gperf
27382 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
27383 maybe-dvi-target-gperf:
27384 @if target-gperf
27385 maybe-dvi-target-gperf: dvi-target-gperf
27387 dvi-target-gperf: \
27388 configure-target-gperf
27389 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27390 r=`${PWD_COMMAND}`; export r; \
27391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27392 $(SET_LIB_PATH) \
27393 $(NORMAL_TARGET_EXPORTS) \
27394 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
27395 for flag in $(EXTRA_TARGET_FLAGS); do \
27396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27397 done; \
27398 (cd $(TARGET_SUBDIR)/gperf && \
27399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27401 "RANLIB=$${RANLIB}" \
27402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27403 dvi) \
27404 || exit 1
27406 @endif target-gperf
27408 .PHONY: maybe-html-target-gperf html-target-gperf
27409 maybe-html-target-gperf:
27410 @if target-gperf
27411 maybe-html-target-gperf: html-target-gperf
27413 html-target-gperf: \
27414 configure-target-gperf
27415 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27416 r=`${PWD_COMMAND}`; export r; \
27417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27418 $(SET_LIB_PATH) \
27419 $(NORMAL_TARGET_EXPORTS) \
27420 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
27421 for flag in $(EXTRA_TARGET_FLAGS); do \
27422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27423 done; \
27424 (cd $(TARGET_SUBDIR)/gperf && \
27425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27427 "RANLIB=$${RANLIB}" \
27428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27429 html) \
27430 || exit 1
27432 @endif target-gperf
27434 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
27435 maybe-TAGS-target-gperf:
27436 @if target-gperf
27437 maybe-TAGS-target-gperf: TAGS-target-gperf
27439 TAGS-target-gperf: \
27440 configure-target-gperf
27441 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27442 r=`${PWD_COMMAND}`; export r; \
27443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27444 $(SET_LIB_PATH) \
27445 $(NORMAL_TARGET_EXPORTS) \
27446 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
27447 for flag in $(EXTRA_TARGET_FLAGS); do \
27448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27449 done; \
27450 (cd $(TARGET_SUBDIR)/gperf && \
27451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27453 "RANLIB=$${RANLIB}" \
27454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27455 TAGS) \
27456 || exit 1
27458 @endif target-gperf
27460 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
27461 maybe-install-info-target-gperf:
27462 @if target-gperf
27463 maybe-install-info-target-gperf: install-info-target-gperf
27465 install-info-target-gperf: \
27466 configure-target-gperf \
27467 info-target-gperf
27468 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27469 r=`${PWD_COMMAND}`; export r; \
27470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27471 $(SET_LIB_PATH) \
27472 $(NORMAL_TARGET_EXPORTS) \
27473 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
27474 for flag in $(EXTRA_TARGET_FLAGS); do \
27475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27476 done; \
27477 (cd $(TARGET_SUBDIR)/gperf && \
27478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27480 "RANLIB=$${RANLIB}" \
27481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27482 install-info) \
27483 || exit 1
27485 @endif target-gperf
27487 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
27488 maybe-installcheck-target-gperf:
27489 @if target-gperf
27490 maybe-installcheck-target-gperf: installcheck-target-gperf
27492 installcheck-target-gperf: \
27493 configure-target-gperf
27494 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27495 r=`${PWD_COMMAND}`; export r; \
27496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27497 $(SET_LIB_PATH) \
27498 $(NORMAL_TARGET_EXPORTS) \
27499 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
27500 for flag in $(EXTRA_TARGET_FLAGS); do \
27501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27502 done; \
27503 (cd $(TARGET_SUBDIR)/gperf && \
27504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27506 "RANLIB=$${RANLIB}" \
27507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27508 installcheck) \
27509 || exit 1
27511 @endif target-gperf
27513 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
27514 maybe-mostlyclean-target-gperf:
27515 @if target-gperf
27516 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
27518 mostlyclean-target-gperf:
27519 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27520 r=`${PWD_COMMAND}`; export r; \
27521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27522 $(SET_LIB_PATH) \
27523 $(NORMAL_TARGET_EXPORTS) \
27524 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
27525 for flag in $(EXTRA_TARGET_FLAGS); do \
27526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27527 done; \
27528 (cd $(TARGET_SUBDIR)/gperf && \
27529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27531 "RANLIB=$${RANLIB}" \
27532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27533 mostlyclean) \
27534 || exit 1
27536 @endif target-gperf
27538 .PHONY: maybe-clean-target-gperf clean-target-gperf
27539 maybe-clean-target-gperf:
27540 @if target-gperf
27541 maybe-clean-target-gperf: clean-target-gperf
27543 clean-target-gperf:
27544 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27545 r=`${PWD_COMMAND}`; export r; \
27546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27547 $(SET_LIB_PATH) \
27548 $(NORMAL_TARGET_EXPORTS) \
27549 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
27550 for flag in $(EXTRA_TARGET_FLAGS); do \
27551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27552 done; \
27553 (cd $(TARGET_SUBDIR)/gperf && \
27554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27556 "RANLIB=$${RANLIB}" \
27557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27558 clean) \
27559 || exit 1
27561 @endif target-gperf
27563 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
27564 maybe-distclean-target-gperf:
27565 @if target-gperf
27566 maybe-distclean-target-gperf: distclean-target-gperf
27568 distclean-target-gperf:
27569 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27570 r=`${PWD_COMMAND}`; export r; \
27571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27572 $(SET_LIB_PATH) \
27573 $(NORMAL_TARGET_EXPORTS) \
27574 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
27575 for flag in $(EXTRA_TARGET_FLAGS); do \
27576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27577 done; \
27578 (cd $(TARGET_SUBDIR)/gperf && \
27579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27581 "RANLIB=$${RANLIB}" \
27582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27583 distclean) \
27584 || exit 1
27586 @endif target-gperf
27588 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
27589 maybe-maintainer-clean-target-gperf:
27590 @if target-gperf
27591 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
27593 maintainer-clean-target-gperf:
27594 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27595 r=`${PWD_COMMAND}`; export r; \
27596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27597 $(SET_LIB_PATH) \
27598 $(NORMAL_TARGET_EXPORTS) \
27599 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
27600 for flag in $(EXTRA_TARGET_FLAGS); do \
27601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27602 done; \
27603 (cd $(TARGET_SUBDIR)/gperf && \
27604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27606 "RANLIB=$${RANLIB}" \
27607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27608 maintainer-clean) \
27609 || exit 1
27611 @endif target-gperf
27614 .PHONY: configure-target-examples maybe-configure-target-examples
27615 maybe-configure-target-examples:
27616 @if target-examples
27617 maybe-configure-target-examples: configure-target-examples
27619 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27620 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
27621 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27622 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
27623 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
27625 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
27626 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
27627 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27628 r=`${PWD_COMMAND}`; export r; \
27629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27630 $(SET_LIB_PATH) \
27631 $(NORMAL_TARGET_EXPORTS) \
27632 echo Configuring in $(TARGET_SUBDIR)/examples; \
27633 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
27634 case $(srcdir) in \
27635 /* | [A-Za-z]:[\\/]*) \
27636 topdir=$(srcdir) ;; \
27637 *) \
27638 case "$(TARGET_SUBDIR)" in \
27639 .) topdir="../$(srcdir)" ;; \
27640 *) topdir="../../$(srcdir)" ;; \
27641 esac ;; \
27642 esac; \
27643 srcdiroption="--srcdir=$${topdir}/examples"; \
27644 libsrcdir="$$s/examples"; \
27645 rm -f no-such-file || : ; \
27646 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27647 $(TARGET_CONFIGARGS) $${srcdiroption} \
27648 --with-target-subdir="$(TARGET_SUBDIR)" \
27649 || exit 1
27650 @endif target-examples
27652 .PHONY: all-target-examples maybe-all-target-examples
27653 maybe-all-target-examples:
27654 @if target-examples
27655 TARGET-target-examples=all
27656 maybe-all-target-examples: all-target-examples
27657 all-target-examples: configure-target-examples
27658 @r=`${PWD_COMMAND}`; export r; \
27659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27660 $(SET_LIB_PATH) \
27661 $(NORMAL_TARGET_EXPORTS) \
27662 (cd $(TARGET_SUBDIR)/examples && \
27663 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
27664 @endif target-examples
27666 .PHONY: check-target-examples maybe-check-target-examples
27667 maybe-check-target-examples:
27668 @if target-examples
27669 maybe-check-target-examples: check-target-examples
27671 # Dummy target for uncheckable module.
27672 check-target-examples:
27674 @endif target-examples
27676 .PHONY: install-target-examples maybe-install-target-examples
27677 maybe-install-target-examples:
27678 @if target-examples
27679 maybe-install-target-examples: install-target-examples
27681 # Dummy target for uninstallable.
27682 install-target-examples:
27684 @endif target-examples
27686 # Other targets (info, dvi, etc.)
27688 .PHONY: maybe-info-target-examples info-target-examples
27689 maybe-info-target-examples:
27690 @if target-examples
27691 maybe-info-target-examples: info-target-examples
27693 info-target-examples: \
27694 configure-target-examples
27695 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27696 r=`${PWD_COMMAND}`; export r; \
27697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27698 $(SET_LIB_PATH) \
27699 $(NORMAL_TARGET_EXPORTS) \
27700 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
27701 for flag in $(EXTRA_TARGET_FLAGS); do \
27702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27703 done; \
27704 (cd $(TARGET_SUBDIR)/examples && \
27705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27707 "RANLIB=$${RANLIB}" \
27708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27709 info) \
27710 || exit 1
27712 @endif target-examples
27714 .PHONY: maybe-dvi-target-examples dvi-target-examples
27715 maybe-dvi-target-examples:
27716 @if target-examples
27717 maybe-dvi-target-examples: dvi-target-examples
27719 dvi-target-examples: \
27720 configure-target-examples
27721 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27722 r=`${PWD_COMMAND}`; export r; \
27723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27724 $(SET_LIB_PATH) \
27725 $(NORMAL_TARGET_EXPORTS) \
27726 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
27727 for flag in $(EXTRA_TARGET_FLAGS); do \
27728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27729 done; \
27730 (cd $(TARGET_SUBDIR)/examples && \
27731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27733 "RANLIB=$${RANLIB}" \
27734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27735 dvi) \
27736 || exit 1
27738 @endif target-examples
27740 .PHONY: maybe-html-target-examples html-target-examples
27741 maybe-html-target-examples:
27742 @if target-examples
27743 maybe-html-target-examples: html-target-examples
27745 html-target-examples: \
27746 configure-target-examples
27747 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27748 r=`${PWD_COMMAND}`; export r; \
27749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27750 $(SET_LIB_PATH) \
27751 $(NORMAL_TARGET_EXPORTS) \
27752 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
27753 for flag in $(EXTRA_TARGET_FLAGS); do \
27754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27755 done; \
27756 (cd $(TARGET_SUBDIR)/examples && \
27757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27759 "RANLIB=$${RANLIB}" \
27760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27761 html) \
27762 || exit 1
27764 @endif target-examples
27766 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
27767 maybe-TAGS-target-examples:
27768 @if target-examples
27769 maybe-TAGS-target-examples: TAGS-target-examples
27771 TAGS-target-examples: \
27772 configure-target-examples
27773 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27774 r=`${PWD_COMMAND}`; export r; \
27775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27776 $(SET_LIB_PATH) \
27777 $(NORMAL_TARGET_EXPORTS) \
27778 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
27779 for flag in $(EXTRA_TARGET_FLAGS); do \
27780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27781 done; \
27782 (cd $(TARGET_SUBDIR)/examples && \
27783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27785 "RANLIB=$${RANLIB}" \
27786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27787 TAGS) \
27788 || exit 1
27790 @endif target-examples
27792 .PHONY: maybe-install-info-target-examples install-info-target-examples
27793 maybe-install-info-target-examples:
27794 @if target-examples
27795 maybe-install-info-target-examples: install-info-target-examples
27797 install-info-target-examples: \
27798 configure-target-examples \
27799 info-target-examples
27800 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27801 r=`${PWD_COMMAND}`; export r; \
27802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27803 $(SET_LIB_PATH) \
27804 $(NORMAL_TARGET_EXPORTS) \
27805 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
27806 for flag in $(EXTRA_TARGET_FLAGS); do \
27807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27808 done; \
27809 (cd $(TARGET_SUBDIR)/examples && \
27810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27812 "RANLIB=$${RANLIB}" \
27813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27814 install-info) \
27815 || exit 1
27817 @endif target-examples
27819 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
27820 maybe-installcheck-target-examples:
27821 @if target-examples
27822 maybe-installcheck-target-examples: installcheck-target-examples
27824 installcheck-target-examples: \
27825 configure-target-examples
27826 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27827 r=`${PWD_COMMAND}`; export r; \
27828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27829 $(SET_LIB_PATH) \
27830 $(NORMAL_TARGET_EXPORTS) \
27831 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
27832 for flag in $(EXTRA_TARGET_FLAGS); do \
27833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27834 done; \
27835 (cd $(TARGET_SUBDIR)/examples && \
27836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27838 "RANLIB=$${RANLIB}" \
27839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27840 installcheck) \
27841 || exit 1
27843 @endif target-examples
27845 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
27846 maybe-mostlyclean-target-examples:
27847 @if target-examples
27848 maybe-mostlyclean-target-examples: mostlyclean-target-examples
27850 mostlyclean-target-examples:
27851 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27852 r=`${PWD_COMMAND}`; export r; \
27853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27854 $(SET_LIB_PATH) \
27855 $(NORMAL_TARGET_EXPORTS) \
27856 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
27857 for flag in $(EXTRA_TARGET_FLAGS); do \
27858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27859 done; \
27860 (cd $(TARGET_SUBDIR)/examples && \
27861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27863 "RANLIB=$${RANLIB}" \
27864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27865 mostlyclean) \
27866 || exit 1
27868 @endif target-examples
27870 .PHONY: maybe-clean-target-examples clean-target-examples
27871 maybe-clean-target-examples:
27872 @if target-examples
27873 maybe-clean-target-examples: clean-target-examples
27875 clean-target-examples:
27876 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27877 r=`${PWD_COMMAND}`; export r; \
27878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27879 $(SET_LIB_PATH) \
27880 $(NORMAL_TARGET_EXPORTS) \
27881 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
27882 for flag in $(EXTRA_TARGET_FLAGS); do \
27883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27884 done; \
27885 (cd $(TARGET_SUBDIR)/examples && \
27886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27888 "RANLIB=$${RANLIB}" \
27889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27890 clean) \
27891 || exit 1
27893 @endif target-examples
27895 .PHONY: maybe-distclean-target-examples distclean-target-examples
27896 maybe-distclean-target-examples:
27897 @if target-examples
27898 maybe-distclean-target-examples: distclean-target-examples
27900 distclean-target-examples:
27901 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27902 r=`${PWD_COMMAND}`; export r; \
27903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27904 $(SET_LIB_PATH) \
27905 $(NORMAL_TARGET_EXPORTS) \
27906 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
27907 for flag in $(EXTRA_TARGET_FLAGS); do \
27908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27909 done; \
27910 (cd $(TARGET_SUBDIR)/examples && \
27911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27913 "RANLIB=$${RANLIB}" \
27914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27915 distclean) \
27916 || exit 1
27918 @endif target-examples
27920 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
27921 maybe-maintainer-clean-target-examples:
27922 @if target-examples
27923 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
27925 maintainer-clean-target-examples:
27926 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27927 r=`${PWD_COMMAND}`; export r; \
27928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27929 $(SET_LIB_PATH) \
27930 $(NORMAL_TARGET_EXPORTS) \
27931 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
27932 for flag in $(EXTRA_TARGET_FLAGS); do \
27933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27934 done; \
27935 (cd $(TARGET_SUBDIR)/examples && \
27936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27938 "RANLIB=$${RANLIB}" \
27939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27940 maintainer-clean) \
27941 || exit 1
27943 @endif target-examples
27946 .PHONY: configure-target-libffi maybe-configure-target-libffi
27947 maybe-configure-target-libffi:
27948 @if target-libffi
27949 maybe-configure-target-libffi: configure-target-libffi
27951 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27952 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
27953 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27954 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
27955 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
27957 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
27958 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
27959 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27960 r=`${PWD_COMMAND}`; export r; \
27961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27962 $(SET_LIB_PATH) \
27963 $(NORMAL_TARGET_EXPORTS) \
27964 echo Configuring in $(TARGET_SUBDIR)/libffi; \
27965 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
27966 case $(srcdir) in \
27967 /* | [A-Za-z]:[\\/]*) \
27968 topdir=$(srcdir) ;; \
27969 *) \
27970 case "$(TARGET_SUBDIR)" in \
27971 .) topdir="../$(srcdir)" ;; \
27972 *) topdir="../../$(srcdir)" ;; \
27973 esac ;; \
27974 esac; \
27975 srcdiroption="--srcdir=$${topdir}/libffi"; \
27976 libsrcdir="$$s/libffi"; \
27977 rm -f no-such-file || : ; \
27978 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27979 $(TARGET_CONFIGARGS) $${srcdiroption} \
27980 --with-target-subdir="$(TARGET_SUBDIR)" \
27981 || exit 1
27982 @endif target-libffi
27984 .PHONY: all-target-libffi maybe-all-target-libffi
27985 maybe-all-target-libffi:
27986 @if target-libffi
27987 TARGET-target-libffi=all
27988 maybe-all-target-libffi: all-target-libffi
27989 all-target-libffi: configure-target-libffi
27990 @r=`${PWD_COMMAND}`; export r; \
27991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27992 $(SET_LIB_PATH) \
27993 $(NORMAL_TARGET_EXPORTS) \
27994 (cd $(TARGET_SUBDIR)/libffi && \
27995 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
27996 @endif target-libffi
27998 .PHONY: check-target-libffi maybe-check-target-libffi
27999 maybe-check-target-libffi:
28000 @if target-libffi
28001 maybe-check-target-libffi: check-target-libffi
28003 check-target-libffi:
28004 @r=`${PWD_COMMAND}`; export r; \
28005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28006 $(SET_LIB_PATH) \
28007 $(NORMAL_TARGET_EXPORTS) \
28008 (cd $(TARGET_SUBDIR)/libffi && \
28009 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28011 @endif target-libffi
28013 .PHONY: install-target-libffi maybe-install-target-libffi
28014 maybe-install-target-libffi:
28015 @if target-libffi
28016 maybe-install-target-libffi: install-target-libffi
28018 install-target-libffi: installdirs
28019 @r=`${PWD_COMMAND}`; export r; \
28020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28021 $(SET_LIB_PATH) \
28022 $(NORMAL_TARGET_EXPORTS) \
28023 (cd $(TARGET_SUBDIR)/libffi && \
28024 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28026 @endif target-libffi
28028 # Other targets (info, dvi, etc.)
28030 .PHONY: maybe-info-target-libffi info-target-libffi
28031 maybe-info-target-libffi:
28032 @if target-libffi
28033 maybe-info-target-libffi: info-target-libffi
28035 info-target-libffi: \
28036 configure-target-libffi
28037 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28038 r=`${PWD_COMMAND}`; export r; \
28039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28040 $(SET_LIB_PATH) \
28041 $(NORMAL_TARGET_EXPORTS) \
28042 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
28043 for flag in $(EXTRA_TARGET_FLAGS); do \
28044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28045 done; \
28046 (cd $(TARGET_SUBDIR)/libffi && \
28047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28049 "RANLIB=$${RANLIB}" \
28050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28051 info) \
28052 || exit 1
28054 @endif target-libffi
28056 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
28057 maybe-dvi-target-libffi:
28058 @if target-libffi
28059 maybe-dvi-target-libffi: dvi-target-libffi
28061 dvi-target-libffi: \
28062 configure-target-libffi
28063 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28064 r=`${PWD_COMMAND}`; export r; \
28065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28066 $(SET_LIB_PATH) \
28067 $(NORMAL_TARGET_EXPORTS) \
28068 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
28069 for flag in $(EXTRA_TARGET_FLAGS); do \
28070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28071 done; \
28072 (cd $(TARGET_SUBDIR)/libffi && \
28073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28075 "RANLIB=$${RANLIB}" \
28076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28077 dvi) \
28078 || exit 1
28080 @endif target-libffi
28082 .PHONY: maybe-html-target-libffi html-target-libffi
28083 maybe-html-target-libffi:
28084 @if target-libffi
28085 maybe-html-target-libffi: html-target-libffi
28087 html-target-libffi: \
28088 configure-target-libffi
28089 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28090 r=`${PWD_COMMAND}`; export r; \
28091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28092 $(SET_LIB_PATH) \
28093 $(NORMAL_TARGET_EXPORTS) \
28094 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
28095 for flag in $(EXTRA_TARGET_FLAGS); do \
28096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28097 done; \
28098 (cd $(TARGET_SUBDIR)/libffi && \
28099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28101 "RANLIB=$${RANLIB}" \
28102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28103 html) \
28104 || exit 1
28106 @endif target-libffi
28108 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
28109 maybe-TAGS-target-libffi:
28110 @if target-libffi
28111 maybe-TAGS-target-libffi: TAGS-target-libffi
28113 TAGS-target-libffi: \
28114 configure-target-libffi
28115 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28116 r=`${PWD_COMMAND}`; export r; \
28117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28118 $(SET_LIB_PATH) \
28119 $(NORMAL_TARGET_EXPORTS) \
28120 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
28121 for flag in $(EXTRA_TARGET_FLAGS); do \
28122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28123 done; \
28124 (cd $(TARGET_SUBDIR)/libffi && \
28125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28127 "RANLIB=$${RANLIB}" \
28128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28129 TAGS) \
28130 || exit 1
28132 @endif target-libffi
28134 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
28135 maybe-install-info-target-libffi:
28136 @if target-libffi
28137 maybe-install-info-target-libffi: install-info-target-libffi
28139 install-info-target-libffi: \
28140 configure-target-libffi \
28141 info-target-libffi
28142 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28143 r=`${PWD_COMMAND}`; export r; \
28144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28145 $(SET_LIB_PATH) \
28146 $(NORMAL_TARGET_EXPORTS) \
28147 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
28148 for flag in $(EXTRA_TARGET_FLAGS); do \
28149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28150 done; \
28151 (cd $(TARGET_SUBDIR)/libffi && \
28152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28154 "RANLIB=$${RANLIB}" \
28155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28156 install-info) \
28157 || exit 1
28159 @endif target-libffi
28161 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
28162 maybe-installcheck-target-libffi:
28163 @if target-libffi
28164 maybe-installcheck-target-libffi: installcheck-target-libffi
28166 installcheck-target-libffi: \
28167 configure-target-libffi
28168 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28169 r=`${PWD_COMMAND}`; export r; \
28170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28171 $(SET_LIB_PATH) \
28172 $(NORMAL_TARGET_EXPORTS) \
28173 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
28174 for flag in $(EXTRA_TARGET_FLAGS); do \
28175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28176 done; \
28177 (cd $(TARGET_SUBDIR)/libffi && \
28178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28180 "RANLIB=$${RANLIB}" \
28181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28182 installcheck) \
28183 || exit 1
28185 @endif target-libffi
28187 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
28188 maybe-mostlyclean-target-libffi:
28189 @if target-libffi
28190 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
28192 mostlyclean-target-libffi:
28193 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28194 r=`${PWD_COMMAND}`; export r; \
28195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28196 $(SET_LIB_PATH) \
28197 $(NORMAL_TARGET_EXPORTS) \
28198 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
28199 for flag in $(EXTRA_TARGET_FLAGS); do \
28200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28201 done; \
28202 (cd $(TARGET_SUBDIR)/libffi && \
28203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28205 "RANLIB=$${RANLIB}" \
28206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28207 mostlyclean) \
28208 || exit 1
28210 @endif target-libffi
28212 .PHONY: maybe-clean-target-libffi clean-target-libffi
28213 maybe-clean-target-libffi:
28214 @if target-libffi
28215 maybe-clean-target-libffi: clean-target-libffi
28217 clean-target-libffi:
28218 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28219 r=`${PWD_COMMAND}`; export r; \
28220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28221 $(SET_LIB_PATH) \
28222 $(NORMAL_TARGET_EXPORTS) \
28223 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
28224 for flag in $(EXTRA_TARGET_FLAGS); do \
28225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28226 done; \
28227 (cd $(TARGET_SUBDIR)/libffi && \
28228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28230 "RANLIB=$${RANLIB}" \
28231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28232 clean) \
28233 || exit 1
28235 @endif target-libffi
28237 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
28238 maybe-distclean-target-libffi:
28239 @if target-libffi
28240 maybe-distclean-target-libffi: distclean-target-libffi
28242 distclean-target-libffi:
28243 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28244 r=`${PWD_COMMAND}`; export r; \
28245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28246 $(SET_LIB_PATH) \
28247 $(NORMAL_TARGET_EXPORTS) \
28248 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
28249 for flag in $(EXTRA_TARGET_FLAGS); do \
28250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28251 done; \
28252 (cd $(TARGET_SUBDIR)/libffi && \
28253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28255 "RANLIB=$${RANLIB}" \
28256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28257 distclean) \
28258 || exit 1
28260 @endif target-libffi
28262 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
28263 maybe-maintainer-clean-target-libffi:
28264 @if target-libffi
28265 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
28267 maintainer-clean-target-libffi:
28268 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28269 r=`${PWD_COMMAND}`; export r; \
28270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28271 $(SET_LIB_PATH) \
28272 $(NORMAL_TARGET_EXPORTS) \
28273 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
28274 for flag in $(EXTRA_TARGET_FLAGS); do \
28275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28276 done; \
28277 (cd $(TARGET_SUBDIR)/libffi && \
28278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28280 "RANLIB=$${RANLIB}" \
28281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28282 maintainer-clean) \
28283 || exit 1
28285 @endif target-libffi
28288 .PHONY: configure-target-libjava maybe-configure-target-libjava
28289 maybe-configure-target-libjava:
28290 @if target-libjava
28291 maybe-configure-target-libjava: configure-target-libjava
28293 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28294 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
28295 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28296 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
28297 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
28299 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
28300 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
28301 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28302 r=`${PWD_COMMAND}`; export r; \
28303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28304 $(SET_LIB_PATH) \
28305 $(RAW_CXX_TARGET_EXPORTS) \
28306 echo Configuring in $(TARGET_SUBDIR)/libjava; \
28307 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
28308 case $(srcdir) in \
28309 /* | [A-Za-z]:[\\/]*) \
28310 topdir=$(srcdir) ;; \
28311 *) \
28312 case "$(TARGET_SUBDIR)" in \
28313 .) topdir="../$(srcdir)" ;; \
28314 *) topdir="../../$(srcdir)" ;; \
28315 esac ;; \
28316 esac; \
28317 srcdiroption="--srcdir=$${topdir}/libjava"; \
28318 libsrcdir="$$s/libjava"; \
28319 rm -f no-such-file || : ; \
28320 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28321 $(TARGET_CONFIGARGS) $${srcdiroption} \
28322 --with-target-subdir="$(TARGET_SUBDIR)" \
28323 || exit 1
28324 @endif target-libjava
28326 .PHONY: all-target-libjava maybe-all-target-libjava
28327 maybe-all-target-libjava:
28328 @if target-libjava
28329 TARGET-target-libjava=all
28330 maybe-all-target-libjava: all-target-libjava
28331 all-target-libjava: configure-target-libjava
28332 @r=`${PWD_COMMAND}`; export r; \
28333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28334 $(SET_LIB_PATH) \
28335 $(RAW_CXX_TARGET_EXPORTS) \
28336 (cd $(TARGET_SUBDIR)/libjava && \
28337 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
28338 @endif target-libjava
28340 .PHONY: check-target-libjava maybe-check-target-libjava
28341 maybe-check-target-libjava:
28342 @if target-libjava
28343 maybe-check-target-libjava: check-target-libjava
28345 check-target-libjava:
28346 @r=`${PWD_COMMAND}`; export r; \
28347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28348 $(SET_LIB_PATH) \
28349 $(RAW_CXX_TARGET_EXPORTS) \
28350 (cd $(TARGET_SUBDIR)/libjava && \
28351 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28353 @endif target-libjava
28355 .PHONY: install-target-libjava maybe-install-target-libjava
28356 maybe-install-target-libjava:
28357 @if target-libjava
28358 maybe-install-target-libjava: install-target-libjava
28360 install-target-libjava: installdirs
28361 @r=`${PWD_COMMAND}`; export r; \
28362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28363 $(SET_LIB_PATH) \
28364 $(RAW_CXX_TARGET_EXPORTS) \
28365 (cd $(TARGET_SUBDIR)/libjava && \
28366 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28368 @endif target-libjava
28370 # Other targets (info, dvi, etc.)
28372 .PHONY: maybe-info-target-libjava info-target-libjava
28373 maybe-info-target-libjava:
28374 @if target-libjava
28375 maybe-info-target-libjava: info-target-libjava
28377 info-target-libjava: \
28378 configure-target-libjava
28379 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28380 r=`${PWD_COMMAND}`; export r; \
28381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28382 $(SET_LIB_PATH) \
28383 $(RAW_CXX_TARGET_EXPORTS) \
28384 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
28385 for flag in $(EXTRA_TARGET_FLAGS); do \
28386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28387 done; \
28388 (cd $(TARGET_SUBDIR)/libjava && \
28389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28391 "RANLIB=$${RANLIB}" \
28392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28393 info) \
28394 || exit 1
28396 @endif target-libjava
28398 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
28399 maybe-dvi-target-libjava:
28400 @if target-libjava
28401 maybe-dvi-target-libjava: dvi-target-libjava
28403 dvi-target-libjava: \
28404 configure-target-libjava
28405 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28406 r=`${PWD_COMMAND}`; export r; \
28407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28408 $(SET_LIB_PATH) \
28409 $(RAW_CXX_TARGET_EXPORTS) \
28410 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
28411 for flag in $(EXTRA_TARGET_FLAGS); do \
28412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28413 done; \
28414 (cd $(TARGET_SUBDIR)/libjava && \
28415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28417 "RANLIB=$${RANLIB}" \
28418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28419 dvi) \
28420 || exit 1
28422 @endif target-libjava
28424 .PHONY: maybe-html-target-libjava html-target-libjava
28425 maybe-html-target-libjava:
28426 @if target-libjava
28427 maybe-html-target-libjava: html-target-libjava
28429 html-target-libjava: \
28430 configure-target-libjava
28431 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28432 r=`${PWD_COMMAND}`; export r; \
28433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28434 $(SET_LIB_PATH) \
28435 $(RAW_CXX_TARGET_EXPORTS) \
28436 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
28437 for flag in $(EXTRA_TARGET_FLAGS); do \
28438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28439 done; \
28440 (cd $(TARGET_SUBDIR)/libjava && \
28441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28443 "RANLIB=$${RANLIB}" \
28444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28445 html) \
28446 || exit 1
28448 @endif target-libjava
28450 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
28451 maybe-TAGS-target-libjava:
28452 @if target-libjava
28453 maybe-TAGS-target-libjava: TAGS-target-libjava
28455 TAGS-target-libjava: \
28456 configure-target-libjava
28457 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28458 r=`${PWD_COMMAND}`; export r; \
28459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28460 $(SET_LIB_PATH) \
28461 $(RAW_CXX_TARGET_EXPORTS) \
28462 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
28463 for flag in $(EXTRA_TARGET_FLAGS); do \
28464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28465 done; \
28466 (cd $(TARGET_SUBDIR)/libjava && \
28467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28469 "RANLIB=$${RANLIB}" \
28470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28471 TAGS) \
28472 || exit 1
28474 @endif target-libjava
28476 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
28477 maybe-install-info-target-libjava:
28478 @if target-libjava
28479 maybe-install-info-target-libjava: install-info-target-libjava
28481 install-info-target-libjava: \
28482 configure-target-libjava \
28483 info-target-libjava
28484 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28485 r=`${PWD_COMMAND}`; export r; \
28486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28487 $(SET_LIB_PATH) \
28488 $(RAW_CXX_TARGET_EXPORTS) \
28489 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
28490 for flag in $(EXTRA_TARGET_FLAGS); do \
28491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28492 done; \
28493 (cd $(TARGET_SUBDIR)/libjava && \
28494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28496 "RANLIB=$${RANLIB}" \
28497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28498 install-info) \
28499 || exit 1
28501 @endif target-libjava
28503 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
28504 maybe-installcheck-target-libjava:
28505 @if target-libjava
28506 maybe-installcheck-target-libjava: installcheck-target-libjava
28508 installcheck-target-libjava: \
28509 configure-target-libjava
28510 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28511 r=`${PWD_COMMAND}`; export r; \
28512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28513 $(SET_LIB_PATH) \
28514 $(RAW_CXX_TARGET_EXPORTS) \
28515 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
28516 for flag in $(EXTRA_TARGET_FLAGS); do \
28517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28518 done; \
28519 (cd $(TARGET_SUBDIR)/libjava && \
28520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28522 "RANLIB=$${RANLIB}" \
28523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28524 installcheck) \
28525 || exit 1
28527 @endif target-libjava
28529 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
28530 maybe-mostlyclean-target-libjava:
28531 @if target-libjava
28532 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
28534 mostlyclean-target-libjava:
28535 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28536 r=`${PWD_COMMAND}`; export r; \
28537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28538 $(SET_LIB_PATH) \
28539 $(RAW_CXX_TARGET_EXPORTS) \
28540 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
28541 for flag in $(EXTRA_TARGET_FLAGS); do \
28542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28543 done; \
28544 (cd $(TARGET_SUBDIR)/libjava && \
28545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28547 "RANLIB=$${RANLIB}" \
28548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28549 mostlyclean) \
28550 || exit 1
28552 @endif target-libjava
28554 .PHONY: maybe-clean-target-libjava clean-target-libjava
28555 maybe-clean-target-libjava:
28556 @if target-libjava
28557 maybe-clean-target-libjava: clean-target-libjava
28559 clean-target-libjava:
28560 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28561 r=`${PWD_COMMAND}`; export r; \
28562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28563 $(SET_LIB_PATH) \
28564 $(RAW_CXX_TARGET_EXPORTS) \
28565 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
28566 for flag in $(EXTRA_TARGET_FLAGS); do \
28567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28568 done; \
28569 (cd $(TARGET_SUBDIR)/libjava && \
28570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28572 "RANLIB=$${RANLIB}" \
28573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28574 clean) \
28575 || exit 1
28577 @endif target-libjava
28579 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
28580 maybe-distclean-target-libjava:
28581 @if target-libjava
28582 maybe-distclean-target-libjava: distclean-target-libjava
28584 distclean-target-libjava:
28585 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28586 r=`${PWD_COMMAND}`; export r; \
28587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28588 $(SET_LIB_PATH) \
28589 $(RAW_CXX_TARGET_EXPORTS) \
28590 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
28591 for flag in $(EXTRA_TARGET_FLAGS); do \
28592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28593 done; \
28594 (cd $(TARGET_SUBDIR)/libjava && \
28595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28597 "RANLIB=$${RANLIB}" \
28598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28599 distclean) \
28600 || exit 1
28602 @endif target-libjava
28604 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
28605 maybe-maintainer-clean-target-libjava:
28606 @if target-libjava
28607 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
28609 maintainer-clean-target-libjava:
28610 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28611 r=`${PWD_COMMAND}`; export r; \
28612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28613 $(SET_LIB_PATH) \
28614 $(RAW_CXX_TARGET_EXPORTS) \
28615 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
28616 for flag in $(EXTRA_TARGET_FLAGS); do \
28617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28618 done; \
28619 (cd $(TARGET_SUBDIR)/libjava && \
28620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28622 "RANLIB=$${RANLIB}" \
28623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28624 maintainer-clean) \
28625 || exit 1
28627 @endif target-libjava
28630 .PHONY: configure-target-zlib maybe-configure-target-zlib
28631 maybe-configure-target-zlib:
28632 @if target-zlib
28633 maybe-configure-target-zlib: configure-target-zlib
28635 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28636 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
28637 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28638 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
28639 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
28641 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
28642 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
28643 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28644 r=`${PWD_COMMAND}`; export r; \
28645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28646 $(SET_LIB_PATH) \
28647 $(NORMAL_TARGET_EXPORTS) \
28648 echo Configuring in $(TARGET_SUBDIR)/zlib; \
28649 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
28650 case $(srcdir) in \
28651 /* | [A-Za-z]:[\\/]*) \
28652 topdir=$(srcdir) ;; \
28653 *) \
28654 case "$(TARGET_SUBDIR)" in \
28655 .) topdir="../$(srcdir)" ;; \
28656 *) topdir="../../$(srcdir)" ;; \
28657 esac ;; \
28658 esac; \
28659 if [ "$(srcdir)" = "." ] ; then \
28660 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
28661 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
28662 if [ -f Makefile ]; then \
28663 if $(MAKE) distclean; then \
28664 true; \
28665 else \
28666 exit 1; \
28667 fi; \
28668 else \
28669 true; \
28670 fi; \
28671 else \
28672 exit 1; \
28673 fi; \
28674 else \
28675 true; \
28676 fi; \
28677 srcdiroption="--srcdir=."; \
28678 libsrcdir="."; \
28679 else \
28680 srcdiroption="--srcdir=$${topdir}/zlib"; \
28681 libsrcdir="$$s/zlib"; \
28682 fi; \
28683 rm -f no-such-file || : ; \
28684 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28685 $(TARGET_CONFIGARGS) $${srcdiroption} \
28686 --with-target-subdir="$(TARGET_SUBDIR)" \
28687 || exit 1
28688 @endif target-zlib
28690 .PHONY: all-target-zlib maybe-all-target-zlib
28691 maybe-all-target-zlib:
28692 @if target-zlib
28693 TARGET-target-zlib=all
28694 maybe-all-target-zlib: all-target-zlib
28695 all-target-zlib: configure-target-zlib
28696 @r=`${PWD_COMMAND}`; export r; \
28697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28698 $(SET_LIB_PATH) \
28699 $(NORMAL_TARGET_EXPORTS) \
28700 (cd $(TARGET_SUBDIR)/zlib && \
28701 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
28702 @endif target-zlib
28704 .PHONY: check-target-zlib maybe-check-target-zlib
28705 maybe-check-target-zlib:
28706 @if target-zlib
28707 maybe-check-target-zlib: check-target-zlib
28709 check-target-zlib:
28710 @r=`${PWD_COMMAND}`; export r; \
28711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28712 $(SET_LIB_PATH) \
28713 $(NORMAL_TARGET_EXPORTS) \
28714 (cd $(TARGET_SUBDIR)/zlib && \
28715 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28717 @endif target-zlib
28719 .PHONY: install-target-zlib maybe-install-target-zlib
28720 maybe-install-target-zlib:
28721 @if target-zlib
28722 maybe-install-target-zlib: install-target-zlib
28724 install-target-zlib: installdirs
28725 @r=`${PWD_COMMAND}`; export r; \
28726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28727 $(SET_LIB_PATH) \
28728 $(NORMAL_TARGET_EXPORTS) \
28729 (cd $(TARGET_SUBDIR)/zlib && \
28730 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28732 @endif target-zlib
28734 # Other targets (info, dvi, etc.)
28736 .PHONY: maybe-info-target-zlib info-target-zlib
28737 maybe-info-target-zlib:
28738 @if target-zlib
28739 maybe-info-target-zlib: info-target-zlib
28741 info-target-zlib: \
28742 configure-target-zlib
28743 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28744 r=`${PWD_COMMAND}`; export r; \
28745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28746 $(SET_LIB_PATH) \
28747 $(NORMAL_TARGET_EXPORTS) \
28748 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
28749 for flag in $(EXTRA_TARGET_FLAGS); do \
28750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28751 done; \
28752 (cd $(TARGET_SUBDIR)/zlib && \
28753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28755 "RANLIB=$${RANLIB}" \
28756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28757 info) \
28758 || exit 1
28760 @endif target-zlib
28762 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
28763 maybe-dvi-target-zlib:
28764 @if target-zlib
28765 maybe-dvi-target-zlib: dvi-target-zlib
28767 dvi-target-zlib: \
28768 configure-target-zlib
28769 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28770 r=`${PWD_COMMAND}`; export r; \
28771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28772 $(SET_LIB_PATH) \
28773 $(NORMAL_TARGET_EXPORTS) \
28774 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
28775 for flag in $(EXTRA_TARGET_FLAGS); do \
28776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28777 done; \
28778 (cd $(TARGET_SUBDIR)/zlib && \
28779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28781 "RANLIB=$${RANLIB}" \
28782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28783 dvi) \
28784 || exit 1
28786 @endif target-zlib
28788 .PHONY: maybe-html-target-zlib html-target-zlib
28789 maybe-html-target-zlib:
28790 @if target-zlib
28791 maybe-html-target-zlib: html-target-zlib
28793 html-target-zlib: \
28794 configure-target-zlib
28795 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28796 r=`${PWD_COMMAND}`; export r; \
28797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28798 $(SET_LIB_PATH) \
28799 $(NORMAL_TARGET_EXPORTS) \
28800 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
28801 for flag in $(EXTRA_TARGET_FLAGS); do \
28802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28803 done; \
28804 (cd $(TARGET_SUBDIR)/zlib && \
28805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28807 "RANLIB=$${RANLIB}" \
28808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28809 html) \
28810 || exit 1
28812 @endif target-zlib
28814 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
28815 maybe-TAGS-target-zlib:
28816 @if target-zlib
28817 maybe-TAGS-target-zlib: TAGS-target-zlib
28819 TAGS-target-zlib: \
28820 configure-target-zlib
28821 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28822 r=`${PWD_COMMAND}`; export r; \
28823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28824 $(SET_LIB_PATH) \
28825 $(NORMAL_TARGET_EXPORTS) \
28826 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
28827 for flag in $(EXTRA_TARGET_FLAGS); do \
28828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28829 done; \
28830 (cd $(TARGET_SUBDIR)/zlib && \
28831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28833 "RANLIB=$${RANLIB}" \
28834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28835 TAGS) \
28836 || exit 1
28838 @endif target-zlib
28840 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
28841 maybe-install-info-target-zlib:
28842 @if target-zlib
28843 maybe-install-info-target-zlib: install-info-target-zlib
28845 install-info-target-zlib: \
28846 configure-target-zlib \
28847 info-target-zlib
28848 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28849 r=`${PWD_COMMAND}`; export r; \
28850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28851 $(SET_LIB_PATH) \
28852 $(NORMAL_TARGET_EXPORTS) \
28853 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
28854 for flag in $(EXTRA_TARGET_FLAGS); do \
28855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28856 done; \
28857 (cd $(TARGET_SUBDIR)/zlib && \
28858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28860 "RANLIB=$${RANLIB}" \
28861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28862 install-info) \
28863 || exit 1
28865 @endif target-zlib
28867 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
28868 maybe-installcheck-target-zlib:
28869 @if target-zlib
28870 maybe-installcheck-target-zlib: installcheck-target-zlib
28872 installcheck-target-zlib: \
28873 configure-target-zlib
28874 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28875 r=`${PWD_COMMAND}`; export r; \
28876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28877 $(SET_LIB_PATH) \
28878 $(NORMAL_TARGET_EXPORTS) \
28879 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
28880 for flag in $(EXTRA_TARGET_FLAGS); do \
28881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28882 done; \
28883 (cd $(TARGET_SUBDIR)/zlib && \
28884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28886 "RANLIB=$${RANLIB}" \
28887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28888 installcheck) \
28889 || exit 1
28891 @endif target-zlib
28893 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
28894 maybe-mostlyclean-target-zlib:
28895 @if target-zlib
28896 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
28898 mostlyclean-target-zlib:
28899 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28900 r=`${PWD_COMMAND}`; export r; \
28901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28902 $(SET_LIB_PATH) \
28903 $(NORMAL_TARGET_EXPORTS) \
28904 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
28905 for flag in $(EXTRA_TARGET_FLAGS); do \
28906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28907 done; \
28908 (cd $(TARGET_SUBDIR)/zlib && \
28909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28911 "RANLIB=$${RANLIB}" \
28912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28913 mostlyclean) \
28914 || exit 1
28916 @endif target-zlib
28918 .PHONY: maybe-clean-target-zlib clean-target-zlib
28919 maybe-clean-target-zlib:
28920 @if target-zlib
28921 maybe-clean-target-zlib: clean-target-zlib
28923 clean-target-zlib:
28924 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28925 r=`${PWD_COMMAND}`; export r; \
28926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28927 $(SET_LIB_PATH) \
28928 $(NORMAL_TARGET_EXPORTS) \
28929 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
28930 for flag in $(EXTRA_TARGET_FLAGS); do \
28931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28932 done; \
28933 (cd $(TARGET_SUBDIR)/zlib && \
28934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28936 "RANLIB=$${RANLIB}" \
28937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28938 clean) \
28939 || exit 1
28941 @endif target-zlib
28943 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
28944 maybe-distclean-target-zlib:
28945 @if target-zlib
28946 maybe-distclean-target-zlib: distclean-target-zlib
28948 distclean-target-zlib:
28949 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28950 r=`${PWD_COMMAND}`; export r; \
28951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28952 $(SET_LIB_PATH) \
28953 $(NORMAL_TARGET_EXPORTS) \
28954 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
28955 for flag in $(EXTRA_TARGET_FLAGS); do \
28956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28957 done; \
28958 (cd $(TARGET_SUBDIR)/zlib && \
28959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28961 "RANLIB=$${RANLIB}" \
28962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28963 distclean) \
28964 || exit 1
28966 @endif target-zlib
28968 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
28969 maybe-maintainer-clean-target-zlib:
28970 @if target-zlib
28971 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
28973 maintainer-clean-target-zlib:
28974 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28975 r=`${PWD_COMMAND}`; export r; \
28976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28977 $(SET_LIB_PATH) \
28978 $(NORMAL_TARGET_EXPORTS) \
28979 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
28980 for flag in $(EXTRA_TARGET_FLAGS); do \
28981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28982 done; \
28983 (cd $(TARGET_SUBDIR)/zlib && \
28984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28986 "RANLIB=$${RANLIB}" \
28987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28988 maintainer-clean) \
28989 || exit 1
28991 @endif target-zlib
28994 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
28995 maybe-configure-target-boehm-gc:
28996 @if target-boehm-gc
28997 maybe-configure-target-boehm-gc: configure-target-boehm-gc
28999 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29000 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
29001 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29002 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
29003 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
29005 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
29006 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
29007 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29008 r=`${PWD_COMMAND}`; export r; \
29009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29010 $(SET_LIB_PATH) \
29011 $(NORMAL_TARGET_EXPORTS) \
29012 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
29013 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
29014 case $(srcdir) in \
29015 /* | [A-Za-z]:[\\/]*) \
29016 topdir=$(srcdir) ;; \
29017 *) \
29018 case "$(TARGET_SUBDIR)" in \
29019 .) topdir="../$(srcdir)" ;; \
29020 *) topdir="../../$(srcdir)" ;; \
29021 esac ;; \
29022 esac; \
29023 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
29024 libsrcdir="$$s/boehm-gc"; \
29025 rm -f no-such-file || : ; \
29026 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29027 $(TARGET_CONFIGARGS) $${srcdiroption} \
29028 --with-target-subdir="$(TARGET_SUBDIR)" \
29029 || exit 1
29030 @endif target-boehm-gc
29032 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
29033 maybe-all-target-boehm-gc:
29034 @if target-boehm-gc
29035 TARGET-target-boehm-gc=all
29036 maybe-all-target-boehm-gc: all-target-boehm-gc
29037 all-target-boehm-gc: configure-target-boehm-gc
29038 @r=`${PWD_COMMAND}`; export r; \
29039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29040 $(SET_LIB_PATH) \
29041 $(NORMAL_TARGET_EXPORTS) \
29042 (cd $(TARGET_SUBDIR)/boehm-gc && \
29043 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
29044 @endif target-boehm-gc
29046 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
29047 maybe-check-target-boehm-gc:
29048 @if target-boehm-gc
29049 maybe-check-target-boehm-gc: check-target-boehm-gc
29051 check-target-boehm-gc:
29052 @r=`${PWD_COMMAND}`; export r; \
29053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29054 $(SET_LIB_PATH) \
29055 $(NORMAL_TARGET_EXPORTS) \
29056 (cd $(TARGET_SUBDIR)/boehm-gc && \
29057 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29059 @endif target-boehm-gc
29061 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
29062 maybe-install-target-boehm-gc:
29063 @if target-boehm-gc
29064 maybe-install-target-boehm-gc: install-target-boehm-gc
29066 install-target-boehm-gc: installdirs
29067 @r=`${PWD_COMMAND}`; export r; \
29068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29069 $(SET_LIB_PATH) \
29070 $(NORMAL_TARGET_EXPORTS) \
29071 (cd $(TARGET_SUBDIR)/boehm-gc && \
29072 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29074 @endif target-boehm-gc
29076 # Other targets (info, dvi, etc.)
29078 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
29079 maybe-info-target-boehm-gc:
29080 @if target-boehm-gc
29081 maybe-info-target-boehm-gc: info-target-boehm-gc
29083 info-target-boehm-gc: \
29084 configure-target-boehm-gc
29085 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29086 r=`${PWD_COMMAND}`; export r; \
29087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29088 $(SET_LIB_PATH) \
29089 $(NORMAL_TARGET_EXPORTS) \
29090 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
29091 for flag in $(EXTRA_TARGET_FLAGS); do \
29092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29093 done; \
29094 (cd $(TARGET_SUBDIR)/boehm-gc && \
29095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29097 "RANLIB=$${RANLIB}" \
29098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29099 info) \
29100 || exit 1
29102 @endif target-boehm-gc
29104 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
29105 maybe-dvi-target-boehm-gc:
29106 @if target-boehm-gc
29107 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
29109 dvi-target-boehm-gc: \
29110 configure-target-boehm-gc
29111 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29112 r=`${PWD_COMMAND}`; export r; \
29113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29114 $(SET_LIB_PATH) \
29115 $(NORMAL_TARGET_EXPORTS) \
29116 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
29117 for flag in $(EXTRA_TARGET_FLAGS); do \
29118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29119 done; \
29120 (cd $(TARGET_SUBDIR)/boehm-gc && \
29121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29123 "RANLIB=$${RANLIB}" \
29124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29125 dvi) \
29126 || exit 1
29128 @endif target-boehm-gc
29130 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
29131 maybe-html-target-boehm-gc:
29132 @if target-boehm-gc
29133 maybe-html-target-boehm-gc: html-target-boehm-gc
29135 html-target-boehm-gc: \
29136 configure-target-boehm-gc
29137 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29138 r=`${PWD_COMMAND}`; export r; \
29139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29140 $(SET_LIB_PATH) \
29141 $(NORMAL_TARGET_EXPORTS) \
29142 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
29143 for flag in $(EXTRA_TARGET_FLAGS); do \
29144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29145 done; \
29146 (cd $(TARGET_SUBDIR)/boehm-gc && \
29147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29149 "RANLIB=$${RANLIB}" \
29150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29151 html) \
29152 || exit 1
29154 @endif target-boehm-gc
29156 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
29157 maybe-TAGS-target-boehm-gc:
29158 @if target-boehm-gc
29159 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
29161 TAGS-target-boehm-gc: \
29162 configure-target-boehm-gc
29163 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29164 r=`${PWD_COMMAND}`; export r; \
29165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29166 $(SET_LIB_PATH) \
29167 $(NORMAL_TARGET_EXPORTS) \
29168 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
29169 for flag in $(EXTRA_TARGET_FLAGS); do \
29170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29171 done; \
29172 (cd $(TARGET_SUBDIR)/boehm-gc && \
29173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29175 "RANLIB=$${RANLIB}" \
29176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29177 TAGS) \
29178 || exit 1
29180 @endif target-boehm-gc
29182 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
29183 maybe-install-info-target-boehm-gc:
29184 @if target-boehm-gc
29185 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
29187 install-info-target-boehm-gc: \
29188 configure-target-boehm-gc \
29189 info-target-boehm-gc
29190 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29191 r=`${PWD_COMMAND}`; export r; \
29192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29193 $(SET_LIB_PATH) \
29194 $(NORMAL_TARGET_EXPORTS) \
29195 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
29196 for flag in $(EXTRA_TARGET_FLAGS); do \
29197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29198 done; \
29199 (cd $(TARGET_SUBDIR)/boehm-gc && \
29200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29202 "RANLIB=$${RANLIB}" \
29203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29204 install-info) \
29205 || exit 1
29207 @endif target-boehm-gc
29209 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
29210 maybe-installcheck-target-boehm-gc:
29211 @if target-boehm-gc
29212 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
29214 installcheck-target-boehm-gc: \
29215 configure-target-boehm-gc
29216 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29217 r=`${PWD_COMMAND}`; export r; \
29218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29219 $(SET_LIB_PATH) \
29220 $(NORMAL_TARGET_EXPORTS) \
29221 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
29222 for flag in $(EXTRA_TARGET_FLAGS); do \
29223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29224 done; \
29225 (cd $(TARGET_SUBDIR)/boehm-gc && \
29226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29228 "RANLIB=$${RANLIB}" \
29229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29230 installcheck) \
29231 || exit 1
29233 @endif target-boehm-gc
29235 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
29236 maybe-mostlyclean-target-boehm-gc:
29237 @if target-boehm-gc
29238 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
29240 mostlyclean-target-boehm-gc:
29241 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29242 r=`${PWD_COMMAND}`; export r; \
29243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29244 $(SET_LIB_PATH) \
29245 $(NORMAL_TARGET_EXPORTS) \
29246 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29247 for flag in $(EXTRA_TARGET_FLAGS); do \
29248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29249 done; \
29250 (cd $(TARGET_SUBDIR)/boehm-gc && \
29251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29253 "RANLIB=$${RANLIB}" \
29254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29255 mostlyclean) \
29256 || exit 1
29258 @endif target-boehm-gc
29260 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
29261 maybe-clean-target-boehm-gc:
29262 @if target-boehm-gc
29263 maybe-clean-target-boehm-gc: clean-target-boehm-gc
29265 clean-target-boehm-gc:
29266 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29267 r=`${PWD_COMMAND}`; export r; \
29268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29269 $(SET_LIB_PATH) \
29270 $(NORMAL_TARGET_EXPORTS) \
29271 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29272 for flag in $(EXTRA_TARGET_FLAGS); do \
29273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29274 done; \
29275 (cd $(TARGET_SUBDIR)/boehm-gc && \
29276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29278 "RANLIB=$${RANLIB}" \
29279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29280 clean) \
29281 || exit 1
29283 @endif target-boehm-gc
29285 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
29286 maybe-distclean-target-boehm-gc:
29287 @if target-boehm-gc
29288 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
29290 distclean-target-boehm-gc:
29291 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29292 r=`${PWD_COMMAND}`; export r; \
29293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29294 $(SET_LIB_PATH) \
29295 $(NORMAL_TARGET_EXPORTS) \
29296 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29297 for flag in $(EXTRA_TARGET_FLAGS); do \
29298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29299 done; \
29300 (cd $(TARGET_SUBDIR)/boehm-gc && \
29301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29303 "RANLIB=$${RANLIB}" \
29304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29305 distclean) \
29306 || exit 1
29308 @endif target-boehm-gc
29310 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
29311 maybe-maintainer-clean-target-boehm-gc:
29312 @if target-boehm-gc
29313 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
29315 maintainer-clean-target-boehm-gc:
29316 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29317 r=`${PWD_COMMAND}`; export r; \
29318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29319 $(SET_LIB_PATH) \
29320 $(NORMAL_TARGET_EXPORTS) \
29321 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29322 for flag in $(EXTRA_TARGET_FLAGS); do \
29323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29324 done; \
29325 (cd $(TARGET_SUBDIR)/boehm-gc && \
29326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29328 "RANLIB=$${RANLIB}" \
29329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29330 maintainer-clean) \
29331 || exit 1
29333 @endif target-boehm-gc
29336 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
29337 maybe-configure-target-qthreads:
29338 @if target-qthreads
29339 maybe-configure-target-qthreads: configure-target-qthreads
29341 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29342 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
29343 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29344 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
29345 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
29347 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
29348 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
29349 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29350 r=`${PWD_COMMAND}`; export r; \
29351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29352 $(SET_LIB_PATH) \
29353 $(NORMAL_TARGET_EXPORTS) \
29354 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
29355 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
29356 case $(srcdir) in \
29357 /* | [A-Za-z]:[\\/]*) \
29358 topdir=$(srcdir) ;; \
29359 *) \
29360 case "$(TARGET_SUBDIR)" in \
29361 .) topdir="../$(srcdir)" ;; \
29362 *) topdir="../../$(srcdir)" ;; \
29363 esac ;; \
29364 esac; \
29365 srcdiroption="--srcdir=$${topdir}/qthreads"; \
29366 libsrcdir="$$s/qthreads"; \
29367 rm -f no-such-file || : ; \
29368 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29369 $(TARGET_CONFIGARGS) $${srcdiroption} \
29370 --with-target-subdir="$(TARGET_SUBDIR)" \
29371 || exit 1
29372 @endif target-qthreads
29374 .PHONY: all-target-qthreads maybe-all-target-qthreads
29375 maybe-all-target-qthreads:
29376 @if target-qthreads
29377 TARGET-target-qthreads=all
29378 maybe-all-target-qthreads: all-target-qthreads
29379 all-target-qthreads: configure-target-qthreads
29380 @r=`${PWD_COMMAND}`; export r; \
29381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29382 $(SET_LIB_PATH) \
29383 $(NORMAL_TARGET_EXPORTS) \
29384 (cd $(TARGET_SUBDIR)/qthreads && \
29385 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
29386 @endif target-qthreads
29388 .PHONY: check-target-qthreads maybe-check-target-qthreads
29389 maybe-check-target-qthreads:
29390 @if target-qthreads
29391 maybe-check-target-qthreads: check-target-qthreads
29393 check-target-qthreads:
29394 @r=`${PWD_COMMAND}`; export r; \
29395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29396 $(SET_LIB_PATH) \
29397 $(NORMAL_TARGET_EXPORTS) \
29398 (cd $(TARGET_SUBDIR)/qthreads && \
29399 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29401 @endif target-qthreads
29403 .PHONY: install-target-qthreads maybe-install-target-qthreads
29404 maybe-install-target-qthreads:
29405 @if target-qthreads
29406 maybe-install-target-qthreads: install-target-qthreads
29408 install-target-qthreads: installdirs
29409 @r=`${PWD_COMMAND}`; export r; \
29410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29411 $(SET_LIB_PATH) \
29412 $(NORMAL_TARGET_EXPORTS) \
29413 (cd $(TARGET_SUBDIR)/qthreads && \
29414 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29416 @endif target-qthreads
29418 # Other targets (info, dvi, etc.)
29420 .PHONY: maybe-info-target-qthreads info-target-qthreads
29421 maybe-info-target-qthreads:
29422 @if target-qthreads
29423 maybe-info-target-qthreads: info-target-qthreads
29425 info-target-qthreads: \
29426 configure-target-qthreads
29427 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29428 r=`${PWD_COMMAND}`; export r; \
29429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29430 $(SET_LIB_PATH) \
29431 $(NORMAL_TARGET_EXPORTS) \
29432 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
29433 for flag in $(EXTRA_TARGET_FLAGS); do \
29434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29435 done; \
29436 (cd $(TARGET_SUBDIR)/qthreads && \
29437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29439 "RANLIB=$${RANLIB}" \
29440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29441 info) \
29442 || exit 1
29444 @endif target-qthreads
29446 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
29447 maybe-dvi-target-qthreads:
29448 @if target-qthreads
29449 maybe-dvi-target-qthreads: dvi-target-qthreads
29451 dvi-target-qthreads: \
29452 configure-target-qthreads
29453 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29454 r=`${PWD_COMMAND}`; export r; \
29455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29456 $(SET_LIB_PATH) \
29457 $(NORMAL_TARGET_EXPORTS) \
29458 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
29459 for flag in $(EXTRA_TARGET_FLAGS); do \
29460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29461 done; \
29462 (cd $(TARGET_SUBDIR)/qthreads && \
29463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29465 "RANLIB=$${RANLIB}" \
29466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29467 dvi) \
29468 || exit 1
29470 @endif target-qthreads
29472 .PHONY: maybe-html-target-qthreads html-target-qthreads
29473 maybe-html-target-qthreads:
29474 @if target-qthreads
29475 maybe-html-target-qthreads: html-target-qthreads
29477 html-target-qthreads: \
29478 configure-target-qthreads
29479 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29480 r=`${PWD_COMMAND}`; export r; \
29481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29482 $(SET_LIB_PATH) \
29483 $(NORMAL_TARGET_EXPORTS) \
29484 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
29485 for flag in $(EXTRA_TARGET_FLAGS); do \
29486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29487 done; \
29488 (cd $(TARGET_SUBDIR)/qthreads && \
29489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29491 "RANLIB=$${RANLIB}" \
29492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29493 html) \
29494 || exit 1
29496 @endif target-qthreads
29498 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
29499 maybe-TAGS-target-qthreads:
29500 @if target-qthreads
29501 maybe-TAGS-target-qthreads: TAGS-target-qthreads
29503 TAGS-target-qthreads: \
29504 configure-target-qthreads
29505 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29506 r=`${PWD_COMMAND}`; export r; \
29507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29508 $(SET_LIB_PATH) \
29509 $(NORMAL_TARGET_EXPORTS) \
29510 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
29511 for flag in $(EXTRA_TARGET_FLAGS); do \
29512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29513 done; \
29514 (cd $(TARGET_SUBDIR)/qthreads && \
29515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29517 "RANLIB=$${RANLIB}" \
29518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29519 TAGS) \
29520 || exit 1
29522 @endif target-qthreads
29524 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
29525 maybe-install-info-target-qthreads:
29526 @if target-qthreads
29527 maybe-install-info-target-qthreads: install-info-target-qthreads
29529 install-info-target-qthreads: \
29530 configure-target-qthreads \
29531 info-target-qthreads
29532 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29533 r=`${PWD_COMMAND}`; export r; \
29534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29535 $(SET_LIB_PATH) \
29536 $(NORMAL_TARGET_EXPORTS) \
29537 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
29538 for flag in $(EXTRA_TARGET_FLAGS); do \
29539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29540 done; \
29541 (cd $(TARGET_SUBDIR)/qthreads && \
29542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29544 "RANLIB=$${RANLIB}" \
29545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29546 install-info) \
29547 || exit 1
29549 @endif target-qthreads
29551 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
29552 maybe-installcheck-target-qthreads:
29553 @if target-qthreads
29554 maybe-installcheck-target-qthreads: installcheck-target-qthreads
29556 installcheck-target-qthreads: \
29557 configure-target-qthreads
29558 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29559 r=`${PWD_COMMAND}`; export r; \
29560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29561 $(SET_LIB_PATH) \
29562 $(NORMAL_TARGET_EXPORTS) \
29563 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
29564 for flag in $(EXTRA_TARGET_FLAGS); do \
29565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29566 done; \
29567 (cd $(TARGET_SUBDIR)/qthreads && \
29568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29570 "RANLIB=$${RANLIB}" \
29571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29572 installcheck) \
29573 || exit 1
29575 @endif target-qthreads
29577 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
29578 maybe-mostlyclean-target-qthreads:
29579 @if target-qthreads
29580 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
29582 mostlyclean-target-qthreads:
29583 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29584 r=`${PWD_COMMAND}`; export r; \
29585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29586 $(SET_LIB_PATH) \
29587 $(NORMAL_TARGET_EXPORTS) \
29588 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
29589 for flag in $(EXTRA_TARGET_FLAGS); do \
29590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29591 done; \
29592 (cd $(TARGET_SUBDIR)/qthreads && \
29593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29595 "RANLIB=$${RANLIB}" \
29596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29597 mostlyclean) \
29598 || exit 1
29600 @endif target-qthreads
29602 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
29603 maybe-clean-target-qthreads:
29604 @if target-qthreads
29605 maybe-clean-target-qthreads: clean-target-qthreads
29607 clean-target-qthreads:
29608 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29609 r=`${PWD_COMMAND}`; export r; \
29610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29611 $(SET_LIB_PATH) \
29612 $(NORMAL_TARGET_EXPORTS) \
29613 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
29614 for flag in $(EXTRA_TARGET_FLAGS); do \
29615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29616 done; \
29617 (cd $(TARGET_SUBDIR)/qthreads && \
29618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29620 "RANLIB=$${RANLIB}" \
29621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29622 clean) \
29623 || exit 1
29625 @endif target-qthreads
29627 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
29628 maybe-distclean-target-qthreads:
29629 @if target-qthreads
29630 maybe-distclean-target-qthreads: distclean-target-qthreads
29632 distclean-target-qthreads:
29633 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29634 r=`${PWD_COMMAND}`; export r; \
29635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29636 $(SET_LIB_PATH) \
29637 $(NORMAL_TARGET_EXPORTS) \
29638 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
29639 for flag in $(EXTRA_TARGET_FLAGS); do \
29640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29641 done; \
29642 (cd $(TARGET_SUBDIR)/qthreads && \
29643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29645 "RANLIB=$${RANLIB}" \
29646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29647 distclean) \
29648 || exit 1
29650 @endif target-qthreads
29652 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
29653 maybe-maintainer-clean-target-qthreads:
29654 @if target-qthreads
29655 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
29657 maintainer-clean-target-qthreads:
29658 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29659 r=`${PWD_COMMAND}`; export r; \
29660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29661 $(SET_LIB_PATH) \
29662 $(NORMAL_TARGET_EXPORTS) \
29663 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
29664 for flag in $(EXTRA_TARGET_FLAGS); do \
29665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29666 done; \
29667 (cd $(TARGET_SUBDIR)/qthreads && \
29668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29670 "RANLIB=$${RANLIB}" \
29671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29672 maintainer-clean) \
29673 || exit 1
29675 @endif target-qthreads
29678 .PHONY: configure-target-rda maybe-configure-target-rda
29679 maybe-configure-target-rda:
29680 @if target-rda
29681 maybe-configure-target-rda: configure-target-rda
29683 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29684 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
29685 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29686 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
29687 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
29689 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
29690 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
29691 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29692 r=`${PWD_COMMAND}`; export r; \
29693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29694 $(SET_LIB_PATH) \
29695 $(NORMAL_TARGET_EXPORTS) \
29696 echo Configuring in $(TARGET_SUBDIR)/rda; \
29697 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
29698 case $(srcdir) in \
29699 /* | [A-Za-z]:[\\/]*) \
29700 topdir=$(srcdir) ;; \
29701 *) \
29702 case "$(TARGET_SUBDIR)" in \
29703 .) topdir="../$(srcdir)" ;; \
29704 *) topdir="../../$(srcdir)" ;; \
29705 esac ;; \
29706 esac; \
29707 srcdiroption="--srcdir=$${topdir}/rda"; \
29708 libsrcdir="$$s/rda"; \
29709 rm -f no-such-file || : ; \
29710 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29711 $(TARGET_CONFIGARGS) $${srcdiroption} \
29712 --with-target-subdir="$(TARGET_SUBDIR)" \
29713 || exit 1
29714 @endif target-rda
29716 .PHONY: all-target-rda maybe-all-target-rda
29717 maybe-all-target-rda:
29718 @if target-rda
29719 TARGET-target-rda=all
29720 maybe-all-target-rda: all-target-rda
29721 all-target-rda: configure-target-rda
29722 @r=`${PWD_COMMAND}`; export r; \
29723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29724 $(SET_LIB_PATH) \
29725 $(NORMAL_TARGET_EXPORTS) \
29726 (cd $(TARGET_SUBDIR)/rda && \
29727 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
29728 @endif target-rda
29730 .PHONY: check-target-rda maybe-check-target-rda
29731 maybe-check-target-rda:
29732 @if target-rda
29733 maybe-check-target-rda: check-target-rda
29735 check-target-rda:
29736 @r=`${PWD_COMMAND}`; export r; \
29737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29738 $(SET_LIB_PATH) \
29739 $(NORMAL_TARGET_EXPORTS) \
29740 (cd $(TARGET_SUBDIR)/rda && \
29741 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29743 @endif target-rda
29745 .PHONY: install-target-rda maybe-install-target-rda
29746 maybe-install-target-rda:
29747 @if target-rda
29748 maybe-install-target-rda: install-target-rda
29750 install-target-rda: installdirs
29751 @r=`${PWD_COMMAND}`; export r; \
29752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29753 $(SET_LIB_PATH) \
29754 $(NORMAL_TARGET_EXPORTS) \
29755 (cd $(TARGET_SUBDIR)/rda && \
29756 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29758 @endif target-rda
29760 # Other targets (info, dvi, etc.)
29762 .PHONY: maybe-info-target-rda info-target-rda
29763 maybe-info-target-rda:
29764 @if target-rda
29765 maybe-info-target-rda: info-target-rda
29767 info-target-rda: \
29768 configure-target-rda
29769 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29770 r=`${PWD_COMMAND}`; export r; \
29771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29772 $(SET_LIB_PATH) \
29773 $(NORMAL_TARGET_EXPORTS) \
29774 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
29775 for flag in $(EXTRA_TARGET_FLAGS); do \
29776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29777 done; \
29778 (cd $(TARGET_SUBDIR)/rda && \
29779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29781 "RANLIB=$${RANLIB}" \
29782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29783 info) \
29784 || exit 1
29786 @endif target-rda
29788 .PHONY: maybe-dvi-target-rda dvi-target-rda
29789 maybe-dvi-target-rda:
29790 @if target-rda
29791 maybe-dvi-target-rda: dvi-target-rda
29793 dvi-target-rda: \
29794 configure-target-rda
29795 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29796 r=`${PWD_COMMAND}`; export r; \
29797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29798 $(SET_LIB_PATH) \
29799 $(NORMAL_TARGET_EXPORTS) \
29800 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
29801 for flag in $(EXTRA_TARGET_FLAGS); do \
29802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29803 done; \
29804 (cd $(TARGET_SUBDIR)/rda && \
29805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29807 "RANLIB=$${RANLIB}" \
29808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29809 dvi) \
29810 || exit 1
29812 @endif target-rda
29814 .PHONY: maybe-html-target-rda html-target-rda
29815 maybe-html-target-rda:
29816 @if target-rda
29817 maybe-html-target-rda: html-target-rda
29819 html-target-rda: \
29820 configure-target-rda
29821 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29822 r=`${PWD_COMMAND}`; export r; \
29823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29824 $(SET_LIB_PATH) \
29825 $(NORMAL_TARGET_EXPORTS) \
29826 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
29827 for flag in $(EXTRA_TARGET_FLAGS); do \
29828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29829 done; \
29830 (cd $(TARGET_SUBDIR)/rda && \
29831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29833 "RANLIB=$${RANLIB}" \
29834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29835 html) \
29836 || exit 1
29838 @endif target-rda
29840 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
29841 maybe-TAGS-target-rda:
29842 @if target-rda
29843 maybe-TAGS-target-rda: TAGS-target-rda
29845 TAGS-target-rda: \
29846 configure-target-rda
29847 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29848 r=`${PWD_COMMAND}`; export r; \
29849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29850 $(SET_LIB_PATH) \
29851 $(NORMAL_TARGET_EXPORTS) \
29852 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
29853 for flag in $(EXTRA_TARGET_FLAGS); do \
29854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29855 done; \
29856 (cd $(TARGET_SUBDIR)/rda && \
29857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29859 "RANLIB=$${RANLIB}" \
29860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29861 TAGS) \
29862 || exit 1
29864 @endif target-rda
29866 .PHONY: maybe-install-info-target-rda install-info-target-rda
29867 maybe-install-info-target-rda:
29868 @if target-rda
29869 maybe-install-info-target-rda: install-info-target-rda
29871 install-info-target-rda: \
29872 configure-target-rda \
29873 info-target-rda
29874 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29875 r=`${PWD_COMMAND}`; export r; \
29876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29877 $(SET_LIB_PATH) \
29878 $(NORMAL_TARGET_EXPORTS) \
29879 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
29880 for flag in $(EXTRA_TARGET_FLAGS); do \
29881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29882 done; \
29883 (cd $(TARGET_SUBDIR)/rda && \
29884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29886 "RANLIB=$${RANLIB}" \
29887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29888 install-info) \
29889 || exit 1
29891 @endif target-rda
29893 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
29894 maybe-installcheck-target-rda:
29895 @if target-rda
29896 maybe-installcheck-target-rda: installcheck-target-rda
29898 installcheck-target-rda: \
29899 configure-target-rda
29900 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29901 r=`${PWD_COMMAND}`; export r; \
29902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29903 $(SET_LIB_PATH) \
29904 $(NORMAL_TARGET_EXPORTS) \
29905 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
29906 for flag in $(EXTRA_TARGET_FLAGS); do \
29907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29908 done; \
29909 (cd $(TARGET_SUBDIR)/rda && \
29910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29912 "RANLIB=$${RANLIB}" \
29913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29914 installcheck) \
29915 || exit 1
29917 @endif target-rda
29919 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
29920 maybe-mostlyclean-target-rda:
29921 @if target-rda
29922 maybe-mostlyclean-target-rda: mostlyclean-target-rda
29924 mostlyclean-target-rda:
29925 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29926 r=`${PWD_COMMAND}`; export r; \
29927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29928 $(SET_LIB_PATH) \
29929 $(NORMAL_TARGET_EXPORTS) \
29930 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
29931 for flag in $(EXTRA_TARGET_FLAGS); do \
29932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29933 done; \
29934 (cd $(TARGET_SUBDIR)/rda && \
29935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29937 "RANLIB=$${RANLIB}" \
29938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29939 mostlyclean) \
29940 || exit 1
29942 @endif target-rda
29944 .PHONY: maybe-clean-target-rda clean-target-rda
29945 maybe-clean-target-rda:
29946 @if target-rda
29947 maybe-clean-target-rda: clean-target-rda
29949 clean-target-rda:
29950 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29951 r=`${PWD_COMMAND}`; export r; \
29952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29953 $(SET_LIB_PATH) \
29954 $(NORMAL_TARGET_EXPORTS) \
29955 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
29956 for flag in $(EXTRA_TARGET_FLAGS); do \
29957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29958 done; \
29959 (cd $(TARGET_SUBDIR)/rda && \
29960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29962 "RANLIB=$${RANLIB}" \
29963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29964 clean) \
29965 || exit 1
29967 @endif target-rda
29969 .PHONY: maybe-distclean-target-rda distclean-target-rda
29970 maybe-distclean-target-rda:
29971 @if target-rda
29972 maybe-distclean-target-rda: distclean-target-rda
29974 distclean-target-rda:
29975 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29976 r=`${PWD_COMMAND}`; export r; \
29977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29978 $(SET_LIB_PATH) \
29979 $(NORMAL_TARGET_EXPORTS) \
29980 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
29981 for flag in $(EXTRA_TARGET_FLAGS); do \
29982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29983 done; \
29984 (cd $(TARGET_SUBDIR)/rda && \
29985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29987 "RANLIB=$${RANLIB}" \
29988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29989 distclean) \
29990 || exit 1
29992 @endif target-rda
29994 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
29995 maybe-maintainer-clean-target-rda:
29996 @if target-rda
29997 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
29999 maintainer-clean-target-rda:
30000 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30001 r=`${PWD_COMMAND}`; export r; \
30002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30003 $(SET_LIB_PATH) \
30004 $(NORMAL_TARGET_EXPORTS) \
30005 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
30006 for flag in $(EXTRA_TARGET_FLAGS); do \
30007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30008 done; \
30009 (cd $(TARGET_SUBDIR)/rda && \
30010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30012 "RANLIB=$${RANLIB}" \
30013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30014 maintainer-clean) \
30015 || exit 1
30017 @endif target-rda
30020 .PHONY: configure-target-libada maybe-configure-target-libada
30021 maybe-configure-target-libada:
30022 @if target-libada
30023 maybe-configure-target-libada: configure-target-libada
30025 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30026 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
30027 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30028 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
30029 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
30031 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
30032 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
30033 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30034 r=`${PWD_COMMAND}`; export r; \
30035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30036 $(SET_LIB_PATH) \
30037 $(NORMAL_TARGET_EXPORTS) \
30038 echo Configuring in $(TARGET_SUBDIR)/libada; \
30039 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
30040 case $(srcdir) in \
30041 /* | [A-Za-z]:[\\/]*) \
30042 topdir=$(srcdir) ;; \
30043 *) \
30044 case "$(TARGET_SUBDIR)" in \
30045 .) topdir="../$(srcdir)" ;; \
30046 *) topdir="../../$(srcdir)" ;; \
30047 esac ;; \
30048 esac; \
30049 srcdiroption="--srcdir=$${topdir}/libada"; \
30050 libsrcdir="$$s/libada"; \
30051 rm -f no-such-file || : ; \
30052 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30053 $(TARGET_CONFIGARGS) $${srcdiroption} \
30054 --with-target-subdir="$(TARGET_SUBDIR)" \
30055 || exit 1
30056 @endif target-libada
30058 .PHONY: all-target-libada maybe-all-target-libada
30059 maybe-all-target-libada:
30060 @if target-libada
30061 TARGET-target-libada=all
30062 maybe-all-target-libada: all-target-libada
30063 all-target-libada: configure-target-libada
30064 @r=`${PWD_COMMAND}`; export r; \
30065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30066 $(SET_LIB_PATH) \
30067 $(NORMAL_TARGET_EXPORTS) \
30068 (cd $(TARGET_SUBDIR)/libada && \
30069 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
30070 @endif target-libada
30072 .PHONY: check-target-libada maybe-check-target-libada
30073 maybe-check-target-libada:
30074 @if target-libada
30075 maybe-check-target-libada: check-target-libada
30077 check-target-libada:
30078 @r=`${PWD_COMMAND}`; export r; \
30079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30080 $(SET_LIB_PATH) \
30081 $(NORMAL_TARGET_EXPORTS) \
30082 (cd $(TARGET_SUBDIR)/libada && \
30083 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30085 @endif target-libada
30087 .PHONY: install-target-libada maybe-install-target-libada
30088 maybe-install-target-libada:
30089 @if target-libada
30090 maybe-install-target-libada: install-target-libada
30092 install-target-libada: installdirs
30093 @r=`${PWD_COMMAND}`; export r; \
30094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30095 $(SET_LIB_PATH) \
30096 $(NORMAL_TARGET_EXPORTS) \
30097 (cd $(TARGET_SUBDIR)/libada && \
30098 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30100 @endif target-libada
30102 # Other targets (info, dvi, etc.)
30104 .PHONY: maybe-info-target-libada info-target-libada
30105 maybe-info-target-libada:
30106 @if target-libada
30107 maybe-info-target-libada: info-target-libada
30109 info-target-libada: \
30110 configure-target-libada
30111 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30112 r=`${PWD_COMMAND}`; export r; \
30113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30114 $(SET_LIB_PATH) \
30115 $(NORMAL_TARGET_EXPORTS) \
30116 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
30117 for flag in $(EXTRA_TARGET_FLAGS); do \
30118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30119 done; \
30120 (cd $(TARGET_SUBDIR)/libada && \
30121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30123 "RANLIB=$${RANLIB}" \
30124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30125 info) \
30126 || exit 1
30128 @endif target-libada
30130 .PHONY: maybe-dvi-target-libada dvi-target-libada
30131 maybe-dvi-target-libada:
30132 @if target-libada
30133 maybe-dvi-target-libada: dvi-target-libada
30135 dvi-target-libada: \
30136 configure-target-libada
30137 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30138 r=`${PWD_COMMAND}`; export r; \
30139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30140 $(SET_LIB_PATH) \
30141 $(NORMAL_TARGET_EXPORTS) \
30142 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
30143 for flag in $(EXTRA_TARGET_FLAGS); do \
30144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30145 done; \
30146 (cd $(TARGET_SUBDIR)/libada && \
30147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30149 "RANLIB=$${RANLIB}" \
30150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30151 dvi) \
30152 || exit 1
30154 @endif target-libada
30156 .PHONY: maybe-html-target-libada html-target-libada
30157 maybe-html-target-libada:
30158 @if target-libada
30159 maybe-html-target-libada: html-target-libada
30161 html-target-libada: \
30162 configure-target-libada
30163 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30164 r=`${PWD_COMMAND}`; export r; \
30165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30166 $(SET_LIB_PATH) \
30167 $(NORMAL_TARGET_EXPORTS) \
30168 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
30169 for flag in $(EXTRA_TARGET_FLAGS); do \
30170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30171 done; \
30172 (cd $(TARGET_SUBDIR)/libada && \
30173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30175 "RANLIB=$${RANLIB}" \
30176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30177 html) \
30178 || exit 1
30180 @endif target-libada
30182 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
30183 maybe-TAGS-target-libada:
30184 @if target-libada
30185 maybe-TAGS-target-libada: TAGS-target-libada
30187 TAGS-target-libada: \
30188 configure-target-libada
30189 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30190 r=`${PWD_COMMAND}`; export r; \
30191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30192 $(SET_LIB_PATH) \
30193 $(NORMAL_TARGET_EXPORTS) \
30194 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
30195 for flag in $(EXTRA_TARGET_FLAGS); do \
30196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30197 done; \
30198 (cd $(TARGET_SUBDIR)/libada && \
30199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30201 "RANLIB=$${RANLIB}" \
30202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30203 TAGS) \
30204 || exit 1
30206 @endif target-libada
30208 .PHONY: maybe-install-info-target-libada install-info-target-libada
30209 maybe-install-info-target-libada:
30210 @if target-libada
30211 maybe-install-info-target-libada: install-info-target-libada
30213 install-info-target-libada: \
30214 configure-target-libada \
30215 info-target-libada
30216 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30217 r=`${PWD_COMMAND}`; export r; \
30218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30219 $(SET_LIB_PATH) \
30220 $(NORMAL_TARGET_EXPORTS) \
30221 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
30222 for flag in $(EXTRA_TARGET_FLAGS); do \
30223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30224 done; \
30225 (cd $(TARGET_SUBDIR)/libada && \
30226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30228 "RANLIB=$${RANLIB}" \
30229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30230 install-info) \
30231 || exit 1
30233 @endif target-libada
30235 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
30236 maybe-installcheck-target-libada:
30237 @if target-libada
30238 maybe-installcheck-target-libada: installcheck-target-libada
30240 installcheck-target-libada: \
30241 configure-target-libada
30242 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30243 r=`${PWD_COMMAND}`; export r; \
30244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30245 $(SET_LIB_PATH) \
30246 $(NORMAL_TARGET_EXPORTS) \
30247 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
30248 for flag in $(EXTRA_TARGET_FLAGS); do \
30249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30250 done; \
30251 (cd $(TARGET_SUBDIR)/libada && \
30252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30254 "RANLIB=$${RANLIB}" \
30255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30256 installcheck) \
30257 || exit 1
30259 @endif target-libada
30261 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
30262 maybe-mostlyclean-target-libada:
30263 @if target-libada
30264 maybe-mostlyclean-target-libada: mostlyclean-target-libada
30266 mostlyclean-target-libada:
30267 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30268 r=`${PWD_COMMAND}`; export r; \
30269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30270 $(SET_LIB_PATH) \
30271 $(NORMAL_TARGET_EXPORTS) \
30272 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
30273 for flag in $(EXTRA_TARGET_FLAGS); do \
30274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30275 done; \
30276 (cd $(TARGET_SUBDIR)/libada && \
30277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30279 "RANLIB=$${RANLIB}" \
30280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30281 mostlyclean) \
30282 || exit 1
30284 @endif target-libada
30286 .PHONY: maybe-clean-target-libada clean-target-libada
30287 maybe-clean-target-libada:
30288 @if target-libada
30289 maybe-clean-target-libada: clean-target-libada
30291 clean-target-libada:
30292 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30293 r=`${PWD_COMMAND}`; export r; \
30294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30295 $(SET_LIB_PATH) \
30296 $(NORMAL_TARGET_EXPORTS) \
30297 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
30298 for flag in $(EXTRA_TARGET_FLAGS); do \
30299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30300 done; \
30301 (cd $(TARGET_SUBDIR)/libada && \
30302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30304 "RANLIB=$${RANLIB}" \
30305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30306 clean) \
30307 || exit 1
30309 @endif target-libada
30311 .PHONY: maybe-distclean-target-libada distclean-target-libada
30312 maybe-distclean-target-libada:
30313 @if target-libada
30314 maybe-distclean-target-libada: distclean-target-libada
30316 distclean-target-libada:
30317 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30318 r=`${PWD_COMMAND}`; export r; \
30319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30320 $(SET_LIB_PATH) \
30321 $(NORMAL_TARGET_EXPORTS) \
30322 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
30323 for flag in $(EXTRA_TARGET_FLAGS); do \
30324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30325 done; \
30326 (cd $(TARGET_SUBDIR)/libada && \
30327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30329 "RANLIB=$${RANLIB}" \
30330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30331 distclean) \
30332 || exit 1
30334 @endif target-libada
30336 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
30337 maybe-maintainer-clean-target-libada:
30338 @if target-libada
30339 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
30341 maintainer-clean-target-libada:
30342 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30343 r=`${PWD_COMMAND}`; export r; \
30344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30345 $(SET_LIB_PATH) \
30346 $(NORMAL_TARGET_EXPORTS) \
30347 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
30348 for flag in $(EXTRA_TARGET_FLAGS); do \
30349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30350 done; \
30351 (cd $(TARGET_SUBDIR)/libada && \
30352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30354 "RANLIB=$${RANLIB}" \
30355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30356 maintainer-clean) \
30357 || exit 1
30359 @endif target-libada
30363 # ----------
30364 # GCC module
30365 # ----------
30367 @if gcc-no-bootstrap
30368 # GCC has some more recursive targets, which trigger the old
30369 # (but still current, until the toplevel bootstrap project
30370 # is finished) compiler bootstrapping rules.
30372 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
30373 .PHONY: $(GCC_STRAP_TARGETS)
30374 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
30375 @r=`${PWD_COMMAND}`; export r; \
30376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30377 $(SET_LIB_PATH) \
30378 $(HOST_EXPORTS) \
30379 echo "Bootstrapping the compiler"; \
30380 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
30381 @r=`${PWD_COMMAND}`; export r; \
30382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30383 case "$@" in \
30384 *bootstrap4-lean ) \
30385 msg="Comparing stage3 and stage4 of the compiler"; \
30386 compare=compare3-lean ;; \
30387 *bootstrap4 ) \
30388 msg="Comparing stage3 and stage4 of the compiler"; \
30389 compare=compare3 ;; \
30390 *-lean ) \
30391 msg="Comparing stage2 and stage3 of the compiler"; \
30392 compare=compare-lean ;; \
30393 * ) \
30394 msg="Comparing stage2 and stage3 of the compiler"; \
30395 compare=compare ;; \
30396 esac; \
30397 $(SET_LIB_PATH) \
30398 $(HOST_EXPORTS) \
30399 echo "$$msg"; \
30400 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
30401 @r=`${PWD_COMMAND}`; export r; \
30402 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30403 $(SET_LIB_PATH) \
30404 echo "Building runtime libraries"; \
30405 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30407 profiledbootstrap: all-prebootstrap configure-gcc
30408 @r=`${PWD_COMMAND}`; export r; \
30409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30410 $(SET_LIB_PATH) \
30411 $(HOST_EXPORTS) \
30412 echo "Bootstrapping training compiler"; \
30413 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
30414 @r=`${PWD_COMMAND}`; export r; \
30415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30416 $(SET_LIB_PATH) \
30417 $(HOST_EXPORTS) \
30418 echo "Building feedback based compiler"; \
30419 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
30420 @r=`${PWD_COMMAND}`; export r; \
30421 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30422 $(SET_LIB_PATH) \
30423 echo "Building runtime libraries"; \
30424 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30426 .PHONY: cross
30427 cross: all-build all-gas all-ld
30428 @r=`${PWD_COMMAND}`; export r; \
30429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30430 $(SET_LIB_PATH) \
30431 $(HOST_EXPORTS) \
30432 echo "Building the C and C++ compiler"; \
30433 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
30434 @r=`${PWD_COMMAND}`; export r; \
30435 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30436 $(SET_LIB_PATH) \
30437 echo "Building runtime libraries"; \
30438 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
30439 @endif gcc-no-bootstrap
30441 @if gcc
30442 .PHONY: check-gcc-c++
30443 check-gcc-c++:
30444 @if [ -f ./gcc/Makefile ] ; then \
30445 r=`${PWD_COMMAND}`; export r; \
30446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30447 $(SET_LIB_PATH) \
30448 $(HOST_EXPORTS) \
30449 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
30450 else \
30451 true; \
30454 .PHONY: check-c++
30455 check-c++: check-target-libstdc++-v3 check-gcc-c++
30457 # Install the gcc headers files, but not the fixed include files,
30458 # which Cygnus is not allowed to distribute. This rule is very
30459 # dependent on the workings of the gcc Makefile.in.
30460 .PHONY: gcc-no-fixedincludes
30461 gcc-no-fixedincludes:
30462 @if [ -f ./gcc/Makefile ]; then \
30463 rm -rf gcc/tmp-include; \
30464 mv gcc/include gcc/tmp-include 2>/dev/null; \
30465 mkdir gcc/include; \
30466 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
30467 touch gcc/stmp-fixinc gcc/include/fixed; \
30468 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
30469 r=`${PWD_COMMAND}`; export r; \
30470 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30471 $(SET_LIB_PATH) \
30472 $(HOST_EXPORTS) \
30473 (cd ./gcc && \
30474 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
30475 rm -rf gcc/include; \
30476 mv gcc/tmp-include gcc/include 2>/dev/null; \
30477 else true; fi
30478 @endif gcc
30480 # ---------------------
30481 # GCC bootstrap support
30482 # ---------------------
30484 # We track the current stage (the one in 'gcc') in the stage_current file.
30485 # stage_last instead tracks the stage that was built last. These targets
30486 # are dummy when toplevel bootstrap is not active.
30488 .PHONY: unstage
30489 unstage:
30490 @if gcc-bootstrap
30491 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
30492 @endif gcc-bootstrap
30494 .PHONY: stage
30495 stage:
30496 @if gcc-bootstrap
30497 @$(MAKE) `cat stage_current`-end
30498 @endif gcc-bootstrap
30500 # We name the build directories for the various stages "stage1-gcc",
30501 # "stage2-gcc","stage3-gcc", etc.
30503 # Since the 'compare' process will fail (on debugging information) if any
30504 # directory names are different, we need to link the gcc directory for
30505 # the previous stage to a constant name ('gcc-prev'), and to make the name of
30506 # the build directories constant as well. For the latter, we use naked names
30507 # like 'gcc', because the scripts in that directory assume it. We use
30508 # mv on platforms where symlinks to directories do not work or are not
30509 # reliable.
30511 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
30512 # be kept, so that libraries can find it. Ick!
30514 # It would be best to preinstall gcc into a staging area (and in the
30515 # future, gather there all prebootstrap packages). This would allow
30516 # assemblers and linkers can be bootstrapped as well as the compiler
30517 # (both in a combined tree, or separately). This however requires some
30518 # change to the gcc driver, again in order to avoid comparison failures.
30520 # Bugs: This is crippled when doing parallel make, the `make all-host'
30521 # and `make all-target' phases can be parallelized.
30524 # 'touch' doesn't work right on some platforms.
30525 STAMP = echo timestamp >
30527 # Only build the C compiler for stage1, because that is the only one that
30528 # we can guarantee will build with the native compiler, and also it is the
30529 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
30530 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
30531 # overrideable (for a bootstrap build stage1 also builds gcc.info).
30533 STAGE1_CFLAGS=@stage1_cflags@
30534 STAGE1_LANGUAGES=@stage1_languages@
30536 # We only want to compare .o files, so set this!
30537 objext = .o
30539 # Flags to pass to stage2 and later makes.
30540 POSTSTAGE1_FLAGS_TO_PASS = \
30541 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
30542 STAGE_PREFIX=$$r/stage-gcc/ \
30543 CFLAGS="$(BOOT_CFLAGS)" \
30544 ADAC="\$$(CC)"
30546 # For stage 1:
30547 # * We force-disable intermodule optimizations, even if
30548 # --enable-intermodule was passed, since the installed compiler probably
30549 # can't handle them. Luckily, autoconf always respects
30550 # the last argument when conflicting --enable arguments are passed.
30551 # * Likewise, we force-disable coverage flags, since the installed compiler
30552 # probably has never heard of them.
30553 # * We build only C (and possibly Ada).
30556 .PHONY: stage1-start stage1-end
30558 stage1-start::
30559 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30560 echo stage1 > stage_current ; \
30561 echo stage1 > stage_last
30562 @if bfd
30563 @[ -d stage1-bfd ] || mkdir stage1-bfd; \
30564 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
30565 @endif bfd
30566 @if opcodes
30567 @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
30568 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
30569 @endif opcodes
30570 @if binutils
30571 @[ -d stage1-binutils ] || mkdir stage1-binutils; \
30572 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
30573 @endif binutils
30574 @if gas
30575 @[ -d stage1-gas ] || mkdir stage1-gas; \
30576 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
30577 @endif gas
30578 @if gcc
30579 @[ -d stage1-gcc ] || mkdir stage1-gcc; \
30580 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
30581 @endif gcc
30582 @if intl
30583 @[ -d stage1-intl ] || mkdir stage1-intl; \
30584 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
30585 @endif intl
30586 @if ld
30587 @[ -d stage1-ld ] || mkdir stage1-ld; \
30588 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
30589 @endif ld
30590 @if libcpp
30591 @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
30592 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
30593 @endif libcpp
30594 @if libiberty
30595 @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
30596 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
30597 @endif libiberty
30598 @if zlib
30599 @[ -d stage1-zlib ] || mkdir stage1-zlib; \
30600 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
30601 @endif zlib
30603 stage1-end::
30604 @rm -f stage_current
30605 @if bfd
30606 @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
30607 @endif bfd
30608 @if opcodes
30609 @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
30610 @endif opcodes
30611 @if binutils
30612 @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
30613 @endif binutils
30614 @if gas
30615 @set gas stage1-gas ; @UNDO_LINK_TO_DIR@
30616 @endif gas
30617 @if gcc
30618 @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
30619 @endif gcc
30620 @if intl
30621 @set intl stage1-intl ; @UNDO_LINK_TO_DIR@
30622 @endif intl
30623 @if ld
30624 @set ld stage1-ld ; @UNDO_LINK_TO_DIR@
30625 @endif ld
30626 @if libcpp
30627 @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
30628 @endif libcpp
30629 @if libiberty
30630 @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
30631 @endif libiberty
30632 @if zlib
30633 @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
30634 @endif zlib
30636 # Bubble a bugfix through all the stages up to stage 1. They
30637 # are remade, but not reconfigured. The next stage (if any) will not
30638 # be reconfigured as well.
30639 .PHONY: stage1-bubble
30640 stage1-bubble::
30641 @if test -f stage1-lean ; then \
30642 echo Skipping rebuild of stage1 ; \
30643 else \
30644 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
30647 .PHONY: all-stage1 clean-stage1
30648 all-stage1: \
30649 maybe-all-stage1-bfd \
30650 maybe-all-stage1-opcodes \
30651 maybe-all-stage1-binutils \
30652 maybe-all-stage1-gas \
30653 maybe-all-stage1-gcc \
30654 maybe-all-stage1-intl \
30655 maybe-all-stage1-ld \
30656 maybe-all-stage1-libcpp \
30657 maybe-all-stage1-libiberty \
30658 maybe-all-stage1-zlib
30660 do-clean: clean-stage1
30661 clean-stage1: \
30662 maybe-clean-stage1-bfd \
30663 maybe-clean-stage1-opcodes \
30664 maybe-clean-stage1-binutils \
30665 maybe-clean-stage1-gas \
30666 maybe-clean-stage1-gcc \
30667 maybe-clean-stage1-intl \
30668 maybe-clean-stage1-ld \
30669 maybe-clean-stage1-libcpp \
30670 maybe-clean-stage1-libiberty \
30671 maybe-clean-stage1-zlib
30674 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
30675 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
30676 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
30678 maybe-configure-stage1-bfd:
30679 maybe-all-stage1-bfd:
30680 maybe-clean-stage1-bfd:
30682 @if bfd-bootstrap
30683 maybe-configure-stage1-bfd: configure-stage1-bfd
30684 configure-stage1-bfd:
30685 @$(MAKE) stage1-start
30686 @[ -f bfd/Makefile ] && exit 0 || : ; \
30687 r=`${PWD_COMMAND}`; export r; \
30688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30689 $(HOST_EXPORTS) \
30690 echo Configuring stage 1 in bfd ; \
30691 cd bfd || exit 1; \
30692 case $(srcdir) in \
30693 \.) \
30694 srcdiroption="--srcdir=."; \
30695 libsrcdir=".";; \
30696 /* | [A-Za-z]:[\\/]*) \
30697 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30698 libsrcdir="$$s/bfd";; \
30699 *) \
30700 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30701 libsrcdir="$$s/bfd";; \
30702 esac; \
30703 $(SHELL) $${libsrcdir}/configure \
30704 $(HOST_CONFIGARGS) $${srcdiroption} \
30705 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30707 maybe-all-stage1-bfd: all-stage1-bfd
30708 all-stage1-bfd: configure-stage1-bfd
30709 @$(MAKE) stage1-start
30710 @r=`${PWD_COMMAND}`; export r; \
30711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30712 $(HOST_EXPORTS) \
30713 cd bfd && \
30714 $(MAKE) $(FLAGS_TO_PASS) \
30715 CFLAGS="$(STAGE1_CFLAGS)"
30717 maybe-clean-stage1-bfd: clean-stage1-bfd
30718 clean-stage1-bfd:
30719 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
30720 || exit 0 ; \
30721 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
30722 cd bfd && \
30723 $(MAKE) $(FLAGS_TO_PASS) \
30724 CFLAGS="$(STAGE1_CFLAGS)" clean
30725 @endif bfd-bootstrap
30728 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
30729 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
30730 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
30732 maybe-configure-stage1-opcodes:
30733 maybe-all-stage1-opcodes:
30734 maybe-clean-stage1-opcodes:
30736 @if opcodes-bootstrap
30737 maybe-configure-stage1-opcodes: configure-stage1-opcodes
30738 configure-stage1-opcodes:
30739 @$(MAKE) stage1-start
30740 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30741 r=`${PWD_COMMAND}`; export r; \
30742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30743 $(HOST_EXPORTS) \
30744 echo Configuring stage 1 in opcodes ; \
30745 cd opcodes || exit 1; \
30746 case $(srcdir) in \
30747 \.) \
30748 srcdiroption="--srcdir=."; \
30749 libsrcdir=".";; \
30750 /* | [A-Za-z]:[\\/]*) \
30751 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30752 libsrcdir="$$s/opcodes";; \
30753 *) \
30754 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30755 libsrcdir="$$s/opcodes";; \
30756 esac; \
30757 $(SHELL) $${libsrcdir}/configure \
30758 $(HOST_CONFIGARGS) $${srcdiroption} \
30759 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30761 maybe-all-stage1-opcodes: all-stage1-opcodes
30762 all-stage1-opcodes: configure-stage1-opcodes
30763 @$(MAKE) stage1-start
30764 @r=`${PWD_COMMAND}`; export r; \
30765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30766 $(HOST_EXPORTS) \
30767 cd opcodes && \
30768 $(MAKE) $(FLAGS_TO_PASS) \
30769 CFLAGS="$(STAGE1_CFLAGS)"
30771 maybe-clean-stage1-opcodes: clean-stage1-opcodes
30772 clean-stage1-opcodes:
30773 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
30774 || exit 0 ; \
30775 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
30776 cd opcodes && \
30777 $(MAKE) $(FLAGS_TO_PASS) \
30778 CFLAGS="$(STAGE1_CFLAGS)" clean
30779 @endif opcodes-bootstrap
30782 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
30783 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
30784 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
30786 maybe-configure-stage1-binutils:
30787 maybe-all-stage1-binutils:
30788 maybe-clean-stage1-binutils:
30790 @if binutils-bootstrap
30791 maybe-configure-stage1-binutils: configure-stage1-binutils
30792 configure-stage1-binutils:
30793 @$(MAKE) stage1-start
30794 @[ -f binutils/Makefile ] && exit 0 || : ; \
30795 r=`${PWD_COMMAND}`; export r; \
30796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30797 $(HOST_EXPORTS) \
30798 echo Configuring stage 1 in binutils ; \
30799 cd binutils || exit 1; \
30800 case $(srcdir) in \
30801 \.) \
30802 srcdiroption="--srcdir=."; \
30803 libsrcdir=".";; \
30804 /* | [A-Za-z]:[\\/]*) \
30805 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30806 libsrcdir="$$s/binutils";; \
30807 *) \
30808 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30809 libsrcdir="$$s/binutils";; \
30810 esac; \
30811 $(SHELL) $${libsrcdir}/configure \
30812 $(HOST_CONFIGARGS) $${srcdiroption} \
30813 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30815 maybe-all-stage1-binutils: all-stage1-binutils
30816 all-stage1-binutils: configure-stage1-binutils
30817 @$(MAKE) stage1-start
30818 @r=`${PWD_COMMAND}`; export r; \
30819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30820 $(HOST_EXPORTS) \
30821 cd binutils && \
30822 $(MAKE) $(FLAGS_TO_PASS) \
30823 CFLAGS="$(STAGE1_CFLAGS)"
30825 maybe-clean-stage1-binutils: clean-stage1-binutils
30826 clean-stage1-binutils:
30827 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
30828 || exit 0 ; \
30829 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
30830 cd binutils && \
30831 $(MAKE) $(FLAGS_TO_PASS) \
30832 CFLAGS="$(STAGE1_CFLAGS)" clean
30833 @endif binutils-bootstrap
30836 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
30837 .PHONY: all-stage1-gas maybe-all-stage1-gas
30838 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
30840 maybe-configure-stage1-gas:
30841 maybe-all-stage1-gas:
30842 maybe-clean-stage1-gas:
30844 @if gas-bootstrap
30845 maybe-configure-stage1-gas: configure-stage1-gas
30846 configure-stage1-gas:
30847 @$(MAKE) stage1-start
30848 @[ -f gas/Makefile ] && exit 0 || : ; \
30849 r=`${PWD_COMMAND}`; export r; \
30850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30851 $(HOST_EXPORTS) \
30852 echo Configuring stage 1 in gas ; \
30853 cd gas || exit 1; \
30854 case $(srcdir) in \
30855 \.) \
30856 srcdiroption="--srcdir=."; \
30857 libsrcdir=".";; \
30858 /* | [A-Za-z]:[\\/]*) \
30859 srcdiroption="--srcdir=$(srcdir)/gas"; \
30860 libsrcdir="$$s/gas";; \
30861 *) \
30862 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30863 libsrcdir="$$s/gas";; \
30864 esac; \
30865 $(SHELL) $${libsrcdir}/configure \
30866 $(HOST_CONFIGARGS) $${srcdiroption} \
30867 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30869 maybe-all-stage1-gas: all-stage1-gas
30870 all-stage1-gas: configure-stage1-gas
30871 @$(MAKE) stage1-start
30872 @r=`${PWD_COMMAND}`; export r; \
30873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30874 $(HOST_EXPORTS) \
30875 cd gas && \
30876 $(MAKE) $(FLAGS_TO_PASS) \
30877 CFLAGS="$(STAGE1_CFLAGS)"
30879 maybe-clean-stage1-gas: clean-stage1-gas
30880 clean-stage1-gas:
30881 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
30882 || exit 0 ; \
30883 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
30884 cd gas && \
30885 $(MAKE) $(FLAGS_TO_PASS) \
30886 CFLAGS="$(STAGE1_CFLAGS)" clean
30887 @endif gas-bootstrap
30890 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
30891 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
30892 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
30894 maybe-configure-stage1-gcc:
30895 maybe-all-stage1-gcc:
30896 maybe-clean-stage1-gcc:
30898 @if gcc-bootstrap
30899 maybe-configure-stage1-gcc: configure-stage1-gcc
30900 configure-stage1-gcc:
30901 @$(MAKE) stage1-start
30902 @[ -f gcc/Makefile ] && exit 0 || : ; \
30903 r=`${PWD_COMMAND}`; export r; \
30904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30905 $(HOST_EXPORTS) \
30906 echo Configuring stage 1 in gcc ; \
30907 cd gcc || exit 1; \
30908 case $(srcdir) in \
30909 \.) \
30910 srcdiroption="--srcdir=."; \
30911 libsrcdir=".";; \
30912 /* | [A-Za-z]:[\\/]*) \
30913 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30914 libsrcdir="$$s/gcc";; \
30915 *) \
30916 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30917 libsrcdir="$$s/gcc";; \
30918 esac; \
30919 $(SHELL) $${libsrcdir}/configure \
30920 $(HOST_CONFIGARGS) $${srcdiroption} \
30921 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30923 maybe-all-stage1-gcc: all-stage1-gcc
30924 all-stage1-gcc: configure-stage1-gcc
30925 @$(MAKE) stage1-start
30926 @r=`${PWD_COMMAND}`; export r; \
30927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30928 $(HOST_EXPORTS) \
30929 cd gcc && \
30930 $(MAKE) $(FLAGS_TO_PASS) \
30931 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
30933 maybe-clean-stage1-gcc: clean-stage1-gcc
30934 clean-stage1-gcc:
30935 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
30936 || exit 0 ; \
30937 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
30938 cd gcc && \
30939 $(MAKE) $(FLAGS_TO_PASS) \
30940 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
30941 @endif gcc-bootstrap
30944 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
30945 .PHONY: all-stage1-intl maybe-all-stage1-intl
30946 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
30948 maybe-configure-stage1-intl:
30949 maybe-all-stage1-intl:
30950 maybe-clean-stage1-intl:
30952 @if intl-bootstrap
30953 maybe-configure-stage1-intl: configure-stage1-intl
30954 configure-stage1-intl:
30955 @$(MAKE) stage1-start
30956 @[ -f intl/Makefile ] && exit 0 || : ; \
30957 r=`${PWD_COMMAND}`; export r; \
30958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30959 $(HOST_EXPORTS) \
30960 echo Configuring stage 1 in intl ; \
30961 cd intl || exit 1; \
30962 case $(srcdir) in \
30963 \.) \
30964 srcdiroption="--srcdir=."; \
30965 libsrcdir=".";; \
30966 /* | [A-Za-z]:[\\/]*) \
30967 srcdiroption="--srcdir=$(srcdir)/intl"; \
30968 libsrcdir="$$s/intl";; \
30969 *) \
30970 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30971 libsrcdir="$$s/intl";; \
30972 esac; \
30973 $(SHELL) $${libsrcdir}/configure \
30974 $(HOST_CONFIGARGS) $${srcdiroption} \
30975 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30977 maybe-all-stage1-intl: all-stage1-intl
30978 all-stage1-intl: configure-stage1-intl
30979 @$(MAKE) stage1-start
30980 @r=`${PWD_COMMAND}`; export r; \
30981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30982 $(HOST_EXPORTS) \
30983 cd intl && \
30984 $(MAKE) $(FLAGS_TO_PASS) \
30985 CFLAGS="$(STAGE1_CFLAGS)"
30987 maybe-clean-stage1-intl: clean-stage1-intl
30988 clean-stage1-intl:
30989 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
30990 || exit 0 ; \
30991 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
30992 cd intl && \
30993 $(MAKE) $(FLAGS_TO_PASS) \
30994 CFLAGS="$(STAGE1_CFLAGS)" clean
30995 @endif intl-bootstrap
30998 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
30999 .PHONY: all-stage1-ld maybe-all-stage1-ld
31000 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
31002 maybe-configure-stage1-ld:
31003 maybe-all-stage1-ld:
31004 maybe-clean-stage1-ld:
31006 @if ld-bootstrap
31007 maybe-configure-stage1-ld: configure-stage1-ld
31008 configure-stage1-ld:
31009 @$(MAKE) stage1-start
31010 @[ -f ld/Makefile ] && exit 0 || : ; \
31011 r=`${PWD_COMMAND}`; export r; \
31012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31013 $(HOST_EXPORTS) \
31014 echo Configuring stage 1 in ld ; \
31015 cd ld || exit 1; \
31016 case $(srcdir) in \
31017 \.) \
31018 srcdiroption="--srcdir=."; \
31019 libsrcdir=".";; \
31020 /* | [A-Za-z]:[\\/]*) \
31021 srcdiroption="--srcdir=$(srcdir)/ld"; \
31022 libsrcdir="$$s/ld";; \
31023 *) \
31024 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31025 libsrcdir="$$s/ld";; \
31026 esac; \
31027 $(SHELL) $${libsrcdir}/configure \
31028 $(HOST_CONFIGARGS) $${srcdiroption} \
31029 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31031 maybe-all-stage1-ld: all-stage1-ld
31032 all-stage1-ld: configure-stage1-ld
31033 @$(MAKE) stage1-start
31034 @r=`${PWD_COMMAND}`; export r; \
31035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31036 $(HOST_EXPORTS) \
31037 cd ld && \
31038 $(MAKE) $(FLAGS_TO_PASS) \
31039 CFLAGS="$(STAGE1_CFLAGS)"
31041 maybe-clean-stage1-ld: clean-stage1-ld
31042 clean-stage1-ld:
31043 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
31044 || exit 0 ; \
31045 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
31046 cd ld && \
31047 $(MAKE) $(FLAGS_TO_PASS) \
31048 CFLAGS="$(STAGE1_CFLAGS)" clean
31049 @endif ld-bootstrap
31052 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
31053 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
31054 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
31056 maybe-configure-stage1-libcpp:
31057 maybe-all-stage1-libcpp:
31058 maybe-clean-stage1-libcpp:
31060 @if libcpp-bootstrap
31061 maybe-configure-stage1-libcpp: configure-stage1-libcpp
31062 configure-stage1-libcpp:
31063 @$(MAKE) stage1-start
31064 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31065 r=`${PWD_COMMAND}`; export r; \
31066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31067 $(HOST_EXPORTS) \
31068 echo Configuring stage 1 in libcpp ; \
31069 cd libcpp || exit 1; \
31070 case $(srcdir) in \
31071 \.) \
31072 srcdiroption="--srcdir=."; \
31073 libsrcdir=".";; \
31074 /* | [A-Za-z]:[\\/]*) \
31075 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31076 libsrcdir="$$s/libcpp";; \
31077 *) \
31078 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31079 libsrcdir="$$s/libcpp";; \
31080 esac; \
31081 $(SHELL) $${libsrcdir}/configure \
31082 $(HOST_CONFIGARGS) $${srcdiroption} \
31083 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31085 maybe-all-stage1-libcpp: all-stage1-libcpp
31086 all-stage1-libcpp: configure-stage1-libcpp
31087 @$(MAKE) stage1-start
31088 @r=`${PWD_COMMAND}`; export r; \
31089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31090 $(HOST_EXPORTS) \
31091 cd libcpp && \
31092 $(MAKE) $(FLAGS_TO_PASS) \
31093 CFLAGS="$(STAGE1_CFLAGS)"
31095 maybe-clean-stage1-libcpp: clean-stage1-libcpp
31096 clean-stage1-libcpp:
31097 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
31098 || exit 0 ; \
31099 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
31100 cd libcpp && \
31101 $(MAKE) $(FLAGS_TO_PASS) \
31102 CFLAGS="$(STAGE1_CFLAGS)" clean
31103 @endif libcpp-bootstrap
31106 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
31107 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
31108 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
31110 maybe-configure-stage1-libiberty:
31111 maybe-all-stage1-libiberty:
31112 maybe-clean-stage1-libiberty:
31114 @if libiberty-bootstrap
31115 maybe-configure-stage1-libiberty: configure-stage1-libiberty
31116 configure-stage1-libiberty:
31117 @$(MAKE) stage1-start
31118 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31119 r=`${PWD_COMMAND}`; export r; \
31120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31121 $(HOST_EXPORTS) \
31122 echo Configuring stage 1 in libiberty ; \
31123 cd libiberty || exit 1; \
31124 case $(srcdir) in \
31125 \.) \
31126 srcdiroption="--srcdir=."; \
31127 libsrcdir=".";; \
31128 /* | [A-Za-z]:[\\/]*) \
31129 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31130 libsrcdir="$$s/libiberty";; \
31131 *) \
31132 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31133 libsrcdir="$$s/libiberty";; \
31134 esac; \
31135 $(SHELL) $${libsrcdir}/configure \
31136 $(HOST_CONFIGARGS) $${srcdiroption} \
31137 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31139 maybe-all-stage1-libiberty: all-stage1-libiberty
31140 all-stage1-libiberty: configure-stage1-libiberty
31141 @$(MAKE) stage1-start
31142 @r=`${PWD_COMMAND}`; export r; \
31143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31144 $(HOST_EXPORTS) \
31145 cd libiberty && \
31146 $(MAKE) $(FLAGS_TO_PASS) \
31147 CFLAGS="$(STAGE1_CFLAGS)"
31149 maybe-clean-stage1-libiberty: clean-stage1-libiberty
31150 clean-stage1-libiberty:
31151 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
31152 || exit 0 ; \
31153 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
31154 cd libiberty && \
31155 $(MAKE) $(FLAGS_TO_PASS) \
31156 CFLAGS="$(STAGE1_CFLAGS)" clean
31157 @endif libiberty-bootstrap
31160 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31161 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
31162 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
31164 maybe-configure-stage1-zlib:
31165 maybe-all-stage1-zlib:
31166 maybe-clean-stage1-zlib:
31168 @if zlib-bootstrap
31169 maybe-configure-stage1-zlib: configure-stage1-zlib
31170 configure-stage1-zlib:
31171 @$(MAKE) stage1-start
31172 @[ -f zlib/Makefile ] && exit 0 || : ; \
31173 r=`${PWD_COMMAND}`; export r; \
31174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31175 $(HOST_EXPORTS) \
31176 echo Configuring stage 1 in zlib ; \
31177 cd zlib || exit 1; \
31178 case $(srcdir) in \
31179 \.) \
31180 srcdiroption="--srcdir=."; \
31181 libsrcdir=".";; \
31182 /* | [A-Za-z]:[\\/]*) \
31183 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31184 libsrcdir="$$s/zlib";; \
31185 *) \
31186 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31187 libsrcdir="$$s/zlib";; \
31188 esac; \
31189 $(SHELL) $${libsrcdir}/configure \
31190 $(HOST_CONFIGARGS) $${srcdiroption} \
31191 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31193 maybe-all-stage1-zlib: all-stage1-zlib
31194 all-stage1-zlib: configure-stage1-zlib
31195 @$(MAKE) stage1-start
31196 @r=`${PWD_COMMAND}`; export r; \
31197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31198 $(HOST_EXPORTS) \
31199 cd zlib && \
31200 $(MAKE) $(FLAGS_TO_PASS) \
31201 CFLAGS="$(STAGE1_CFLAGS)"
31203 maybe-clean-stage1-zlib: clean-stage1-zlib
31204 clean-stage1-zlib:
31205 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
31206 || exit 0 ; \
31207 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
31208 cd zlib && \
31209 $(MAKE) $(FLAGS_TO_PASS) \
31210 CFLAGS="$(STAGE1_CFLAGS)" clean
31211 @endif zlib-bootstrap
31215 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31216 # only possibility, but now it conflicts with no-bootstrap rules
31217 @if gcc-bootstrap
31222 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31224 .PHONY: distclean-stage1
31225 distclean-stage1::
31226 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31227 rm -rf stage1-*
31230 @endif gcc-bootstrap
31233 .PHONY: stage2-start stage2-end
31235 stage2-start::
31236 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31237 echo stage2 > stage_current ; \
31238 echo stage2 > stage_last
31239 @if bfd
31240 @[ -d stage2-bfd ] || mkdir stage2-bfd; \
31241 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31242 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31243 @endif bfd
31244 @if opcodes
31245 @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
31246 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31247 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31248 @endif opcodes
31249 @if binutils
31250 @[ -d stage2-binutils ] || mkdir stage2-binutils; \
31251 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31252 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31253 @endif binutils
31254 @if gas
31255 @[ -d stage2-gas ] || mkdir stage2-gas; \
31256 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31257 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31258 @endif gas
31259 @if gcc
31260 @[ -d stage2-gcc ] || mkdir stage2-gcc; \
31261 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31262 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31263 @endif gcc
31264 @if intl
31265 @[ -d stage2-intl ] || mkdir stage2-intl; \
31266 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31267 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31268 @endif intl
31269 @if ld
31270 @[ -d stage2-ld ] || mkdir stage2-ld; \
31271 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31272 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31273 @endif ld
31274 @if libcpp
31275 @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
31276 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31277 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31278 @endif libcpp
31279 @if libiberty
31280 @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
31281 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31282 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31283 @endif libiberty
31284 @if zlib
31285 @[ -d stage2-zlib ] || mkdir stage2-zlib; \
31286 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31287 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31288 @endif zlib
31290 stage2-end::
31291 @rm -f stage_current
31292 @if bfd
31293 @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
31294 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31295 @endif bfd
31296 @if opcodes
31297 @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31298 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31299 @endif opcodes
31300 @if binutils
31301 @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
31302 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31303 @endif binutils
31304 @if gas
31305 @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
31306 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31307 @endif gas
31308 @if gcc
31309 @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
31310 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31311 @endif gcc
31312 @if intl
31313 @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
31314 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31315 @endif intl
31316 @if ld
31317 @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
31318 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31319 @endif ld
31320 @if libcpp
31321 @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31322 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31323 @endif libcpp
31324 @if libiberty
31325 @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31326 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31327 @endif libiberty
31328 @if zlib
31329 @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
31330 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31331 @endif zlib
31333 # Bubble a bugfix through all the stages up to stage 2. They
31334 # are remade, but not reconfigured. The next stage (if any) will not
31335 # be reconfigured as well.
31336 .PHONY: stage2-bubble
31337 stage2-bubble:: stage1-bubble
31338 @if test -f stage2-lean || test -f stage1-lean ; then \
31339 echo Skipping rebuild of stage2 ; \
31340 else \
31341 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
31344 .PHONY: all-stage2 clean-stage2
31345 all-stage2: \
31346 maybe-all-stage2-bfd \
31347 maybe-all-stage2-opcodes \
31348 maybe-all-stage2-binutils \
31349 maybe-all-stage2-gas \
31350 maybe-all-stage2-gcc \
31351 maybe-all-stage2-intl \
31352 maybe-all-stage2-ld \
31353 maybe-all-stage2-libcpp \
31354 maybe-all-stage2-libiberty \
31355 maybe-all-stage2-zlib
31357 do-clean: clean-stage2
31358 clean-stage2: \
31359 maybe-clean-stage2-bfd \
31360 maybe-clean-stage2-opcodes \
31361 maybe-clean-stage2-binutils \
31362 maybe-clean-stage2-gas \
31363 maybe-clean-stage2-gcc \
31364 maybe-clean-stage2-intl \
31365 maybe-clean-stage2-ld \
31366 maybe-clean-stage2-libcpp \
31367 maybe-clean-stage2-libiberty \
31368 maybe-clean-stage2-zlib
31371 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
31372 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
31373 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
31375 maybe-configure-stage2-bfd:
31376 maybe-all-stage2-bfd:
31377 maybe-clean-stage2-bfd:
31379 @if bfd-bootstrap
31380 maybe-configure-stage2-bfd: configure-stage2-bfd
31381 configure-stage2-bfd:
31382 @$(MAKE) stage2-start
31383 @[ -f bfd/Makefile ] && exit 0 || : ; \
31384 r=`${PWD_COMMAND}`; export r; \
31385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31386 $(STAGE_HOST_EXPORTS) \
31387 echo Configuring stage 2 in bfd ; \
31388 cd bfd || exit 1; \
31389 case $(srcdir) in \
31390 \.) \
31391 srcdiroption="--srcdir=."; \
31392 libsrcdir=".";; \
31393 /* | [A-Za-z]:[\\/]*) \
31394 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31395 libsrcdir="$$s/bfd";; \
31396 *) \
31397 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31398 libsrcdir="$$s/bfd";; \
31399 esac; \
31400 $(SHELL) $${libsrcdir}/configure \
31401 $(HOST_CONFIGARGS) $${srcdiroption} \
31402 @stage2_werror_flag@
31404 maybe-all-stage2-bfd: all-stage2-bfd
31405 all-stage2-bfd: configure-stage2-bfd
31406 @$(MAKE) stage2-start
31407 @r=`${PWD_COMMAND}`; export r; \
31408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31409 $(STAGE_HOST_EXPORTS) \
31410 cd bfd && \
31411 $(MAKE) $(FLAGS_TO_PASS) \
31412 $(POSTSTAGE1_FLAGS_TO_PASS) \
31415 maybe-clean-stage2-bfd: clean-stage2-bfd
31416 clean-stage2-bfd:
31417 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
31418 || exit 0 ; \
31419 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
31420 cd bfd && \
31421 $(MAKE) $(FLAGS_TO_PASS) \
31422 $(POSTSTAGE1_FLAGS_TO_PASS) \
31423 clean
31424 @endif bfd-bootstrap
31427 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
31428 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
31429 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
31431 maybe-configure-stage2-opcodes:
31432 maybe-all-stage2-opcodes:
31433 maybe-clean-stage2-opcodes:
31435 @if opcodes-bootstrap
31436 maybe-configure-stage2-opcodes: configure-stage2-opcodes
31437 configure-stage2-opcodes:
31438 @$(MAKE) stage2-start
31439 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31440 r=`${PWD_COMMAND}`; export r; \
31441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31442 $(STAGE_HOST_EXPORTS) \
31443 echo Configuring stage 2 in opcodes ; \
31444 cd opcodes || exit 1; \
31445 case $(srcdir) in \
31446 \.) \
31447 srcdiroption="--srcdir=."; \
31448 libsrcdir=".";; \
31449 /* | [A-Za-z]:[\\/]*) \
31450 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31451 libsrcdir="$$s/opcodes";; \
31452 *) \
31453 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31454 libsrcdir="$$s/opcodes";; \
31455 esac; \
31456 $(SHELL) $${libsrcdir}/configure \
31457 $(HOST_CONFIGARGS) $${srcdiroption} \
31458 @stage2_werror_flag@
31460 maybe-all-stage2-opcodes: all-stage2-opcodes
31461 all-stage2-opcodes: configure-stage2-opcodes
31462 @$(MAKE) stage2-start
31463 @r=`${PWD_COMMAND}`; export r; \
31464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31465 $(STAGE_HOST_EXPORTS) \
31466 cd opcodes && \
31467 $(MAKE) $(FLAGS_TO_PASS) \
31468 $(POSTSTAGE1_FLAGS_TO_PASS) \
31471 maybe-clean-stage2-opcodes: clean-stage2-opcodes
31472 clean-stage2-opcodes:
31473 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
31474 || exit 0 ; \
31475 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
31476 cd opcodes && \
31477 $(MAKE) $(FLAGS_TO_PASS) \
31478 $(POSTSTAGE1_FLAGS_TO_PASS) \
31479 clean
31480 @endif opcodes-bootstrap
31483 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
31484 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
31485 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
31487 maybe-configure-stage2-binutils:
31488 maybe-all-stage2-binutils:
31489 maybe-clean-stage2-binutils:
31491 @if binutils-bootstrap
31492 maybe-configure-stage2-binutils: configure-stage2-binutils
31493 configure-stage2-binutils:
31494 @$(MAKE) stage2-start
31495 @[ -f binutils/Makefile ] && exit 0 || : ; \
31496 r=`${PWD_COMMAND}`; export r; \
31497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31498 $(STAGE_HOST_EXPORTS) \
31499 echo Configuring stage 2 in binutils ; \
31500 cd binutils || exit 1; \
31501 case $(srcdir) in \
31502 \.) \
31503 srcdiroption="--srcdir=."; \
31504 libsrcdir=".";; \
31505 /* | [A-Za-z]:[\\/]*) \
31506 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31507 libsrcdir="$$s/binutils";; \
31508 *) \
31509 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31510 libsrcdir="$$s/binutils";; \
31511 esac; \
31512 $(SHELL) $${libsrcdir}/configure \
31513 $(HOST_CONFIGARGS) $${srcdiroption} \
31514 @stage2_werror_flag@
31516 maybe-all-stage2-binutils: all-stage2-binutils
31517 all-stage2-binutils: configure-stage2-binutils
31518 @$(MAKE) stage2-start
31519 @r=`${PWD_COMMAND}`; export r; \
31520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31521 $(STAGE_HOST_EXPORTS) \
31522 cd binutils && \
31523 $(MAKE) $(FLAGS_TO_PASS) \
31524 $(POSTSTAGE1_FLAGS_TO_PASS) \
31527 maybe-clean-stage2-binutils: clean-stage2-binutils
31528 clean-stage2-binutils:
31529 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
31530 || exit 0 ; \
31531 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
31532 cd binutils && \
31533 $(MAKE) $(FLAGS_TO_PASS) \
31534 $(POSTSTAGE1_FLAGS_TO_PASS) \
31535 clean
31536 @endif binutils-bootstrap
31539 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
31540 .PHONY: all-stage2-gas maybe-all-stage2-gas
31541 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
31543 maybe-configure-stage2-gas:
31544 maybe-all-stage2-gas:
31545 maybe-clean-stage2-gas:
31547 @if gas-bootstrap
31548 maybe-configure-stage2-gas: configure-stage2-gas
31549 configure-stage2-gas:
31550 @$(MAKE) stage2-start
31551 @[ -f gas/Makefile ] && exit 0 || : ; \
31552 r=`${PWD_COMMAND}`; export r; \
31553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31554 $(STAGE_HOST_EXPORTS) \
31555 echo Configuring stage 2 in gas ; \
31556 cd gas || exit 1; \
31557 case $(srcdir) in \
31558 \.) \
31559 srcdiroption="--srcdir=."; \
31560 libsrcdir=".";; \
31561 /* | [A-Za-z]:[\\/]*) \
31562 srcdiroption="--srcdir=$(srcdir)/gas"; \
31563 libsrcdir="$$s/gas";; \
31564 *) \
31565 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31566 libsrcdir="$$s/gas";; \
31567 esac; \
31568 $(SHELL) $${libsrcdir}/configure \
31569 $(HOST_CONFIGARGS) $${srcdiroption} \
31570 @stage2_werror_flag@
31572 maybe-all-stage2-gas: all-stage2-gas
31573 all-stage2-gas: configure-stage2-gas
31574 @$(MAKE) stage2-start
31575 @r=`${PWD_COMMAND}`; export r; \
31576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31577 $(STAGE_HOST_EXPORTS) \
31578 cd gas && \
31579 $(MAKE) $(FLAGS_TO_PASS) \
31580 $(POSTSTAGE1_FLAGS_TO_PASS) \
31583 maybe-clean-stage2-gas: clean-stage2-gas
31584 clean-stage2-gas:
31585 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
31586 || exit 0 ; \
31587 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
31588 cd gas && \
31589 $(MAKE) $(FLAGS_TO_PASS) \
31590 $(POSTSTAGE1_FLAGS_TO_PASS) \
31591 clean
31592 @endif gas-bootstrap
31595 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
31596 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
31597 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
31599 maybe-configure-stage2-gcc:
31600 maybe-all-stage2-gcc:
31601 maybe-clean-stage2-gcc:
31603 @if gcc-bootstrap
31604 maybe-configure-stage2-gcc: configure-stage2-gcc
31605 configure-stage2-gcc:
31606 @$(MAKE) stage2-start
31607 @[ -f gcc/Makefile ] && exit 0 || : ; \
31608 r=`${PWD_COMMAND}`; export r; \
31609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31610 $(STAGE_HOST_EXPORTS) \
31611 echo Configuring stage 2 in gcc ; \
31612 cd gcc || exit 1; \
31613 case $(srcdir) in \
31614 \.) \
31615 srcdiroption="--srcdir=."; \
31616 libsrcdir=".";; \
31617 /* | [A-Za-z]:[\\/]*) \
31618 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31619 libsrcdir="$$s/gcc";; \
31620 *) \
31621 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31622 libsrcdir="$$s/gcc";; \
31623 esac; \
31624 $(SHELL) $${libsrcdir}/configure \
31625 $(HOST_CONFIGARGS) $${srcdiroption} \
31626 @stage2_werror_flag@
31628 maybe-all-stage2-gcc: all-stage2-gcc
31629 all-stage2-gcc: configure-stage2-gcc
31630 @$(MAKE) stage2-start
31631 @r=`${PWD_COMMAND}`; export r; \
31632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31633 $(STAGE_HOST_EXPORTS) \
31634 cd gcc && \
31635 $(MAKE) $(FLAGS_TO_PASS) \
31636 $(POSTSTAGE1_FLAGS_TO_PASS) \
31637 $(EXTRA_GCC_FLAGS)
31639 maybe-clean-stage2-gcc: clean-stage2-gcc
31640 clean-stage2-gcc:
31641 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
31642 || exit 0 ; \
31643 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
31644 cd gcc && \
31645 $(MAKE) $(FLAGS_TO_PASS) \
31646 $(POSTSTAGE1_FLAGS_TO_PASS) \
31647 $(EXTRA_GCC_FLAGS) clean
31648 @endif gcc-bootstrap
31651 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
31652 .PHONY: all-stage2-intl maybe-all-stage2-intl
31653 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
31655 maybe-configure-stage2-intl:
31656 maybe-all-stage2-intl:
31657 maybe-clean-stage2-intl:
31659 @if intl-bootstrap
31660 maybe-configure-stage2-intl: configure-stage2-intl
31661 configure-stage2-intl:
31662 @$(MAKE) stage2-start
31663 @[ -f intl/Makefile ] && exit 0 || : ; \
31664 r=`${PWD_COMMAND}`; export r; \
31665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31666 $(STAGE_HOST_EXPORTS) \
31667 echo Configuring stage 2 in intl ; \
31668 cd intl || exit 1; \
31669 case $(srcdir) in \
31670 \.) \
31671 srcdiroption="--srcdir=."; \
31672 libsrcdir=".";; \
31673 /* | [A-Za-z]:[\\/]*) \
31674 srcdiroption="--srcdir=$(srcdir)/intl"; \
31675 libsrcdir="$$s/intl";; \
31676 *) \
31677 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31678 libsrcdir="$$s/intl";; \
31679 esac; \
31680 $(SHELL) $${libsrcdir}/configure \
31681 $(HOST_CONFIGARGS) $${srcdiroption} \
31682 @stage2_werror_flag@
31684 maybe-all-stage2-intl: all-stage2-intl
31685 all-stage2-intl: configure-stage2-intl
31686 @$(MAKE) stage2-start
31687 @r=`${PWD_COMMAND}`; export r; \
31688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31689 $(STAGE_HOST_EXPORTS) \
31690 cd intl && \
31691 $(MAKE) $(FLAGS_TO_PASS) \
31692 $(POSTSTAGE1_FLAGS_TO_PASS) \
31695 maybe-clean-stage2-intl: clean-stage2-intl
31696 clean-stage2-intl:
31697 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
31698 || exit 0 ; \
31699 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
31700 cd intl && \
31701 $(MAKE) $(FLAGS_TO_PASS) \
31702 $(POSTSTAGE1_FLAGS_TO_PASS) \
31703 clean
31704 @endif intl-bootstrap
31707 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
31708 .PHONY: all-stage2-ld maybe-all-stage2-ld
31709 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
31711 maybe-configure-stage2-ld:
31712 maybe-all-stage2-ld:
31713 maybe-clean-stage2-ld:
31715 @if ld-bootstrap
31716 maybe-configure-stage2-ld: configure-stage2-ld
31717 configure-stage2-ld:
31718 @$(MAKE) stage2-start
31719 @[ -f ld/Makefile ] && exit 0 || : ; \
31720 r=`${PWD_COMMAND}`; export r; \
31721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31722 $(STAGE_HOST_EXPORTS) \
31723 echo Configuring stage 2 in ld ; \
31724 cd ld || exit 1; \
31725 case $(srcdir) in \
31726 \.) \
31727 srcdiroption="--srcdir=."; \
31728 libsrcdir=".";; \
31729 /* | [A-Za-z]:[\\/]*) \
31730 srcdiroption="--srcdir=$(srcdir)/ld"; \
31731 libsrcdir="$$s/ld";; \
31732 *) \
31733 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31734 libsrcdir="$$s/ld";; \
31735 esac; \
31736 $(SHELL) $${libsrcdir}/configure \
31737 $(HOST_CONFIGARGS) $${srcdiroption} \
31738 @stage2_werror_flag@
31740 maybe-all-stage2-ld: all-stage2-ld
31741 all-stage2-ld: configure-stage2-ld
31742 @$(MAKE) stage2-start
31743 @r=`${PWD_COMMAND}`; export r; \
31744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31745 $(STAGE_HOST_EXPORTS) \
31746 cd ld && \
31747 $(MAKE) $(FLAGS_TO_PASS) \
31748 $(POSTSTAGE1_FLAGS_TO_PASS) \
31751 maybe-clean-stage2-ld: clean-stage2-ld
31752 clean-stage2-ld:
31753 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
31754 || exit 0 ; \
31755 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
31756 cd ld && \
31757 $(MAKE) $(FLAGS_TO_PASS) \
31758 $(POSTSTAGE1_FLAGS_TO_PASS) \
31759 clean
31760 @endif ld-bootstrap
31763 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
31764 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
31765 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
31767 maybe-configure-stage2-libcpp:
31768 maybe-all-stage2-libcpp:
31769 maybe-clean-stage2-libcpp:
31771 @if libcpp-bootstrap
31772 maybe-configure-stage2-libcpp: configure-stage2-libcpp
31773 configure-stage2-libcpp:
31774 @$(MAKE) stage2-start
31775 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31776 r=`${PWD_COMMAND}`; export r; \
31777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31778 $(STAGE_HOST_EXPORTS) \
31779 echo Configuring stage 2 in libcpp ; \
31780 cd libcpp || exit 1; \
31781 case $(srcdir) in \
31782 \.) \
31783 srcdiroption="--srcdir=."; \
31784 libsrcdir=".";; \
31785 /* | [A-Za-z]:[\\/]*) \
31786 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31787 libsrcdir="$$s/libcpp";; \
31788 *) \
31789 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31790 libsrcdir="$$s/libcpp";; \
31791 esac; \
31792 $(SHELL) $${libsrcdir}/configure \
31793 $(HOST_CONFIGARGS) $${srcdiroption} \
31794 @stage2_werror_flag@
31796 maybe-all-stage2-libcpp: all-stage2-libcpp
31797 all-stage2-libcpp: configure-stage2-libcpp
31798 @$(MAKE) stage2-start
31799 @r=`${PWD_COMMAND}`; export r; \
31800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31801 $(STAGE_HOST_EXPORTS) \
31802 cd libcpp && \
31803 $(MAKE) $(FLAGS_TO_PASS) \
31804 $(POSTSTAGE1_FLAGS_TO_PASS) \
31807 maybe-clean-stage2-libcpp: clean-stage2-libcpp
31808 clean-stage2-libcpp:
31809 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
31810 || exit 0 ; \
31811 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
31812 cd libcpp && \
31813 $(MAKE) $(FLAGS_TO_PASS) \
31814 $(POSTSTAGE1_FLAGS_TO_PASS) \
31815 clean
31816 @endif libcpp-bootstrap
31819 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
31820 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
31821 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
31823 maybe-configure-stage2-libiberty:
31824 maybe-all-stage2-libiberty:
31825 maybe-clean-stage2-libiberty:
31827 @if libiberty-bootstrap
31828 maybe-configure-stage2-libiberty: configure-stage2-libiberty
31829 configure-stage2-libiberty:
31830 @$(MAKE) stage2-start
31831 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31832 r=`${PWD_COMMAND}`; export r; \
31833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31834 $(STAGE_HOST_EXPORTS) \
31835 echo Configuring stage 2 in libiberty ; \
31836 cd libiberty || exit 1; \
31837 case $(srcdir) in \
31838 \.) \
31839 srcdiroption="--srcdir=."; \
31840 libsrcdir=".";; \
31841 /* | [A-Za-z]:[\\/]*) \
31842 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31843 libsrcdir="$$s/libiberty";; \
31844 *) \
31845 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31846 libsrcdir="$$s/libiberty";; \
31847 esac; \
31848 $(SHELL) $${libsrcdir}/configure \
31849 $(HOST_CONFIGARGS) $${srcdiroption} \
31850 @stage2_werror_flag@
31852 maybe-all-stage2-libiberty: all-stage2-libiberty
31853 all-stage2-libiberty: configure-stage2-libiberty
31854 @$(MAKE) stage2-start
31855 @r=`${PWD_COMMAND}`; export r; \
31856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31857 $(STAGE_HOST_EXPORTS) \
31858 cd libiberty && \
31859 $(MAKE) $(FLAGS_TO_PASS) \
31860 $(POSTSTAGE1_FLAGS_TO_PASS) \
31863 maybe-clean-stage2-libiberty: clean-stage2-libiberty
31864 clean-stage2-libiberty:
31865 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
31866 || exit 0 ; \
31867 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
31868 cd libiberty && \
31869 $(MAKE) $(FLAGS_TO_PASS) \
31870 $(POSTSTAGE1_FLAGS_TO_PASS) \
31871 clean
31872 @endif libiberty-bootstrap
31875 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31876 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
31877 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
31879 maybe-configure-stage2-zlib:
31880 maybe-all-stage2-zlib:
31881 maybe-clean-stage2-zlib:
31883 @if zlib-bootstrap
31884 maybe-configure-stage2-zlib: configure-stage2-zlib
31885 configure-stage2-zlib:
31886 @$(MAKE) stage2-start
31887 @[ -f zlib/Makefile ] && exit 0 || : ; \
31888 r=`${PWD_COMMAND}`; export r; \
31889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31890 $(STAGE_HOST_EXPORTS) \
31891 echo Configuring stage 2 in zlib ; \
31892 cd zlib || exit 1; \
31893 case $(srcdir) in \
31894 \.) \
31895 srcdiroption="--srcdir=."; \
31896 libsrcdir=".";; \
31897 /* | [A-Za-z]:[\\/]*) \
31898 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31899 libsrcdir="$$s/zlib";; \
31900 *) \
31901 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31902 libsrcdir="$$s/zlib";; \
31903 esac; \
31904 $(SHELL) $${libsrcdir}/configure \
31905 $(HOST_CONFIGARGS) $${srcdiroption} \
31906 @stage2_werror_flag@
31908 maybe-all-stage2-zlib: all-stage2-zlib
31909 all-stage2-zlib: configure-stage2-zlib
31910 @$(MAKE) stage2-start
31911 @r=`${PWD_COMMAND}`; export r; \
31912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31913 $(STAGE_HOST_EXPORTS) \
31914 cd zlib && \
31915 $(MAKE) $(FLAGS_TO_PASS) \
31916 $(POSTSTAGE1_FLAGS_TO_PASS) \
31919 maybe-clean-stage2-zlib: clean-stage2-zlib
31920 clean-stage2-zlib:
31921 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
31922 || exit 0 ; \
31923 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
31924 cd zlib && \
31925 $(MAKE) $(FLAGS_TO_PASS) \
31926 $(POSTSTAGE1_FLAGS_TO_PASS) \
31927 clean
31928 @endif zlib-bootstrap
31932 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31933 # only possibility, but now it conflicts with no-bootstrap rules
31934 @if gcc-bootstrap
31938 .PHONY: bootstrap2
31939 bootstrap2: stage2-bubble all
31942 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31943 distclean-stage1:: distclean-stage2
31944 .PHONY: distclean-stage2
31945 distclean-stage2::
31946 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31947 rm -rf stage2-*
31950 @endif gcc-bootstrap
31953 .PHONY: stage3-start stage3-end
31955 stage3-start::
31956 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31957 echo stage3 > stage_current ; \
31958 echo stage3 > stage_last
31959 @if bfd
31960 @[ -d stage3-bfd ] || mkdir stage3-bfd; \
31961 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31962 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31963 @endif bfd
31964 @if opcodes
31965 @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
31966 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31967 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31968 @endif opcodes
31969 @if binutils
31970 @[ -d stage3-binutils ] || mkdir stage3-binutils; \
31971 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31972 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31973 @endif binutils
31974 @if gas
31975 @[ -d stage3-gas ] || mkdir stage3-gas; \
31976 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31977 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
31978 @endif gas
31979 @if gcc
31980 @[ -d stage3-gcc ] || mkdir stage3-gcc; \
31981 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31982 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31983 @endif gcc
31984 @if intl
31985 @[ -d stage3-intl ] || mkdir stage3-intl; \
31986 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31987 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
31988 @endif intl
31989 @if ld
31990 @[ -d stage3-ld ] || mkdir stage3-ld; \
31991 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31992 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
31993 @endif ld
31994 @if libcpp
31995 @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
31996 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31997 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31998 @endif libcpp
31999 @if libiberty
32000 @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
32001 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32002 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32003 @endif libiberty
32004 @if zlib
32005 @[ -d stage3-zlib ] || mkdir stage3-zlib; \
32006 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32007 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32008 @endif zlib
32010 stage3-end::
32011 @rm -f stage_current
32012 @if bfd
32013 @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
32014 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
32015 @endif bfd
32016 @if opcodes
32017 @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32018 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
32019 @endif opcodes
32020 @if binutils
32021 @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
32022 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
32023 @endif binutils
32024 @if gas
32025 @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
32026 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
32027 @endif gas
32028 @if gcc
32029 @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
32030 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
32031 @endif gcc
32032 @if intl
32033 @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
32034 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
32035 @endif intl
32036 @if ld
32037 @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
32038 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
32039 @endif ld
32040 @if libcpp
32041 @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32042 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
32043 @endif libcpp
32044 @if libiberty
32045 @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32046 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
32047 @endif libiberty
32048 @if zlib
32049 @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
32050 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
32051 @endif zlib
32053 # Bubble a bugfix through all the stages up to stage 3. They
32054 # are remade, but not reconfigured. The next stage (if any) will not
32055 # be reconfigured as well.
32056 .PHONY: stage3-bubble
32057 stage3-bubble:: stage2-bubble
32058 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
32059 @if test -f stage3-lean || test -f stage2-lean ; then \
32060 echo Skipping rebuild of stage3 ; \
32061 else \
32062 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
32065 .PHONY: all-stage3 clean-stage3
32066 all-stage3: \
32067 maybe-all-stage3-bfd \
32068 maybe-all-stage3-opcodes \
32069 maybe-all-stage3-binutils \
32070 maybe-all-stage3-gas \
32071 maybe-all-stage3-gcc \
32072 maybe-all-stage3-intl \
32073 maybe-all-stage3-ld \
32074 maybe-all-stage3-libcpp \
32075 maybe-all-stage3-libiberty \
32076 maybe-all-stage3-zlib
32078 do-clean: clean-stage3
32079 clean-stage3: \
32080 maybe-clean-stage3-bfd \
32081 maybe-clean-stage3-opcodes \
32082 maybe-clean-stage3-binutils \
32083 maybe-clean-stage3-gas \
32084 maybe-clean-stage3-gcc \
32085 maybe-clean-stage3-intl \
32086 maybe-clean-stage3-ld \
32087 maybe-clean-stage3-libcpp \
32088 maybe-clean-stage3-libiberty \
32089 maybe-clean-stage3-zlib
32092 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
32093 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
32094 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
32096 maybe-configure-stage3-bfd:
32097 maybe-all-stage3-bfd:
32098 maybe-clean-stage3-bfd:
32100 @if bfd-bootstrap
32101 maybe-configure-stage3-bfd: configure-stage3-bfd
32102 configure-stage3-bfd:
32103 @$(MAKE) stage3-start
32104 @[ -f bfd/Makefile ] && exit 0 || : ; \
32105 r=`${PWD_COMMAND}`; export r; \
32106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32107 $(STAGE_HOST_EXPORTS) \
32108 echo Configuring stage 3 in bfd ; \
32109 cd bfd || exit 1; \
32110 case $(srcdir) in \
32111 \.) \
32112 srcdiroption="--srcdir=."; \
32113 libsrcdir=".";; \
32114 /* | [A-Za-z]:[\\/]*) \
32115 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32116 libsrcdir="$$s/bfd";; \
32117 *) \
32118 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32119 libsrcdir="$$s/bfd";; \
32120 esac; \
32121 $(SHELL) $${libsrcdir}/configure \
32122 $(HOST_CONFIGARGS) $${srcdiroption} \
32123 @stage2_werror_flag@
32125 maybe-all-stage3-bfd: all-stage3-bfd
32126 all-stage3-bfd: configure-stage3-bfd
32127 @$(MAKE) stage3-start
32128 @r=`${PWD_COMMAND}`; export r; \
32129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32130 $(STAGE_HOST_EXPORTS) \
32131 cd bfd && \
32132 $(MAKE) $(FLAGS_TO_PASS) \
32133 $(POSTSTAGE1_FLAGS_TO_PASS) \
32136 maybe-clean-stage3-bfd: clean-stage3-bfd
32137 clean-stage3-bfd:
32138 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
32139 || exit 0 ; \
32140 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
32141 cd bfd && \
32142 $(MAKE) $(FLAGS_TO_PASS) \
32143 $(POSTSTAGE1_FLAGS_TO_PASS) \
32144 clean
32145 @endif bfd-bootstrap
32148 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
32149 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
32150 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
32152 maybe-configure-stage3-opcodes:
32153 maybe-all-stage3-opcodes:
32154 maybe-clean-stage3-opcodes:
32156 @if opcodes-bootstrap
32157 maybe-configure-stage3-opcodes: configure-stage3-opcodes
32158 configure-stage3-opcodes:
32159 @$(MAKE) stage3-start
32160 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32161 r=`${PWD_COMMAND}`; export r; \
32162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32163 $(STAGE_HOST_EXPORTS) \
32164 echo Configuring stage 3 in opcodes ; \
32165 cd opcodes || exit 1; \
32166 case $(srcdir) in \
32167 \.) \
32168 srcdiroption="--srcdir=."; \
32169 libsrcdir=".";; \
32170 /* | [A-Za-z]:[\\/]*) \
32171 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32172 libsrcdir="$$s/opcodes";; \
32173 *) \
32174 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32175 libsrcdir="$$s/opcodes";; \
32176 esac; \
32177 $(SHELL) $${libsrcdir}/configure \
32178 $(HOST_CONFIGARGS) $${srcdiroption} \
32179 @stage2_werror_flag@
32181 maybe-all-stage3-opcodes: all-stage3-opcodes
32182 all-stage3-opcodes: configure-stage3-opcodes
32183 @$(MAKE) stage3-start
32184 @r=`${PWD_COMMAND}`; export r; \
32185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32186 $(STAGE_HOST_EXPORTS) \
32187 cd opcodes && \
32188 $(MAKE) $(FLAGS_TO_PASS) \
32189 $(POSTSTAGE1_FLAGS_TO_PASS) \
32192 maybe-clean-stage3-opcodes: clean-stage3-opcodes
32193 clean-stage3-opcodes:
32194 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
32195 || exit 0 ; \
32196 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
32197 cd opcodes && \
32198 $(MAKE) $(FLAGS_TO_PASS) \
32199 $(POSTSTAGE1_FLAGS_TO_PASS) \
32200 clean
32201 @endif opcodes-bootstrap
32204 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
32205 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
32206 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
32208 maybe-configure-stage3-binutils:
32209 maybe-all-stage3-binutils:
32210 maybe-clean-stage3-binutils:
32212 @if binutils-bootstrap
32213 maybe-configure-stage3-binutils: configure-stage3-binutils
32214 configure-stage3-binutils:
32215 @$(MAKE) stage3-start
32216 @[ -f binutils/Makefile ] && exit 0 || : ; \
32217 r=`${PWD_COMMAND}`; export r; \
32218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32219 $(STAGE_HOST_EXPORTS) \
32220 echo Configuring stage 3 in binutils ; \
32221 cd binutils || exit 1; \
32222 case $(srcdir) in \
32223 \.) \
32224 srcdiroption="--srcdir=."; \
32225 libsrcdir=".";; \
32226 /* | [A-Za-z]:[\\/]*) \
32227 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32228 libsrcdir="$$s/binutils";; \
32229 *) \
32230 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32231 libsrcdir="$$s/binutils";; \
32232 esac; \
32233 $(SHELL) $${libsrcdir}/configure \
32234 $(HOST_CONFIGARGS) $${srcdiroption} \
32235 @stage2_werror_flag@
32237 maybe-all-stage3-binutils: all-stage3-binutils
32238 all-stage3-binutils: configure-stage3-binutils
32239 @$(MAKE) stage3-start
32240 @r=`${PWD_COMMAND}`; export r; \
32241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32242 $(STAGE_HOST_EXPORTS) \
32243 cd binutils && \
32244 $(MAKE) $(FLAGS_TO_PASS) \
32245 $(POSTSTAGE1_FLAGS_TO_PASS) \
32248 maybe-clean-stage3-binutils: clean-stage3-binutils
32249 clean-stage3-binutils:
32250 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
32251 || exit 0 ; \
32252 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
32253 cd binutils && \
32254 $(MAKE) $(FLAGS_TO_PASS) \
32255 $(POSTSTAGE1_FLAGS_TO_PASS) \
32256 clean
32257 @endif binutils-bootstrap
32260 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
32261 .PHONY: all-stage3-gas maybe-all-stage3-gas
32262 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
32264 maybe-configure-stage3-gas:
32265 maybe-all-stage3-gas:
32266 maybe-clean-stage3-gas:
32268 @if gas-bootstrap
32269 maybe-configure-stage3-gas: configure-stage3-gas
32270 configure-stage3-gas:
32271 @$(MAKE) stage3-start
32272 @[ -f gas/Makefile ] && exit 0 || : ; \
32273 r=`${PWD_COMMAND}`; export r; \
32274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32275 $(STAGE_HOST_EXPORTS) \
32276 echo Configuring stage 3 in gas ; \
32277 cd gas || exit 1; \
32278 case $(srcdir) in \
32279 \.) \
32280 srcdiroption="--srcdir=."; \
32281 libsrcdir=".";; \
32282 /* | [A-Za-z]:[\\/]*) \
32283 srcdiroption="--srcdir=$(srcdir)/gas"; \
32284 libsrcdir="$$s/gas";; \
32285 *) \
32286 srcdiroption="--srcdir=../$(srcdir)/gas"; \
32287 libsrcdir="$$s/gas";; \
32288 esac; \
32289 $(SHELL) $${libsrcdir}/configure \
32290 $(HOST_CONFIGARGS) $${srcdiroption} \
32291 @stage2_werror_flag@
32293 maybe-all-stage3-gas: all-stage3-gas
32294 all-stage3-gas: configure-stage3-gas
32295 @$(MAKE) stage3-start
32296 @r=`${PWD_COMMAND}`; export r; \
32297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32298 $(STAGE_HOST_EXPORTS) \
32299 cd gas && \
32300 $(MAKE) $(FLAGS_TO_PASS) \
32301 $(POSTSTAGE1_FLAGS_TO_PASS) \
32304 maybe-clean-stage3-gas: clean-stage3-gas
32305 clean-stage3-gas:
32306 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
32307 || exit 0 ; \
32308 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
32309 cd gas && \
32310 $(MAKE) $(FLAGS_TO_PASS) \
32311 $(POSTSTAGE1_FLAGS_TO_PASS) \
32312 clean
32313 @endif gas-bootstrap
32316 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
32317 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
32318 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
32320 maybe-configure-stage3-gcc:
32321 maybe-all-stage3-gcc:
32322 maybe-clean-stage3-gcc:
32324 @if gcc-bootstrap
32325 maybe-configure-stage3-gcc: configure-stage3-gcc
32326 configure-stage3-gcc:
32327 @$(MAKE) stage3-start
32328 @[ -f gcc/Makefile ] && exit 0 || : ; \
32329 r=`${PWD_COMMAND}`; export r; \
32330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32331 $(STAGE_HOST_EXPORTS) \
32332 echo Configuring stage 3 in gcc ; \
32333 cd gcc || exit 1; \
32334 case $(srcdir) in \
32335 \.) \
32336 srcdiroption="--srcdir=."; \
32337 libsrcdir=".";; \
32338 /* | [A-Za-z]:[\\/]*) \
32339 srcdiroption="--srcdir=$(srcdir)/gcc"; \
32340 libsrcdir="$$s/gcc";; \
32341 *) \
32342 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
32343 libsrcdir="$$s/gcc";; \
32344 esac; \
32345 $(SHELL) $${libsrcdir}/configure \
32346 $(HOST_CONFIGARGS) $${srcdiroption} \
32347 @stage2_werror_flag@
32349 maybe-all-stage3-gcc: all-stage3-gcc
32350 all-stage3-gcc: configure-stage3-gcc
32351 @$(MAKE) stage3-start
32352 @r=`${PWD_COMMAND}`; export r; \
32353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32354 $(STAGE_HOST_EXPORTS) \
32355 cd gcc && \
32356 $(MAKE) $(FLAGS_TO_PASS) \
32357 $(POSTSTAGE1_FLAGS_TO_PASS) \
32358 $(EXTRA_GCC_FLAGS)
32360 maybe-clean-stage3-gcc: clean-stage3-gcc
32361 clean-stage3-gcc:
32362 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
32363 || exit 0 ; \
32364 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
32365 cd gcc && \
32366 $(MAKE) $(FLAGS_TO_PASS) \
32367 $(POSTSTAGE1_FLAGS_TO_PASS) \
32368 $(EXTRA_GCC_FLAGS) clean
32369 @endif gcc-bootstrap
32372 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
32373 .PHONY: all-stage3-intl maybe-all-stage3-intl
32374 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
32376 maybe-configure-stage3-intl:
32377 maybe-all-stage3-intl:
32378 maybe-clean-stage3-intl:
32380 @if intl-bootstrap
32381 maybe-configure-stage3-intl: configure-stage3-intl
32382 configure-stage3-intl:
32383 @$(MAKE) stage3-start
32384 @[ -f intl/Makefile ] && exit 0 || : ; \
32385 r=`${PWD_COMMAND}`; export r; \
32386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32387 $(STAGE_HOST_EXPORTS) \
32388 echo Configuring stage 3 in intl ; \
32389 cd intl || exit 1; \
32390 case $(srcdir) in \
32391 \.) \
32392 srcdiroption="--srcdir=."; \
32393 libsrcdir=".";; \
32394 /* | [A-Za-z]:[\\/]*) \
32395 srcdiroption="--srcdir=$(srcdir)/intl"; \
32396 libsrcdir="$$s/intl";; \
32397 *) \
32398 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32399 libsrcdir="$$s/intl";; \
32400 esac; \
32401 $(SHELL) $${libsrcdir}/configure \
32402 $(HOST_CONFIGARGS) $${srcdiroption} \
32403 @stage2_werror_flag@
32405 maybe-all-stage3-intl: all-stage3-intl
32406 all-stage3-intl: configure-stage3-intl
32407 @$(MAKE) stage3-start
32408 @r=`${PWD_COMMAND}`; export r; \
32409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32410 $(STAGE_HOST_EXPORTS) \
32411 cd intl && \
32412 $(MAKE) $(FLAGS_TO_PASS) \
32413 $(POSTSTAGE1_FLAGS_TO_PASS) \
32416 maybe-clean-stage3-intl: clean-stage3-intl
32417 clean-stage3-intl:
32418 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
32419 || exit 0 ; \
32420 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
32421 cd intl && \
32422 $(MAKE) $(FLAGS_TO_PASS) \
32423 $(POSTSTAGE1_FLAGS_TO_PASS) \
32424 clean
32425 @endif intl-bootstrap
32428 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
32429 .PHONY: all-stage3-ld maybe-all-stage3-ld
32430 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
32432 maybe-configure-stage3-ld:
32433 maybe-all-stage3-ld:
32434 maybe-clean-stage3-ld:
32436 @if ld-bootstrap
32437 maybe-configure-stage3-ld: configure-stage3-ld
32438 configure-stage3-ld:
32439 @$(MAKE) stage3-start
32440 @[ -f ld/Makefile ] && exit 0 || : ; \
32441 r=`${PWD_COMMAND}`; export r; \
32442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32443 $(STAGE_HOST_EXPORTS) \
32444 echo Configuring stage 3 in ld ; \
32445 cd ld || exit 1; \
32446 case $(srcdir) in \
32447 \.) \
32448 srcdiroption="--srcdir=."; \
32449 libsrcdir=".";; \
32450 /* | [A-Za-z]:[\\/]*) \
32451 srcdiroption="--srcdir=$(srcdir)/ld"; \
32452 libsrcdir="$$s/ld";; \
32453 *) \
32454 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32455 libsrcdir="$$s/ld";; \
32456 esac; \
32457 $(SHELL) $${libsrcdir}/configure \
32458 $(HOST_CONFIGARGS) $${srcdiroption} \
32459 @stage2_werror_flag@
32461 maybe-all-stage3-ld: all-stage3-ld
32462 all-stage3-ld: configure-stage3-ld
32463 @$(MAKE) stage3-start
32464 @r=`${PWD_COMMAND}`; export r; \
32465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32466 $(STAGE_HOST_EXPORTS) \
32467 cd ld && \
32468 $(MAKE) $(FLAGS_TO_PASS) \
32469 $(POSTSTAGE1_FLAGS_TO_PASS) \
32472 maybe-clean-stage3-ld: clean-stage3-ld
32473 clean-stage3-ld:
32474 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
32475 || exit 0 ; \
32476 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
32477 cd ld && \
32478 $(MAKE) $(FLAGS_TO_PASS) \
32479 $(POSTSTAGE1_FLAGS_TO_PASS) \
32480 clean
32481 @endif ld-bootstrap
32484 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
32485 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
32486 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
32488 maybe-configure-stage3-libcpp:
32489 maybe-all-stage3-libcpp:
32490 maybe-clean-stage3-libcpp:
32492 @if libcpp-bootstrap
32493 maybe-configure-stage3-libcpp: configure-stage3-libcpp
32494 configure-stage3-libcpp:
32495 @$(MAKE) stage3-start
32496 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32497 r=`${PWD_COMMAND}`; export r; \
32498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32499 $(STAGE_HOST_EXPORTS) \
32500 echo Configuring stage 3 in libcpp ; \
32501 cd libcpp || exit 1; \
32502 case $(srcdir) in \
32503 \.) \
32504 srcdiroption="--srcdir=."; \
32505 libsrcdir=".";; \
32506 /* | [A-Za-z]:[\\/]*) \
32507 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32508 libsrcdir="$$s/libcpp";; \
32509 *) \
32510 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32511 libsrcdir="$$s/libcpp";; \
32512 esac; \
32513 $(SHELL) $${libsrcdir}/configure \
32514 $(HOST_CONFIGARGS) $${srcdiroption} \
32515 @stage2_werror_flag@
32517 maybe-all-stage3-libcpp: all-stage3-libcpp
32518 all-stage3-libcpp: configure-stage3-libcpp
32519 @$(MAKE) stage3-start
32520 @r=`${PWD_COMMAND}`; export r; \
32521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32522 $(STAGE_HOST_EXPORTS) \
32523 cd libcpp && \
32524 $(MAKE) $(FLAGS_TO_PASS) \
32525 $(POSTSTAGE1_FLAGS_TO_PASS) \
32528 maybe-clean-stage3-libcpp: clean-stage3-libcpp
32529 clean-stage3-libcpp:
32530 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
32531 || exit 0 ; \
32532 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
32533 cd libcpp && \
32534 $(MAKE) $(FLAGS_TO_PASS) \
32535 $(POSTSTAGE1_FLAGS_TO_PASS) \
32536 clean
32537 @endif libcpp-bootstrap
32540 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
32541 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
32542 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
32544 maybe-configure-stage3-libiberty:
32545 maybe-all-stage3-libiberty:
32546 maybe-clean-stage3-libiberty:
32548 @if libiberty-bootstrap
32549 maybe-configure-stage3-libiberty: configure-stage3-libiberty
32550 configure-stage3-libiberty:
32551 @$(MAKE) stage3-start
32552 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32553 r=`${PWD_COMMAND}`; export r; \
32554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32555 $(STAGE_HOST_EXPORTS) \
32556 echo Configuring stage 3 in libiberty ; \
32557 cd libiberty || exit 1; \
32558 case $(srcdir) in \
32559 \.) \
32560 srcdiroption="--srcdir=."; \
32561 libsrcdir=".";; \
32562 /* | [A-Za-z]:[\\/]*) \
32563 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32564 libsrcdir="$$s/libiberty";; \
32565 *) \
32566 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32567 libsrcdir="$$s/libiberty";; \
32568 esac; \
32569 $(SHELL) $${libsrcdir}/configure \
32570 $(HOST_CONFIGARGS) $${srcdiroption} \
32571 @stage2_werror_flag@
32573 maybe-all-stage3-libiberty: all-stage3-libiberty
32574 all-stage3-libiberty: configure-stage3-libiberty
32575 @$(MAKE) stage3-start
32576 @r=`${PWD_COMMAND}`; export r; \
32577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32578 $(STAGE_HOST_EXPORTS) \
32579 cd libiberty && \
32580 $(MAKE) $(FLAGS_TO_PASS) \
32581 $(POSTSTAGE1_FLAGS_TO_PASS) \
32584 maybe-clean-stage3-libiberty: clean-stage3-libiberty
32585 clean-stage3-libiberty:
32586 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
32587 || exit 0 ; \
32588 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
32589 cd libiberty && \
32590 $(MAKE) $(FLAGS_TO_PASS) \
32591 $(POSTSTAGE1_FLAGS_TO_PASS) \
32592 clean
32593 @endif libiberty-bootstrap
32596 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32597 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32598 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32600 maybe-configure-stage3-zlib:
32601 maybe-all-stage3-zlib:
32602 maybe-clean-stage3-zlib:
32604 @if zlib-bootstrap
32605 maybe-configure-stage3-zlib: configure-stage3-zlib
32606 configure-stage3-zlib:
32607 @$(MAKE) stage3-start
32608 @[ -f zlib/Makefile ] && exit 0 || : ; \
32609 r=`${PWD_COMMAND}`; export r; \
32610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32611 $(STAGE_HOST_EXPORTS) \
32612 echo Configuring stage 3 in zlib ; \
32613 cd zlib || exit 1; \
32614 case $(srcdir) in \
32615 \.) \
32616 srcdiroption="--srcdir=."; \
32617 libsrcdir=".";; \
32618 /* | [A-Za-z]:[\\/]*) \
32619 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32620 libsrcdir="$$s/zlib";; \
32621 *) \
32622 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32623 libsrcdir="$$s/zlib";; \
32624 esac; \
32625 $(SHELL) $${libsrcdir}/configure \
32626 $(HOST_CONFIGARGS) $${srcdiroption} \
32627 @stage2_werror_flag@
32629 maybe-all-stage3-zlib: all-stage3-zlib
32630 all-stage3-zlib: configure-stage3-zlib
32631 @$(MAKE) stage3-start
32632 @r=`${PWD_COMMAND}`; export r; \
32633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32634 $(STAGE_HOST_EXPORTS) \
32635 cd zlib && \
32636 $(MAKE) $(FLAGS_TO_PASS) \
32637 $(POSTSTAGE1_FLAGS_TO_PASS) \
32640 maybe-clean-stage3-zlib: clean-stage3-zlib
32641 clean-stage3-zlib:
32642 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
32643 || exit 0 ; \
32644 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
32645 cd zlib && \
32646 $(MAKE) $(FLAGS_TO_PASS) \
32647 $(POSTSTAGE1_FLAGS_TO_PASS) \
32648 clean
32649 @endif zlib-bootstrap
32653 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32654 # only possibility, but now it conflicts with no-bootstrap rules
32655 @if gcc-bootstrap
32657 compare:
32658 @if test -f stage2-lean; then \
32659 echo Cannot compare object files as stage 2 was deleted. ; \
32660 exit 0 ; \
32661 fi; \
32662 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32663 @r=`${PWD_COMMAND}`; export r; \
32664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32665 rm -f .bad_compare ; \
32666 cd stage3-gcc; \
32667 files=`find . -name "*$(objext)" -print` ; \
32668 cd .. ; \
32669 for file in $${files} ; do \
32670 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
32671 @do_compare@ > /dev/null 2>&1; \
32672 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
32673 done ; \
32674 if [ -f .bad_compare ]; then \
32675 echo "Bootstrap comparison failure!"; \
32676 cat .bad_compare; \
32677 exit 1; \
32678 else \
32679 true; \
32680 fi ; \
32681 $(STAMP) compare
32682 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32686 .PHONY: bootstrap
32687 bootstrap: stage3-bubble compare all
32690 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32691 distclean-stage2:: distclean-stage3
32692 .PHONY: distclean-stage3
32693 distclean-stage3::
32694 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32695 rm -rf stage3-* compare
32698 .PHONY: cleanstrap
32699 cleanstrap: distclean bootstrap
32701 @endif gcc-bootstrap
32704 .PHONY: stage4-start stage4-end
32706 stage4-start::
32707 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32708 echo stage4 > stage_current ; \
32709 echo stage4 > stage_last
32710 @if bfd
32711 @[ -d stage4-bfd ] || mkdir stage4-bfd; \
32712 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
32713 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
32714 @endif bfd
32715 @if opcodes
32716 @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
32717 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
32718 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
32719 @endif opcodes
32720 @if binutils
32721 @[ -d stage4-binutils ] || mkdir stage4-binutils; \
32722 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
32723 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
32724 @endif binutils
32725 @if gas
32726 @[ -d stage4-gas ] || mkdir stage4-gas; \
32727 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
32728 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
32729 @endif gas
32730 @if gcc
32731 @[ -d stage4-gcc ] || mkdir stage4-gcc; \
32732 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
32733 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
32734 @endif gcc
32735 @if intl
32736 @[ -d stage4-intl ] || mkdir stage4-intl; \
32737 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
32738 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
32739 @endif intl
32740 @if ld
32741 @[ -d stage4-ld ] || mkdir stage4-ld; \
32742 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
32743 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
32744 @endif ld
32745 @if libcpp
32746 @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
32747 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
32748 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
32749 @endif libcpp
32750 @if libiberty
32751 @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
32752 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32753 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32754 @endif libiberty
32755 @if zlib
32756 @[ -d stage4-zlib ] || mkdir stage4-zlib; \
32757 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32758 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32759 @endif zlib
32761 stage4-end::
32762 @rm -f stage_current
32763 @if bfd
32764 @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
32765 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
32766 @endif bfd
32767 @if opcodes
32768 @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32769 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
32770 @endif opcodes
32771 @if binutils
32772 @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
32773 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
32774 @endif binutils
32775 @if gas
32776 @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
32777 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
32778 @endif gas
32779 @if gcc
32780 @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
32781 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
32782 @endif gcc
32783 @if intl
32784 @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
32785 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
32786 @endif intl
32787 @if ld
32788 @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
32789 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
32790 @endif ld
32791 @if libcpp
32792 @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32793 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
32794 @endif libcpp
32795 @if libiberty
32796 @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32797 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
32798 @endif libiberty
32799 @if zlib
32800 @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
32801 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
32802 @endif zlib
32804 # Bubble a bugfix through all the stages up to stage 4. They
32805 # are remade, but not reconfigured. The next stage (if any) will not
32806 # be reconfigured as well.
32807 .PHONY: stage4-bubble
32808 stage4-bubble:: stage3-bubble
32809 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32810 @if test -f stage4-lean || test -f stage3-lean ; then \
32811 echo Skipping rebuild of stage4 ; \
32812 else \
32813 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
32816 .PHONY: all-stage4 clean-stage4
32817 all-stage4: \
32818 maybe-all-stage4-bfd \
32819 maybe-all-stage4-opcodes \
32820 maybe-all-stage4-binutils \
32821 maybe-all-stage4-gas \
32822 maybe-all-stage4-gcc \
32823 maybe-all-stage4-intl \
32824 maybe-all-stage4-ld \
32825 maybe-all-stage4-libcpp \
32826 maybe-all-stage4-libiberty \
32827 maybe-all-stage4-zlib
32829 do-clean: clean-stage4
32830 clean-stage4: \
32831 maybe-clean-stage4-bfd \
32832 maybe-clean-stage4-opcodes \
32833 maybe-clean-stage4-binutils \
32834 maybe-clean-stage4-gas \
32835 maybe-clean-stage4-gcc \
32836 maybe-clean-stage4-intl \
32837 maybe-clean-stage4-ld \
32838 maybe-clean-stage4-libcpp \
32839 maybe-clean-stage4-libiberty \
32840 maybe-clean-stage4-zlib
32843 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
32844 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
32845 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
32847 maybe-configure-stage4-bfd:
32848 maybe-all-stage4-bfd:
32849 maybe-clean-stage4-bfd:
32851 @if bfd-bootstrap
32852 maybe-configure-stage4-bfd: configure-stage4-bfd
32853 configure-stage4-bfd:
32854 @$(MAKE) stage4-start
32855 @[ -f bfd/Makefile ] && exit 0 || : ; \
32856 r=`${PWD_COMMAND}`; export r; \
32857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32858 $(STAGE_HOST_EXPORTS) \
32859 echo Configuring stage 4 in bfd ; \
32860 cd bfd || exit 1; \
32861 case $(srcdir) in \
32862 \.) \
32863 srcdiroption="--srcdir=."; \
32864 libsrcdir=".";; \
32865 /* | [A-Za-z]:[\\/]*) \
32866 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32867 libsrcdir="$$s/bfd";; \
32868 *) \
32869 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32870 libsrcdir="$$s/bfd";; \
32871 esac; \
32872 $(SHELL) $${libsrcdir}/configure \
32873 $(HOST_CONFIGARGS) $${srcdiroption} \
32874 @stage2_werror_flag@
32876 maybe-all-stage4-bfd: all-stage4-bfd
32877 all-stage4-bfd: configure-stage4-bfd
32878 @$(MAKE) stage4-start
32879 @r=`${PWD_COMMAND}`; export r; \
32880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32881 $(STAGE_HOST_EXPORTS) \
32882 cd bfd && \
32883 $(MAKE) $(FLAGS_TO_PASS) \
32884 $(POSTSTAGE1_FLAGS_TO_PASS) \
32887 maybe-clean-stage4-bfd: clean-stage4-bfd
32888 clean-stage4-bfd:
32889 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
32890 || exit 0 ; \
32891 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
32892 cd bfd && \
32893 $(MAKE) $(FLAGS_TO_PASS) \
32894 $(POSTSTAGE1_FLAGS_TO_PASS) \
32895 clean
32896 @endif bfd-bootstrap
32899 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
32900 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
32901 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
32903 maybe-configure-stage4-opcodes:
32904 maybe-all-stage4-opcodes:
32905 maybe-clean-stage4-opcodes:
32907 @if opcodes-bootstrap
32908 maybe-configure-stage4-opcodes: configure-stage4-opcodes
32909 configure-stage4-opcodes:
32910 @$(MAKE) stage4-start
32911 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32912 r=`${PWD_COMMAND}`; export r; \
32913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32914 $(STAGE_HOST_EXPORTS) \
32915 echo Configuring stage 4 in opcodes ; \
32916 cd opcodes || exit 1; \
32917 case $(srcdir) in \
32918 \.) \
32919 srcdiroption="--srcdir=."; \
32920 libsrcdir=".";; \
32921 /* | [A-Za-z]:[\\/]*) \
32922 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32923 libsrcdir="$$s/opcodes";; \
32924 *) \
32925 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32926 libsrcdir="$$s/opcodes";; \
32927 esac; \
32928 $(SHELL) $${libsrcdir}/configure \
32929 $(HOST_CONFIGARGS) $${srcdiroption} \
32930 @stage2_werror_flag@
32932 maybe-all-stage4-opcodes: all-stage4-opcodes
32933 all-stage4-opcodes: configure-stage4-opcodes
32934 @$(MAKE) stage4-start
32935 @r=`${PWD_COMMAND}`; export r; \
32936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32937 $(STAGE_HOST_EXPORTS) \
32938 cd opcodes && \
32939 $(MAKE) $(FLAGS_TO_PASS) \
32940 $(POSTSTAGE1_FLAGS_TO_PASS) \
32943 maybe-clean-stage4-opcodes: clean-stage4-opcodes
32944 clean-stage4-opcodes:
32945 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
32946 || exit 0 ; \
32947 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
32948 cd opcodes && \
32949 $(MAKE) $(FLAGS_TO_PASS) \
32950 $(POSTSTAGE1_FLAGS_TO_PASS) \
32951 clean
32952 @endif opcodes-bootstrap
32955 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
32956 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
32957 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
32959 maybe-configure-stage4-binutils:
32960 maybe-all-stage4-binutils:
32961 maybe-clean-stage4-binutils:
32963 @if binutils-bootstrap
32964 maybe-configure-stage4-binutils: configure-stage4-binutils
32965 configure-stage4-binutils:
32966 @$(MAKE) stage4-start
32967 @[ -f binutils/Makefile ] && exit 0 || : ; \
32968 r=`${PWD_COMMAND}`; export r; \
32969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32970 $(STAGE_HOST_EXPORTS) \
32971 echo Configuring stage 4 in binutils ; \
32972 cd binutils || exit 1; \
32973 case $(srcdir) in \
32974 \.) \
32975 srcdiroption="--srcdir=."; \
32976 libsrcdir=".";; \
32977 /* | [A-Za-z]:[\\/]*) \
32978 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32979 libsrcdir="$$s/binutils";; \
32980 *) \
32981 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32982 libsrcdir="$$s/binutils";; \
32983 esac; \
32984 $(SHELL) $${libsrcdir}/configure \
32985 $(HOST_CONFIGARGS) $${srcdiroption} \
32986 @stage2_werror_flag@
32988 maybe-all-stage4-binutils: all-stage4-binutils
32989 all-stage4-binutils: configure-stage4-binutils
32990 @$(MAKE) stage4-start
32991 @r=`${PWD_COMMAND}`; export r; \
32992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32993 $(STAGE_HOST_EXPORTS) \
32994 cd binutils && \
32995 $(MAKE) $(FLAGS_TO_PASS) \
32996 $(POSTSTAGE1_FLAGS_TO_PASS) \
32999 maybe-clean-stage4-binutils: clean-stage4-binutils
33000 clean-stage4-binutils:
33001 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
33002 || exit 0 ; \
33003 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
33004 cd binutils && \
33005 $(MAKE) $(FLAGS_TO_PASS) \
33006 $(POSTSTAGE1_FLAGS_TO_PASS) \
33007 clean
33008 @endif binutils-bootstrap
33011 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
33012 .PHONY: all-stage4-gas maybe-all-stage4-gas
33013 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
33015 maybe-configure-stage4-gas:
33016 maybe-all-stage4-gas:
33017 maybe-clean-stage4-gas:
33019 @if gas-bootstrap
33020 maybe-configure-stage4-gas: configure-stage4-gas
33021 configure-stage4-gas:
33022 @$(MAKE) stage4-start
33023 @[ -f gas/Makefile ] && exit 0 || : ; \
33024 r=`${PWD_COMMAND}`; export r; \
33025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33026 $(STAGE_HOST_EXPORTS) \
33027 echo Configuring stage 4 in gas ; \
33028 cd gas || exit 1; \
33029 case $(srcdir) in \
33030 \.) \
33031 srcdiroption="--srcdir=."; \
33032 libsrcdir=".";; \
33033 /* | [A-Za-z]:[\\/]*) \
33034 srcdiroption="--srcdir=$(srcdir)/gas"; \
33035 libsrcdir="$$s/gas";; \
33036 *) \
33037 srcdiroption="--srcdir=../$(srcdir)/gas"; \
33038 libsrcdir="$$s/gas";; \
33039 esac; \
33040 $(SHELL) $${libsrcdir}/configure \
33041 $(HOST_CONFIGARGS) $${srcdiroption} \
33042 @stage2_werror_flag@
33044 maybe-all-stage4-gas: all-stage4-gas
33045 all-stage4-gas: configure-stage4-gas
33046 @$(MAKE) stage4-start
33047 @r=`${PWD_COMMAND}`; export r; \
33048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33049 $(STAGE_HOST_EXPORTS) \
33050 cd gas && \
33051 $(MAKE) $(FLAGS_TO_PASS) \
33052 $(POSTSTAGE1_FLAGS_TO_PASS) \
33055 maybe-clean-stage4-gas: clean-stage4-gas
33056 clean-stage4-gas:
33057 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
33058 || exit 0 ; \
33059 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
33060 cd gas && \
33061 $(MAKE) $(FLAGS_TO_PASS) \
33062 $(POSTSTAGE1_FLAGS_TO_PASS) \
33063 clean
33064 @endif gas-bootstrap
33067 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
33068 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
33069 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
33071 maybe-configure-stage4-gcc:
33072 maybe-all-stage4-gcc:
33073 maybe-clean-stage4-gcc:
33075 @if gcc-bootstrap
33076 maybe-configure-stage4-gcc: configure-stage4-gcc
33077 configure-stage4-gcc:
33078 @$(MAKE) stage4-start
33079 @[ -f gcc/Makefile ] && exit 0 || : ; \
33080 r=`${PWD_COMMAND}`; export r; \
33081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33082 $(STAGE_HOST_EXPORTS) \
33083 echo Configuring stage 4 in gcc ; \
33084 cd gcc || exit 1; \
33085 case $(srcdir) in \
33086 \.) \
33087 srcdiroption="--srcdir=."; \
33088 libsrcdir=".";; \
33089 /* | [A-Za-z]:[\\/]*) \
33090 srcdiroption="--srcdir=$(srcdir)/gcc"; \
33091 libsrcdir="$$s/gcc";; \
33092 *) \
33093 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
33094 libsrcdir="$$s/gcc";; \
33095 esac; \
33096 $(SHELL) $${libsrcdir}/configure \
33097 $(HOST_CONFIGARGS) $${srcdiroption} \
33098 @stage2_werror_flag@
33100 maybe-all-stage4-gcc: all-stage4-gcc
33101 all-stage4-gcc: configure-stage4-gcc
33102 @$(MAKE) stage4-start
33103 @r=`${PWD_COMMAND}`; export r; \
33104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33105 $(STAGE_HOST_EXPORTS) \
33106 cd gcc && \
33107 $(MAKE) $(FLAGS_TO_PASS) \
33108 $(POSTSTAGE1_FLAGS_TO_PASS) \
33109 $(EXTRA_GCC_FLAGS)
33111 maybe-clean-stage4-gcc: clean-stage4-gcc
33112 clean-stage4-gcc:
33113 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
33114 || exit 0 ; \
33115 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
33116 cd gcc && \
33117 $(MAKE) $(FLAGS_TO_PASS) \
33118 $(POSTSTAGE1_FLAGS_TO_PASS) \
33119 $(EXTRA_GCC_FLAGS) clean
33120 @endif gcc-bootstrap
33123 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
33124 .PHONY: all-stage4-intl maybe-all-stage4-intl
33125 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
33127 maybe-configure-stage4-intl:
33128 maybe-all-stage4-intl:
33129 maybe-clean-stage4-intl:
33131 @if intl-bootstrap
33132 maybe-configure-stage4-intl: configure-stage4-intl
33133 configure-stage4-intl:
33134 @$(MAKE) stage4-start
33135 @[ -f intl/Makefile ] && exit 0 || : ; \
33136 r=`${PWD_COMMAND}`; export r; \
33137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33138 $(STAGE_HOST_EXPORTS) \
33139 echo Configuring stage 4 in intl ; \
33140 cd intl || exit 1; \
33141 case $(srcdir) in \
33142 \.) \
33143 srcdiroption="--srcdir=."; \
33144 libsrcdir=".";; \
33145 /* | [A-Za-z]:[\\/]*) \
33146 srcdiroption="--srcdir=$(srcdir)/intl"; \
33147 libsrcdir="$$s/intl";; \
33148 *) \
33149 srcdiroption="--srcdir=../$(srcdir)/intl"; \
33150 libsrcdir="$$s/intl";; \
33151 esac; \
33152 $(SHELL) $${libsrcdir}/configure \
33153 $(HOST_CONFIGARGS) $${srcdiroption} \
33154 @stage2_werror_flag@
33156 maybe-all-stage4-intl: all-stage4-intl
33157 all-stage4-intl: configure-stage4-intl
33158 @$(MAKE) stage4-start
33159 @r=`${PWD_COMMAND}`; export r; \
33160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33161 $(STAGE_HOST_EXPORTS) \
33162 cd intl && \
33163 $(MAKE) $(FLAGS_TO_PASS) \
33164 $(POSTSTAGE1_FLAGS_TO_PASS) \
33167 maybe-clean-stage4-intl: clean-stage4-intl
33168 clean-stage4-intl:
33169 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
33170 || exit 0 ; \
33171 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
33172 cd intl && \
33173 $(MAKE) $(FLAGS_TO_PASS) \
33174 $(POSTSTAGE1_FLAGS_TO_PASS) \
33175 clean
33176 @endif intl-bootstrap
33179 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
33180 .PHONY: all-stage4-ld maybe-all-stage4-ld
33181 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
33183 maybe-configure-stage4-ld:
33184 maybe-all-stage4-ld:
33185 maybe-clean-stage4-ld:
33187 @if ld-bootstrap
33188 maybe-configure-stage4-ld: configure-stage4-ld
33189 configure-stage4-ld:
33190 @$(MAKE) stage4-start
33191 @[ -f ld/Makefile ] && exit 0 || : ; \
33192 r=`${PWD_COMMAND}`; export r; \
33193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33194 $(STAGE_HOST_EXPORTS) \
33195 echo Configuring stage 4 in ld ; \
33196 cd ld || exit 1; \
33197 case $(srcdir) in \
33198 \.) \
33199 srcdiroption="--srcdir=."; \
33200 libsrcdir=".";; \
33201 /* | [A-Za-z]:[\\/]*) \
33202 srcdiroption="--srcdir=$(srcdir)/ld"; \
33203 libsrcdir="$$s/ld";; \
33204 *) \
33205 srcdiroption="--srcdir=../$(srcdir)/ld"; \
33206 libsrcdir="$$s/ld";; \
33207 esac; \
33208 $(SHELL) $${libsrcdir}/configure \
33209 $(HOST_CONFIGARGS) $${srcdiroption} \
33210 @stage2_werror_flag@
33212 maybe-all-stage4-ld: all-stage4-ld
33213 all-stage4-ld: configure-stage4-ld
33214 @$(MAKE) stage4-start
33215 @r=`${PWD_COMMAND}`; export r; \
33216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33217 $(STAGE_HOST_EXPORTS) \
33218 cd ld && \
33219 $(MAKE) $(FLAGS_TO_PASS) \
33220 $(POSTSTAGE1_FLAGS_TO_PASS) \
33223 maybe-clean-stage4-ld: clean-stage4-ld
33224 clean-stage4-ld:
33225 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
33226 || exit 0 ; \
33227 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
33228 cd ld && \
33229 $(MAKE) $(FLAGS_TO_PASS) \
33230 $(POSTSTAGE1_FLAGS_TO_PASS) \
33231 clean
33232 @endif ld-bootstrap
33235 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
33236 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
33237 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
33239 maybe-configure-stage4-libcpp:
33240 maybe-all-stage4-libcpp:
33241 maybe-clean-stage4-libcpp:
33243 @if libcpp-bootstrap
33244 maybe-configure-stage4-libcpp: configure-stage4-libcpp
33245 configure-stage4-libcpp:
33246 @$(MAKE) stage4-start
33247 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33248 r=`${PWD_COMMAND}`; export r; \
33249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33250 $(STAGE_HOST_EXPORTS) \
33251 echo Configuring stage 4 in libcpp ; \
33252 cd libcpp || exit 1; \
33253 case $(srcdir) in \
33254 \.) \
33255 srcdiroption="--srcdir=."; \
33256 libsrcdir=".";; \
33257 /* | [A-Za-z]:[\\/]*) \
33258 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
33259 libsrcdir="$$s/libcpp";; \
33260 *) \
33261 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
33262 libsrcdir="$$s/libcpp";; \
33263 esac; \
33264 $(SHELL) $${libsrcdir}/configure \
33265 $(HOST_CONFIGARGS) $${srcdiroption} \
33266 @stage2_werror_flag@
33268 maybe-all-stage4-libcpp: all-stage4-libcpp
33269 all-stage4-libcpp: configure-stage4-libcpp
33270 @$(MAKE) stage4-start
33271 @r=`${PWD_COMMAND}`; export r; \
33272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33273 $(STAGE_HOST_EXPORTS) \
33274 cd libcpp && \
33275 $(MAKE) $(FLAGS_TO_PASS) \
33276 $(POSTSTAGE1_FLAGS_TO_PASS) \
33279 maybe-clean-stage4-libcpp: clean-stage4-libcpp
33280 clean-stage4-libcpp:
33281 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
33282 || exit 0 ; \
33283 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
33284 cd libcpp && \
33285 $(MAKE) $(FLAGS_TO_PASS) \
33286 $(POSTSTAGE1_FLAGS_TO_PASS) \
33287 clean
33288 @endif libcpp-bootstrap
33291 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
33292 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
33293 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
33295 maybe-configure-stage4-libiberty:
33296 maybe-all-stage4-libiberty:
33297 maybe-clean-stage4-libiberty:
33299 @if libiberty-bootstrap
33300 maybe-configure-stage4-libiberty: configure-stage4-libiberty
33301 configure-stage4-libiberty:
33302 @$(MAKE) stage4-start
33303 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33304 r=`${PWD_COMMAND}`; export r; \
33305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33306 $(STAGE_HOST_EXPORTS) \
33307 echo Configuring stage 4 in libiberty ; \
33308 cd libiberty || exit 1; \
33309 case $(srcdir) in \
33310 \.) \
33311 srcdiroption="--srcdir=."; \
33312 libsrcdir=".";; \
33313 /* | [A-Za-z]:[\\/]*) \
33314 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
33315 libsrcdir="$$s/libiberty";; \
33316 *) \
33317 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
33318 libsrcdir="$$s/libiberty";; \
33319 esac; \
33320 $(SHELL) $${libsrcdir}/configure \
33321 $(HOST_CONFIGARGS) $${srcdiroption} \
33322 @stage2_werror_flag@
33324 maybe-all-stage4-libiberty: all-stage4-libiberty
33325 all-stage4-libiberty: configure-stage4-libiberty
33326 @$(MAKE) stage4-start
33327 @r=`${PWD_COMMAND}`; export r; \
33328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33329 $(STAGE_HOST_EXPORTS) \
33330 cd libiberty && \
33331 $(MAKE) $(FLAGS_TO_PASS) \
33332 $(POSTSTAGE1_FLAGS_TO_PASS) \
33335 maybe-clean-stage4-libiberty: clean-stage4-libiberty
33336 clean-stage4-libiberty:
33337 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
33338 || exit 0 ; \
33339 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
33340 cd libiberty && \
33341 $(MAKE) $(FLAGS_TO_PASS) \
33342 $(POSTSTAGE1_FLAGS_TO_PASS) \
33343 clean
33344 @endif libiberty-bootstrap
33347 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
33348 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
33349 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
33351 maybe-configure-stage4-zlib:
33352 maybe-all-stage4-zlib:
33353 maybe-clean-stage4-zlib:
33355 @if zlib-bootstrap
33356 maybe-configure-stage4-zlib: configure-stage4-zlib
33357 configure-stage4-zlib:
33358 @$(MAKE) stage4-start
33359 @[ -f zlib/Makefile ] && exit 0 || : ; \
33360 r=`${PWD_COMMAND}`; export r; \
33361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33362 $(STAGE_HOST_EXPORTS) \
33363 echo Configuring stage 4 in zlib ; \
33364 cd zlib || exit 1; \
33365 case $(srcdir) in \
33366 \.) \
33367 srcdiroption="--srcdir=."; \
33368 libsrcdir=".";; \
33369 /* | [A-Za-z]:[\\/]*) \
33370 srcdiroption="--srcdir=$(srcdir)/zlib"; \
33371 libsrcdir="$$s/zlib";; \
33372 *) \
33373 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
33374 libsrcdir="$$s/zlib";; \
33375 esac; \
33376 $(SHELL) $${libsrcdir}/configure \
33377 $(HOST_CONFIGARGS) $${srcdiroption} \
33378 @stage2_werror_flag@
33380 maybe-all-stage4-zlib: all-stage4-zlib
33381 all-stage4-zlib: configure-stage4-zlib
33382 @$(MAKE) stage4-start
33383 @r=`${PWD_COMMAND}`; export r; \
33384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33385 $(STAGE_HOST_EXPORTS) \
33386 cd zlib && \
33387 $(MAKE) $(FLAGS_TO_PASS) \
33388 $(POSTSTAGE1_FLAGS_TO_PASS) \
33391 maybe-clean-stage4-zlib: clean-stage4-zlib
33392 clean-stage4-zlib:
33393 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
33394 || exit 0 ; \
33395 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
33396 cd zlib && \
33397 $(MAKE) $(FLAGS_TO_PASS) \
33398 $(POSTSTAGE1_FLAGS_TO_PASS) \
33399 clean
33400 @endif zlib-bootstrap
33404 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33405 # only possibility, but now it conflicts with no-bootstrap rules
33406 @if gcc-bootstrap
33408 compare3:
33409 @if test -f stage3-lean; then \
33410 echo Cannot compare object files as stage 3 was deleted. ; \
33411 exit 0 ; \
33412 fi; \
33413 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33414 @r=`${PWD_COMMAND}`; export r; \
33415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33416 rm -f .bad_compare ; \
33417 cd stage4-gcc; \
33418 files=`find . -name "*$(objext)" -print` ; \
33419 cd .. ; \
33420 for file in $${files} ; do \
33421 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
33422 @do_compare@ > /dev/null 2>&1; \
33423 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
33424 done ; \
33425 if [ -f .bad_compare ]; then \
33426 echo "Bootstrap comparison failure!"; \
33427 cat .bad_compare; \
33428 exit 1; \
33429 else \
33430 true; \
33431 fi ; \
33432 $(STAMP) compare3
33433 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
33437 .PHONY: bootstrap4
33438 bootstrap4: stage4-bubble compare3 all
33441 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33442 distclean-stage3:: distclean-stage4
33443 .PHONY: distclean-stage4
33444 distclean-stage4::
33445 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33446 rm -rf stage4-* compare3
33449 @endif gcc-bootstrap
33452 .PHONY: stageprofile-start stageprofile-end
33454 stageprofile-start::
33455 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33456 echo stageprofile > stage_current ; \
33457 echo stageprofile > stage_last
33458 @if bfd
33459 @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
33460 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
33461 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
33462 @endif bfd
33463 @if opcodes
33464 @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
33465 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
33466 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
33467 @endif opcodes
33468 @if binutils
33469 @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
33470 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
33471 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
33472 @endif binutils
33473 @if gas
33474 @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
33475 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
33476 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
33477 @endif gas
33478 @if gcc
33479 @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
33480 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
33481 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
33482 @endif gcc
33483 @if intl
33484 @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
33485 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
33486 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
33487 @endif intl
33488 @if ld
33489 @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
33490 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
33491 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
33492 @endif ld
33493 @if libcpp
33494 @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
33495 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
33496 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
33497 @endif libcpp
33498 @if libiberty
33499 @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
33500 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
33501 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
33502 @endif libiberty
33503 @if zlib
33504 @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
33505 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
33506 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
33507 @endif zlib
33509 stageprofile-end::
33510 @rm -f stage_current
33511 @if bfd
33512 @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
33513 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
33514 @endif bfd
33515 @if opcodes
33516 @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
33517 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
33518 @endif opcodes
33519 @if binutils
33520 @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
33521 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
33522 @endif binutils
33523 @if gas
33524 @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
33525 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
33526 @endif gas
33527 @if gcc
33528 @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
33529 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
33530 @endif gcc
33531 @if intl
33532 @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
33533 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
33534 @endif intl
33535 @if ld
33536 @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
33537 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
33538 @endif ld
33539 @if libcpp
33540 @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
33541 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
33542 @endif libcpp
33543 @if libiberty
33544 @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
33545 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
33546 @endif libiberty
33547 @if zlib
33548 @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
33549 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
33550 @endif zlib
33552 # Bubble a bugfix through all the stages up to stage profile. They
33553 # are remade, but not reconfigured. The next stage (if any) will not
33554 # be reconfigured as well.
33555 .PHONY: stageprofile-bubble
33556 stageprofile-bubble:: stage1-bubble
33557 @if test -f stageprofile-lean || test -f stage1-lean ; then \
33558 echo Skipping rebuild of stageprofile ; \
33559 else \
33560 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
33563 .PHONY: all-stageprofile clean-stageprofile
33564 all-stageprofile: \
33565 maybe-all-stageprofile-bfd \
33566 maybe-all-stageprofile-opcodes \
33567 maybe-all-stageprofile-binutils \
33568 maybe-all-stageprofile-gas \
33569 maybe-all-stageprofile-gcc \
33570 maybe-all-stageprofile-intl \
33571 maybe-all-stageprofile-ld \
33572 maybe-all-stageprofile-libcpp \
33573 maybe-all-stageprofile-libiberty \
33574 maybe-all-stageprofile-zlib
33576 do-clean: clean-stageprofile
33577 clean-stageprofile: \
33578 maybe-clean-stageprofile-bfd \
33579 maybe-clean-stageprofile-opcodes \
33580 maybe-clean-stageprofile-binutils \
33581 maybe-clean-stageprofile-gas \
33582 maybe-clean-stageprofile-gcc \
33583 maybe-clean-stageprofile-intl \
33584 maybe-clean-stageprofile-ld \
33585 maybe-clean-stageprofile-libcpp \
33586 maybe-clean-stageprofile-libiberty \
33587 maybe-clean-stageprofile-zlib
33590 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
33591 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
33592 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
33594 maybe-configure-stageprofile-bfd:
33595 maybe-all-stageprofile-bfd:
33596 maybe-clean-stageprofile-bfd:
33598 @if bfd-bootstrap
33599 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
33600 configure-stageprofile-bfd:
33601 @$(MAKE) stageprofile-start
33602 @[ -f bfd/Makefile ] && exit 0 || : ; \
33603 r=`${PWD_COMMAND}`; export r; \
33604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33605 $(STAGE_HOST_EXPORTS) \
33606 echo Configuring stage profile in bfd ; \
33607 cd bfd || exit 1; \
33608 case $(srcdir) in \
33609 \.) \
33610 srcdiroption="--srcdir=."; \
33611 libsrcdir=".";; \
33612 /* | [A-Za-z]:[\\/]*) \
33613 srcdiroption="--srcdir=$(srcdir)/bfd"; \
33614 libsrcdir="$$s/bfd";; \
33615 *) \
33616 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
33617 libsrcdir="$$s/bfd";; \
33618 esac; \
33619 $(SHELL) $${libsrcdir}/configure \
33620 $(HOST_CONFIGARGS) $${srcdiroption} \
33621 @stage2_werror_flag@
33623 maybe-all-stageprofile-bfd: all-stageprofile-bfd
33624 all-stageprofile-bfd: configure-stageprofile-bfd
33625 @$(MAKE) stageprofile-start
33626 @r=`${PWD_COMMAND}`; export r; \
33627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33628 $(STAGE_HOST_EXPORTS) \
33629 cd bfd && \
33630 $(MAKE) $(FLAGS_TO_PASS) \
33631 $(POSTSTAGE1_FLAGS_TO_PASS) \
33632 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33634 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
33635 clean-stageprofile-bfd:
33636 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
33637 || exit 0 ; \
33638 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
33639 cd bfd && \
33640 $(MAKE) $(FLAGS_TO_PASS) \
33641 $(POSTSTAGE1_FLAGS_TO_PASS) \
33642 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33643 @endif bfd-bootstrap
33646 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
33647 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
33648 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
33650 maybe-configure-stageprofile-opcodes:
33651 maybe-all-stageprofile-opcodes:
33652 maybe-clean-stageprofile-opcodes:
33654 @if opcodes-bootstrap
33655 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
33656 configure-stageprofile-opcodes:
33657 @$(MAKE) stageprofile-start
33658 @[ -f opcodes/Makefile ] && exit 0 || : ; \
33659 r=`${PWD_COMMAND}`; export r; \
33660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33661 $(STAGE_HOST_EXPORTS) \
33662 echo Configuring stage profile in opcodes ; \
33663 cd opcodes || exit 1; \
33664 case $(srcdir) in \
33665 \.) \
33666 srcdiroption="--srcdir=."; \
33667 libsrcdir=".";; \
33668 /* | [A-Za-z]:[\\/]*) \
33669 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
33670 libsrcdir="$$s/opcodes";; \
33671 *) \
33672 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
33673 libsrcdir="$$s/opcodes";; \
33674 esac; \
33675 $(SHELL) $${libsrcdir}/configure \
33676 $(HOST_CONFIGARGS) $${srcdiroption} \
33677 @stage2_werror_flag@
33679 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
33680 all-stageprofile-opcodes: configure-stageprofile-opcodes
33681 @$(MAKE) stageprofile-start
33682 @r=`${PWD_COMMAND}`; export r; \
33683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33684 $(STAGE_HOST_EXPORTS) \
33685 cd opcodes && \
33686 $(MAKE) $(FLAGS_TO_PASS) \
33687 $(POSTSTAGE1_FLAGS_TO_PASS) \
33688 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33690 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
33691 clean-stageprofile-opcodes:
33692 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
33693 || exit 0 ; \
33694 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
33695 cd opcodes && \
33696 $(MAKE) $(FLAGS_TO_PASS) \
33697 $(POSTSTAGE1_FLAGS_TO_PASS) \
33698 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33699 @endif opcodes-bootstrap
33702 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
33703 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
33704 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
33706 maybe-configure-stageprofile-binutils:
33707 maybe-all-stageprofile-binutils:
33708 maybe-clean-stageprofile-binutils:
33710 @if binutils-bootstrap
33711 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
33712 configure-stageprofile-binutils:
33713 @$(MAKE) stageprofile-start
33714 @[ -f binutils/Makefile ] && exit 0 || : ; \
33715 r=`${PWD_COMMAND}`; export r; \
33716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33717 $(STAGE_HOST_EXPORTS) \
33718 echo Configuring stage profile in binutils ; \
33719 cd binutils || exit 1; \
33720 case $(srcdir) in \
33721 \.) \
33722 srcdiroption="--srcdir=."; \
33723 libsrcdir=".";; \
33724 /* | [A-Za-z]:[\\/]*) \
33725 srcdiroption="--srcdir=$(srcdir)/binutils"; \
33726 libsrcdir="$$s/binutils";; \
33727 *) \
33728 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
33729 libsrcdir="$$s/binutils";; \
33730 esac; \
33731 $(SHELL) $${libsrcdir}/configure \
33732 $(HOST_CONFIGARGS) $${srcdiroption} \
33733 @stage2_werror_flag@
33735 maybe-all-stageprofile-binutils: all-stageprofile-binutils
33736 all-stageprofile-binutils: configure-stageprofile-binutils
33737 @$(MAKE) stageprofile-start
33738 @r=`${PWD_COMMAND}`; export r; \
33739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33740 $(STAGE_HOST_EXPORTS) \
33741 cd binutils && \
33742 $(MAKE) $(FLAGS_TO_PASS) \
33743 $(POSTSTAGE1_FLAGS_TO_PASS) \
33744 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33746 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
33747 clean-stageprofile-binutils:
33748 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
33749 || exit 0 ; \
33750 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
33751 cd binutils && \
33752 $(MAKE) $(FLAGS_TO_PASS) \
33753 $(POSTSTAGE1_FLAGS_TO_PASS) \
33754 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33755 @endif binutils-bootstrap
33758 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
33759 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
33760 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
33762 maybe-configure-stageprofile-gas:
33763 maybe-all-stageprofile-gas:
33764 maybe-clean-stageprofile-gas:
33766 @if gas-bootstrap
33767 maybe-configure-stageprofile-gas: configure-stageprofile-gas
33768 configure-stageprofile-gas:
33769 @$(MAKE) stageprofile-start
33770 @[ -f gas/Makefile ] && exit 0 || : ; \
33771 r=`${PWD_COMMAND}`; export r; \
33772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33773 $(STAGE_HOST_EXPORTS) \
33774 echo Configuring stage profile in gas ; \
33775 cd gas || exit 1; \
33776 case $(srcdir) in \
33777 \.) \
33778 srcdiroption="--srcdir=."; \
33779 libsrcdir=".";; \
33780 /* | [A-Za-z]:[\\/]*) \
33781 srcdiroption="--srcdir=$(srcdir)/gas"; \
33782 libsrcdir="$$s/gas";; \
33783 *) \
33784 srcdiroption="--srcdir=../$(srcdir)/gas"; \
33785 libsrcdir="$$s/gas";; \
33786 esac; \
33787 $(SHELL) $${libsrcdir}/configure \
33788 $(HOST_CONFIGARGS) $${srcdiroption} \
33789 @stage2_werror_flag@
33791 maybe-all-stageprofile-gas: all-stageprofile-gas
33792 all-stageprofile-gas: configure-stageprofile-gas
33793 @$(MAKE) stageprofile-start
33794 @r=`${PWD_COMMAND}`; export r; \
33795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33796 $(STAGE_HOST_EXPORTS) \
33797 cd gas && \
33798 $(MAKE) $(FLAGS_TO_PASS) \
33799 $(POSTSTAGE1_FLAGS_TO_PASS) \
33800 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33802 maybe-clean-stageprofile-gas: clean-stageprofile-gas
33803 clean-stageprofile-gas:
33804 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
33805 || exit 0 ; \
33806 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
33807 cd gas && \
33808 $(MAKE) $(FLAGS_TO_PASS) \
33809 $(POSTSTAGE1_FLAGS_TO_PASS) \
33810 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33811 @endif gas-bootstrap
33814 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
33815 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
33816 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
33818 maybe-configure-stageprofile-gcc:
33819 maybe-all-stageprofile-gcc:
33820 maybe-clean-stageprofile-gcc:
33822 @if gcc-bootstrap
33823 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
33824 configure-stageprofile-gcc:
33825 @$(MAKE) stageprofile-start
33826 @[ -f gcc/Makefile ] && exit 0 || : ; \
33827 r=`${PWD_COMMAND}`; export r; \
33828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33829 $(STAGE_HOST_EXPORTS) \
33830 echo Configuring stage profile in gcc ; \
33831 cd gcc || exit 1; \
33832 case $(srcdir) in \
33833 \.) \
33834 srcdiroption="--srcdir=."; \
33835 libsrcdir=".";; \
33836 /* | [A-Za-z]:[\\/]*) \
33837 srcdiroption="--srcdir=$(srcdir)/gcc"; \
33838 libsrcdir="$$s/gcc";; \
33839 *) \
33840 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
33841 libsrcdir="$$s/gcc";; \
33842 esac; \
33843 $(SHELL) $${libsrcdir}/configure \
33844 $(HOST_CONFIGARGS) $${srcdiroption} \
33845 @stage2_werror_flag@
33847 maybe-all-stageprofile-gcc: all-stageprofile-gcc
33848 all-stageprofile-gcc: configure-stageprofile-gcc
33849 @$(MAKE) stageprofile-start
33850 @r=`${PWD_COMMAND}`; export r; \
33851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33852 $(STAGE_HOST_EXPORTS) \
33853 cd gcc && \
33854 $(MAKE) $(FLAGS_TO_PASS) \
33855 $(POSTSTAGE1_FLAGS_TO_PASS) \
33856 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
33858 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
33859 clean-stageprofile-gcc:
33860 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
33861 || exit 0 ; \
33862 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
33863 cd gcc && \
33864 $(MAKE) $(FLAGS_TO_PASS) \
33865 $(POSTSTAGE1_FLAGS_TO_PASS) \
33866 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
33867 @endif gcc-bootstrap
33870 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
33871 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
33872 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
33874 maybe-configure-stageprofile-intl:
33875 maybe-all-stageprofile-intl:
33876 maybe-clean-stageprofile-intl:
33878 @if intl-bootstrap
33879 maybe-configure-stageprofile-intl: configure-stageprofile-intl
33880 configure-stageprofile-intl:
33881 @$(MAKE) stageprofile-start
33882 @[ -f intl/Makefile ] && exit 0 || : ; \
33883 r=`${PWD_COMMAND}`; export r; \
33884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33885 $(STAGE_HOST_EXPORTS) \
33886 echo Configuring stage profile in intl ; \
33887 cd intl || exit 1; \
33888 case $(srcdir) in \
33889 \.) \
33890 srcdiroption="--srcdir=."; \
33891 libsrcdir=".";; \
33892 /* | [A-Za-z]:[\\/]*) \
33893 srcdiroption="--srcdir=$(srcdir)/intl"; \
33894 libsrcdir="$$s/intl";; \
33895 *) \
33896 srcdiroption="--srcdir=../$(srcdir)/intl"; \
33897 libsrcdir="$$s/intl";; \
33898 esac; \
33899 $(SHELL) $${libsrcdir}/configure \
33900 $(HOST_CONFIGARGS) $${srcdiroption} \
33901 @stage2_werror_flag@
33903 maybe-all-stageprofile-intl: all-stageprofile-intl
33904 all-stageprofile-intl: configure-stageprofile-intl
33905 @$(MAKE) stageprofile-start
33906 @r=`${PWD_COMMAND}`; export r; \
33907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33908 $(STAGE_HOST_EXPORTS) \
33909 cd intl && \
33910 $(MAKE) $(FLAGS_TO_PASS) \
33911 $(POSTSTAGE1_FLAGS_TO_PASS) \
33912 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33914 maybe-clean-stageprofile-intl: clean-stageprofile-intl
33915 clean-stageprofile-intl:
33916 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
33917 || exit 0 ; \
33918 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
33919 cd intl && \
33920 $(MAKE) $(FLAGS_TO_PASS) \
33921 $(POSTSTAGE1_FLAGS_TO_PASS) \
33922 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33923 @endif intl-bootstrap
33926 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
33927 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
33928 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
33930 maybe-configure-stageprofile-ld:
33931 maybe-all-stageprofile-ld:
33932 maybe-clean-stageprofile-ld:
33934 @if ld-bootstrap
33935 maybe-configure-stageprofile-ld: configure-stageprofile-ld
33936 configure-stageprofile-ld:
33937 @$(MAKE) stageprofile-start
33938 @[ -f ld/Makefile ] && exit 0 || : ; \
33939 r=`${PWD_COMMAND}`; export r; \
33940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33941 $(STAGE_HOST_EXPORTS) \
33942 echo Configuring stage profile in ld ; \
33943 cd ld || exit 1; \
33944 case $(srcdir) in \
33945 \.) \
33946 srcdiroption="--srcdir=."; \
33947 libsrcdir=".";; \
33948 /* | [A-Za-z]:[\\/]*) \
33949 srcdiroption="--srcdir=$(srcdir)/ld"; \
33950 libsrcdir="$$s/ld";; \
33951 *) \
33952 srcdiroption="--srcdir=../$(srcdir)/ld"; \
33953 libsrcdir="$$s/ld";; \
33954 esac; \
33955 $(SHELL) $${libsrcdir}/configure \
33956 $(HOST_CONFIGARGS) $${srcdiroption} \
33957 @stage2_werror_flag@
33959 maybe-all-stageprofile-ld: all-stageprofile-ld
33960 all-stageprofile-ld: configure-stageprofile-ld
33961 @$(MAKE) stageprofile-start
33962 @r=`${PWD_COMMAND}`; export r; \
33963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33964 $(STAGE_HOST_EXPORTS) \
33965 cd ld && \
33966 $(MAKE) $(FLAGS_TO_PASS) \
33967 $(POSTSTAGE1_FLAGS_TO_PASS) \
33968 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33970 maybe-clean-stageprofile-ld: clean-stageprofile-ld
33971 clean-stageprofile-ld:
33972 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
33973 || exit 0 ; \
33974 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
33975 cd ld && \
33976 $(MAKE) $(FLAGS_TO_PASS) \
33977 $(POSTSTAGE1_FLAGS_TO_PASS) \
33978 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33979 @endif ld-bootstrap
33982 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
33983 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
33984 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
33986 maybe-configure-stageprofile-libcpp:
33987 maybe-all-stageprofile-libcpp:
33988 maybe-clean-stageprofile-libcpp:
33990 @if libcpp-bootstrap
33991 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
33992 configure-stageprofile-libcpp:
33993 @$(MAKE) stageprofile-start
33994 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33995 r=`${PWD_COMMAND}`; export r; \
33996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33997 $(STAGE_HOST_EXPORTS) \
33998 echo Configuring stage profile in libcpp ; \
33999 cd libcpp || exit 1; \
34000 case $(srcdir) in \
34001 \.) \
34002 srcdiroption="--srcdir=."; \
34003 libsrcdir=".";; \
34004 /* | [A-Za-z]:[\\/]*) \
34005 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
34006 libsrcdir="$$s/libcpp";; \
34007 *) \
34008 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
34009 libsrcdir="$$s/libcpp";; \
34010 esac; \
34011 $(SHELL) $${libsrcdir}/configure \
34012 $(HOST_CONFIGARGS) $${srcdiroption} \
34013 @stage2_werror_flag@
34015 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
34016 all-stageprofile-libcpp: configure-stageprofile-libcpp
34017 @$(MAKE) stageprofile-start
34018 @r=`${PWD_COMMAND}`; export r; \
34019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34020 $(STAGE_HOST_EXPORTS) \
34021 cd libcpp && \
34022 $(MAKE) $(FLAGS_TO_PASS) \
34023 $(POSTSTAGE1_FLAGS_TO_PASS) \
34024 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34026 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
34027 clean-stageprofile-libcpp:
34028 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
34029 || exit 0 ; \
34030 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
34031 cd libcpp && \
34032 $(MAKE) $(FLAGS_TO_PASS) \
34033 $(POSTSTAGE1_FLAGS_TO_PASS) \
34034 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34035 @endif libcpp-bootstrap
34038 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
34039 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
34040 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
34042 maybe-configure-stageprofile-libiberty:
34043 maybe-all-stageprofile-libiberty:
34044 maybe-clean-stageprofile-libiberty:
34046 @if libiberty-bootstrap
34047 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
34048 configure-stageprofile-libiberty:
34049 @$(MAKE) stageprofile-start
34050 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34051 r=`${PWD_COMMAND}`; export r; \
34052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34053 $(STAGE_HOST_EXPORTS) \
34054 echo Configuring stage profile in libiberty ; \
34055 cd libiberty || exit 1; \
34056 case $(srcdir) in \
34057 \.) \
34058 srcdiroption="--srcdir=."; \
34059 libsrcdir=".";; \
34060 /* | [A-Za-z]:[\\/]*) \
34061 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
34062 libsrcdir="$$s/libiberty";; \
34063 *) \
34064 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
34065 libsrcdir="$$s/libiberty";; \
34066 esac; \
34067 $(SHELL) $${libsrcdir}/configure \
34068 $(HOST_CONFIGARGS) $${srcdiroption} \
34069 @stage2_werror_flag@
34071 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
34072 all-stageprofile-libiberty: configure-stageprofile-libiberty
34073 @$(MAKE) stageprofile-start
34074 @r=`${PWD_COMMAND}`; export r; \
34075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34076 $(STAGE_HOST_EXPORTS) \
34077 cd libiberty && \
34078 $(MAKE) $(FLAGS_TO_PASS) \
34079 $(POSTSTAGE1_FLAGS_TO_PASS) \
34080 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34082 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
34083 clean-stageprofile-libiberty:
34084 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
34085 || exit 0 ; \
34086 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
34087 cd libiberty && \
34088 $(MAKE) $(FLAGS_TO_PASS) \
34089 $(POSTSTAGE1_FLAGS_TO_PASS) \
34090 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34091 @endif libiberty-bootstrap
34094 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
34095 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
34096 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
34098 maybe-configure-stageprofile-zlib:
34099 maybe-all-stageprofile-zlib:
34100 maybe-clean-stageprofile-zlib:
34102 @if zlib-bootstrap
34103 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
34104 configure-stageprofile-zlib:
34105 @$(MAKE) stageprofile-start
34106 @[ -f zlib/Makefile ] && exit 0 || : ; \
34107 r=`${PWD_COMMAND}`; export r; \
34108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34109 $(STAGE_HOST_EXPORTS) \
34110 echo Configuring stage profile in zlib ; \
34111 cd zlib || exit 1; \
34112 case $(srcdir) in \
34113 \.) \
34114 srcdiroption="--srcdir=."; \
34115 libsrcdir=".";; \
34116 /* | [A-Za-z]:[\\/]*) \
34117 srcdiroption="--srcdir=$(srcdir)/zlib"; \
34118 libsrcdir="$$s/zlib";; \
34119 *) \
34120 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
34121 libsrcdir="$$s/zlib";; \
34122 esac; \
34123 $(SHELL) $${libsrcdir}/configure \
34124 $(HOST_CONFIGARGS) $${srcdiroption} \
34125 @stage2_werror_flag@
34127 maybe-all-stageprofile-zlib: all-stageprofile-zlib
34128 all-stageprofile-zlib: configure-stageprofile-zlib
34129 @$(MAKE) stageprofile-start
34130 @r=`${PWD_COMMAND}`; export r; \
34131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34132 $(STAGE_HOST_EXPORTS) \
34133 cd zlib && \
34134 $(MAKE) $(FLAGS_TO_PASS) \
34135 $(POSTSTAGE1_FLAGS_TO_PASS) \
34136 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34138 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
34139 clean-stageprofile-zlib:
34140 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
34141 || exit 0 ; \
34142 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
34143 cd zlib && \
34144 $(MAKE) $(FLAGS_TO_PASS) \
34145 $(POSTSTAGE1_FLAGS_TO_PASS) \
34146 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34147 @endif zlib-bootstrap
34151 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34152 # only possibility, but now it conflicts with no-bootstrap rules
34153 @if gcc-bootstrap
34158 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34159 distclean-stage1:: distclean-stageprofile
34160 .PHONY: distclean-stageprofile
34161 distclean-stageprofile::
34162 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34163 rm -rf stageprofile-*
34166 @endif gcc-bootstrap
34169 .PHONY: stagefeedback-start stagefeedback-end
34171 stagefeedback-start::
34172 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34173 echo stagefeedback > stage_current ; \
34174 echo stagefeedback > stage_last
34175 @if bfd
34176 @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
34177 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
34178 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
34179 @endif bfd
34180 @if opcodes
34181 @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
34182 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
34183 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
34184 @endif opcodes
34185 @if binutils
34186 @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
34187 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
34188 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
34189 @endif binutils
34190 @if gas
34191 @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
34192 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
34193 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
34194 @endif gas
34195 @if gcc
34196 @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
34197 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
34198 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
34199 @endif gcc
34200 @if intl
34201 @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
34202 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
34203 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
34204 @endif intl
34205 @if ld
34206 @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
34207 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
34208 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
34209 @endif ld
34210 @if libcpp
34211 @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
34212 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
34213 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
34214 @endif libcpp
34215 @if libiberty
34216 @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
34217 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
34218 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
34219 @endif libiberty
34220 @if zlib
34221 @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
34222 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
34223 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
34224 @endif zlib
34226 stagefeedback-end::
34227 @rm -f stage_current
34228 @if bfd
34229 @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
34230 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
34231 @endif bfd
34232 @if opcodes
34233 @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
34234 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
34235 @endif opcodes
34236 @if binutils
34237 @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
34238 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
34239 @endif binutils
34240 @if gas
34241 @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
34242 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
34243 @endif gas
34244 @if gcc
34245 @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
34246 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
34247 @endif gcc
34248 @if intl
34249 @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
34250 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
34251 @endif intl
34252 @if ld
34253 @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
34254 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
34255 @endif ld
34256 @if libcpp
34257 @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
34258 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
34259 @endif libcpp
34260 @if libiberty
34261 @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
34262 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
34263 @endif libiberty
34264 @if zlib
34265 @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
34266 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
34267 @endif zlib
34269 # Bubble a bugfix through all the stages up to stage feedback. They
34270 # are remade, but not reconfigured. The next stage (if any) will not
34271 # be reconfigured as well.
34272 .PHONY: stagefeedback-bubble
34273 stagefeedback-bubble:: stage1-bubble
34274 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
34275 echo Skipping rebuild of stagefeedback ; \
34276 else \
34277 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34280 .PHONY: all-stagefeedback clean-stagefeedback
34281 all-stagefeedback: \
34282 maybe-all-stagefeedback-bfd \
34283 maybe-all-stagefeedback-opcodes \
34284 maybe-all-stagefeedback-binutils \
34285 maybe-all-stagefeedback-gas \
34286 maybe-all-stagefeedback-gcc \
34287 maybe-all-stagefeedback-intl \
34288 maybe-all-stagefeedback-ld \
34289 maybe-all-stagefeedback-libcpp \
34290 maybe-all-stagefeedback-libiberty \
34291 maybe-all-stagefeedback-zlib
34293 do-clean: clean-stagefeedback
34294 clean-stagefeedback: \
34295 maybe-clean-stagefeedback-bfd \
34296 maybe-clean-stagefeedback-opcodes \
34297 maybe-clean-stagefeedback-binutils \
34298 maybe-clean-stagefeedback-gas \
34299 maybe-clean-stagefeedback-gcc \
34300 maybe-clean-stagefeedback-intl \
34301 maybe-clean-stagefeedback-ld \
34302 maybe-clean-stagefeedback-libcpp \
34303 maybe-clean-stagefeedback-libiberty \
34304 maybe-clean-stagefeedback-zlib
34307 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
34308 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
34309 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
34311 maybe-configure-stagefeedback-bfd:
34312 maybe-all-stagefeedback-bfd:
34313 maybe-clean-stagefeedback-bfd:
34315 @if bfd-bootstrap
34316 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
34317 configure-stagefeedback-bfd:
34318 @$(MAKE) stagefeedback-start
34319 @[ -f bfd/Makefile ] && exit 0 || : ; \
34320 r=`${PWD_COMMAND}`; export r; \
34321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34322 $(STAGE_HOST_EXPORTS) \
34323 echo Configuring stage feedback in bfd ; \
34324 cd bfd || exit 1; \
34325 case $(srcdir) in \
34326 \.) \
34327 srcdiroption="--srcdir=."; \
34328 libsrcdir=".";; \
34329 /* | [A-Za-z]:[\\/]*) \
34330 srcdiroption="--srcdir=$(srcdir)/bfd"; \
34331 libsrcdir="$$s/bfd";; \
34332 *) \
34333 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
34334 libsrcdir="$$s/bfd";; \
34335 esac; \
34336 $(SHELL) $${libsrcdir}/configure \
34337 $(HOST_CONFIGARGS) $${srcdiroption} \
34338 @stage2_werror_flag@
34340 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
34341 all-stagefeedback-bfd: configure-stagefeedback-bfd
34342 @$(MAKE) stagefeedback-start
34343 @r=`${PWD_COMMAND}`; export r; \
34344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34345 $(STAGE_HOST_EXPORTS) \
34346 cd bfd && \
34347 $(MAKE) $(FLAGS_TO_PASS) \
34348 $(POSTSTAGE1_FLAGS_TO_PASS) \
34349 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34351 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
34352 clean-stagefeedback-bfd:
34353 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
34354 || exit 0 ; \
34355 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
34356 cd bfd && \
34357 $(MAKE) $(FLAGS_TO_PASS) \
34358 $(POSTSTAGE1_FLAGS_TO_PASS) \
34359 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34360 @endif bfd-bootstrap
34363 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
34364 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
34365 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
34367 maybe-configure-stagefeedback-opcodes:
34368 maybe-all-stagefeedback-opcodes:
34369 maybe-clean-stagefeedback-opcodes:
34371 @if opcodes-bootstrap
34372 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
34373 configure-stagefeedback-opcodes:
34374 @$(MAKE) stagefeedback-start
34375 @[ -f opcodes/Makefile ] && exit 0 || : ; \
34376 r=`${PWD_COMMAND}`; export r; \
34377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34378 $(STAGE_HOST_EXPORTS) \
34379 echo Configuring stage feedback in opcodes ; \
34380 cd opcodes || exit 1; \
34381 case $(srcdir) in \
34382 \.) \
34383 srcdiroption="--srcdir=."; \
34384 libsrcdir=".";; \
34385 /* | [A-Za-z]:[\\/]*) \
34386 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
34387 libsrcdir="$$s/opcodes";; \
34388 *) \
34389 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
34390 libsrcdir="$$s/opcodes";; \
34391 esac; \
34392 $(SHELL) $${libsrcdir}/configure \
34393 $(HOST_CONFIGARGS) $${srcdiroption} \
34394 @stage2_werror_flag@
34396 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
34397 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
34398 @$(MAKE) stagefeedback-start
34399 @r=`${PWD_COMMAND}`; export r; \
34400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34401 $(STAGE_HOST_EXPORTS) \
34402 cd opcodes && \
34403 $(MAKE) $(FLAGS_TO_PASS) \
34404 $(POSTSTAGE1_FLAGS_TO_PASS) \
34405 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34407 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
34408 clean-stagefeedback-opcodes:
34409 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
34410 || exit 0 ; \
34411 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
34412 cd opcodes && \
34413 $(MAKE) $(FLAGS_TO_PASS) \
34414 $(POSTSTAGE1_FLAGS_TO_PASS) \
34415 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34416 @endif opcodes-bootstrap
34419 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
34420 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
34421 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
34423 maybe-configure-stagefeedback-binutils:
34424 maybe-all-stagefeedback-binutils:
34425 maybe-clean-stagefeedback-binutils:
34427 @if binutils-bootstrap
34428 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
34429 configure-stagefeedback-binutils:
34430 @$(MAKE) stagefeedback-start
34431 @[ -f binutils/Makefile ] && exit 0 || : ; \
34432 r=`${PWD_COMMAND}`; export r; \
34433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34434 $(STAGE_HOST_EXPORTS) \
34435 echo Configuring stage feedback in binutils ; \
34436 cd binutils || exit 1; \
34437 case $(srcdir) in \
34438 \.) \
34439 srcdiroption="--srcdir=."; \
34440 libsrcdir=".";; \
34441 /* | [A-Za-z]:[\\/]*) \
34442 srcdiroption="--srcdir=$(srcdir)/binutils"; \
34443 libsrcdir="$$s/binutils";; \
34444 *) \
34445 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
34446 libsrcdir="$$s/binutils";; \
34447 esac; \
34448 $(SHELL) $${libsrcdir}/configure \
34449 $(HOST_CONFIGARGS) $${srcdiroption} \
34450 @stage2_werror_flag@
34452 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
34453 all-stagefeedback-binutils: configure-stagefeedback-binutils
34454 @$(MAKE) stagefeedback-start
34455 @r=`${PWD_COMMAND}`; export r; \
34456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34457 $(STAGE_HOST_EXPORTS) \
34458 cd binutils && \
34459 $(MAKE) $(FLAGS_TO_PASS) \
34460 $(POSTSTAGE1_FLAGS_TO_PASS) \
34461 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34463 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
34464 clean-stagefeedback-binutils:
34465 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
34466 || exit 0 ; \
34467 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
34468 cd binutils && \
34469 $(MAKE) $(FLAGS_TO_PASS) \
34470 $(POSTSTAGE1_FLAGS_TO_PASS) \
34471 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34472 @endif binutils-bootstrap
34475 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
34476 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
34477 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
34479 maybe-configure-stagefeedback-gas:
34480 maybe-all-stagefeedback-gas:
34481 maybe-clean-stagefeedback-gas:
34483 @if gas-bootstrap
34484 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
34485 configure-stagefeedback-gas:
34486 @$(MAKE) stagefeedback-start
34487 @[ -f gas/Makefile ] && exit 0 || : ; \
34488 r=`${PWD_COMMAND}`; export r; \
34489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34490 $(STAGE_HOST_EXPORTS) \
34491 echo Configuring stage feedback in gas ; \
34492 cd gas || exit 1; \
34493 case $(srcdir) in \
34494 \.) \
34495 srcdiroption="--srcdir=."; \
34496 libsrcdir=".";; \
34497 /* | [A-Za-z]:[\\/]*) \
34498 srcdiroption="--srcdir=$(srcdir)/gas"; \
34499 libsrcdir="$$s/gas";; \
34500 *) \
34501 srcdiroption="--srcdir=../$(srcdir)/gas"; \
34502 libsrcdir="$$s/gas";; \
34503 esac; \
34504 $(SHELL) $${libsrcdir}/configure \
34505 $(HOST_CONFIGARGS) $${srcdiroption} \
34506 @stage2_werror_flag@
34508 maybe-all-stagefeedback-gas: all-stagefeedback-gas
34509 all-stagefeedback-gas: configure-stagefeedback-gas
34510 @$(MAKE) stagefeedback-start
34511 @r=`${PWD_COMMAND}`; export r; \
34512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34513 $(STAGE_HOST_EXPORTS) \
34514 cd gas && \
34515 $(MAKE) $(FLAGS_TO_PASS) \
34516 $(POSTSTAGE1_FLAGS_TO_PASS) \
34517 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34519 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
34520 clean-stagefeedback-gas:
34521 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
34522 || exit 0 ; \
34523 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
34524 cd gas && \
34525 $(MAKE) $(FLAGS_TO_PASS) \
34526 $(POSTSTAGE1_FLAGS_TO_PASS) \
34527 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34528 @endif gas-bootstrap
34531 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
34532 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
34533 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
34535 maybe-configure-stagefeedback-gcc:
34536 maybe-all-stagefeedback-gcc:
34537 maybe-clean-stagefeedback-gcc:
34539 @if gcc-bootstrap
34540 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
34541 configure-stagefeedback-gcc:
34542 @$(MAKE) stagefeedback-start
34543 @[ -f gcc/Makefile ] && exit 0 || : ; \
34544 r=`${PWD_COMMAND}`; export r; \
34545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34546 $(STAGE_HOST_EXPORTS) \
34547 echo Configuring stage feedback in gcc ; \
34548 cd gcc || exit 1; \
34549 case $(srcdir) in \
34550 \.) \
34551 srcdiroption="--srcdir=."; \
34552 libsrcdir=".";; \
34553 /* | [A-Za-z]:[\\/]*) \
34554 srcdiroption="--srcdir=$(srcdir)/gcc"; \
34555 libsrcdir="$$s/gcc";; \
34556 *) \
34557 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
34558 libsrcdir="$$s/gcc";; \
34559 esac; \
34560 $(SHELL) $${libsrcdir}/configure \
34561 $(HOST_CONFIGARGS) $${srcdiroption} \
34562 @stage2_werror_flag@
34564 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
34565 all-stagefeedback-gcc: configure-stagefeedback-gcc
34566 @$(MAKE) stagefeedback-start
34567 @r=`${PWD_COMMAND}`; export r; \
34568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34569 $(STAGE_HOST_EXPORTS) \
34570 cd gcc && \
34571 $(MAKE) $(FLAGS_TO_PASS) \
34572 $(POSTSTAGE1_FLAGS_TO_PASS) \
34573 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
34575 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
34576 clean-stagefeedback-gcc:
34577 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
34578 || exit 0 ; \
34579 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
34580 cd gcc && \
34581 $(MAKE) $(FLAGS_TO_PASS) \
34582 $(POSTSTAGE1_FLAGS_TO_PASS) \
34583 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
34584 @endif gcc-bootstrap
34587 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
34588 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
34589 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
34591 maybe-configure-stagefeedback-intl:
34592 maybe-all-stagefeedback-intl:
34593 maybe-clean-stagefeedback-intl:
34595 @if intl-bootstrap
34596 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
34597 configure-stagefeedback-intl:
34598 @$(MAKE) stagefeedback-start
34599 @[ -f intl/Makefile ] && exit 0 || : ; \
34600 r=`${PWD_COMMAND}`; export r; \
34601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34602 $(STAGE_HOST_EXPORTS) \
34603 echo Configuring stage feedback in intl ; \
34604 cd intl || exit 1; \
34605 case $(srcdir) in \
34606 \.) \
34607 srcdiroption="--srcdir=."; \
34608 libsrcdir=".";; \
34609 /* | [A-Za-z]:[\\/]*) \
34610 srcdiroption="--srcdir=$(srcdir)/intl"; \
34611 libsrcdir="$$s/intl";; \
34612 *) \
34613 srcdiroption="--srcdir=../$(srcdir)/intl"; \
34614 libsrcdir="$$s/intl";; \
34615 esac; \
34616 $(SHELL) $${libsrcdir}/configure \
34617 $(HOST_CONFIGARGS) $${srcdiroption} \
34618 @stage2_werror_flag@
34620 maybe-all-stagefeedback-intl: all-stagefeedback-intl
34621 all-stagefeedback-intl: configure-stagefeedback-intl
34622 @$(MAKE) stagefeedback-start
34623 @r=`${PWD_COMMAND}`; export r; \
34624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34625 $(STAGE_HOST_EXPORTS) \
34626 cd intl && \
34627 $(MAKE) $(FLAGS_TO_PASS) \
34628 $(POSTSTAGE1_FLAGS_TO_PASS) \
34629 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34631 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
34632 clean-stagefeedback-intl:
34633 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
34634 || exit 0 ; \
34635 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
34636 cd intl && \
34637 $(MAKE) $(FLAGS_TO_PASS) \
34638 $(POSTSTAGE1_FLAGS_TO_PASS) \
34639 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34640 @endif intl-bootstrap
34643 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
34644 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
34645 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
34647 maybe-configure-stagefeedback-ld:
34648 maybe-all-stagefeedback-ld:
34649 maybe-clean-stagefeedback-ld:
34651 @if ld-bootstrap
34652 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
34653 configure-stagefeedback-ld:
34654 @$(MAKE) stagefeedback-start
34655 @[ -f ld/Makefile ] && exit 0 || : ; \
34656 r=`${PWD_COMMAND}`; export r; \
34657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34658 $(STAGE_HOST_EXPORTS) \
34659 echo Configuring stage feedback in ld ; \
34660 cd ld || exit 1; \
34661 case $(srcdir) in \
34662 \.) \
34663 srcdiroption="--srcdir=."; \
34664 libsrcdir=".";; \
34665 /* | [A-Za-z]:[\\/]*) \
34666 srcdiroption="--srcdir=$(srcdir)/ld"; \
34667 libsrcdir="$$s/ld";; \
34668 *) \
34669 srcdiroption="--srcdir=../$(srcdir)/ld"; \
34670 libsrcdir="$$s/ld";; \
34671 esac; \
34672 $(SHELL) $${libsrcdir}/configure \
34673 $(HOST_CONFIGARGS) $${srcdiroption} \
34674 @stage2_werror_flag@
34676 maybe-all-stagefeedback-ld: all-stagefeedback-ld
34677 all-stagefeedback-ld: configure-stagefeedback-ld
34678 @$(MAKE) stagefeedback-start
34679 @r=`${PWD_COMMAND}`; export r; \
34680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34681 $(STAGE_HOST_EXPORTS) \
34682 cd ld && \
34683 $(MAKE) $(FLAGS_TO_PASS) \
34684 $(POSTSTAGE1_FLAGS_TO_PASS) \
34685 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34687 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
34688 clean-stagefeedback-ld:
34689 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
34690 || exit 0 ; \
34691 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
34692 cd ld && \
34693 $(MAKE) $(FLAGS_TO_PASS) \
34694 $(POSTSTAGE1_FLAGS_TO_PASS) \
34695 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34696 @endif ld-bootstrap
34699 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
34700 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
34701 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
34703 maybe-configure-stagefeedback-libcpp:
34704 maybe-all-stagefeedback-libcpp:
34705 maybe-clean-stagefeedback-libcpp:
34707 @if libcpp-bootstrap
34708 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
34709 configure-stagefeedback-libcpp:
34710 @$(MAKE) stagefeedback-start
34711 @[ -f libcpp/Makefile ] && exit 0 || : ; \
34712 r=`${PWD_COMMAND}`; export r; \
34713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34714 $(STAGE_HOST_EXPORTS) \
34715 echo Configuring stage feedback in libcpp ; \
34716 cd libcpp || exit 1; \
34717 case $(srcdir) in \
34718 \.) \
34719 srcdiroption="--srcdir=."; \
34720 libsrcdir=".";; \
34721 /* | [A-Za-z]:[\\/]*) \
34722 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
34723 libsrcdir="$$s/libcpp";; \
34724 *) \
34725 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
34726 libsrcdir="$$s/libcpp";; \
34727 esac; \
34728 $(SHELL) $${libsrcdir}/configure \
34729 $(HOST_CONFIGARGS) $${srcdiroption} \
34730 @stage2_werror_flag@
34732 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
34733 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
34734 @$(MAKE) stagefeedback-start
34735 @r=`${PWD_COMMAND}`; export r; \
34736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34737 $(STAGE_HOST_EXPORTS) \
34738 cd libcpp && \
34739 $(MAKE) $(FLAGS_TO_PASS) \
34740 $(POSTSTAGE1_FLAGS_TO_PASS) \
34741 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34743 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
34744 clean-stagefeedback-libcpp:
34745 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
34746 || exit 0 ; \
34747 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
34748 cd libcpp && \
34749 $(MAKE) $(FLAGS_TO_PASS) \
34750 $(POSTSTAGE1_FLAGS_TO_PASS) \
34751 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34752 @endif libcpp-bootstrap
34755 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
34756 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
34757 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
34759 maybe-configure-stagefeedback-libiberty:
34760 maybe-all-stagefeedback-libiberty:
34761 maybe-clean-stagefeedback-libiberty:
34763 @if libiberty-bootstrap
34764 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
34765 configure-stagefeedback-libiberty:
34766 @$(MAKE) stagefeedback-start
34767 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34768 r=`${PWD_COMMAND}`; export r; \
34769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34770 $(STAGE_HOST_EXPORTS) \
34771 echo Configuring stage feedback in libiberty ; \
34772 cd libiberty || exit 1; \
34773 case $(srcdir) in \
34774 \.) \
34775 srcdiroption="--srcdir=."; \
34776 libsrcdir=".";; \
34777 /* | [A-Za-z]:[\\/]*) \
34778 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
34779 libsrcdir="$$s/libiberty";; \
34780 *) \
34781 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
34782 libsrcdir="$$s/libiberty";; \
34783 esac; \
34784 $(SHELL) $${libsrcdir}/configure \
34785 $(HOST_CONFIGARGS) $${srcdiroption} \
34786 @stage2_werror_flag@
34788 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
34789 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
34790 @$(MAKE) stagefeedback-start
34791 @r=`${PWD_COMMAND}`; export r; \
34792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34793 $(STAGE_HOST_EXPORTS) \
34794 cd libiberty && \
34795 $(MAKE) $(FLAGS_TO_PASS) \
34796 $(POSTSTAGE1_FLAGS_TO_PASS) \
34797 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34799 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
34800 clean-stagefeedback-libiberty:
34801 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
34802 || exit 0 ; \
34803 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
34804 cd libiberty && \
34805 $(MAKE) $(FLAGS_TO_PASS) \
34806 $(POSTSTAGE1_FLAGS_TO_PASS) \
34807 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34808 @endif libiberty-bootstrap
34811 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
34812 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
34813 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
34815 maybe-configure-stagefeedback-zlib:
34816 maybe-all-stagefeedback-zlib:
34817 maybe-clean-stagefeedback-zlib:
34819 @if zlib-bootstrap
34820 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
34821 configure-stagefeedback-zlib:
34822 @$(MAKE) stagefeedback-start
34823 @[ -f zlib/Makefile ] && exit 0 || : ; \
34824 r=`${PWD_COMMAND}`; export r; \
34825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34826 $(STAGE_HOST_EXPORTS) \
34827 echo Configuring stage feedback in zlib ; \
34828 cd zlib || exit 1; \
34829 case $(srcdir) in \
34830 \.) \
34831 srcdiroption="--srcdir=."; \
34832 libsrcdir=".";; \
34833 /* | [A-Za-z]:[\\/]*) \
34834 srcdiroption="--srcdir=$(srcdir)/zlib"; \
34835 libsrcdir="$$s/zlib";; \
34836 *) \
34837 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
34838 libsrcdir="$$s/zlib";; \
34839 esac; \
34840 $(SHELL) $${libsrcdir}/configure \
34841 $(HOST_CONFIGARGS) $${srcdiroption} \
34842 @stage2_werror_flag@
34844 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
34845 all-stagefeedback-zlib: configure-stagefeedback-zlib
34846 @$(MAKE) stagefeedback-start
34847 @r=`${PWD_COMMAND}`; export r; \
34848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34849 $(STAGE_HOST_EXPORTS) \
34850 cd zlib && \
34851 $(MAKE) $(FLAGS_TO_PASS) \
34852 $(POSTSTAGE1_FLAGS_TO_PASS) \
34853 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34855 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
34856 clean-stagefeedback-zlib:
34857 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
34858 || exit 0 ; \
34859 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
34860 cd zlib && \
34861 $(MAKE) $(FLAGS_TO_PASS) \
34862 $(POSTSTAGE1_FLAGS_TO_PASS) \
34863 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34864 @endif zlib-bootstrap
34868 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34869 # only possibility, but now it conflicts with no-bootstrap rules
34870 @if gcc-bootstrap
34875 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34876 distclean-stage1:: distclean-stagefeedback
34877 .PHONY: distclean-stagefeedback
34878 distclean-stagefeedback::
34879 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34880 rm -rf stagefeedback-*
34883 @endif gcc-bootstrap
34887 stagefeedback-start::
34888 @r=`${PWD_COMMAND}`; export r; \
34889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34890 cd stageprofile-gcc && \
34891 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
34892 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
34894 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34895 # only possibility, but now it conflicts with no-bootstrap rules
34896 @if gcc-bootstrap
34897 profiledbootstrap:
34898 @r=`${PWD_COMMAND}`; export r; \
34899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34900 $(SET_LIB_PATH) \
34901 $(HOST_EXPORTS) \
34902 echo "Bootstrapping the compiler"; \
34903 $(MAKE) stageprofile-bubble distclean-stagefeedback
34904 @r=`${PWD_COMMAND}`; export r; \
34905 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
34906 $(SET_LIB_PATH) \
34907 echo "Building runtime libraries and training compiler"; \
34908 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
34909 @r=`${PWD_COMMAND}`; export r; \
34910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34911 $(SET_LIB_PATH) \
34912 $(HOST_EXPORTS) \
34913 echo "Building feedback based compiler"; \
34914 $(MAKE) stagefeedback-bubble stagefeedback-end
34915 @endif gcc-bootstrap
34917 @if gcc-bootstrap
34918 NOTPARALLEL = .NOTPARALLEL
34919 $(NOTPARALLEL):
34920 do-distclean: distclean-stage1
34921 @endif gcc-bootstrap
34923 # --------------------------------------
34924 # Dependencies between different modules
34925 # --------------------------------------
34927 # Generic dependencies for target modules on host stuff, especially gcc
34929 configure-target-libstdc++-v3: maybe-all-gcc
34931 configure-target-libmudflap: maybe-all-gcc
34933 configure-target-newlib: maybe-all-gcc
34935 configure-target-libgfortran: maybe-all-gcc
34937 configure-target-libobjc: maybe-all-gcc
34939 configure-target-libtermcap: maybe-all-gcc
34941 configure-target-winsup: maybe-all-gcc
34943 configure-target-libgloss: maybe-all-gcc
34945 configure-target-libiberty: maybe-all-gcc
34947 configure-target-gperf: maybe-all-gcc
34949 configure-target-examples: maybe-all-gcc
34951 configure-target-libffi: maybe-all-gcc
34953 configure-target-libjava: maybe-all-gcc
34955 configure-target-zlib: maybe-all-gcc
34957 configure-target-boehm-gc: maybe-all-gcc
34959 configure-target-qthreads: maybe-all-gcc
34961 configure-target-rda: maybe-all-gcc
34963 configure-target-libada: maybe-all-gcc
34967 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
34969 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
34970 configure-target-gperf: maybe-all-target-libstdc++-v3
34972 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
34974 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
34976 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
34978 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
34979 configure-target-libjava: maybe-all-target-libstdc++-v3
34981 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
34983 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
34985 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
34987 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
34989 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
34991 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
34993 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
34995 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
34998 # There are two types of dependencies here: 'hard' dependencies, where one
34999 # module simply won't build without the other; and 'soft' dependencies, where
35000 # if the depended-on module is missing, the depending module will do without
35001 # or find a substitute somewhere (perhaps installed). Soft dependencies
35002 # are made here to depend on a 'maybe-' target. If you're not sure,
35003 # it's safer to use a soft dependency.
35009 # With all the machinery above in place, it is pretty easy to generate
35010 # dependencies. Host dependencies are a bit more complex because we have
35011 # to check for bootstrap/prebootstrap dependencies. To resolve
35012 # prebootstrap dependencies, prebootstrap modules are gathered in
35013 # a hash table.
35014 all-build-bison: maybe-all-build-texinfo
35015 all-build-byacc: maybe-all-build-texinfo
35016 all-build-flex: maybe-all-build-texinfo
35017 all-build-flex: maybe-all-build-bison
35018 all-build-flex: maybe-all-build-byacc
35019 all-build-flex: maybe-all-build-m4
35020 all-build-libiberty: maybe-all-build-texinfo
35021 all-build-m4: maybe-all-build-texinfo
35022 all-build-fixincludes: maybe-all-build-libiberty
35023 configure-gcc: maybe-configure-intl
35025 configure-stage1-gcc: maybe-configure-stage1-intl
35026 configure-stage2-gcc: maybe-configure-stage2-intl
35027 configure-stage3-gcc: maybe-configure-stage3-intl
35028 configure-stage4-gcc: maybe-configure-stage4-intl
35029 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
35030 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
35031 configure-gcc: maybe-configure-binutils
35033 configure-stage1-gcc: maybe-configure-stage1-binutils
35034 configure-stage2-gcc: maybe-configure-stage2-binutils
35035 configure-stage3-gcc: maybe-configure-stage3-binutils
35036 configure-stage4-gcc: maybe-configure-stage4-binutils
35037 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
35038 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
35039 configure-gcc: maybe-configure-gas
35041 configure-stage1-gcc: maybe-configure-stage1-gas
35042 configure-stage2-gcc: maybe-configure-stage2-gas
35043 configure-stage3-gcc: maybe-configure-stage3-gas
35044 configure-stage4-gcc: maybe-configure-stage4-gas
35045 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
35046 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
35047 configure-gcc: maybe-configure-ld
35049 configure-stage1-gcc: maybe-configure-stage1-ld
35050 configure-stage2-gcc: maybe-configure-stage2-ld
35051 configure-stage3-gcc: maybe-configure-stage3-ld
35052 configure-stage4-gcc: maybe-configure-stage4-ld
35053 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
35054 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
35055 all-gcc: all-libiberty
35057 all-stage1-gcc: all-stage1-libiberty
35058 all-stage2-gcc: all-stage2-libiberty
35059 all-stage3-gcc: all-stage3-libiberty
35060 all-stage4-gcc: all-stage4-libiberty
35061 all-stageprofile-gcc: all-stageprofile-libiberty
35062 all-stagefeedback-gcc: all-stagefeedback-libiberty
35063 all-gcc: maybe-all-intl
35065 all-stage1-gcc: maybe-all-stage1-intl
35066 all-stage2-gcc: maybe-all-stage2-intl
35067 all-stage3-gcc: maybe-all-stage3-intl
35068 all-stage4-gcc: maybe-all-stage4-intl
35069 all-stageprofile-gcc: maybe-all-stageprofile-intl
35070 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35071 all-gcc: maybe-all-build-texinfo
35073 all-stage1-gcc: maybe-all-build-texinfo
35074 all-stage2-gcc: maybe-all-build-texinfo
35075 all-stage3-gcc: maybe-all-build-texinfo
35076 all-stage4-gcc: maybe-all-build-texinfo
35077 all-stageprofile-gcc: maybe-all-build-texinfo
35078 all-stagefeedback-gcc: maybe-all-build-texinfo
35079 all-prebootstrap: maybe-all-build-texinfo
35080 all-gcc: maybe-all-build-bison
35082 all-stage1-gcc: maybe-all-build-bison
35083 all-stage2-gcc: maybe-all-build-bison
35084 all-stage3-gcc: maybe-all-build-bison
35085 all-stage4-gcc: maybe-all-build-bison
35086 all-stageprofile-gcc: maybe-all-build-bison
35087 all-stagefeedback-gcc: maybe-all-build-bison
35088 all-prebootstrap: maybe-all-build-bison
35089 all-gcc: maybe-all-build-byacc
35091 all-stage1-gcc: maybe-all-build-byacc
35092 all-stage2-gcc: maybe-all-build-byacc
35093 all-stage3-gcc: maybe-all-build-byacc
35094 all-stage4-gcc: maybe-all-build-byacc
35095 all-stageprofile-gcc: maybe-all-build-byacc
35096 all-stagefeedback-gcc: maybe-all-build-byacc
35097 all-prebootstrap: maybe-all-build-byacc
35098 all-gcc: maybe-all-build-flex
35100 all-stage1-gcc: maybe-all-build-flex
35101 all-stage2-gcc: maybe-all-build-flex
35102 all-stage3-gcc: maybe-all-build-flex
35103 all-stage4-gcc: maybe-all-build-flex
35104 all-stageprofile-gcc: maybe-all-build-flex
35105 all-stagefeedback-gcc: maybe-all-build-flex
35106 all-prebootstrap: maybe-all-build-flex
35107 all-gcc: maybe-all-build-libiberty
35109 all-stage1-gcc: maybe-all-build-libiberty
35110 all-stage2-gcc: maybe-all-build-libiberty
35111 all-stage3-gcc: maybe-all-build-libiberty
35112 all-stage4-gcc: maybe-all-build-libiberty
35113 all-stageprofile-gcc: maybe-all-build-libiberty
35114 all-stagefeedback-gcc: maybe-all-build-libiberty
35115 all-prebootstrap: maybe-all-build-libiberty
35116 all-gcc: maybe-all-build-fixincludes
35118 all-stage1-gcc: maybe-all-build-fixincludes
35119 all-stage2-gcc: maybe-all-build-fixincludes
35120 all-stage3-gcc: maybe-all-build-fixincludes
35121 all-stage4-gcc: maybe-all-build-fixincludes
35122 all-stageprofile-gcc: maybe-all-build-fixincludes
35123 all-stagefeedback-gcc: maybe-all-build-fixincludes
35124 all-prebootstrap: maybe-all-build-fixincludes
35125 all-gcc: maybe-all-binutils
35127 all-stage1-gcc: maybe-all-stage1-binutils
35128 all-stage2-gcc: maybe-all-stage2-binutils
35129 all-stage3-gcc: maybe-all-stage3-binutils
35130 all-stage4-gcc: maybe-all-stage4-binutils
35131 all-stageprofile-gcc: maybe-all-stageprofile-binutils
35132 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35133 all-gcc: maybe-all-gas
35135 all-stage1-gcc: maybe-all-stage1-gas
35136 all-stage2-gcc: maybe-all-stage2-gas
35137 all-stage3-gcc: maybe-all-stage3-gas
35138 all-stage4-gcc: maybe-all-stage4-gas
35139 all-stageprofile-gcc: maybe-all-stageprofile-gas
35140 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
35141 all-gcc: maybe-all-ld
35143 all-stage1-gcc: maybe-all-stage1-ld
35144 all-stage2-gcc: maybe-all-stage2-ld
35145 all-stage3-gcc: maybe-all-stage3-ld
35146 all-stage4-gcc: maybe-all-stage4-ld
35147 all-stageprofile-gcc: maybe-all-stageprofile-ld
35148 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
35149 all-gcc: maybe-all-zlib
35151 all-stage1-gcc: maybe-all-stage1-zlib
35152 all-stage2-gcc: maybe-all-stage2-zlib
35153 all-stage3-gcc: maybe-all-stage3-zlib
35154 all-stage4-gcc: maybe-all-stage4-zlib
35155 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35156 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35157 all-gcc: all-libcpp
35159 all-stage1-gcc: all-stage1-libcpp
35160 all-stage2-gcc: all-stage2-libcpp
35161 all-stage3-gcc: all-stage3-libcpp
35162 all-stage4-gcc: all-stage4-libcpp
35163 all-stageprofile-gcc: all-stageprofile-libcpp
35164 all-stagefeedback-gcc: all-stagefeedback-libcpp
35165 all-gcc: maybe-all-libiberty
35167 all-stage1-gcc: maybe-all-stage1-libiberty
35168 all-stage2-gcc: maybe-all-stage2-libiberty
35169 all-stage3-gcc: maybe-all-stage3-libiberty
35170 all-stage4-gcc: maybe-all-stage4-libiberty
35171 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35172 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35173 all-gcc: maybe-all-fixincludes
35175 all-stage1-gcc: maybe-all-stage1-fixincludes
35176 all-stage2-gcc: maybe-all-stage2-fixincludes
35177 all-stage3-gcc: maybe-all-stage3-fixincludes
35178 all-stage4-gcc: maybe-all-stage4-fixincludes
35179 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
35180 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
35181 install-gcc: maybe-install-fixincludes
35182 configure-libcpp: configure-libiberty
35184 configure-stage1-libcpp: configure-stage1-libiberty
35185 configure-stage2-libcpp: configure-stage2-libiberty
35186 configure-stage3-libcpp: configure-stage3-libiberty
35187 configure-stage4-libcpp: configure-stage4-libiberty
35188 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35189 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35190 configure-libcpp: maybe-configure-intl
35192 configure-stage1-libcpp: maybe-configure-stage1-intl
35193 configure-stage2-libcpp: maybe-configure-stage2-intl
35194 configure-stage3-libcpp: maybe-configure-stage3-intl
35195 configure-stage4-libcpp: maybe-configure-stage4-intl
35196 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35197 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35198 all-libcpp: all-libiberty
35200 all-stage1-libcpp: all-stage1-libiberty
35201 all-stage2-libcpp: all-stage2-libiberty
35202 all-stage3-libcpp: all-stage3-libiberty
35203 all-stage4-libcpp: all-stage4-libiberty
35204 all-stageprofile-libcpp: all-stageprofile-libiberty
35205 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35206 all-libcpp: maybe-all-intl
35208 all-stage1-libcpp: maybe-all-stage1-intl
35209 all-stage2-libcpp: maybe-all-stage2-intl
35210 all-stage3-libcpp: maybe-all-stage3-intl
35211 all-stage4-libcpp: maybe-all-stage4-intl
35212 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35213 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35214 all-fixincludes: maybe-all-libiberty
35215 configure-gdb: maybe-configure-itcl
35216 configure-gdb: maybe-configure-tcl
35217 configure-gdb: maybe-configure-tk
35218 configure-gdb: maybe-configure-sim
35219 all-gdb: maybe-all-libiberty
35220 all-gdb: maybe-all-opcodes
35221 all-gdb: maybe-all-bfd
35222 all-gdb: maybe-all-readline
35223 all-gdb: maybe-all-build-bison
35224 all-gdb: maybe-all-build-byacc
35225 all-gdb: maybe-all-sim
35226 install-gdb: maybe-install-tcl
35227 install-gdb: maybe-install-tk
35228 install-gdb: maybe-install-itcl
35229 install-gdb: maybe-install-libgui
35230 configure-libgui: maybe-configure-tcl
35231 configure-libgui: maybe-configure-tk
35232 all-libgui: maybe-all-tcl
35233 all-libgui: maybe-all-tk
35234 all-libgui: maybe-all-itcl
35235 configure-bfd: configure-libiberty
35237 configure-stage1-bfd: configure-stage1-libiberty
35238 configure-stage2-bfd: configure-stage2-libiberty
35239 configure-stage3-bfd: configure-stage3-libiberty
35240 configure-stage4-bfd: configure-stage4-libiberty
35241 configure-stageprofile-bfd: configure-stageprofile-libiberty
35242 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35243 all-bfd: maybe-all-libiberty
35245 all-stage1-bfd: maybe-all-stage1-libiberty
35246 all-stage2-bfd: maybe-all-stage2-libiberty
35247 all-stage3-bfd: maybe-all-stage3-libiberty
35248 all-stage4-bfd: maybe-all-stage4-libiberty
35249 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35250 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35251 all-bfd: maybe-all-intl
35253 all-stage1-bfd: maybe-all-stage1-intl
35254 all-stage2-bfd: maybe-all-stage2-intl
35255 all-stage3-bfd: maybe-all-stage3-intl
35256 all-stage4-bfd: maybe-all-stage4-intl
35257 all-stageprofile-bfd: maybe-all-stageprofile-intl
35258 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35259 all-binutils: maybe-all-libiberty
35261 all-stage1-binutils: maybe-all-stage1-libiberty
35262 all-stage2-binutils: maybe-all-stage2-libiberty
35263 all-stage3-binutils: maybe-all-stage3-libiberty
35264 all-stage4-binutils: maybe-all-stage4-libiberty
35265 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35266 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35267 all-binutils: maybe-all-opcodes
35269 all-stage1-binutils: maybe-all-stage1-opcodes
35270 all-stage2-binutils: maybe-all-stage2-opcodes
35271 all-stage3-binutils: maybe-all-stage3-opcodes
35272 all-stage4-binutils: maybe-all-stage4-opcodes
35273 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35274 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35275 all-binutils: maybe-all-bfd
35277 all-stage1-binutils: maybe-all-stage1-bfd
35278 all-stage2-binutils: maybe-all-stage2-bfd
35279 all-stage3-binutils: maybe-all-stage3-bfd
35280 all-stage4-binutils: maybe-all-stage4-bfd
35281 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35282 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35283 all-binutils: maybe-all-build-flex
35285 all-stage1-binutils: maybe-all-build-flex
35286 all-stage2-binutils: maybe-all-build-flex
35287 all-stage3-binutils: maybe-all-build-flex
35288 all-stage4-binutils: maybe-all-build-flex
35289 all-stageprofile-binutils: maybe-all-build-flex
35290 all-stagefeedback-binutils: maybe-all-build-flex
35291 all-prebootstrap: maybe-all-build-flex
35292 all-binutils: maybe-all-build-bison
35294 all-stage1-binutils: maybe-all-build-bison
35295 all-stage2-binutils: maybe-all-build-bison
35296 all-stage3-binutils: maybe-all-build-bison
35297 all-stage4-binutils: maybe-all-build-bison
35298 all-stageprofile-binutils: maybe-all-build-bison
35299 all-stagefeedback-binutils: maybe-all-build-bison
35300 all-prebootstrap: maybe-all-build-bison
35301 all-binutils: maybe-all-build-byacc
35303 all-stage1-binutils: maybe-all-build-byacc
35304 all-stage2-binutils: maybe-all-build-byacc
35305 all-stage3-binutils: maybe-all-build-byacc
35306 all-stage4-binutils: maybe-all-build-byacc
35307 all-stageprofile-binutils: maybe-all-build-byacc
35308 all-stagefeedback-binutils: maybe-all-build-byacc
35309 all-prebootstrap: maybe-all-build-byacc
35310 all-binutils: maybe-all-intl
35312 all-stage1-binutils: maybe-all-stage1-intl
35313 all-stage2-binutils: maybe-all-stage2-intl
35314 all-stage3-binutils: maybe-all-stage3-intl
35315 all-stage4-binutils: maybe-all-stage4-intl
35316 all-stageprofile-binutils: maybe-all-stageprofile-intl
35317 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35318 install-binutils: maybe-install-opcodes
35319 install-opcodes: maybe-install-bfd
35320 all-gas: maybe-all-libiberty
35322 all-stage1-gas: maybe-all-stage1-libiberty
35323 all-stage2-gas: maybe-all-stage2-libiberty
35324 all-stage3-gas: maybe-all-stage3-libiberty
35325 all-stage4-gas: maybe-all-stage4-libiberty
35326 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35327 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35328 all-gas: maybe-all-opcodes
35330 all-stage1-gas: maybe-all-stage1-opcodes
35331 all-stage2-gas: maybe-all-stage2-opcodes
35332 all-stage3-gas: maybe-all-stage3-opcodes
35333 all-stage4-gas: maybe-all-stage4-opcodes
35334 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35335 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35336 all-gas: maybe-all-bfd
35338 all-stage1-gas: maybe-all-stage1-bfd
35339 all-stage2-gas: maybe-all-stage2-bfd
35340 all-stage3-gas: maybe-all-stage3-bfd
35341 all-stage4-gas: maybe-all-stage4-bfd
35342 all-stageprofile-gas: maybe-all-stageprofile-bfd
35343 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35344 all-gas: maybe-all-intl
35346 all-stage1-gas: maybe-all-stage1-intl
35347 all-stage2-gas: maybe-all-stage2-intl
35348 all-stage3-gas: maybe-all-stage3-intl
35349 all-stage4-gas: maybe-all-stage4-intl
35350 all-stageprofile-gas: maybe-all-stageprofile-intl
35351 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35352 all-gprof: maybe-all-libiberty
35353 all-gprof: maybe-all-bfd
35354 all-gprof: maybe-all-opcodes
35355 all-gprof: maybe-all-intl
35356 all-ld: maybe-all-libiberty
35358 all-stage1-ld: maybe-all-stage1-libiberty
35359 all-stage2-ld: maybe-all-stage2-libiberty
35360 all-stage3-ld: maybe-all-stage3-libiberty
35361 all-stage4-ld: maybe-all-stage4-libiberty
35362 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35363 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35364 all-ld: maybe-all-bfd
35366 all-stage1-ld: maybe-all-stage1-bfd
35367 all-stage2-ld: maybe-all-stage2-bfd
35368 all-stage3-ld: maybe-all-stage3-bfd
35369 all-stage4-ld: maybe-all-stage4-bfd
35370 all-stageprofile-ld: maybe-all-stageprofile-bfd
35371 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35372 all-ld: maybe-all-opcodes
35374 all-stage1-ld: maybe-all-stage1-opcodes
35375 all-stage2-ld: maybe-all-stage2-opcodes
35376 all-stage3-ld: maybe-all-stage3-opcodes
35377 all-stage4-ld: maybe-all-stage4-opcodes
35378 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35379 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35380 all-ld: maybe-all-build-bison
35382 all-stage1-ld: maybe-all-build-bison
35383 all-stage2-ld: maybe-all-build-bison
35384 all-stage3-ld: maybe-all-build-bison
35385 all-stage4-ld: maybe-all-build-bison
35386 all-stageprofile-ld: maybe-all-build-bison
35387 all-stagefeedback-ld: maybe-all-build-bison
35388 all-prebootstrap: maybe-all-build-bison
35389 all-ld: maybe-all-build-byacc
35391 all-stage1-ld: maybe-all-build-byacc
35392 all-stage2-ld: maybe-all-build-byacc
35393 all-stage3-ld: maybe-all-build-byacc
35394 all-stage4-ld: maybe-all-build-byacc
35395 all-stageprofile-ld: maybe-all-build-byacc
35396 all-stagefeedback-ld: maybe-all-build-byacc
35397 all-prebootstrap: maybe-all-build-byacc
35398 all-ld: maybe-all-build-flex
35400 all-stage1-ld: maybe-all-build-flex
35401 all-stage2-ld: maybe-all-build-flex
35402 all-stage3-ld: maybe-all-build-flex
35403 all-stage4-ld: maybe-all-build-flex
35404 all-stageprofile-ld: maybe-all-build-flex
35405 all-stagefeedback-ld: maybe-all-build-flex
35406 all-prebootstrap: maybe-all-build-flex
35407 all-ld: maybe-all-intl
35409 all-stage1-ld: maybe-all-stage1-intl
35410 all-stage2-ld: maybe-all-stage2-intl
35411 all-stage3-ld: maybe-all-stage3-intl
35412 all-stage4-ld: maybe-all-stage4-intl
35413 all-stageprofile-ld: maybe-all-stageprofile-intl
35414 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35415 all-opcodes: maybe-all-bfd
35417 all-stage1-opcodes: maybe-all-stage1-bfd
35418 all-stage2-opcodes: maybe-all-stage2-bfd
35419 all-stage3-opcodes: maybe-all-stage3-bfd
35420 all-stage4-opcodes: maybe-all-stage4-bfd
35421 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35422 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35423 all-opcodes: maybe-all-libiberty
35425 all-stage1-opcodes: maybe-all-stage1-libiberty
35426 all-stage2-opcodes: maybe-all-stage2-libiberty
35427 all-stage3-opcodes: maybe-all-stage3-libiberty
35428 all-stage4-opcodes: maybe-all-stage4-libiberty
35429 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35430 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35431 all-dejagnu: maybe-all-tcl
35432 all-dejagnu: maybe-all-expect
35433 all-dejagnu: maybe-all-tk
35434 configure-expect: maybe-configure-tcl
35435 configure-expect: maybe-configure-tk
35436 all-expect: maybe-all-tcl
35437 all-expect: maybe-all-tk
35438 configure-itcl: maybe-configure-tcl
35439 configure-itcl: maybe-configure-tk
35440 all-itcl: maybe-all-tcl
35441 all-itcl: maybe-all-tk
35442 install-itcl: maybe-install-tcl
35443 configure-tk: maybe-configure-tcl
35444 all-tk: maybe-all-tcl
35445 all-sid: maybe-all-libiberty
35446 all-sid: maybe-all-bfd
35447 all-sid: maybe-all-opcodes
35448 all-sid: maybe-all-tcl
35449 all-sid: maybe-all-tk
35450 install-sid: maybe-install-tcl
35451 install-sid: maybe-install-tk
35452 all-sim: maybe-all-libiberty
35453 all-sim: maybe-all-bfd
35454 all-sim: maybe-all-opcodes
35455 all-sim: maybe-all-readline
35456 all-sim: maybe-configure-gdb
35457 all-fastjar: maybe-all-zlib
35458 all-fastjar: maybe-all-build-texinfo
35459 all-fastjar: maybe-all-libiberty
35460 all-autoconf: maybe-all-m4
35461 all-autoconf: maybe-all-build-texinfo
35462 all-automake: maybe-all-m4
35463 all-automake: maybe-all-build-texinfo
35464 all-automake: maybe-all-autoconf
35465 all-bison: maybe-all-intl
35466 all-bison: maybe-all-build-texinfo
35467 all-diff: maybe-all-intl
35468 all-diff: maybe-all-build-texinfo
35469 all-fileutils: maybe-all-intl
35470 all-fileutils: maybe-all-build-texinfo
35471 all-flex: maybe-all-build-bison
35472 all-flex: maybe-all-build-byacc
35473 all-flex: maybe-all-intl
35474 all-flex: maybe-all-m4
35475 all-flex: maybe-all-build-texinfo
35476 all-gzip: maybe-all-intl
35477 all-gzip: maybe-all-zlib
35478 all-gzip: maybe-all-build-texinfo
35479 all-hello: maybe-all-intl
35480 all-hello: maybe-all-build-texinfo
35481 all-m4: maybe-all-intl
35482 all-m4: maybe-all-build-texinfo
35483 all-make: maybe-all-intl
35484 all-make: maybe-all-build-texinfo
35485 all-patch: maybe-all-build-texinfo
35486 all-make: maybe-all-build-texinfo
35487 all-prms: maybe-all-libiberty
35488 all-recode: maybe-all-build-texinfo
35489 all-sed: maybe-all-build-texinfo
35490 all-send-pr: maybe-all-prms
35491 all-tar: maybe-all-build-texinfo
35492 all-uudecode: maybe-all-build-texinfo
35493 configure-target-boehm-gc: maybe-configure-target-qthreads
35494 configure-target-fastjar: maybe-configure-target-zlib
35495 all-target-fastjar: maybe-all-target-zlib
35496 all-target-fastjar: maybe-all-target-libiberty
35497 configure-target-libjava: maybe-configure-target-zlib
35498 configure-target-libjava: maybe-configure-target-boehm-gc
35499 configure-target-libjava: maybe-configure-target-qthreads
35500 configure-target-libjava: maybe-configure-target-libffi
35501 all-target-libjava: maybe-all-fastjar
35502 all-target-libjava: maybe-all-target-zlib
35503 all-target-libjava: maybe-all-target-boehm-gc
35504 all-target-libjava: maybe-all-target-qthreads
35505 all-target-libjava: maybe-all-target-libffi
35506 all-target-libobjc: maybe-all-target-libiberty
35507 all-target-libstdc++-v3: maybe-all-target-libiberty
35508 all-target-libgloss: maybe-configure-target-newlib
35509 all-target-winsup: maybe-all-target-libiberty
35510 all-target-winsup: maybe-all-target-libtermcap
35513 # Non-toplevel bootstrap rules must depend on several packages, to be built
35514 # before gcc. Another wart that will go away, hopefully soon.
35515 @if gcc-no-bootstrap
35517 all-prebootstrap: maybe-all-bfd
35518 all-prebootstrap: maybe-all-opcodes
35519 all-prebootstrap: maybe-all-binutils
35520 all-prebootstrap: maybe-all-gas
35521 all-prebootstrap: maybe-all-intl
35522 all-prebootstrap: maybe-all-ld
35523 all-prebootstrap: maybe-all-libcpp
35524 all-prebootstrap: maybe-all-libiberty
35525 all-prebootstrap: maybe-all-zlib
35526 @endif gcc-no-bootstrap
35528 GDB_TK = @GDB_TK@
35529 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35531 # Serialization dependencies. Host configures don't work well in parallel to
35532 # each other, due to contention over config.cache. Target configures and
35533 # build configures are similar.
35534 @serialization_dependencies@
35536 # --------------------------------
35537 # Regenerating top level configury
35538 # --------------------------------
35540 # Multilib.out tells target dirs what multilibs they should build.
35541 # There is really only one copy. We use the 'timestamp' method to
35542 # work around various timestamp bugs on some systems.
35543 # We use move-if-change so that it's only considered updated when it
35544 # actually changes, because it has to depend on a phony target.
35545 multilib.out: maybe-all-gcc
35546 @r=`${PWD_COMMAND}`; export r; \
35547 echo "Checking multilib configuration..."; \
35548 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35549 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35551 # Rebuilding Makefile.in, using autogen.
35552 AUTOGEN = autogen
35553 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35554 cd $(srcdir) && $(AUTOGEN) Makefile.def
35556 # Rebuilding Makefile.
35557 Makefile: $(srcdir)/Makefile.in config.status
35558 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35560 config.status: configure $(gcc_version_trigger)
35561 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35563 # Rebuilding configure.
35564 AUTOCONF = autoconf
35565 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35566 cd $(srcdir) && $(AUTOCONF)
35568 # ------------------------------
35569 # Special directives to GNU Make
35570 # ------------------------------
35572 # Don't pass command-line variables to submakes.
35573 .NOEXPORT:
35574 MAKEOVERRIDES=
35576 # end of Makefile.in