genattrtab.c (write_insn_cases): New function, split out from write_attr_case.
[official-gcc.git] / Makefile.in
blobbe99c5bdfbc4d8785ade30ffb41952dd474a884c
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 mandir = @mandir@
54 man1dir = $(mandir)/man1
55 man2dir = $(mandir)/man2
56 man3dir = $(mandir)/man3
57 man4dir = $(mandir)/man4
58 man5dir = $(mandir)/man5
59 man6dir = $(mandir)/man6
60 man7dir = $(mandir)/man7
61 man8dir = $(mandir)/man8
62 man9dir = $(mandir)/man9
64 INSTALL = @INSTALL@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
68 LN = @LN@
69 LN_S = @LN_S@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The file containing GCC's version number.
76 gcc_version_trigger = @gcc_version_trigger@
77 gcc_version = @gcc_version@
79 # The gcc driver likes to know the arguments it was configured with.
80 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
82 gxx_include_dir = @gxx_include_dir@
83 libstdcxx_incdir = @libstdcxx_incdir@
85 tooldir = @tooldir@
86 build_tooldir = @build_tooldir@
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
90 GDB_NLM_DEPS =
92 # This is the name of the environment variable used for the path to
93 # the libraries.
94 RPATH_ENVVAR = @RPATH_ENVVAR@
96 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
97 # was used.
98 SET_LIB_PATH = @SET_LIB_PATH@
100 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
101 # Some platforms don't like blank entries, so we remove duplicate,
102 # leading and trailing colons.
103 REALLY_SET_LIB_PATH = \
104 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
106 # This is the list of directories to be built for the build system.
107 BUILD_CONFIGDIRS = libiberty libbanshee
108 # Build programs are put under this directory.
109 BUILD_SUBDIR = @build_subdir@
110 # This is set by the configure script to the arguments to use when configuring
111 # directories built for the build system.
112 BUILD_CONFIGARGS = @build_configargs@
114 # This is the list of variables to export in the environment when
115 # configuring any subdirectory. It must also be exported whenever
116 # recursing into a build directory in case that directory's Makefile
117 # re-runs configure.
118 BASE_EXPORTS = \
119 FLEX="$(FLEX)"; export FLEX; \
120 LEX="$(LEX)"; export LEX; \
121 BISON="$(BISON)"; export BISON; \
122 YACC="$(YACC)"; export YACC; \
123 M4="$(M4)"; export M4; \
124 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
126 # This is the list of variables to export in the environment when
127 # configuring subdirectories for the build system.
128 BUILD_EXPORTS = \
129 $(BASE_EXPORTS) \
130 AR="$(AR_FOR_BUILD)"; export AR; \
131 AS="$(AS_FOR_BUILD)"; export AS; \
132 CC="$(CC_FOR_BUILD)"; export CC; \
133 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
134 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
135 CXX="$(CXX_FOR_BUILD)"; export CXX; \
136 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
137 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
138 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
139 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
140 LD="$(LD_FOR_BUILD)"; export LD; \
141 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
142 NM="$(NM_FOR_BUILD)"; export NM; \
143 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
144 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
146 # This is the list of directories to built for the host system.
147 SUBDIRS = @configdirs@
148 # This is set by the configure script to the arguments to use when configuring
149 # directories built for the host system.
150 HOST_CONFIGARGS = @host_configargs@
151 # This is the list of variables to export in the environment when
152 # configuring subdirectories for the host system.
153 HOST_EXPORTS = \
154 $(BASE_EXPORTS) \
155 CC="$(CC)"; export CC; \
156 CFLAGS="$(CFLAGS)"; export CFLAGS; \
157 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
158 CXX="$(CXX)"; export CXX; \
159 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
160 AR="$(AR)"; export AR; \
161 AS="$(AS)"; export AS; \
162 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
163 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
164 LD="$(LD)"; export LD; \
165 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
166 NM="$(NM)"; export NM; \
167 RANLIB="$(RANLIB)"; export RANLIB; \
168 WINDRES="$(WINDRES)"; export WINDRES; \
169 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
170 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
171 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
172 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
173 GMPINC="$(HOST_GMPINC)"; export GMPINC;
175 # Similar, for later GCC stages.
176 STAGE_HOST_EXPORTS = \
177 $(HOST_EXPORTS) \
178 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
179 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
181 # This is set by the configure script to the list of directories which
182 # should be built using the target tools.
183 TARGET_CONFIGDIRS = @target_configdirs@
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
192 $(BASE_EXPORTS) \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 NM="$(NM_FOR_TARGET)"; export NM; \
206 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
207 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES;
209 RAW_CXX_TARGET_EXPORTS = \
210 $(BASE_TARGET_EXPORTS) \
211 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
212 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
214 NORMAL_TARGET_EXPORTS = \
215 $(BASE_TARGET_EXPORTS) \
216 CXX="$(CXX_FOR_TARGET)"; export CXX;
218 # Where to find GMP
219 HOST_GMPLIBS = @gmplibs@
220 HOST_GMPINC = @gmpinc@
222 # ----------------------------------------------
223 # Programs producing files for the BUILD machine
224 # ----------------------------------------------
226 SHELL = @config_shell@
228 # pwd command to use. Allow user to override default by setting PWDCMD in
229 # the environment to account for automounters. The make variable must not
230 # be called PWDCMD, otherwise the value set here is passed to make
231 # subprocesses and overrides the setting from the user's environment.
232 # Don't use PWD since it is a common shell environment variable and we
233 # don't want to corrupt it.
234 PWD_COMMAND = $${PWDCMD-pwd}
236 # compilers to use to create programs which must be run in the build
237 # environment.
238 CC_FOR_BUILD = @CC_FOR_BUILD@
239 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
241 CXX_FOR_BUILD = $(CXX)
243 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
244 # here so that they can be overridden by Makefile fragments.
245 BUILD_PREFIX = @BUILD_PREFIX@
246 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
248 # Flags to pass to stage2 and later makes. They are defined
249 # here so that they can be overridden by Makefile fragments.
250 BOOT_CFLAGS= -g -O2
252 CONFIGURED_BISON = @CONFIGURED_BISON@
253 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
254 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
255 else \
256 echo ${CONFIGURED_BISON} ; \
259 CONFIGURED_YACC = @CONFIGURED_YACC@
260 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
261 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
262 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
263 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
264 else \
265 echo ${CONFIGURED_YACC} ; \
268 CONFIGURED_FLEX = @CONFIGURED_FLEX@
269 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
270 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
271 else echo ${CONFIGURED_FLEX} ; fi`
273 CONFIGURED_LEX = @CONFIGURED_LEX@
274 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
275 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
276 else echo ${CONFIGURED_LEX} ; fi`
278 CONFIGURED_M4 = @CONFIGURED_M4@
279 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
280 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
281 else echo ${CONFIGURED_M4} ; fi`
283 # For an installed makeinfo, we require it to be from texinfo 4.2 or
284 # higher, else we use the "missing" dummy. We also pass the subdirectory
285 # makeinfo even if only the Makefile is there, because Texinfo builds its
286 # manual when made, and it requires its own version.
287 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
288 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
289 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
290 else if (${CONFIGURED_MAKEINFO} --version \
291 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
292 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
294 # This just becomes part of the MAKEINFO definition passed down to
295 # sub-makes. It lets flags be given on the command line while still
296 # using the makeinfo from the object tree.
297 # (Default to avoid splitting info files by setting the threshold high.)
298 MAKEINFOFLAGS = --split-size=5000000
300 EXPECT = `if [ -f $$r/expect/expect ] ; \
301 then echo $$r/expect/expect ; \
302 else echo expect ; fi`
304 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
305 then echo $$s/dejagnu/runtest ; \
306 else echo runtest ; fi`
308 # ---------------------------------------------
309 # Programs producing files for the HOST machine
310 # ---------------------------------------------
312 # This is the list of directories that may be needed in RPATH_ENVVAR
313 # so that programs built for the host machine work.
314 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
316 AS = @AS@
318 AR = @AR@
319 AR_FLAGS = rc
321 CC = @CC@
322 CFLAGS = @CFLAGS@
323 LIBCFLAGS = $(CFLAGS)
325 CXX = @CXX@
326 CXXFLAGS = @CXXFLAGS@
327 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
329 DLLTOOL = @DLLTOOL@
331 NM = @NM@
333 LD = @LD@
334 LDFLAGS =
336 RANLIB = @RANLIB@
338 WINDRES = @WINDRES@
340 PICFLAG =
342 # -----------------------------------------------
343 # Programs producing files for the TARGET machine
344 # -----------------------------------------------
346 # This is the list of directories that may be needed in RPATH_ENVVAR
347 # so that prorgams built for the target machine work.
348 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
350 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
352 AR_FOR_TARGET=@AR_FOR_TARGET@
353 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
354 USUAL_AR_FOR_TARGET = ` \
355 if [ -f $$r/binutils/ar ] ; then \
356 echo $$r/binutils/ar ; \
357 else \
358 if [ '$(host)' = '$(target)' ] ; then \
359 echo $(AR); \
360 else \
361 echo $(CONFIGURED_AR_FOR_TARGET) ; \
362 fi; \
365 AS_FOR_TARGET=@AS_FOR_TARGET@
366 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
367 USUAL_AS_FOR_TARGET = ` \
368 if [ -f $$r/gas/as-new ] ; then \
369 echo $$r/gas/as-new ; \
370 elif [ -f $$r/gcc/xgcc ]; then \
371 $(CC_FOR_TARGET) -print-prog-name=as ; \
372 else \
373 if [ '$(host)' = '$(target)' ] ; then \
374 echo $(AS); \
375 else \
376 echo $(CONFIGURED_AS_FOR_TARGET) ; \
377 fi; \
380 CC_FOR_TARGET = @CC_FOR_TARGET@
381 # During gcc bootstrap, if we use some random cc for stage1 then
382 # CFLAGS will be just -g. We want to ensure that TARGET libraries
383 # (which we know are built with gcc) are built with optimizations so
384 # prepend -O2 when setting CFLAGS_FOR_TARGET.
385 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
386 # If GCC_FOR_TARGET is not overriden on the command line, then this
387 # variable is passed down to the gcc Makefile, where it is used to
388 # build libgcc2.a. We define it here so that it can itself be
389 # overridden on the command line.
390 GCC_FOR_TARGET=@GCC_FOR_TARGET@
391 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
392 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
394 CXX_FOR_TARGET = @CXX_FOR_TARGET@
395 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
396 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
397 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
398 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
399 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
401 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
402 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
403 USUAL_DLLTOOL_FOR_TARGET = ` \
404 if [ -f $$r/binutils/dlltool ] ; then \
405 echo $$r/binutils/dlltool ; \
406 else \
407 if [ '$(host)' = '$(target)' ] ; then \
408 echo $(DLLTOOL); \
409 else \
410 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
411 fi; \
414 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
415 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
417 LD_FOR_TARGET=@LD_FOR_TARGET@
418 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
419 USUAL_LD_FOR_TARGET = ` \
420 if [ -f $$r/ld/ld-new ] ; then \
421 echo $$r/ld/ld-new ; \
422 elif [ -f $$r/gcc/xgcc ]; then \
423 $(CC_FOR_TARGET) -print-prog-name=ld ; \
424 else \
425 if [ '$(host)' = '$(target)' ] ; then \
426 echo $(LD); \
427 else \
428 echo $(CONFIGURED_LD_FOR_TARGET) ; \
429 fi; \
432 LDFLAGS_FOR_TARGET =
434 NM_FOR_TARGET=@NM_FOR_TARGET@
435 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
436 USUAL_NM_FOR_TARGET = ` \
437 if [ -f $$r/binutils/nm-new ] ; then \
438 echo $$r/binutils/nm-new ; \
439 elif [ -f $$r/gcc/xgcc ]; then \
440 $(CC_FOR_TARGET) -print-prog-name=nm ; \
441 else \
442 if [ '$(host)' = '$(target)' ] ; then \
443 echo $(NM); \
444 else \
445 echo $(CONFIGURED_NM_FOR_TARGET) ; \
446 fi; \
449 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
450 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
451 USUAL_RANLIB_FOR_TARGET = ` \
452 if [ -f $$r/binutils/ranlib ] ; then \
453 echo $$r/binutils/ranlib ; \
454 else \
455 if [ '$(host)' = '$(target)' ] ; then \
456 if [ x'$(RANLIB)' != x ]; then \
457 echo $(RANLIB); \
458 else \
459 echo ranlib; \
460 fi; \
461 else \
462 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
463 fi; \
466 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
467 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
468 USUAL_WINDRES_FOR_TARGET = ` \
469 if [ -f $$r/binutils/windres ] ; then \
470 echo $$r/binutils/windres ; \
471 else \
472 if [ '$(host)' = '$(target)' ] ; then \
473 echo $(WINDRES); \
474 else \
475 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
476 fi; \
479 PICFLAG_FOR_TARGET =
481 # ------------------------------------
482 # Miscellaneous targets and flag lists
483 # ------------------------------------
485 # The first rule in the file had better be this one. Don't put any above it.
486 # This lives here to allow makefile fragments to contain dependencies.
487 @default_target@:
489 #### host and target specific makefile fragments come in here.
490 @target_makefile_frag@
491 @alphaieee_frag@
492 @ospace_frag@
493 @host_makefile_frag@
496 # Flags to pass down to all sub-makes.
497 BASE_FLAGS_TO_PASS = \
498 "DESTDIR=$(DESTDIR)" \
499 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
500 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
501 "bindir=$(bindir)" \
502 "datadir=$(datadir)" \
503 "exec_prefix=$(exec_prefix)" \
504 "includedir=$(includedir)" \
505 "infodir=$(infodir)" \
506 "libdir=$(libdir)" \
507 "libexecdir=$(libexecdir)" \
508 "lispdir=$(lispdir)" \
509 "libstdcxx_incdir=$(libstdcxx_incdir)" \
510 "libsubdir=$(libsubdir)" \
511 "localstatedir=$(localstatedir)" \
512 "mandir=$(mandir)" \
513 "oldincludedir=$(oldincludedir)" \
514 "prefix=$(prefix)" \
515 "sbindir=$(sbindir)" \
516 "sharedstatedir=$(sharedstatedir)" \
517 "sysconfdir=$(sysconfdir)" \
518 "tooldir=$(tooldir)" \
519 "build_tooldir=$(build_tooldir)" \
520 "gxx_include_dir=$(gxx_include_dir)" \
521 "gcc_version=$(gcc_version)" \
522 "gcc_version_trigger=$(gcc_version_trigger)" \
523 "target_alias=$(target_alias)" \
524 "BISON=$(BISON)" \
525 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
526 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
527 "EXPECT=$(EXPECT)" \
528 "FLEX=$(FLEX)" \
529 "INSTALL=$(INSTALL)" \
530 "INSTALL_DATA=$(INSTALL_DATA)" \
531 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
532 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
533 "LEX=$(LEX)" \
534 "M4=$(M4)" \
535 "MAKE=$(MAKE)" \
536 "RUNTEST=$(RUNTEST)" \
537 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
538 "SHELL=$(SHELL)" \
539 "YACC=$(YACC)" \
540 "AR_FLAGS=$(AR_FLAGS)" \
541 "CFLAGS=$(CFLAGS)" \
542 "CXXFLAGS=$(CXXFLAGS)" \
543 "LDFLAGS=$(LDFLAGS)" \
544 "LIBCFLAGS=$(LIBCFLAGS)" \
545 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
546 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
547 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
548 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
549 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
550 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
551 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
552 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
553 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
554 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
555 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
556 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
557 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
558 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
559 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
560 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
561 "CONFIG_SHELL=$(SHELL)" \
562 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
564 # For any flags above that may contain shell code that varies from one
565 # target library to another. When doing recursive invocations of the
566 # top-level Makefile, we don't want the outer make to evaluate them,
567 # so we pass these variables down unchanged. They must not contain
568 # single nor double quotes.
569 RECURSE_FLAGS = \
570 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
571 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
573 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
575 # Flags to pass down to most sub-makes, in which we're building with
576 # the host environment.
577 EXTRA_HOST_FLAGS = \
578 'AR=$(AR)' \
579 'AS=$(AS)' \
580 'CC=$(CC)' \
581 'CXX=$(CXX)' \
582 'DLLTOOL=$(DLLTOOL)' \
583 'LD=$(LD)' \
584 'NM=$(NM)' \
585 'RANLIB=$(RANLIB)' \
586 'WINDRES=$(WINDRES)'
588 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
590 # Flags that are concerned with the location of the X11 include files
591 # and library files
593 # NOTE: until the top-level is getting the values via autoconf, it only
594 # causes problems to have this top-level Makefile overriding the autoconf-set
595 # values in child directories. Only variables that don't conflict with
596 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
598 X11_FLAGS_TO_PASS = \
599 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
600 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
602 # Flags to pass down to makes which are built with the target environment.
603 # The double $ decreases the length of the command line; the variables
604 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
605 EXTRA_TARGET_FLAGS = \
606 'AR=$$(AR_FOR_TARGET)' \
607 'AS=$$(AS_FOR_TARGET)' \
608 'CC=$$(CC_FOR_TARGET)' \
609 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
610 'CXX=$$(CXX_FOR_TARGET)' \
611 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
612 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
613 'LD=$$(LD_FOR_TARGET)' \
614 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
615 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
616 'NM=$$(NM_FOR_TARGET)' \
617 'RANLIB=$$(RANLIB_FOR_TARGET)' \
618 'WINDRES=$$(WINDRES_FOR_TARGET)'
620 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
622 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
623 # unfortunately needs the native compiler and the target ar and
624 # ranlib.
625 # If any variables are added here, they must be added to do-*, below.
626 # The BUILD_* variables are a special case, which are used for the gcc
627 # cross-building scheme.
628 EXTRA_GCC_FLAGS = \
629 'BUILD_PREFIX=$(BUILD_PREFIX)' \
630 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
631 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
632 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
633 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
634 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
635 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
636 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
637 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
638 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
643 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
645 .PHONY: configure-host
646 configure-host: \
647 maybe-configure-ash \
648 maybe-configure-autoconf \
649 maybe-configure-automake \
650 maybe-configure-bash \
651 maybe-configure-bfd \
652 maybe-configure-opcodes \
653 maybe-configure-binutils \
654 maybe-configure-bison \
655 maybe-configure-byacc \
656 maybe-configure-bzip2 \
657 maybe-configure-dejagnu \
658 maybe-configure-diff \
659 maybe-configure-dosutils \
660 maybe-configure-etc \
661 maybe-configure-fastjar \
662 maybe-configure-fileutils \
663 maybe-configure-findutils \
664 maybe-configure-find \
665 maybe-configure-flex \
666 maybe-configure-gas \
667 maybe-configure-gcc \
668 maybe-configure-gawk \
669 maybe-configure-gettext \
670 maybe-configure-gnuserv \
671 maybe-configure-gprof \
672 maybe-configure-gzip \
673 maybe-configure-hello \
674 maybe-configure-indent \
675 maybe-configure-intl \
676 maybe-configure-tcl \
677 maybe-configure-itcl \
678 maybe-configure-ld \
679 maybe-configure-libcpp \
680 maybe-configure-libgui \
681 maybe-configure-libbanshee \
682 maybe-configure-libiberty \
683 maybe-configure-libtool \
684 maybe-configure-m4 \
685 maybe-configure-make \
686 maybe-configure-mmalloc \
687 maybe-configure-patch \
688 maybe-configure-perl \
689 maybe-configure-prms \
690 maybe-configure-rcs \
691 maybe-configure-readline \
692 maybe-configure-release \
693 maybe-configure-recode \
694 maybe-configure-sed \
695 maybe-configure-send-pr \
696 maybe-configure-shellutils \
697 maybe-configure-sid \
698 maybe-configure-sim \
699 maybe-configure-tar \
700 maybe-configure-texinfo \
701 maybe-configure-textutils \
702 maybe-configure-time \
703 maybe-configure-uudecode \
704 maybe-configure-wdiff \
705 maybe-configure-zip \
706 maybe-configure-zlib \
707 maybe-configure-gdb \
708 maybe-configure-expect \
709 maybe-configure-guile \
710 maybe-configure-tk \
711 maybe-configure-libtermcap \
712 maybe-configure-utils
713 .PHONY: configure-target
714 configure-target: \
715 maybe-configure-target-libstdc++-v3 \
716 maybe-configure-target-libmudflap \
717 maybe-configure-target-newlib \
718 maybe-configure-target-libgfortran \
719 maybe-configure-target-libobjc \
720 maybe-configure-target-libtermcap \
721 maybe-configure-target-winsup \
722 maybe-configure-target-libgloss \
723 maybe-configure-target-libiberty \
724 maybe-configure-target-gperf \
725 maybe-configure-target-examples \
726 maybe-configure-target-libffi \
727 maybe-configure-target-libjava \
728 maybe-configure-target-zlib \
729 maybe-configure-target-boehm-gc \
730 maybe-configure-target-qthreads \
731 maybe-configure-target-rda \
732 maybe-configure-target-libada
734 # The target built for a native non-bootstrap build.
735 .PHONY: all
736 all: unstage all-host all-target stage
738 .PHONY: all-build
739 all-build: \
740 maybe-all-build-libiberty \
741 maybe-all-build-bison \
742 maybe-all-build-byacc \
743 maybe-all-build-flex \
744 maybe-all-build-m4 \
745 maybe-all-build-texinfo \
746 maybe-all-build-fixincludes
747 .PHONY: all-host
748 all-host: \
749 maybe-all-ash \
750 maybe-all-autoconf \
751 maybe-all-automake \
752 maybe-all-bash \
753 maybe-all-bfd \
754 maybe-all-opcodes \
755 maybe-all-binutils \
756 maybe-all-bison \
757 maybe-all-byacc \
758 maybe-all-bzip2 \
759 maybe-all-dejagnu \
760 maybe-all-diff \
761 maybe-all-dosutils \
762 maybe-all-etc \
763 maybe-all-fastjar \
764 maybe-all-fileutils \
765 maybe-all-findutils \
766 maybe-all-find \
767 maybe-all-flex \
768 maybe-all-gas \
769 maybe-all-gcc \
770 maybe-all-gawk \
771 maybe-all-gettext \
772 maybe-all-gnuserv \
773 maybe-all-gprof \
774 maybe-all-gzip \
775 maybe-all-hello \
776 maybe-all-indent \
777 maybe-all-intl \
778 maybe-all-tcl \
779 maybe-all-itcl \
780 maybe-all-ld \
781 maybe-all-libcpp \
782 maybe-all-libgui \
783 maybe-all-libbanshee \
784 maybe-all-libiberty \
785 maybe-all-libtool \
786 maybe-all-m4 \
787 maybe-all-make \
788 maybe-all-mmalloc \
789 maybe-all-patch \
790 maybe-all-perl \
791 maybe-all-prms \
792 maybe-all-rcs \
793 maybe-all-readline \
794 maybe-all-release \
795 maybe-all-recode \
796 maybe-all-sed \
797 maybe-all-send-pr \
798 maybe-all-shellutils \
799 maybe-all-sid \
800 maybe-all-sim \
801 maybe-all-tar \
802 maybe-all-texinfo \
803 maybe-all-textutils \
804 maybe-all-time \
805 maybe-all-uudecode \
806 maybe-all-wdiff \
807 maybe-all-zip \
808 maybe-all-zlib \
809 maybe-all-gdb \
810 maybe-all-expect \
811 maybe-all-guile \
812 maybe-all-tk \
813 maybe-all-libtermcap \
814 maybe-all-utils
815 .PHONY: all-target
816 all-target: \
817 maybe-all-target-libstdc++-v3 \
818 maybe-all-target-libmudflap \
819 maybe-all-target-newlib \
820 maybe-all-target-libgfortran \
821 maybe-all-target-libobjc \
822 maybe-all-target-libtermcap \
823 maybe-all-target-winsup \
824 maybe-all-target-libgloss \
825 maybe-all-target-libiberty \
826 maybe-all-target-gperf \
827 maybe-all-target-examples \
828 maybe-all-target-libffi \
829 maybe-all-target-libjava \
830 maybe-all-target-zlib \
831 maybe-all-target-boehm-gc \
832 maybe-all-target-qthreads \
833 maybe-all-target-rda \
834 maybe-all-target-libada
836 # Do a target for all the subdirectories. A ``make do-X'' will do a
837 # ``make X'' in all subdirectories (because, in general, there is a
838 # dependency (below) of X upon do-X, a ``make X'' will also do this,
839 # but it may do additional work as well).
841 .PHONY: do-info
842 do-info: unstage info-host info-target stage
844 .PHONY: info-host
845 info-host: \
846 maybe-info-ash \
847 maybe-info-autoconf \
848 maybe-info-automake \
849 maybe-info-bash \
850 maybe-info-bfd \
851 maybe-info-opcodes \
852 maybe-info-binutils \
853 maybe-info-bison \
854 maybe-info-byacc \
855 maybe-info-bzip2 \
856 maybe-info-dejagnu \
857 maybe-info-diff \
858 maybe-info-dosutils \
859 maybe-info-etc \
860 maybe-info-fastjar \
861 maybe-info-fileutils \
862 maybe-info-findutils \
863 maybe-info-find \
864 maybe-info-flex \
865 maybe-info-gas \
866 maybe-info-gcc \
867 maybe-info-gawk \
868 maybe-info-gettext \
869 maybe-info-gnuserv \
870 maybe-info-gprof \
871 maybe-info-gzip \
872 maybe-info-hello \
873 maybe-info-indent \
874 maybe-info-intl \
875 maybe-info-tcl \
876 maybe-info-itcl \
877 maybe-info-ld \
878 maybe-info-libcpp \
879 maybe-info-libgui \
880 maybe-info-libbanshee \
881 maybe-info-libiberty \
882 maybe-info-libtool \
883 maybe-info-m4 \
884 maybe-info-make \
885 maybe-info-mmalloc \
886 maybe-info-patch \
887 maybe-info-perl \
888 maybe-info-prms \
889 maybe-info-rcs \
890 maybe-info-readline \
891 maybe-info-release \
892 maybe-info-recode \
893 maybe-info-sed \
894 maybe-info-send-pr \
895 maybe-info-shellutils \
896 maybe-info-sid \
897 maybe-info-sim \
898 maybe-info-tar \
899 maybe-info-texinfo \
900 maybe-info-textutils \
901 maybe-info-time \
902 maybe-info-uudecode \
903 maybe-info-wdiff \
904 maybe-info-zip \
905 maybe-info-zlib \
906 maybe-info-gdb \
907 maybe-info-expect \
908 maybe-info-guile \
909 maybe-info-tk \
910 maybe-info-libtermcap \
911 maybe-info-utils
913 .PHONY: info-target
914 info-target: \
915 maybe-info-target-libstdc++-v3 \
916 maybe-info-target-libmudflap \
917 maybe-info-target-newlib \
918 maybe-info-target-libgfortran \
919 maybe-info-target-libobjc \
920 maybe-info-target-libtermcap \
921 maybe-info-target-winsup \
922 maybe-info-target-libgloss \
923 maybe-info-target-libiberty \
924 maybe-info-target-gperf \
925 maybe-info-target-examples \
926 maybe-info-target-libffi \
927 maybe-info-target-libjava \
928 maybe-info-target-zlib \
929 maybe-info-target-boehm-gc \
930 maybe-info-target-qthreads \
931 maybe-info-target-rda \
932 maybe-info-target-libada
934 .PHONY: do-dvi
935 do-dvi: unstage dvi-host dvi-target stage
937 .PHONY: dvi-host
938 dvi-host: \
939 maybe-dvi-ash \
940 maybe-dvi-autoconf \
941 maybe-dvi-automake \
942 maybe-dvi-bash \
943 maybe-dvi-bfd \
944 maybe-dvi-opcodes \
945 maybe-dvi-binutils \
946 maybe-dvi-bison \
947 maybe-dvi-byacc \
948 maybe-dvi-bzip2 \
949 maybe-dvi-dejagnu \
950 maybe-dvi-diff \
951 maybe-dvi-dosutils \
952 maybe-dvi-etc \
953 maybe-dvi-fastjar \
954 maybe-dvi-fileutils \
955 maybe-dvi-findutils \
956 maybe-dvi-find \
957 maybe-dvi-flex \
958 maybe-dvi-gas \
959 maybe-dvi-gcc \
960 maybe-dvi-gawk \
961 maybe-dvi-gettext \
962 maybe-dvi-gnuserv \
963 maybe-dvi-gprof \
964 maybe-dvi-gzip \
965 maybe-dvi-hello \
966 maybe-dvi-indent \
967 maybe-dvi-intl \
968 maybe-dvi-tcl \
969 maybe-dvi-itcl \
970 maybe-dvi-ld \
971 maybe-dvi-libcpp \
972 maybe-dvi-libgui \
973 maybe-dvi-libbanshee \
974 maybe-dvi-libiberty \
975 maybe-dvi-libtool \
976 maybe-dvi-m4 \
977 maybe-dvi-make \
978 maybe-dvi-mmalloc \
979 maybe-dvi-patch \
980 maybe-dvi-perl \
981 maybe-dvi-prms \
982 maybe-dvi-rcs \
983 maybe-dvi-readline \
984 maybe-dvi-release \
985 maybe-dvi-recode \
986 maybe-dvi-sed \
987 maybe-dvi-send-pr \
988 maybe-dvi-shellutils \
989 maybe-dvi-sid \
990 maybe-dvi-sim \
991 maybe-dvi-tar \
992 maybe-dvi-texinfo \
993 maybe-dvi-textutils \
994 maybe-dvi-time \
995 maybe-dvi-uudecode \
996 maybe-dvi-wdiff \
997 maybe-dvi-zip \
998 maybe-dvi-zlib \
999 maybe-dvi-gdb \
1000 maybe-dvi-expect \
1001 maybe-dvi-guile \
1002 maybe-dvi-tk \
1003 maybe-dvi-libtermcap \
1004 maybe-dvi-utils
1006 .PHONY: dvi-target
1007 dvi-target: \
1008 maybe-dvi-target-libstdc++-v3 \
1009 maybe-dvi-target-libmudflap \
1010 maybe-dvi-target-newlib \
1011 maybe-dvi-target-libgfortran \
1012 maybe-dvi-target-libobjc \
1013 maybe-dvi-target-libtermcap \
1014 maybe-dvi-target-winsup \
1015 maybe-dvi-target-libgloss \
1016 maybe-dvi-target-libiberty \
1017 maybe-dvi-target-gperf \
1018 maybe-dvi-target-examples \
1019 maybe-dvi-target-libffi \
1020 maybe-dvi-target-libjava \
1021 maybe-dvi-target-zlib \
1022 maybe-dvi-target-boehm-gc \
1023 maybe-dvi-target-qthreads \
1024 maybe-dvi-target-rda \
1025 maybe-dvi-target-libada
1027 .PHONY: do-TAGS
1028 do-TAGS: unstage TAGS-host TAGS-target stage
1030 .PHONY: TAGS-host
1031 TAGS-host: \
1032 maybe-TAGS-ash \
1033 maybe-TAGS-autoconf \
1034 maybe-TAGS-automake \
1035 maybe-TAGS-bash \
1036 maybe-TAGS-bfd \
1037 maybe-TAGS-opcodes \
1038 maybe-TAGS-binutils \
1039 maybe-TAGS-bison \
1040 maybe-TAGS-byacc \
1041 maybe-TAGS-bzip2 \
1042 maybe-TAGS-dejagnu \
1043 maybe-TAGS-diff \
1044 maybe-TAGS-dosutils \
1045 maybe-TAGS-etc \
1046 maybe-TAGS-fastjar \
1047 maybe-TAGS-fileutils \
1048 maybe-TAGS-findutils \
1049 maybe-TAGS-find \
1050 maybe-TAGS-flex \
1051 maybe-TAGS-gas \
1052 maybe-TAGS-gcc \
1053 maybe-TAGS-gawk \
1054 maybe-TAGS-gettext \
1055 maybe-TAGS-gnuserv \
1056 maybe-TAGS-gprof \
1057 maybe-TAGS-gzip \
1058 maybe-TAGS-hello \
1059 maybe-TAGS-indent \
1060 maybe-TAGS-intl \
1061 maybe-TAGS-tcl \
1062 maybe-TAGS-itcl \
1063 maybe-TAGS-ld \
1064 maybe-TAGS-libcpp \
1065 maybe-TAGS-libgui \
1066 maybe-TAGS-libbanshee \
1067 maybe-TAGS-libiberty \
1068 maybe-TAGS-libtool \
1069 maybe-TAGS-m4 \
1070 maybe-TAGS-make \
1071 maybe-TAGS-mmalloc \
1072 maybe-TAGS-patch \
1073 maybe-TAGS-perl \
1074 maybe-TAGS-prms \
1075 maybe-TAGS-rcs \
1076 maybe-TAGS-readline \
1077 maybe-TAGS-release \
1078 maybe-TAGS-recode \
1079 maybe-TAGS-sed \
1080 maybe-TAGS-send-pr \
1081 maybe-TAGS-shellutils \
1082 maybe-TAGS-sid \
1083 maybe-TAGS-sim \
1084 maybe-TAGS-tar \
1085 maybe-TAGS-texinfo \
1086 maybe-TAGS-textutils \
1087 maybe-TAGS-time \
1088 maybe-TAGS-uudecode \
1089 maybe-TAGS-wdiff \
1090 maybe-TAGS-zip \
1091 maybe-TAGS-zlib \
1092 maybe-TAGS-gdb \
1093 maybe-TAGS-expect \
1094 maybe-TAGS-guile \
1095 maybe-TAGS-tk \
1096 maybe-TAGS-libtermcap \
1097 maybe-TAGS-utils
1099 .PHONY: TAGS-target
1100 TAGS-target: \
1101 maybe-TAGS-target-libstdc++-v3 \
1102 maybe-TAGS-target-libmudflap \
1103 maybe-TAGS-target-newlib \
1104 maybe-TAGS-target-libgfortran \
1105 maybe-TAGS-target-libobjc \
1106 maybe-TAGS-target-libtermcap \
1107 maybe-TAGS-target-winsup \
1108 maybe-TAGS-target-libgloss \
1109 maybe-TAGS-target-libiberty \
1110 maybe-TAGS-target-gperf \
1111 maybe-TAGS-target-examples \
1112 maybe-TAGS-target-libffi \
1113 maybe-TAGS-target-libjava \
1114 maybe-TAGS-target-zlib \
1115 maybe-TAGS-target-boehm-gc \
1116 maybe-TAGS-target-qthreads \
1117 maybe-TAGS-target-rda \
1118 maybe-TAGS-target-libada
1120 .PHONY: do-install-info
1121 do-install-info: unstage install-info-host install-info-target stage
1123 .PHONY: install-info-host
1124 install-info-host: \
1125 maybe-install-info-ash \
1126 maybe-install-info-autoconf \
1127 maybe-install-info-automake \
1128 maybe-install-info-bash \
1129 maybe-install-info-bfd \
1130 maybe-install-info-opcodes \
1131 maybe-install-info-binutils \
1132 maybe-install-info-bison \
1133 maybe-install-info-byacc \
1134 maybe-install-info-bzip2 \
1135 maybe-install-info-dejagnu \
1136 maybe-install-info-diff \
1137 maybe-install-info-dosutils \
1138 maybe-install-info-etc \
1139 maybe-install-info-fastjar \
1140 maybe-install-info-fileutils \
1141 maybe-install-info-findutils \
1142 maybe-install-info-find \
1143 maybe-install-info-flex \
1144 maybe-install-info-gas \
1145 maybe-install-info-gcc \
1146 maybe-install-info-gawk \
1147 maybe-install-info-gettext \
1148 maybe-install-info-gnuserv \
1149 maybe-install-info-gprof \
1150 maybe-install-info-gzip \
1151 maybe-install-info-hello \
1152 maybe-install-info-indent \
1153 maybe-install-info-intl \
1154 maybe-install-info-tcl \
1155 maybe-install-info-itcl \
1156 maybe-install-info-ld \
1157 maybe-install-info-libcpp \
1158 maybe-install-info-libgui \
1159 maybe-install-info-libbanshee \
1160 maybe-install-info-libiberty \
1161 maybe-install-info-libtool \
1162 maybe-install-info-m4 \
1163 maybe-install-info-make \
1164 maybe-install-info-mmalloc \
1165 maybe-install-info-patch \
1166 maybe-install-info-perl \
1167 maybe-install-info-prms \
1168 maybe-install-info-rcs \
1169 maybe-install-info-readline \
1170 maybe-install-info-release \
1171 maybe-install-info-recode \
1172 maybe-install-info-sed \
1173 maybe-install-info-send-pr \
1174 maybe-install-info-shellutils \
1175 maybe-install-info-sid \
1176 maybe-install-info-sim \
1177 maybe-install-info-tar \
1178 maybe-install-info-texinfo \
1179 maybe-install-info-textutils \
1180 maybe-install-info-time \
1181 maybe-install-info-uudecode \
1182 maybe-install-info-wdiff \
1183 maybe-install-info-zip \
1184 maybe-install-info-zlib \
1185 maybe-install-info-gdb \
1186 maybe-install-info-expect \
1187 maybe-install-info-guile \
1188 maybe-install-info-tk \
1189 maybe-install-info-libtermcap \
1190 maybe-install-info-utils
1192 .PHONY: install-info-target
1193 install-info-target: \
1194 maybe-install-info-target-libstdc++-v3 \
1195 maybe-install-info-target-libmudflap \
1196 maybe-install-info-target-newlib \
1197 maybe-install-info-target-libgfortran \
1198 maybe-install-info-target-libobjc \
1199 maybe-install-info-target-libtermcap \
1200 maybe-install-info-target-winsup \
1201 maybe-install-info-target-libgloss \
1202 maybe-install-info-target-libiberty \
1203 maybe-install-info-target-gperf \
1204 maybe-install-info-target-examples \
1205 maybe-install-info-target-libffi \
1206 maybe-install-info-target-libjava \
1207 maybe-install-info-target-zlib \
1208 maybe-install-info-target-boehm-gc \
1209 maybe-install-info-target-qthreads \
1210 maybe-install-info-target-rda \
1211 maybe-install-info-target-libada
1213 .PHONY: do-installcheck
1214 do-installcheck: unstage installcheck-host installcheck-target stage
1216 .PHONY: installcheck-host
1217 installcheck-host: \
1218 maybe-installcheck-ash \
1219 maybe-installcheck-autoconf \
1220 maybe-installcheck-automake \
1221 maybe-installcheck-bash \
1222 maybe-installcheck-bfd \
1223 maybe-installcheck-opcodes \
1224 maybe-installcheck-binutils \
1225 maybe-installcheck-bison \
1226 maybe-installcheck-byacc \
1227 maybe-installcheck-bzip2 \
1228 maybe-installcheck-dejagnu \
1229 maybe-installcheck-diff \
1230 maybe-installcheck-dosutils \
1231 maybe-installcheck-etc \
1232 maybe-installcheck-fastjar \
1233 maybe-installcheck-fileutils \
1234 maybe-installcheck-findutils \
1235 maybe-installcheck-find \
1236 maybe-installcheck-flex \
1237 maybe-installcheck-gas \
1238 maybe-installcheck-gcc \
1239 maybe-installcheck-gawk \
1240 maybe-installcheck-gettext \
1241 maybe-installcheck-gnuserv \
1242 maybe-installcheck-gprof \
1243 maybe-installcheck-gzip \
1244 maybe-installcheck-hello \
1245 maybe-installcheck-indent \
1246 maybe-installcheck-intl \
1247 maybe-installcheck-tcl \
1248 maybe-installcheck-itcl \
1249 maybe-installcheck-ld \
1250 maybe-installcheck-libcpp \
1251 maybe-installcheck-libgui \
1252 maybe-installcheck-libbanshee \
1253 maybe-installcheck-libiberty \
1254 maybe-installcheck-libtool \
1255 maybe-installcheck-m4 \
1256 maybe-installcheck-make \
1257 maybe-installcheck-mmalloc \
1258 maybe-installcheck-patch \
1259 maybe-installcheck-perl \
1260 maybe-installcheck-prms \
1261 maybe-installcheck-rcs \
1262 maybe-installcheck-readline \
1263 maybe-installcheck-release \
1264 maybe-installcheck-recode \
1265 maybe-installcheck-sed \
1266 maybe-installcheck-send-pr \
1267 maybe-installcheck-shellutils \
1268 maybe-installcheck-sid \
1269 maybe-installcheck-sim \
1270 maybe-installcheck-tar \
1271 maybe-installcheck-texinfo \
1272 maybe-installcheck-textutils \
1273 maybe-installcheck-time \
1274 maybe-installcheck-uudecode \
1275 maybe-installcheck-wdiff \
1276 maybe-installcheck-zip \
1277 maybe-installcheck-zlib \
1278 maybe-installcheck-gdb \
1279 maybe-installcheck-expect \
1280 maybe-installcheck-guile \
1281 maybe-installcheck-tk \
1282 maybe-installcheck-libtermcap \
1283 maybe-installcheck-utils
1285 .PHONY: installcheck-target
1286 installcheck-target: \
1287 maybe-installcheck-target-libstdc++-v3 \
1288 maybe-installcheck-target-libmudflap \
1289 maybe-installcheck-target-newlib \
1290 maybe-installcheck-target-libgfortran \
1291 maybe-installcheck-target-libobjc \
1292 maybe-installcheck-target-libtermcap \
1293 maybe-installcheck-target-winsup \
1294 maybe-installcheck-target-libgloss \
1295 maybe-installcheck-target-libiberty \
1296 maybe-installcheck-target-gperf \
1297 maybe-installcheck-target-examples \
1298 maybe-installcheck-target-libffi \
1299 maybe-installcheck-target-libjava \
1300 maybe-installcheck-target-zlib \
1301 maybe-installcheck-target-boehm-gc \
1302 maybe-installcheck-target-qthreads \
1303 maybe-installcheck-target-rda \
1304 maybe-installcheck-target-libada
1306 .PHONY: do-mostlyclean
1307 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1309 .PHONY: mostlyclean-host
1310 mostlyclean-host: \
1311 maybe-mostlyclean-ash \
1312 maybe-mostlyclean-autoconf \
1313 maybe-mostlyclean-automake \
1314 maybe-mostlyclean-bash \
1315 maybe-mostlyclean-bfd \
1316 maybe-mostlyclean-opcodes \
1317 maybe-mostlyclean-binutils \
1318 maybe-mostlyclean-bison \
1319 maybe-mostlyclean-byacc \
1320 maybe-mostlyclean-bzip2 \
1321 maybe-mostlyclean-dejagnu \
1322 maybe-mostlyclean-diff \
1323 maybe-mostlyclean-dosutils \
1324 maybe-mostlyclean-etc \
1325 maybe-mostlyclean-fastjar \
1326 maybe-mostlyclean-fileutils \
1327 maybe-mostlyclean-findutils \
1328 maybe-mostlyclean-find \
1329 maybe-mostlyclean-flex \
1330 maybe-mostlyclean-gas \
1331 maybe-mostlyclean-gcc \
1332 maybe-mostlyclean-gawk \
1333 maybe-mostlyclean-gettext \
1334 maybe-mostlyclean-gnuserv \
1335 maybe-mostlyclean-gprof \
1336 maybe-mostlyclean-gzip \
1337 maybe-mostlyclean-hello \
1338 maybe-mostlyclean-indent \
1339 maybe-mostlyclean-intl \
1340 maybe-mostlyclean-tcl \
1341 maybe-mostlyclean-itcl \
1342 maybe-mostlyclean-ld \
1343 maybe-mostlyclean-libcpp \
1344 maybe-mostlyclean-libgui \
1345 maybe-mostlyclean-libbanshee \
1346 maybe-mostlyclean-libiberty \
1347 maybe-mostlyclean-libtool \
1348 maybe-mostlyclean-m4 \
1349 maybe-mostlyclean-make \
1350 maybe-mostlyclean-mmalloc \
1351 maybe-mostlyclean-patch \
1352 maybe-mostlyclean-perl \
1353 maybe-mostlyclean-prms \
1354 maybe-mostlyclean-rcs \
1355 maybe-mostlyclean-readline \
1356 maybe-mostlyclean-release \
1357 maybe-mostlyclean-recode \
1358 maybe-mostlyclean-sed \
1359 maybe-mostlyclean-send-pr \
1360 maybe-mostlyclean-shellutils \
1361 maybe-mostlyclean-sid \
1362 maybe-mostlyclean-sim \
1363 maybe-mostlyclean-tar \
1364 maybe-mostlyclean-texinfo \
1365 maybe-mostlyclean-textutils \
1366 maybe-mostlyclean-time \
1367 maybe-mostlyclean-uudecode \
1368 maybe-mostlyclean-wdiff \
1369 maybe-mostlyclean-zip \
1370 maybe-mostlyclean-zlib \
1371 maybe-mostlyclean-gdb \
1372 maybe-mostlyclean-expect \
1373 maybe-mostlyclean-guile \
1374 maybe-mostlyclean-tk \
1375 maybe-mostlyclean-libtermcap \
1376 maybe-mostlyclean-utils
1378 .PHONY: mostlyclean-target
1379 mostlyclean-target: \
1380 maybe-mostlyclean-target-libstdc++-v3 \
1381 maybe-mostlyclean-target-libmudflap \
1382 maybe-mostlyclean-target-newlib \
1383 maybe-mostlyclean-target-libgfortran \
1384 maybe-mostlyclean-target-libobjc \
1385 maybe-mostlyclean-target-libtermcap \
1386 maybe-mostlyclean-target-winsup \
1387 maybe-mostlyclean-target-libgloss \
1388 maybe-mostlyclean-target-libiberty \
1389 maybe-mostlyclean-target-gperf \
1390 maybe-mostlyclean-target-examples \
1391 maybe-mostlyclean-target-libffi \
1392 maybe-mostlyclean-target-libjava \
1393 maybe-mostlyclean-target-zlib \
1394 maybe-mostlyclean-target-boehm-gc \
1395 maybe-mostlyclean-target-qthreads \
1396 maybe-mostlyclean-target-rda \
1397 maybe-mostlyclean-target-libada
1399 .PHONY: do-clean
1400 do-clean: unstage clean-host clean-target stage
1402 .PHONY: clean-host
1403 clean-host: \
1404 maybe-clean-ash \
1405 maybe-clean-autoconf \
1406 maybe-clean-automake \
1407 maybe-clean-bash \
1408 maybe-clean-bfd \
1409 maybe-clean-opcodes \
1410 maybe-clean-binutils \
1411 maybe-clean-bison \
1412 maybe-clean-byacc \
1413 maybe-clean-bzip2 \
1414 maybe-clean-dejagnu \
1415 maybe-clean-diff \
1416 maybe-clean-dosutils \
1417 maybe-clean-etc \
1418 maybe-clean-fastjar \
1419 maybe-clean-fileutils \
1420 maybe-clean-findutils \
1421 maybe-clean-find \
1422 maybe-clean-flex \
1423 maybe-clean-gas \
1424 maybe-clean-gcc \
1425 maybe-clean-gawk \
1426 maybe-clean-gettext \
1427 maybe-clean-gnuserv \
1428 maybe-clean-gprof \
1429 maybe-clean-gzip \
1430 maybe-clean-hello \
1431 maybe-clean-indent \
1432 maybe-clean-intl \
1433 maybe-clean-tcl \
1434 maybe-clean-itcl \
1435 maybe-clean-ld \
1436 maybe-clean-libcpp \
1437 maybe-clean-libgui \
1438 maybe-clean-libbanshee \
1439 maybe-clean-libiberty \
1440 maybe-clean-libtool \
1441 maybe-clean-m4 \
1442 maybe-clean-make \
1443 maybe-clean-mmalloc \
1444 maybe-clean-patch \
1445 maybe-clean-perl \
1446 maybe-clean-prms \
1447 maybe-clean-rcs \
1448 maybe-clean-readline \
1449 maybe-clean-release \
1450 maybe-clean-recode \
1451 maybe-clean-sed \
1452 maybe-clean-send-pr \
1453 maybe-clean-shellutils \
1454 maybe-clean-sid \
1455 maybe-clean-sim \
1456 maybe-clean-tar \
1457 maybe-clean-texinfo \
1458 maybe-clean-textutils \
1459 maybe-clean-time \
1460 maybe-clean-uudecode \
1461 maybe-clean-wdiff \
1462 maybe-clean-zip \
1463 maybe-clean-zlib \
1464 maybe-clean-gdb \
1465 maybe-clean-expect \
1466 maybe-clean-guile \
1467 maybe-clean-tk \
1468 maybe-clean-libtermcap \
1469 maybe-clean-utils
1471 .PHONY: clean-target
1472 clean-target: \
1473 maybe-clean-target-libstdc++-v3 \
1474 maybe-clean-target-libmudflap \
1475 maybe-clean-target-newlib \
1476 maybe-clean-target-libgfortran \
1477 maybe-clean-target-libobjc \
1478 maybe-clean-target-libtermcap \
1479 maybe-clean-target-winsup \
1480 maybe-clean-target-libgloss \
1481 maybe-clean-target-libiberty \
1482 maybe-clean-target-gperf \
1483 maybe-clean-target-examples \
1484 maybe-clean-target-libffi \
1485 maybe-clean-target-libjava \
1486 maybe-clean-target-zlib \
1487 maybe-clean-target-boehm-gc \
1488 maybe-clean-target-qthreads \
1489 maybe-clean-target-rda \
1490 maybe-clean-target-libada
1492 .PHONY: do-distclean
1493 do-distclean: unstage distclean-host distclean-target stage
1495 .PHONY: distclean-host
1496 distclean-host: \
1497 maybe-distclean-ash \
1498 maybe-distclean-autoconf \
1499 maybe-distclean-automake \
1500 maybe-distclean-bash \
1501 maybe-distclean-bfd \
1502 maybe-distclean-opcodes \
1503 maybe-distclean-binutils \
1504 maybe-distclean-bison \
1505 maybe-distclean-byacc \
1506 maybe-distclean-bzip2 \
1507 maybe-distclean-dejagnu \
1508 maybe-distclean-diff \
1509 maybe-distclean-dosutils \
1510 maybe-distclean-etc \
1511 maybe-distclean-fastjar \
1512 maybe-distclean-fileutils \
1513 maybe-distclean-findutils \
1514 maybe-distclean-find \
1515 maybe-distclean-flex \
1516 maybe-distclean-gas \
1517 maybe-distclean-gcc \
1518 maybe-distclean-gawk \
1519 maybe-distclean-gettext \
1520 maybe-distclean-gnuserv \
1521 maybe-distclean-gprof \
1522 maybe-distclean-gzip \
1523 maybe-distclean-hello \
1524 maybe-distclean-indent \
1525 maybe-distclean-intl \
1526 maybe-distclean-tcl \
1527 maybe-distclean-itcl \
1528 maybe-distclean-ld \
1529 maybe-distclean-libcpp \
1530 maybe-distclean-libgui \
1531 maybe-distclean-libbanshee \
1532 maybe-distclean-libiberty \
1533 maybe-distclean-libtool \
1534 maybe-distclean-m4 \
1535 maybe-distclean-make \
1536 maybe-distclean-mmalloc \
1537 maybe-distclean-patch \
1538 maybe-distclean-perl \
1539 maybe-distclean-prms \
1540 maybe-distclean-rcs \
1541 maybe-distclean-readline \
1542 maybe-distclean-release \
1543 maybe-distclean-recode \
1544 maybe-distclean-sed \
1545 maybe-distclean-send-pr \
1546 maybe-distclean-shellutils \
1547 maybe-distclean-sid \
1548 maybe-distclean-sim \
1549 maybe-distclean-tar \
1550 maybe-distclean-texinfo \
1551 maybe-distclean-textutils \
1552 maybe-distclean-time \
1553 maybe-distclean-uudecode \
1554 maybe-distclean-wdiff \
1555 maybe-distclean-zip \
1556 maybe-distclean-zlib \
1557 maybe-distclean-gdb \
1558 maybe-distclean-expect \
1559 maybe-distclean-guile \
1560 maybe-distclean-tk \
1561 maybe-distclean-libtermcap \
1562 maybe-distclean-utils
1564 .PHONY: distclean-target
1565 distclean-target: \
1566 maybe-distclean-target-libstdc++-v3 \
1567 maybe-distclean-target-libmudflap \
1568 maybe-distclean-target-newlib \
1569 maybe-distclean-target-libgfortran \
1570 maybe-distclean-target-libobjc \
1571 maybe-distclean-target-libtermcap \
1572 maybe-distclean-target-winsup \
1573 maybe-distclean-target-libgloss \
1574 maybe-distclean-target-libiberty \
1575 maybe-distclean-target-gperf \
1576 maybe-distclean-target-examples \
1577 maybe-distclean-target-libffi \
1578 maybe-distclean-target-libjava \
1579 maybe-distclean-target-zlib \
1580 maybe-distclean-target-boehm-gc \
1581 maybe-distclean-target-qthreads \
1582 maybe-distclean-target-rda \
1583 maybe-distclean-target-libada
1585 .PHONY: do-maintainer-clean
1586 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1588 .PHONY: maintainer-clean-host
1589 maintainer-clean-host: \
1590 maybe-maintainer-clean-ash \
1591 maybe-maintainer-clean-autoconf \
1592 maybe-maintainer-clean-automake \
1593 maybe-maintainer-clean-bash \
1594 maybe-maintainer-clean-bfd \
1595 maybe-maintainer-clean-opcodes \
1596 maybe-maintainer-clean-binutils \
1597 maybe-maintainer-clean-bison \
1598 maybe-maintainer-clean-byacc \
1599 maybe-maintainer-clean-bzip2 \
1600 maybe-maintainer-clean-dejagnu \
1601 maybe-maintainer-clean-diff \
1602 maybe-maintainer-clean-dosutils \
1603 maybe-maintainer-clean-etc \
1604 maybe-maintainer-clean-fastjar \
1605 maybe-maintainer-clean-fileutils \
1606 maybe-maintainer-clean-findutils \
1607 maybe-maintainer-clean-find \
1608 maybe-maintainer-clean-flex \
1609 maybe-maintainer-clean-gas \
1610 maybe-maintainer-clean-gcc \
1611 maybe-maintainer-clean-gawk \
1612 maybe-maintainer-clean-gettext \
1613 maybe-maintainer-clean-gnuserv \
1614 maybe-maintainer-clean-gprof \
1615 maybe-maintainer-clean-gzip \
1616 maybe-maintainer-clean-hello \
1617 maybe-maintainer-clean-indent \
1618 maybe-maintainer-clean-intl \
1619 maybe-maintainer-clean-tcl \
1620 maybe-maintainer-clean-itcl \
1621 maybe-maintainer-clean-ld \
1622 maybe-maintainer-clean-libcpp \
1623 maybe-maintainer-clean-libgui \
1624 maybe-maintainer-clean-libbanshee \
1625 maybe-maintainer-clean-libiberty \
1626 maybe-maintainer-clean-libtool \
1627 maybe-maintainer-clean-m4 \
1628 maybe-maintainer-clean-make \
1629 maybe-maintainer-clean-mmalloc \
1630 maybe-maintainer-clean-patch \
1631 maybe-maintainer-clean-perl \
1632 maybe-maintainer-clean-prms \
1633 maybe-maintainer-clean-rcs \
1634 maybe-maintainer-clean-readline \
1635 maybe-maintainer-clean-release \
1636 maybe-maintainer-clean-recode \
1637 maybe-maintainer-clean-sed \
1638 maybe-maintainer-clean-send-pr \
1639 maybe-maintainer-clean-shellutils \
1640 maybe-maintainer-clean-sid \
1641 maybe-maintainer-clean-sim \
1642 maybe-maintainer-clean-tar \
1643 maybe-maintainer-clean-texinfo \
1644 maybe-maintainer-clean-textutils \
1645 maybe-maintainer-clean-time \
1646 maybe-maintainer-clean-uudecode \
1647 maybe-maintainer-clean-wdiff \
1648 maybe-maintainer-clean-zip \
1649 maybe-maintainer-clean-zlib \
1650 maybe-maintainer-clean-gdb \
1651 maybe-maintainer-clean-expect \
1652 maybe-maintainer-clean-guile \
1653 maybe-maintainer-clean-tk \
1654 maybe-maintainer-clean-libtermcap \
1655 maybe-maintainer-clean-utils
1657 .PHONY: maintainer-clean-target
1658 maintainer-clean-target: \
1659 maybe-maintainer-clean-target-libstdc++-v3 \
1660 maybe-maintainer-clean-target-libmudflap \
1661 maybe-maintainer-clean-target-newlib \
1662 maybe-maintainer-clean-target-libgfortran \
1663 maybe-maintainer-clean-target-libobjc \
1664 maybe-maintainer-clean-target-libtermcap \
1665 maybe-maintainer-clean-target-winsup \
1666 maybe-maintainer-clean-target-libgloss \
1667 maybe-maintainer-clean-target-libiberty \
1668 maybe-maintainer-clean-target-gperf \
1669 maybe-maintainer-clean-target-examples \
1670 maybe-maintainer-clean-target-libffi \
1671 maybe-maintainer-clean-target-libjava \
1672 maybe-maintainer-clean-target-zlib \
1673 maybe-maintainer-clean-target-boehm-gc \
1674 maybe-maintainer-clean-target-qthreads \
1675 maybe-maintainer-clean-target-rda \
1676 maybe-maintainer-clean-target-libada
1679 # Here are the targets which correspond to the do-X targets.
1681 .PHONY: info installcheck dvi install-info
1682 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1683 .PHONY: local-clean local-distclean local-maintainer-clean
1684 info: do-info
1685 installcheck: do-installcheck
1686 dvi: do-dvi
1688 # Make sure makeinfo is built before we do a `make info', if we're
1689 # in fact building texinfo.
1690 do-info: maybe-all-texinfo
1692 install-info: do-install-info dir.info
1693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1694 if [ -f dir.info ] ; then \
1695 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1696 else true ; fi
1698 local-clean:
1699 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1701 local-distclean:
1702 -rm -f Makefile config.status config.cache mh-frag mt-frag
1703 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1704 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1705 rm -rf $(TARGET_SUBDIR); \
1706 else true; fi
1707 -rm -rf $(BUILD_SUBDIR)
1708 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1709 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1710 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1711 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1712 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1714 local-maintainer-clean:
1715 @echo "This command is intended for maintainers to use;"
1716 @echo "it deletes files that may require special tools to rebuild."
1718 clean: do-clean local-clean
1719 mostlyclean: do-mostlyclean local-clean
1720 distclean: do-distclean local-clean local-distclean
1721 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1722 maintainer-clean: local-distclean
1723 realclean: maintainer-clean
1725 # Extra dependency for clean-target, owing to the mixed nature of gcc
1726 clean-target: clean-target-libgcc
1727 clean-target-libgcc:
1728 test ! -d gcc/libgcc || \
1729 (cd gcc/libgcc && find . -type d -print) | \
1730 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1731 -rm -rf gcc/libgcc
1733 # Check target.
1735 .PHONY: check do-check
1736 check: do-check
1738 # Only include modules actually being configured and built.
1739 do-check: unstage \
1740 maybe-check-ash \
1741 maybe-check-autoconf \
1742 maybe-check-automake \
1743 maybe-check-bash \
1744 maybe-check-bfd \
1745 maybe-check-opcodes \
1746 maybe-check-binutils \
1747 maybe-check-bison \
1748 maybe-check-byacc \
1749 maybe-check-bzip2 \
1750 maybe-check-dejagnu \
1751 maybe-check-diff \
1752 maybe-check-dosutils \
1753 maybe-check-etc \
1754 maybe-check-fastjar \
1755 maybe-check-fileutils \
1756 maybe-check-findutils \
1757 maybe-check-find \
1758 maybe-check-flex \
1759 maybe-check-gas \
1760 maybe-check-gcc \
1761 maybe-check-gawk \
1762 maybe-check-gettext \
1763 maybe-check-gnuserv \
1764 maybe-check-gprof \
1765 maybe-check-gzip \
1766 maybe-check-hello \
1767 maybe-check-indent \
1768 maybe-check-intl \
1769 maybe-check-tcl \
1770 maybe-check-itcl \
1771 maybe-check-ld \
1772 maybe-check-libcpp \
1773 maybe-check-libgui \
1774 maybe-check-libbanshee \
1775 maybe-check-libiberty \
1776 maybe-check-libtool \
1777 maybe-check-m4 \
1778 maybe-check-make \
1779 maybe-check-mmalloc \
1780 maybe-check-patch \
1781 maybe-check-perl \
1782 maybe-check-prms \
1783 maybe-check-rcs \
1784 maybe-check-readline \
1785 maybe-check-release \
1786 maybe-check-recode \
1787 maybe-check-sed \
1788 maybe-check-send-pr \
1789 maybe-check-shellutils \
1790 maybe-check-sid \
1791 maybe-check-sim \
1792 maybe-check-tar \
1793 maybe-check-texinfo \
1794 maybe-check-textutils \
1795 maybe-check-time \
1796 maybe-check-uudecode \
1797 maybe-check-wdiff \
1798 maybe-check-zip \
1799 maybe-check-zlib \
1800 maybe-check-gdb \
1801 maybe-check-expect \
1802 maybe-check-guile \
1803 maybe-check-tk \
1804 maybe-check-libtermcap \
1805 maybe-check-utils \
1806 maybe-check-target-libstdc++-v3 \
1807 maybe-check-target-libmudflap \
1808 maybe-check-target-newlib \
1809 maybe-check-target-libgfortran \
1810 maybe-check-target-libobjc \
1811 maybe-check-target-libtermcap \
1812 maybe-check-target-winsup \
1813 maybe-check-target-libgloss \
1814 maybe-check-target-libiberty \
1815 maybe-check-target-gperf \
1816 maybe-check-target-examples \
1817 maybe-check-target-libffi \
1818 maybe-check-target-libjava \
1819 maybe-check-target-zlib \
1820 maybe-check-target-boehm-gc \
1821 maybe-check-target-qthreads \
1822 maybe-check-target-rda \
1823 maybe-check-target-libada stage
1825 # Automated reporting of test results.
1827 warning.log: build.log
1828 $(srcdir)/contrib/warn_summary build.log > $@
1830 mail-report.log:
1831 if test x'$(BOOT_CFLAGS)' != x''; then \
1832 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1833 fi; \
1834 $(srcdir)/contrib/test_summary -t >$@
1835 chmod +x $@
1836 echo If you really want to send e-mail, run ./$@ now
1838 mail-report-with-warnings.log: warning.log
1839 if test x'$(BOOT_CFLAGS)' != x''; then \
1840 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1841 fi; \
1842 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1843 chmod +x $@
1844 echo If you really want to send e-mail, run ./$@ now
1846 # Installation targets.
1848 .PHONY: install uninstall
1849 install: installdirs install-host install-target
1851 .PHONY: install-host-nogcc
1852 install-host-nogcc: \
1853 maybe-install-ash \
1854 maybe-install-autoconf \
1855 maybe-install-automake \
1856 maybe-install-bash \
1857 maybe-install-bfd \
1858 maybe-install-opcodes \
1859 maybe-install-binutils \
1860 maybe-install-bison \
1861 maybe-install-byacc \
1862 maybe-install-bzip2 \
1863 maybe-install-dejagnu \
1864 maybe-install-diff \
1865 maybe-install-dosutils \
1866 maybe-install-etc \
1867 maybe-install-fastjar \
1868 maybe-install-fileutils \
1869 maybe-install-findutils \
1870 maybe-install-find \
1871 maybe-install-flex \
1872 maybe-install-gas \
1873 maybe-install-gawk \
1874 maybe-install-gettext \
1875 maybe-install-gnuserv \
1876 maybe-install-gprof \
1877 maybe-install-gzip \
1878 maybe-install-hello \
1879 maybe-install-indent \
1880 maybe-install-intl \
1881 maybe-install-tcl \
1882 maybe-install-itcl \
1883 maybe-install-ld \
1884 maybe-install-libcpp \
1885 maybe-install-libgui \
1886 maybe-install-libbanshee \
1887 maybe-install-libiberty \
1888 maybe-install-libtool \
1889 maybe-install-m4 \
1890 maybe-install-make \
1891 maybe-install-mmalloc \
1892 maybe-install-patch \
1893 maybe-install-perl \
1894 maybe-install-prms \
1895 maybe-install-rcs \
1896 maybe-install-readline \
1897 maybe-install-release \
1898 maybe-install-recode \
1899 maybe-install-sed \
1900 maybe-install-send-pr \
1901 maybe-install-shellutils \
1902 maybe-install-sid \
1903 maybe-install-sim \
1904 maybe-install-tar \
1905 maybe-install-texinfo \
1906 maybe-install-textutils \
1907 maybe-install-time \
1908 maybe-install-uudecode \
1909 maybe-install-wdiff \
1910 maybe-install-zip \
1911 maybe-install-zlib \
1912 maybe-install-gdb \
1913 maybe-install-expect \
1914 maybe-install-guile \
1915 maybe-install-tk \
1916 maybe-install-libtermcap \
1917 maybe-install-utils
1919 .PHONY: install-host
1920 install-host: \
1921 maybe-install-ash \
1922 maybe-install-autoconf \
1923 maybe-install-automake \
1924 maybe-install-bash \
1925 maybe-install-bfd \
1926 maybe-install-opcodes \
1927 maybe-install-binutils \
1928 maybe-install-bison \
1929 maybe-install-byacc \
1930 maybe-install-bzip2 \
1931 maybe-install-dejagnu \
1932 maybe-install-diff \
1933 maybe-install-dosutils \
1934 maybe-install-etc \
1935 maybe-install-fastjar \
1936 maybe-install-fileutils \
1937 maybe-install-findutils \
1938 maybe-install-find \
1939 maybe-install-flex \
1940 maybe-install-gas \
1941 maybe-install-gcc \
1942 maybe-install-gawk \
1943 maybe-install-gettext \
1944 maybe-install-gnuserv \
1945 maybe-install-gprof \
1946 maybe-install-gzip \
1947 maybe-install-hello \
1948 maybe-install-indent \
1949 maybe-install-intl \
1950 maybe-install-tcl \
1951 maybe-install-itcl \
1952 maybe-install-ld \
1953 maybe-install-libcpp \
1954 maybe-install-libgui \
1955 maybe-install-libbanshee \
1956 maybe-install-libiberty \
1957 maybe-install-libtool \
1958 maybe-install-m4 \
1959 maybe-install-make \
1960 maybe-install-mmalloc \
1961 maybe-install-patch \
1962 maybe-install-perl \
1963 maybe-install-prms \
1964 maybe-install-rcs \
1965 maybe-install-readline \
1966 maybe-install-release \
1967 maybe-install-recode \
1968 maybe-install-sed \
1969 maybe-install-send-pr \
1970 maybe-install-shellutils \
1971 maybe-install-sid \
1972 maybe-install-sim \
1973 maybe-install-tar \
1974 maybe-install-texinfo \
1975 maybe-install-textutils \
1976 maybe-install-time \
1977 maybe-install-uudecode \
1978 maybe-install-wdiff \
1979 maybe-install-zip \
1980 maybe-install-zlib \
1981 maybe-install-gdb \
1982 maybe-install-expect \
1983 maybe-install-guile \
1984 maybe-install-tk \
1985 maybe-install-libtermcap \
1986 maybe-install-utils
1988 .PHONY: install-target
1989 install-target: \
1990 maybe-install-target-libstdc++-v3 \
1991 maybe-install-target-libmudflap \
1992 maybe-install-target-newlib \
1993 maybe-install-target-libgfortran \
1994 maybe-install-target-libobjc \
1995 maybe-install-target-libtermcap \
1996 maybe-install-target-winsup \
1997 maybe-install-target-libgloss \
1998 maybe-install-target-libiberty \
1999 maybe-install-target-gperf \
2000 maybe-install-target-examples \
2001 maybe-install-target-libffi \
2002 maybe-install-target-libjava \
2003 maybe-install-target-zlib \
2004 maybe-install-target-boehm-gc \
2005 maybe-install-target-qthreads \
2006 maybe-install-target-rda \
2007 maybe-install-target-libada
2009 uninstall:
2010 @echo "the uninstall target is not supported in this tree"
2012 .PHONY: install.all
2013 install.all: install-no-fixedincludes
2014 @if [ -f ./gcc/Makefile ] ; then \
2015 r=`${PWD_COMMAND}` ; export r ; \
2016 $(SET_LIB_PATH) \
2017 $(HOST_EXPORTS) \
2018 (cd ./gcc && \
2019 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2020 else \
2021 true ; \
2024 # install-no-fixedincludes is used because Cygnus can not distribute
2025 # the fixed header files.
2026 .PHONY: install-no-fixedincludes
2027 install-no-fixedincludes: installdirs install-host-nogcc \
2028 install-target gcc-no-fixedincludes
2030 ### other supporting targets
2032 MAKEDIRS= \
2033 $(DESTDIR)$(prefix) \
2034 $(DESTDIR)$(exec_prefix)
2035 .PHONY: installdirs
2036 installdirs: mkinstalldirs
2037 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2039 dir.info: do-install-info
2040 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2041 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2042 mv -f dir.info.new dir.info ; \
2043 else true ; \
2046 dist:
2047 @echo "Building a full distribution of this tree isn't done"
2048 @echo "via 'make dist'. Check out the etc/ subdirectory"
2050 etags tags: TAGS
2052 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2053 # ability to use several tags files at once, so there is probably no need
2054 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2055 # (if we felt like it) have this Makefile write a piece of elisp which
2056 # the user could load to tell emacs19 where all the TAGS files we just
2057 # built are.
2058 TAGS: do-TAGS
2060 # --------------------------------------
2061 # Modules which run on the build machine
2062 # --------------------------------------
2064 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2065 maybe-configure-build-libiberty:
2066 @if build-libiberty
2067 maybe-configure-build-libiberty: configure-build-libiberty
2068 configure-build-libiberty:
2069 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2070 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2071 r=`${PWD_COMMAND}`; export r; \
2072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2073 $(BUILD_EXPORTS) \
2074 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2075 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2076 case $(srcdir) in \
2077 /* | [A-Za-z]:[\\/]*) \
2078 topdir=$(srcdir) ;; \
2079 *) \
2080 case "$(BUILD_SUBDIR)" in \
2081 .) topdir="../$(srcdir)" ;; \
2082 *) topdir="../../$(srcdir)" ;; \
2083 esac ;; \
2084 esac; \
2085 if [ "$(srcdir)" = "." ] ; then \
2086 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2087 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2088 if [ -f Makefile ]; then \
2089 if $(MAKE) distclean; then \
2090 true; \
2091 else \
2092 exit 1; \
2093 fi; \
2094 else \
2095 true; \
2096 fi; \
2097 else \
2098 exit 1; \
2099 fi; \
2100 else \
2101 true; \
2102 fi; \
2103 srcdiroption="--srcdir=."; \
2104 libsrcdir="."; \
2105 else \
2106 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2107 libsrcdir="$$s/libiberty"; \
2108 fi; \
2109 rm -f no-such-file || : ; \
2110 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2111 $(BUILD_CONFIGARGS) $${srcdiroption} \
2112 --with-build-subdir="$(BUILD_SUBDIR)" \
2113 || exit 1
2114 @endif build-libiberty
2116 .PHONY: all-build-libiberty maybe-all-build-libiberty
2117 maybe-all-build-libiberty:
2118 @if build-libiberty
2119 TARGET-build-libiberty=all
2120 maybe-all-build-libiberty: all-build-libiberty
2121 all-build-libiberty: configure-build-libiberty
2122 @r=`${PWD_COMMAND}`; export r; \
2123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2124 $(BUILD_EXPORTS) \
2125 (cd $(BUILD_SUBDIR)/libiberty && \
2126 $(MAKE) $(TARGET-build-libiberty))
2127 @endif build-libiberty
2129 .PHONY: configure-build-bison maybe-configure-build-bison
2130 maybe-configure-build-bison:
2131 @if build-bison
2132 maybe-configure-build-bison: configure-build-bison
2133 configure-build-bison:
2134 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2135 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2136 r=`${PWD_COMMAND}`; export r; \
2137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2138 $(BUILD_EXPORTS) \
2139 echo Configuring in $(BUILD_SUBDIR)/bison; \
2140 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2141 case $(srcdir) in \
2142 /* | [A-Za-z]:[\\/]*) \
2143 topdir=$(srcdir) ;; \
2144 *) \
2145 case "$(BUILD_SUBDIR)" in \
2146 .) topdir="../$(srcdir)" ;; \
2147 *) topdir="../../$(srcdir)" ;; \
2148 esac ;; \
2149 esac; \
2150 if [ "$(srcdir)" = "." ] ; then \
2151 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2152 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2153 if [ -f Makefile ]; then \
2154 if $(MAKE) distclean; then \
2155 true; \
2156 else \
2157 exit 1; \
2158 fi; \
2159 else \
2160 true; \
2161 fi; \
2162 else \
2163 exit 1; \
2164 fi; \
2165 else \
2166 true; \
2167 fi; \
2168 srcdiroption="--srcdir=."; \
2169 libsrcdir="."; \
2170 else \
2171 srcdiroption="--srcdir=$${topdir}/bison"; \
2172 libsrcdir="$$s/bison"; \
2173 fi; \
2174 rm -f no-such-file || : ; \
2175 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2176 $(BUILD_CONFIGARGS) $${srcdiroption} \
2177 --with-build-subdir="$(BUILD_SUBDIR)" \
2178 || exit 1
2179 @endif build-bison
2181 .PHONY: all-build-bison maybe-all-build-bison
2182 maybe-all-build-bison:
2183 @if build-bison
2184 TARGET-build-bison=all
2185 maybe-all-build-bison: all-build-bison
2186 all-build-bison: configure-build-bison
2187 @r=`${PWD_COMMAND}`; export r; \
2188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2189 $(BUILD_EXPORTS) \
2190 (cd $(BUILD_SUBDIR)/bison && \
2191 $(MAKE) $(TARGET-build-bison))
2192 @endif build-bison
2194 .PHONY: configure-build-byacc maybe-configure-build-byacc
2195 maybe-configure-build-byacc:
2196 @if build-byacc
2197 maybe-configure-build-byacc: configure-build-byacc
2198 configure-build-byacc:
2199 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2200 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2201 r=`${PWD_COMMAND}`; export r; \
2202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2203 $(BUILD_EXPORTS) \
2204 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2205 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2206 case $(srcdir) in \
2207 /* | [A-Za-z]:[\\/]*) \
2208 topdir=$(srcdir) ;; \
2209 *) \
2210 case "$(BUILD_SUBDIR)" in \
2211 .) topdir="../$(srcdir)" ;; \
2212 *) topdir="../../$(srcdir)" ;; \
2213 esac ;; \
2214 esac; \
2215 if [ "$(srcdir)" = "." ] ; then \
2216 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2217 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2218 if [ -f Makefile ]; then \
2219 if $(MAKE) distclean; then \
2220 true; \
2221 else \
2222 exit 1; \
2223 fi; \
2224 else \
2225 true; \
2226 fi; \
2227 else \
2228 exit 1; \
2229 fi; \
2230 else \
2231 true; \
2232 fi; \
2233 srcdiroption="--srcdir=."; \
2234 libsrcdir="."; \
2235 else \
2236 srcdiroption="--srcdir=$${topdir}/byacc"; \
2237 libsrcdir="$$s/byacc"; \
2238 fi; \
2239 rm -f no-such-file || : ; \
2240 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2241 $(BUILD_CONFIGARGS) $${srcdiroption} \
2242 --with-build-subdir="$(BUILD_SUBDIR)" \
2243 || exit 1
2244 @endif build-byacc
2246 .PHONY: all-build-byacc maybe-all-build-byacc
2247 maybe-all-build-byacc:
2248 @if build-byacc
2249 TARGET-build-byacc=all
2250 maybe-all-build-byacc: all-build-byacc
2251 all-build-byacc: configure-build-byacc
2252 @r=`${PWD_COMMAND}`; export r; \
2253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2254 $(BUILD_EXPORTS) \
2255 (cd $(BUILD_SUBDIR)/byacc && \
2256 $(MAKE) $(TARGET-build-byacc))
2257 @endif build-byacc
2259 .PHONY: configure-build-flex maybe-configure-build-flex
2260 maybe-configure-build-flex:
2261 @if build-flex
2262 maybe-configure-build-flex: configure-build-flex
2263 configure-build-flex:
2264 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2265 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2266 r=`${PWD_COMMAND}`; export r; \
2267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2268 $(BUILD_EXPORTS) \
2269 echo Configuring in $(BUILD_SUBDIR)/flex; \
2270 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2271 case $(srcdir) in \
2272 /* | [A-Za-z]:[\\/]*) \
2273 topdir=$(srcdir) ;; \
2274 *) \
2275 case "$(BUILD_SUBDIR)" in \
2276 .) topdir="../$(srcdir)" ;; \
2277 *) topdir="../../$(srcdir)" ;; \
2278 esac ;; \
2279 esac; \
2280 if [ "$(srcdir)" = "." ] ; then \
2281 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2282 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2283 if [ -f Makefile ]; then \
2284 if $(MAKE) distclean; then \
2285 true; \
2286 else \
2287 exit 1; \
2288 fi; \
2289 else \
2290 true; \
2291 fi; \
2292 else \
2293 exit 1; \
2294 fi; \
2295 else \
2296 true; \
2297 fi; \
2298 srcdiroption="--srcdir=."; \
2299 libsrcdir="."; \
2300 else \
2301 srcdiroption="--srcdir=$${topdir}/flex"; \
2302 libsrcdir="$$s/flex"; \
2303 fi; \
2304 rm -f no-such-file || : ; \
2305 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2306 $(BUILD_CONFIGARGS) $${srcdiroption} \
2307 --with-build-subdir="$(BUILD_SUBDIR)" \
2308 || exit 1
2309 @endif build-flex
2311 .PHONY: all-build-flex maybe-all-build-flex
2312 maybe-all-build-flex:
2313 @if build-flex
2314 TARGET-build-flex=all
2315 maybe-all-build-flex: all-build-flex
2316 all-build-flex: configure-build-flex
2317 @r=`${PWD_COMMAND}`; export r; \
2318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2319 $(BUILD_EXPORTS) \
2320 (cd $(BUILD_SUBDIR)/flex && \
2321 $(MAKE) $(TARGET-build-flex))
2322 @endif build-flex
2324 .PHONY: configure-build-m4 maybe-configure-build-m4
2325 maybe-configure-build-m4:
2326 @if build-m4
2327 maybe-configure-build-m4: configure-build-m4
2328 configure-build-m4:
2329 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2330 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2331 r=`${PWD_COMMAND}`; export r; \
2332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2333 $(BUILD_EXPORTS) \
2334 echo Configuring in $(BUILD_SUBDIR)/m4; \
2335 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2336 case $(srcdir) in \
2337 /* | [A-Za-z]:[\\/]*) \
2338 topdir=$(srcdir) ;; \
2339 *) \
2340 case "$(BUILD_SUBDIR)" in \
2341 .) topdir="../$(srcdir)" ;; \
2342 *) topdir="../../$(srcdir)" ;; \
2343 esac ;; \
2344 esac; \
2345 if [ "$(srcdir)" = "." ] ; then \
2346 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2347 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2348 if [ -f Makefile ]; then \
2349 if $(MAKE) distclean; then \
2350 true; \
2351 else \
2352 exit 1; \
2353 fi; \
2354 else \
2355 true; \
2356 fi; \
2357 else \
2358 exit 1; \
2359 fi; \
2360 else \
2361 true; \
2362 fi; \
2363 srcdiroption="--srcdir=."; \
2364 libsrcdir="."; \
2365 else \
2366 srcdiroption="--srcdir=$${topdir}/m4"; \
2367 libsrcdir="$$s/m4"; \
2368 fi; \
2369 rm -f no-such-file || : ; \
2370 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2371 $(BUILD_CONFIGARGS) $${srcdiroption} \
2372 --with-build-subdir="$(BUILD_SUBDIR)" \
2373 || exit 1
2374 @endif build-m4
2376 .PHONY: all-build-m4 maybe-all-build-m4
2377 maybe-all-build-m4:
2378 @if build-m4
2379 TARGET-build-m4=all
2380 maybe-all-build-m4: all-build-m4
2381 all-build-m4: configure-build-m4
2382 @r=`${PWD_COMMAND}`; export r; \
2383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2384 $(BUILD_EXPORTS) \
2385 (cd $(BUILD_SUBDIR)/m4 && \
2386 $(MAKE) $(TARGET-build-m4))
2387 @endif build-m4
2389 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2390 maybe-configure-build-texinfo:
2391 @if build-texinfo
2392 maybe-configure-build-texinfo: configure-build-texinfo
2393 configure-build-texinfo:
2394 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2395 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2396 r=`${PWD_COMMAND}`; export r; \
2397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2398 $(BUILD_EXPORTS) \
2399 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2400 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2401 case $(srcdir) in \
2402 /* | [A-Za-z]:[\\/]*) \
2403 topdir=$(srcdir) ;; \
2404 *) \
2405 case "$(BUILD_SUBDIR)" in \
2406 .) topdir="../$(srcdir)" ;; \
2407 *) topdir="../../$(srcdir)" ;; \
2408 esac ;; \
2409 esac; \
2410 if [ "$(srcdir)" = "." ] ; then \
2411 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2412 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2413 if [ -f Makefile ]; then \
2414 if $(MAKE) distclean; then \
2415 true; \
2416 else \
2417 exit 1; \
2418 fi; \
2419 else \
2420 true; \
2421 fi; \
2422 else \
2423 exit 1; \
2424 fi; \
2425 else \
2426 true; \
2427 fi; \
2428 srcdiroption="--srcdir=."; \
2429 libsrcdir="."; \
2430 else \
2431 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2432 libsrcdir="$$s/texinfo"; \
2433 fi; \
2434 rm -f no-such-file || : ; \
2435 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2436 $(BUILD_CONFIGARGS) $${srcdiroption} \
2437 --with-build-subdir="$(BUILD_SUBDIR)" \
2438 || exit 1
2439 @endif build-texinfo
2441 .PHONY: all-build-texinfo maybe-all-build-texinfo
2442 maybe-all-build-texinfo:
2443 @if build-texinfo
2444 TARGET-build-texinfo=all
2445 maybe-all-build-texinfo: all-build-texinfo
2446 all-build-texinfo: configure-build-texinfo
2447 @r=`${PWD_COMMAND}`; export r; \
2448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2449 $(BUILD_EXPORTS) \
2450 (cd $(BUILD_SUBDIR)/texinfo && \
2451 $(MAKE) $(TARGET-build-texinfo))
2452 @endif build-texinfo
2454 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2455 maybe-configure-build-fixincludes:
2456 @if build-fixincludes
2457 maybe-configure-build-fixincludes: configure-build-fixincludes
2458 configure-build-fixincludes:
2459 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2460 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2461 r=`${PWD_COMMAND}`; export r; \
2462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2463 $(BUILD_EXPORTS) \
2464 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2465 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2466 case $(srcdir) in \
2467 /* | [A-Za-z]:[\\/]*) \
2468 topdir=$(srcdir) ;; \
2469 *) \
2470 case "$(BUILD_SUBDIR)" in \
2471 .) topdir="../$(srcdir)" ;; \
2472 *) topdir="../../$(srcdir)" ;; \
2473 esac ;; \
2474 esac; \
2475 if [ "$(srcdir)" = "." ] ; then \
2476 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2477 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2478 if [ -f Makefile ]; then \
2479 if $(MAKE) distclean; then \
2480 true; \
2481 else \
2482 exit 1; \
2483 fi; \
2484 else \
2485 true; \
2486 fi; \
2487 else \
2488 exit 1; \
2489 fi; \
2490 else \
2491 true; \
2492 fi; \
2493 srcdiroption="--srcdir=."; \
2494 libsrcdir="."; \
2495 else \
2496 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2497 libsrcdir="$$s/fixincludes"; \
2498 fi; \
2499 rm -f no-such-file || : ; \
2500 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2501 $(BUILD_CONFIGARGS) $${srcdiroption} \
2502 --with-build-subdir="$(BUILD_SUBDIR)" \
2503 || exit 1
2504 @endif build-fixincludes
2506 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2507 maybe-all-build-fixincludes:
2508 @if build-fixincludes
2509 TARGET-build-fixincludes=all
2510 maybe-all-build-fixincludes: all-build-fixincludes
2511 all-build-fixincludes: configure-build-fixincludes
2512 @r=`${PWD_COMMAND}`; export r; \
2513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2514 $(BUILD_EXPORTS) \
2515 (cd $(BUILD_SUBDIR)/fixincludes && \
2516 $(MAKE) $(TARGET-build-fixincludes))
2517 @endif build-fixincludes
2520 # --------------------------------------
2521 # Modules which run on the host machine
2522 # --------------------------------------
2524 .PHONY: configure-ash maybe-configure-ash
2525 maybe-configure-ash:
2526 @if ash
2527 maybe-configure-ash: configure-ash
2528 configure-ash:
2529 @test ! -f ash/Makefile || exit 0; \
2530 [ -d ash ] || mkdir ash; \
2531 r=`${PWD_COMMAND}`; export r; \
2532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2533 $(HOST_EXPORTS) \
2534 echo Configuring in ash; \
2535 cd ash || exit 1; \
2536 case $(srcdir) in \
2537 \.) \
2538 srcdiroption="--srcdir=."; \
2539 libsrcdir=".";; \
2540 /* | [A-Za-z]:[\\/]*) \
2541 srcdiroption="--srcdir=$(srcdir)/ash"; \
2542 libsrcdir="$$s/ash";; \
2543 *) \
2544 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2545 libsrcdir="$$s/ash";; \
2546 esac; \
2547 $(SHELL) $${libsrcdir}/configure \
2548 $(HOST_CONFIGARGS) $${srcdiroption} \
2549 || exit 1
2550 @endif ash
2552 .PHONY: all-ash maybe-all-ash
2553 maybe-all-ash:
2554 @if ash
2555 maybe-all-ash: all-ash
2556 all-ash: configure-ash
2557 @r=`${PWD_COMMAND}`; export r; \
2558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2559 $(SET_LIB_PATH) \
2560 $(HOST_EXPORTS) \
2561 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2562 @endif ash
2564 .PHONY: check-ash maybe-check-ash
2565 maybe-check-ash:
2566 @if ash
2567 maybe-check-ash: check-ash
2569 check-ash:
2570 @r=`${PWD_COMMAND}`; export r; \
2571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2572 $(SET_LIB_PATH) \
2573 $(HOST_EXPORTS) \
2574 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2576 @endif ash
2578 .PHONY: install-ash maybe-install-ash
2579 maybe-install-ash:
2580 @if ash
2581 maybe-install-ash: install-ash
2583 install-ash: installdirs
2584 @r=`${PWD_COMMAND}`; export r; \
2585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2586 $(SET_LIB_PATH) \
2587 $(HOST_EXPORTS) \
2588 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2590 @endif ash
2592 # Other targets (info, dvi, etc.)
2594 .PHONY: maybe-info-ash info-ash
2595 maybe-info-ash:
2596 @if ash
2597 maybe-info-ash: info-ash
2599 info-ash: \
2600 configure-ash
2601 @[ -f ./ash/Makefile ] || exit 0; \
2602 r=`${PWD_COMMAND}`; export r; \
2603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2604 $(SET_LIB_PATH) \
2605 $(HOST_EXPORTS) \
2606 for flag in $(EXTRA_HOST_FLAGS) ; do \
2607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2608 done; \
2609 echo "Doing info in ash" ; \
2610 (cd ash && \
2611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2613 "RANLIB=$${RANLIB}" \
2614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2615 info) \
2616 || exit 1
2618 @endif ash
2620 .PHONY: maybe-dvi-ash dvi-ash
2621 maybe-dvi-ash:
2622 @if ash
2623 maybe-dvi-ash: dvi-ash
2625 dvi-ash: \
2626 configure-ash
2627 @[ -f ./ash/Makefile ] || exit 0; \
2628 r=`${PWD_COMMAND}`; export r; \
2629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2630 $(SET_LIB_PATH) \
2631 $(HOST_EXPORTS) \
2632 for flag in $(EXTRA_HOST_FLAGS) ; do \
2633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2634 done; \
2635 echo "Doing dvi in ash" ; \
2636 (cd ash && \
2637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2639 "RANLIB=$${RANLIB}" \
2640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2641 dvi) \
2642 || exit 1
2644 @endif ash
2646 .PHONY: maybe-TAGS-ash TAGS-ash
2647 maybe-TAGS-ash:
2648 @if ash
2649 maybe-TAGS-ash: TAGS-ash
2651 TAGS-ash: \
2652 configure-ash
2653 @[ -f ./ash/Makefile ] || exit 0; \
2654 r=`${PWD_COMMAND}`; export r; \
2655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2656 $(SET_LIB_PATH) \
2657 $(HOST_EXPORTS) \
2658 for flag in $(EXTRA_HOST_FLAGS) ; do \
2659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2660 done; \
2661 echo "Doing TAGS in ash" ; \
2662 (cd ash && \
2663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2665 "RANLIB=$${RANLIB}" \
2666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2667 TAGS) \
2668 || exit 1
2670 @endif ash
2672 .PHONY: maybe-install-info-ash install-info-ash
2673 maybe-install-info-ash:
2674 @if ash
2675 maybe-install-info-ash: install-info-ash
2677 install-info-ash: \
2678 configure-ash \
2679 info-ash
2680 @[ -f ./ash/Makefile ] || exit 0; \
2681 r=`${PWD_COMMAND}`; export r; \
2682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2683 $(SET_LIB_PATH) \
2684 $(HOST_EXPORTS) \
2685 for flag in $(EXTRA_HOST_FLAGS) ; do \
2686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2687 done; \
2688 echo "Doing install-info in ash" ; \
2689 (cd ash && \
2690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2692 "RANLIB=$${RANLIB}" \
2693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2694 install-info) \
2695 || exit 1
2697 @endif ash
2699 .PHONY: maybe-installcheck-ash installcheck-ash
2700 maybe-installcheck-ash:
2701 @if ash
2702 maybe-installcheck-ash: installcheck-ash
2704 installcheck-ash: \
2705 configure-ash
2706 @[ -f ./ash/Makefile ] || exit 0; \
2707 r=`${PWD_COMMAND}`; export r; \
2708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2709 $(SET_LIB_PATH) \
2710 $(HOST_EXPORTS) \
2711 for flag in $(EXTRA_HOST_FLAGS) ; do \
2712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2713 done; \
2714 echo "Doing installcheck in ash" ; \
2715 (cd ash && \
2716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2718 "RANLIB=$${RANLIB}" \
2719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2720 installcheck) \
2721 || exit 1
2723 @endif ash
2725 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2726 maybe-mostlyclean-ash:
2727 @if ash
2728 maybe-mostlyclean-ash: mostlyclean-ash
2730 mostlyclean-ash:
2731 @[ -f ./ash/Makefile ] || exit 0; \
2732 r=`${PWD_COMMAND}`; export r; \
2733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2734 $(SET_LIB_PATH) \
2735 $(HOST_EXPORTS) \
2736 for flag in $(EXTRA_HOST_FLAGS) ; do \
2737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2738 done; \
2739 echo "Doing mostlyclean in ash" ; \
2740 (cd ash && \
2741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2743 "RANLIB=$${RANLIB}" \
2744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2745 mostlyclean) \
2746 || exit 1
2748 @endif ash
2750 .PHONY: maybe-clean-ash clean-ash
2751 maybe-clean-ash:
2752 @if ash
2753 maybe-clean-ash: clean-ash
2755 clean-ash:
2756 @[ -f ./ash/Makefile ] || exit 0; \
2757 r=`${PWD_COMMAND}`; export r; \
2758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2759 $(SET_LIB_PATH) \
2760 $(HOST_EXPORTS) \
2761 for flag in $(EXTRA_HOST_FLAGS) ; do \
2762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2763 done; \
2764 echo "Doing clean in ash" ; \
2765 (cd ash && \
2766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2768 "RANLIB=$${RANLIB}" \
2769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2770 clean) \
2771 || exit 1
2773 @endif ash
2775 .PHONY: maybe-distclean-ash distclean-ash
2776 maybe-distclean-ash:
2777 @if ash
2778 maybe-distclean-ash: distclean-ash
2780 distclean-ash:
2781 @[ -f ./ash/Makefile ] || exit 0; \
2782 r=`${PWD_COMMAND}`; export r; \
2783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2784 $(SET_LIB_PATH) \
2785 $(HOST_EXPORTS) \
2786 for flag in $(EXTRA_HOST_FLAGS) ; do \
2787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2788 done; \
2789 echo "Doing distclean in ash" ; \
2790 (cd ash && \
2791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2793 "RANLIB=$${RANLIB}" \
2794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2795 distclean) \
2796 || exit 1
2798 @endif ash
2800 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2801 maybe-maintainer-clean-ash:
2802 @if ash
2803 maybe-maintainer-clean-ash: maintainer-clean-ash
2805 maintainer-clean-ash:
2806 @[ -f ./ash/Makefile ] || exit 0; \
2807 r=`${PWD_COMMAND}`; export r; \
2808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2809 $(SET_LIB_PATH) \
2810 $(HOST_EXPORTS) \
2811 for flag in $(EXTRA_HOST_FLAGS) ; do \
2812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2813 done; \
2814 echo "Doing maintainer-clean in ash" ; \
2815 (cd ash && \
2816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2818 "RANLIB=$${RANLIB}" \
2819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2820 maintainer-clean) \
2821 || exit 1
2823 @endif ash
2826 .PHONY: configure-autoconf maybe-configure-autoconf
2827 maybe-configure-autoconf:
2828 @if autoconf
2829 maybe-configure-autoconf: configure-autoconf
2830 configure-autoconf:
2831 @test ! -f autoconf/Makefile || exit 0; \
2832 [ -d autoconf ] || mkdir autoconf; \
2833 r=`${PWD_COMMAND}`; export r; \
2834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2835 $(HOST_EXPORTS) \
2836 echo Configuring in autoconf; \
2837 cd autoconf || exit 1; \
2838 case $(srcdir) in \
2839 \.) \
2840 srcdiroption="--srcdir=."; \
2841 libsrcdir=".";; \
2842 /* | [A-Za-z]:[\\/]*) \
2843 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2844 libsrcdir="$$s/autoconf";; \
2845 *) \
2846 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2847 libsrcdir="$$s/autoconf";; \
2848 esac; \
2849 $(SHELL) $${libsrcdir}/configure \
2850 $(HOST_CONFIGARGS) $${srcdiroption} \
2851 || exit 1
2852 @endif autoconf
2854 .PHONY: all-autoconf maybe-all-autoconf
2855 maybe-all-autoconf:
2856 @if autoconf
2857 maybe-all-autoconf: all-autoconf
2858 all-autoconf: configure-autoconf
2859 @r=`${PWD_COMMAND}`; export r; \
2860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2861 $(SET_LIB_PATH) \
2862 $(HOST_EXPORTS) \
2863 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2864 @endif autoconf
2866 .PHONY: check-autoconf maybe-check-autoconf
2867 maybe-check-autoconf:
2868 @if autoconf
2869 maybe-check-autoconf: check-autoconf
2871 check-autoconf:
2872 @r=`${PWD_COMMAND}`; export r; \
2873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2874 $(SET_LIB_PATH) \
2875 $(HOST_EXPORTS) \
2876 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2878 @endif autoconf
2880 .PHONY: install-autoconf maybe-install-autoconf
2881 maybe-install-autoconf:
2882 @if autoconf
2883 maybe-install-autoconf: install-autoconf
2885 install-autoconf: installdirs
2886 @r=`${PWD_COMMAND}`; export r; \
2887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2888 $(SET_LIB_PATH) \
2889 $(HOST_EXPORTS) \
2890 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2892 @endif autoconf
2894 # Other targets (info, dvi, etc.)
2896 .PHONY: maybe-info-autoconf info-autoconf
2897 maybe-info-autoconf:
2898 @if autoconf
2899 maybe-info-autoconf: info-autoconf
2901 info-autoconf: \
2902 configure-autoconf
2903 @[ -f ./autoconf/Makefile ] || exit 0; \
2904 r=`${PWD_COMMAND}`; export r; \
2905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2906 $(SET_LIB_PATH) \
2907 $(HOST_EXPORTS) \
2908 for flag in $(EXTRA_HOST_FLAGS) ; do \
2909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2910 done; \
2911 echo "Doing info in autoconf" ; \
2912 (cd autoconf && \
2913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2915 "RANLIB=$${RANLIB}" \
2916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2917 info) \
2918 || exit 1
2920 @endif autoconf
2922 .PHONY: maybe-dvi-autoconf dvi-autoconf
2923 maybe-dvi-autoconf:
2924 @if autoconf
2925 maybe-dvi-autoconf: dvi-autoconf
2927 dvi-autoconf: \
2928 configure-autoconf
2929 @[ -f ./autoconf/Makefile ] || exit 0; \
2930 r=`${PWD_COMMAND}`; export r; \
2931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2932 $(SET_LIB_PATH) \
2933 $(HOST_EXPORTS) \
2934 for flag in $(EXTRA_HOST_FLAGS) ; do \
2935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2936 done; \
2937 echo "Doing dvi in autoconf" ; \
2938 (cd autoconf && \
2939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2941 "RANLIB=$${RANLIB}" \
2942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2943 dvi) \
2944 || exit 1
2946 @endif autoconf
2948 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2949 maybe-TAGS-autoconf:
2950 @if autoconf
2951 maybe-TAGS-autoconf: TAGS-autoconf
2953 TAGS-autoconf: \
2954 configure-autoconf
2955 @[ -f ./autoconf/Makefile ] || exit 0; \
2956 r=`${PWD_COMMAND}`; export r; \
2957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2958 $(SET_LIB_PATH) \
2959 $(HOST_EXPORTS) \
2960 for flag in $(EXTRA_HOST_FLAGS) ; do \
2961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2962 done; \
2963 echo "Doing TAGS in autoconf" ; \
2964 (cd autoconf && \
2965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2967 "RANLIB=$${RANLIB}" \
2968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2969 TAGS) \
2970 || exit 1
2972 @endif autoconf
2974 .PHONY: maybe-install-info-autoconf install-info-autoconf
2975 maybe-install-info-autoconf:
2976 @if autoconf
2977 maybe-install-info-autoconf: install-info-autoconf
2979 install-info-autoconf: \
2980 configure-autoconf \
2981 info-autoconf
2982 @[ -f ./autoconf/Makefile ] || exit 0; \
2983 r=`${PWD_COMMAND}`; export r; \
2984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2985 $(SET_LIB_PATH) \
2986 $(HOST_EXPORTS) \
2987 for flag in $(EXTRA_HOST_FLAGS) ; do \
2988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2989 done; \
2990 echo "Doing install-info in autoconf" ; \
2991 (cd autoconf && \
2992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2994 "RANLIB=$${RANLIB}" \
2995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2996 install-info) \
2997 || exit 1
2999 @endif autoconf
3001 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3002 maybe-installcheck-autoconf:
3003 @if autoconf
3004 maybe-installcheck-autoconf: installcheck-autoconf
3006 installcheck-autoconf: \
3007 configure-autoconf
3008 @[ -f ./autoconf/Makefile ] || exit 0; \
3009 r=`${PWD_COMMAND}`; export r; \
3010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3011 $(SET_LIB_PATH) \
3012 $(HOST_EXPORTS) \
3013 for flag in $(EXTRA_HOST_FLAGS) ; do \
3014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3015 done; \
3016 echo "Doing installcheck in autoconf" ; \
3017 (cd autoconf && \
3018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3020 "RANLIB=$${RANLIB}" \
3021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3022 installcheck) \
3023 || exit 1
3025 @endif autoconf
3027 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3028 maybe-mostlyclean-autoconf:
3029 @if autoconf
3030 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3032 mostlyclean-autoconf:
3033 @[ -f ./autoconf/Makefile ] || exit 0; \
3034 r=`${PWD_COMMAND}`; export r; \
3035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3036 $(SET_LIB_PATH) \
3037 $(HOST_EXPORTS) \
3038 for flag in $(EXTRA_HOST_FLAGS) ; do \
3039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3040 done; \
3041 echo "Doing mostlyclean in autoconf" ; \
3042 (cd autoconf && \
3043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3045 "RANLIB=$${RANLIB}" \
3046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3047 mostlyclean) \
3048 || exit 1
3050 @endif autoconf
3052 .PHONY: maybe-clean-autoconf clean-autoconf
3053 maybe-clean-autoconf:
3054 @if autoconf
3055 maybe-clean-autoconf: clean-autoconf
3057 clean-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 clean 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 clean) \
3073 || exit 1
3075 @endif autoconf
3077 .PHONY: maybe-distclean-autoconf distclean-autoconf
3078 maybe-distclean-autoconf:
3079 @if autoconf
3080 maybe-distclean-autoconf: distclean-autoconf
3082 distclean-autoconf:
3083 @[ -f ./autoconf/Makefile ] || exit 0; \
3084 r=`${PWD_COMMAND}`; export r; \
3085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3086 $(SET_LIB_PATH) \
3087 $(HOST_EXPORTS) \
3088 for flag in $(EXTRA_HOST_FLAGS) ; do \
3089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3090 done; \
3091 echo "Doing distclean in autoconf" ; \
3092 (cd autoconf && \
3093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3095 "RANLIB=$${RANLIB}" \
3096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3097 distclean) \
3098 || exit 1
3100 @endif autoconf
3102 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3103 maybe-maintainer-clean-autoconf:
3104 @if autoconf
3105 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3107 maintainer-clean-autoconf:
3108 @[ -f ./autoconf/Makefile ] || exit 0; \
3109 r=`${PWD_COMMAND}`; export r; \
3110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3111 $(SET_LIB_PATH) \
3112 $(HOST_EXPORTS) \
3113 for flag in $(EXTRA_HOST_FLAGS) ; do \
3114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3115 done; \
3116 echo "Doing maintainer-clean in autoconf" ; \
3117 (cd autoconf && \
3118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3120 "RANLIB=$${RANLIB}" \
3121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3122 maintainer-clean) \
3123 || exit 1
3125 @endif autoconf
3128 .PHONY: configure-automake maybe-configure-automake
3129 maybe-configure-automake:
3130 @if automake
3131 maybe-configure-automake: configure-automake
3132 configure-automake:
3133 @test ! -f automake/Makefile || exit 0; \
3134 [ -d automake ] || mkdir automake; \
3135 r=`${PWD_COMMAND}`; export r; \
3136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3137 $(HOST_EXPORTS) \
3138 echo Configuring in automake; \
3139 cd automake || exit 1; \
3140 case $(srcdir) in \
3141 \.) \
3142 srcdiroption="--srcdir=."; \
3143 libsrcdir=".";; \
3144 /* | [A-Za-z]:[\\/]*) \
3145 srcdiroption="--srcdir=$(srcdir)/automake"; \
3146 libsrcdir="$$s/automake";; \
3147 *) \
3148 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3149 libsrcdir="$$s/automake";; \
3150 esac; \
3151 $(SHELL) $${libsrcdir}/configure \
3152 $(HOST_CONFIGARGS) $${srcdiroption} \
3153 || exit 1
3154 @endif automake
3156 .PHONY: all-automake maybe-all-automake
3157 maybe-all-automake:
3158 @if automake
3159 maybe-all-automake: all-automake
3160 all-automake: configure-automake
3161 @r=`${PWD_COMMAND}`; export r; \
3162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3163 $(SET_LIB_PATH) \
3164 $(HOST_EXPORTS) \
3165 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
3166 @endif automake
3168 .PHONY: check-automake maybe-check-automake
3169 maybe-check-automake:
3170 @if automake
3171 maybe-check-automake: check-automake
3173 check-automake:
3174 @r=`${PWD_COMMAND}`; export r; \
3175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3176 $(SET_LIB_PATH) \
3177 $(HOST_EXPORTS) \
3178 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3180 @endif automake
3182 .PHONY: install-automake maybe-install-automake
3183 maybe-install-automake:
3184 @if automake
3185 maybe-install-automake: install-automake
3187 install-automake: installdirs
3188 @r=`${PWD_COMMAND}`; export r; \
3189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3190 $(SET_LIB_PATH) \
3191 $(HOST_EXPORTS) \
3192 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3194 @endif automake
3196 # Other targets (info, dvi, etc.)
3198 .PHONY: maybe-info-automake info-automake
3199 maybe-info-automake:
3200 @if automake
3201 maybe-info-automake: info-automake
3203 info-automake: \
3204 configure-automake
3205 @[ -f ./automake/Makefile ] || exit 0; \
3206 r=`${PWD_COMMAND}`; export r; \
3207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3208 $(SET_LIB_PATH) \
3209 $(HOST_EXPORTS) \
3210 for flag in $(EXTRA_HOST_FLAGS) ; do \
3211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3212 done; \
3213 echo "Doing info in automake" ; \
3214 (cd automake && \
3215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3217 "RANLIB=$${RANLIB}" \
3218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3219 info) \
3220 || exit 1
3222 @endif automake
3224 .PHONY: maybe-dvi-automake dvi-automake
3225 maybe-dvi-automake:
3226 @if automake
3227 maybe-dvi-automake: dvi-automake
3229 dvi-automake: \
3230 configure-automake
3231 @[ -f ./automake/Makefile ] || exit 0; \
3232 r=`${PWD_COMMAND}`; export r; \
3233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3234 $(SET_LIB_PATH) \
3235 $(HOST_EXPORTS) \
3236 for flag in $(EXTRA_HOST_FLAGS) ; do \
3237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3238 done; \
3239 echo "Doing dvi in automake" ; \
3240 (cd automake && \
3241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3243 "RANLIB=$${RANLIB}" \
3244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3245 dvi) \
3246 || exit 1
3248 @endif automake
3250 .PHONY: maybe-TAGS-automake TAGS-automake
3251 maybe-TAGS-automake:
3252 @if automake
3253 maybe-TAGS-automake: TAGS-automake
3255 TAGS-automake: \
3256 configure-automake
3257 @[ -f ./automake/Makefile ] || exit 0; \
3258 r=`${PWD_COMMAND}`; export r; \
3259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3260 $(SET_LIB_PATH) \
3261 $(HOST_EXPORTS) \
3262 for flag in $(EXTRA_HOST_FLAGS) ; do \
3263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3264 done; \
3265 echo "Doing TAGS in automake" ; \
3266 (cd automake && \
3267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3269 "RANLIB=$${RANLIB}" \
3270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3271 TAGS) \
3272 || exit 1
3274 @endif automake
3276 .PHONY: maybe-install-info-automake install-info-automake
3277 maybe-install-info-automake:
3278 @if automake
3279 maybe-install-info-automake: install-info-automake
3281 install-info-automake: \
3282 configure-automake \
3283 info-automake
3284 @[ -f ./automake/Makefile ] || exit 0; \
3285 r=`${PWD_COMMAND}`; export r; \
3286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3287 $(SET_LIB_PATH) \
3288 $(HOST_EXPORTS) \
3289 for flag in $(EXTRA_HOST_FLAGS) ; do \
3290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3291 done; \
3292 echo "Doing install-info in automake" ; \
3293 (cd automake && \
3294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3296 "RANLIB=$${RANLIB}" \
3297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3298 install-info) \
3299 || exit 1
3301 @endif automake
3303 .PHONY: maybe-installcheck-automake installcheck-automake
3304 maybe-installcheck-automake:
3305 @if automake
3306 maybe-installcheck-automake: installcheck-automake
3308 installcheck-automake: \
3309 configure-automake
3310 @[ -f ./automake/Makefile ] || exit 0; \
3311 r=`${PWD_COMMAND}`; export r; \
3312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3313 $(SET_LIB_PATH) \
3314 $(HOST_EXPORTS) \
3315 for flag in $(EXTRA_HOST_FLAGS) ; do \
3316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3317 done; \
3318 echo "Doing installcheck in automake" ; \
3319 (cd automake && \
3320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3322 "RANLIB=$${RANLIB}" \
3323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3324 installcheck) \
3325 || exit 1
3327 @endif automake
3329 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3330 maybe-mostlyclean-automake:
3331 @if automake
3332 maybe-mostlyclean-automake: mostlyclean-automake
3334 mostlyclean-automake:
3335 @[ -f ./automake/Makefile ] || exit 0; \
3336 r=`${PWD_COMMAND}`; export r; \
3337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3338 $(SET_LIB_PATH) \
3339 $(HOST_EXPORTS) \
3340 for flag in $(EXTRA_HOST_FLAGS) ; do \
3341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3342 done; \
3343 echo "Doing mostlyclean in automake" ; \
3344 (cd automake && \
3345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3347 "RANLIB=$${RANLIB}" \
3348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3349 mostlyclean) \
3350 || exit 1
3352 @endif automake
3354 .PHONY: maybe-clean-automake clean-automake
3355 maybe-clean-automake:
3356 @if automake
3357 maybe-clean-automake: clean-automake
3359 clean-automake:
3360 @[ -f ./automake/Makefile ] || exit 0; \
3361 r=`${PWD_COMMAND}`; export r; \
3362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3363 $(SET_LIB_PATH) \
3364 $(HOST_EXPORTS) \
3365 for flag in $(EXTRA_HOST_FLAGS) ; do \
3366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3367 done; \
3368 echo "Doing clean in automake" ; \
3369 (cd automake && \
3370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3372 "RANLIB=$${RANLIB}" \
3373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3374 clean) \
3375 || exit 1
3377 @endif automake
3379 .PHONY: maybe-distclean-automake distclean-automake
3380 maybe-distclean-automake:
3381 @if automake
3382 maybe-distclean-automake: distclean-automake
3384 distclean-automake:
3385 @[ -f ./automake/Makefile ] || exit 0; \
3386 r=`${PWD_COMMAND}`; export r; \
3387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3388 $(SET_LIB_PATH) \
3389 $(HOST_EXPORTS) \
3390 for flag in $(EXTRA_HOST_FLAGS) ; do \
3391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3392 done; \
3393 echo "Doing distclean in automake" ; \
3394 (cd automake && \
3395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3397 "RANLIB=$${RANLIB}" \
3398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3399 distclean) \
3400 || exit 1
3402 @endif automake
3404 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3405 maybe-maintainer-clean-automake:
3406 @if automake
3407 maybe-maintainer-clean-automake: maintainer-clean-automake
3409 maintainer-clean-automake:
3410 @[ -f ./automake/Makefile ] || exit 0; \
3411 r=`${PWD_COMMAND}`; export r; \
3412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3413 $(SET_LIB_PATH) \
3414 $(HOST_EXPORTS) \
3415 for flag in $(EXTRA_HOST_FLAGS) ; do \
3416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3417 done; \
3418 echo "Doing maintainer-clean in automake" ; \
3419 (cd automake && \
3420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3422 "RANLIB=$${RANLIB}" \
3423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3424 maintainer-clean) \
3425 || exit 1
3427 @endif automake
3430 .PHONY: configure-bash maybe-configure-bash
3431 maybe-configure-bash:
3432 @if bash
3433 maybe-configure-bash: configure-bash
3434 configure-bash:
3435 @test ! -f bash/Makefile || exit 0; \
3436 [ -d bash ] || mkdir bash; \
3437 r=`${PWD_COMMAND}`; export r; \
3438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3439 $(HOST_EXPORTS) \
3440 echo Configuring in bash; \
3441 cd bash || exit 1; \
3442 case $(srcdir) in \
3443 \.) \
3444 srcdiroption="--srcdir=."; \
3445 libsrcdir=".";; \
3446 /* | [A-Za-z]:[\\/]*) \
3447 srcdiroption="--srcdir=$(srcdir)/bash"; \
3448 libsrcdir="$$s/bash";; \
3449 *) \
3450 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3451 libsrcdir="$$s/bash";; \
3452 esac; \
3453 $(SHELL) $${libsrcdir}/configure \
3454 $(HOST_CONFIGARGS) $${srcdiroption} \
3455 || exit 1
3456 @endif bash
3458 .PHONY: all-bash maybe-all-bash
3459 maybe-all-bash:
3460 @if bash
3461 maybe-all-bash: all-bash
3462 all-bash: configure-bash
3463 @r=`${PWD_COMMAND}`; export r; \
3464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3465 $(SET_LIB_PATH) \
3466 $(HOST_EXPORTS) \
3467 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3468 @endif bash
3470 .PHONY: check-bash maybe-check-bash
3471 maybe-check-bash:
3472 @if bash
3473 maybe-check-bash: check-bash
3475 check-bash:
3476 @r=`${PWD_COMMAND}`; export r; \
3477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3478 $(SET_LIB_PATH) \
3479 $(HOST_EXPORTS) \
3480 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3482 @endif bash
3484 .PHONY: install-bash maybe-install-bash
3485 maybe-install-bash:
3486 @if bash
3487 maybe-install-bash: install-bash
3489 install-bash: installdirs
3490 @r=`${PWD_COMMAND}`; export r; \
3491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3492 $(SET_LIB_PATH) \
3493 $(HOST_EXPORTS) \
3494 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3496 @endif bash
3498 # Other targets (info, dvi, etc.)
3500 .PHONY: maybe-info-bash info-bash
3501 maybe-info-bash:
3502 @if bash
3503 maybe-info-bash: info-bash
3505 info-bash: \
3506 configure-bash
3507 @[ -f ./bash/Makefile ] || exit 0; \
3508 r=`${PWD_COMMAND}`; export r; \
3509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3510 $(SET_LIB_PATH) \
3511 $(HOST_EXPORTS) \
3512 for flag in $(EXTRA_HOST_FLAGS) ; do \
3513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3514 done; \
3515 echo "Doing info in bash" ; \
3516 (cd bash && \
3517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3519 "RANLIB=$${RANLIB}" \
3520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3521 info) \
3522 || exit 1
3524 @endif bash
3526 .PHONY: maybe-dvi-bash dvi-bash
3527 maybe-dvi-bash:
3528 @if bash
3529 maybe-dvi-bash: dvi-bash
3531 dvi-bash: \
3532 configure-bash
3533 @[ -f ./bash/Makefile ] || exit 0; \
3534 r=`${PWD_COMMAND}`; export r; \
3535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3536 $(SET_LIB_PATH) \
3537 $(HOST_EXPORTS) \
3538 for flag in $(EXTRA_HOST_FLAGS) ; do \
3539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3540 done; \
3541 echo "Doing dvi in bash" ; \
3542 (cd bash && \
3543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3545 "RANLIB=$${RANLIB}" \
3546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3547 dvi) \
3548 || exit 1
3550 @endif bash
3552 .PHONY: maybe-TAGS-bash TAGS-bash
3553 maybe-TAGS-bash:
3554 @if bash
3555 maybe-TAGS-bash: TAGS-bash
3557 TAGS-bash: \
3558 configure-bash
3559 @[ -f ./bash/Makefile ] || exit 0; \
3560 r=`${PWD_COMMAND}`; export r; \
3561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3562 $(SET_LIB_PATH) \
3563 $(HOST_EXPORTS) \
3564 for flag in $(EXTRA_HOST_FLAGS) ; do \
3565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3566 done; \
3567 echo "Doing TAGS in bash" ; \
3568 (cd bash && \
3569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3571 "RANLIB=$${RANLIB}" \
3572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3573 TAGS) \
3574 || exit 1
3576 @endif bash
3578 .PHONY: maybe-install-info-bash install-info-bash
3579 maybe-install-info-bash:
3580 @if bash
3581 maybe-install-info-bash: install-info-bash
3583 install-info-bash: \
3584 configure-bash \
3585 info-bash
3586 @[ -f ./bash/Makefile ] || exit 0; \
3587 r=`${PWD_COMMAND}`; export r; \
3588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3589 $(SET_LIB_PATH) \
3590 $(HOST_EXPORTS) \
3591 for flag in $(EXTRA_HOST_FLAGS) ; do \
3592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3593 done; \
3594 echo "Doing install-info in bash" ; \
3595 (cd bash && \
3596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3598 "RANLIB=$${RANLIB}" \
3599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3600 install-info) \
3601 || exit 1
3603 @endif bash
3605 .PHONY: maybe-installcheck-bash installcheck-bash
3606 maybe-installcheck-bash:
3607 @if bash
3608 maybe-installcheck-bash: installcheck-bash
3610 installcheck-bash: \
3611 configure-bash
3612 @[ -f ./bash/Makefile ] || exit 0; \
3613 r=`${PWD_COMMAND}`; export r; \
3614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3615 $(SET_LIB_PATH) \
3616 $(HOST_EXPORTS) \
3617 for flag in $(EXTRA_HOST_FLAGS) ; do \
3618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3619 done; \
3620 echo "Doing installcheck in bash" ; \
3621 (cd bash && \
3622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3624 "RANLIB=$${RANLIB}" \
3625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3626 installcheck) \
3627 || exit 1
3629 @endif bash
3631 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3632 maybe-mostlyclean-bash:
3633 @if bash
3634 maybe-mostlyclean-bash: mostlyclean-bash
3636 mostlyclean-bash:
3637 @[ -f ./bash/Makefile ] || exit 0; \
3638 r=`${PWD_COMMAND}`; export r; \
3639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3640 $(SET_LIB_PATH) \
3641 $(HOST_EXPORTS) \
3642 for flag in $(EXTRA_HOST_FLAGS) ; do \
3643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3644 done; \
3645 echo "Doing mostlyclean in bash" ; \
3646 (cd bash && \
3647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3649 "RANLIB=$${RANLIB}" \
3650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3651 mostlyclean) \
3652 || exit 1
3654 @endif bash
3656 .PHONY: maybe-clean-bash clean-bash
3657 maybe-clean-bash:
3658 @if bash
3659 maybe-clean-bash: clean-bash
3661 clean-bash:
3662 @[ -f ./bash/Makefile ] || exit 0; \
3663 r=`${PWD_COMMAND}`; export r; \
3664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3665 $(SET_LIB_PATH) \
3666 $(HOST_EXPORTS) \
3667 for flag in $(EXTRA_HOST_FLAGS) ; do \
3668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3669 done; \
3670 echo "Doing clean in bash" ; \
3671 (cd bash && \
3672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3674 "RANLIB=$${RANLIB}" \
3675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3676 clean) \
3677 || exit 1
3679 @endif bash
3681 .PHONY: maybe-distclean-bash distclean-bash
3682 maybe-distclean-bash:
3683 @if bash
3684 maybe-distclean-bash: distclean-bash
3686 distclean-bash:
3687 @[ -f ./bash/Makefile ] || exit 0; \
3688 r=`${PWD_COMMAND}`; export r; \
3689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3690 $(SET_LIB_PATH) \
3691 $(HOST_EXPORTS) \
3692 for flag in $(EXTRA_HOST_FLAGS) ; do \
3693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3694 done; \
3695 echo "Doing distclean in bash" ; \
3696 (cd bash && \
3697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3699 "RANLIB=$${RANLIB}" \
3700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3701 distclean) \
3702 || exit 1
3704 @endif bash
3706 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3707 maybe-maintainer-clean-bash:
3708 @if bash
3709 maybe-maintainer-clean-bash: maintainer-clean-bash
3711 maintainer-clean-bash:
3712 @[ -f ./bash/Makefile ] || exit 0; \
3713 r=`${PWD_COMMAND}`; export r; \
3714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3715 $(SET_LIB_PATH) \
3716 $(HOST_EXPORTS) \
3717 for flag in $(EXTRA_HOST_FLAGS) ; do \
3718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3719 done; \
3720 echo "Doing maintainer-clean in bash" ; \
3721 (cd bash && \
3722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3724 "RANLIB=$${RANLIB}" \
3725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3726 maintainer-clean) \
3727 || exit 1
3729 @endif bash
3732 .PHONY: configure-bfd maybe-configure-bfd
3733 maybe-configure-bfd:
3734 @if bfd
3735 maybe-configure-bfd: configure-bfd
3736 configure-bfd:
3737 @test -f stage_last && exit 0; \
3738 test ! -f bfd/Makefile || exit 0; \
3739 [ -d bfd ] || mkdir bfd; \
3740 r=`${PWD_COMMAND}`; export r; \
3741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3742 $(HOST_EXPORTS) \
3743 echo Configuring in bfd; \
3744 cd bfd || exit 1; \
3745 case $(srcdir) in \
3746 \.) \
3747 srcdiroption="--srcdir=."; \
3748 libsrcdir=".";; \
3749 /* | [A-Za-z]:[\\/]*) \
3750 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3751 libsrcdir="$$s/bfd";; \
3752 *) \
3753 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3754 libsrcdir="$$s/bfd";; \
3755 esac; \
3756 $(SHELL) $${libsrcdir}/configure \
3757 $(HOST_CONFIGARGS) $${srcdiroption} \
3758 || exit 1
3759 @endif bfd
3761 .PHONY: all-bfd maybe-all-bfd
3762 maybe-all-bfd:
3763 @if bfd
3764 maybe-all-bfd: all-bfd
3765 all-bfd: configure-bfd
3766 @test -f stage_last && exit 0; \
3767 r=`${PWD_COMMAND}`; export r; \
3768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3769 $(SET_LIB_PATH) \
3770 $(HOST_EXPORTS) \
3771 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3772 @endif bfd
3774 .PHONY: check-bfd maybe-check-bfd
3775 maybe-check-bfd:
3776 @if bfd
3777 maybe-check-bfd: check-bfd
3779 check-bfd:
3780 @r=`${PWD_COMMAND}`; export r; \
3781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3782 $(SET_LIB_PATH) \
3783 $(HOST_EXPORTS) \
3784 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3786 @endif bfd
3788 .PHONY: install-bfd maybe-install-bfd
3789 maybe-install-bfd:
3790 @if bfd
3791 maybe-install-bfd: install-bfd
3793 install-bfd: installdirs
3794 @r=`${PWD_COMMAND}`; export r; \
3795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3796 $(SET_LIB_PATH) \
3797 $(HOST_EXPORTS) \
3798 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3800 @endif bfd
3802 # Other targets (info, dvi, etc.)
3804 .PHONY: maybe-info-bfd info-bfd
3805 maybe-info-bfd:
3806 @if bfd
3807 maybe-info-bfd: info-bfd
3809 info-bfd: \
3810 configure-bfd
3811 @[ -f ./bfd/Makefile ] || exit 0; \
3812 r=`${PWD_COMMAND}`; export r; \
3813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3814 $(SET_LIB_PATH) \
3815 $(HOST_EXPORTS) \
3816 for flag in $(EXTRA_HOST_FLAGS) ; do \
3817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3818 done; \
3819 echo "Doing info in bfd" ; \
3820 (cd bfd && \
3821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3823 "RANLIB=$${RANLIB}" \
3824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3825 info) \
3826 || exit 1
3828 @endif bfd
3830 .PHONY: maybe-dvi-bfd dvi-bfd
3831 maybe-dvi-bfd:
3832 @if bfd
3833 maybe-dvi-bfd: dvi-bfd
3835 dvi-bfd: \
3836 configure-bfd
3837 @[ -f ./bfd/Makefile ] || exit 0; \
3838 r=`${PWD_COMMAND}`; export r; \
3839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3840 $(SET_LIB_PATH) \
3841 $(HOST_EXPORTS) \
3842 for flag in $(EXTRA_HOST_FLAGS) ; do \
3843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3844 done; \
3845 echo "Doing dvi in bfd" ; \
3846 (cd bfd && \
3847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3849 "RANLIB=$${RANLIB}" \
3850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3851 dvi) \
3852 || exit 1
3854 @endif bfd
3856 .PHONY: maybe-TAGS-bfd TAGS-bfd
3857 maybe-TAGS-bfd:
3858 @if bfd
3859 maybe-TAGS-bfd: TAGS-bfd
3861 TAGS-bfd: \
3862 configure-bfd
3863 @[ -f ./bfd/Makefile ] || exit 0; \
3864 r=`${PWD_COMMAND}`; export r; \
3865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3866 $(SET_LIB_PATH) \
3867 $(HOST_EXPORTS) \
3868 for flag in $(EXTRA_HOST_FLAGS) ; do \
3869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3870 done; \
3871 echo "Doing TAGS in bfd" ; \
3872 (cd bfd && \
3873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3875 "RANLIB=$${RANLIB}" \
3876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3877 TAGS) \
3878 || exit 1
3880 @endif bfd
3882 .PHONY: maybe-install-info-bfd install-info-bfd
3883 maybe-install-info-bfd:
3884 @if bfd
3885 maybe-install-info-bfd: install-info-bfd
3887 install-info-bfd: \
3888 configure-bfd \
3889 info-bfd
3890 @[ -f ./bfd/Makefile ] || exit 0; \
3891 r=`${PWD_COMMAND}`; export r; \
3892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3893 $(SET_LIB_PATH) \
3894 $(HOST_EXPORTS) \
3895 for flag in $(EXTRA_HOST_FLAGS) ; do \
3896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3897 done; \
3898 echo "Doing install-info in bfd" ; \
3899 (cd bfd && \
3900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3902 "RANLIB=$${RANLIB}" \
3903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3904 install-info) \
3905 || exit 1
3907 @endif bfd
3909 .PHONY: maybe-installcheck-bfd installcheck-bfd
3910 maybe-installcheck-bfd:
3911 @if bfd
3912 maybe-installcheck-bfd: installcheck-bfd
3914 installcheck-bfd: \
3915 configure-bfd
3916 @[ -f ./bfd/Makefile ] || exit 0; \
3917 r=`${PWD_COMMAND}`; export r; \
3918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3919 $(SET_LIB_PATH) \
3920 $(HOST_EXPORTS) \
3921 for flag in $(EXTRA_HOST_FLAGS) ; do \
3922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3923 done; \
3924 echo "Doing installcheck in bfd" ; \
3925 (cd bfd && \
3926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3928 "RANLIB=$${RANLIB}" \
3929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3930 installcheck) \
3931 || exit 1
3933 @endif bfd
3935 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3936 maybe-mostlyclean-bfd:
3937 @if bfd
3938 maybe-mostlyclean-bfd: mostlyclean-bfd
3940 mostlyclean-bfd:
3941 @[ -f ./bfd/Makefile ] || exit 0; \
3942 r=`${PWD_COMMAND}`; export r; \
3943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3944 $(SET_LIB_PATH) \
3945 $(HOST_EXPORTS) \
3946 for flag in $(EXTRA_HOST_FLAGS) ; do \
3947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3948 done; \
3949 echo "Doing mostlyclean in bfd" ; \
3950 (cd bfd && \
3951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3953 "RANLIB=$${RANLIB}" \
3954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3955 mostlyclean) \
3956 || exit 1
3958 @endif bfd
3960 .PHONY: maybe-clean-bfd clean-bfd
3961 maybe-clean-bfd:
3962 @if bfd
3963 maybe-clean-bfd: clean-bfd
3965 clean-bfd:
3966 @[ -f ./bfd/Makefile ] || exit 0; \
3967 r=`${PWD_COMMAND}`; export r; \
3968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3969 $(SET_LIB_PATH) \
3970 $(HOST_EXPORTS) \
3971 for flag in $(EXTRA_HOST_FLAGS) ; do \
3972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3973 done; \
3974 echo "Doing clean in bfd" ; \
3975 (cd bfd && \
3976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3978 "RANLIB=$${RANLIB}" \
3979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3980 clean) \
3981 || exit 1
3983 @endif bfd
3985 .PHONY: maybe-distclean-bfd distclean-bfd
3986 maybe-distclean-bfd:
3987 @if bfd
3988 maybe-distclean-bfd: distclean-bfd
3990 distclean-bfd:
3991 @[ -f ./bfd/Makefile ] || exit 0; \
3992 r=`${PWD_COMMAND}`; export r; \
3993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3994 $(SET_LIB_PATH) \
3995 $(HOST_EXPORTS) \
3996 for flag in $(EXTRA_HOST_FLAGS) ; do \
3997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3998 done; \
3999 echo "Doing distclean in bfd" ; \
4000 (cd bfd && \
4001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4003 "RANLIB=$${RANLIB}" \
4004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4005 distclean) \
4006 || exit 1
4008 @endif bfd
4010 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4011 maybe-maintainer-clean-bfd:
4012 @if bfd
4013 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4015 maintainer-clean-bfd:
4016 @[ -f ./bfd/Makefile ] || exit 0; \
4017 r=`${PWD_COMMAND}`; export r; \
4018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4019 $(SET_LIB_PATH) \
4020 $(HOST_EXPORTS) \
4021 for flag in $(EXTRA_HOST_FLAGS) ; do \
4022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4023 done; \
4024 echo "Doing maintainer-clean in bfd" ; \
4025 (cd bfd && \
4026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4028 "RANLIB=$${RANLIB}" \
4029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4030 maintainer-clean) \
4031 || exit 1
4033 @endif bfd
4036 .PHONY: configure-opcodes maybe-configure-opcodes
4037 maybe-configure-opcodes:
4038 @if opcodes
4039 maybe-configure-opcodes: configure-opcodes
4040 configure-opcodes:
4041 @test -f stage_last && exit 0; \
4042 test ! -f opcodes/Makefile || exit 0; \
4043 [ -d opcodes ] || mkdir opcodes; \
4044 r=`${PWD_COMMAND}`; export r; \
4045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4046 $(HOST_EXPORTS) \
4047 echo Configuring in opcodes; \
4048 cd opcodes || exit 1; \
4049 case $(srcdir) in \
4050 \.) \
4051 srcdiroption="--srcdir=."; \
4052 libsrcdir=".";; \
4053 /* | [A-Za-z]:[\\/]*) \
4054 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4055 libsrcdir="$$s/opcodes";; \
4056 *) \
4057 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4058 libsrcdir="$$s/opcodes";; \
4059 esac; \
4060 $(SHELL) $${libsrcdir}/configure \
4061 $(HOST_CONFIGARGS) $${srcdiroption} \
4062 || exit 1
4063 @endif opcodes
4065 .PHONY: all-opcodes maybe-all-opcodes
4066 maybe-all-opcodes:
4067 @if opcodes
4068 maybe-all-opcodes: all-opcodes
4069 all-opcodes: configure-opcodes
4070 @test -f stage_last && exit 0; \
4071 r=`${PWD_COMMAND}`; export r; \
4072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4073 $(SET_LIB_PATH) \
4074 $(HOST_EXPORTS) \
4075 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
4076 @endif opcodes
4078 .PHONY: check-opcodes maybe-check-opcodes
4079 maybe-check-opcodes:
4080 @if opcodes
4081 maybe-check-opcodes: check-opcodes
4083 check-opcodes:
4084 @r=`${PWD_COMMAND}`; export r; \
4085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4086 $(SET_LIB_PATH) \
4087 $(HOST_EXPORTS) \
4088 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4090 @endif opcodes
4092 .PHONY: install-opcodes maybe-install-opcodes
4093 maybe-install-opcodes:
4094 @if opcodes
4095 maybe-install-opcodes: install-opcodes
4097 install-opcodes: installdirs
4098 @r=`${PWD_COMMAND}`; export r; \
4099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4100 $(SET_LIB_PATH) \
4101 $(HOST_EXPORTS) \
4102 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4104 @endif opcodes
4106 # Other targets (info, dvi, etc.)
4108 .PHONY: maybe-info-opcodes info-opcodes
4109 maybe-info-opcodes:
4110 @if opcodes
4111 maybe-info-opcodes: info-opcodes
4113 info-opcodes: \
4114 configure-opcodes
4115 @[ -f ./opcodes/Makefile ] || exit 0; \
4116 r=`${PWD_COMMAND}`; export r; \
4117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4118 $(SET_LIB_PATH) \
4119 $(HOST_EXPORTS) \
4120 for flag in $(EXTRA_HOST_FLAGS) ; do \
4121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4122 done; \
4123 echo "Doing info in opcodes" ; \
4124 (cd opcodes && \
4125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4127 "RANLIB=$${RANLIB}" \
4128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4129 info) \
4130 || exit 1
4132 @endif opcodes
4134 .PHONY: maybe-dvi-opcodes dvi-opcodes
4135 maybe-dvi-opcodes:
4136 @if opcodes
4137 maybe-dvi-opcodes: dvi-opcodes
4139 dvi-opcodes: \
4140 configure-opcodes
4141 @[ -f ./opcodes/Makefile ] || exit 0; \
4142 r=`${PWD_COMMAND}`; export r; \
4143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4144 $(SET_LIB_PATH) \
4145 $(HOST_EXPORTS) \
4146 for flag in $(EXTRA_HOST_FLAGS) ; do \
4147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4148 done; \
4149 echo "Doing dvi in opcodes" ; \
4150 (cd opcodes && \
4151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4153 "RANLIB=$${RANLIB}" \
4154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4155 dvi) \
4156 || exit 1
4158 @endif opcodes
4160 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4161 maybe-TAGS-opcodes:
4162 @if opcodes
4163 maybe-TAGS-opcodes: TAGS-opcodes
4165 TAGS-opcodes: \
4166 configure-opcodes
4167 @[ -f ./opcodes/Makefile ] || exit 0; \
4168 r=`${PWD_COMMAND}`; export r; \
4169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4170 $(SET_LIB_PATH) \
4171 $(HOST_EXPORTS) \
4172 for flag in $(EXTRA_HOST_FLAGS) ; do \
4173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4174 done; \
4175 echo "Doing TAGS in opcodes" ; \
4176 (cd opcodes && \
4177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4179 "RANLIB=$${RANLIB}" \
4180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4181 TAGS) \
4182 || exit 1
4184 @endif opcodes
4186 .PHONY: maybe-install-info-opcodes install-info-opcodes
4187 maybe-install-info-opcodes:
4188 @if opcodes
4189 maybe-install-info-opcodes: install-info-opcodes
4191 install-info-opcodes: \
4192 configure-opcodes \
4193 info-opcodes
4194 @[ -f ./opcodes/Makefile ] || exit 0; \
4195 r=`${PWD_COMMAND}`; export r; \
4196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4197 $(SET_LIB_PATH) \
4198 $(HOST_EXPORTS) \
4199 for flag in $(EXTRA_HOST_FLAGS) ; do \
4200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4201 done; \
4202 echo "Doing install-info in opcodes" ; \
4203 (cd opcodes && \
4204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4206 "RANLIB=$${RANLIB}" \
4207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4208 install-info) \
4209 || exit 1
4211 @endif opcodes
4213 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4214 maybe-installcheck-opcodes:
4215 @if opcodes
4216 maybe-installcheck-opcodes: installcheck-opcodes
4218 installcheck-opcodes: \
4219 configure-opcodes
4220 @[ -f ./opcodes/Makefile ] || exit 0; \
4221 r=`${PWD_COMMAND}`; export r; \
4222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4223 $(SET_LIB_PATH) \
4224 $(HOST_EXPORTS) \
4225 for flag in $(EXTRA_HOST_FLAGS) ; do \
4226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4227 done; \
4228 echo "Doing installcheck in opcodes" ; \
4229 (cd opcodes && \
4230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4232 "RANLIB=$${RANLIB}" \
4233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4234 installcheck) \
4235 || exit 1
4237 @endif opcodes
4239 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4240 maybe-mostlyclean-opcodes:
4241 @if opcodes
4242 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4244 mostlyclean-opcodes:
4245 @[ -f ./opcodes/Makefile ] || exit 0; \
4246 r=`${PWD_COMMAND}`; export r; \
4247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4248 $(SET_LIB_PATH) \
4249 $(HOST_EXPORTS) \
4250 for flag in $(EXTRA_HOST_FLAGS) ; do \
4251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4252 done; \
4253 echo "Doing mostlyclean in opcodes" ; \
4254 (cd opcodes && \
4255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4257 "RANLIB=$${RANLIB}" \
4258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4259 mostlyclean) \
4260 || exit 1
4262 @endif opcodes
4264 .PHONY: maybe-clean-opcodes clean-opcodes
4265 maybe-clean-opcodes:
4266 @if opcodes
4267 maybe-clean-opcodes: clean-opcodes
4269 clean-opcodes:
4270 @[ -f ./opcodes/Makefile ] || exit 0; \
4271 r=`${PWD_COMMAND}`; export r; \
4272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4273 $(SET_LIB_PATH) \
4274 $(HOST_EXPORTS) \
4275 for flag in $(EXTRA_HOST_FLAGS) ; do \
4276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4277 done; \
4278 echo "Doing clean in opcodes" ; \
4279 (cd opcodes && \
4280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4282 "RANLIB=$${RANLIB}" \
4283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4284 clean) \
4285 || exit 1
4287 @endif opcodes
4289 .PHONY: maybe-distclean-opcodes distclean-opcodes
4290 maybe-distclean-opcodes:
4291 @if opcodes
4292 maybe-distclean-opcodes: distclean-opcodes
4294 distclean-opcodes:
4295 @[ -f ./opcodes/Makefile ] || exit 0; \
4296 r=`${PWD_COMMAND}`; export r; \
4297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4298 $(SET_LIB_PATH) \
4299 $(HOST_EXPORTS) \
4300 for flag in $(EXTRA_HOST_FLAGS) ; do \
4301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4302 done; \
4303 echo "Doing distclean in opcodes" ; \
4304 (cd opcodes && \
4305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4307 "RANLIB=$${RANLIB}" \
4308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4309 distclean) \
4310 || exit 1
4312 @endif opcodes
4314 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4315 maybe-maintainer-clean-opcodes:
4316 @if opcodes
4317 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4319 maintainer-clean-opcodes:
4320 @[ -f ./opcodes/Makefile ] || exit 0; \
4321 r=`${PWD_COMMAND}`; export r; \
4322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4323 $(SET_LIB_PATH) \
4324 $(HOST_EXPORTS) \
4325 for flag in $(EXTRA_HOST_FLAGS) ; do \
4326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4327 done; \
4328 echo "Doing maintainer-clean in opcodes" ; \
4329 (cd opcodes && \
4330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4332 "RANLIB=$${RANLIB}" \
4333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4334 maintainer-clean) \
4335 || exit 1
4337 @endif opcodes
4340 .PHONY: configure-binutils maybe-configure-binutils
4341 maybe-configure-binutils:
4342 @if binutils
4343 maybe-configure-binutils: configure-binutils
4344 configure-binutils:
4345 @test -f stage_last && exit 0; \
4346 test ! -f binutils/Makefile || exit 0; \
4347 [ -d binutils ] || mkdir binutils; \
4348 r=`${PWD_COMMAND}`; export r; \
4349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4350 $(HOST_EXPORTS) \
4351 echo Configuring in binutils; \
4352 cd binutils || exit 1; \
4353 case $(srcdir) in \
4354 \.) \
4355 srcdiroption="--srcdir=."; \
4356 libsrcdir=".";; \
4357 /* | [A-Za-z]:[\\/]*) \
4358 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4359 libsrcdir="$$s/binutils";; \
4360 *) \
4361 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4362 libsrcdir="$$s/binutils";; \
4363 esac; \
4364 $(SHELL) $${libsrcdir}/configure \
4365 $(HOST_CONFIGARGS) $${srcdiroption} \
4366 || exit 1
4367 @endif binutils
4369 .PHONY: all-binutils maybe-all-binutils
4370 maybe-all-binutils:
4371 @if binutils
4372 maybe-all-binutils: all-binutils
4373 all-binutils: configure-binutils
4374 @test -f stage_last && exit 0; \
4375 r=`${PWD_COMMAND}`; export r; \
4376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4377 $(SET_LIB_PATH) \
4378 $(HOST_EXPORTS) \
4379 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
4380 @endif binutils
4382 .PHONY: check-binutils maybe-check-binutils
4383 maybe-check-binutils:
4384 @if binutils
4385 maybe-check-binutils: check-binutils
4387 check-binutils:
4388 @r=`${PWD_COMMAND}`; export r; \
4389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4390 $(SET_LIB_PATH) \
4391 $(HOST_EXPORTS) \
4392 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4394 @endif binutils
4396 .PHONY: install-binutils maybe-install-binutils
4397 maybe-install-binutils:
4398 @if binutils
4399 maybe-install-binutils: install-binutils
4401 install-binutils: installdirs
4402 @r=`${PWD_COMMAND}`; export r; \
4403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4404 $(SET_LIB_PATH) \
4405 $(HOST_EXPORTS) \
4406 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4408 @endif binutils
4410 # Other targets (info, dvi, etc.)
4412 .PHONY: maybe-info-binutils info-binutils
4413 maybe-info-binutils:
4414 @if binutils
4415 maybe-info-binutils: info-binutils
4417 info-binutils: \
4418 configure-binutils
4419 @[ -f ./binutils/Makefile ] || exit 0; \
4420 r=`${PWD_COMMAND}`; export r; \
4421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4422 $(SET_LIB_PATH) \
4423 $(HOST_EXPORTS) \
4424 for flag in $(EXTRA_HOST_FLAGS) ; do \
4425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4426 done; \
4427 echo "Doing info in binutils" ; \
4428 (cd binutils && \
4429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4431 "RANLIB=$${RANLIB}" \
4432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4433 info) \
4434 || exit 1
4436 @endif binutils
4438 .PHONY: maybe-dvi-binutils dvi-binutils
4439 maybe-dvi-binutils:
4440 @if binutils
4441 maybe-dvi-binutils: dvi-binutils
4443 dvi-binutils: \
4444 configure-binutils
4445 @[ -f ./binutils/Makefile ] || exit 0; \
4446 r=`${PWD_COMMAND}`; export r; \
4447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4448 $(SET_LIB_PATH) \
4449 $(HOST_EXPORTS) \
4450 for flag in $(EXTRA_HOST_FLAGS) ; do \
4451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4452 done; \
4453 echo "Doing dvi in binutils" ; \
4454 (cd binutils && \
4455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4457 "RANLIB=$${RANLIB}" \
4458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4459 dvi) \
4460 || exit 1
4462 @endif binutils
4464 .PHONY: maybe-TAGS-binutils TAGS-binutils
4465 maybe-TAGS-binutils:
4466 @if binutils
4467 maybe-TAGS-binutils: TAGS-binutils
4469 TAGS-binutils: \
4470 configure-binutils
4471 @[ -f ./binutils/Makefile ] || exit 0; \
4472 r=`${PWD_COMMAND}`; export r; \
4473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4474 $(SET_LIB_PATH) \
4475 $(HOST_EXPORTS) \
4476 for flag in $(EXTRA_HOST_FLAGS) ; do \
4477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4478 done; \
4479 echo "Doing TAGS in binutils" ; \
4480 (cd binutils && \
4481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4483 "RANLIB=$${RANLIB}" \
4484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4485 TAGS) \
4486 || exit 1
4488 @endif binutils
4490 .PHONY: maybe-install-info-binutils install-info-binutils
4491 maybe-install-info-binutils:
4492 @if binutils
4493 maybe-install-info-binutils: install-info-binutils
4495 install-info-binutils: \
4496 configure-binutils \
4497 info-binutils
4498 @[ -f ./binutils/Makefile ] || exit 0; \
4499 r=`${PWD_COMMAND}`; export r; \
4500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4501 $(SET_LIB_PATH) \
4502 $(HOST_EXPORTS) \
4503 for flag in $(EXTRA_HOST_FLAGS) ; do \
4504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4505 done; \
4506 echo "Doing install-info in binutils" ; \
4507 (cd binutils && \
4508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4510 "RANLIB=$${RANLIB}" \
4511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4512 install-info) \
4513 || exit 1
4515 @endif binutils
4517 .PHONY: maybe-installcheck-binutils installcheck-binutils
4518 maybe-installcheck-binutils:
4519 @if binutils
4520 maybe-installcheck-binutils: installcheck-binutils
4522 installcheck-binutils: \
4523 configure-binutils
4524 @[ -f ./binutils/Makefile ] || exit 0; \
4525 r=`${PWD_COMMAND}`; export r; \
4526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4527 $(SET_LIB_PATH) \
4528 $(HOST_EXPORTS) \
4529 for flag in $(EXTRA_HOST_FLAGS) ; do \
4530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4531 done; \
4532 echo "Doing installcheck in binutils" ; \
4533 (cd binutils && \
4534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4536 "RANLIB=$${RANLIB}" \
4537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4538 installcheck) \
4539 || exit 1
4541 @endif binutils
4543 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4544 maybe-mostlyclean-binutils:
4545 @if binutils
4546 maybe-mostlyclean-binutils: mostlyclean-binutils
4548 mostlyclean-binutils:
4549 @[ -f ./binutils/Makefile ] || exit 0; \
4550 r=`${PWD_COMMAND}`; export r; \
4551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4552 $(SET_LIB_PATH) \
4553 $(HOST_EXPORTS) \
4554 for flag in $(EXTRA_HOST_FLAGS) ; do \
4555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4556 done; \
4557 echo "Doing mostlyclean in binutils" ; \
4558 (cd binutils && \
4559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4561 "RANLIB=$${RANLIB}" \
4562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4563 mostlyclean) \
4564 || exit 1
4566 @endif binutils
4568 .PHONY: maybe-clean-binutils clean-binutils
4569 maybe-clean-binutils:
4570 @if binutils
4571 maybe-clean-binutils: clean-binutils
4573 clean-binutils:
4574 @[ -f ./binutils/Makefile ] || exit 0; \
4575 r=`${PWD_COMMAND}`; export r; \
4576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4577 $(SET_LIB_PATH) \
4578 $(HOST_EXPORTS) \
4579 for flag in $(EXTRA_HOST_FLAGS) ; do \
4580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4581 done; \
4582 echo "Doing clean in binutils" ; \
4583 (cd binutils && \
4584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4586 "RANLIB=$${RANLIB}" \
4587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4588 clean) \
4589 || exit 1
4591 @endif binutils
4593 .PHONY: maybe-distclean-binutils distclean-binutils
4594 maybe-distclean-binutils:
4595 @if binutils
4596 maybe-distclean-binutils: distclean-binutils
4598 distclean-binutils:
4599 @[ -f ./binutils/Makefile ] || exit 0; \
4600 r=`${PWD_COMMAND}`; export r; \
4601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4602 $(SET_LIB_PATH) \
4603 $(HOST_EXPORTS) \
4604 for flag in $(EXTRA_HOST_FLAGS) ; do \
4605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4606 done; \
4607 echo "Doing distclean in binutils" ; \
4608 (cd binutils && \
4609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4611 "RANLIB=$${RANLIB}" \
4612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4613 distclean) \
4614 || exit 1
4616 @endif binutils
4618 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4619 maybe-maintainer-clean-binutils:
4620 @if binutils
4621 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4623 maintainer-clean-binutils:
4624 @[ -f ./binutils/Makefile ] || exit 0; \
4625 r=`${PWD_COMMAND}`; export r; \
4626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4627 $(SET_LIB_PATH) \
4628 $(HOST_EXPORTS) \
4629 for flag in $(EXTRA_HOST_FLAGS) ; do \
4630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4631 done; \
4632 echo "Doing maintainer-clean in binutils" ; \
4633 (cd binutils && \
4634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4636 "RANLIB=$${RANLIB}" \
4637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4638 maintainer-clean) \
4639 || exit 1
4641 @endif binutils
4644 .PHONY: configure-bison maybe-configure-bison
4645 maybe-configure-bison:
4646 @if bison
4647 maybe-configure-bison: configure-bison
4648 configure-bison:
4649 @test ! -f bison/Makefile || exit 0; \
4650 [ -d bison ] || mkdir bison; \
4651 r=`${PWD_COMMAND}`; export r; \
4652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4653 $(HOST_EXPORTS) \
4654 echo Configuring in bison; \
4655 cd bison || exit 1; \
4656 case $(srcdir) in \
4657 \.) \
4658 srcdiroption="--srcdir=."; \
4659 libsrcdir=".";; \
4660 /* | [A-Za-z]:[\\/]*) \
4661 srcdiroption="--srcdir=$(srcdir)/bison"; \
4662 libsrcdir="$$s/bison";; \
4663 *) \
4664 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4665 libsrcdir="$$s/bison";; \
4666 esac; \
4667 $(SHELL) $${libsrcdir}/configure \
4668 $(HOST_CONFIGARGS) $${srcdiroption} \
4669 || exit 1
4670 @endif bison
4672 .PHONY: all-bison maybe-all-bison
4673 maybe-all-bison:
4674 @if bison
4675 maybe-all-bison: all-bison
4676 all-bison: configure-bison
4677 @r=`${PWD_COMMAND}`; export r; \
4678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4679 $(SET_LIB_PATH) \
4680 $(HOST_EXPORTS) \
4681 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
4682 @endif bison
4684 .PHONY: check-bison maybe-check-bison
4685 maybe-check-bison:
4686 @if bison
4687 maybe-check-bison: check-bison
4689 # This module is only tested in a native toolchain.
4690 check-bison:
4691 @if [ '$(host)' = '$(target)' ] ; then \
4692 r=`${PWD_COMMAND}`; export r; \
4693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4694 $(SET_LIB_PATH) \
4695 $(HOST_EXPORTS) \
4696 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4699 @endif bison
4701 .PHONY: install-bison maybe-install-bison
4702 maybe-install-bison:
4703 @if bison
4704 maybe-install-bison: install-bison
4706 install-bison: installdirs
4707 @r=`${PWD_COMMAND}`; export r; \
4708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4709 $(SET_LIB_PATH) \
4710 $(HOST_EXPORTS) \
4711 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4713 @endif bison
4715 # Other targets (info, dvi, etc.)
4717 .PHONY: maybe-info-bison info-bison
4718 maybe-info-bison:
4719 @if bison
4720 maybe-info-bison: info-bison
4722 info-bison: \
4723 configure-bison
4724 @[ -f ./bison/Makefile ] || exit 0; \
4725 r=`${PWD_COMMAND}`; export r; \
4726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4727 $(SET_LIB_PATH) \
4728 $(HOST_EXPORTS) \
4729 for flag in $(EXTRA_HOST_FLAGS) ; do \
4730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4731 done; \
4732 echo "Doing info in bison" ; \
4733 (cd bison && \
4734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4736 "RANLIB=$${RANLIB}" \
4737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4738 info) \
4739 || exit 1
4741 @endif bison
4743 .PHONY: maybe-dvi-bison dvi-bison
4744 maybe-dvi-bison:
4745 @if bison
4746 maybe-dvi-bison: dvi-bison
4748 dvi-bison: \
4749 configure-bison
4750 @[ -f ./bison/Makefile ] || exit 0; \
4751 r=`${PWD_COMMAND}`; export r; \
4752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4753 $(SET_LIB_PATH) \
4754 $(HOST_EXPORTS) \
4755 for flag in $(EXTRA_HOST_FLAGS) ; do \
4756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4757 done; \
4758 echo "Doing dvi in bison" ; \
4759 (cd bison && \
4760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4762 "RANLIB=$${RANLIB}" \
4763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4764 dvi) \
4765 || exit 1
4767 @endif bison
4769 .PHONY: maybe-TAGS-bison TAGS-bison
4770 maybe-TAGS-bison:
4771 @if bison
4772 maybe-TAGS-bison: TAGS-bison
4774 TAGS-bison: \
4775 configure-bison
4776 @[ -f ./bison/Makefile ] || exit 0; \
4777 r=`${PWD_COMMAND}`; export r; \
4778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4779 $(SET_LIB_PATH) \
4780 $(HOST_EXPORTS) \
4781 for flag in $(EXTRA_HOST_FLAGS) ; do \
4782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4783 done; \
4784 echo "Doing TAGS in bison" ; \
4785 (cd bison && \
4786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4788 "RANLIB=$${RANLIB}" \
4789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4790 TAGS) \
4791 || exit 1
4793 @endif bison
4795 .PHONY: maybe-install-info-bison install-info-bison
4796 maybe-install-info-bison:
4797 @if bison
4798 maybe-install-info-bison: install-info-bison
4800 install-info-bison: \
4801 configure-bison \
4802 info-bison
4803 @[ -f ./bison/Makefile ] || exit 0; \
4804 r=`${PWD_COMMAND}`; export r; \
4805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4806 $(SET_LIB_PATH) \
4807 $(HOST_EXPORTS) \
4808 for flag in $(EXTRA_HOST_FLAGS) ; do \
4809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4810 done; \
4811 echo "Doing install-info in bison" ; \
4812 (cd bison && \
4813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4815 "RANLIB=$${RANLIB}" \
4816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4817 install-info) \
4818 || exit 1
4820 @endif bison
4822 .PHONY: maybe-installcheck-bison installcheck-bison
4823 maybe-installcheck-bison:
4824 @if bison
4825 maybe-installcheck-bison: installcheck-bison
4827 installcheck-bison: \
4828 configure-bison
4829 @[ -f ./bison/Makefile ] || exit 0; \
4830 r=`${PWD_COMMAND}`; export r; \
4831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4832 $(SET_LIB_PATH) \
4833 $(HOST_EXPORTS) \
4834 for flag in $(EXTRA_HOST_FLAGS) ; do \
4835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4836 done; \
4837 echo "Doing installcheck in bison" ; \
4838 (cd bison && \
4839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4841 "RANLIB=$${RANLIB}" \
4842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4843 installcheck) \
4844 || exit 1
4846 @endif bison
4848 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4849 maybe-mostlyclean-bison:
4850 @if bison
4851 maybe-mostlyclean-bison: mostlyclean-bison
4853 mostlyclean-bison:
4854 @[ -f ./bison/Makefile ] || exit 0; \
4855 r=`${PWD_COMMAND}`; export r; \
4856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4857 $(SET_LIB_PATH) \
4858 $(HOST_EXPORTS) \
4859 for flag in $(EXTRA_HOST_FLAGS) ; do \
4860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4861 done; \
4862 echo "Doing mostlyclean in bison" ; \
4863 (cd bison && \
4864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4866 "RANLIB=$${RANLIB}" \
4867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4868 mostlyclean) \
4869 || exit 1
4871 @endif bison
4873 .PHONY: maybe-clean-bison clean-bison
4874 maybe-clean-bison:
4875 @if bison
4876 maybe-clean-bison: clean-bison
4878 clean-bison:
4879 @[ -f ./bison/Makefile ] || exit 0; \
4880 r=`${PWD_COMMAND}`; export r; \
4881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4882 $(SET_LIB_PATH) \
4883 $(HOST_EXPORTS) \
4884 for flag in $(EXTRA_HOST_FLAGS) ; do \
4885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4886 done; \
4887 echo "Doing clean in bison" ; \
4888 (cd bison && \
4889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4891 "RANLIB=$${RANLIB}" \
4892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4893 clean) \
4894 || exit 1
4896 @endif bison
4898 .PHONY: maybe-distclean-bison distclean-bison
4899 maybe-distclean-bison:
4900 @if bison
4901 maybe-distclean-bison: distclean-bison
4903 distclean-bison:
4904 @[ -f ./bison/Makefile ] || exit 0; \
4905 r=`${PWD_COMMAND}`; export r; \
4906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4907 $(SET_LIB_PATH) \
4908 $(HOST_EXPORTS) \
4909 for flag in $(EXTRA_HOST_FLAGS) ; do \
4910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4911 done; \
4912 echo "Doing distclean in bison" ; \
4913 (cd bison && \
4914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4916 "RANLIB=$${RANLIB}" \
4917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4918 distclean) \
4919 || exit 1
4921 @endif bison
4923 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4924 maybe-maintainer-clean-bison:
4925 @if bison
4926 maybe-maintainer-clean-bison: maintainer-clean-bison
4928 maintainer-clean-bison:
4929 @[ -f ./bison/Makefile ] || exit 0; \
4930 r=`${PWD_COMMAND}`; export r; \
4931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4932 $(SET_LIB_PATH) \
4933 $(HOST_EXPORTS) \
4934 for flag in $(EXTRA_HOST_FLAGS) ; do \
4935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4936 done; \
4937 echo "Doing maintainer-clean in bison" ; \
4938 (cd bison && \
4939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4941 "RANLIB=$${RANLIB}" \
4942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4943 maintainer-clean) \
4944 || exit 1
4946 @endif bison
4949 .PHONY: configure-byacc maybe-configure-byacc
4950 maybe-configure-byacc:
4951 @if byacc
4952 maybe-configure-byacc: configure-byacc
4953 configure-byacc:
4954 @test ! -f byacc/Makefile || exit 0; \
4955 [ -d byacc ] || mkdir byacc; \
4956 r=`${PWD_COMMAND}`; export r; \
4957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4958 $(HOST_EXPORTS) \
4959 echo Configuring in byacc; \
4960 cd byacc || exit 1; \
4961 case $(srcdir) in \
4962 \.) \
4963 srcdiroption="--srcdir=."; \
4964 libsrcdir=".";; \
4965 /* | [A-Za-z]:[\\/]*) \
4966 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4967 libsrcdir="$$s/byacc";; \
4968 *) \
4969 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4970 libsrcdir="$$s/byacc";; \
4971 esac; \
4972 $(SHELL) $${libsrcdir}/configure \
4973 $(HOST_CONFIGARGS) $${srcdiroption} \
4974 || exit 1
4975 @endif byacc
4977 .PHONY: all-byacc maybe-all-byacc
4978 maybe-all-byacc:
4979 @if byacc
4980 maybe-all-byacc: all-byacc
4981 all-byacc: configure-byacc
4982 @r=`${PWD_COMMAND}`; export r; \
4983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4984 $(SET_LIB_PATH) \
4985 $(HOST_EXPORTS) \
4986 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4987 @endif byacc
4989 .PHONY: check-byacc maybe-check-byacc
4990 maybe-check-byacc:
4991 @if byacc
4992 maybe-check-byacc: check-byacc
4994 # This module is only tested in a native toolchain.
4995 check-byacc:
4996 @if [ '$(host)' = '$(target)' ] ; then \
4997 r=`${PWD_COMMAND}`; export r; \
4998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4999 $(SET_LIB_PATH) \
5000 $(HOST_EXPORTS) \
5001 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
5004 @endif byacc
5006 .PHONY: install-byacc maybe-install-byacc
5007 maybe-install-byacc:
5008 @if byacc
5009 maybe-install-byacc: install-byacc
5011 install-byacc: installdirs
5012 @r=`${PWD_COMMAND}`; export r; \
5013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5014 $(SET_LIB_PATH) \
5015 $(HOST_EXPORTS) \
5016 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5018 @endif byacc
5020 # Other targets (info, dvi, etc.)
5022 .PHONY: maybe-info-byacc info-byacc
5023 maybe-info-byacc:
5024 @if byacc
5025 maybe-info-byacc: info-byacc
5027 info-byacc: \
5028 configure-byacc
5029 @[ -f ./byacc/Makefile ] || exit 0; \
5030 r=`${PWD_COMMAND}`; export r; \
5031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5032 $(SET_LIB_PATH) \
5033 $(HOST_EXPORTS) \
5034 for flag in $(EXTRA_HOST_FLAGS) ; do \
5035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5036 done; \
5037 echo "Doing info in byacc" ; \
5038 (cd byacc && \
5039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5041 "RANLIB=$${RANLIB}" \
5042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5043 info) \
5044 || exit 1
5046 @endif byacc
5048 .PHONY: maybe-dvi-byacc dvi-byacc
5049 maybe-dvi-byacc:
5050 @if byacc
5051 maybe-dvi-byacc: dvi-byacc
5053 dvi-byacc: \
5054 configure-byacc
5055 @[ -f ./byacc/Makefile ] || exit 0; \
5056 r=`${PWD_COMMAND}`; export r; \
5057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5058 $(SET_LIB_PATH) \
5059 $(HOST_EXPORTS) \
5060 for flag in $(EXTRA_HOST_FLAGS) ; do \
5061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5062 done; \
5063 echo "Doing dvi in byacc" ; \
5064 (cd byacc && \
5065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5067 "RANLIB=$${RANLIB}" \
5068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5069 dvi) \
5070 || exit 1
5072 @endif byacc
5074 .PHONY: maybe-TAGS-byacc TAGS-byacc
5075 maybe-TAGS-byacc:
5076 @if byacc
5077 maybe-TAGS-byacc: TAGS-byacc
5079 TAGS-byacc: \
5080 configure-byacc
5081 @[ -f ./byacc/Makefile ] || exit 0; \
5082 r=`${PWD_COMMAND}`; export r; \
5083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5084 $(SET_LIB_PATH) \
5085 $(HOST_EXPORTS) \
5086 for flag in $(EXTRA_HOST_FLAGS) ; do \
5087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5088 done; \
5089 echo "Doing TAGS in byacc" ; \
5090 (cd byacc && \
5091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5093 "RANLIB=$${RANLIB}" \
5094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5095 TAGS) \
5096 || exit 1
5098 @endif byacc
5100 .PHONY: maybe-install-info-byacc install-info-byacc
5101 maybe-install-info-byacc:
5102 @if byacc
5103 maybe-install-info-byacc: install-info-byacc
5105 install-info-byacc: \
5106 configure-byacc \
5107 info-byacc
5108 @[ -f ./byacc/Makefile ] || exit 0; \
5109 r=`${PWD_COMMAND}`; export r; \
5110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5111 $(SET_LIB_PATH) \
5112 $(HOST_EXPORTS) \
5113 for flag in $(EXTRA_HOST_FLAGS) ; do \
5114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5115 done; \
5116 echo "Doing install-info in byacc" ; \
5117 (cd byacc && \
5118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5120 "RANLIB=$${RANLIB}" \
5121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5122 install-info) \
5123 || exit 1
5125 @endif byacc
5127 .PHONY: maybe-installcheck-byacc installcheck-byacc
5128 maybe-installcheck-byacc:
5129 @if byacc
5130 maybe-installcheck-byacc: installcheck-byacc
5132 installcheck-byacc: \
5133 configure-byacc
5134 @[ -f ./byacc/Makefile ] || exit 0; \
5135 r=`${PWD_COMMAND}`; export r; \
5136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5137 $(SET_LIB_PATH) \
5138 $(HOST_EXPORTS) \
5139 for flag in $(EXTRA_HOST_FLAGS) ; do \
5140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5141 done; \
5142 echo "Doing installcheck in byacc" ; \
5143 (cd byacc && \
5144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5146 "RANLIB=$${RANLIB}" \
5147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5148 installcheck) \
5149 || exit 1
5151 @endif byacc
5153 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5154 maybe-mostlyclean-byacc:
5155 @if byacc
5156 maybe-mostlyclean-byacc: mostlyclean-byacc
5158 mostlyclean-byacc:
5159 @[ -f ./byacc/Makefile ] || exit 0; \
5160 r=`${PWD_COMMAND}`; export r; \
5161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5162 $(SET_LIB_PATH) \
5163 $(HOST_EXPORTS) \
5164 for flag in $(EXTRA_HOST_FLAGS) ; do \
5165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5166 done; \
5167 echo "Doing mostlyclean in byacc" ; \
5168 (cd byacc && \
5169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5171 "RANLIB=$${RANLIB}" \
5172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5173 mostlyclean) \
5174 || exit 1
5176 @endif byacc
5178 .PHONY: maybe-clean-byacc clean-byacc
5179 maybe-clean-byacc:
5180 @if byacc
5181 maybe-clean-byacc: clean-byacc
5183 clean-byacc:
5184 @[ -f ./byacc/Makefile ] || exit 0; \
5185 r=`${PWD_COMMAND}`; export r; \
5186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5187 $(SET_LIB_PATH) \
5188 $(HOST_EXPORTS) \
5189 for flag in $(EXTRA_HOST_FLAGS) ; do \
5190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5191 done; \
5192 echo "Doing clean in byacc" ; \
5193 (cd byacc && \
5194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5196 "RANLIB=$${RANLIB}" \
5197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5198 clean) \
5199 || exit 1
5201 @endif byacc
5203 .PHONY: maybe-distclean-byacc distclean-byacc
5204 maybe-distclean-byacc:
5205 @if byacc
5206 maybe-distclean-byacc: distclean-byacc
5208 distclean-byacc:
5209 @[ -f ./byacc/Makefile ] || exit 0; \
5210 r=`${PWD_COMMAND}`; export r; \
5211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5212 $(SET_LIB_PATH) \
5213 $(HOST_EXPORTS) \
5214 for flag in $(EXTRA_HOST_FLAGS) ; do \
5215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5216 done; \
5217 echo "Doing distclean in byacc" ; \
5218 (cd byacc && \
5219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5221 "RANLIB=$${RANLIB}" \
5222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5223 distclean) \
5224 || exit 1
5226 @endif byacc
5228 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5229 maybe-maintainer-clean-byacc:
5230 @if byacc
5231 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5233 maintainer-clean-byacc:
5234 @[ -f ./byacc/Makefile ] || exit 0; \
5235 r=`${PWD_COMMAND}`; export r; \
5236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5237 $(SET_LIB_PATH) \
5238 $(HOST_EXPORTS) \
5239 for flag in $(EXTRA_HOST_FLAGS) ; do \
5240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5241 done; \
5242 echo "Doing maintainer-clean in byacc" ; \
5243 (cd byacc && \
5244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5246 "RANLIB=$${RANLIB}" \
5247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5248 maintainer-clean) \
5249 || exit 1
5251 @endif byacc
5254 .PHONY: configure-bzip2 maybe-configure-bzip2
5255 maybe-configure-bzip2:
5256 @if bzip2
5257 maybe-configure-bzip2: configure-bzip2
5258 configure-bzip2:
5259 @test ! -f bzip2/Makefile || exit 0; \
5260 [ -d bzip2 ] || mkdir bzip2; \
5261 r=`${PWD_COMMAND}`; export r; \
5262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5263 $(HOST_EXPORTS) \
5264 echo Configuring in bzip2; \
5265 cd bzip2 || exit 1; \
5266 case $(srcdir) in \
5267 \.) \
5268 srcdiroption="--srcdir=."; \
5269 libsrcdir=".";; \
5270 /* | [A-Za-z]:[\\/]*) \
5271 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5272 libsrcdir="$$s/bzip2";; \
5273 *) \
5274 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5275 libsrcdir="$$s/bzip2";; \
5276 esac; \
5277 $(SHELL) $${libsrcdir}/configure \
5278 $(HOST_CONFIGARGS) $${srcdiroption} \
5279 || exit 1
5280 @endif bzip2
5282 .PHONY: all-bzip2 maybe-all-bzip2
5283 maybe-all-bzip2:
5284 @if bzip2
5285 maybe-all-bzip2: all-bzip2
5286 all-bzip2: configure-bzip2
5287 @r=`${PWD_COMMAND}`; export r; \
5288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5289 $(SET_LIB_PATH) \
5290 $(HOST_EXPORTS) \
5291 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
5292 @endif bzip2
5294 .PHONY: check-bzip2 maybe-check-bzip2
5295 maybe-check-bzip2:
5296 @if bzip2
5297 maybe-check-bzip2: check-bzip2
5299 check-bzip2:
5300 @r=`${PWD_COMMAND}`; export r; \
5301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5302 $(SET_LIB_PATH) \
5303 $(HOST_EXPORTS) \
5304 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5306 @endif bzip2
5308 .PHONY: install-bzip2 maybe-install-bzip2
5309 maybe-install-bzip2:
5310 @if bzip2
5311 maybe-install-bzip2: install-bzip2
5313 install-bzip2: installdirs
5314 @r=`${PWD_COMMAND}`; export r; \
5315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5316 $(SET_LIB_PATH) \
5317 $(HOST_EXPORTS) \
5318 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5320 @endif bzip2
5322 # Other targets (info, dvi, etc.)
5324 .PHONY: maybe-info-bzip2 info-bzip2
5325 maybe-info-bzip2:
5326 @if bzip2
5327 maybe-info-bzip2: info-bzip2
5329 info-bzip2: \
5330 configure-bzip2
5331 @[ -f ./bzip2/Makefile ] || exit 0; \
5332 r=`${PWD_COMMAND}`; export r; \
5333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5334 $(SET_LIB_PATH) \
5335 $(HOST_EXPORTS) \
5336 for flag in $(EXTRA_HOST_FLAGS) ; do \
5337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5338 done; \
5339 echo "Doing info in bzip2" ; \
5340 (cd bzip2 && \
5341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5343 "RANLIB=$${RANLIB}" \
5344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5345 info) \
5346 || exit 1
5348 @endif bzip2
5350 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5351 maybe-dvi-bzip2:
5352 @if bzip2
5353 maybe-dvi-bzip2: dvi-bzip2
5355 dvi-bzip2: \
5356 configure-bzip2
5357 @[ -f ./bzip2/Makefile ] || exit 0; \
5358 r=`${PWD_COMMAND}`; export r; \
5359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5360 $(SET_LIB_PATH) \
5361 $(HOST_EXPORTS) \
5362 for flag in $(EXTRA_HOST_FLAGS) ; do \
5363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5364 done; \
5365 echo "Doing dvi in bzip2" ; \
5366 (cd bzip2 && \
5367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5369 "RANLIB=$${RANLIB}" \
5370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5371 dvi) \
5372 || exit 1
5374 @endif bzip2
5376 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5377 maybe-TAGS-bzip2:
5378 @if bzip2
5379 maybe-TAGS-bzip2: TAGS-bzip2
5381 TAGS-bzip2: \
5382 configure-bzip2
5383 @[ -f ./bzip2/Makefile ] || exit 0; \
5384 r=`${PWD_COMMAND}`; export r; \
5385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5386 $(SET_LIB_PATH) \
5387 $(HOST_EXPORTS) \
5388 for flag in $(EXTRA_HOST_FLAGS) ; do \
5389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5390 done; \
5391 echo "Doing TAGS in bzip2" ; \
5392 (cd bzip2 && \
5393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5395 "RANLIB=$${RANLIB}" \
5396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5397 TAGS) \
5398 || exit 1
5400 @endif bzip2
5402 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5403 maybe-install-info-bzip2:
5404 @if bzip2
5405 maybe-install-info-bzip2: install-info-bzip2
5407 install-info-bzip2: \
5408 configure-bzip2 \
5409 info-bzip2
5410 @[ -f ./bzip2/Makefile ] || exit 0; \
5411 r=`${PWD_COMMAND}`; export r; \
5412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5413 $(SET_LIB_PATH) \
5414 $(HOST_EXPORTS) \
5415 for flag in $(EXTRA_HOST_FLAGS) ; do \
5416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5417 done; \
5418 echo "Doing install-info in bzip2" ; \
5419 (cd bzip2 && \
5420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5422 "RANLIB=$${RANLIB}" \
5423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5424 install-info) \
5425 || exit 1
5427 @endif bzip2
5429 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5430 maybe-installcheck-bzip2:
5431 @if bzip2
5432 maybe-installcheck-bzip2: installcheck-bzip2
5434 installcheck-bzip2: \
5435 configure-bzip2
5436 @[ -f ./bzip2/Makefile ] || exit 0; \
5437 r=`${PWD_COMMAND}`; export r; \
5438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5439 $(SET_LIB_PATH) \
5440 $(HOST_EXPORTS) \
5441 for flag in $(EXTRA_HOST_FLAGS) ; do \
5442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5443 done; \
5444 echo "Doing installcheck in bzip2" ; \
5445 (cd bzip2 && \
5446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5448 "RANLIB=$${RANLIB}" \
5449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5450 installcheck) \
5451 || exit 1
5453 @endif bzip2
5455 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5456 maybe-mostlyclean-bzip2:
5457 @if bzip2
5458 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5460 mostlyclean-bzip2:
5461 @[ -f ./bzip2/Makefile ] || exit 0; \
5462 r=`${PWD_COMMAND}`; export r; \
5463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5464 $(SET_LIB_PATH) \
5465 $(HOST_EXPORTS) \
5466 for flag in $(EXTRA_HOST_FLAGS) ; do \
5467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5468 done; \
5469 echo "Doing mostlyclean in bzip2" ; \
5470 (cd bzip2 && \
5471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5473 "RANLIB=$${RANLIB}" \
5474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5475 mostlyclean) \
5476 || exit 1
5478 @endif bzip2
5480 .PHONY: maybe-clean-bzip2 clean-bzip2
5481 maybe-clean-bzip2:
5482 @if bzip2
5483 maybe-clean-bzip2: clean-bzip2
5485 clean-bzip2:
5486 @[ -f ./bzip2/Makefile ] || exit 0; \
5487 r=`${PWD_COMMAND}`; export r; \
5488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5489 $(SET_LIB_PATH) \
5490 $(HOST_EXPORTS) \
5491 for flag in $(EXTRA_HOST_FLAGS) ; do \
5492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5493 done; \
5494 echo "Doing clean in bzip2" ; \
5495 (cd bzip2 && \
5496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5498 "RANLIB=$${RANLIB}" \
5499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5500 clean) \
5501 || exit 1
5503 @endif bzip2
5505 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5506 maybe-distclean-bzip2:
5507 @if bzip2
5508 maybe-distclean-bzip2: distclean-bzip2
5510 distclean-bzip2:
5511 @[ -f ./bzip2/Makefile ] || exit 0; \
5512 r=`${PWD_COMMAND}`; export r; \
5513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5514 $(SET_LIB_PATH) \
5515 $(HOST_EXPORTS) \
5516 for flag in $(EXTRA_HOST_FLAGS) ; do \
5517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5518 done; \
5519 echo "Doing distclean in bzip2" ; \
5520 (cd bzip2 && \
5521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5523 "RANLIB=$${RANLIB}" \
5524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5525 distclean) \
5526 || exit 1
5528 @endif bzip2
5530 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5531 maybe-maintainer-clean-bzip2:
5532 @if bzip2
5533 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5535 maintainer-clean-bzip2:
5536 @[ -f ./bzip2/Makefile ] || exit 0; \
5537 r=`${PWD_COMMAND}`; export r; \
5538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5539 $(SET_LIB_PATH) \
5540 $(HOST_EXPORTS) \
5541 for flag in $(EXTRA_HOST_FLAGS) ; do \
5542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5543 done; \
5544 echo "Doing maintainer-clean in bzip2" ; \
5545 (cd bzip2 && \
5546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5548 "RANLIB=$${RANLIB}" \
5549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5550 maintainer-clean) \
5551 || exit 1
5553 @endif bzip2
5556 .PHONY: configure-dejagnu maybe-configure-dejagnu
5557 maybe-configure-dejagnu:
5558 @if dejagnu
5559 maybe-configure-dejagnu: configure-dejagnu
5560 configure-dejagnu:
5561 @test ! -f dejagnu/Makefile || exit 0; \
5562 [ -d dejagnu ] || mkdir dejagnu; \
5563 r=`${PWD_COMMAND}`; export r; \
5564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5565 $(HOST_EXPORTS) \
5566 echo Configuring in dejagnu; \
5567 cd dejagnu || exit 1; \
5568 case $(srcdir) in \
5569 \.) \
5570 srcdiroption="--srcdir=."; \
5571 libsrcdir=".";; \
5572 /* | [A-Za-z]:[\\/]*) \
5573 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5574 libsrcdir="$$s/dejagnu";; \
5575 *) \
5576 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5577 libsrcdir="$$s/dejagnu";; \
5578 esac; \
5579 $(SHELL) $${libsrcdir}/configure \
5580 $(HOST_CONFIGARGS) $${srcdiroption} \
5581 || exit 1
5582 @endif dejagnu
5584 .PHONY: all-dejagnu maybe-all-dejagnu
5585 maybe-all-dejagnu:
5586 @if dejagnu
5587 maybe-all-dejagnu: all-dejagnu
5588 all-dejagnu: configure-dejagnu
5589 @r=`${PWD_COMMAND}`; export r; \
5590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5591 $(SET_LIB_PATH) \
5592 $(HOST_EXPORTS) \
5593 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
5594 @endif dejagnu
5596 .PHONY: check-dejagnu maybe-check-dejagnu
5597 maybe-check-dejagnu:
5598 @if dejagnu
5599 maybe-check-dejagnu: check-dejagnu
5601 check-dejagnu:
5602 @r=`${PWD_COMMAND}`; export r; \
5603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5604 $(SET_LIB_PATH) \
5605 $(HOST_EXPORTS) \
5606 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5608 @endif dejagnu
5610 .PHONY: install-dejagnu maybe-install-dejagnu
5611 maybe-install-dejagnu:
5612 @if dejagnu
5613 maybe-install-dejagnu: install-dejagnu
5615 install-dejagnu: installdirs
5616 @r=`${PWD_COMMAND}`; export r; \
5617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5618 $(SET_LIB_PATH) \
5619 $(HOST_EXPORTS) \
5620 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5622 @endif dejagnu
5624 # Other targets (info, dvi, etc.)
5626 .PHONY: maybe-info-dejagnu info-dejagnu
5627 maybe-info-dejagnu:
5628 @if dejagnu
5629 maybe-info-dejagnu: info-dejagnu
5631 info-dejagnu: \
5632 configure-dejagnu
5633 @[ -f ./dejagnu/Makefile ] || exit 0; \
5634 r=`${PWD_COMMAND}`; export r; \
5635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5636 $(SET_LIB_PATH) \
5637 $(HOST_EXPORTS) \
5638 for flag in $(EXTRA_HOST_FLAGS) ; do \
5639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5640 done; \
5641 echo "Doing info in dejagnu" ; \
5642 (cd dejagnu && \
5643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5645 "RANLIB=$${RANLIB}" \
5646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5647 info) \
5648 || exit 1
5650 @endif dejagnu
5652 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5653 maybe-dvi-dejagnu:
5654 @if dejagnu
5655 maybe-dvi-dejagnu: dvi-dejagnu
5657 dvi-dejagnu: \
5658 configure-dejagnu
5659 @[ -f ./dejagnu/Makefile ] || exit 0; \
5660 r=`${PWD_COMMAND}`; export r; \
5661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5662 $(SET_LIB_PATH) \
5663 $(HOST_EXPORTS) \
5664 for flag in $(EXTRA_HOST_FLAGS) ; do \
5665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5666 done; \
5667 echo "Doing dvi in dejagnu" ; \
5668 (cd dejagnu && \
5669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5671 "RANLIB=$${RANLIB}" \
5672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5673 dvi) \
5674 || exit 1
5676 @endif dejagnu
5678 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5679 maybe-TAGS-dejagnu:
5680 @if dejagnu
5681 maybe-TAGS-dejagnu: TAGS-dejagnu
5683 TAGS-dejagnu: \
5684 configure-dejagnu
5685 @[ -f ./dejagnu/Makefile ] || exit 0; \
5686 r=`${PWD_COMMAND}`; export r; \
5687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5688 $(SET_LIB_PATH) \
5689 $(HOST_EXPORTS) \
5690 for flag in $(EXTRA_HOST_FLAGS) ; do \
5691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5692 done; \
5693 echo "Doing TAGS in dejagnu" ; \
5694 (cd dejagnu && \
5695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5697 "RANLIB=$${RANLIB}" \
5698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5699 TAGS) \
5700 || exit 1
5702 @endif dejagnu
5704 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5705 maybe-install-info-dejagnu:
5706 @if dejagnu
5707 maybe-install-info-dejagnu: install-info-dejagnu
5709 install-info-dejagnu: \
5710 configure-dejagnu \
5711 info-dejagnu
5712 @[ -f ./dejagnu/Makefile ] || exit 0; \
5713 r=`${PWD_COMMAND}`; export r; \
5714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5715 $(SET_LIB_PATH) \
5716 $(HOST_EXPORTS) \
5717 for flag in $(EXTRA_HOST_FLAGS) ; do \
5718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5719 done; \
5720 echo "Doing install-info in dejagnu" ; \
5721 (cd dejagnu && \
5722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5724 "RANLIB=$${RANLIB}" \
5725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5726 install-info) \
5727 || exit 1
5729 @endif dejagnu
5731 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5732 maybe-installcheck-dejagnu:
5733 @if dejagnu
5734 maybe-installcheck-dejagnu: installcheck-dejagnu
5736 installcheck-dejagnu: \
5737 configure-dejagnu
5738 @[ -f ./dejagnu/Makefile ] || exit 0; \
5739 r=`${PWD_COMMAND}`; export r; \
5740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5741 $(SET_LIB_PATH) \
5742 $(HOST_EXPORTS) \
5743 for flag in $(EXTRA_HOST_FLAGS) ; do \
5744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5745 done; \
5746 echo "Doing installcheck in dejagnu" ; \
5747 (cd dejagnu && \
5748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5750 "RANLIB=$${RANLIB}" \
5751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5752 installcheck) \
5753 || exit 1
5755 @endif dejagnu
5757 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5758 maybe-mostlyclean-dejagnu:
5759 @if dejagnu
5760 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5762 mostlyclean-dejagnu:
5763 @[ -f ./dejagnu/Makefile ] || exit 0; \
5764 r=`${PWD_COMMAND}`; export r; \
5765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5766 $(SET_LIB_PATH) \
5767 $(HOST_EXPORTS) \
5768 for flag in $(EXTRA_HOST_FLAGS) ; do \
5769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5770 done; \
5771 echo "Doing mostlyclean in dejagnu" ; \
5772 (cd dejagnu && \
5773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5775 "RANLIB=$${RANLIB}" \
5776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5777 mostlyclean) \
5778 || exit 1
5780 @endif dejagnu
5782 .PHONY: maybe-clean-dejagnu clean-dejagnu
5783 maybe-clean-dejagnu:
5784 @if dejagnu
5785 maybe-clean-dejagnu: clean-dejagnu
5787 clean-dejagnu:
5788 @[ -f ./dejagnu/Makefile ] || exit 0; \
5789 r=`${PWD_COMMAND}`; export r; \
5790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5791 $(SET_LIB_PATH) \
5792 $(HOST_EXPORTS) \
5793 for flag in $(EXTRA_HOST_FLAGS) ; do \
5794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5795 done; \
5796 echo "Doing clean in dejagnu" ; \
5797 (cd dejagnu && \
5798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5800 "RANLIB=$${RANLIB}" \
5801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5802 clean) \
5803 || exit 1
5805 @endif dejagnu
5807 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5808 maybe-distclean-dejagnu:
5809 @if dejagnu
5810 maybe-distclean-dejagnu: distclean-dejagnu
5812 distclean-dejagnu:
5813 @[ -f ./dejagnu/Makefile ] || exit 0; \
5814 r=`${PWD_COMMAND}`; export r; \
5815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5816 $(SET_LIB_PATH) \
5817 $(HOST_EXPORTS) \
5818 for flag in $(EXTRA_HOST_FLAGS) ; do \
5819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5820 done; \
5821 echo "Doing distclean in dejagnu" ; \
5822 (cd dejagnu && \
5823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5825 "RANLIB=$${RANLIB}" \
5826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5827 distclean) \
5828 || exit 1
5830 @endif dejagnu
5832 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5833 maybe-maintainer-clean-dejagnu:
5834 @if dejagnu
5835 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5837 maintainer-clean-dejagnu:
5838 @[ -f ./dejagnu/Makefile ] || exit 0; \
5839 r=`${PWD_COMMAND}`; export r; \
5840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5841 $(SET_LIB_PATH) \
5842 $(HOST_EXPORTS) \
5843 for flag in $(EXTRA_HOST_FLAGS) ; do \
5844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5845 done; \
5846 echo "Doing maintainer-clean in dejagnu" ; \
5847 (cd dejagnu && \
5848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5850 "RANLIB=$${RANLIB}" \
5851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5852 maintainer-clean) \
5853 || exit 1
5855 @endif dejagnu
5858 .PHONY: configure-diff maybe-configure-diff
5859 maybe-configure-diff:
5860 @if diff
5861 maybe-configure-diff: configure-diff
5862 configure-diff:
5863 @test ! -f diff/Makefile || exit 0; \
5864 [ -d diff ] || mkdir diff; \
5865 r=`${PWD_COMMAND}`; export r; \
5866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5867 $(HOST_EXPORTS) \
5868 echo Configuring in diff; \
5869 cd diff || exit 1; \
5870 case $(srcdir) in \
5871 \.) \
5872 srcdiroption="--srcdir=."; \
5873 libsrcdir=".";; \
5874 /* | [A-Za-z]:[\\/]*) \
5875 srcdiroption="--srcdir=$(srcdir)/diff"; \
5876 libsrcdir="$$s/diff";; \
5877 *) \
5878 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5879 libsrcdir="$$s/diff";; \
5880 esac; \
5881 $(SHELL) $${libsrcdir}/configure \
5882 $(HOST_CONFIGARGS) $${srcdiroption} \
5883 || exit 1
5884 @endif diff
5886 .PHONY: all-diff maybe-all-diff
5887 maybe-all-diff:
5888 @if diff
5889 maybe-all-diff: all-diff
5890 all-diff: configure-diff
5891 @r=`${PWD_COMMAND}`; export r; \
5892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5893 $(SET_LIB_PATH) \
5894 $(HOST_EXPORTS) \
5895 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5896 @endif diff
5898 .PHONY: check-diff maybe-check-diff
5899 maybe-check-diff:
5900 @if diff
5901 maybe-check-diff: check-diff
5903 check-diff:
5904 @r=`${PWD_COMMAND}`; export r; \
5905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5906 $(SET_LIB_PATH) \
5907 $(HOST_EXPORTS) \
5908 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5910 @endif diff
5912 .PHONY: install-diff maybe-install-diff
5913 maybe-install-diff:
5914 @if diff
5915 maybe-install-diff: install-diff
5917 install-diff: installdirs
5918 @r=`${PWD_COMMAND}`; export r; \
5919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5920 $(SET_LIB_PATH) \
5921 $(HOST_EXPORTS) \
5922 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5924 @endif diff
5926 # Other targets (info, dvi, etc.)
5928 .PHONY: maybe-info-diff info-diff
5929 maybe-info-diff:
5930 @if diff
5931 maybe-info-diff: info-diff
5933 info-diff: \
5934 configure-diff
5935 @[ -f ./diff/Makefile ] || exit 0; \
5936 r=`${PWD_COMMAND}`; export r; \
5937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5938 $(SET_LIB_PATH) \
5939 $(HOST_EXPORTS) \
5940 for flag in $(EXTRA_HOST_FLAGS) ; do \
5941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5942 done; \
5943 echo "Doing info in diff" ; \
5944 (cd diff && \
5945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5947 "RANLIB=$${RANLIB}" \
5948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5949 info) \
5950 || exit 1
5952 @endif diff
5954 .PHONY: maybe-dvi-diff dvi-diff
5955 maybe-dvi-diff:
5956 @if diff
5957 maybe-dvi-diff: dvi-diff
5959 dvi-diff: \
5960 configure-diff
5961 @[ -f ./diff/Makefile ] || exit 0; \
5962 r=`${PWD_COMMAND}`; export r; \
5963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5964 $(SET_LIB_PATH) \
5965 $(HOST_EXPORTS) \
5966 for flag in $(EXTRA_HOST_FLAGS) ; do \
5967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5968 done; \
5969 echo "Doing dvi in diff" ; \
5970 (cd diff && \
5971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5973 "RANLIB=$${RANLIB}" \
5974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5975 dvi) \
5976 || exit 1
5978 @endif diff
5980 .PHONY: maybe-TAGS-diff TAGS-diff
5981 maybe-TAGS-diff:
5982 @if diff
5983 maybe-TAGS-diff: TAGS-diff
5985 TAGS-diff: \
5986 configure-diff
5987 @[ -f ./diff/Makefile ] || exit 0; \
5988 r=`${PWD_COMMAND}`; export r; \
5989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5990 $(SET_LIB_PATH) \
5991 $(HOST_EXPORTS) \
5992 for flag in $(EXTRA_HOST_FLAGS) ; do \
5993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5994 done; \
5995 echo "Doing TAGS in diff" ; \
5996 (cd diff && \
5997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5999 "RANLIB=$${RANLIB}" \
6000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6001 TAGS) \
6002 || exit 1
6004 @endif diff
6006 .PHONY: maybe-install-info-diff install-info-diff
6007 maybe-install-info-diff:
6008 @if diff
6009 maybe-install-info-diff: install-info-diff
6011 install-info-diff: \
6012 configure-diff \
6013 info-diff
6014 @[ -f ./diff/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 install-info in diff" ; \
6023 (cd diff && \
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 install-info) \
6029 || exit 1
6031 @endif diff
6033 .PHONY: maybe-installcheck-diff installcheck-diff
6034 maybe-installcheck-diff:
6035 @if diff
6036 maybe-installcheck-diff: installcheck-diff
6038 installcheck-diff: \
6039 configure-diff
6040 @[ -f ./diff/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 installcheck in diff" ; \
6049 (cd diff && \
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 installcheck) \
6055 || exit 1
6057 @endif diff
6059 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6060 maybe-mostlyclean-diff:
6061 @if diff
6062 maybe-mostlyclean-diff: mostlyclean-diff
6064 mostlyclean-diff:
6065 @[ -f ./diff/Makefile ] || exit 0; \
6066 r=`${PWD_COMMAND}`; export r; \
6067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6068 $(SET_LIB_PATH) \
6069 $(HOST_EXPORTS) \
6070 for flag in $(EXTRA_HOST_FLAGS) ; do \
6071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6072 done; \
6073 echo "Doing mostlyclean in diff" ; \
6074 (cd diff && \
6075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6077 "RANLIB=$${RANLIB}" \
6078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6079 mostlyclean) \
6080 || exit 1
6082 @endif diff
6084 .PHONY: maybe-clean-diff clean-diff
6085 maybe-clean-diff:
6086 @if diff
6087 maybe-clean-diff: clean-diff
6089 clean-diff:
6090 @[ -f ./diff/Makefile ] || exit 0; \
6091 r=`${PWD_COMMAND}`; export r; \
6092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6093 $(SET_LIB_PATH) \
6094 $(HOST_EXPORTS) \
6095 for flag in $(EXTRA_HOST_FLAGS) ; do \
6096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6097 done; \
6098 echo "Doing clean in diff" ; \
6099 (cd diff && \
6100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6102 "RANLIB=$${RANLIB}" \
6103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6104 clean) \
6105 || exit 1
6107 @endif diff
6109 .PHONY: maybe-distclean-diff distclean-diff
6110 maybe-distclean-diff:
6111 @if diff
6112 maybe-distclean-diff: distclean-diff
6114 distclean-diff:
6115 @[ -f ./diff/Makefile ] || exit 0; \
6116 r=`${PWD_COMMAND}`; export r; \
6117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6118 $(SET_LIB_PATH) \
6119 $(HOST_EXPORTS) \
6120 for flag in $(EXTRA_HOST_FLAGS) ; do \
6121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6122 done; \
6123 echo "Doing distclean in diff" ; \
6124 (cd diff && \
6125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6127 "RANLIB=$${RANLIB}" \
6128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6129 distclean) \
6130 || exit 1
6132 @endif diff
6134 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6135 maybe-maintainer-clean-diff:
6136 @if diff
6137 maybe-maintainer-clean-diff: maintainer-clean-diff
6139 maintainer-clean-diff:
6140 @[ -f ./diff/Makefile ] || exit 0; \
6141 r=`${PWD_COMMAND}`; export r; \
6142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6143 $(SET_LIB_PATH) \
6144 $(HOST_EXPORTS) \
6145 for flag in $(EXTRA_HOST_FLAGS) ; do \
6146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6147 done; \
6148 echo "Doing maintainer-clean in diff" ; \
6149 (cd diff && \
6150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6152 "RANLIB=$${RANLIB}" \
6153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6154 maintainer-clean) \
6155 || exit 1
6157 @endif diff
6160 .PHONY: configure-dosutils maybe-configure-dosutils
6161 maybe-configure-dosutils:
6162 @if dosutils
6163 maybe-configure-dosutils: configure-dosutils
6164 configure-dosutils:
6165 @test ! -f dosutils/Makefile || exit 0; \
6166 [ -d dosutils ] || mkdir dosutils; \
6167 r=`${PWD_COMMAND}`; export r; \
6168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6169 $(HOST_EXPORTS) \
6170 echo Configuring in dosutils; \
6171 cd dosutils || exit 1; \
6172 case $(srcdir) in \
6173 \.) \
6174 srcdiroption="--srcdir=."; \
6175 libsrcdir=".";; \
6176 /* | [A-Za-z]:[\\/]*) \
6177 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6178 libsrcdir="$$s/dosutils";; \
6179 *) \
6180 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6181 libsrcdir="$$s/dosutils";; \
6182 esac; \
6183 $(SHELL) $${libsrcdir}/configure \
6184 $(HOST_CONFIGARGS) $${srcdiroption} \
6185 || exit 1
6186 @endif dosutils
6188 .PHONY: all-dosutils maybe-all-dosutils
6189 maybe-all-dosutils:
6190 @if dosutils
6191 maybe-all-dosutils: all-dosutils
6192 all-dosutils: configure-dosutils
6193 @r=`${PWD_COMMAND}`; export r; \
6194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6195 $(SET_LIB_PATH) \
6196 $(HOST_EXPORTS) \
6197 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
6198 @endif dosutils
6200 .PHONY: check-dosutils maybe-check-dosutils
6201 maybe-check-dosutils:
6202 @if dosutils
6203 maybe-check-dosutils: check-dosutils
6205 check-dosutils:
6207 @endif dosutils
6209 .PHONY: install-dosutils maybe-install-dosutils
6210 maybe-install-dosutils:
6211 @if dosutils
6212 maybe-install-dosutils: install-dosutils
6214 install-dosutils: installdirs
6215 @r=`${PWD_COMMAND}`; export r; \
6216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6217 $(SET_LIB_PATH) \
6218 $(HOST_EXPORTS) \
6219 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6221 @endif dosutils
6223 # Other targets (info, dvi, etc.)
6225 .PHONY: maybe-info-dosutils info-dosutils
6226 maybe-info-dosutils:
6227 @if dosutils
6228 maybe-info-dosutils: info-dosutils
6230 info-dosutils: \
6231 configure-dosutils
6232 @[ -f ./dosutils/Makefile ] || exit 0; \
6233 r=`${PWD_COMMAND}`; export r; \
6234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6235 $(SET_LIB_PATH) \
6236 $(HOST_EXPORTS) \
6237 for flag in $(EXTRA_HOST_FLAGS) ; do \
6238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6239 done; \
6240 echo "Doing info in dosutils" ; \
6241 (cd dosutils && \
6242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6244 "RANLIB=$${RANLIB}" \
6245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6246 info) \
6247 || exit 1
6249 @endif dosutils
6251 .PHONY: maybe-dvi-dosutils dvi-dosutils
6252 maybe-dvi-dosutils:
6253 @if dosutils
6254 maybe-dvi-dosutils: dvi-dosutils
6256 dvi-dosutils: \
6257 configure-dosutils
6258 @[ -f ./dosutils/Makefile ] || exit 0; \
6259 r=`${PWD_COMMAND}`; export r; \
6260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6261 $(SET_LIB_PATH) \
6262 $(HOST_EXPORTS) \
6263 for flag in $(EXTRA_HOST_FLAGS) ; do \
6264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6265 done; \
6266 echo "Doing dvi in dosutils" ; \
6267 (cd dosutils && \
6268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6270 "RANLIB=$${RANLIB}" \
6271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6272 dvi) \
6273 || exit 1
6275 @endif dosutils
6277 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6278 maybe-TAGS-dosutils:
6279 @if dosutils
6280 maybe-TAGS-dosutils: TAGS-dosutils
6282 TAGS-dosutils: \
6283 configure-dosutils
6284 @[ -f ./dosutils/Makefile ] || exit 0; \
6285 r=`${PWD_COMMAND}`; export r; \
6286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6287 $(SET_LIB_PATH) \
6288 $(HOST_EXPORTS) \
6289 for flag in $(EXTRA_HOST_FLAGS) ; do \
6290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6291 done; \
6292 echo "Doing TAGS in dosutils" ; \
6293 (cd dosutils && \
6294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6296 "RANLIB=$${RANLIB}" \
6297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6298 TAGS) \
6299 || exit 1
6301 @endif dosutils
6303 .PHONY: maybe-install-info-dosutils install-info-dosutils
6304 maybe-install-info-dosutils:
6305 @if dosutils
6306 maybe-install-info-dosutils: install-info-dosutils
6308 install-info-dosutils: \
6309 configure-dosutils \
6310 info-dosutils
6311 @[ -f ./dosutils/Makefile ] || exit 0; \
6312 r=`${PWD_COMMAND}`; export r; \
6313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6314 $(SET_LIB_PATH) \
6315 $(HOST_EXPORTS) \
6316 for flag in $(EXTRA_HOST_FLAGS) ; do \
6317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6318 done; \
6319 echo "Doing install-info in dosutils" ; \
6320 (cd dosutils && \
6321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6323 "RANLIB=$${RANLIB}" \
6324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6325 install-info) \
6326 || exit 1
6328 @endif dosutils
6330 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6331 maybe-installcheck-dosutils:
6332 @if dosutils
6333 maybe-installcheck-dosutils: installcheck-dosutils
6335 installcheck-dosutils: \
6336 configure-dosutils
6337 @[ -f ./dosutils/Makefile ] || exit 0; \
6338 r=`${PWD_COMMAND}`; export r; \
6339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6340 $(SET_LIB_PATH) \
6341 $(HOST_EXPORTS) \
6342 for flag in $(EXTRA_HOST_FLAGS) ; do \
6343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6344 done; \
6345 echo "Doing installcheck in dosutils" ; \
6346 (cd dosutils && \
6347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6349 "RANLIB=$${RANLIB}" \
6350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6351 installcheck) \
6352 || exit 1
6354 @endif dosutils
6356 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6357 maybe-mostlyclean-dosutils:
6358 @if dosutils
6359 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6361 mostlyclean-dosutils:
6362 @[ -f ./dosutils/Makefile ] || exit 0; \
6363 r=`${PWD_COMMAND}`; export r; \
6364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6365 $(SET_LIB_PATH) \
6366 $(HOST_EXPORTS) \
6367 for flag in $(EXTRA_HOST_FLAGS) ; do \
6368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6369 done; \
6370 echo "Doing mostlyclean in dosutils" ; \
6371 (cd dosutils && \
6372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6374 "RANLIB=$${RANLIB}" \
6375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6376 mostlyclean) \
6377 || exit 1
6379 @endif dosutils
6381 .PHONY: maybe-clean-dosutils clean-dosutils
6382 maybe-clean-dosutils:
6383 @if dosutils
6384 maybe-clean-dosutils: clean-dosutils
6386 clean-dosutils:
6387 @[ -f ./dosutils/Makefile ] || exit 0; \
6388 r=`${PWD_COMMAND}`; export r; \
6389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6390 $(SET_LIB_PATH) \
6391 $(HOST_EXPORTS) \
6392 for flag in $(EXTRA_HOST_FLAGS) ; do \
6393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6394 done; \
6395 echo "Doing clean in dosutils" ; \
6396 (cd dosutils && \
6397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6399 "RANLIB=$${RANLIB}" \
6400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6401 clean) \
6402 || exit 1
6404 @endif dosutils
6406 .PHONY: maybe-distclean-dosutils distclean-dosutils
6407 maybe-distclean-dosutils:
6408 @if dosutils
6409 maybe-distclean-dosutils: distclean-dosutils
6411 distclean-dosutils:
6412 @[ -f ./dosutils/Makefile ] || exit 0; \
6413 r=`${PWD_COMMAND}`; export r; \
6414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6415 $(SET_LIB_PATH) \
6416 $(HOST_EXPORTS) \
6417 for flag in $(EXTRA_HOST_FLAGS) ; do \
6418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6419 done; \
6420 echo "Doing distclean in dosutils" ; \
6421 (cd dosutils && \
6422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6424 "RANLIB=$${RANLIB}" \
6425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6426 distclean) \
6427 || exit 1
6429 @endif dosutils
6431 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6432 maybe-maintainer-clean-dosutils:
6433 @if dosutils
6434 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6436 maintainer-clean-dosutils:
6437 @[ -f ./dosutils/Makefile ] || exit 0; \
6438 r=`${PWD_COMMAND}`; export r; \
6439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6440 $(SET_LIB_PATH) \
6441 $(HOST_EXPORTS) \
6442 for flag in $(EXTRA_HOST_FLAGS) ; do \
6443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6444 done; \
6445 echo "Doing maintainer-clean in dosutils" ; \
6446 (cd dosutils && \
6447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6449 "RANLIB=$${RANLIB}" \
6450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6451 maintainer-clean) \
6452 || exit 1
6454 @endif dosutils
6457 .PHONY: configure-etc maybe-configure-etc
6458 maybe-configure-etc:
6459 @if etc
6460 maybe-configure-etc: configure-etc
6461 configure-etc:
6462 @test ! -f etc/Makefile || exit 0; \
6463 [ -d etc ] || mkdir etc; \
6464 r=`${PWD_COMMAND}`; export r; \
6465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6466 $(HOST_EXPORTS) \
6467 echo Configuring in etc; \
6468 cd etc || exit 1; \
6469 case $(srcdir) in \
6470 \.) \
6471 srcdiroption="--srcdir=."; \
6472 libsrcdir=".";; \
6473 /* | [A-Za-z]:[\\/]*) \
6474 srcdiroption="--srcdir=$(srcdir)/etc"; \
6475 libsrcdir="$$s/etc";; \
6476 *) \
6477 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6478 libsrcdir="$$s/etc";; \
6479 esac; \
6480 $(SHELL) $${libsrcdir}/configure \
6481 $(HOST_CONFIGARGS) $${srcdiroption} \
6482 || exit 1
6483 @endif etc
6485 .PHONY: all-etc maybe-all-etc
6486 maybe-all-etc:
6487 @if etc
6488 maybe-all-etc: all-etc
6489 all-etc: configure-etc
6490 @r=`${PWD_COMMAND}`; export r; \
6491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6492 $(SET_LIB_PATH) \
6493 $(HOST_EXPORTS) \
6494 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
6495 @endif etc
6497 .PHONY: check-etc maybe-check-etc
6498 maybe-check-etc:
6499 @if etc
6500 maybe-check-etc: check-etc
6502 check-etc:
6503 @r=`${PWD_COMMAND}`; export r; \
6504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6505 $(SET_LIB_PATH) \
6506 $(HOST_EXPORTS) \
6507 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6509 @endif etc
6511 .PHONY: install-etc maybe-install-etc
6512 maybe-install-etc:
6513 @if etc
6514 maybe-install-etc: install-etc
6516 install-etc: installdirs
6517 @r=`${PWD_COMMAND}`; export r; \
6518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6519 $(SET_LIB_PATH) \
6520 $(HOST_EXPORTS) \
6521 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6523 @endif etc
6525 # Other targets (info, dvi, etc.)
6527 .PHONY: maybe-info-etc info-etc
6528 maybe-info-etc:
6529 @if etc
6530 maybe-info-etc: info-etc
6532 info-etc: \
6533 configure-etc
6534 @[ -f ./etc/Makefile ] || exit 0; \
6535 r=`${PWD_COMMAND}`; export r; \
6536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6537 $(SET_LIB_PATH) \
6538 $(HOST_EXPORTS) \
6539 for flag in $(EXTRA_HOST_FLAGS) ; do \
6540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6541 done; \
6542 echo "Doing info in etc" ; \
6543 (cd etc && \
6544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6546 "RANLIB=$${RANLIB}" \
6547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6548 info) \
6549 || exit 1
6551 @endif etc
6553 .PHONY: maybe-dvi-etc dvi-etc
6554 maybe-dvi-etc:
6555 @if etc
6556 maybe-dvi-etc: dvi-etc
6558 dvi-etc: \
6559 configure-etc
6560 @[ -f ./etc/Makefile ] || exit 0; \
6561 r=`${PWD_COMMAND}`; export r; \
6562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6563 $(SET_LIB_PATH) \
6564 $(HOST_EXPORTS) \
6565 for flag in $(EXTRA_HOST_FLAGS) ; do \
6566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6567 done; \
6568 echo "Doing dvi in etc" ; \
6569 (cd etc && \
6570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6572 "RANLIB=$${RANLIB}" \
6573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6574 dvi) \
6575 || exit 1
6577 @endif etc
6579 .PHONY: maybe-TAGS-etc TAGS-etc
6580 maybe-TAGS-etc:
6581 @if etc
6582 maybe-TAGS-etc: TAGS-etc
6584 TAGS-etc: \
6585 configure-etc
6586 @[ -f ./etc/Makefile ] || exit 0; \
6587 r=`${PWD_COMMAND}`; export r; \
6588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6589 $(SET_LIB_PATH) \
6590 $(HOST_EXPORTS) \
6591 for flag in $(EXTRA_HOST_FLAGS) ; do \
6592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6593 done; \
6594 echo "Doing TAGS in etc" ; \
6595 (cd etc && \
6596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6598 "RANLIB=$${RANLIB}" \
6599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6600 TAGS) \
6601 || exit 1
6603 @endif etc
6605 .PHONY: maybe-install-info-etc install-info-etc
6606 maybe-install-info-etc:
6607 @if etc
6608 maybe-install-info-etc: install-info-etc
6610 install-info-etc: \
6611 configure-etc \
6612 info-etc
6613 @[ -f ./etc/Makefile ] || exit 0; \
6614 r=`${PWD_COMMAND}`; export r; \
6615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6616 $(SET_LIB_PATH) \
6617 $(HOST_EXPORTS) \
6618 for flag in $(EXTRA_HOST_FLAGS) ; do \
6619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6620 done; \
6621 echo "Doing install-info in etc" ; \
6622 (cd etc && \
6623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6625 "RANLIB=$${RANLIB}" \
6626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6627 install-info) \
6628 || exit 1
6630 @endif etc
6632 .PHONY: maybe-installcheck-etc installcheck-etc
6633 maybe-installcheck-etc:
6634 @if etc
6635 maybe-installcheck-etc: installcheck-etc
6637 installcheck-etc: \
6638 configure-etc
6639 @[ -f ./etc/Makefile ] || exit 0; \
6640 r=`${PWD_COMMAND}`; export r; \
6641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6642 $(SET_LIB_PATH) \
6643 $(HOST_EXPORTS) \
6644 for flag in $(EXTRA_HOST_FLAGS) ; do \
6645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6646 done; \
6647 echo "Doing installcheck in etc" ; \
6648 (cd etc && \
6649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6651 "RANLIB=$${RANLIB}" \
6652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6653 installcheck) \
6654 || exit 1
6656 @endif etc
6658 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6659 maybe-mostlyclean-etc:
6660 @if etc
6661 maybe-mostlyclean-etc: mostlyclean-etc
6663 mostlyclean-etc:
6664 @[ -f ./etc/Makefile ] || exit 0; \
6665 r=`${PWD_COMMAND}`; export r; \
6666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6667 $(SET_LIB_PATH) \
6668 $(HOST_EXPORTS) \
6669 for flag in $(EXTRA_HOST_FLAGS) ; do \
6670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6671 done; \
6672 echo "Doing mostlyclean in etc" ; \
6673 (cd etc && \
6674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6676 "RANLIB=$${RANLIB}" \
6677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6678 mostlyclean) \
6679 || exit 1
6681 @endif etc
6683 .PHONY: maybe-clean-etc clean-etc
6684 maybe-clean-etc:
6685 @if etc
6686 maybe-clean-etc: clean-etc
6688 clean-etc:
6689 @[ -f ./etc/Makefile ] || exit 0; \
6690 r=`${PWD_COMMAND}`; export r; \
6691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6692 $(SET_LIB_PATH) \
6693 $(HOST_EXPORTS) \
6694 for flag in $(EXTRA_HOST_FLAGS) ; do \
6695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6696 done; \
6697 echo "Doing clean in etc" ; \
6698 (cd etc && \
6699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6701 "RANLIB=$${RANLIB}" \
6702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6703 clean) \
6704 || exit 1
6706 @endif etc
6708 .PHONY: maybe-distclean-etc distclean-etc
6709 maybe-distclean-etc:
6710 @if etc
6711 maybe-distclean-etc: distclean-etc
6713 distclean-etc:
6714 @[ -f ./etc/Makefile ] || exit 0; \
6715 r=`${PWD_COMMAND}`; export r; \
6716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6717 $(SET_LIB_PATH) \
6718 $(HOST_EXPORTS) \
6719 for flag in $(EXTRA_HOST_FLAGS) ; do \
6720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6721 done; \
6722 echo "Doing distclean in etc" ; \
6723 (cd etc && \
6724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6726 "RANLIB=$${RANLIB}" \
6727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6728 distclean) \
6729 || exit 1
6731 @endif etc
6733 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6734 maybe-maintainer-clean-etc:
6735 @if etc
6736 maybe-maintainer-clean-etc: maintainer-clean-etc
6738 maintainer-clean-etc:
6739 @[ -f ./etc/Makefile ] || exit 0; \
6740 r=`${PWD_COMMAND}`; export r; \
6741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6742 $(SET_LIB_PATH) \
6743 $(HOST_EXPORTS) \
6744 for flag in $(EXTRA_HOST_FLAGS) ; do \
6745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6746 done; \
6747 echo "Doing maintainer-clean in etc" ; \
6748 (cd etc && \
6749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6751 "RANLIB=$${RANLIB}" \
6752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6753 maintainer-clean) \
6754 || exit 1
6756 @endif etc
6759 .PHONY: configure-fastjar maybe-configure-fastjar
6760 maybe-configure-fastjar:
6761 @if fastjar
6762 maybe-configure-fastjar: configure-fastjar
6763 configure-fastjar:
6764 @test ! -f fastjar/Makefile || exit 0; \
6765 [ -d fastjar ] || mkdir fastjar; \
6766 r=`${PWD_COMMAND}`; export r; \
6767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6768 $(HOST_EXPORTS) \
6769 echo Configuring in fastjar; \
6770 cd fastjar || exit 1; \
6771 case $(srcdir) in \
6772 \.) \
6773 srcdiroption="--srcdir=."; \
6774 libsrcdir=".";; \
6775 /* | [A-Za-z]:[\\/]*) \
6776 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6777 libsrcdir="$$s/fastjar";; \
6778 *) \
6779 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6780 libsrcdir="$$s/fastjar";; \
6781 esac; \
6782 $(SHELL) $${libsrcdir}/configure \
6783 $(HOST_CONFIGARGS) $${srcdiroption} \
6784 || exit 1
6785 @endif fastjar
6787 .PHONY: all-fastjar maybe-all-fastjar
6788 maybe-all-fastjar:
6789 @if fastjar
6790 maybe-all-fastjar: all-fastjar
6791 all-fastjar: configure-fastjar
6792 @r=`${PWD_COMMAND}`; export r; \
6793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6794 $(SET_LIB_PATH) \
6795 $(HOST_EXPORTS) \
6796 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
6797 @endif fastjar
6799 .PHONY: check-fastjar maybe-check-fastjar
6800 maybe-check-fastjar:
6801 @if fastjar
6802 maybe-check-fastjar: check-fastjar
6804 # This module is only tested in a native toolchain.
6805 check-fastjar:
6806 @if [ '$(host)' = '$(target)' ] ; then \
6807 r=`${PWD_COMMAND}`; export r; \
6808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6809 $(SET_LIB_PATH) \
6810 $(HOST_EXPORTS) \
6811 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6814 @endif fastjar
6816 .PHONY: install-fastjar maybe-install-fastjar
6817 maybe-install-fastjar:
6818 @if fastjar
6819 maybe-install-fastjar: install-fastjar
6821 install-fastjar: installdirs
6822 @r=`${PWD_COMMAND}`; export r; \
6823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6824 $(SET_LIB_PATH) \
6825 $(HOST_EXPORTS) \
6826 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6828 @endif fastjar
6830 # Other targets (info, dvi, etc.)
6832 .PHONY: maybe-info-fastjar info-fastjar
6833 maybe-info-fastjar:
6834 @if fastjar
6835 maybe-info-fastjar: info-fastjar
6837 info-fastjar: \
6838 configure-fastjar
6839 @[ -f ./fastjar/Makefile ] || exit 0; \
6840 r=`${PWD_COMMAND}`; export r; \
6841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6842 $(SET_LIB_PATH) \
6843 $(HOST_EXPORTS) \
6844 for flag in $(EXTRA_HOST_FLAGS) ; do \
6845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6846 done; \
6847 echo "Doing info in fastjar" ; \
6848 (cd fastjar && \
6849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6851 "RANLIB=$${RANLIB}" \
6852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6853 info) \
6854 || exit 1
6856 @endif fastjar
6858 .PHONY: maybe-dvi-fastjar dvi-fastjar
6859 maybe-dvi-fastjar:
6860 @if fastjar
6861 maybe-dvi-fastjar: dvi-fastjar
6863 dvi-fastjar: \
6864 configure-fastjar
6865 @[ -f ./fastjar/Makefile ] || exit 0; \
6866 r=`${PWD_COMMAND}`; export r; \
6867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6868 $(SET_LIB_PATH) \
6869 $(HOST_EXPORTS) \
6870 for flag in $(EXTRA_HOST_FLAGS) ; do \
6871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6872 done; \
6873 echo "Doing dvi in fastjar" ; \
6874 (cd fastjar && \
6875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6877 "RANLIB=$${RANLIB}" \
6878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6879 dvi) \
6880 || exit 1
6882 @endif fastjar
6884 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6885 maybe-TAGS-fastjar:
6886 @if fastjar
6887 maybe-TAGS-fastjar: TAGS-fastjar
6889 TAGS-fastjar: \
6890 configure-fastjar
6891 @[ -f ./fastjar/Makefile ] || exit 0; \
6892 r=`${PWD_COMMAND}`; export r; \
6893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6894 $(SET_LIB_PATH) \
6895 $(HOST_EXPORTS) \
6896 for flag in $(EXTRA_HOST_FLAGS) ; do \
6897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6898 done; \
6899 echo "Doing TAGS in fastjar" ; \
6900 (cd fastjar && \
6901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6903 "RANLIB=$${RANLIB}" \
6904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6905 TAGS) \
6906 || exit 1
6908 @endif fastjar
6910 .PHONY: maybe-install-info-fastjar install-info-fastjar
6911 maybe-install-info-fastjar:
6912 @if fastjar
6913 maybe-install-info-fastjar: install-info-fastjar
6915 install-info-fastjar: \
6916 configure-fastjar \
6917 info-fastjar
6918 @[ -f ./fastjar/Makefile ] || exit 0; \
6919 r=`${PWD_COMMAND}`; export r; \
6920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6921 $(SET_LIB_PATH) \
6922 $(HOST_EXPORTS) \
6923 for flag in $(EXTRA_HOST_FLAGS) ; do \
6924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6925 done; \
6926 echo "Doing install-info in fastjar" ; \
6927 (cd fastjar && \
6928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6930 "RANLIB=$${RANLIB}" \
6931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6932 install-info) \
6933 || exit 1
6935 @endif fastjar
6937 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6938 maybe-installcheck-fastjar:
6939 @if fastjar
6940 maybe-installcheck-fastjar: installcheck-fastjar
6942 installcheck-fastjar: \
6943 configure-fastjar
6944 @[ -f ./fastjar/Makefile ] || exit 0; \
6945 r=`${PWD_COMMAND}`; export r; \
6946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6947 $(SET_LIB_PATH) \
6948 $(HOST_EXPORTS) \
6949 for flag in $(EXTRA_HOST_FLAGS) ; do \
6950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6951 done; \
6952 echo "Doing installcheck in fastjar" ; \
6953 (cd fastjar && \
6954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6956 "RANLIB=$${RANLIB}" \
6957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6958 installcheck) \
6959 || exit 1
6961 @endif fastjar
6963 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6964 maybe-mostlyclean-fastjar:
6965 @if fastjar
6966 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6968 mostlyclean-fastjar:
6969 @[ -f ./fastjar/Makefile ] || exit 0; \
6970 r=`${PWD_COMMAND}`; export r; \
6971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6972 $(SET_LIB_PATH) \
6973 $(HOST_EXPORTS) \
6974 for flag in $(EXTRA_HOST_FLAGS) ; do \
6975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6976 done; \
6977 echo "Doing mostlyclean in fastjar" ; \
6978 (cd fastjar && \
6979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6981 "RANLIB=$${RANLIB}" \
6982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6983 mostlyclean) \
6984 || exit 1
6986 @endif fastjar
6988 .PHONY: maybe-clean-fastjar clean-fastjar
6989 maybe-clean-fastjar:
6990 @if fastjar
6991 maybe-clean-fastjar: clean-fastjar
6993 clean-fastjar:
6994 @[ -f ./fastjar/Makefile ] || exit 0; \
6995 r=`${PWD_COMMAND}`; export r; \
6996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6997 $(SET_LIB_PATH) \
6998 $(HOST_EXPORTS) \
6999 for flag in $(EXTRA_HOST_FLAGS) ; do \
7000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7001 done; \
7002 echo "Doing clean in fastjar" ; \
7003 (cd fastjar && \
7004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7006 "RANLIB=$${RANLIB}" \
7007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7008 clean) \
7009 || exit 1
7011 @endif fastjar
7013 .PHONY: maybe-distclean-fastjar distclean-fastjar
7014 maybe-distclean-fastjar:
7015 @if fastjar
7016 maybe-distclean-fastjar: distclean-fastjar
7018 distclean-fastjar:
7019 @[ -f ./fastjar/Makefile ] || exit 0; \
7020 r=`${PWD_COMMAND}`; export r; \
7021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7022 $(SET_LIB_PATH) \
7023 $(HOST_EXPORTS) \
7024 for flag in $(EXTRA_HOST_FLAGS) ; do \
7025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7026 done; \
7027 echo "Doing distclean in fastjar" ; \
7028 (cd fastjar && \
7029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7031 "RANLIB=$${RANLIB}" \
7032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7033 distclean) \
7034 || exit 1
7036 @endif fastjar
7038 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7039 maybe-maintainer-clean-fastjar:
7040 @if fastjar
7041 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7043 maintainer-clean-fastjar:
7044 @[ -f ./fastjar/Makefile ] || exit 0; \
7045 r=`${PWD_COMMAND}`; export r; \
7046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7047 $(SET_LIB_PATH) \
7048 $(HOST_EXPORTS) \
7049 for flag in $(EXTRA_HOST_FLAGS) ; do \
7050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7051 done; \
7052 echo "Doing maintainer-clean in fastjar" ; \
7053 (cd fastjar && \
7054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7056 "RANLIB=$${RANLIB}" \
7057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7058 maintainer-clean) \
7059 || exit 1
7061 @endif fastjar
7064 .PHONY: configure-fileutils maybe-configure-fileutils
7065 maybe-configure-fileutils:
7066 @if fileutils
7067 maybe-configure-fileutils: configure-fileutils
7068 configure-fileutils:
7069 @test ! -f fileutils/Makefile || exit 0; \
7070 [ -d fileutils ] || mkdir fileutils; \
7071 r=`${PWD_COMMAND}`; export r; \
7072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7073 $(HOST_EXPORTS) \
7074 echo Configuring in fileutils; \
7075 cd fileutils || exit 1; \
7076 case $(srcdir) in \
7077 \.) \
7078 srcdiroption="--srcdir=."; \
7079 libsrcdir=".";; \
7080 /* | [A-Za-z]:[\\/]*) \
7081 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7082 libsrcdir="$$s/fileutils";; \
7083 *) \
7084 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7085 libsrcdir="$$s/fileutils";; \
7086 esac; \
7087 $(SHELL) $${libsrcdir}/configure \
7088 $(HOST_CONFIGARGS) $${srcdiroption} \
7089 || exit 1
7090 @endif fileutils
7092 .PHONY: all-fileutils maybe-all-fileutils
7093 maybe-all-fileutils:
7094 @if fileutils
7095 maybe-all-fileutils: all-fileutils
7096 all-fileutils: configure-fileutils
7097 @r=`${PWD_COMMAND}`; export r; \
7098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7099 $(SET_LIB_PATH) \
7100 $(HOST_EXPORTS) \
7101 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
7102 @endif fileutils
7104 .PHONY: check-fileutils maybe-check-fileutils
7105 maybe-check-fileutils:
7106 @if fileutils
7107 maybe-check-fileutils: check-fileutils
7109 check-fileutils:
7110 @r=`${PWD_COMMAND}`; export r; \
7111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7112 $(SET_LIB_PATH) \
7113 $(HOST_EXPORTS) \
7114 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7116 @endif fileutils
7118 .PHONY: install-fileutils maybe-install-fileutils
7119 maybe-install-fileutils:
7120 @if fileutils
7121 maybe-install-fileutils: install-fileutils
7123 install-fileutils: installdirs
7124 @r=`${PWD_COMMAND}`; export r; \
7125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7126 $(SET_LIB_PATH) \
7127 $(HOST_EXPORTS) \
7128 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7130 @endif fileutils
7132 # Other targets (info, dvi, etc.)
7134 .PHONY: maybe-info-fileutils info-fileutils
7135 maybe-info-fileutils:
7136 @if fileutils
7137 maybe-info-fileutils: info-fileutils
7139 info-fileutils: \
7140 configure-fileutils
7141 @[ -f ./fileutils/Makefile ] || exit 0; \
7142 r=`${PWD_COMMAND}`; export r; \
7143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7144 $(SET_LIB_PATH) \
7145 $(HOST_EXPORTS) \
7146 for flag in $(EXTRA_HOST_FLAGS) ; do \
7147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7148 done; \
7149 echo "Doing info in fileutils" ; \
7150 (cd fileutils && \
7151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7153 "RANLIB=$${RANLIB}" \
7154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7155 info) \
7156 || exit 1
7158 @endif fileutils
7160 .PHONY: maybe-dvi-fileutils dvi-fileutils
7161 maybe-dvi-fileutils:
7162 @if fileutils
7163 maybe-dvi-fileutils: dvi-fileutils
7165 dvi-fileutils: \
7166 configure-fileutils
7167 @[ -f ./fileutils/Makefile ] || exit 0; \
7168 r=`${PWD_COMMAND}`; export r; \
7169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7170 $(SET_LIB_PATH) \
7171 $(HOST_EXPORTS) \
7172 for flag in $(EXTRA_HOST_FLAGS) ; do \
7173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7174 done; \
7175 echo "Doing dvi in fileutils" ; \
7176 (cd fileutils && \
7177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7179 "RANLIB=$${RANLIB}" \
7180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7181 dvi) \
7182 || exit 1
7184 @endif fileutils
7186 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7187 maybe-TAGS-fileutils:
7188 @if fileutils
7189 maybe-TAGS-fileutils: TAGS-fileutils
7191 TAGS-fileutils: \
7192 configure-fileutils
7193 @[ -f ./fileutils/Makefile ] || exit 0; \
7194 r=`${PWD_COMMAND}`; export r; \
7195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7196 $(SET_LIB_PATH) \
7197 $(HOST_EXPORTS) \
7198 for flag in $(EXTRA_HOST_FLAGS) ; do \
7199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7200 done; \
7201 echo "Doing TAGS in fileutils" ; \
7202 (cd fileutils && \
7203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7205 "RANLIB=$${RANLIB}" \
7206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7207 TAGS) \
7208 || exit 1
7210 @endif fileutils
7212 .PHONY: maybe-install-info-fileutils install-info-fileutils
7213 maybe-install-info-fileutils:
7214 @if fileutils
7215 maybe-install-info-fileutils: install-info-fileutils
7217 install-info-fileutils: \
7218 configure-fileutils \
7219 info-fileutils
7220 @[ -f ./fileutils/Makefile ] || exit 0; \
7221 r=`${PWD_COMMAND}`; export r; \
7222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7223 $(SET_LIB_PATH) \
7224 $(HOST_EXPORTS) \
7225 for flag in $(EXTRA_HOST_FLAGS) ; do \
7226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7227 done; \
7228 echo "Doing install-info in fileutils" ; \
7229 (cd fileutils && \
7230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7232 "RANLIB=$${RANLIB}" \
7233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7234 install-info) \
7235 || exit 1
7237 @endif fileutils
7239 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7240 maybe-installcheck-fileutils:
7241 @if fileutils
7242 maybe-installcheck-fileutils: installcheck-fileutils
7244 installcheck-fileutils: \
7245 configure-fileutils
7246 @[ -f ./fileutils/Makefile ] || exit 0; \
7247 r=`${PWD_COMMAND}`; export r; \
7248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7249 $(SET_LIB_PATH) \
7250 $(HOST_EXPORTS) \
7251 for flag in $(EXTRA_HOST_FLAGS) ; do \
7252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7253 done; \
7254 echo "Doing installcheck in fileutils" ; \
7255 (cd fileutils && \
7256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7258 "RANLIB=$${RANLIB}" \
7259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7260 installcheck) \
7261 || exit 1
7263 @endif fileutils
7265 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7266 maybe-mostlyclean-fileutils:
7267 @if fileutils
7268 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7270 mostlyclean-fileutils:
7271 @[ -f ./fileutils/Makefile ] || exit 0; \
7272 r=`${PWD_COMMAND}`; export r; \
7273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7274 $(SET_LIB_PATH) \
7275 $(HOST_EXPORTS) \
7276 for flag in $(EXTRA_HOST_FLAGS) ; do \
7277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7278 done; \
7279 echo "Doing mostlyclean in fileutils" ; \
7280 (cd fileutils && \
7281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7283 "RANLIB=$${RANLIB}" \
7284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7285 mostlyclean) \
7286 || exit 1
7288 @endif fileutils
7290 .PHONY: maybe-clean-fileutils clean-fileutils
7291 maybe-clean-fileutils:
7292 @if fileutils
7293 maybe-clean-fileutils: clean-fileutils
7295 clean-fileutils:
7296 @[ -f ./fileutils/Makefile ] || exit 0; \
7297 r=`${PWD_COMMAND}`; export r; \
7298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7299 $(SET_LIB_PATH) \
7300 $(HOST_EXPORTS) \
7301 for flag in $(EXTRA_HOST_FLAGS) ; do \
7302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7303 done; \
7304 echo "Doing clean in fileutils" ; \
7305 (cd fileutils && \
7306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7308 "RANLIB=$${RANLIB}" \
7309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7310 clean) \
7311 || exit 1
7313 @endif fileutils
7315 .PHONY: maybe-distclean-fileutils distclean-fileutils
7316 maybe-distclean-fileutils:
7317 @if fileutils
7318 maybe-distclean-fileutils: distclean-fileutils
7320 distclean-fileutils:
7321 @[ -f ./fileutils/Makefile ] || exit 0; \
7322 r=`${PWD_COMMAND}`; export r; \
7323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7324 $(SET_LIB_PATH) \
7325 $(HOST_EXPORTS) \
7326 for flag in $(EXTRA_HOST_FLAGS) ; do \
7327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7328 done; \
7329 echo "Doing distclean in fileutils" ; \
7330 (cd fileutils && \
7331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7333 "RANLIB=$${RANLIB}" \
7334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7335 distclean) \
7336 || exit 1
7338 @endif fileutils
7340 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7341 maybe-maintainer-clean-fileutils:
7342 @if fileutils
7343 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7345 maintainer-clean-fileutils:
7346 @[ -f ./fileutils/Makefile ] || exit 0; \
7347 r=`${PWD_COMMAND}`; export r; \
7348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7349 $(SET_LIB_PATH) \
7350 $(HOST_EXPORTS) \
7351 for flag in $(EXTRA_HOST_FLAGS) ; do \
7352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7353 done; \
7354 echo "Doing maintainer-clean in fileutils" ; \
7355 (cd fileutils && \
7356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7358 "RANLIB=$${RANLIB}" \
7359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7360 maintainer-clean) \
7361 || exit 1
7363 @endif fileutils
7366 .PHONY: configure-findutils maybe-configure-findutils
7367 maybe-configure-findutils:
7368 @if findutils
7369 maybe-configure-findutils: configure-findutils
7370 configure-findutils:
7371 @test ! -f findutils/Makefile || exit 0; \
7372 [ -d findutils ] || mkdir findutils; \
7373 r=`${PWD_COMMAND}`; export r; \
7374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7375 $(HOST_EXPORTS) \
7376 echo Configuring in findutils; \
7377 cd findutils || exit 1; \
7378 case $(srcdir) in \
7379 \.) \
7380 srcdiroption="--srcdir=."; \
7381 libsrcdir=".";; \
7382 /* | [A-Za-z]:[\\/]*) \
7383 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7384 libsrcdir="$$s/findutils";; \
7385 *) \
7386 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7387 libsrcdir="$$s/findutils";; \
7388 esac; \
7389 $(SHELL) $${libsrcdir}/configure \
7390 $(HOST_CONFIGARGS) $${srcdiroption} \
7391 || exit 1
7392 @endif findutils
7394 .PHONY: all-findutils maybe-all-findutils
7395 maybe-all-findutils:
7396 @if findutils
7397 maybe-all-findutils: all-findutils
7398 all-findutils: configure-findutils
7399 @r=`${PWD_COMMAND}`; export r; \
7400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7401 $(SET_LIB_PATH) \
7402 $(HOST_EXPORTS) \
7403 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
7404 @endif findutils
7406 .PHONY: check-findutils maybe-check-findutils
7407 maybe-check-findutils:
7408 @if findutils
7409 maybe-check-findutils: check-findutils
7411 check-findutils:
7412 @r=`${PWD_COMMAND}`; export r; \
7413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7414 $(SET_LIB_PATH) \
7415 $(HOST_EXPORTS) \
7416 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7418 @endif findutils
7420 .PHONY: install-findutils maybe-install-findutils
7421 maybe-install-findutils:
7422 @if findutils
7423 maybe-install-findutils: install-findutils
7425 install-findutils: installdirs
7426 @r=`${PWD_COMMAND}`; export r; \
7427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7428 $(SET_LIB_PATH) \
7429 $(HOST_EXPORTS) \
7430 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7432 @endif findutils
7434 # Other targets (info, dvi, etc.)
7436 .PHONY: maybe-info-findutils info-findutils
7437 maybe-info-findutils:
7438 @if findutils
7439 maybe-info-findutils: info-findutils
7441 info-findutils: \
7442 configure-findutils
7443 @[ -f ./findutils/Makefile ] || exit 0; \
7444 r=`${PWD_COMMAND}`; export r; \
7445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7446 $(SET_LIB_PATH) \
7447 $(HOST_EXPORTS) \
7448 for flag in $(EXTRA_HOST_FLAGS) ; do \
7449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7450 done; \
7451 echo "Doing info in findutils" ; \
7452 (cd findutils && \
7453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7455 "RANLIB=$${RANLIB}" \
7456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7457 info) \
7458 || exit 1
7460 @endif findutils
7462 .PHONY: maybe-dvi-findutils dvi-findutils
7463 maybe-dvi-findutils:
7464 @if findutils
7465 maybe-dvi-findutils: dvi-findutils
7467 dvi-findutils: \
7468 configure-findutils
7469 @[ -f ./findutils/Makefile ] || exit 0; \
7470 r=`${PWD_COMMAND}`; export r; \
7471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7472 $(SET_LIB_PATH) \
7473 $(HOST_EXPORTS) \
7474 for flag in $(EXTRA_HOST_FLAGS) ; do \
7475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7476 done; \
7477 echo "Doing dvi in findutils" ; \
7478 (cd findutils && \
7479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7481 "RANLIB=$${RANLIB}" \
7482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7483 dvi) \
7484 || exit 1
7486 @endif findutils
7488 .PHONY: maybe-TAGS-findutils TAGS-findutils
7489 maybe-TAGS-findutils:
7490 @if findutils
7491 maybe-TAGS-findutils: TAGS-findutils
7493 TAGS-findutils: \
7494 configure-findutils
7495 @[ -f ./findutils/Makefile ] || exit 0; \
7496 r=`${PWD_COMMAND}`; export r; \
7497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7498 $(SET_LIB_PATH) \
7499 $(HOST_EXPORTS) \
7500 for flag in $(EXTRA_HOST_FLAGS) ; do \
7501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7502 done; \
7503 echo "Doing TAGS in findutils" ; \
7504 (cd findutils && \
7505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7507 "RANLIB=$${RANLIB}" \
7508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7509 TAGS) \
7510 || exit 1
7512 @endif findutils
7514 .PHONY: maybe-install-info-findutils install-info-findutils
7515 maybe-install-info-findutils:
7516 @if findutils
7517 maybe-install-info-findutils: install-info-findutils
7519 install-info-findutils: \
7520 configure-findutils \
7521 info-findutils
7522 @[ -f ./findutils/Makefile ] || exit 0; \
7523 r=`${PWD_COMMAND}`; export r; \
7524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7525 $(SET_LIB_PATH) \
7526 $(HOST_EXPORTS) \
7527 for flag in $(EXTRA_HOST_FLAGS) ; do \
7528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7529 done; \
7530 echo "Doing install-info in findutils" ; \
7531 (cd findutils && \
7532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7534 "RANLIB=$${RANLIB}" \
7535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7536 install-info) \
7537 || exit 1
7539 @endif findutils
7541 .PHONY: maybe-installcheck-findutils installcheck-findutils
7542 maybe-installcheck-findutils:
7543 @if findutils
7544 maybe-installcheck-findutils: installcheck-findutils
7546 installcheck-findutils: \
7547 configure-findutils
7548 @[ -f ./findutils/Makefile ] || exit 0; \
7549 r=`${PWD_COMMAND}`; export r; \
7550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7551 $(SET_LIB_PATH) \
7552 $(HOST_EXPORTS) \
7553 for flag in $(EXTRA_HOST_FLAGS) ; do \
7554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7555 done; \
7556 echo "Doing installcheck in findutils" ; \
7557 (cd findutils && \
7558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7560 "RANLIB=$${RANLIB}" \
7561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7562 installcheck) \
7563 || exit 1
7565 @endif findutils
7567 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7568 maybe-mostlyclean-findutils:
7569 @if findutils
7570 maybe-mostlyclean-findutils: mostlyclean-findutils
7572 mostlyclean-findutils:
7573 @[ -f ./findutils/Makefile ] || exit 0; \
7574 r=`${PWD_COMMAND}`; export r; \
7575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7576 $(SET_LIB_PATH) \
7577 $(HOST_EXPORTS) \
7578 for flag in $(EXTRA_HOST_FLAGS) ; do \
7579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7580 done; \
7581 echo "Doing mostlyclean in findutils" ; \
7582 (cd findutils && \
7583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7585 "RANLIB=$${RANLIB}" \
7586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7587 mostlyclean) \
7588 || exit 1
7590 @endif findutils
7592 .PHONY: maybe-clean-findutils clean-findutils
7593 maybe-clean-findutils:
7594 @if findutils
7595 maybe-clean-findutils: clean-findutils
7597 clean-findutils:
7598 @[ -f ./findutils/Makefile ] || exit 0; \
7599 r=`${PWD_COMMAND}`; export r; \
7600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7601 $(SET_LIB_PATH) \
7602 $(HOST_EXPORTS) \
7603 for flag in $(EXTRA_HOST_FLAGS) ; do \
7604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7605 done; \
7606 echo "Doing clean in findutils" ; \
7607 (cd findutils && \
7608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7610 "RANLIB=$${RANLIB}" \
7611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7612 clean) \
7613 || exit 1
7615 @endif findutils
7617 .PHONY: maybe-distclean-findutils distclean-findutils
7618 maybe-distclean-findutils:
7619 @if findutils
7620 maybe-distclean-findutils: distclean-findutils
7622 distclean-findutils:
7623 @[ -f ./findutils/Makefile ] || exit 0; \
7624 r=`${PWD_COMMAND}`; export r; \
7625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7626 $(SET_LIB_PATH) \
7627 $(HOST_EXPORTS) \
7628 for flag in $(EXTRA_HOST_FLAGS) ; do \
7629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7630 done; \
7631 echo "Doing distclean in findutils" ; \
7632 (cd findutils && \
7633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7635 "RANLIB=$${RANLIB}" \
7636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7637 distclean) \
7638 || exit 1
7640 @endif findutils
7642 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7643 maybe-maintainer-clean-findutils:
7644 @if findutils
7645 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7647 maintainer-clean-findutils:
7648 @[ -f ./findutils/Makefile ] || exit 0; \
7649 r=`${PWD_COMMAND}`; export r; \
7650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7651 $(SET_LIB_PATH) \
7652 $(HOST_EXPORTS) \
7653 for flag in $(EXTRA_HOST_FLAGS) ; do \
7654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7655 done; \
7656 echo "Doing maintainer-clean in findutils" ; \
7657 (cd findutils && \
7658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7660 "RANLIB=$${RANLIB}" \
7661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7662 maintainer-clean) \
7663 || exit 1
7665 @endif findutils
7668 .PHONY: configure-find maybe-configure-find
7669 maybe-configure-find:
7670 @if find
7671 maybe-configure-find: configure-find
7672 configure-find:
7673 @test ! -f find/Makefile || exit 0; \
7674 [ -d find ] || mkdir find; \
7675 r=`${PWD_COMMAND}`; export r; \
7676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7677 $(HOST_EXPORTS) \
7678 echo Configuring in find; \
7679 cd find || exit 1; \
7680 case $(srcdir) in \
7681 \.) \
7682 srcdiroption="--srcdir=."; \
7683 libsrcdir=".";; \
7684 /* | [A-Za-z]:[\\/]*) \
7685 srcdiroption="--srcdir=$(srcdir)/find"; \
7686 libsrcdir="$$s/find";; \
7687 *) \
7688 srcdiroption="--srcdir=../$(srcdir)/find"; \
7689 libsrcdir="$$s/find";; \
7690 esac; \
7691 $(SHELL) $${libsrcdir}/configure \
7692 $(HOST_CONFIGARGS) $${srcdiroption} \
7693 || exit 1
7694 @endif find
7696 .PHONY: all-find maybe-all-find
7697 maybe-all-find:
7698 @if find
7699 maybe-all-find: all-find
7700 all-find: configure-find
7701 @r=`${PWD_COMMAND}`; export r; \
7702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7703 $(SET_LIB_PATH) \
7704 $(HOST_EXPORTS) \
7705 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
7706 @endif find
7708 .PHONY: check-find maybe-check-find
7709 maybe-check-find:
7710 @if find
7711 maybe-check-find: check-find
7713 check-find:
7714 @r=`${PWD_COMMAND}`; export r; \
7715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7716 $(SET_LIB_PATH) \
7717 $(HOST_EXPORTS) \
7718 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7720 @endif find
7722 .PHONY: install-find maybe-install-find
7723 maybe-install-find:
7724 @if find
7725 maybe-install-find: install-find
7727 install-find: installdirs
7728 @r=`${PWD_COMMAND}`; export r; \
7729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7730 $(SET_LIB_PATH) \
7731 $(HOST_EXPORTS) \
7732 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7734 @endif find
7736 # Other targets (info, dvi, etc.)
7738 .PHONY: maybe-info-find info-find
7739 maybe-info-find:
7740 @if find
7741 maybe-info-find: info-find
7743 info-find: \
7744 configure-find
7745 @[ -f ./find/Makefile ] || exit 0; \
7746 r=`${PWD_COMMAND}`; export r; \
7747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7748 $(SET_LIB_PATH) \
7749 $(HOST_EXPORTS) \
7750 for flag in $(EXTRA_HOST_FLAGS) ; do \
7751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7752 done; \
7753 echo "Doing info in find" ; \
7754 (cd find && \
7755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7757 "RANLIB=$${RANLIB}" \
7758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7759 info) \
7760 || exit 1
7762 @endif find
7764 .PHONY: maybe-dvi-find dvi-find
7765 maybe-dvi-find:
7766 @if find
7767 maybe-dvi-find: dvi-find
7769 dvi-find: \
7770 configure-find
7771 @[ -f ./find/Makefile ] || exit 0; \
7772 r=`${PWD_COMMAND}`; export r; \
7773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7774 $(SET_LIB_PATH) \
7775 $(HOST_EXPORTS) \
7776 for flag in $(EXTRA_HOST_FLAGS) ; do \
7777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7778 done; \
7779 echo "Doing dvi in find" ; \
7780 (cd find && \
7781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7783 "RANLIB=$${RANLIB}" \
7784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7785 dvi) \
7786 || exit 1
7788 @endif find
7790 .PHONY: maybe-TAGS-find TAGS-find
7791 maybe-TAGS-find:
7792 @if find
7793 maybe-TAGS-find: TAGS-find
7795 TAGS-find: \
7796 configure-find
7797 @[ -f ./find/Makefile ] || exit 0; \
7798 r=`${PWD_COMMAND}`; export r; \
7799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7800 $(SET_LIB_PATH) \
7801 $(HOST_EXPORTS) \
7802 for flag in $(EXTRA_HOST_FLAGS) ; do \
7803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7804 done; \
7805 echo "Doing TAGS in find" ; \
7806 (cd find && \
7807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7809 "RANLIB=$${RANLIB}" \
7810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7811 TAGS) \
7812 || exit 1
7814 @endif find
7816 .PHONY: maybe-install-info-find install-info-find
7817 maybe-install-info-find:
7818 @if find
7819 maybe-install-info-find: install-info-find
7821 install-info-find: \
7822 configure-find \
7823 info-find
7824 @[ -f ./find/Makefile ] || exit 0; \
7825 r=`${PWD_COMMAND}`; export r; \
7826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7827 $(SET_LIB_PATH) \
7828 $(HOST_EXPORTS) \
7829 for flag in $(EXTRA_HOST_FLAGS) ; do \
7830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7831 done; \
7832 echo "Doing install-info in find" ; \
7833 (cd find && \
7834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7836 "RANLIB=$${RANLIB}" \
7837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7838 install-info) \
7839 || exit 1
7841 @endif find
7843 .PHONY: maybe-installcheck-find installcheck-find
7844 maybe-installcheck-find:
7845 @if find
7846 maybe-installcheck-find: installcheck-find
7848 installcheck-find: \
7849 configure-find
7850 @[ -f ./find/Makefile ] || exit 0; \
7851 r=`${PWD_COMMAND}`; export r; \
7852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7853 $(SET_LIB_PATH) \
7854 $(HOST_EXPORTS) \
7855 for flag in $(EXTRA_HOST_FLAGS) ; do \
7856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7857 done; \
7858 echo "Doing installcheck in find" ; \
7859 (cd find && \
7860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7862 "RANLIB=$${RANLIB}" \
7863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7864 installcheck) \
7865 || exit 1
7867 @endif find
7869 .PHONY: maybe-mostlyclean-find mostlyclean-find
7870 maybe-mostlyclean-find:
7871 @if find
7872 maybe-mostlyclean-find: mostlyclean-find
7874 mostlyclean-find:
7875 @[ -f ./find/Makefile ] || exit 0; \
7876 r=`${PWD_COMMAND}`; export r; \
7877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7878 $(SET_LIB_PATH) \
7879 $(HOST_EXPORTS) \
7880 for flag in $(EXTRA_HOST_FLAGS) ; do \
7881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7882 done; \
7883 echo "Doing mostlyclean in find" ; \
7884 (cd find && \
7885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7887 "RANLIB=$${RANLIB}" \
7888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7889 mostlyclean) \
7890 || exit 1
7892 @endif find
7894 .PHONY: maybe-clean-find clean-find
7895 maybe-clean-find:
7896 @if find
7897 maybe-clean-find: clean-find
7899 clean-find:
7900 @[ -f ./find/Makefile ] || exit 0; \
7901 r=`${PWD_COMMAND}`; export r; \
7902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7903 $(SET_LIB_PATH) \
7904 $(HOST_EXPORTS) \
7905 for flag in $(EXTRA_HOST_FLAGS) ; do \
7906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7907 done; \
7908 echo "Doing clean in find" ; \
7909 (cd find && \
7910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7912 "RANLIB=$${RANLIB}" \
7913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7914 clean) \
7915 || exit 1
7917 @endif find
7919 .PHONY: maybe-distclean-find distclean-find
7920 maybe-distclean-find:
7921 @if find
7922 maybe-distclean-find: distclean-find
7924 distclean-find:
7925 @[ -f ./find/Makefile ] || exit 0; \
7926 r=`${PWD_COMMAND}`; export r; \
7927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7928 $(SET_LIB_PATH) \
7929 $(HOST_EXPORTS) \
7930 for flag in $(EXTRA_HOST_FLAGS) ; do \
7931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7932 done; \
7933 echo "Doing distclean in find" ; \
7934 (cd find && \
7935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7937 "RANLIB=$${RANLIB}" \
7938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7939 distclean) \
7940 || exit 1
7942 @endif find
7944 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7945 maybe-maintainer-clean-find:
7946 @if find
7947 maybe-maintainer-clean-find: maintainer-clean-find
7949 maintainer-clean-find:
7950 @[ -f ./find/Makefile ] || exit 0; \
7951 r=`${PWD_COMMAND}`; export r; \
7952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7953 $(SET_LIB_PATH) \
7954 $(HOST_EXPORTS) \
7955 for flag in $(EXTRA_HOST_FLAGS) ; do \
7956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7957 done; \
7958 echo "Doing maintainer-clean in find" ; \
7959 (cd find && \
7960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7962 "RANLIB=$${RANLIB}" \
7963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7964 maintainer-clean) \
7965 || exit 1
7967 @endif find
7970 .PHONY: configure-flex maybe-configure-flex
7971 maybe-configure-flex:
7972 @if flex
7973 maybe-configure-flex: configure-flex
7974 configure-flex:
7975 @test ! -f flex/Makefile || exit 0; \
7976 [ -d flex ] || mkdir flex; \
7977 r=`${PWD_COMMAND}`; export r; \
7978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7979 $(HOST_EXPORTS) \
7980 echo Configuring in flex; \
7981 cd flex || exit 1; \
7982 case $(srcdir) in \
7983 \.) \
7984 srcdiroption="--srcdir=."; \
7985 libsrcdir=".";; \
7986 /* | [A-Za-z]:[\\/]*) \
7987 srcdiroption="--srcdir=$(srcdir)/flex"; \
7988 libsrcdir="$$s/flex";; \
7989 *) \
7990 srcdiroption="--srcdir=../$(srcdir)/flex"; \
7991 libsrcdir="$$s/flex";; \
7992 esac; \
7993 $(SHELL) $${libsrcdir}/configure \
7994 $(HOST_CONFIGARGS) $${srcdiroption} \
7995 || exit 1
7996 @endif flex
7998 .PHONY: all-flex maybe-all-flex
7999 maybe-all-flex:
8000 @if flex
8001 maybe-all-flex: all-flex
8002 all-flex: configure-flex
8003 @r=`${PWD_COMMAND}`; export r; \
8004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8005 $(SET_LIB_PATH) \
8006 $(HOST_EXPORTS) \
8007 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
8008 @endif flex
8010 .PHONY: check-flex maybe-check-flex
8011 maybe-check-flex:
8012 @if flex
8013 maybe-check-flex: check-flex
8015 # This module is only tested in a native toolchain.
8016 check-flex:
8017 @if [ '$(host)' = '$(target)' ] ; then \
8018 r=`${PWD_COMMAND}`; export r; \
8019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8020 $(SET_LIB_PATH) \
8021 $(HOST_EXPORTS) \
8022 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8025 @endif flex
8027 .PHONY: install-flex maybe-install-flex
8028 maybe-install-flex:
8029 @if flex
8030 maybe-install-flex: install-flex
8032 install-flex: installdirs
8033 @r=`${PWD_COMMAND}`; export r; \
8034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8035 $(SET_LIB_PATH) \
8036 $(HOST_EXPORTS) \
8037 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8039 @endif flex
8041 # Other targets (info, dvi, etc.)
8043 .PHONY: maybe-info-flex info-flex
8044 maybe-info-flex:
8045 @if flex
8046 maybe-info-flex: info-flex
8048 info-flex: \
8049 configure-flex
8050 @[ -f ./flex/Makefile ] || exit 0; \
8051 r=`${PWD_COMMAND}`; export r; \
8052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8053 $(SET_LIB_PATH) \
8054 $(HOST_EXPORTS) \
8055 for flag in $(EXTRA_HOST_FLAGS) ; do \
8056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8057 done; \
8058 echo "Doing info in flex" ; \
8059 (cd flex && \
8060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8062 "RANLIB=$${RANLIB}" \
8063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8064 info) \
8065 || exit 1
8067 @endif flex
8069 .PHONY: maybe-dvi-flex dvi-flex
8070 maybe-dvi-flex:
8071 @if flex
8072 maybe-dvi-flex: dvi-flex
8074 dvi-flex: \
8075 configure-flex
8076 @[ -f ./flex/Makefile ] || exit 0; \
8077 r=`${PWD_COMMAND}`; export r; \
8078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8079 $(SET_LIB_PATH) \
8080 $(HOST_EXPORTS) \
8081 for flag in $(EXTRA_HOST_FLAGS) ; do \
8082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8083 done; \
8084 echo "Doing dvi in flex" ; \
8085 (cd flex && \
8086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8088 "RANLIB=$${RANLIB}" \
8089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8090 dvi) \
8091 || exit 1
8093 @endif flex
8095 .PHONY: maybe-TAGS-flex TAGS-flex
8096 maybe-TAGS-flex:
8097 @if flex
8098 maybe-TAGS-flex: TAGS-flex
8100 TAGS-flex: \
8101 configure-flex
8102 @[ -f ./flex/Makefile ] || exit 0; \
8103 r=`${PWD_COMMAND}`; export r; \
8104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8105 $(SET_LIB_PATH) \
8106 $(HOST_EXPORTS) \
8107 for flag in $(EXTRA_HOST_FLAGS) ; do \
8108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8109 done; \
8110 echo "Doing TAGS in flex" ; \
8111 (cd flex && \
8112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8114 "RANLIB=$${RANLIB}" \
8115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8116 TAGS) \
8117 || exit 1
8119 @endif flex
8121 .PHONY: maybe-install-info-flex install-info-flex
8122 maybe-install-info-flex:
8123 @if flex
8124 maybe-install-info-flex: install-info-flex
8126 install-info-flex: \
8127 configure-flex \
8128 info-flex
8129 @[ -f ./flex/Makefile ] || exit 0; \
8130 r=`${PWD_COMMAND}`; export r; \
8131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8132 $(SET_LIB_PATH) \
8133 $(HOST_EXPORTS) \
8134 for flag in $(EXTRA_HOST_FLAGS) ; do \
8135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8136 done; \
8137 echo "Doing install-info in flex" ; \
8138 (cd flex && \
8139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8141 "RANLIB=$${RANLIB}" \
8142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8143 install-info) \
8144 || exit 1
8146 @endif flex
8148 .PHONY: maybe-installcheck-flex installcheck-flex
8149 maybe-installcheck-flex:
8150 @if flex
8151 maybe-installcheck-flex: installcheck-flex
8153 installcheck-flex: \
8154 configure-flex
8155 @[ -f ./flex/Makefile ] || exit 0; \
8156 r=`${PWD_COMMAND}`; export r; \
8157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8158 $(SET_LIB_PATH) \
8159 $(HOST_EXPORTS) \
8160 for flag in $(EXTRA_HOST_FLAGS) ; do \
8161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8162 done; \
8163 echo "Doing installcheck in flex" ; \
8164 (cd flex && \
8165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8167 "RANLIB=$${RANLIB}" \
8168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8169 installcheck) \
8170 || exit 1
8172 @endif flex
8174 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8175 maybe-mostlyclean-flex:
8176 @if flex
8177 maybe-mostlyclean-flex: mostlyclean-flex
8179 mostlyclean-flex:
8180 @[ -f ./flex/Makefile ] || exit 0; \
8181 r=`${PWD_COMMAND}`; export r; \
8182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8183 $(SET_LIB_PATH) \
8184 $(HOST_EXPORTS) \
8185 for flag in $(EXTRA_HOST_FLAGS) ; do \
8186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8187 done; \
8188 echo "Doing mostlyclean in flex" ; \
8189 (cd flex && \
8190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8192 "RANLIB=$${RANLIB}" \
8193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8194 mostlyclean) \
8195 || exit 1
8197 @endif flex
8199 .PHONY: maybe-clean-flex clean-flex
8200 maybe-clean-flex:
8201 @if flex
8202 maybe-clean-flex: clean-flex
8204 clean-flex:
8205 @[ -f ./flex/Makefile ] || exit 0; \
8206 r=`${PWD_COMMAND}`; export r; \
8207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8208 $(SET_LIB_PATH) \
8209 $(HOST_EXPORTS) \
8210 for flag in $(EXTRA_HOST_FLAGS) ; do \
8211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8212 done; \
8213 echo "Doing clean in flex" ; \
8214 (cd flex && \
8215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8217 "RANLIB=$${RANLIB}" \
8218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8219 clean) \
8220 || exit 1
8222 @endif flex
8224 .PHONY: maybe-distclean-flex distclean-flex
8225 maybe-distclean-flex:
8226 @if flex
8227 maybe-distclean-flex: distclean-flex
8229 distclean-flex:
8230 @[ -f ./flex/Makefile ] || exit 0; \
8231 r=`${PWD_COMMAND}`; export r; \
8232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8233 $(SET_LIB_PATH) \
8234 $(HOST_EXPORTS) \
8235 for flag in $(EXTRA_HOST_FLAGS) ; do \
8236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8237 done; \
8238 echo "Doing distclean in flex" ; \
8239 (cd flex && \
8240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8242 "RANLIB=$${RANLIB}" \
8243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8244 distclean) \
8245 || exit 1
8247 @endif flex
8249 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8250 maybe-maintainer-clean-flex:
8251 @if flex
8252 maybe-maintainer-clean-flex: maintainer-clean-flex
8254 maintainer-clean-flex:
8255 @[ -f ./flex/Makefile ] || exit 0; \
8256 r=`${PWD_COMMAND}`; export r; \
8257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8258 $(SET_LIB_PATH) \
8259 $(HOST_EXPORTS) \
8260 for flag in $(EXTRA_HOST_FLAGS) ; do \
8261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8262 done; \
8263 echo "Doing maintainer-clean in flex" ; \
8264 (cd flex && \
8265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8267 "RANLIB=$${RANLIB}" \
8268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8269 maintainer-clean) \
8270 || exit 1
8272 @endif flex
8275 .PHONY: configure-gas maybe-configure-gas
8276 maybe-configure-gas:
8277 @if gas
8278 maybe-configure-gas: configure-gas
8279 configure-gas:
8280 @test -f stage_last && exit 0; \
8281 test ! -f gas/Makefile || exit 0; \
8282 [ -d gas ] || mkdir gas; \
8283 r=`${PWD_COMMAND}`; export r; \
8284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8285 $(HOST_EXPORTS) \
8286 echo Configuring in gas; \
8287 cd gas || exit 1; \
8288 case $(srcdir) in \
8289 \.) \
8290 srcdiroption="--srcdir=."; \
8291 libsrcdir=".";; \
8292 /* | [A-Za-z]:[\\/]*) \
8293 srcdiroption="--srcdir=$(srcdir)/gas"; \
8294 libsrcdir="$$s/gas";; \
8295 *) \
8296 srcdiroption="--srcdir=../$(srcdir)/gas"; \
8297 libsrcdir="$$s/gas";; \
8298 esac; \
8299 $(SHELL) $${libsrcdir}/configure \
8300 $(HOST_CONFIGARGS) $${srcdiroption} \
8301 || exit 1
8302 @endif gas
8304 .PHONY: all-gas maybe-all-gas
8305 maybe-all-gas:
8306 @if gas
8307 maybe-all-gas: all-gas
8308 all-gas: configure-gas
8309 @test -f stage_last && exit 0; \
8310 r=`${PWD_COMMAND}`; export r; \
8311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8312 $(SET_LIB_PATH) \
8313 $(HOST_EXPORTS) \
8314 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
8315 @endif gas
8317 .PHONY: check-gas maybe-check-gas
8318 maybe-check-gas:
8319 @if gas
8320 maybe-check-gas: check-gas
8322 check-gas:
8323 @r=`${PWD_COMMAND}`; export r; \
8324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8325 $(SET_LIB_PATH) \
8326 $(HOST_EXPORTS) \
8327 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
8329 @endif gas
8331 .PHONY: install-gas maybe-install-gas
8332 maybe-install-gas:
8333 @if gas
8334 maybe-install-gas: install-gas
8336 install-gas: installdirs
8337 @r=`${PWD_COMMAND}`; export r; \
8338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8339 $(SET_LIB_PATH) \
8340 $(HOST_EXPORTS) \
8341 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
8343 @endif gas
8345 # Other targets (info, dvi, etc.)
8347 .PHONY: maybe-info-gas info-gas
8348 maybe-info-gas:
8349 @if gas
8350 maybe-info-gas: info-gas
8352 info-gas: \
8353 configure-gas
8354 @[ -f ./gas/Makefile ] || exit 0; \
8355 r=`${PWD_COMMAND}`; export r; \
8356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8357 $(SET_LIB_PATH) \
8358 $(HOST_EXPORTS) \
8359 for flag in $(EXTRA_HOST_FLAGS) ; do \
8360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8361 done; \
8362 echo "Doing info in gas" ; \
8363 (cd gas && \
8364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8366 "RANLIB=$${RANLIB}" \
8367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8368 info) \
8369 || exit 1
8371 @endif gas
8373 .PHONY: maybe-dvi-gas dvi-gas
8374 maybe-dvi-gas:
8375 @if gas
8376 maybe-dvi-gas: dvi-gas
8378 dvi-gas: \
8379 configure-gas
8380 @[ -f ./gas/Makefile ] || exit 0; \
8381 r=`${PWD_COMMAND}`; export r; \
8382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8383 $(SET_LIB_PATH) \
8384 $(HOST_EXPORTS) \
8385 for flag in $(EXTRA_HOST_FLAGS) ; do \
8386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8387 done; \
8388 echo "Doing dvi in gas" ; \
8389 (cd gas && \
8390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8392 "RANLIB=$${RANLIB}" \
8393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8394 dvi) \
8395 || exit 1
8397 @endif gas
8399 .PHONY: maybe-TAGS-gas TAGS-gas
8400 maybe-TAGS-gas:
8401 @if gas
8402 maybe-TAGS-gas: TAGS-gas
8404 TAGS-gas: \
8405 configure-gas
8406 @[ -f ./gas/Makefile ] || exit 0; \
8407 r=`${PWD_COMMAND}`; export r; \
8408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8409 $(SET_LIB_PATH) \
8410 $(HOST_EXPORTS) \
8411 for flag in $(EXTRA_HOST_FLAGS) ; do \
8412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8413 done; \
8414 echo "Doing TAGS in gas" ; \
8415 (cd gas && \
8416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8418 "RANLIB=$${RANLIB}" \
8419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8420 TAGS) \
8421 || exit 1
8423 @endif gas
8425 .PHONY: maybe-install-info-gas install-info-gas
8426 maybe-install-info-gas:
8427 @if gas
8428 maybe-install-info-gas: install-info-gas
8430 install-info-gas: \
8431 configure-gas \
8432 info-gas
8433 @[ -f ./gas/Makefile ] || exit 0; \
8434 r=`${PWD_COMMAND}`; export r; \
8435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8436 $(SET_LIB_PATH) \
8437 $(HOST_EXPORTS) \
8438 for flag in $(EXTRA_HOST_FLAGS) ; do \
8439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8440 done; \
8441 echo "Doing install-info in gas" ; \
8442 (cd gas && \
8443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8445 "RANLIB=$${RANLIB}" \
8446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8447 install-info) \
8448 || exit 1
8450 @endif gas
8452 .PHONY: maybe-installcheck-gas installcheck-gas
8453 maybe-installcheck-gas:
8454 @if gas
8455 maybe-installcheck-gas: installcheck-gas
8457 installcheck-gas: \
8458 configure-gas
8459 @[ -f ./gas/Makefile ] || exit 0; \
8460 r=`${PWD_COMMAND}`; export r; \
8461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8462 $(SET_LIB_PATH) \
8463 $(HOST_EXPORTS) \
8464 for flag in $(EXTRA_HOST_FLAGS) ; do \
8465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8466 done; \
8467 echo "Doing installcheck in gas" ; \
8468 (cd gas && \
8469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8471 "RANLIB=$${RANLIB}" \
8472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8473 installcheck) \
8474 || exit 1
8476 @endif gas
8478 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8479 maybe-mostlyclean-gas:
8480 @if gas
8481 maybe-mostlyclean-gas: mostlyclean-gas
8483 mostlyclean-gas:
8484 @[ -f ./gas/Makefile ] || exit 0; \
8485 r=`${PWD_COMMAND}`; export r; \
8486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8487 $(SET_LIB_PATH) \
8488 $(HOST_EXPORTS) \
8489 for flag in $(EXTRA_HOST_FLAGS) ; do \
8490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8491 done; \
8492 echo "Doing mostlyclean in gas" ; \
8493 (cd gas && \
8494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8496 "RANLIB=$${RANLIB}" \
8497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8498 mostlyclean) \
8499 || exit 1
8501 @endif gas
8503 .PHONY: maybe-clean-gas clean-gas
8504 maybe-clean-gas:
8505 @if gas
8506 maybe-clean-gas: clean-gas
8508 clean-gas:
8509 @[ -f ./gas/Makefile ] || exit 0; \
8510 r=`${PWD_COMMAND}`; export r; \
8511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8512 $(SET_LIB_PATH) \
8513 $(HOST_EXPORTS) \
8514 for flag in $(EXTRA_HOST_FLAGS) ; do \
8515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8516 done; \
8517 echo "Doing clean in gas" ; \
8518 (cd gas && \
8519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8521 "RANLIB=$${RANLIB}" \
8522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8523 clean) \
8524 || exit 1
8526 @endif gas
8528 .PHONY: maybe-distclean-gas distclean-gas
8529 maybe-distclean-gas:
8530 @if gas
8531 maybe-distclean-gas: distclean-gas
8533 distclean-gas:
8534 @[ -f ./gas/Makefile ] || exit 0; \
8535 r=`${PWD_COMMAND}`; export r; \
8536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8537 $(SET_LIB_PATH) \
8538 $(HOST_EXPORTS) \
8539 for flag in $(EXTRA_HOST_FLAGS) ; do \
8540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8541 done; \
8542 echo "Doing distclean in gas" ; \
8543 (cd gas && \
8544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8546 "RANLIB=$${RANLIB}" \
8547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8548 distclean) \
8549 || exit 1
8551 @endif gas
8553 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8554 maybe-maintainer-clean-gas:
8555 @if gas
8556 maybe-maintainer-clean-gas: maintainer-clean-gas
8558 maintainer-clean-gas:
8559 @[ -f ./gas/Makefile ] || exit 0; \
8560 r=`${PWD_COMMAND}`; export r; \
8561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8562 $(SET_LIB_PATH) \
8563 $(HOST_EXPORTS) \
8564 for flag in $(EXTRA_HOST_FLAGS) ; do \
8565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8566 done; \
8567 echo "Doing maintainer-clean in gas" ; \
8568 (cd gas && \
8569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8571 "RANLIB=$${RANLIB}" \
8572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8573 maintainer-clean) \
8574 || exit 1
8576 @endif gas
8579 .PHONY: configure-gcc maybe-configure-gcc
8580 maybe-configure-gcc:
8581 @if gcc
8582 maybe-configure-gcc: configure-gcc
8583 configure-gcc:
8584 @test -f stage_last && exit 0; \
8585 test ! -f gcc/Makefile || exit 0; \
8586 [ -d gcc ] || mkdir gcc; \
8587 r=`${PWD_COMMAND}`; export r; \
8588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8589 $(HOST_EXPORTS) \
8590 echo Configuring in gcc; \
8591 cd gcc || exit 1; \
8592 case $(srcdir) in \
8593 \.) \
8594 srcdiroption="--srcdir=."; \
8595 libsrcdir=".";; \
8596 /* | [A-Za-z]:[\\/]*) \
8597 srcdiroption="--srcdir=$(srcdir)/gcc"; \
8598 libsrcdir="$$s/gcc";; \
8599 *) \
8600 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
8601 libsrcdir="$$s/gcc";; \
8602 esac; \
8603 $(SHELL) $${libsrcdir}/configure \
8604 $(HOST_CONFIGARGS) $${srcdiroption} \
8605 || exit 1
8606 @endif gcc
8608 .PHONY: all-gcc maybe-all-gcc
8609 maybe-all-gcc:
8610 @if gcc
8611 maybe-all-gcc: all-gcc
8612 all-gcc: configure-gcc
8613 @test -f stage_last && exit 0; \
8614 r=`${PWD_COMMAND}`; export r; \
8615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8616 $(SET_LIB_PATH) \
8617 $(HOST_EXPORTS) \
8618 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
8619 `if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi` )
8620 @endif gcc
8622 .PHONY: check-gcc maybe-check-gcc
8623 maybe-check-gcc:
8624 @if gcc
8625 maybe-check-gcc: check-gcc
8627 check-gcc:
8628 @r=`${PWD_COMMAND}`; export r; \
8629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8630 $(SET_LIB_PATH) \
8631 $(HOST_EXPORTS) \
8632 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
8634 @endif gcc
8636 .PHONY: install-gcc maybe-install-gcc
8637 maybe-install-gcc:
8638 @if gcc
8639 maybe-install-gcc: install-gcc
8641 install-gcc: installdirs
8642 @r=`${PWD_COMMAND}`; export r; \
8643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8644 $(SET_LIB_PATH) \
8645 $(HOST_EXPORTS) \
8646 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
8648 @endif gcc
8650 # Other targets (info, dvi, etc.)
8652 .PHONY: maybe-info-gcc info-gcc
8653 maybe-info-gcc:
8654 @if gcc
8655 maybe-info-gcc: info-gcc
8657 info-gcc: \
8658 configure-gcc
8659 @[ -f ./gcc/Makefile ] || exit 0; \
8660 r=`${PWD_COMMAND}`; export r; \
8661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8662 $(SET_LIB_PATH) \
8663 $(HOST_EXPORTS) \
8664 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8666 done; \
8667 echo "Doing info in gcc" ; \
8668 (cd gcc && \
8669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8671 "RANLIB=$${RANLIB}" \
8672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8673 info) \
8674 || exit 1
8676 @endif gcc
8678 .PHONY: maybe-dvi-gcc dvi-gcc
8679 maybe-dvi-gcc:
8680 @if gcc
8681 maybe-dvi-gcc: dvi-gcc
8683 dvi-gcc: \
8684 configure-gcc
8685 @[ -f ./gcc/Makefile ] || exit 0; \
8686 r=`${PWD_COMMAND}`; export r; \
8687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8688 $(SET_LIB_PATH) \
8689 $(HOST_EXPORTS) \
8690 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8692 done; \
8693 echo "Doing dvi in gcc" ; \
8694 (cd gcc && \
8695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8697 "RANLIB=$${RANLIB}" \
8698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8699 dvi) \
8700 || exit 1
8702 @endif gcc
8704 .PHONY: maybe-TAGS-gcc TAGS-gcc
8705 maybe-TAGS-gcc:
8706 @if gcc
8707 maybe-TAGS-gcc: TAGS-gcc
8709 TAGS-gcc: \
8710 configure-gcc
8711 @[ -f ./gcc/Makefile ] || exit 0; \
8712 r=`${PWD_COMMAND}`; export r; \
8713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8714 $(SET_LIB_PATH) \
8715 $(HOST_EXPORTS) \
8716 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8718 done; \
8719 echo "Doing TAGS in gcc" ; \
8720 (cd gcc && \
8721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8723 "RANLIB=$${RANLIB}" \
8724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8725 TAGS) \
8726 || exit 1
8728 @endif gcc
8730 .PHONY: maybe-install-info-gcc install-info-gcc
8731 maybe-install-info-gcc:
8732 @if gcc
8733 maybe-install-info-gcc: install-info-gcc
8735 install-info-gcc: \
8736 configure-gcc \
8737 info-gcc
8738 @[ -f ./gcc/Makefile ] || exit 0; \
8739 r=`${PWD_COMMAND}`; export r; \
8740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8741 $(SET_LIB_PATH) \
8742 $(HOST_EXPORTS) \
8743 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8745 done; \
8746 echo "Doing install-info in gcc" ; \
8747 (cd gcc && \
8748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8750 "RANLIB=$${RANLIB}" \
8751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8752 install-info) \
8753 || exit 1
8755 @endif gcc
8757 .PHONY: maybe-installcheck-gcc installcheck-gcc
8758 maybe-installcheck-gcc:
8759 @if gcc
8760 maybe-installcheck-gcc: installcheck-gcc
8762 installcheck-gcc: \
8763 configure-gcc
8764 @[ -f ./gcc/Makefile ] || exit 0; \
8765 r=`${PWD_COMMAND}`; export r; \
8766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8767 $(SET_LIB_PATH) \
8768 $(HOST_EXPORTS) \
8769 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8771 done; \
8772 echo "Doing installcheck in gcc" ; \
8773 (cd gcc && \
8774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8776 "RANLIB=$${RANLIB}" \
8777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8778 installcheck) \
8779 || exit 1
8781 @endif gcc
8783 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
8784 maybe-mostlyclean-gcc:
8785 @if gcc
8786 maybe-mostlyclean-gcc: mostlyclean-gcc
8788 mostlyclean-gcc:
8789 @[ -f ./gcc/Makefile ] || exit 0; \
8790 r=`${PWD_COMMAND}`; export r; \
8791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8792 $(SET_LIB_PATH) \
8793 $(HOST_EXPORTS) \
8794 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8796 done; \
8797 echo "Doing mostlyclean in gcc" ; \
8798 (cd gcc && \
8799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8801 "RANLIB=$${RANLIB}" \
8802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8803 mostlyclean) \
8804 || exit 1
8806 @endif gcc
8808 .PHONY: maybe-clean-gcc clean-gcc
8809 maybe-clean-gcc:
8810 @if gcc
8811 maybe-clean-gcc: clean-gcc
8813 clean-gcc:
8814 @[ -f ./gcc/Makefile ] || exit 0; \
8815 r=`${PWD_COMMAND}`; export r; \
8816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8817 $(SET_LIB_PATH) \
8818 $(HOST_EXPORTS) \
8819 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8821 done; \
8822 echo "Doing clean in gcc" ; \
8823 (cd gcc && \
8824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8826 "RANLIB=$${RANLIB}" \
8827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8828 clean) \
8829 || exit 1
8831 @endif gcc
8833 .PHONY: maybe-distclean-gcc distclean-gcc
8834 maybe-distclean-gcc:
8835 @if gcc
8836 maybe-distclean-gcc: distclean-gcc
8838 distclean-gcc:
8839 @[ -f ./gcc/Makefile ] || exit 0; \
8840 r=`${PWD_COMMAND}`; export r; \
8841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8842 $(SET_LIB_PATH) \
8843 $(HOST_EXPORTS) \
8844 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8846 done; \
8847 echo "Doing distclean in gcc" ; \
8848 (cd gcc && \
8849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8851 "RANLIB=$${RANLIB}" \
8852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8853 distclean) \
8854 || exit 1
8856 @endif gcc
8858 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
8859 maybe-maintainer-clean-gcc:
8860 @if gcc
8861 maybe-maintainer-clean-gcc: maintainer-clean-gcc
8863 maintainer-clean-gcc:
8864 @[ -f ./gcc/Makefile ] || exit 0; \
8865 r=`${PWD_COMMAND}`; export r; \
8866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8867 $(SET_LIB_PATH) \
8868 $(HOST_EXPORTS) \
8869 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8871 done; \
8872 echo "Doing maintainer-clean in gcc" ; \
8873 (cd gcc && \
8874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8876 "RANLIB=$${RANLIB}" \
8877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8878 maintainer-clean) \
8879 || exit 1
8881 @endif gcc
8884 .PHONY: configure-gawk maybe-configure-gawk
8885 maybe-configure-gawk:
8886 @if gawk
8887 maybe-configure-gawk: configure-gawk
8888 configure-gawk:
8889 @test ! -f gawk/Makefile || exit 0; \
8890 [ -d gawk ] || mkdir gawk; \
8891 r=`${PWD_COMMAND}`; export r; \
8892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8893 $(HOST_EXPORTS) \
8894 echo Configuring in gawk; \
8895 cd gawk || exit 1; \
8896 case $(srcdir) in \
8897 \.) \
8898 srcdiroption="--srcdir=."; \
8899 libsrcdir=".";; \
8900 /* | [A-Za-z]:[\\/]*) \
8901 srcdiroption="--srcdir=$(srcdir)/gawk"; \
8902 libsrcdir="$$s/gawk";; \
8903 *) \
8904 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8905 libsrcdir="$$s/gawk";; \
8906 esac; \
8907 $(SHELL) $${libsrcdir}/configure \
8908 $(HOST_CONFIGARGS) $${srcdiroption} \
8909 || exit 1
8910 @endif gawk
8912 .PHONY: all-gawk maybe-all-gawk
8913 maybe-all-gawk:
8914 @if gawk
8915 maybe-all-gawk: all-gawk
8916 all-gawk: configure-gawk
8917 @r=`${PWD_COMMAND}`; export r; \
8918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8919 $(SET_LIB_PATH) \
8920 $(HOST_EXPORTS) \
8921 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
8922 @endif gawk
8924 .PHONY: check-gawk maybe-check-gawk
8925 maybe-check-gawk:
8926 @if gawk
8927 maybe-check-gawk: check-gawk
8929 check-gawk:
8930 @r=`${PWD_COMMAND}`; export r; \
8931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8932 $(SET_LIB_PATH) \
8933 $(HOST_EXPORTS) \
8934 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8936 @endif gawk
8938 .PHONY: install-gawk maybe-install-gawk
8939 maybe-install-gawk:
8940 @if gawk
8941 maybe-install-gawk: install-gawk
8943 install-gawk: installdirs
8944 @r=`${PWD_COMMAND}`; export r; \
8945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8946 $(SET_LIB_PATH) \
8947 $(HOST_EXPORTS) \
8948 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8950 @endif gawk
8952 # Other targets (info, dvi, etc.)
8954 .PHONY: maybe-info-gawk info-gawk
8955 maybe-info-gawk:
8956 @if gawk
8957 maybe-info-gawk: info-gawk
8959 info-gawk: \
8960 configure-gawk
8961 @[ -f ./gawk/Makefile ] || exit 0; \
8962 r=`${PWD_COMMAND}`; export r; \
8963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8964 $(SET_LIB_PATH) \
8965 $(HOST_EXPORTS) \
8966 for flag in $(EXTRA_HOST_FLAGS) ; do \
8967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8968 done; \
8969 echo "Doing info in gawk" ; \
8970 (cd gawk && \
8971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8973 "RANLIB=$${RANLIB}" \
8974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8975 info) \
8976 || exit 1
8978 @endif gawk
8980 .PHONY: maybe-dvi-gawk dvi-gawk
8981 maybe-dvi-gawk:
8982 @if gawk
8983 maybe-dvi-gawk: dvi-gawk
8985 dvi-gawk: \
8986 configure-gawk
8987 @[ -f ./gawk/Makefile ] || exit 0; \
8988 r=`${PWD_COMMAND}`; export r; \
8989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8990 $(SET_LIB_PATH) \
8991 $(HOST_EXPORTS) \
8992 for flag in $(EXTRA_HOST_FLAGS) ; do \
8993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8994 done; \
8995 echo "Doing dvi in gawk" ; \
8996 (cd gawk && \
8997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8999 "RANLIB=$${RANLIB}" \
9000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9001 dvi) \
9002 || exit 1
9004 @endif gawk
9006 .PHONY: maybe-TAGS-gawk TAGS-gawk
9007 maybe-TAGS-gawk:
9008 @if gawk
9009 maybe-TAGS-gawk: TAGS-gawk
9011 TAGS-gawk: \
9012 configure-gawk
9013 @[ -f ./gawk/Makefile ] || exit 0; \
9014 r=`${PWD_COMMAND}`; export r; \
9015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9016 $(SET_LIB_PATH) \
9017 $(HOST_EXPORTS) \
9018 for flag in $(EXTRA_HOST_FLAGS) ; do \
9019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9020 done; \
9021 echo "Doing TAGS in gawk" ; \
9022 (cd gawk && \
9023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9025 "RANLIB=$${RANLIB}" \
9026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9027 TAGS) \
9028 || exit 1
9030 @endif gawk
9032 .PHONY: maybe-install-info-gawk install-info-gawk
9033 maybe-install-info-gawk:
9034 @if gawk
9035 maybe-install-info-gawk: install-info-gawk
9037 install-info-gawk: \
9038 configure-gawk \
9039 info-gawk
9040 @[ -f ./gawk/Makefile ] || exit 0; \
9041 r=`${PWD_COMMAND}`; export r; \
9042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9043 $(SET_LIB_PATH) \
9044 $(HOST_EXPORTS) \
9045 for flag in $(EXTRA_HOST_FLAGS) ; do \
9046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9047 done; \
9048 echo "Doing install-info in gawk" ; \
9049 (cd gawk && \
9050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9052 "RANLIB=$${RANLIB}" \
9053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9054 install-info) \
9055 || exit 1
9057 @endif gawk
9059 .PHONY: maybe-installcheck-gawk installcheck-gawk
9060 maybe-installcheck-gawk:
9061 @if gawk
9062 maybe-installcheck-gawk: installcheck-gawk
9064 installcheck-gawk: \
9065 configure-gawk
9066 @[ -f ./gawk/Makefile ] || exit 0; \
9067 r=`${PWD_COMMAND}`; export r; \
9068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9069 $(SET_LIB_PATH) \
9070 $(HOST_EXPORTS) \
9071 for flag in $(EXTRA_HOST_FLAGS) ; do \
9072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9073 done; \
9074 echo "Doing installcheck in gawk" ; \
9075 (cd gawk && \
9076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9078 "RANLIB=$${RANLIB}" \
9079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9080 installcheck) \
9081 || exit 1
9083 @endif gawk
9085 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9086 maybe-mostlyclean-gawk:
9087 @if gawk
9088 maybe-mostlyclean-gawk: mostlyclean-gawk
9090 mostlyclean-gawk:
9091 @[ -f ./gawk/Makefile ] || exit 0; \
9092 r=`${PWD_COMMAND}`; export r; \
9093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9094 $(SET_LIB_PATH) \
9095 $(HOST_EXPORTS) \
9096 for flag in $(EXTRA_HOST_FLAGS) ; do \
9097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9098 done; \
9099 echo "Doing mostlyclean in gawk" ; \
9100 (cd gawk && \
9101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9103 "RANLIB=$${RANLIB}" \
9104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9105 mostlyclean) \
9106 || exit 1
9108 @endif gawk
9110 .PHONY: maybe-clean-gawk clean-gawk
9111 maybe-clean-gawk:
9112 @if gawk
9113 maybe-clean-gawk: clean-gawk
9115 clean-gawk:
9116 @[ -f ./gawk/Makefile ] || exit 0; \
9117 r=`${PWD_COMMAND}`; export r; \
9118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9119 $(SET_LIB_PATH) \
9120 $(HOST_EXPORTS) \
9121 for flag in $(EXTRA_HOST_FLAGS) ; do \
9122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9123 done; \
9124 echo "Doing clean in gawk" ; \
9125 (cd gawk && \
9126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9128 "RANLIB=$${RANLIB}" \
9129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9130 clean) \
9131 || exit 1
9133 @endif gawk
9135 .PHONY: maybe-distclean-gawk distclean-gawk
9136 maybe-distclean-gawk:
9137 @if gawk
9138 maybe-distclean-gawk: distclean-gawk
9140 distclean-gawk:
9141 @[ -f ./gawk/Makefile ] || exit 0; \
9142 r=`${PWD_COMMAND}`; export r; \
9143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9144 $(SET_LIB_PATH) \
9145 $(HOST_EXPORTS) \
9146 for flag in $(EXTRA_HOST_FLAGS) ; do \
9147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9148 done; \
9149 echo "Doing distclean in gawk" ; \
9150 (cd gawk && \
9151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9153 "RANLIB=$${RANLIB}" \
9154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9155 distclean) \
9156 || exit 1
9158 @endif gawk
9160 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9161 maybe-maintainer-clean-gawk:
9162 @if gawk
9163 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9165 maintainer-clean-gawk:
9166 @[ -f ./gawk/Makefile ] || exit 0; \
9167 r=`${PWD_COMMAND}`; export r; \
9168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9169 $(SET_LIB_PATH) \
9170 $(HOST_EXPORTS) \
9171 for flag in $(EXTRA_HOST_FLAGS) ; do \
9172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9173 done; \
9174 echo "Doing maintainer-clean in gawk" ; \
9175 (cd gawk && \
9176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9178 "RANLIB=$${RANLIB}" \
9179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9180 maintainer-clean) \
9181 || exit 1
9183 @endif gawk
9186 .PHONY: configure-gettext maybe-configure-gettext
9187 maybe-configure-gettext:
9188 @if gettext
9189 maybe-configure-gettext: configure-gettext
9190 configure-gettext:
9191 @test ! -f gettext/Makefile || exit 0; \
9192 [ -d gettext ] || mkdir gettext; \
9193 r=`${PWD_COMMAND}`; export r; \
9194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9195 $(HOST_EXPORTS) \
9196 echo Configuring in gettext; \
9197 cd gettext || exit 1; \
9198 case $(srcdir) in \
9199 \.) \
9200 srcdiroption="--srcdir=."; \
9201 libsrcdir=".";; \
9202 /* | [A-Za-z]:[\\/]*) \
9203 srcdiroption="--srcdir=$(srcdir)/gettext"; \
9204 libsrcdir="$$s/gettext";; \
9205 *) \
9206 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
9207 libsrcdir="$$s/gettext";; \
9208 esac; \
9209 $(SHELL) $${libsrcdir}/configure \
9210 $(HOST_CONFIGARGS) $${srcdiroption} \
9211 || exit 1
9212 @endif gettext
9214 .PHONY: all-gettext maybe-all-gettext
9215 maybe-all-gettext:
9216 @if gettext
9217 maybe-all-gettext: all-gettext
9218 all-gettext: configure-gettext
9219 @r=`${PWD_COMMAND}`; export r; \
9220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9221 $(SET_LIB_PATH) \
9222 $(HOST_EXPORTS) \
9223 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
9224 @endif gettext
9226 .PHONY: check-gettext maybe-check-gettext
9227 maybe-check-gettext:
9228 @if gettext
9229 maybe-check-gettext: check-gettext
9231 check-gettext:
9232 @r=`${PWD_COMMAND}`; export r; \
9233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9234 $(SET_LIB_PATH) \
9235 $(HOST_EXPORTS) \
9236 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
9238 @endif gettext
9240 .PHONY: install-gettext maybe-install-gettext
9241 maybe-install-gettext:
9242 @if gettext
9243 maybe-install-gettext: install-gettext
9245 install-gettext: installdirs
9246 @r=`${PWD_COMMAND}`; export r; \
9247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9248 $(SET_LIB_PATH) \
9249 $(HOST_EXPORTS) \
9250 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
9252 @endif gettext
9254 # Other targets (info, dvi, etc.)
9256 .PHONY: maybe-info-gettext info-gettext
9257 maybe-info-gettext:
9258 @if gettext
9259 maybe-info-gettext: info-gettext
9261 info-gettext: \
9262 configure-gettext
9263 @[ -f ./gettext/Makefile ] || exit 0; \
9264 r=`${PWD_COMMAND}`; export r; \
9265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9266 $(SET_LIB_PATH) \
9267 $(HOST_EXPORTS) \
9268 for flag in $(EXTRA_HOST_FLAGS) ; do \
9269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9270 done; \
9271 echo "Doing info in gettext" ; \
9272 (cd gettext && \
9273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9275 "RANLIB=$${RANLIB}" \
9276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9277 info) \
9278 || exit 1
9280 @endif gettext
9282 .PHONY: maybe-dvi-gettext dvi-gettext
9283 maybe-dvi-gettext:
9284 @if gettext
9285 maybe-dvi-gettext: dvi-gettext
9287 dvi-gettext: \
9288 configure-gettext
9289 @[ -f ./gettext/Makefile ] || exit 0; \
9290 r=`${PWD_COMMAND}`; export r; \
9291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9292 $(SET_LIB_PATH) \
9293 $(HOST_EXPORTS) \
9294 for flag in $(EXTRA_HOST_FLAGS) ; do \
9295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9296 done; \
9297 echo "Doing dvi in gettext" ; \
9298 (cd gettext && \
9299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9301 "RANLIB=$${RANLIB}" \
9302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9303 dvi) \
9304 || exit 1
9306 @endif gettext
9308 .PHONY: maybe-TAGS-gettext TAGS-gettext
9309 maybe-TAGS-gettext:
9310 @if gettext
9311 maybe-TAGS-gettext: TAGS-gettext
9313 TAGS-gettext: \
9314 configure-gettext
9315 @[ -f ./gettext/Makefile ] || exit 0; \
9316 r=`${PWD_COMMAND}`; export r; \
9317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9318 $(SET_LIB_PATH) \
9319 $(HOST_EXPORTS) \
9320 for flag in $(EXTRA_HOST_FLAGS) ; do \
9321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9322 done; \
9323 echo "Doing TAGS in gettext" ; \
9324 (cd gettext && \
9325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9327 "RANLIB=$${RANLIB}" \
9328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9329 TAGS) \
9330 || exit 1
9332 @endif gettext
9334 .PHONY: maybe-install-info-gettext install-info-gettext
9335 maybe-install-info-gettext:
9336 @if gettext
9337 maybe-install-info-gettext: install-info-gettext
9339 install-info-gettext: \
9340 configure-gettext \
9341 info-gettext
9342 @[ -f ./gettext/Makefile ] || exit 0; \
9343 r=`${PWD_COMMAND}`; export r; \
9344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9345 $(SET_LIB_PATH) \
9346 $(HOST_EXPORTS) \
9347 for flag in $(EXTRA_HOST_FLAGS) ; do \
9348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9349 done; \
9350 echo "Doing install-info in gettext" ; \
9351 (cd gettext && \
9352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9354 "RANLIB=$${RANLIB}" \
9355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9356 install-info) \
9357 || exit 1
9359 @endif gettext
9361 .PHONY: maybe-installcheck-gettext installcheck-gettext
9362 maybe-installcheck-gettext:
9363 @if gettext
9364 maybe-installcheck-gettext: installcheck-gettext
9366 installcheck-gettext: \
9367 configure-gettext
9368 @[ -f ./gettext/Makefile ] || exit 0; \
9369 r=`${PWD_COMMAND}`; export r; \
9370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9371 $(SET_LIB_PATH) \
9372 $(HOST_EXPORTS) \
9373 for flag in $(EXTRA_HOST_FLAGS) ; do \
9374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9375 done; \
9376 echo "Doing installcheck in gettext" ; \
9377 (cd gettext && \
9378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9380 "RANLIB=$${RANLIB}" \
9381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9382 installcheck) \
9383 || exit 1
9385 @endif gettext
9387 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9388 maybe-mostlyclean-gettext:
9389 @if gettext
9390 maybe-mostlyclean-gettext: mostlyclean-gettext
9392 mostlyclean-gettext:
9393 @[ -f ./gettext/Makefile ] || exit 0; \
9394 r=`${PWD_COMMAND}`; export r; \
9395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9396 $(SET_LIB_PATH) \
9397 $(HOST_EXPORTS) \
9398 for flag in $(EXTRA_HOST_FLAGS) ; do \
9399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9400 done; \
9401 echo "Doing mostlyclean in gettext" ; \
9402 (cd gettext && \
9403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9405 "RANLIB=$${RANLIB}" \
9406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9407 mostlyclean) \
9408 || exit 1
9410 @endif gettext
9412 .PHONY: maybe-clean-gettext clean-gettext
9413 maybe-clean-gettext:
9414 @if gettext
9415 maybe-clean-gettext: clean-gettext
9417 clean-gettext:
9418 @[ -f ./gettext/Makefile ] || exit 0; \
9419 r=`${PWD_COMMAND}`; export r; \
9420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9421 $(SET_LIB_PATH) \
9422 $(HOST_EXPORTS) \
9423 for flag in $(EXTRA_HOST_FLAGS) ; do \
9424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9425 done; \
9426 echo "Doing clean in gettext" ; \
9427 (cd gettext && \
9428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9430 "RANLIB=$${RANLIB}" \
9431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9432 clean) \
9433 || exit 1
9435 @endif gettext
9437 .PHONY: maybe-distclean-gettext distclean-gettext
9438 maybe-distclean-gettext:
9439 @if gettext
9440 maybe-distclean-gettext: distclean-gettext
9442 distclean-gettext:
9443 @[ -f ./gettext/Makefile ] || exit 0; \
9444 r=`${PWD_COMMAND}`; export r; \
9445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9446 $(SET_LIB_PATH) \
9447 $(HOST_EXPORTS) \
9448 for flag in $(EXTRA_HOST_FLAGS) ; do \
9449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9450 done; \
9451 echo "Doing distclean in gettext" ; \
9452 (cd gettext && \
9453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9455 "RANLIB=$${RANLIB}" \
9456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9457 distclean) \
9458 || exit 1
9460 @endif gettext
9462 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9463 maybe-maintainer-clean-gettext:
9464 @if gettext
9465 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9467 maintainer-clean-gettext:
9468 @[ -f ./gettext/Makefile ] || exit 0; \
9469 r=`${PWD_COMMAND}`; export r; \
9470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9471 $(SET_LIB_PATH) \
9472 $(HOST_EXPORTS) \
9473 for flag in $(EXTRA_HOST_FLAGS) ; do \
9474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9475 done; \
9476 echo "Doing maintainer-clean in gettext" ; \
9477 (cd gettext && \
9478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9480 "RANLIB=$${RANLIB}" \
9481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9482 maintainer-clean) \
9483 || exit 1
9485 @endif gettext
9488 .PHONY: configure-gnuserv maybe-configure-gnuserv
9489 maybe-configure-gnuserv:
9490 @if gnuserv
9491 maybe-configure-gnuserv: configure-gnuserv
9492 configure-gnuserv:
9493 @test ! -f gnuserv/Makefile || exit 0; \
9494 [ -d gnuserv ] || mkdir gnuserv; \
9495 r=`${PWD_COMMAND}`; export r; \
9496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9497 $(HOST_EXPORTS) \
9498 echo Configuring in gnuserv; \
9499 cd gnuserv || exit 1; \
9500 case $(srcdir) in \
9501 \.) \
9502 srcdiroption="--srcdir=."; \
9503 libsrcdir=".";; \
9504 /* | [A-Za-z]:[\\/]*) \
9505 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
9506 libsrcdir="$$s/gnuserv";; \
9507 *) \
9508 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
9509 libsrcdir="$$s/gnuserv";; \
9510 esac; \
9511 $(SHELL) $${libsrcdir}/configure \
9512 $(HOST_CONFIGARGS) $${srcdiroption} \
9513 || exit 1
9514 @endif gnuserv
9516 .PHONY: all-gnuserv maybe-all-gnuserv
9517 maybe-all-gnuserv:
9518 @if gnuserv
9519 maybe-all-gnuserv: all-gnuserv
9520 all-gnuserv: configure-gnuserv
9521 @r=`${PWD_COMMAND}`; export r; \
9522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9523 $(SET_LIB_PATH) \
9524 $(HOST_EXPORTS) \
9525 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
9526 @endif gnuserv
9528 .PHONY: check-gnuserv maybe-check-gnuserv
9529 maybe-check-gnuserv:
9530 @if gnuserv
9531 maybe-check-gnuserv: check-gnuserv
9533 check-gnuserv:
9534 @r=`${PWD_COMMAND}`; export r; \
9535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9536 $(SET_LIB_PATH) \
9537 $(HOST_EXPORTS) \
9538 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
9540 @endif gnuserv
9542 .PHONY: install-gnuserv maybe-install-gnuserv
9543 maybe-install-gnuserv:
9544 @if gnuserv
9545 maybe-install-gnuserv: install-gnuserv
9547 install-gnuserv: installdirs
9548 @r=`${PWD_COMMAND}`; export r; \
9549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9550 $(SET_LIB_PATH) \
9551 $(HOST_EXPORTS) \
9552 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
9554 @endif gnuserv
9556 # Other targets (info, dvi, etc.)
9558 .PHONY: maybe-info-gnuserv info-gnuserv
9559 maybe-info-gnuserv:
9560 @if gnuserv
9561 maybe-info-gnuserv: info-gnuserv
9563 info-gnuserv: \
9564 configure-gnuserv
9565 @[ -f ./gnuserv/Makefile ] || exit 0; \
9566 r=`${PWD_COMMAND}`; export r; \
9567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9568 $(SET_LIB_PATH) \
9569 $(HOST_EXPORTS) \
9570 for flag in $(EXTRA_HOST_FLAGS) ; do \
9571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9572 done; \
9573 echo "Doing info in gnuserv" ; \
9574 (cd gnuserv && \
9575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9577 "RANLIB=$${RANLIB}" \
9578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9579 info) \
9580 || exit 1
9582 @endif gnuserv
9584 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
9585 maybe-dvi-gnuserv:
9586 @if gnuserv
9587 maybe-dvi-gnuserv: dvi-gnuserv
9589 dvi-gnuserv: \
9590 configure-gnuserv
9591 @[ -f ./gnuserv/Makefile ] || exit 0; \
9592 r=`${PWD_COMMAND}`; export r; \
9593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9594 $(SET_LIB_PATH) \
9595 $(HOST_EXPORTS) \
9596 for flag in $(EXTRA_HOST_FLAGS) ; do \
9597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9598 done; \
9599 echo "Doing dvi in gnuserv" ; \
9600 (cd gnuserv && \
9601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9603 "RANLIB=$${RANLIB}" \
9604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9605 dvi) \
9606 || exit 1
9608 @endif gnuserv
9610 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
9611 maybe-TAGS-gnuserv:
9612 @if gnuserv
9613 maybe-TAGS-gnuserv: TAGS-gnuserv
9615 TAGS-gnuserv: \
9616 configure-gnuserv
9617 @[ -f ./gnuserv/Makefile ] || exit 0; \
9618 r=`${PWD_COMMAND}`; export r; \
9619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9620 $(SET_LIB_PATH) \
9621 $(HOST_EXPORTS) \
9622 for flag in $(EXTRA_HOST_FLAGS) ; do \
9623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9624 done; \
9625 echo "Doing TAGS in gnuserv" ; \
9626 (cd gnuserv && \
9627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9629 "RANLIB=$${RANLIB}" \
9630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9631 TAGS) \
9632 || exit 1
9634 @endif gnuserv
9636 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
9637 maybe-install-info-gnuserv:
9638 @if gnuserv
9639 maybe-install-info-gnuserv: install-info-gnuserv
9641 install-info-gnuserv: \
9642 configure-gnuserv \
9643 info-gnuserv
9644 @[ -f ./gnuserv/Makefile ] || exit 0; \
9645 r=`${PWD_COMMAND}`; export r; \
9646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9647 $(SET_LIB_PATH) \
9648 $(HOST_EXPORTS) \
9649 for flag in $(EXTRA_HOST_FLAGS) ; do \
9650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9651 done; \
9652 echo "Doing install-info in gnuserv" ; \
9653 (cd gnuserv && \
9654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9656 "RANLIB=$${RANLIB}" \
9657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9658 install-info) \
9659 || exit 1
9661 @endif gnuserv
9663 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
9664 maybe-installcheck-gnuserv:
9665 @if gnuserv
9666 maybe-installcheck-gnuserv: installcheck-gnuserv
9668 installcheck-gnuserv: \
9669 configure-gnuserv
9670 @[ -f ./gnuserv/Makefile ] || exit 0; \
9671 r=`${PWD_COMMAND}`; export r; \
9672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9673 $(SET_LIB_PATH) \
9674 $(HOST_EXPORTS) \
9675 for flag in $(EXTRA_HOST_FLAGS) ; do \
9676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9677 done; \
9678 echo "Doing installcheck in gnuserv" ; \
9679 (cd gnuserv && \
9680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9682 "RANLIB=$${RANLIB}" \
9683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9684 installcheck) \
9685 || exit 1
9687 @endif gnuserv
9689 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9690 maybe-mostlyclean-gnuserv:
9691 @if gnuserv
9692 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9694 mostlyclean-gnuserv:
9695 @[ -f ./gnuserv/Makefile ] || exit 0; \
9696 r=`${PWD_COMMAND}`; export r; \
9697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9698 $(SET_LIB_PATH) \
9699 $(HOST_EXPORTS) \
9700 for flag in $(EXTRA_HOST_FLAGS) ; do \
9701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9702 done; \
9703 echo "Doing mostlyclean in gnuserv" ; \
9704 (cd gnuserv && \
9705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9707 "RANLIB=$${RANLIB}" \
9708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9709 mostlyclean) \
9710 || exit 1
9712 @endif gnuserv
9714 .PHONY: maybe-clean-gnuserv clean-gnuserv
9715 maybe-clean-gnuserv:
9716 @if gnuserv
9717 maybe-clean-gnuserv: clean-gnuserv
9719 clean-gnuserv:
9720 @[ -f ./gnuserv/Makefile ] || exit 0; \
9721 r=`${PWD_COMMAND}`; export r; \
9722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9723 $(SET_LIB_PATH) \
9724 $(HOST_EXPORTS) \
9725 for flag in $(EXTRA_HOST_FLAGS) ; do \
9726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9727 done; \
9728 echo "Doing clean in gnuserv" ; \
9729 (cd gnuserv && \
9730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9732 "RANLIB=$${RANLIB}" \
9733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9734 clean) \
9735 || exit 1
9737 @endif gnuserv
9739 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9740 maybe-distclean-gnuserv:
9741 @if gnuserv
9742 maybe-distclean-gnuserv: distclean-gnuserv
9744 distclean-gnuserv:
9745 @[ -f ./gnuserv/Makefile ] || exit 0; \
9746 r=`${PWD_COMMAND}`; export r; \
9747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9748 $(SET_LIB_PATH) \
9749 $(HOST_EXPORTS) \
9750 for flag in $(EXTRA_HOST_FLAGS) ; do \
9751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9752 done; \
9753 echo "Doing distclean in gnuserv" ; \
9754 (cd gnuserv && \
9755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9757 "RANLIB=$${RANLIB}" \
9758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9759 distclean) \
9760 || exit 1
9762 @endif gnuserv
9764 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9765 maybe-maintainer-clean-gnuserv:
9766 @if gnuserv
9767 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9769 maintainer-clean-gnuserv:
9770 @[ -f ./gnuserv/Makefile ] || exit 0; \
9771 r=`${PWD_COMMAND}`; export r; \
9772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9773 $(SET_LIB_PATH) \
9774 $(HOST_EXPORTS) \
9775 for flag in $(EXTRA_HOST_FLAGS) ; do \
9776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9777 done; \
9778 echo "Doing maintainer-clean in gnuserv" ; \
9779 (cd gnuserv && \
9780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9782 "RANLIB=$${RANLIB}" \
9783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9784 maintainer-clean) \
9785 || exit 1
9787 @endif gnuserv
9790 .PHONY: configure-gprof maybe-configure-gprof
9791 maybe-configure-gprof:
9792 @if gprof
9793 maybe-configure-gprof: configure-gprof
9794 configure-gprof:
9795 @test ! -f gprof/Makefile || exit 0; \
9796 [ -d gprof ] || mkdir gprof; \
9797 r=`${PWD_COMMAND}`; export r; \
9798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9799 $(HOST_EXPORTS) \
9800 echo Configuring in gprof; \
9801 cd gprof || exit 1; \
9802 case $(srcdir) in \
9803 \.) \
9804 srcdiroption="--srcdir=."; \
9805 libsrcdir=".";; \
9806 /* | [A-Za-z]:[\\/]*) \
9807 srcdiroption="--srcdir=$(srcdir)/gprof"; \
9808 libsrcdir="$$s/gprof";; \
9809 *) \
9810 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9811 libsrcdir="$$s/gprof";; \
9812 esac; \
9813 $(SHELL) $${libsrcdir}/configure \
9814 $(HOST_CONFIGARGS) $${srcdiroption} \
9815 || exit 1
9816 @endif gprof
9818 .PHONY: all-gprof maybe-all-gprof
9819 maybe-all-gprof:
9820 @if gprof
9821 maybe-all-gprof: all-gprof
9822 all-gprof: configure-gprof
9823 @r=`${PWD_COMMAND}`; export r; \
9824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9825 $(SET_LIB_PATH) \
9826 $(HOST_EXPORTS) \
9827 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
9828 @endif gprof
9830 .PHONY: check-gprof maybe-check-gprof
9831 maybe-check-gprof:
9832 @if gprof
9833 maybe-check-gprof: check-gprof
9835 check-gprof:
9836 @r=`${PWD_COMMAND}`; export r; \
9837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9838 $(SET_LIB_PATH) \
9839 $(HOST_EXPORTS) \
9840 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9842 @endif gprof
9844 .PHONY: install-gprof maybe-install-gprof
9845 maybe-install-gprof:
9846 @if gprof
9847 maybe-install-gprof: install-gprof
9849 install-gprof: installdirs
9850 @r=`${PWD_COMMAND}`; export r; \
9851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9852 $(SET_LIB_PATH) \
9853 $(HOST_EXPORTS) \
9854 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9856 @endif gprof
9858 # Other targets (info, dvi, etc.)
9860 .PHONY: maybe-info-gprof info-gprof
9861 maybe-info-gprof:
9862 @if gprof
9863 maybe-info-gprof: info-gprof
9865 info-gprof: \
9866 configure-gprof
9867 @[ -f ./gprof/Makefile ] || exit 0; \
9868 r=`${PWD_COMMAND}`; export r; \
9869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9870 $(SET_LIB_PATH) \
9871 $(HOST_EXPORTS) \
9872 for flag in $(EXTRA_HOST_FLAGS) ; do \
9873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9874 done; \
9875 echo "Doing info in gprof" ; \
9876 (cd gprof && \
9877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9879 "RANLIB=$${RANLIB}" \
9880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9881 info) \
9882 || exit 1
9884 @endif gprof
9886 .PHONY: maybe-dvi-gprof dvi-gprof
9887 maybe-dvi-gprof:
9888 @if gprof
9889 maybe-dvi-gprof: dvi-gprof
9891 dvi-gprof: \
9892 configure-gprof
9893 @[ -f ./gprof/Makefile ] || exit 0; \
9894 r=`${PWD_COMMAND}`; export r; \
9895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9896 $(SET_LIB_PATH) \
9897 $(HOST_EXPORTS) \
9898 for flag in $(EXTRA_HOST_FLAGS) ; do \
9899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9900 done; \
9901 echo "Doing dvi in gprof" ; \
9902 (cd gprof && \
9903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9905 "RANLIB=$${RANLIB}" \
9906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9907 dvi) \
9908 || exit 1
9910 @endif gprof
9912 .PHONY: maybe-TAGS-gprof TAGS-gprof
9913 maybe-TAGS-gprof:
9914 @if gprof
9915 maybe-TAGS-gprof: TAGS-gprof
9917 TAGS-gprof: \
9918 configure-gprof
9919 @[ -f ./gprof/Makefile ] || exit 0; \
9920 r=`${PWD_COMMAND}`; export r; \
9921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9922 $(SET_LIB_PATH) \
9923 $(HOST_EXPORTS) \
9924 for flag in $(EXTRA_HOST_FLAGS) ; do \
9925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9926 done; \
9927 echo "Doing TAGS in gprof" ; \
9928 (cd gprof && \
9929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9931 "RANLIB=$${RANLIB}" \
9932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9933 TAGS) \
9934 || exit 1
9936 @endif gprof
9938 .PHONY: maybe-install-info-gprof install-info-gprof
9939 maybe-install-info-gprof:
9940 @if gprof
9941 maybe-install-info-gprof: install-info-gprof
9943 install-info-gprof: \
9944 configure-gprof \
9945 info-gprof
9946 @[ -f ./gprof/Makefile ] || exit 0; \
9947 r=`${PWD_COMMAND}`; export r; \
9948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9949 $(SET_LIB_PATH) \
9950 $(HOST_EXPORTS) \
9951 for flag in $(EXTRA_HOST_FLAGS) ; do \
9952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9953 done; \
9954 echo "Doing install-info in gprof" ; \
9955 (cd gprof && \
9956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9958 "RANLIB=$${RANLIB}" \
9959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9960 install-info) \
9961 || exit 1
9963 @endif gprof
9965 .PHONY: maybe-installcheck-gprof installcheck-gprof
9966 maybe-installcheck-gprof:
9967 @if gprof
9968 maybe-installcheck-gprof: installcheck-gprof
9970 installcheck-gprof: \
9971 configure-gprof
9972 @[ -f ./gprof/Makefile ] || exit 0; \
9973 r=`${PWD_COMMAND}`; export r; \
9974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9975 $(SET_LIB_PATH) \
9976 $(HOST_EXPORTS) \
9977 for flag in $(EXTRA_HOST_FLAGS) ; do \
9978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9979 done; \
9980 echo "Doing installcheck in gprof" ; \
9981 (cd gprof && \
9982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9984 "RANLIB=$${RANLIB}" \
9985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9986 installcheck) \
9987 || exit 1
9989 @endif gprof
9991 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9992 maybe-mostlyclean-gprof:
9993 @if gprof
9994 maybe-mostlyclean-gprof: mostlyclean-gprof
9996 mostlyclean-gprof:
9997 @[ -f ./gprof/Makefile ] || exit 0; \
9998 r=`${PWD_COMMAND}`; export r; \
9999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10000 $(SET_LIB_PATH) \
10001 $(HOST_EXPORTS) \
10002 for flag in $(EXTRA_HOST_FLAGS) ; do \
10003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10004 done; \
10005 echo "Doing mostlyclean in gprof" ; \
10006 (cd gprof && \
10007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10009 "RANLIB=$${RANLIB}" \
10010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10011 mostlyclean) \
10012 || exit 1
10014 @endif gprof
10016 .PHONY: maybe-clean-gprof clean-gprof
10017 maybe-clean-gprof:
10018 @if gprof
10019 maybe-clean-gprof: clean-gprof
10021 clean-gprof:
10022 @[ -f ./gprof/Makefile ] || exit 0; \
10023 r=`${PWD_COMMAND}`; export r; \
10024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10025 $(SET_LIB_PATH) \
10026 $(HOST_EXPORTS) \
10027 for flag in $(EXTRA_HOST_FLAGS) ; do \
10028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10029 done; \
10030 echo "Doing clean in gprof" ; \
10031 (cd gprof && \
10032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10034 "RANLIB=$${RANLIB}" \
10035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10036 clean) \
10037 || exit 1
10039 @endif gprof
10041 .PHONY: maybe-distclean-gprof distclean-gprof
10042 maybe-distclean-gprof:
10043 @if gprof
10044 maybe-distclean-gprof: distclean-gprof
10046 distclean-gprof:
10047 @[ -f ./gprof/Makefile ] || exit 0; \
10048 r=`${PWD_COMMAND}`; export r; \
10049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10050 $(SET_LIB_PATH) \
10051 $(HOST_EXPORTS) \
10052 for flag in $(EXTRA_HOST_FLAGS) ; do \
10053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10054 done; \
10055 echo "Doing distclean in gprof" ; \
10056 (cd gprof && \
10057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10059 "RANLIB=$${RANLIB}" \
10060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10061 distclean) \
10062 || exit 1
10064 @endif gprof
10066 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10067 maybe-maintainer-clean-gprof:
10068 @if gprof
10069 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10071 maintainer-clean-gprof:
10072 @[ -f ./gprof/Makefile ] || exit 0; \
10073 r=`${PWD_COMMAND}`; export r; \
10074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10075 $(SET_LIB_PATH) \
10076 $(HOST_EXPORTS) \
10077 for flag in $(EXTRA_HOST_FLAGS) ; do \
10078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10079 done; \
10080 echo "Doing maintainer-clean in gprof" ; \
10081 (cd gprof && \
10082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10084 "RANLIB=$${RANLIB}" \
10085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10086 maintainer-clean) \
10087 || exit 1
10089 @endif gprof
10092 .PHONY: configure-gzip maybe-configure-gzip
10093 maybe-configure-gzip:
10094 @if gzip
10095 maybe-configure-gzip: configure-gzip
10096 configure-gzip:
10097 @test ! -f gzip/Makefile || exit 0; \
10098 [ -d gzip ] || mkdir gzip; \
10099 r=`${PWD_COMMAND}`; export r; \
10100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10101 $(HOST_EXPORTS) \
10102 echo Configuring in gzip; \
10103 cd gzip || exit 1; \
10104 case $(srcdir) in \
10105 \.) \
10106 srcdiroption="--srcdir=."; \
10107 libsrcdir=".";; \
10108 /* | [A-Za-z]:[\\/]*) \
10109 srcdiroption="--srcdir=$(srcdir)/gzip"; \
10110 libsrcdir="$$s/gzip";; \
10111 *) \
10112 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
10113 libsrcdir="$$s/gzip";; \
10114 esac; \
10115 $(SHELL) $${libsrcdir}/configure \
10116 $(HOST_CONFIGARGS) $${srcdiroption} \
10117 || exit 1
10118 @endif gzip
10120 .PHONY: all-gzip maybe-all-gzip
10121 maybe-all-gzip:
10122 @if gzip
10123 maybe-all-gzip: all-gzip
10124 all-gzip: configure-gzip
10125 @r=`${PWD_COMMAND}`; export r; \
10126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10127 $(SET_LIB_PATH) \
10128 $(HOST_EXPORTS) \
10129 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
10130 @endif gzip
10132 .PHONY: check-gzip maybe-check-gzip
10133 maybe-check-gzip:
10134 @if gzip
10135 maybe-check-gzip: check-gzip
10137 check-gzip:
10138 @r=`${PWD_COMMAND}`; export r; \
10139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10140 $(SET_LIB_PATH) \
10141 $(HOST_EXPORTS) \
10142 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
10144 @endif gzip
10146 .PHONY: install-gzip maybe-install-gzip
10147 maybe-install-gzip:
10148 @if gzip
10149 maybe-install-gzip: install-gzip
10151 install-gzip: installdirs
10152 @r=`${PWD_COMMAND}`; export r; \
10153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10154 $(SET_LIB_PATH) \
10155 $(HOST_EXPORTS) \
10156 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
10158 @endif gzip
10160 # Other targets (info, dvi, etc.)
10162 .PHONY: maybe-info-gzip info-gzip
10163 maybe-info-gzip:
10164 @if gzip
10165 maybe-info-gzip: info-gzip
10167 info-gzip: \
10168 configure-gzip
10169 @[ -f ./gzip/Makefile ] || exit 0; \
10170 r=`${PWD_COMMAND}`; export r; \
10171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10172 $(SET_LIB_PATH) \
10173 $(HOST_EXPORTS) \
10174 for flag in $(EXTRA_HOST_FLAGS) ; do \
10175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10176 done; \
10177 echo "Doing info in gzip" ; \
10178 (cd gzip && \
10179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10181 "RANLIB=$${RANLIB}" \
10182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10183 info) \
10184 || exit 1
10186 @endif gzip
10188 .PHONY: maybe-dvi-gzip dvi-gzip
10189 maybe-dvi-gzip:
10190 @if gzip
10191 maybe-dvi-gzip: dvi-gzip
10193 dvi-gzip: \
10194 configure-gzip
10195 @[ -f ./gzip/Makefile ] || exit 0; \
10196 r=`${PWD_COMMAND}`; export r; \
10197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10198 $(SET_LIB_PATH) \
10199 $(HOST_EXPORTS) \
10200 for flag in $(EXTRA_HOST_FLAGS) ; do \
10201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10202 done; \
10203 echo "Doing dvi in gzip" ; \
10204 (cd gzip && \
10205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10207 "RANLIB=$${RANLIB}" \
10208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10209 dvi) \
10210 || exit 1
10212 @endif gzip
10214 .PHONY: maybe-TAGS-gzip TAGS-gzip
10215 maybe-TAGS-gzip:
10216 @if gzip
10217 maybe-TAGS-gzip: TAGS-gzip
10219 TAGS-gzip: \
10220 configure-gzip
10221 @[ -f ./gzip/Makefile ] || exit 0; \
10222 r=`${PWD_COMMAND}`; export r; \
10223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10224 $(SET_LIB_PATH) \
10225 $(HOST_EXPORTS) \
10226 for flag in $(EXTRA_HOST_FLAGS) ; do \
10227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10228 done; \
10229 echo "Doing TAGS in gzip" ; \
10230 (cd gzip && \
10231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10233 "RANLIB=$${RANLIB}" \
10234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10235 TAGS) \
10236 || exit 1
10238 @endif gzip
10240 .PHONY: maybe-install-info-gzip install-info-gzip
10241 maybe-install-info-gzip:
10242 @if gzip
10243 maybe-install-info-gzip: install-info-gzip
10245 install-info-gzip: \
10246 configure-gzip \
10247 info-gzip
10248 @[ -f ./gzip/Makefile ] || exit 0; \
10249 r=`${PWD_COMMAND}`; export r; \
10250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10251 $(SET_LIB_PATH) \
10252 $(HOST_EXPORTS) \
10253 for flag in $(EXTRA_HOST_FLAGS) ; do \
10254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10255 done; \
10256 echo "Doing install-info in gzip" ; \
10257 (cd gzip && \
10258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10260 "RANLIB=$${RANLIB}" \
10261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10262 install-info) \
10263 || exit 1
10265 @endif gzip
10267 .PHONY: maybe-installcheck-gzip installcheck-gzip
10268 maybe-installcheck-gzip:
10269 @if gzip
10270 maybe-installcheck-gzip: installcheck-gzip
10272 installcheck-gzip: \
10273 configure-gzip
10274 @[ -f ./gzip/Makefile ] || exit 0; \
10275 r=`${PWD_COMMAND}`; export r; \
10276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10277 $(SET_LIB_PATH) \
10278 $(HOST_EXPORTS) \
10279 for flag in $(EXTRA_HOST_FLAGS) ; do \
10280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10281 done; \
10282 echo "Doing installcheck in gzip" ; \
10283 (cd gzip && \
10284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10286 "RANLIB=$${RANLIB}" \
10287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10288 installcheck) \
10289 || exit 1
10291 @endif gzip
10293 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10294 maybe-mostlyclean-gzip:
10295 @if gzip
10296 maybe-mostlyclean-gzip: mostlyclean-gzip
10298 mostlyclean-gzip:
10299 @[ -f ./gzip/Makefile ] || exit 0; \
10300 r=`${PWD_COMMAND}`; export r; \
10301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10302 $(SET_LIB_PATH) \
10303 $(HOST_EXPORTS) \
10304 for flag in $(EXTRA_HOST_FLAGS) ; do \
10305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10306 done; \
10307 echo "Doing mostlyclean in gzip" ; \
10308 (cd gzip && \
10309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10311 "RANLIB=$${RANLIB}" \
10312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10313 mostlyclean) \
10314 || exit 1
10316 @endif gzip
10318 .PHONY: maybe-clean-gzip clean-gzip
10319 maybe-clean-gzip:
10320 @if gzip
10321 maybe-clean-gzip: clean-gzip
10323 clean-gzip:
10324 @[ -f ./gzip/Makefile ] || exit 0; \
10325 r=`${PWD_COMMAND}`; export r; \
10326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10327 $(SET_LIB_PATH) \
10328 $(HOST_EXPORTS) \
10329 for flag in $(EXTRA_HOST_FLAGS) ; do \
10330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10331 done; \
10332 echo "Doing clean in gzip" ; \
10333 (cd gzip && \
10334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10336 "RANLIB=$${RANLIB}" \
10337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10338 clean) \
10339 || exit 1
10341 @endif gzip
10343 .PHONY: maybe-distclean-gzip distclean-gzip
10344 maybe-distclean-gzip:
10345 @if gzip
10346 maybe-distclean-gzip: distclean-gzip
10348 distclean-gzip:
10349 @[ -f ./gzip/Makefile ] || exit 0; \
10350 r=`${PWD_COMMAND}`; export r; \
10351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10352 $(SET_LIB_PATH) \
10353 $(HOST_EXPORTS) \
10354 for flag in $(EXTRA_HOST_FLAGS) ; do \
10355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10356 done; \
10357 echo "Doing distclean in gzip" ; \
10358 (cd gzip && \
10359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10361 "RANLIB=$${RANLIB}" \
10362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10363 distclean) \
10364 || exit 1
10366 @endif gzip
10368 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10369 maybe-maintainer-clean-gzip:
10370 @if gzip
10371 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10373 maintainer-clean-gzip:
10374 @[ -f ./gzip/Makefile ] || exit 0; \
10375 r=`${PWD_COMMAND}`; export r; \
10376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10377 $(SET_LIB_PATH) \
10378 $(HOST_EXPORTS) \
10379 for flag in $(EXTRA_HOST_FLAGS) ; do \
10380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10381 done; \
10382 echo "Doing maintainer-clean in gzip" ; \
10383 (cd gzip && \
10384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10386 "RANLIB=$${RANLIB}" \
10387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10388 maintainer-clean) \
10389 || exit 1
10391 @endif gzip
10394 .PHONY: configure-hello maybe-configure-hello
10395 maybe-configure-hello:
10396 @if hello
10397 maybe-configure-hello: configure-hello
10398 configure-hello:
10399 @test ! -f hello/Makefile || exit 0; \
10400 [ -d hello ] || mkdir hello; \
10401 r=`${PWD_COMMAND}`; export r; \
10402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10403 $(HOST_EXPORTS) \
10404 echo Configuring in hello; \
10405 cd hello || exit 1; \
10406 case $(srcdir) in \
10407 \.) \
10408 srcdiroption="--srcdir=."; \
10409 libsrcdir=".";; \
10410 /* | [A-Za-z]:[\\/]*) \
10411 srcdiroption="--srcdir=$(srcdir)/hello"; \
10412 libsrcdir="$$s/hello";; \
10413 *) \
10414 srcdiroption="--srcdir=../$(srcdir)/hello"; \
10415 libsrcdir="$$s/hello";; \
10416 esac; \
10417 $(SHELL) $${libsrcdir}/configure \
10418 $(HOST_CONFIGARGS) $${srcdiroption} \
10419 || exit 1
10420 @endif hello
10422 .PHONY: all-hello maybe-all-hello
10423 maybe-all-hello:
10424 @if hello
10425 maybe-all-hello: all-hello
10426 all-hello: configure-hello
10427 @r=`${PWD_COMMAND}`; export r; \
10428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10429 $(SET_LIB_PATH) \
10430 $(HOST_EXPORTS) \
10431 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
10432 @endif hello
10434 .PHONY: check-hello maybe-check-hello
10435 maybe-check-hello:
10436 @if hello
10437 maybe-check-hello: check-hello
10439 check-hello:
10440 @r=`${PWD_COMMAND}`; export r; \
10441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10442 $(SET_LIB_PATH) \
10443 $(HOST_EXPORTS) \
10444 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
10446 @endif hello
10448 .PHONY: install-hello maybe-install-hello
10449 maybe-install-hello:
10450 @if hello
10451 maybe-install-hello: install-hello
10453 install-hello: installdirs
10454 @r=`${PWD_COMMAND}`; export r; \
10455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10456 $(SET_LIB_PATH) \
10457 $(HOST_EXPORTS) \
10458 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
10460 @endif hello
10462 # Other targets (info, dvi, etc.)
10464 .PHONY: maybe-info-hello info-hello
10465 maybe-info-hello:
10466 @if hello
10467 maybe-info-hello: info-hello
10469 info-hello: \
10470 configure-hello
10471 @[ -f ./hello/Makefile ] || exit 0; \
10472 r=`${PWD_COMMAND}`; export r; \
10473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10474 $(SET_LIB_PATH) \
10475 $(HOST_EXPORTS) \
10476 for flag in $(EXTRA_HOST_FLAGS) ; do \
10477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10478 done; \
10479 echo "Doing info in hello" ; \
10480 (cd hello && \
10481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10483 "RANLIB=$${RANLIB}" \
10484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10485 info) \
10486 || exit 1
10488 @endif hello
10490 .PHONY: maybe-dvi-hello dvi-hello
10491 maybe-dvi-hello:
10492 @if hello
10493 maybe-dvi-hello: dvi-hello
10495 dvi-hello: \
10496 configure-hello
10497 @[ -f ./hello/Makefile ] || exit 0; \
10498 r=`${PWD_COMMAND}`; export r; \
10499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10500 $(SET_LIB_PATH) \
10501 $(HOST_EXPORTS) \
10502 for flag in $(EXTRA_HOST_FLAGS) ; do \
10503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10504 done; \
10505 echo "Doing dvi in hello" ; \
10506 (cd hello && \
10507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10509 "RANLIB=$${RANLIB}" \
10510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10511 dvi) \
10512 || exit 1
10514 @endif hello
10516 .PHONY: maybe-TAGS-hello TAGS-hello
10517 maybe-TAGS-hello:
10518 @if hello
10519 maybe-TAGS-hello: TAGS-hello
10521 TAGS-hello: \
10522 configure-hello
10523 @[ -f ./hello/Makefile ] || exit 0; \
10524 r=`${PWD_COMMAND}`; export r; \
10525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10526 $(SET_LIB_PATH) \
10527 $(HOST_EXPORTS) \
10528 for flag in $(EXTRA_HOST_FLAGS) ; do \
10529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10530 done; \
10531 echo "Doing TAGS in hello" ; \
10532 (cd hello && \
10533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10535 "RANLIB=$${RANLIB}" \
10536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10537 TAGS) \
10538 || exit 1
10540 @endif hello
10542 .PHONY: maybe-install-info-hello install-info-hello
10543 maybe-install-info-hello:
10544 @if hello
10545 maybe-install-info-hello: install-info-hello
10547 install-info-hello: \
10548 configure-hello \
10549 info-hello
10550 @[ -f ./hello/Makefile ] || exit 0; \
10551 r=`${PWD_COMMAND}`; export r; \
10552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10553 $(SET_LIB_PATH) \
10554 $(HOST_EXPORTS) \
10555 for flag in $(EXTRA_HOST_FLAGS) ; do \
10556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10557 done; \
10558 echo "Doing install-info in hello" ; \
10559 (cd hello && \
10560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10562 "RANLIB=$${RANLIB}" \
10563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10564 install-info) \
10565 || exit 1
10567 @endif hello
10569 .PHONY: maybe-installcheck-hello installcheck-hello
10570 maybe-installcheck-hello:
10571 @if hello
10572 maybe-installcheck-hello: installcheck-hello
10574 installcheck-hello: \
10575 configure-hello
10576 @[ -f ./hello/Makefile ] || exit 0; \
10577 r=`${PWD_COMMAND}`; export r; \
10578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10579 $(SET_LIB_PATH) \
10580 $(HOST_EXPORTS) \
10581 for flag in $(EXTRA_HOST_FLAGS) ; do \
10582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10583 done; \
10584 echo "Doing installcheck in hello" ; \
10585 (cd hello && \
10586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10588 "RANLIB=$${RANLIB}" \
10589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10590 installcheck) \
10591 || exit 1
10593 @endif hello
10595 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10596 maybe-mostlyclean-hello:
10597 @if hello
10598 maybe-mostlyclean-hello: mostlyclean-hello
10600 mostlyclean-hello:
10601 @[ -f ./hello/Makefile ] || exit 0; \
10602 r=`${PWD_COMMAND}`; export r; \
10603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10604 $(SET_LIB_PATH) \
10605 $(HOST_EXPORTS) \
10606 for flag in $(EXTRA_HOST_FLAGS) ; do \
10607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10608 done; \
10609 echo "Doing mostlyclean in hello" ; \
10610 (cd hello && \
10611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10613 "RANLIB=$${RANLIB}" \
10614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10615 mostlyclean) \
10616 || exit 1
10618 @endif hello
10620 .PHONY: maybe-clean-hello clean-hello
10621 maybe-clean-hello:
10622 @if hello
10623 maybe-clean-hello: clean-hello
10625 clean-hello:
10626 @[ -f ./hello/Makefile ] || exit 0; \
10627 r=`${PWD_COMMAND}`; export r; \
10628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10629 $(SET_LIB_PATH) \
10630 $(HOST_EXPORTS) \
10631 for flag in $(EXTRA_HOST_FLAGS) ; do \
10632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10633 done; \
10634 echo "Doing clean in hello" ; \
10635 (cd hello && \
10636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10638 "RANLIB=$${RANLIB}" \
10639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10640 clean) \
10641 || exit 1
10643 @endif hello
10645 .PHONY: maybe-distclean-hello distclean-hello
10646 maybe-distclean-hello:
10647 @if hello
10648 maybe-distclean-hello: distclean-hello
10650 distclean-hello:
10651 @[ -f ./hello/Makefile ] || exit 0; \
10652 r=`${PWD_COMMAND}`; export r; \
10653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10654 $(SET_LIB_PATH) \
10655 $(HOST_EXPORTS) \
10656 for flag in $(EXTRA_HOST_FLAGS) ; do \
10657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10658 done; \
10659 echo "Doing distclean in hello" ; \
10660 (cd hello && \
10661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10663 "RANLIB=$${RANLIB}" \
10664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10665 distclean) \
10666 || exit 1
10668 @endif hello
10670 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10671 maybe-maintainer-clean-hello:
10672 @if hello
10673 maybe-maintainer-clean-hello: maintainer-clean-hello
10675 maintainer-clean-hello:
10676 @[ -f ./hello/Makefile ] || exit 0; \
10677 r=`${PWD_COMMAND}`; export r; \
10678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10679 $(SET_LIB_PATH) \
10680 $(HOST_EXPORTS) \
10681 for flag in $(EXTRA_HOST_FLAGS) ; do \
10682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10683 done; \
10684 echo "Doing maintainer-clean in hello" ; \
10685 (cd hello && \
10686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10688 "RANLIB=$${RANLIB}" \
10689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10690 maintainer-clean) \
10691 || exit 1
10693 @endif hello
10696 .PHONY: configure-indent maybe-configure-indent
10697 maybe-configure-indent:
10698 @if indent
10699 maybe-configure-indent: configure-indent
10700 configure-indent:
10701 @test ! -f indent/Makefile || exit 0; \
10702 [ -d indent ] || mkdir indent; \
10703 r=`${PWD_COMMAND}`; export r; \
10704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10705 $(HOST_EXPORTS) \
10706 echo Configuring in indent; \
10707 cd indent || exit 1; \
10708 case $(srcdir) in \
10709 \.) \
10710 srcdiroption="--srcdir=."; \
10711 libsrcdir=".";; \
10712 /* | [A-Za-z]:[\\/]*) \
10713 srcdiroption="--srcdir=$(srcdir)/indent"; \
10714 libsrcdir="$$s/indent";; \
10715 *) \
10716 srcdiroption="--srcdir=../$(srcdir)/indent"; \
10717 libsrcdir="$$s/indent";; \
10718 esac; \
10719 $(SHELL) $${libsrcdir}/configure \
10720 $(HOST_CONFIGARGS) $${srcdiroption} \
10721 || exit 1
10722 @endif indent
10724 .PHONY: all-indent maybe-all-indent
10725 maybe-all-indent:
10726 @if indent
10727 maybe-all-indent: all-indent
10728 all-indent: configure-indent
10729 @r=`${PWD_COMMAND}`; export r; \
10730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10731 $(SET_LIB_PATH) \
10732 $(HOST_EXPORTS) \
10733 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
10734 @endif indent
10736 .PHONY: check-indent maybe-check-indent
10737 maybe-check-indent:
10738 @if indent
10739 maybe-check-indent: check-indent
10741 check-indent:
10742 @r=`${PWD_COMMAND}`; export r; \
10743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10744 $(SET_LIB_PATH) \
10745 $(HOST_EXPORTS) \
10746 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10748 @endif indent
10750 .PHONY: install-indent maybe-install-indent
10751 maybe-install-indent:
10752 @if indent
10753 maybe-install-indent: install-indent
10755 install-indent: installdirs
10756 @r=`${PWD_COMMAND}`; export r; \
10757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10758 $(SET_LIB_PATH) \
10759 $(HOST_EXPORTS) \
10760 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10762 @endif indent
10764 # Other targets (info, dvi, etc.)
10766 .PHONY: maybe-info-indent info-indent
10767 maybe-info-indent:
10768 @if indent
10769 maybe-info-indent: info-indent
10771 info-indent: \
10772 configure-indent
10773 @[ -f ./indent/Makefile ] || exit 0; \
10774 r=`${PWD_COMMAND}`; export r; \
10775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10776 $(SET_LIB_PATH) \
10777 $(HOST_EXPORTS) \
10778 for flag in $(EXTRA_HOST_FLAGS) ; do \
10779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10780 done; \
10781 echo "Doing info in indent" ; \
10782 (cd indent && \
10783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10785 "RANLIB=$${RANLIB}" \
10786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10787 info) \
10788 || exit 1
10790 @endif indent
10792 .PHONY: maybe-dvi-indent dvi-indent
10793 maybe-dvi-indent:
10794 @if indent
10795 maybe-dvi-indent: dvi-indent
10797 dvi-indent: \
10798 configure-indent
10799 @[ -f ./indent/Makefile ] || exit 0; \
10800 r=`${PWD_COMMAND}`; export r; \
10801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10802 $(SET_LIB_PATH) \
10803 $(HOST_EXPORTS) \
10804 for flag in $(EXTRA_HOST_FLAGS) ; do \
10805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10806 done; \
10807 echo "Doing dvi in indent" ; \
10808 (cd indent && \
10809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10811 "RANLIB=$${RANLIB}" \
10812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10813 dvi) \
10814 || exit 1
10816 @endif indent
10818 .PHONY: maybe-TAGS-indent TAGS-indent
10819 maybe-TAGS-indent:
10820 @if indent
10821 maybe-TAGS-indent: TAGS-indent
10823 TAGS-indent: \
10824 configure-indent
10825 @[ -f ./indent/Makefile ] || exit 0; \
10826 r=`${PWD_COMMAND}`; export r; \
10827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10828 $(SET_LIB_PATH) \
10829 $(HOST_EXPORTS) \
10830 for flag in $(EXTRA_HOST_FLAGS) ; do \
10831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10832 done; \
10833 echo "Doing TAGS in indent" ; \
10834 (cd indent && \
10835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10837 "RANLIB=$${RANLIB}" \
10838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10839 TAGS) \
10840 || exit 1
10842 @endif indent
10844 .PHONY: maybe-install-info-indent install-info-indent
10845 maybe-install-info-indent:
10846 @if indent
10847 maybe-install-info-indent: install-info-indent
10849 install-info-indent: \
10850 configure-indent \
10851 info-indent
10852 @[ -f ./indent/Makefile ] || exit 0; \
10853 r=`${PWD_COMMAND}`; export r; \
10854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10855 $(SET_LIB_PATH) \
10856 $(HOST_EXPORTS) \
10857 for flag in $(EXTRA_HOST_FLAGS) ; do \
10858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10859 done; \
10860 echo "Doing install-info in indent" ; \
10861 (cd indent && \
10862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10864 "RANLIB=$${RANLIB}" \
10865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10866 install-info) \
10867 || exit 1
10869 @endif indent
10871 .PHONY: maybe-installcheck-indent installcheck-indent
10872 maybe-installcheck-indent:
10873 @if indent
10874 maybe-installcheck-indent: installcheck-indent
10876 installcheck-indent: \
10877 configure-indent
10878 @[ -f ./indent/Makefile ] || exit 0; \
10879 r=`${PWD_COMMAND}`; export r; \
10880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10881 $(SET_LIB_PATH) \
10882 $(HOST_EXPORTS) \
10883 for flag in $(EXTRA_HOST_FLAGS) ; do \
10884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10885 done; \
10886 echo "Doing installcheck in indent" ; \
10887 (cd indent && \
10888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10890 "RANLIB=$${RANLIB}" \
10891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10892 installcheck) \
10893 || exit 1
10895 @endif indent
10897 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10898 maybe-mostlyclean-indent:
10899 @if indent
10900 maybe-mostlyclean-indent: mostlyclean-indent
10902 mostlyclean-indent:
10903 @[ -f ./indent/Makefile ] || exit 0; \
10904 r=`${PWD_COMMAND}`; export r; \
10905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10906 $(SET_LIB_PATH) \
10907 $(HOST_EXPORTS) \
10908 for flag in $(EXTRA_HOST_FLAGS) ; do \
10909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10910 done; \
10911 echo "Doing mostlyclean in indent" ; \
10912 (cd indent && \
10913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10915 "RANLIB=$${RANLIB}" \
10916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10917 mostlyclean) \
10918 || exit 1
10920 @endif indent
10922 .PHONY: maybe-clean-indent clean-indent
10923 maybe-clean-indent:
10924 @if indent
10925 maybe-clean-indent: clean-indent
10927 clean-indent:
10928 @[ -f ./indent/Makefile ] || exit 0; \
10929 r=`${PWD_COMMAND}`; export r; \
10930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10931 $(SET_LIB_PATH) \
10932 $(HOST_EXPORTS) \
10933 for flag in $(EXTRA_HOST_FLAGS) ; do \
10934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10935 done; \
10936 echo "Doing clean in indent" ; \
10937 (cd indent && \
10938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10940 "RANLIB=$${RANLIB}" \
10941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10942 clean) \
10943 || exit 1
10945 @endif indent
10947 .PHONY: maybe-distclean-indent distclean-indent
10948 maybe-distclean-indent:
10949 @if indent
10950 maybe-distclean-indent: distclean-indent
10952 distclean-indent:
10953 @[ -f ./indent/Makefile ] || exit 0; \
10954 r=`${PWD_COMMAND}`; export r; \
10955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10956 $(SET_LIB_PATH) \
10957 $(HOST_EXPORTS) \
10958 for flag in $(EXTRA_HOST_FLAGS) ; do \
10959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10960 done; \
10961 echo "Doing distclean in indent" ; \
10962 (cd indent && \
10963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10965 "RANLIB=$${RANLIB}" \
10966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10967 distclean) \
10968 || exit 1
10970 @endif indent
10972 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10973 maybe-maintainer-clean-indent:
10974 @if indent
10975 maybe-maintainer-clean-indent: maintainer-clean-indent
10977 maintainer-clean-indent:
10978 @[ -f ./indent/Makefile ] || exit 0; \
10979 r=`${PWD_COMMAND}`; export r; \
10980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10981 $(SET_LIB_PATH) \
10982 $(HOST_EXPORTS) \
10983 for flag in $(EXTRA_HOST_FLAGS) ; do \
10984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10985 done; \
10986 echo "Doing maintainer-clean in indent" ; \
10987 (cd indent && \
10988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10990 "RANLIB=$${RANLIB}" \
10991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10992 maintainer-clean) \
10993 || exit 1
10995 @endif indent
10998 .PHONY: configure-intl maybe-configure-intl
10999 maybe-configure-intl:
11000 @if intl
11001 maybe-configure-intl: configure-intl
11002 configure-intl:
11003 @test -f stage_last && exit 0; \
11004 test ! -f intl/Makefile || exit 0; \
11005 [ -d intl ] || mkdir intl; \
11006 r=`${PWD_COMMAND}`; export r; \
11007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11008 $(HOST_EXPORTS) \
11009 echo Configuring in intl; \
11010 cd intl || exit 1; \
11011 case $(srcdir) in \
11012 \.) \
11013 srcdiroption="--srcdir=."; \
11014 libsrcdir=".";; \
11015 /* | [A-Za-z]:[\\/]*) \
11016 srcdiroption="--srcdir=$(srcdir)/intl"; \
11017 libsrcdir="$$s/intl";; \
11018 *) \
11019 srcdiroption="--srcdir=../$(srcdir)/intl"; \
11020 libsrcdir="$$s/intl";; \
11021 esac; \
11022 $(SHELL) $${libsrcdir}/configure \
11023 $(HOST_CONFIGARGS) $${srcdiroption} \
11024 || exit 1
11025 @endif intl
11027 .PHONY: all-intl maybe-all-intl
11028 maybe-all-intl:
11029 @if intl
11030 maybe-all-intl: all-intl
11031 all-intl: configure-intl
11032 @test -f stage_last && exit 0; \
11033 r=`${PWD_COMMAND}`; export r; \
11034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11035 $(SET_LIB_PATH) \
11036 $(HOST_EXPORTS) \
11037 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
11038 @endif intl
11040 .PHONY: check-intl maybe-check-intl
11041 maybe-check-intl:
11042 @if intl
11043 maybe-check-intl: check-intl
11045 check-intl:
11046 @r=`${PWD_COMMAND}`; export r; \
11047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11048 $(SET_LIB_PATH) \
11049 $(HOST_EXPORTS) \
11050 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
11052 @endif intl
11054 .PHONY: install-intl maybe-install-intl
11055 maybe-install-intl:
11056 @if intl
11057 maybe-install-intl: install-intl
11059 install-intl: installdirs
11060 @r=`${PWD_COMMAND}`; export r; \
11061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11062 $(SET_LIB_PATH) \
11063 $(HOST_EXPORTS) \
11064 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
11066 @endif intl
11068 # Other targets (info, dvi, etc.)
11070 .PHONY: maybe-info-intl info-intl
11071 maybe-info-intl:
11072 @if intl
11073 maybe-info-intl: info-intl
11075 info-intl: \
11076 configure-intl
11077 @[ -f ./intl/Makefile ] || exit 0; \
11078 r=`${PWD_COMMAND}`; export r; \
11079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11080 $(SET_LIB_PATH) \
11081 $(HOST_EXPORTS) \
11082 for flag in $(EXTRA_HOST_FLAGS) ; do \
11083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11084 done; \
11085 echo "Doing info in intl" ; \
11086 (cd intl && \
11087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11089 "RANLIB=$${RANLIB}" \
11090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11091 info) \
11092 || exit 1
11094 @endif intl
11096 .PHONY: maybe-dvi-intl dvi-intl
11097 maybe-dvi-intl:
11098 @if intl
11099 maybe-dvi-intl: dvi-intl
11101 dvi-intl: \
11102 configure-intl
11103 @[ -f ./intl/Makefile ] || exit 0; \
11104 r=`${PWD_COMMAND}`; export r; \
11105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11106 $(SET_LIB_PATH) \
11107 $(HOST_EXPORTS) \
11108 for flag in $(EXTRA_HOST_FLAGS) ; do \
11109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11110 done; \
11111 echo "Doing dvi in intl" ; \
11112 (cd intl && \
11113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11115 "RANLIB=$${RANLIB}" \
11116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11117 dvi) \
11118 || exit 1
11120 @endif intl
11122 .PHONY: maybe-TAGS-intl TAGS-intl
11123 maybe-TAGS-intl:
11124 @if intl
11125 maybe-TAGS-intl: TAGS-intl
11127 TAGS-intl: \
11128 configure-intl
11129 @[ -f ./intl/Makefile ] || exit 0; \
11130 r=`${PWD_COMMAND}`; export r; \
11131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11132 $(SET_LIB_PATH) \
11133 $(HOST_EXPORTS) \
11134 for flag in $(EXTRA_HOST_FLAGS) ; do \
11135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11136 done; \
11137 echo "Doing TAGS in intl" ; \
11138 (cd intl && \
11139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11141 "RANLIB=$${RANLIB}" \
11142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11143 TAGS) \
11144 || exit 1
11146 @endif intl
11148 .PHONY: maybe-install-info-intl install-info-intl
11149 maybe-install-info-intl:
11150 @if intl
11151 maybe-install-info-intl: install-info-intl
11153 install-info-intl: \
11154 configure-intl \
11155 info-intl
11156 @[ -f ./intl/Makefile ] || exit 0; \
11157 r=`${PWD_COMMAND}`; export r; \
11158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11159 $(SET_LIB_PATH) \
11160 $(HOST_EXPORTS) \
11161 for flag in $(EXTRA_HOST_FLAGS) ; do \
11162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11163 done; \
11164 echo "Doing install-info in intl" ; \
11165 (cd intl && \
11166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11168 "RANLIB=$${RANLIB}" \
11169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11170 install-info) \
11171 || exit 1
11173 @endif intl
11175 .PHONY: maybe-installcheck-intl installcheck-intl
11176 maybe-installcheck-intl:
11177 @if intl
11178 maybe-installcheck-intl: installcheck-intl
11180 installcheck-intl: \
11181 configure-intl
11182 @[ -f ./intl/Makefile ] || exit 0; \
11183 r=`${PWD_COMMAND}`; export r; \
11184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11185 $(SET_LIB_PATH) \
11186 $(HOST_EXPORTS) \
11187 for flag in $(EXTRA_HOST_FLAGS) ; do \
11188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11189 done; \
11190 echo "Doing installcheck in intl" ; \
11191 (cd intl && \
11192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11194 "RANLIB=$${RANLIB}" \
11195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11196 installcheck) \
11197 || exit 1
11199 @endif intl
11201 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11202 maybe-mostlyclean-intl:
11203 @if intl
11204 maybe-mostlyclean-intl: mostlyclean-intl
11206 mostlyclean-intl:
11207 @[ -f ./intl/Makefile ] || exit 0; \
11208 r=`${PWD_COMMAND}`; export r; \
11209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11210 $(SET_LIB_PATH) \
11211 $(HOST_EXPORTS) \
11212 for flag in $(EXTRA_HOST_FLAGS) ; do \
11213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11214 done; \
11215 echo "Doing mostlyclean in intl" ; \
11216 (cd intl && \
11217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11219 "RANLIB=$${RANLIB}" \
11220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11221 mostlyclean) \
11222 || exit 1
11224 @endif intl
11226 .PHONY: maybe-clean-intl clean-intl
11227 maybe-clean-intl:
11228 @if intl
11229 maybe-clean-intl: clean-intl
11231 clean-intl:
11232 @[ -f ./intl/Makefile ] || exit 0; \
11233 r=`${PWD_COMMAND}`; export r; \
11234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11235 $(SET_LIB_PATH) \
11236 $(HOST_EXPORTS) \
11237 for flag in $(EXTRA_HOST_FLAGS) ; do \
11238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11239 done; \
11240 echo "Doing clean in intl" ; \
11241 (cd intl && \
11242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11244 "RANLIB=$${RANLIB}" \
11245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11246 clean) \
11247 || exit 1
11249 @endif intl
11251 .PHONY: maybe-distclean-intl distclean-intl
11252 maybe-distclean-intl:
11253 @if intl
11254 maybe-distclean-intl: distclean-intl
11256 distclean-intl:
11257 @[ -f ./intl/Makefile ] || exit 0; \
11258 r=`${PWD_COMMAND}`; export r; \
11259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11260 $(SET_LIB_PATH) \
11261 $(HOST_EXPORTS) \
11262 for flag in $(EXTRA_HOST_FLAGS) ; do \
11263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11264 done; \
11265 echo "Doing distclean in intl" ; \
11266 (cd intl && \
11267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11269 "RANLIB=$${RANLIB}" \
11270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11271 distclean) \
11272 || exit 1
11274 @endif intl
11276 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11277 maybe-maintainer-clean-intl:
11278 @if intl
11279 maybe-maintainer-clean-intl: maintainer-clean-intl
11281 maintainer-clean-intl:
11282 @[ -f ./intl/Makefile ] || exit 0; \
11283 r=`${PWD_COMMAND}`; export r; \
11284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11285 $(SET_LIB_PATH) \
11286 $(HOST_EXPORTS) \
11287 for flag in $(EXTRA_HOST_FLAGS) ; do \
11288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11289 done; \
11290 echo "Doing maintainer-clean in intl" ; \
11291 (cd intl && \
11292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11294 "RANLIB=$${RANLIB}" \
11295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11296 maintainer-clean) \
11297 || exit 1
11299 @endif intl
11302 .PHONY: configure-tcl maybe-configure-tcl
11303 maybe-configure-tcl:
11304 @if tcl
11305 maybe-configure-tcl: configure-tcl
11306 configure-tcl:
11307 @test ! -f tcl/Makefile || exit 0; \
11308 [ -d tcl ] || mkdir tcl; \
11309 r=`${PWD_COMMAND}`; export r; \
11310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11311 $(HOST_EXPORTS) \
11312 echo Configuring in tcl; \
11313 cd tcl || exit 1; \
11314 case $(srcdir) in \
11315 \.) \
11316 srcdiroption="--srcdir=."; \
11317 libsrcdir=".";; \
11318 /* | [A-Za-z]:[\\/]*) \
11319 srcdiroption="--srcdir=$(srcdir)/tcl"; \
11320 libsrcdir="$$s/tcl";; \
11321 *) \
11322 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
11323 libsrcdir="$$s/tcl";; \
11324 esac; \
11325 $(SHELL) $${libsrcdir}/configure \
11326 $(HOST_CONFIGARGS) $${srcdiroption} \
11327 || exit 1
11328 @endif tcl
11330 .PHONY: all-tcl maybe-all-tcl
11331 maybe-all-tcl:
11332 @if tcl
11333 maybe-all-tcl: all-tcl
11334 all-tcl: configure-tcl
11335 @r=`${PWD_COMMAND}`; export r; \
11336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11337 $(SET_LIB_PATH) \
11338 $(HOST_EXPORTS) \
11339 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
11340 @endif tcl
11342 .PHONY: check-tcl maybe-check-tcl
11343 maybe-check-tcl:
11344 @if tcl
11345 maybe-check-tcl: check-tcl
11347 check-tcl:
11348 @r=`${PWD_COMMAND}`; export r; \
11349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11350 $(SET_LIB_PATH) \
11351 $(HOST_EXPORTS) \
11352 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
11354 @endif tcl
11356 .PHONY: install-tcl maybe-install-tcl
11357 maybe-install-tcl:
11358 @if tcl
11359 maybe-install-tcl: install-tcl
11361 install-tcl: installdirs
11362 @r=`${PWD_COMMAND}`; export r; \
11363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11364 $(SET_LIB_PATH) \
11365 $(HOST_EXPORTS) \
11366 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
11368 @endif tcl
11370 # Other targets (info, dvi, etc.)
11372 .PHONY: maybe-info-tcl info-tcl
11373 maybe-info-tcl:
11374 @if tcl
11375 maybe-info-tcl: info-tcl
11377 info-tcl: \
11378 configure-tcl
11379 @[ -f ./tcl/Makefile ] || exit 0; \
11380 r=`${PWD_COMMAND}`; export r; \
11381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11382 $(SET_LIB_PATH) \
11383 $(HOST_EXPORTS) \
11384 for flag in $(EXTRA_HOST_FLAGS) ; do \
11385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11386 done; \
11387 echo "Doing info in tcl" ; \
11388 (cd tcl && \
11389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11391 "RANLIB=$${RANLIB}" \
11392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11393 info) \
11394 || exit 1
11396 @endif tcl
11398 .PHONY: maybe-dvi-tcl dvi-tcl
11399 maybe-dvi-tcl:
11400 @if tcl
11401 maybe-dvi-tcl: dvi-tcl
11403 dvi-tcl: \
11404 configure-tcl
11405 @[ -f ./tcl/Makefile ] || exit 0; \
11406 r=`${PWD_COMMAND}`; export r; \
11407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11408 $(SET_LIB_PATH) \
11409 $(HOST_EXPORTS) \
11410 for flag in $(EXTRA_HOST_FLAGS) ; do \
11411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11412 done; \
11413 echo "Doing dvi in tcl" ; \
11414 (cd tcl && \
11415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11417 "RANLIB=$${RANLIB}" \
11418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11419 dvi) \
11420 || exit 1
11422 @endif tcl
11424 .PHONY: maybe-TAGS-tcl TAGS-tcl
11425 maybe-TAGS-tcl:
11426 @if tcl
11427 maybe-TAGS-tcl: TAGS-tcl
11429 TAGS-tcl: \
11430 configure-tcl
11431 @[ -f ./tcl/Makefile ] || exit 0; \
11432 r=`${PWD_COMMAND}`; export r; \
11433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11434 $(SET_LIB_PATH) \
11435 $(HOST_EXPORTS) \
11436 for flag in $(EXTRA_HOST_FLAGS) ; do \
11437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11438 done; \
11439 echo "Doing TAGS in tcl" ; \
11440 (cd tcl && \
11441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11443 "RANLIB=$${RANLIB}" \
11444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11445 TAGS) \
11446 || exit 1
11448 @endif tcl
11450 .PHONY: maybe-install-info-tcl install-info-tcl
11451 maybe-install-info-tcl:
11452 @if tcl
11453 maybe-install-info-tcl: install-info-tcl
11455 install-info-tcl: \
11456 configure-tcl \
11457 info-tcl
11458 @[ -f ./tcl/Makefile ] || exit 0; \
11459 r=`${PWD_COMMAND}`; export r; \
11460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11461 $(SET_LIB_PATH) \
11462 $(HOST_EXPORTS) \
11463 for flag in $(EXTRA_HOST_FLAGS) ; do \
11464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11465 done; \
11466 echo "Doing install-info in tcl" ; \
11467 (cd tcl && \
11468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11470 "RANLIB=$${RANLIB}" \
11471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11472 install-info) \
11473 || exit 1
11475 @endif tcl
11477 .PHONY: maybe-installcheck-tcl installcheck-tcl
11478 maybe-installcheck-tcl:
11479 @if tcl
11480 maybe-installcheck-tcl: installcheck-tcl
11482 installcheck-tcl: \
11483 configure-tcl
11484 @[ -f ./tcl/Makefile ] || exit 0; \
11485 r=`${PWD_COMMAND}`; export r; \
11486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11487 $(SET_LIB_PATH) \
11488 $(HOST_EXPORTS) \
11489 for flag in $(EXTRA_HOST_FLAGS) ; do \
11490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11491 done; \
11492 echo "Doing installcheck in tcl" ; \
11493 (cd tcl && \
11494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11496 "RANLIB=$${RANLIB}" \
11497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11498 installcheck) \
11499 || exit 1
11501 @endif tcl
11503 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
11504 maybe-mostlyclean-tcl:
11505 @if tcl
11506 maybe-mostlyclean-tcl: mostlyclean-tcl
11508 # tcl doesn't support mostlyclean.
11509 mostlyclean-tcl:
11511 @endif tcl
11513 .PHONY: maybe-clean-tcl clean-tcl
11514 maybe-clean-tcl:
11515 @if tcl
11516 maybe-clean-tcl: clean-tcl
11518 clean-tcl:
11519 @[ -f ./tcl/Makefile ] || exit 0; \
11520 r=`${PWD_COMMAND}`; export r; \
11521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11522 $(SET_LIB_PATH) \
11523 $(HOST_EXPORTS) \
11524 for flag in $(EXTRA_HOST_FLAGS) ; do \
11525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11526 done; \
11527 echo "Doing clean in tcl" ; \
11528 (cd tcl && \
11529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11531 "RANLIB=$${RANLIB}" \
11532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11533 clean) \
11534 || exit 1
11536 @endif tcl
11538 .PHONY: maybe-distclean-tcl distclean-tcl
11539 maybe-distclean-tcl:
11540 @if tcl
11541 maybe-distclean-tcl: distclean-tcl
11543 distclean-tcl:
11544 @[ -f ./tcl/Makefile ] || exit 0; \
11545 r=`${PWD_COMMAND}`; export r; \
11546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11547 $(SET_LIB_PATH) \
11548 $(HOST_EXPORTS) \
11549 for flag in $(EXTRA_HOST_FLAGS) ; do \
11550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11551 done; \
11552 echo "Doing distclean in tcl" ; \
11553 (cd tcl && \
11554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11556 "RANLIB=$${RANLIB}" \
11557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11558 distclean) \
11559 || exit 1
11561 @endif tcl
11563 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
11564 maybe-maintainer-clean-tcl:
11565 @if tcl
11566 maybe-maintainer-clean-tcl: maintainer-clean-tcl
11568 maintainer-clean-tcl:
11569 @[ -f ./tcl/Makefile ] || exit 0; \
11570 r=`${PWD_COMMAND}`; export r; \
11571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11572 $(SET_LIB_PATH) \
11573 $(HOST_EXPORTS) \
11574 for flag in $(EXTRA_HOST_FLAGS) ; do \
11575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11576 done; \
11577 echo "Doing maintainer-clean in tcl" ; \
11578 (cd tcl && \
11579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11581 "RANLIB=$${RANLIB}" \
11582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11583 maintainer-clean) \
11584 || exit 1
11586 @endif tcl
11589 .PHONY: configure-itcl maybe-configure-itcl
11590 maybe-configure-itcl:
11591 @if itcl
11592 maybe-configure-itcl: configure-itcl
11593 configure-itcl:
11594 @test ! -f itcl/Makefile || exit 0; \
11595 [ -d itcl ] || mkdir itcl; \
11596 r=`${PWD_COMMAND}`; export r; \
11597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11598 $(HOST_EXPORTS) \
11599 echo Configuring in itcl; \
11600 cd itcl || exit 1; \
11601 case $(srcdir) in \
11602 \.) \
11603 srcdiroption="--srcdir=."; \
11604 libsrcdir=".";; \
11605 /* | [A-Za-z]:[\\/]*) \
11606 srcdiroption="--srcdir=$(srcdir)/itcl"; \
11607 libsrcdir="$$s/itcl";; \
11608 *) \
11609 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
11610 libsrcdir="$$s/itcl";; \
11611 esac; \
11612 $(SHELL) $${libsrcdir}/configure \
11613 $(HOST_CONFIGARGS) $${srcdiroption} \
11614 || exit 1
11615 @endif itcl
11617 .PHONY: all-itcl maybe-all-itcl
11618 maybe-all-itcl:
11619 @if itcl
11620 maybe-all-itcl: all-itcl
11621 all-itcl: configure-itcl
11622 @r=`${PWD_COMMAND}`; export r; \
11623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11624 $(SET_LIB_PATH) \
11625 $(HOST_EXPORTS) \
11626 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
11627 @endif itcl
11629 .PHONY: check-itcl maybe-check-itcl
11630 maybe-check-itcl:
11631 @if itcl
11632 maybe-check-itcl: check-itcl
11634 check-itcl:
11635 @r=`${PWD_COMMAND}`; export r; \
11636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11637 $(SET_LIB_PATH) \
11638 $(HOST_EXPORTS) \
11639 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
11641 @endif itcl
11643 .PHONY: install-itcl maybe-install-itcl
11644 maybe-install-itcl:
11645 @if itcl
11646 maybe-install-itcl: install-itcl
11648 install-itcl: installdirs
11649 @r=`${PWD_COMMAND}`; export r; \
11650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11651 $(SET_LIB_PATH) \
11652 $(HOST_EXPORTS) \
11653 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
11655 @endif itcl
11657 # Other targets (info, dvi, etc.)
11659 .PHONY: maybe-info-itcl info-itcl
11660 maybe-info-itcl:
11661 @if itcl
11662 maybe-info-itcl: info-itcl
11664 info-itcl: \
11665 configure-itcl
11666 @[ -f ./itcl/Makefile ] || exit 0; \
11667 r=`${PWD_COMMAND}`; export r; \
11668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11669 $(SET_LIB_PATH) \
11670 $(HOST_EXPORTS) \
11671 for flag in $(EXTRA_HOST_FLAGS) ; do \
11672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11673 done; \
11674 echo "Doing info in itcl" ; \
11675 (cd itcl && \
11676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11678 "RANLIB=$${RANLIB}" \
11679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11680 info) \
11681 || exit 1
11683 @endif itcl
11685 .PHONY: maybe-dvi-itcl dvi-itcl
11686 maybe-dvi-itcl:
11687 @if itcl
11688 maybe-dvi-itcl: dvi-itcl
11690 dvi-itcl: \
11691 configure-itcl
11692 @[ -f ./itcl/Makefile ] || exit 0; \
11693 r=`${PWD_COMMAND}`; export r; \
11694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11695 $(SET_LIB_PATH) \
11696 $(HOST_EXPORTS) \
11697 for flag in $(EXTRA_HOST_FLAGS) ; do \
11698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11699 done; \
11700 echo "Doing dvi in itcl" ; \
11701 (cd itcl && \
11702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11704 "RANLIB=$${RANLIB}" \
11705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11706 dvi) \
11707 || exit 1
11709 @endif itcl
11711 .PHONY: maybe-TAGS-itcl TAGS-itcl
11712 maybe-TAGS-itcl:
11713 @if itcl
11714 maybe-TAGS-itcl: TAGS-itcl
11716 TAGS-itcl: \
11717 configure-itcl
11718 @[ -f ./itcl/Makefile ] || exit 0; \
11719 r=`${PWD_COMMAND}`; export r; \
11720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11721 $(SET_LIB_PATH) \
11722 $(HOST_EXPORTS) \
11723 for flag in $(EXTRA_HOST_FLAGS) ; do \
11724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11725 done; \
11726 echo "Doing TAGS in itcl" ; \
11727 (cd itcl && \
11728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11730 "RANLIB=$${RANLIB}" \
11731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11732 TAGS) \
11733 || exit 1
11735 @endif itcl
11737 .PHONY: maybe-install-info-itcl install-info-itcl
11738 maybe-install-info-itcl:
11739 @if itcl
11740 maybe-install-info-itcl: install-info-itcl
11742 install-info-itcl: \
11743 configure-itcl \
11744 info-itcl
11745 @[ -f ./itcl/Makefile ] || exit 0; \
11746 r=`${PWD_COMMAND}`; export r; \
11747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11748 $(SET_LIB_PATH) \
11749 $(HOST_EXPORTS) \
11750 for flag in $(EXTRA_HOST_FLAGS) ; do \
11751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11752 done; \
11753 echo "Doing install-info in itcl" ; \
11754 (cd itcl && \
11755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11757 "RANLIB=$${RANLIB}" \
11758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11759 install-info) \
11760 || exit 1
11762 @endif itcl
11764 .PHONY: maybe-installcheck-itcl installcheck-itcl
11765 maybe-installcheck-itcl:
11766 @if itcl
11767 maybe-installcheck-itcl: installcheck-itcl
11769 installcheck-itcl: \
11770 configure-itcl
11771 @[ -f ./itcl/Makefile ] || exit 0; \
11772 r=`${PWD_COMMAND}`; export r; \
11773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11774 $(SET_LIB_PATH) \
11775 $(HOST_EXPORTS) \
11776 for flag in $(EXTRA_HOST_FLAGS) ; do \
11777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11778 done; \
11779 echo "Doing installcheck in itcl" ; \
11780 (cd itcl && \
11781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11783 "RANLIB=$${RANLIB}" \
11784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11785 installcheck) \
11786 || exit 1
11788 @endif itcl
11790 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11791 maybe-mostlyclean-itcl:
11792 @if itcl
11793 maybe-mostlyclean-itcl: mostlyclean-itcl
11795 mostlyclean-itcl:
11796 @[ -f ./itcl/Makefile ] || exit 0; \
11797 r=`${PWD_COMMAND}`; export r; \
11798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11799 $(SET_LIB_PATH) \
11800 $(HOST_EXPORTS) \
11801 for flag in $(EXTRA_HOST_FLAGS) ; do \
11802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11803 done; \
11804 echo "Doing mostlyclean in itcl" ; \
11805 (cd itcl && \
11806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11808 "RANLIB=$${RANLIB}" \
11809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11810 mostlyclean) \
11811 || exit 1
11813 @endif itcl
11815 .PHONY: maybe-clean-itcl clean-itcl
11816 maybe-clean-itcl:
11817 @if itcl
11818 maybe-clean-itcl: clean-itcl
11820 clean-itcl:
11821 @[ -f ./itcl/Makefile ] || exit 0; \
11822 r=`${PWD_COMMAND}`; export r; \
11823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11824 $(SET_LIB_PATH) \
11825 $(HOST_EXPORTS) \
11826 for flag in $(EXTRA_HOST_FLAGS) ; do \
11827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11828 done; \
11829 echo "Doing clean in itcl" ; \
11830 (cd itcl && \
11831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11833 "RANLIB=$${RANLIB}" \
11834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11835 clean) \
11836 || exit 1
11838 @endif itcl
11840 .PHONY: maybe-distclean-itcl distclean-itcl
11841 maybe-distclean-itcl:
11842 @if itcl
11843 maybe-distclean-itcl: distclean-itcl
11845 distclean-itcl:
11846 @[ -f ./itcl/Makefile ] || exit 0; \
11847 r=`${PWD_COMMAND}`; export r; \
11848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11849 $(SET_LIB_PATH) \
11850 $(HOST_EXPORTS) \
11851 for flag in $(EXTRA_HOST_FLAGS) ; do \
11852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11853 done; \
11854 echo "Doing distclean in itcl" ; \
11855 (cd itcl && \
11856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11858 "RANLIB=$${RANLIB}" \
11859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11860 distclean) \
11861 || exit 1
11863 @endif itcl
11865 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11866 maybe-maintainer-clean-itcl:
11867 @if itcl
11868 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11870 maintainer-clean-itcl:
11871 @[ -f ./itcl/Makefile ] || exit 0; \
11872 r=`${PWD_COMMAND}`; export r; \
11873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11874 $(SET_LIB_PATH) \
11875 $(HOST_EXPORTS) \
11876 for flag in $(EXTRA_HOST_FLAGS) ; do \
11877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11878 done; \
11879 echo "Doing maintainer-clean in itcl" ; \
11880 (cd itcl && \
11881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11883 "RANLIB=$${RANLIB}" \
11884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11885 maintainer-clean) \
11886 || exit 1
11888 @endif itcl
11891 .PHONY: configure-ld maybe-configure-ld
11892 maybe-configure-ld:
11893 @if ld
11894 maybe-configure-ld: configure-ld
11895 configure-ld:
11896 @test -f stage_last && exit 0; \
11897 test ! -f ld/Makefile || exit 0; \
11898 [ -d ld ] || mkdir ld; \
11899 r=`${PWD_COMMAND}`; export r; \
11900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11901 $(HOST_EXPORTS) \
11902 echo Configuring in ld; \
11903 cd ld || exit 1; \
11904 case $(srcdir) in \
11905 \.) \
11906 srcdiroption="--srcdir=."; \
11907 libsrcdir=".";; \
11908 /* | [A-Za-z]:[\\/]*) \
11909 srcdiroption="--srcdir=$(srcdir)/ld"; \
11910 libsrcdir="$$s/ld";; \
11911 *) \
11912 srcdiroption="--srcdir=../$(srcdir)/ld"; \
11913 libsrcdir="$$s/ld";; \
11914 esac; \
11915 $(SHELL) $${libsrcdir}/configure \
11916 $(HOST_CONFIGARGS) $${srcdiroption} \
11917 || exit 1
11918 @endif ld
11920 .PHONY: all-ld maybe-all-ld
11921 maybe-all-ld:
11922 @if ld
11923 maybe-all-ld: all-ld
11924 all-ld: configure-ld
11925 @test -f stage_last && exit 0; \
11926 r=`${PWD_COMMAND}`; export r; \
11927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11928 $(SET_LIB_PATH) \
11929 $(HOST_EXPORTS) \
11930 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
11931 @endif ld
11933 .PHONY: check-ld maybe-check-ld
11934 maybe-check-ld:
11935 @if ld
11936 maybe-check-ld: check-ld
11938 check-ld:
11939 @r=`${PWD_COMMAND}`; export r; \
11940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11941 $(SET_LIB_PATH) \
11942 $(HOST_EXPORTS) \
11943 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11945 @endif ld
11947 .PHONY: install-ld maybe-install-ld
11948 maybe-install-ld:
11949 @if ld
11950 maybe-install-ld: install-ld
11952 install-ld: installdirs
11953 @r=`${PWD_COMMAND}`; export r; \
11954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11955 $(SET_LIB_PATH) \
11956 $(HOST_EXPORTS) \
11957 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
11959 @endif ld
11961 # Other targets (info, dvi, etc.)
11963 .PHONY: maybe-info-ld info-ld
11964 maybe-info-ld:
11965 @if ld
11966 maybe-info-ld: info-ld
11968 info-ld: \
11969 configure-ld
11970 @[ -f ./ld/Makefile ] || exit 0; \
11971 r=`${PWD_COMMAND}`; export r; \
11972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11973 $(SET_LIB_PATH) \
11974 $(HOST_EXPORTS) \
11975 for flag in $(EXTRA_HOST_FLAGS) ; do \
11976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11977 done; \
11978 echo "Doing info in ld" ; \
11979 (cd ld && \
11980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11982 "RANLIB=$${RANLIB}" \
11983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11984 info) \
11985 || exit 1
11987 @endif ld
11989 .PHONY: maybe-dvi-ld dvi-ld
11990 maybe-dvi-ld:
11991 @if ld
11992 maybe-dvi-ld: dvi-ld
11994 dvi-ld: \
11995 configure-ld
11996 @[ -f ./ld/Makefile ] || exit 0; \
11997 r=`${PWD_COMMAND}`; export r; \
11998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11999 $(SET_LIB_PATH) \
12000 $(HOST_EXPORTS) \
12001 for flag in $(EXTRA_HOST_FLAGS) ; do \
12002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12003 done; \
12004 echo "Doing dvi in ld" ; \
12005 (cd ld && \
12006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12008 "RANLIB=$${RANLIB}" \
12009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12010 dvi) \
12011 || exit 1
12013 @endif ld
12015 .PHONY: maybe-TAGS-ld TAGS-ld
12016 maybe-TAGS-ld:
12017 @if ld
12018 maybe-TAGS-ld: TAGS-ld
12020 TAGS-ld: \
12021 configure-ld
12022 @[ -f ./ld/Makefile ] || exit 0; \
12023 r=`${PWD_COMMAND}`; export r; \
12024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12025 $(SET_LIB_PATH) \
12026 $(HOST_EXPORTS) \
12027 for flag in $(EXTRA_HOST_FLAGS) ; do \
12028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12029 done; \
12030 echo "Doing TAGS in ld" ; \
12031 (cd ld && \
12032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12034 "RANLIB=$${RANLIB}" \
12035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12036 TAGS) \
12037 || exit 1
12039 @endif ld
12041 .PHONY: maybe-install-info-ld install-info-ld
12042 maybe-install-info-ld:
12043 @if ld
12044 maybe-install-info-ld: install-info-ld
12046 install-info-ld: \
12047 configure-ld \
12048 info-ld
12049 @[ -f ./ld/Makefile ] || exit 0; \
12050 r=`${PWD_COMMAND}`; export r; \
12051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12052 $(SET_LIB_PATH) \
12053 $(HOST_EXPORTS) \
12054 for flag in $(EXTRA_HOST_FLAGS) ; do \
12055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12056 done; \
12057 echo "Doing install-info in ld" ; \
12058 (cd ld && \
12059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12061 "RANLIB=$${RANLIB}" \
12062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12063 install-info) \
12064 || exit 1
12066 @endif ld
12068 .PHONY: maybe-installcheck-ld installcheck-ld
12069 maybe-installcheck-ld:
12070 @if ld
12071 maybe-installcheck-ld: installcheck-ld
12073 installcheck-ld: \
12074 configure-ld
12075 @[ -f ./ld/Makefile ] || exit 0; \
12076 r=`${PWD_COMMAND}`; export r; \
12077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12078 $(SET_LIB_PATH) \
12079 $(HOST_EXPORTS) \
12080 for flag in $(EXTRA_HOST_FLAGS) ; do \
12081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12082 done; \
12083 echo "Doing installcheck in ld" ; \
12084 (cd ld && \
12085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12087 "RANLIB=$${RANLIB}" \
12088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12089 installcheck) \
12090 || exit 1
12092 @endif ld
12094 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12095 maybe-mostlyclean-ld:
12096 @if ld
12097 maybe-mostlyclean-ld: mostlyclean-ld
12099 mostlyclean-ld:
12100 @[ -f ./ld/Makefile ] || exit 0; \
12101 r=`${PWD_COMMAND}`; export r; \
12102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12103 $(SET_LIB_PATH) \
12104 $(HOST_EXPORTS) \
12105 for flag in $(EXTRA_HOST_FLAGS) ; do \
12106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12107 done; \
12108 echo "Doing mostlyclean in ld" ; \
12109 (cd ld && \
12110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12112 "RANLIB=$${RANLIB}" \
12113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12114 mostlyclean) \
12115 || exit 1
12117 @endif ld
12119 .PHONY: maybe-clean-ld clean-ld
12120 maybe-clean-ld:
12121 @if ld
12122 maybe-clean-ld: clean-ld
12124 clean-ld:
12125 @[ -f ./ld/Makefile ] || exit 0; \
12126 r=`${PWD_COMMAND}`; export r; \
12127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12128 $(SET_LIB_PATH) \
12129 $(HOST_EXPORTS) \
12130 for flag in $(EXTRA_HOST_FLAGS) ; do \
12131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12132 done; \
12133 echo "Doing clean in ld" ; \
12134 (cd ld && \
12135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12137 "RANLIB=$${RANLIB}" \
12138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12139 clean) \
12140 || exit 1
12142 @endif ld
12144 .PHONY: maybe-distclean-ld distclean-ld
12145 maybe-distclean-ld:
12146 @if ld
12147 maybe-distclean-ld: distclean-ld
12149 distclean-ld:
12150 @[ -f ./ld/Makefile ] || exit 0; \
12151 r=`${PWD_COMMAND}`; export r; \
12152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12153 $(SET_LIB_PATH) \
12154 $(HOST_EXPORTS) \
12155 for flag in $(EXTRA_HOST_FLAGS) ; do \
12156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12157 done; \
12158 echo "Doing distclean in ld" ; \
12159 (cd ld && \
12160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12162 "RANLIB=$${RANLIB}" \
12163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12164 distclean) \
12165 || exit 1
12167 @endif ld
12169 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12170 maybe-maintainer-clean-ld:
12171 @if ld
12172 maybe-maintainer-clean-ld: maintainer-clean-ld
12174 maintainer-clean-ld:
12175 @[ -f ./ld/Makefile ] || exit 0; \
12176 r=`${PWD_COMMAND}`; export r; \
12177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12178 $(SET_LIB_PATH) \
12179 $(HOST_EXPORTS) \
12180 for flag in $(EXTRA_HOST_FLAGS) ; do \
12181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12182 done; \
12183 echo "Doing maintainer-clean in ld" ; \
12184 (cd ld && \
12185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12187 "RANLIB=$${RANLIB}" \
12188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12189 maintainer-clean) \
12190 || exit 1
12192 @endif ld
12195 .PHONY: configure-libcpp maybe-configure-libcpp
12196 maybe-configure-libcpp:
12197 @if libcpp
12198 maybe-configure-libcpp: configure-libcpp
12199 configure-libcpp:
12200 @test -f stage_last && exit 0; \
12201 test ! -f libcpp/Makefile || exit 0; \
12202 [ -d libcpp ] || mkdir libcpp; \
12203 r=`${PWD_COMMAND}`; export r; \
12204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12205 $(HOST_EXPORTS) \
12206 echo Configuring in libcpp; \
12207 cd libcpp || exit 1; \
12208 case $(srcdir) in \
12209 \.) \
12210 srcdiroption="--srcdir=."; \
12211 libsrcdir=".";; \
12212 /* | [A-Za-z]:[\\/]*) \
12213 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
12214 libsrcdir="$$s/libcpp";; \
12215 *) \
12216 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
12217 libsrcdir="$$s/libcpp";; \
12218 esac; \
12219 $(SHELL) $${libsrcdir}/configure \
12220 $(HOST_CONFIGARGS) $${srcdiroption} \
12221 || exit 1
12222 @endif libcpp
12224 .PHONY: all-libcpp maybe-all-libcpp
12225 maybe-all-libcpp:
12226 @if libcpp
12227 maybe-all-libcpp: all-libcpp
12228 all-libcpp: configure-libcpp
12229 @test -f stage_last && exit 0; \
12230 r=`${PWD_COMMAND}`; export r; \
12231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12232 $(SET_LIB_PATH) \
12233 $(HOST_EXPORTS) \
12234 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) all)
12235 @endif libcpp
12237 .PHONY: check-libcpp maybe-check-libcpp
12238 maybe-check-libcpp:
12239 @if libcpp
12240 maybe-check-libcpp: check-libcpp
12242 check-libcpp:
12243 @r=`${PWD_COMMAND}`; export r; \
12244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12245 $(SET_LIB_PATH) \
12246 $(HOST_EXPORTS) \
12247 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
12249 @endif libcpp
12251 .PHONY: install-libcpp maybe-install-libcpp
12252 maybe-install-libcpp:
12253 @if libcpp
12254 maybe-install-libcpp: install-libcpp
12256 install-libcpp: installdirs
12257 @r=`${PWD_COMMAND}`; export r; \
12258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12259 $(SET_LIB_PATH) \
12260 $(HOST_EXPORTS) \
12261 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
12263 @endif libcpp
12265 # Other targets (info, dvi, etc.)
12267 .PHONY: maybe-info-libcpp info-libcpp
12268 maybe-info-libcpp:
12269 @if libcpp
12270 maybe-info-libcpp: info-libcpp
12272 info-libcpp: \
12273 configure-libcpp
12274 @[ -f ./libcpp/Makefile ] || exit 0; \
12275 r=`${PWD_COMMAND}`; export r; \
12276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12277 $(SET_LIB_PATH) \
12278 $(HOST_EXPORTS) \
12279 for flag in $(EXTRA_HOST_FLAGS) ; do \
12280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12281 done; \
12282 echo "Doing info in libcpp" ; \
12283 (cd libcpp && \
12284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12286 "RANLIB=$${RANLIB}" \
12287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12288 info) \
12289 || exit 1
12291 @endif libcpp
12293 .PHONY: maybe-dvi-libcpp dvi-libcpp
12294 maybe-dvi-libcpp:
12295 @if libcpp
12296 maybe-dvi-libcpp: dvi-libcpp
12298 dvi-libcpp: \
12299 configure-libcpp
12300 @[ -f ./libcpp/Makefile ] || exit 0; \
12301 r=`${PWD_COMMAND}`; export r; \
12302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12303 $(SET_LIB_PATH) \
12304 $(HOST_EXPORTS) \
12305 for flag in $(EXTRA_HOST_FLAGS) ; do \
12306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12307 done; \
12308 echo "Doing dvi in libcpp" ; \
12309 (cd libcpp && \
12310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12312 "RANLIB=$${RANLIB}" \
12313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12314 dvi) \
12315 || exit 1
12317 @endif libcpp
12319 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
12320 maybe-TAGS-libcpp:
12321 @if libcpp
12322 maybe-TAGS-libcpp: TAGS-libcpp
12324 TAGS-libcpp: \
12325 configure-libcpp
12326 @[ -f ./libcpp/Makefile ] || exit 0; \
12327 r=`${PWD_COMMAND}`; export r; \
12328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12329 $(SET_LIB_PATH) \
12330 $(HOST_EXPORTS) \
12331 for flag in $(EXTRA_HOST_FLAGS) ; do \
12332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12333 done; \
12334 echo "Doing TAGS in libcpp" ; \
12335 (cd libcpp && \
12336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12338 "RANLIB=$${RANLIB}" \
12339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12340 TAGS) \
12341 || exit 1
12343 @endif libcpp
12345 .PHONY: maybe-install-info-libcpp install-info-libcpp
12346 maybe-install-info-libcpp:
12347 @if libcpp
12348 maybe-install-info-libcpp: install-info-libcpp
12350 install-info-libcpp: \
12351 configure-libcpp \
12352 info-libcpp
12353 @[ -f ./libcpp/Makefile ] || exit 0; \
12354 r=`${PWD_COMMAND}`; export r; \
12355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12356 $(SET_LIB_PATH) \
12357 $(HOST_EXPORTS) \
12358 for flag in $(EXTRA_HOST_FLAGS) ; do \
12359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12360 done; \
12361 echo "Doing install-info in libcpp" ; \
12362 (cd libcpp && \
12363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12365 "RANLIB=$${RANLIB}" \
12366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12367 install-info) \
12368 || exit 1
12370 @endif libcpp
12372 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12373 maybe-installcheck-libcpp:
12374 @if libcpp
12375 maybe-installcheck-libcpp: installcheck-libcpp
12377 installcheck-libcpp: \
12378 configure-libcpp
12379 @[ -f ./libcpp/Makefile ] || exit 0; \
12380 r=`${PWD_COMMAND}`; export r; \
12381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12382 $(SET_LIB_PATH) \
12383 $(HOST_EXPORTS) \
12384 for flag in $(EXTRA_HOST_FLAGS) ; do \
12385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12386 done; \
12387 echo "Doing installcheck in libcpp" ; \
12388 (cd libcpp && \
12389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12391 "RANLIB=$${RANLIB}" \
12392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12393 installcheck) \
12394 || exit 1
12396 @endif libcpp
12398 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
12399 maybe-mostlyclean-libcpp:
12400 @if libcpp
12401 maybe-mostlyclean-libcpp: mostlyclean-libcpp
12403 mostlyclean-libcpp:
12404 @[ -f ./libcpp/Makefile ] || exit 0; \
12405 r=`${PWD_COMMAND}`; export r; \
12406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12407 $(SET_LIB_PATH) \
12408 $(HOST_EXPORTS) \
12409 for flag in $(EXTRA_HOST_FLAGS) ; do \
12410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12411 done; \
12412 echo "Doing mostlyclean in libcpp" ; \
12413 (cd libcpp && \
12414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12416 "RANLIB=$${RANLIB}" \
12417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12418 mostlyclean) \
12419 || exit 1
12421 @endif libcpp
12423 .PHONY: maybe-clean-libcpp clean-libcpp
12424 maybe-clean-libcpp:
12425 @if libcpp
12426 maybe-clean-libcpp: clean-libcpp
12428 clean-libcpp:
12429 @[ -f ./libcpp/Makefile ] || exit 0; \
12430 r=`${PWD_COMMAND}`; export r; \
12431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12432 $(SET_LIB_PATH) \
12433 $(HOST_EXPORTS) \
12434 for flag in $(EXTRA_HOST_FLAGS) ; do \
12435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12436 done; \
12437 echo "Doing clean in libcpp" ; \
12438 (cd libcpp && \
12439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12441 "RANLIB=$${RANLIB}" \
12442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12443 clean) \
12444 || exit 1
12446 @endif libcpp
12448 .PHONY: maybe-distclean-libcpp distclean-libcpp
12449 maybe-distclean-libcpp:
12450 @if libcpp
12451 maybe-distclean-libcpp: distclean-libcpp
12453 distclean-libcpp:
12454 @[ -f ./libcpp/Makefile ] || exit 0; \
12455 r=`${PWD_COMMAND}`; export r; \
12456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12457 $(SET_LIB_PATH) \
12458 $(HOST_EXPORTS) \
12459 for flag in $(EXTRA_HOST_FLAGS) ; do \
12460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12461 done; \
12462 echo "Doing distclean in libcpp" ; \
12463 (cd libcpp && \
12464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12466 "RANLIB=$${RANLIB}" \
12467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12468 distclean) \
12469 || exit 1
12471 @endif libcpp
12473 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
12474 maybe-maintainer-clean-libcpp:
12475 @if libcpp
12476 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
12478 maintainer-clean-libcpp:
12479 @[ -f ./libcpp/Makefile ] || exit 0; \
12480 r=`${PWD_COMMAND}`; export r; \
12481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12482 $(SET_LIB_PATH) \
12483 $(HOST_EXPORTS) \
12484 for flag in $(EXTRA_HOST_FLAGS) ; do \
12485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12486 done; \
12487 echo "Doing maintainer-clean in libcpp" ; \
12488 (cd libcpp && \
12489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12491 "RANLIB=$${RANLIB}" \
12492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12493 maintainer-clean) \
12494 || exit 1
12496 @endif libcpp
12499 .PHONY: configure-libgui maybe-configure-libgui
12500 maybe-configure-libgui:
12501 @if libgui
12502 maybe-configure-libgui: configure-libgui
12503 configure-libgui:
12504 @test ! -f libgui/Makefile || exit 0; \
12505 [ -d libgui ] || mkdir libgui; \
12506 r=`${PWD_COMMAND}`; export r; \
12507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12508 $(HOST_EXPORTS) \
12509 echo Configuring in libgui; \
12510 cd libgui || exit 1; \
12511 case $(srcdir) in \
12512 \.) \
12513 srcdiroption="--srcdir=."; \
12514 libsrcdir=".";; \
12515 /* | [A-Za-z]:[\\/]*) \
12516 srcdiroption="--srcdir=$(srcdir)/libgui"; \
12517 libsrcdir="$$s/libgui";; \
12518 *) \
12519 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
12520 libsrcdir="$$s/libgui";; \
12521 esac; \
12522 $(SHELL) $${libsrcdir}/configure \
12523 $(HOST_CONFIGARGS) $${srcdiroption} \
12524 || exit 1
12525 @endif libgui
12527 .PHONY: all-libgui maybe-all-libgui
12528 maybe-all-libgui:
12529 @if libgui
12530 maybe-all-libgui: all-libgui
12531 all-libgui: configure-libgui
12532 @r=`${PWD_COMMAND}`; export r; \
12533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12534 $(SET_LIB_PATH) \
12535 $(HOST_EXPORTS) \
12536 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
12537 @endif libgui
12539 .PHONY: check-libgui maybe-check-libgui
12540 maybe-check-libgui:
12541 @if libgui
12542 maybe-check-libgui: check-libgui
12544 check-libgui:
12545 @r=`${PWD_COMMAND}`; export r; \
12546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12547 $(SET_LIB_PATH) \
12548 $(HOST_EXPORTS) \
12549 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
12551 @endif libgui
12553 .PHONY: install-libgui maybe-install-libgui
12554 maybe-install-libgui:
12555 @if libgui
12556 maybe-install-libgui: install-libgui
12558 install-libgui: installdirs
12559 @r=`${PWD_COMMAND}`; export r; \
12560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12561 $(SET_LIB_PATH) \
12562 $(HOST_EXPORTS) \
12563 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
12565 @endif libgui
12567 # Other targets (info, dvi, etc.)
12569 .PHONY: maybe-info-libgui info-libgui
12570 maybe-info-libgui:
12571 @if libgui
12572 maybe-info-libgui: info-libgui
12574 info-libgui: \
12575 configure-libgui
12576 @[ -f ./libgui/Makefile ] || exit 0; \
12577 r=`${PWD_COMMAND}`; export r; \
12578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12579 $(SET_LIB_PATH) \
12580 $(HOST_EXPORTS) \
12581 for flag in $(EXTRA_HOST_FLAGS) ; do \
12582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12583 done; \
12584 echo "Doing info in libgui" ; \
12585 (cd libgui && \
12586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12588 "RANLIB=$${RANLIB}" \
12589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12590 info) \
12591 || exit 1
12593 @endif libgui
12595 .PHONY: maybe-dvi-libgui dvi-libgui
12596 maybe-dvi-libgui:
12597 @if libgui
12598 maybe-dvi-libgui: dvi-libgui
12600 dvi-libgui: \
12601 configure-libgui
12602 @[ -f ./libgui/Makefile ] || exit 0; \
12603 r=`${PWD_COMMAND}`; export r; \
12604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12605 $(SET_LIB_PATH) \
12606 $(HOST_EXPORTS) \
12607 for flag in $(EXTRA_HOST_FLAGS) ; do \
12608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12609 done; \
12610 echo "Doing dvi in libgui" ; \
12611 (cd libgui && \
12612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12614 "RANLIB=$${RANLIB}" \
12615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12616 dvi) \
12617 || exit 1
12619 @endif libgui
12621 .PHONY: maybe-TAGS-libgui TAGS-libgui
12622 maybe-TAGS-libgui:
12623 @if libgui
12624 maybe-TAGS-libgui: TAGS-libgui
12626 TAGS-libgui: \
12627 configure-libgui
12628 @[ -f ./libgui/Makefile ] || exit 0; \
12629 r=`${PWD_COMMAND}`; export r; \
12630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12631 $(SET_LIB_PATH) \
12632 $(HOST_EXPORTS) \
12633 for flag in $(EXTRA_HOST_FLAGS) ; do \
12634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12635 done; \
12636 echo "Doing TAGS in libgui" ; \
12637 (cd libgui && \
12638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12640 "RANLIB=$${RANLIB}" \
12641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12642 TAGS) \
12643 || exit 1
12645 @endif libgui
12647 .PHONY: maybe-install-info-libgui install-info-libgui
12648 maybe-install-info-libgui:
12649 @if libgui
12650 maybe-install-info-libgui: install-info-libgui
12652 install-info-libgui: \
12653 configure-libgui \
12654 info-libgui
12655 @[ -f ./libgui/Makefile ] || exit 0; \
12656 r=`${PWD_COMMAND}`; export r; \
12657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12658 $(SET_LIB_PATH) \
12659 $(HOST_EXPORTS) \
12660 for flag in $(EXTRA_HOST_FLAGS) ; do \
12661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12662 done; \
12663 echo "Doing install-info in libgui" ; \
12664 (cd libgui && \
12665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12667 "RANLIB=$${RANLIB}" \
12668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12669 install-info) \
12670 || exit 1
12672 @endif libgui
12674 .PHONY: maybe-installcheck-libgui installcheck-libgui
12675 maybe-installcheck-libgui:
12676 @if libgui
12677 maybe-installcheck-libgui: installcheck-libgui
12679 installcheck-libgui: \
12680 configure-libgui
12681 @[ -f ./libgui/Makefile ] || exit 0; \
12682 r=`${PWD_COMMAND}`; export r; \
12683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12684 $(SET_LIB_PATH) \
12685 $(HOST_EXPORTS) \
12686 for flag in $(EXTRA_HOST_FLAGS) ; do \
12687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12688 done; \
12689 echo "Doing installcheck in libgui" ; \
12690 (cd libgui && \
12691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12693 "RANLIB=$${RANLIB}" \
12694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12695 installcheck) \
12696 || exit 1
12698 @endif libgui
12700 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12701 maybe-mostlyclean-libgui:
12702 @if libgui
12703 maybe-mostlyclean-libgui: mostlyclean-libgui
12705 mostlyclean-libgui:
12706 @[ -f ./libgui/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 mostlyclean in libgui" ; \
12715 (cd libgui && \
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 mostlyclean) \
12721 || exit 1
12723 @endif libgui
12725 .PHONY: maybe-clean-libgui clean-libgui
12726 maybe-clean-libgui:
12727 @if libgui
12728 maybe-clean-libgui: clean-libgui
12730 clean-libgui:
12731 @[ -f ./libgui/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 clean in libgui" ; \
12740 (cd libgui && \
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 clean) \
12746 || exit 1
12748 @endif libgui
12750 .PHONY: maybe-distclean-libgui distclean-libgui
12751 maybe-distclean-libgui:
12752 @if libgui
12753 maybe-distclean-libgui: distclean-libgui
12755 distclean-libgui:
12756 @[ -f ./libgui/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 distclean in libgui" ; \
12765 (cd libgui && \
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 distclean) \
12771 || exit 1
12773 @endif libgui
12775 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12776 maybe-maintainer-clean-libgui:
12777 @if libgui
12778 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12780 maintainer-clean-libgui:
12781 @[ -f ./libgui/Makefile ] || exit 0; \
12782 r=`${PWD_COMMAND}`; export r; \
12783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12784 $(SET_LIB_PATH) \
12785 $(HOST_EXPORTS) \
12786 for flag in $(EXTRA_HOST_FLAGS) ; do \
12787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12788 done; \
12789 echo "Doing maintainer-clean in libgui" ; \
12790 (cd libgui && \
12791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12793 "RANLIB=$${RANLIB}" \
12794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12795 maintainer-clean) \
12796 || exit 1
12798 @endif libgui
12801 .PHONY: configure-libbanshee maybe-configure-libbanshee
12802 maybe-configure-libbanshee:
12803 @if libbanshee
12804 maybe-configure-libbanshee: configure-libbanshee
12805 configure-libbanshee:
12806 @test -f stage_last && exit 0; \
12807 test ! -f libbanshee/Makefile || exit 0; \
12808 [ -d libbanshee ] || mkdir libbanshee; \
12809 r=`${PWD_COMMAND}`; export r; \
12810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12811 $(HOST_EXPORTS) \
12812 echo Configuring in libbanshee; \
12813 cd libbanshee || exit 1; \
12814 case $(srcdir) in \
12815 \.) \
12816 srcdiroption="--srcdir=."; \
12817 libsrcdir=".";; \
12818 /* | [A-Za-z]:[\\/]*) \
12819 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
12820 libsrcdir="$$s/libbanshee";; \
12821 *) \
12822 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
12823 libsrcdir="$$s/libbanshee";; \
12824 esac; \
12825 $(SHELL) $${libsrcdir}/configure \
12826 $(HOST_CONFIGARGS) $${srcdiroption} \
12827 || exit 1
12828 @endif libbanshee
12830 .PHONY: all-libbanshee maybe-all-libbanshee
12831 maybe-all-libbanshee:
12832 @if libbanshee
12833 maybe-all-libbanshee: all-libbanshee
12834 all-libbanshee: configure-libbanshee
12835 @test -f stage_last && exit 0; \
12836 r=`${PWD_COMMAND}`; export r; \
12837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12838 $(SET_LIB_PATH) \
12839 $(HOST_EXPORTS) \
12840 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all)
12841 @endif libbanshee
12843 .PHONY: check-libbanshee maybe-check-libbanshee
12844 maybe-check-libbanshee:
12845 @if libbanshee
12846 maybe-check-libbanshee: check-libbanshee
12848 check-libbanshee:
12849 @r=`${PWD_COMMAND}`; export r; \
12850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12851 $(SET_LIB_PATH) \
12852 $(HOST_EXPORTS) \
12853 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check)
12855 @endif libbanshee
12857 .PHONY: install-libbanshee maybe-install-libbanshee
12858 maybe-install-libbanshee:
12859 @if libbanshee
12860 maybe-install-libbanshee: install-libbanshee
12862 install-libbanshee:
12864 @endif libbanshee
12866 # Other targets (info, dvi, etc.)
12868 .PHONY: maybe-info-libbanshee info-libbanshee
12869 maybe-info-libbanshee:
12870 @if libbanshee
12871 maybe-info-libbanshee: info-libbanshee
12873 info-libbanshee: \
12874 configure-libbanshee
12875 @[ -f ./libbanshee/Makefile ] || exit 0; \
12876 r=`${PWD_COMMAND}`; export r; \
12877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12878 $(SET_LIB_PATH) \
12879 $(HOST_EXPORTS) \
12880 for flag in $(EXTRA_HOST_FLAGS) ; do \
12881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12882 done; \
12883 echo "Doing info in libbanshee" ; \
12884 (cd libbanshee && \
12885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12887 "RANLIB=$${RANLIB}" \
12888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12889 info) \
12890 || exit 1
12892 @endif libbanshee
12894 .PHONY: maybe-dvi-libbanshee dvi-libbanshee
12895 maybe-dvi-libbanshee:
12896 @if libbanshee
12897 maybe-dvi-libbanshee: dvi-libbanshee
12899 dvi-libbanshee: \
12900 configure-libbanshee
12901 @[ -f ./libbanshee/Makefile ] || exit 0; \
12902 r=`${PWD_COMMAND}`; export r; \
12903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12904 $(SET_LIB_PATH) \
12905 $(HOST_EXPORTS) \
12906 for flag in $(EXTRA_HOST_FLAGS) ; do \
12907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12908 done; \
12909 echo "Doing dvi in libbanshee" ; \
12910 (cd libbanshee && \
12911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12913 "RANLIB=$${RANLIB}" \
12914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12915 dvi) \
12916 || exit 1
12918 @endif libbanshee
12920 .PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
12921 maybe-TAGS-libbanshee:
12922 @if libbanshee
12923 maybe-TAGS-libbanshee: TAGS-libbanshee
12925 TAGS-libbanshee: \
12926 configure-libbanshee
12927 @[ -f ./libbanshee/Makefile ] || exit 0; \
12928 r=`${PWD_COMMAND}`; export r; \
12929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12930 $(SET_LIB_PATH) \
12931 $(HOST_EXPORTS) \
12932 for flag in $(EXTRA_HOST_FLAGS) ; do \
12933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12934 done; \
12935 echo "Doing TAGS in libbanshee" ; \
12936 (cd libbanshee && \
12937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12939 "RANLIB=$${RANLIB}" \
12940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12941 TAGS) \
12942 || exit 1
12944 @endif libbanshee
12946 .PHONY: maybe-install-info-libbanshee install-info-libbanshee
12947 maybe-install-info-libbanshee:
12948 @if libbanshee
12949 maybe-install-info-libbanshee: install-info-libbanshee
12951 install-info-libbanshee: \
12952 configure-libbanshee \
12953 info-libbanshee
12954 @[ -f ./libbanshee/Makefile ] || exit 0; \
12955 r=`${PWD_COMMAND}`; export r; \
12956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12957 $(SET_LIB_PATH) \
12958 $(HOST_EXPORTS) \
12959 for flag in $(EXTRA_HOST_FLAGS) ; do \
12960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12961 done; \
12962 echo "Doing install-info in libbanshee" ; \
12963 (cd libbanshee && \
12964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12966 "RANLIB=$${RANLIB}" \
12967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12968 install-info) \
12969 || exit 1
12971 @endif libbanshee
12973 .PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
12974 maybe-installcheck-libbanshee:
12975 @if libbanshee
12976 maybe-installcheck-libbanshee: installcheck-libbanshee
12978 installcheck-libbanshee: \
12979 configure-libbanshee
12980 @[ -f ./libbanshee/Makefile ] || exit 0; \
12981 r=`${PWD_COMMAND}`; export r; \
12982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12983 $(SET_LIB_PATH) \
12984 $(HOST_EXPORTS) \
12985 for flag in $(EXTRA_HOST_FLAGS) ; do \
12986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12987 done; \
12988 echo "Doing installcheck in libbanshee" ; \
12989 (cd libbanshee && \
12990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12992 "RANLIB=$${RANLIB}" \
12993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12994 installcheck) \
12995 || exit 1
12997 @endif libbanshee
12999 .PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
13000 maybe-mostlyclean-libbanshee:
13001 @if libbanshee
13002 maybe-mostlyclean-libbanshee: mostlyclean-libbanshee
13004 mostlyclean-libbanshee:
13005 @[ -f ./libbanshee/Makefile ] || exit 0; \
13006 r=`${PWD_COMMAND}`; export r; \
13007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13008 $(SET_LIB_PATH) \
13009 $(HOST_EXPORTS) \
13010 for flag in $(EXTRA_HOST_FLAGS) ; do \
13011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13012 done; \
13013 echo "Doing mostlyclean in libbanshee" ; \
13014 (cd libbanshee && \
13015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13017 "RANLIB=$${RANLIB}" \
13018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13019 mostlyclean) \
13020 || exit 1
13022 @endif libbanshee
13024 .PHONY: maybe-clean-libbanshee clean-libbanshee
13025 maybe-clean-libbanshee:
13026 @if libbanshee
13027 maybe-clean-libbanshee: clean-libbanshee
13029 clean-libbanshee:
13030 @[ -f ./libbanshee/Makefile ] || exit 0; \
13031 r=`${PWD_COMMAND}`; export r; \
13032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13033 $(SET_LIB_PATH) \
13034 $(HOST_EXPORTS) \
13035 for flag in $(EXTRA_HOST_FLAGS) ; do \
13036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13037 done; \
13038 echo "Doing clean in libbanshee" ; \
13039 (cd libbanshee && \
13040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13042 "RANLIB=$${RANLIB}" \
13043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13044 clean) \
13045 || exit 1
13047 @endif libbanshee
13049 .PHONY: maybe-distclean-libbanshee distclean-libbanshee
13050 maybe-distclean-libbanshee:
13051 @if libbanshee
13052 maybe-distclean-libbanshee: distclean-libbanshee
13054 distclean-libbanshee:
13055 @[ -f ./libbanshee/Makefile ] || exit 0; \
13056 r=`${PWD_COMMAND}`; export r; \
13057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13058 $(SET_LIB_PATH) \
13059 $(HOST_EXPORTS) \
13060 for flag in $(EXTRA_HOST_FLAGS) ; do \
13061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13062 done; \
13063 echo "Doing distclean in libbanshee" ; \
13064 (cd libbanshee && \
13065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13067 "RANLIB=$${RANLIB}" \
13068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13069 distclean) \
13070 || exit 1
13072 @endif libbanshee
13074 .PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
13075 maybe-maintainer-clean-libbanshee:
13076 @if libbanshee
13077 maybe-maintainer-clean-libbanshee: maintainer-clean-libbanshee
13079 maintainer-clean-libbanshee:
13080 @[ -f ./libbanshee/Makefile ] || exit 0; \
13081 r=`${PWD_COMMAND}`; export r; \
13082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13083 $(SET_LIB_PATH) \
13084 $(HOST_EXPORTS) \
13085 for flag in $(EXTRA_HOST_FLAGS) ; do \
13086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13087 done; \
13088 echo "Doing maintainer-clean in libbanshee" ; \
13089 (cd libbanshee && \
13090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13092 "RANLIB=$${RANLIB}" \
13093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13094 maintainer-clean) \
13095 || exit 1
13097 @endif libbanshee
13100 .PHONY: configure-libiberty maybe-configure-libiberty
13101 maybe-configure-libiberty:
13102 @if libiberty
13103 maybe-configure-libiberty: configure-libiberty
13104 configure-libiberty:
13105 @test -f stage_last && exit 0; \
13106 test ! -f libiberty/Makefile || exit 0; \
13107 [ -d libiberty ] || mkdir libiberty; \
13108 r=`${PWD_COMMAND}`; export r; \
13109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13110 $(HOST_EXPORTS) \
13111 echo Configuring in libiberty; \
13112 cd libiberty || exit 1; \
13113 case $(srcdir) in \
13114 \.) \
13115 srcdiroption="--srcdir=."; \
13116 libsrcdir=".";; \
13117 /* | [A-Za-z]:[\\/]*) \
13118 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
13119 libsrcdir="$$s/libiberty";; \
13120 *) \
13121 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
13122 libsrcdir="$$s/libiberty";; \
13123 esac; \
13124 $(SHELL) $${libsrcdir}/configure \
13125 $(HOST_CONFIGARGS) $${srcdiroption} \
13126 || exit 1
13127 @endif libiberty
13129 .PHONY: all-libiberty maybe-all-libiberty
13130 maybe-all-libiberty:
13131 @if libiberty
13132 maybe-all-libiberty: all-libiberty
13133 all-libiberty: configure-libiberty
13134 @test -f stage_last && exit 0; \
13135 r=`${PWD_COMMAND}`; export r; \
13136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13137 $(SET_LIB_PATH) \
13138 $(HOST_EXPORTS) \
13139 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
13140 @endif libiberty
13142 .PHONY: check-libiberty maybe-check-libiberty
13143 maybe-check-libiberty:
13144 @if libiberty
13145 maybe-check-libiberty: check-libiberty
13147 check-libiberty:
13148 @r=`${PWD_COMMAND}`; export r; \
13149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13150 $(SET_LIB_PATH) \
13151 $(HOST_EXPORTS) \
13152 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
13154 @endif libiberty
13156 .PHONY: install-libiberty maybe-install-libiberty
13157 maybe-install-libiberty:
13158 @if libiberty
13159 maybe-install-libiberty: install-libiberty
13161 install-libiberty: installdirs
13162 @r=`${PWD_COMMAND}`; export r; \
13163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13164 $(SET_LIB_PATH) \
13165 $(HOST_EXPORTS) \
13166 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
13168 @endif libiberty
13170 # Other targets (info, dvi, etc.)
13172 .PHONY: maybe-info-libiberty info-libiberty
13173 maybe-info-libiberty:
13174 @if libiberty
13175 maybe-info-libiberty: info-libiberty
13177 info-libiberty: \
13178 configure-libiberty
13179 @[ -f ./libiberty/Makefile ] || exit 0; \
13180 r=`${PWD_COMMAND}`; export r; \
13181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13182 $(SET_LIB_PATH) \
13183 $(HOST_EXPORTS) \
13184 for flag in $(EXTRA_HOST_FLAGS) ; do \
13185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13186 done; \
13187 echo "Doing info in libiberty" ; \
13188 (cd libiberty && \
13189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13191 "RANLIB=$${RANLIB}" \
13192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13193 info) \
13194 || exit 1
13196 @endif libiberty
13198 .PHONY: maybe-dvi-libiberty dvi-libiberty
13199 maybe-dvi-libiberty:
13200 @if libiberty
13201 maybe-dvi-libiberty: dvi-libiberty
13203 dvi-libiberty: \
13204 configure-libiberty
13205 @[ -f ./libiberty/Makefile ] || exit 0; \
13206 r=`${PWD_COMMAND}`; export r; \
13207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13208 $(SET_LIB_PATH) \
13209 $(HOST_EXPORTS) \
13210 for flag in $(EXTRA_HOST_FLAGS) ; do \
13211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13212 done; \
13213 echo "Doing dvi in libiberty" ; \
13214 (cd libiberty && \
13215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13217 "RANLIB=$${RANLIB}" \
13218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13219 dvi) \
13220 || exit 1
13222 @endif libiberty
13224 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
13225 maybe-TAGS-libiberty:
13226 @if libiberty
13227 maybe-TAGS-libiberty: TAGS-libiberty
13229 TAGS-libiberty: \
13230 configure-libiberty
13231 @[ -f ./libiberty/Makefile ] || exit 0; \
13232 r=`${PWD_COMMAND}`; export r; \
13233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13234 $(SET_LIB_PATH) \
13235 $(HOST_EXPORTS) \
13236 for flag in $(EXTRA_HOST_FLAGS) ; do \
13237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13238 done; \
13239 echo "Doing TAGS in libiberty" ; \
13240 (cd libiberty && \
13241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13243 "RANLIB=$${RANLIB}" \
13244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13245 TAGS) \
13246 || exit 1
13248 @endif libiberty
13250 .PHONY: maybe-install-info-libiberty install-info-libiberty
13251 maybe-install-info-libiberty:
13252 @if libiberty
13253 maybe-install-info-libiberty: install-info-libiberty
13255 install-info-libiberty: \
13256 configure-libiberty \
13257 info-libiberty
13258 @[ -f ./libiberty/Makefile ] || exit 0; \
13259 r=`${PWD_COMMAND}`; export r; \
13260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13261 $(SET_LIB_PATH) \
13262 $(HOST_EXPORTS) \
13263 for flag in $(EXTRA_HOST_FLAGS) ; do \
13264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13265 done; \
13266 echo "Doing install-info in libiberty" ; \
13267 (cd libiberty && \
13268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13270 "RANLIB=$${RANLIB}" \
13271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13272 install-info) \
13273 || exit 1
13275 @endif libiberty
13277 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
13278 maybe-installcheck-libiberty:
13279 @if libiberty
13280 maybe-installcheck-libiberty: installcheck-libiberty
13282 installcheck-libiberty: \
13283 configure-libiberty
13284 @[ -f ./libiberty/Makefile ] || exit 0; \
13285 r=`${PWD_COMMAND}`; export r; \
13286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13287 $(SET_LIB_PATH) \
13288 $(HOST_EXPORTS) \
13289 for flag in $(EXTRA_HOST_FLAGS) ; do \
13290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13291 done; \
13292 echo "Doing installcheck in libiberty" ; \
13293 (cd libiberty && \
13294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13296 "RANLIB=$${RANLIB}" \
13297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13298 installcheck) \
13299 || exit 1
13301 @endif libiberty
13303 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
13304 maybe-mostlyclean-libiberty:
13305 @if libiberty
13306 maybe-mostlyclean-libiberty: mostlyclean-libiberty
13308 mostlyclean-libiberty:
13309 @[ -f ./libiberty/Makefile ] || exit 0; \
13310 r=`${PWD_COMMAND}`; export r; \
13311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13312 $(SET_LIB_PATH) \
13313 $(HOST_EXPORTS) \
13314 for flag in $(EXTRA_HOST_FLAGS) ; do \
13315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13316 done; \
13317 echo "Doing mostlyclean in libiberty" ; \
13318 (cd libiberty && \
13319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13321 "RANLIB=$${RANLIB}" \
13322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13323 mostlyclean) \
13324 || exit 1
13326 @endif libiberty
13328 .PHONY: maybe-clean-libiberty clean-libiberty
13329 maybe-clean-libiberty:
13330 @if libiberty
13331 maybe-clean-libiberty: clean-libiberty
13333 clean-libiberty:
13334 @[ -f ./libiberty/Makefile ] || exit 0; \
13335 r=`${PWD_COMMAND}`; export r; \
13336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13337 $(SET_LIB_PATH) \
13338 $(HOST_EXPORTS) \
13339 for flag in $(EXTRA_HOST_FLAGS) ; do \
13340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13341 done; \
13342 echo "Doing clean in libiberty" ; \
13343 (cd libiberty && \
13344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13346 "RANLIB=$${RANLIB}" \
13347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13348 clean) \
13349 || exit 1
13351 @endif libiberty
13353 .PHONY: maybe-distclean-libiberty distclean-libiberty
13354 maybe-distclean-libiberty:
13355 @if libiberty
13356 maybe-distclean-libiberty: distclean-libiberty
13358 distclean-libiberty:
13359 @[ -f ./libiberty/Makefile ] || exit 0; \
13360 r=`${PWD_COMMAND}`; export r; \
13361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13362 $(SET_LIB_PATH) \
13363 $(HOST_EXPORTS) \
13364 for flag in $(EXTRA_HOST_FLAGS) ; do \
13365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13366 done; \
13367 echo "Doing distclean in libiberty" ; \
13368 (cd libiberty && \
13369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13371 "RANLIB=$${RANLIB}" \
13372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13373 distclean) \
13374 || exit 1
13376 @endif libiberty
13378 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13379 maybe-maintainer-clean-libiberty:
13380 @if libiberty
13381 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13383 maintainer-clean-libiberty:
13384 @[ -f ./libiberty/Makefile ] || exit 0; \
13385 r=`${PWD_COMMAND}`; export r; \
13386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13387 $(SET_LIB_PATH) \
13388 $(HOST_EXPORTS) \
13389 for flag in $(EXTRA_HOST_FLAGS) ; do \
13390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13391 done; \
13392 echo "Doing maintainer-clean in libiberty" ; \
13393 (cd libiberty && \
13394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13396 "RANLIB=$${RANLIB}" \
13397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13398 maintainer-clean) \
13399 || exit 1
13401 @endif libiberty
13404 .PHONY: configure-libtool maybe-configure-libtool
13405 maybe-configure-libtool:
13406 @if libtool
13407 maybe-configure-libtool: configure-libtool
13408 configure-libtool:
13409 @test ! -f libtool/Makefile || exit 0; \
13410 [ -d libtool ] || mkdir libtool; \
13411 r=`${PWD_COMMAND}`; export r; \
13412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13413 $(HOST_EXPORTS) \
13414 echo Configuring in libtool; \
13415 cd libtool || exit 1; \
13416 case $(srcdir) in \
13417 \.) \
13418 srcdiroption="--srcdir=."; \
13419 libsrcdir=".";; \
13420 /* | [A-Za-z]:[\\/]*) \
13421 srcdiroption="--srcdir=$(srcdir)/libtool"; \
13422 libsrcdir="$$s/libtool";; \
13423 *) \
13424 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
13425 libsrcdir="$$s/libtool";; \
13426 esac; \
13427 $(SHELL) $${libsrcdir}/configure \
13428 $(HOST_CONFIGARGS) $${srcdiroption} \
13429 || exit 1
13430 @endif libtool
13432 .PHONY: all-libtool maybe-all-libtool
13433 maybe-all-libtool:
13434 @if libtool
13435 maybe-all-libtool: all-libtool
13436 all-libtool: configure-libtool
13437 @r=`${PWD_COMMAND}`; export r; \
13438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13439 $(SET_LIB_PATH) \
13440 $(HOST_EXPORTS) \
13441 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
13442 @endif libtool
13444 .PHONY: check-libtool maybe-check-libtool
13445 maybe-check-libtool:
13446 @if libtool
13447 maybe-check-libtool: check-libtool
13449 check-libtool:
13450 @r=`${PWD_COMMAND}`; export r; \
13451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13452 $(SET_LIB_PATH) \
13453 $(HOST_EXPORTS) \
13454 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
13456 @endif libtool
13458 .PHONY: install-libtool maybe-install-libtool
13459 maybe-install-libtool:
13460 @if libtool
13461 maybe-install-libtool: install-libtool
13463 install-libtool: installdirs
13464 @r=`${PWD_COMMAND}`; export r; \
13465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13466 $(SET_LIB_PATH) \
13467 $(HOST_EXPORTS) \
13468 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
13470 @endif libtool
13472 # Other targets (info, dvi, etc.)
13474 .PHONY: maybe-info-libtool info-libtool
13475 maybe-info-libtool:
13476 @if libtool
13477 maybe-info-libtool: info-libtool
13479 info-libtool: \
13480 configure-libtool
13481 @[ -f ./libtool/Makefile ] || exit 0; \
13482 r=`${PWD_COMMAND}`; export r; \
13483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13484 $(SET_LIB_PATH) \
13485 $(HOST_EXPORTS) \
13486 for flag in $(EXTRA_HOST_FLAGS) ; do \
13487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13488 done; \
13489 echo "Doing info in libtool" ; \
13490 (cd libtool && \
13491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13493 "RANLIB=$${RANLIB}" \
13494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13495 info) \
13496 || exit 1
13498 @endif libtool
13500 .PHONY: maybe-dvi-libtool dvi-libtool
13501 maybe-dvi-libtool:
13502 @if libtool
13503 maybe-dvi-libtool: dvi-libtool
13505 dvi-libtool: \
13506 configure-libtool
13507 @[ -f ./libtool/Makefile ] || exit 0; \
13508 r=`${PWD_COMMAND}`; export r; \
13509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13510 $(SET_LIB_PATH) \
13511 $(HOST_EXPORTS) \
13512 for flag in $(EXTRA_HOST_FLAGS) ; do \
13513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13514 done; \
13515 echo "Doing dvi in libtool" ; \
13516 (cd libtool && \
13517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13519 "RANLIB=$${RANLIB}" \
13520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13521 dvi) \
13522 || exit 1
13524 @endif libtool
13526 .PHONY: maybe-TAGS-libtool TAGS-libtool
13527 maybe-TAGS-libtool:
13528 @if libtool
13529 maybe-TAGS-libtool: TAGS-libtool
13531 TAGS-libtool: \
13532 configure-libtool
13533 @[ -f ./libtool/Makefile ] || exit 0; \
13534 r=`${PWD_COMMAND}`; export r; \
13535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13536 $(SET_LIB_PATH) \
13537 $(HOST_EXPORTS) \
13538 for flag in $(EXTRA_HOST_FLAGS) ; do \
13539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13540 done; \
13541 echo "Doing TAGS in libtool" ; \
13542 (cd libtool && \
13543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13545 "RANLIB=$${RANLIB}" \
13546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13547 TAGS) \
13548 || exit 1
13550 @endif libtool
13552 .PHONY: maybe-install-info-libtool install-info-libtool
13553 maybe-install-info-libtool:
13554 @if libtool
13555 maybe-install-info-libtool: install-info-libtool
13557 install-info-libtool: \
13558 configure-libtool \
13559 info-libtool
13560 @[ -f ./libtool/Makefile ] || exit 0; \
13561 r=`${PWD_COMMAND}`; export r; \
13562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13563 $(SET_LIB_PATH) \
13564 $(HOST_EXPORTS) \
13565 for flag in $(EXTRA_HOST_FLAGS) ; do \
13566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13567 done; \
13568 echo "Doing install-info in libtool" ; \
13569 (cd libtool && \
13570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13572 "RANLIB=$${RANLIB}" \
13573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13574 install-info) \
13575 || exit 1
13577 @endif libtool
13579 .PHONY: maybe-installcheck-libtool installcheck-libtool
13580 maybe-installcheck-libtool:
13581 @if libtool
13582 maybe-installcheck-libtool: installcheck-libtool
13584 installcheck-libtool: \
13585 configure-libtool
13586 @[ -f ./libtool/Makefile ] || exit 0; \
13587 r=`${PWD_COMMAND}`; export r; \
13588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13589 $(SET_LIB_PATH) \
13590 $(HOST_EXPORTS) \
13591 for flag in $(EXTRA_HOST_FLAGS) ; do \
13592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13593 done; \
13594 echo "Doing installcheck in libtool" ; \
13595 (cd libtool && \
13596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13598 "RANLIB=$${RANLIB}" \
13599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13600 installcheck) \
13601 || exit 1
13603 @endif libtool
13605 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13606 maybe-mostlyclean-libtool:
13607 @if libtool
13608 maybe-mostlyclean-libtool: mostlyclean-libtool
13610 mostlyclean-libtool:
13611 @[ -f ./libtool/Makefile ] || exit 0; \
13612 r=`${PWD_COMMAND}`; export r; \
13613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13614 $(SET_LIB_PATH) \
13615 $(HOST_EXPORTS) \
13616 for flag in $(EXTRA_HOST_FLAGS) ; do \
13617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13618 done; \
13619 echo "Doing mostlyclean in libtool" ; \
13620 (cd libtool && \
13621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13623 "RANLIB=$${RANLIB}" \
13624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13625 mostlyclean) \
13626 || exit 1
13628 @endif libtool
13630 .PHONY: maybe-clean-libtool clean-libtool
13631 maybe-clean-libtool:
13632 @if libtool
13633 maybe-clean-libtool: clean-libtool
13635 clean-libtool:
13636 @[ -f ./libtool/Makefile ] || exit 0; \
13637 r=`${PWD_COMMAND}`; export r; \
13638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13639 $(SET_LIB_PATH) \
13640 $(HOST_EXPORTS) \
13641 for flag in $(EXTRA_HOST_FLAGS) ; do \
13642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13643 done; \
13644 echo "Doing clean in libtool" ; \
13645 (cd libtool && \
13646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13648 "RANLIB=$${RANLIB}" \
13649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13650 clean) \
13651 || exit 1
13653 @endif libtool
13655 .PHONY: maybe-distclean-libtool distclean-libtool
13656 maybe-distclean-libtool:
13657 @if libtool
13658 maybe-distclean-libtool: distclean-libtool
13660 distclean-libtool:
13661 @[ -f ./libtool/Makefile ] || exit 0; \
13662 r=`${PWD_COMMAND}`; export r; \
13663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13664 $(SET_LIB_PATH) \
13665 $(HOST_EXPORTS) \
13666 for flag in $(EXTRA_HOST_FLAGS) ; do \
13667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13668 done; \
13669 echo "Doing distclean in libtool" ; \
13670 (cd libtool && \
13671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13673 "RANLIB=$${RANLIB}" \
13674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13675 distclean) \
13676 || exit 1
13678 @endif libtool
13680 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13681 maybe-maintainer-clean-libtool:
13682 @if libtool
13683 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13685 maintainer-clean-libtool:
13686 @[ -f ./libtool/Makefile ] || exit 0; \
13687 r=`${PWD_COMMAND}`; export r; \
13688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13689 $(SET_LIB_PATH) \
13690 $(HOST_EXPORTS) \
13691 for flag in $(EXTRA_HOST_FLAGS) ; do \
13692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13693 done; \
13694 echo "Doing maintainer-clean in libtool" ; \
13695 (cd libtool && \
13696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13698 "RANLIB=$${RANLIB}" \
13699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13700 maintainer-clean) \
13701 || exit 1
13703 @endif libtool
13706 .PHONY: configure-m4 maybe-configure-m4
13707 maybe-configure-m4:
13708 @if m4
13709 maybe-configure-m4: configure-m4
13710 configure-m4:
13711 @test ! -f m4/Makefile || exit 0; \
13712 [ -d m4 ] || mkdir m4; \
13713 r=`${PWD_COMMAND}`; export r; \
13714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13715 $(HOST_EXPORTS) \
13716 echo Configuring in m4; \
13717 cd m4 || exit 1; \
13718 case $(srcdir) in \
13719 \.) \
13720 srcdiroption="--srcdir=."; \
13721 libsrcdir=".";; \
13722 /* | [A-Za-z]:[\\/]*) \
13723 srcdiroption="--srcdir=$(srcdir)/m4"; \
13724 libsrcdir="$$s/m4";; \
13725 *) \
13726 srcdiroption="--srcdir=../$(srcdir)/m4"; \
13727 libsrcdir="$$s/m4";; \
13728 esac; \
13729 $(SHELL) $${libsrcdir}/configure \
13730 $(HOST_CONFIGARGS) $${srcdiroption} \
13731 || exit 1
13732 @endif m4
13734 .PHONY: all-m4 maybe-all-m4
13735 maybe-all-m4:
13736 @if m4
13737 maybe-all-m4: all-m4
13738 all-m4: configure-m4
13739 @r=`${PWD_COMMAND}`; export r; \
13740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13741 $(SET_LIB_PATH) \
13742 $(HOST_EXPORTS) \
13743 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
13744 @endif m4
13746 .PHONY: check-m4 maybe-check-m4
13747 maybe-check-m4:
13748 @if m4
13749 maybe-check-m4: check-m4
13751 check-m4:
13752 @r=`${PWD_COMMAND}`; export r; \
13753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13754 $(SET_LIB_PATH) \
13755 $(HOST_EXPORTS) \
13756 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13758 @endif m4
13760 .PHONY: install-m4 maybe-install-m4
13761 maybe-install-m4:
13762 @if m4
13763 maybe-install-m4: install-m4
13765 install-m4: installdirs
13766 @r=`${PWD_COMMAND}`; export r; \
13767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13768 $(SET_LIB_PATH) \
13769 $(HOST_EXPORTS) \
13770 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13772 @endif m4
13774 # Other targets (info, dvi, etc.)
13776 .PHONY: maybe-info-m4 info-m4
13777 maybe-info-m4:
13778 @if m4
13779 maybe-info-m4: info-m4
13781 info-m4: \
13782 configure-m4
13783 @[ -f ./m4/Makefile ] || exit 0; \
13784 r=`${PWD_COMMAND}`; export r; \
13785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13786 $(SET_LIB_PATH) \
13787 $(HOST_EXPORTS) \
13788 for flag in $(EXTRA_HOST_FLAGS) ; do \
13789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13790 done; \
13791 echo "Doing info in m4" ; \
13792 (cd m4 && \
13793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13795 "RANLIB=$${RANLIB}" \
13796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13797 info) \
13798 || exit 1
13800 @endif m4
13802 .PHONY: maybe-dvi-m4 dvi-m4
13803 maybe-dvi-m4:
13804 @if m4
13805 maybe-dvi-m4: dvi-m4
13807 dvi-m4: \
13808 configure-m4
13809 @[ -f ./m4/Makefile ] || exit 0; \
13810 r=`${PWD_COMMAND}`; export r; \
13811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13812 $(SET_LIB_PATH) \
13813 $(HOST_EXPORTS) \
13814 for flag in $(EXTRA_HOST_FLAGS) ; do \
13815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13816 done; \
13817 echo "Doing dvi in m4" ; \
13818 (cd m4 && \
13819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13821 "RANLIB=$${RANLIB}" \
13822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13823 dvi) \
13824 || exit 1
13826 @endif m4
13828 .PHONY: maybe-TAGS-m4 TAGS-m4
13829 maybe-TAGS-m4:
13830 @if m4
13831 maybe-TAGS-m4: TAGS-m4
13833 TAGS-m4: \
13834 configure-m4
13835 @[ -f ./m4/Makefile ] || exit 0; \
13836 r=`${PWD_COMMAND}`; export r; \
13837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13838 $(SET_LIB_PATH) \
13839 $(HOST_EXPORTS) \
13840 for flag in $(EXTRA_HOST_FLAGS) ; do \
13841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13842 done; \
13843 echo "Doing TAGS in m4" ; \
13844 (cd m4 && \
13845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13847 "RANLIB=$${RANLIB}" \
13848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13849 TAGS) \
13850 || exit 1
13852 @endif m4
13854 .PHONY: maybe-install-info-m4 install-info-m4
13855 maybe-install-info-m4:
13856 @if m4
13857 maybe-install-info-m4: install-info-m4
13859 install-info-m4: \
13860 configure-m4 \
13861 info-m4
13862 @[ -f ./m4/Makefile ] || exit 0; \
13863 r=`${PWD_COMMAND}`; export r; \
13864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13865 $(SET_LIB_PATH) \
13866 $(HOST_EXPORTS) \
13867 for flag in $(EXTRA_HOST_FLAGS) ; do \
13868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13869 done; \
13870 echo "Doing install-info in m4" ; \
13871 (cd m4 && \
13872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13874 "RANLIB=$${RANLIB}" \
13875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13876 install-info) \
13877 || exit 1
13879 @endif m4
13881 .PHONY: maybe-installcheck-m4 installcheck-m4
13882 maybe-installcheck-m4:
13883 @if m4
13884 maybe-installcheck-m4: installcheck-m4
13886 installcheck-m4: \
13887 configure-m4
13888 @[ -f ./m4/Makefile ] || exit 0; \
13889 r=`${PWD_COMMAND}`; export r; \
13890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13891 $(SET_LIB_PATH) \
13892 $(HOST_EXPORTS) \
13893 for flag in $(EXTRA_HOST_FLAGS) ; do \
13894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13895 done; \
13896 echo "Doing installcheck in m4" ; \
13897 (cd m4 && \
13898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13900 "RANLIB=$${RANLIB}" \
13901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13902 installcheck) \
13903 || exit 1
13905 @endif m4
13907 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13908 maybe-mostlyclean-m4:
13909 @if m4
13910 maybe-mostlyclean-m4: mostlyclean-m4
13912 mostlyclean-m4:
13913 @[ -f ./m4/Makefile ] || exit 0; \
13914 r=`${PWD_COMMAND}`; export r; \
13915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13916 $(SET_LIB_PATH) \
13917 $(HOST_EXPORTS) \
13918 for flag in $(EXTRA_HOST_FLAGS) ; do \
13919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13920 done; \
13921 echo "Doing mostlyclean in m4" ; \
13922 (cd m4 && \
13923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13925 "RANLIB=$${RANLIB}" \
13926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13927 mostlyclean) \
13928 || exit 1
13930 @endif m4
13932 .PHONY: maybe-clean-m4 clean-m4
13933 maybe-clean-m4:
13934 @if m4
13935 maybe-clean-m4: clean-m4
13937 clean-m4:
13938 @[ -f ./m4/Makefile ] || exit 0; \
13939 r=`${PWD_COMMAND}`; export r; \
13940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13941 $(SET_LIB_PATH) \
13942 $(HOST_EXPORTS) \
13943 for flag in $(EXTRA_HOST_FLAGS) ; do \
13944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13945 done; \
13946 echo "Doing clean in m4" ; \
13947 (cd m4 && \
13948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13950 "RANLIB=$${RANLIB}" \
13951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13952 clean) \
13953 || exit 1
13955 @endif m4
13957 .PHONY: maybe-distclean-m4 distclean-m4
13958 maybe-distclean-m4:
13959 @if m4
13960 maybe-distclean-m4: distclean-m4
13962 distclean-m4:
13963 @[ -f ./m4/Makefile ] || exit 0; \
13964 r=`${PWD_COMMAND}`; export r; \
13965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13966 $(SET_LIB_PATH) \
13967 $(HOST_EXPORTS) \
13968 for flag in $(EXTRA_HOST_FLAGS) ; do \
13969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13970 done; \
13971 echo "Doing distclean in m4" ; \
13972 (cd m4 && \
13973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13975 "RANLIB=$${RANLIB}" \
13976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13977 distclean) \
13978 || exit 1
13980 @endif m4
13982 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13983 maybe-maintainer-clean-m4:
13984 @if m4
13985 maybe-maintainer-clean-m4: maintainer-clean-m4
13987 maintainer-clean-m4:
13988 @[ -f ./m4/Makefile ] || exit 0; \
13989 r=`${PWD_COMMAND}`; export r; \
13990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13991 $(SET_LIB_PATH) \
13992 $(HOST_EXPORTS) \
13993 for flag in $(EXTRA_HOST_FLAGS) ; do \
13994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13995 done; \
13996 echo "Doing maintainer-clean in m4" ; \
13997 (cd m4 && \
13998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14000 "RANLIB=$${RANLIB}" \
14001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14002 maintainer-clean) \
14003 || exit 1
14005 @endif m4
14008 .PHONY: configure-make maybe-configure-make
14009 maybe-configure-make:
14010 @if make
14011 maybe-configure-make: configure-make
14012 configure-make:
14013 @test ! -f make/Makefile || exit 0; \
14014 [ -d make ] || mkdir make; \
14015 r=`${PWD_COMMAND}`; export r; \
14016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14017 $(HOST_EXPORTS) \
14018 echo Configuring in make; \
14019 cd make || exit 1; \
14020 case $(srcdir) in \
14021 \.) \
14022 srcdiroption="--srcdir=."; \
14023 libsrcdir=".";; \
14024 /* | [A-Za-z]:[\\/]*) \
14025 srcdiroption="--srcdir=$(srcdir)/make"; \
14026 libsrcdir="$$s/make";; \
14027 *) \
14028 srcdiroption="--srcdir=../$(srcdir)/make"; \
14029 libsrcdir="$$s/make";; \
14030 esac; \
14031 $(SHELL) $${libsrcdir}/configure \
14032 $(HOST_CONFIGARGS) $${srcdiroption} \
14033 || exit 1
14034 @endif make
14036 .PHONY: all-make maybe-all-make
14037 maybe-all-make:
14038 @if make
14039 maybe-all-make: all-make
14040 all-make: configure-make
14041 @r=`${PWD_COMMAND}`; export r; \
14042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14043 $(SET_LIB_PATH) \
14044 $(HOST_EXPORTS) \
14045 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
14046 @endif make
14048 .PHONY: check-make maybe-check-make
14049 maybe-check-make:
14050 @if make
14051 maybe-check-make: check-make
14053 check-make:
14054 @r=`${PWD_COMMAND}`; export r; \
14055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14056 $(SET_LIB_PATH) \
14057 $(HOST_EXPORTS) \
14058 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
14060 @endif make
14062 .PHONY: install-make maybe-install-make
14063 maybe-install-make:
14064 @if make
14065 maybe-install-make: install-make
14067 install-make: installdirs
14068 @r=`${PWD_COMMAND}`; export r; \
14069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14070 $(SET_LIB_PATH) \
14071 $(HOST_EXPORTS) \
14072 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
14074 @endif make
14076 # Other targets (info, dvi, etc.)
14078 .PHONY: maybe-info-make info-make
14079 maybe-info-make:
14080 @if make
14081 maybe-info-make: info-make
14083 info-make: \
14084 configure-make
14085 @[ -f ./make/Makefile ] || exit 0; \
14086 r=`${PWD_COMMAND}`; export r; \
14087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14088 $(SET_LIB_PATH) \
14089 $(HOST_EXPORTS) \
14090 for flag in $(EXTRA_HOST_FLAGS) ; do \
14091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14092 done; \
14093 echo "Doing info in make" ; \
14094 (cd make && \
14095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14097 "RANLIB=$${RANLIB}" \
14098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14099 info) \
14100 || exit 1
14102 @endif make
14104 .PHONY: maybe-dvi-make dvi-make
14105 maybe-dvi-make:
14106 @if make
14107 maybe-dvi-make: dvi-make
14109 dvi-make: \
14110 configure-make
14111 @[ -f ./make/Makefile ] || exit 0; \
14112 r=`${PWD_COMMAND}`; export r; \
14113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14114 $(SET_LIB_PATH) \
14115 $(HOST_EXPORTS) \
14116 for flag in $(EXTRA_HOST_FLAGS) ; do \
14117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14118 done; \
14119 echo "Doing dvi in make" ; \
14120 (cd make && \
14121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14123 "RANLIB=$${RANLIB}" \
14124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14125 dvi) \
14126 || exit 1
14128 @endif make
14130 .PHONY: maybe-TAGS-make TAGS-make
14131 maybe-TAGS-make:
14132 @if make
14133 maybe-TAGS-make: TAGS-make
14135 TAGS-make: \
14136 configure-make
14137 @[ -f ./make/Makefile ] || exit 0; \
14138 r=`${PWD_COMMAND}`; export r; \
14139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14140 $(SET_LIB_PATH) \
14141 $(HOST_EXPORTS) \
14142 for flag in $(EXTRA_HOST_FLAGS) ; do \
14143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14144 done; \
14145 echo "Doing TAGS in make" ; \
14146 (cd make && \
14147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14149 "RANLIB=$${RANLIB}" \
14150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14151 TAGS) \
14152 || exit 1
14154 @endif make
14156 .PHONY: maybe-install-info-make install-info-make
14157 maybe-install-info-make:
14158 @if make
14159 maybe-install-info-make: install-info-make
14161 install-info-make: \
14162 configure-make \
14163 info-make
14164 @[ -f ./make/Makefile ] || exit 0; \
14165 r=`${PWD_COMMAND}`; export r; \
14166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14167 $(SET_LIB_PATH) \
14168 $(HOST_EXPORTS) \
14169 for flag in $(EXTRA_HOST_FLAGS) ; do \
14170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14171 done; \
14172 echo "Doing install-info in make" ; \
14173 (cd make && \
14174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14176 "RANLIB=$${RANLIB}" \
14177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14178 install-info) \
14179 || exit 1
14181 @endif make
14183 .PHONY: maybe-installcheck-make installcheck-make
14184 maybe-installcheck-make:
14185 @if make
14186 maybe-installcheck-make: installcheck-make
14188 installcheck-make: \
14189 configure-make
14190 @[ -f ./make/Makefile ] || exit 0; \
14191 r=`${PWD_COMMAND}`; export r; \
14192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14193 $(SET_LIB_PATH) \
14194 $(HOST_EXPORTS) \
14195 for flag in $(EXTRA_HOST_FLAGS) ; do \
14196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14197 done; \
14198 echo "Doing installcheck in make" ; \
14199 (cd make && \
14200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14202 "RANLIB=$${RANLIB}" \
14203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14204 installcheck) \
14205 || exit 1
14207 @endif make
14209 .PHONY: maybe-mostlyclean-make mostlyclean-make
14210 maybe-mostlyclean-make:
14211 @if make
14212 maybe-mostlyclean-make: mostlyclean-make
14214 mostlyclean-make:
14215 @[ -f ./make/Makefile ] || exit 0; \
14216 r=`${PWD_COMMAND}`; export r; \
14217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14218 $(SET_LIB_PATH) \
14219 $(HOST_EXPORTS) \
14220 for flag in $(EXTRA_HOST_FLAGS) ; do \
14221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14222 done; \
14223 echo "Doing mostlyclean in make" ; \
14224 (cd make && \
14225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14227 "RANLIB=$${RANLIB}" \
14228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14229 mostlyclean) \
14230 || exit 1
14232 @endif make
14234 .PHONY: maybe-clean-make clean-make
14235 maybe-clean-make:
14236 @if make
14237 maybe-clean-make: clean-make
14239 clean-make:
14240 @[ -f ./make/Makefile ] || exit 0; \
14241 r=`${PWD_COMMAND}`; export r; \
14242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14243 $(SET_LIB_PATH) \
14244 $(HOST_EXPORTS) \
14245 for flag in $(EXTRA_HOST_FLAGS) ; do \
14246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14247 done; \
14248 echo "Doing clean in make" ; \
14249 (cd make && \
14250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14252 "RANLIB=$${RANLIB}" \
14253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14254 clean) \
14255 || exit 1
14257 @endif make
14259 .PHONY: maybe-distclean-make distclean-make
14260 maybe-distclean-make:
14261 @if make
14262 maybe-distclean-make: distclean-make
14264 distclean-make:
14265 @[ -f ./make/Makefile ] || exit 0; \
14266 r=`${PWD_COMMAND}`; export r; \
14267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14268 $(SET_LIB_PATH) \
14269 $(HOST_EXPORTS) \
14270 for flag in $(EXTRA_HOST_FLAGS) ; do \
14271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14272 done; \
14273 echo "Doing distclean in make" ; \
14274 (cd make && \
14275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14277 "RANLIB=$${RANLIB}" \
14278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14279 distclean) \
14280 || exit 1
14282 @endif make
14284 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
14285 maybe-maintainer-clean-make:
14286 @if make
14287 maybe-maintainer-clean-make: maintainer-clean-make
14289 maintainer-clean-make:
14290 @[ -f ./make/Makefile ] || exit 0; \
14291 r=`${PWD_COMMAND}`; export r; \
14292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14293 $(SET_LIB_PATH) \
14294 $(HOST_EXPORTS) \
14295 for flag in $(EXTRA_HOST_FLAGS) ; do \
14296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14297 done; \
14298 echo "Doing maintainer-clean in make" ; \
14299 (cd make && \
14300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14302 "RANLIB=$${RANLIB}" \
14303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14304 maintainer-clean) \
14305 || exit 1
14307 @endif make
14310 .PHONY: configure-mmalloc maybe-configure-mmalloc
14311 maybe-configure-mmalloc:
14312 @if mmalloc
14313 maybe-configure-mmalloc: configure-mmalloc
14314 configure-mmalloc:
14315 @test ! -f mmalloc/Makefile || exit 0; \
14316 [ -d mmalloc ] || mkdir mmalloc; \
14317 r=`${PWD_COMMAND}`; export r; \
14318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14319 $(HOST_EXPORTS) \
14320 echo Configuring in mmalloc; \
14321 cd mmalloc || exit 1; \
14322 case $(srcdir) in \
14323 \.) \
14324 srcdiroption="--srcdir=."; \
14325 libsrcdir=".";; \
14326 /* | [A-Za-z]:[\\/]*) \
14327 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
14328 libsrcdir="$$s/mmalloc";; \
14329 *) \
14330 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
14331 libsrcdir="$$s/mmalloc";; \
14332 esac; \
14333 $(SHELL) $${libsrcdir}/configure \
14334 $(HOST_CONFIGARGS) $${srcdiroption} \
14335 || exit 1
14336 @endif mmalloc
14338 .PHONY: all-mmalloc maybe-all-mmalloc
14339 maybe-all-mmalloc:
14340 @if mmalloc
14341 maybe-all-mmalloc: all-mmalloc
14342 all-mmalloc: configure-mmalloc
14343 @r=`${PWD_COMMAND}`; export r; \
14344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14345 $(SET_LIB_PATH) \
14346 $(HOST_EXPORTS) \
14347 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
14348 @endif mmalloc
14350 .PHONY: check-mmalloc maybe-check-mmalloc
14351 maybe-check-mmalloc:
14352 @if mmalloc
14353 maybe-check-mmalloc: check-mmalloc
14355 check-mmalloc:
14357 @endif mmalloc
14359 .PHONY: install-mmalloc maybe-install-mmalloc
14360 maybe-install-mmalloc:
14361 @if mmalloc
14362 maybe-install-mmalloc: install-mmalloc
14364 install-mmalloc: installdirs
14365 @r=`${PWD_COMMAND}`; export r; \
14366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14367 $(SET_LIB_PATH) \
14368 $(HOST_EXPORTS) \
14369 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
14371 @endif mmalloc
14373 # Other targets (info, dvi, etc.)
14375 .PHONY: maybe-info-mmalloc info-mmalloc
14376 maybe-info-mmalloc:
14377 @if mmalloc
14378 maybe-info-mmalloc: info-mmalloc
14380 info-mmalloc: \
14381 configure-mmalloc
14382 @[ -f ./mmalloc/Makefile ] || exit 0; \
14383 r=`${PWD_COMMAND}`; export r; \
14384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14385 $(SET_LIB_PATH) \
14386 $(HOST_EXPORTS) \
14387 for flag in $(EXTRA_HOST_FLAGS) ; do \
14388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14389 done; \
14390 echo "Doing info in mmalloc" ; \
14391 (cd mmalloc && \
14392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14394 "RANLIB=$${RANLIB}" \
14395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14396 info) \
14397 || exit 1
14399 @endif mmalloc
14401 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14402 maybe-dvi-mmalloc:
14403 @if mmalloc
14404 maybe-dvi-mmalloc: dvi-mmalloc
14406 dvi-mmalloc: \
14407 configure-mmalloc
14408 @[ -f ./mmalloc/Makefile ] || exit 0; \
14409 r=`${PWD_COMMAND}`; export r; \
14410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14411 $(SET_LIB_PATH) \
14412 $(HOST_EXPORTS) \
14413 for flag in $(EXTRA_HOST_FLAGS) ; do \
14414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14415 done; \
14416 echo "Doing dvi in mmalloc" ; \
14417 (cd mmalloc && \
14418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14420 "RANLIB=$${RANLIB}" \
14421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14422 dvi) \
14423 || exit 1
14425 @endif mmalloc
14427 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14428 maybe-TAGS-mmalloc:
14429 @if mmalloc
14430 maybe-TAGS-mmalloc: TAGS-mmalloc
14432 TAGS-mmalloc: \
14433 configure-mmalloc
14434 @[ -f ./mmalloc/Makefile ] || exit 0; \
14435 r=`${PWD_COMMAND}`; export r; \
14436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14437 $(SET_LIB_PATH) \
14438 $(HOST_EXPORTS) \
14439 for flag in $(EXTRA_HOST_FLAGS) ; do \
14440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14441 done; \
14442 echo "Doing TAGS in mmalloc" ; \
14443 (cd mmalloc && \
14444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14446 "RANLIB=$${RANLIB}" \
14447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14448 TAGS) \
14449 || exit 1
14451 @endif mmalloc
14453 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14454 maybe-install-info-mmalloc:
14455 @if mmalloc
14456 maybe-install-info-mmalloc: install-info-mmalloc
14458 install-info-mmalloc: \
14459 configure-mmalloc \
14460 info-mmalloc
14461 @[ -f ./mmalloc/Makefile ] || exit 0; \
14462 r=`${PWD_COMMAND}`; export r; \
14463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14464 $(SET_LIB_PATH) \
14465 $(HOST_EXPORTS) \
14466 for flag in $(EXTRA_HOST_FLAGS) ; do \
14467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14468 done; \
14469 echo "Doing install-info in mmalloc" ; \
14470 (cd mmalloc && \
14471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14473 "RANLIB=$${RANLIB}" \
14474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14475 install-info) \
14476 || exit 1
14478 @endif mmalloc
14480 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14481 maybe-installcheck-mmalloc:
14482 @if mmalloc
14483 maybe-installcheck-mmalloc: installcheck-mmalloc
14485 installcheck-mmalloc: \
14486 configure-mmalloc
14487 @[ -f ./mmalloc/Makefile ] || exit 0; \
14488 r=`${PWD_COMMAND}`; export r; \
14489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14490 $(SET_LIB_PATH) \
14491 $(HOST_EXPORTS) \
14492 for flag in $(EXTRA_HOST_FLAGS) ; do \
14493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14494 done; \
14495 echo "Doing installcheck in mmalloc" ; \
14496 (cd mmalloc && \
14497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14499 "RANLIB=$${RANLIB}" \
14500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14501 installcheck) \
14502 || exit 1
14504 @endif mmalloc
14506 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14507 maybe-mostlyclean-mmalloc:
14508 @if mmalloc
14509 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14511 mostlyclean-mmalloc:
14512 @[ -f ./mmalloc/Makefile ] || exit 0; \
14513 r=`${PWD_COMMAND}`; export r; \
14514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14515 $(SET_LIB_PATH) \
14516 $(HOST_EXPORTS) \
14517 for flag in $(EXTRA_HOST_FLAGS) ; do \
14518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14519 done; \
14520 echo "Doing mostlyclean in mmalloc" ; \
14521 (cd mmalloc && \
14522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14524 "RANLIB=$${RANLIB}" \
14525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14526 mostlyclean) \
14527 || exit 1
14529 @endif mmalloc
14531 .PHONY: maybe-clean-mmalloc clean-mmalloc
14532 maybe-clean-mmalloc:
14533 @if mmalloc
14534 maybe-clean-mmalloc: clean-mmalloc
14536 clean-mmalloc:
14537 @[ -f ./mmalloc/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 clean in mmalloc" ; \
14546 (cd mmalloc && \
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 clean) \
14552 || exit 1
14554 @endif mmalloc
14556 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14557 maybe-distclean-mmalloc:
14558 @if mmalloc
14559 maybe-distclean-mmalloc: distclean-mmalloc
14561 distclean-mmalloc:
14562 @[ -f ./mmalloc/Makefile ] || exit 0; \
14563 r=`${PWD_COMMAND}`; export r; \
14564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14565 $(SET_LIB_PATH) \
14566 $(HOST_EXPORTS) \
14567 for flag in $(EXTRA_HOST_FLAGS) ; do \
14568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14569 done; \
14570 echo "Doing distclean in mmalloc" ; \
14571 (cd mmalloc && \
14572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14574 "RANLIB=$${RANLIB}" \
14575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14576 distclean) \
14577 || exit 1
14579 @endif mmalloc
14581 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14582 maybe-maintainer-clean-mmalloc:
14583 @if mmalloc
14584 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14586 maintainer-clean-mmalloc:
14587 @[ -f ./mmalloc/Makefile ] || exit 0; \
14588 r=`${PWD_COMMAND}`; export r; \
14589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14590 $(SET_LIB_PATH) \
14591 $(HOST_EXPORTS) \
14592 for flag in $(EXTRA_HOST_FLAGS) ; do \
14593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14594 done; \
14595 echo "Doing maintainer-clean in mmalloc" ; \
14596 (cd mmalloc && \
14597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14599 "RANLIB=$${RANLIB}" \
14600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14601 maintainer-clean) \
14602 || exit 1
14604 @endif mmalloc
14607 .PHONY: configure-patch maybe-configure-patch
14608 maybe-configure-patch:
14609 @if patch
14610 maybe-configure-patch: configure-patch
14611 configure-patch:
14612 @test ! -f patch/Makefile || exit 0; \
14613 [ -d patch ] || mkdir patch; \
14614 r=`${PWD_COMMAND}`; export r; \
14615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14616 $(HOST_EXPORTS) \
14617 echo Configuring in patch; \
14618 cd patch || exit 1; \
14619 case $(srcdir) in \
14620 \.) \
14621 srcdiroption="--srcdir=."; \
14622 libsrcdir=".";; \
14623 /* | [A-Za-z]:[\\/]*) \
14624 srcdiroption="--srcdir=$(srcdir)/patch"; \
14625 libsrcdir="$$s/patch";; \
14626 *) \
14627 srcdiroption="--srcdir=../$(srcdir)/patch"; \
14628 libsrcdir="$$s/patch";; \
14629 esac; \
14630 $(SHELL) $${libsrcdir}/configure \
14631 $(HOST_CONFIGARGS) $${srcdiroption} \
14632 || exit 1
14633 @endif patch
14635 .PHONY: all-patch maybe-all-patch
14636 maybe-all-patch:
14637 @if patch
14638 maybe-all-patch: all-patch
14639 all-patch: configure-patch
14640 @r=`${PWD_COMMAND}`; export r; \
14641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14642 $(SET_LIB_PATH) \
14643 $(HOST_EXPORTS) \
14644 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
14645 @endif patch
14647 .PHONY: check-patch maybe-check-patch
14648 maybe-check-patch:
14649 @if patch
14650 maybe-check-patch: check-patch
14652 check-patch:
14653 @r=`${PWD_COMMAND}`; export r; \
14654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14655 $(SET_LIB_PATH) \
14656 $(HOST_EXPORTS) \
14657 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
14659 @endif patch
14661 .PHONY: install-patch maybe-install-patch
14662 maybe-install-patch:
14663 @if patch
14664 maybe-install-patch: install-patch
14666 install-patch: installdirs
14667 @r=`${PWD_COMMAND}`; export r; \
14668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14669 $(SET_LIB_PATH) \
14670 $(HOST_EXPORTS) \
14671 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
14673 @endif patch
14675 # Other targets (info, dvi, etc.)
14677 .PHONY: maybe-info-patch info-patch
14678 maybe-info-patch:
14679 @if patch
14680 maybe-info-patch: info-patch
14682 info-patch: \
14683 configure-patch
14684 @[ -f ./patch/Makefile ] || exit 0; \
14685 r=`${PWD_COMMAND}`; export r; \
14686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14687 $(SET_LIB_PATH) \
14688 $(HOST_EXPORTS) \
14689 for flag in $(EXTRA_HOST_FLAGS) ; do \
14690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14691 done; \
14692 echo "Doing info in patch" ; \
14693 (cd patch && \
14694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14696 "RANLIB=$${RANLIB}" \
14697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14698 info) \
14699 || exit 1
14701 @endif patch
14703 .PHONY: maybe-dvi-patch dvi-patch
14704 maybe-dvi-patch:
14705 @if patch
14706 maybe-dvi-patch: dvi-patch
14708 dvi-patch: \
14709 configure-patch
14710 @[ -f ./patch/Makefile ] || exit 0; \
14711 r=`${PWD_COMMAND}`; export r; \
14712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14713 $(SET_LIB_PATH) \
14714 $(HOST_EXPORTS) \
14715 for flag in $(EXTRA_HOST_FLAGS) ; do \
14716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14717 done; \
14718 echo "Doing dvi in patch" ; \
14719 (cd patch && \
14720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14722 "RANLIB=$${RANLIB}" \
14723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14724 dvi) \
14725 || exit 1
14727 @endif patch
14729 .PHONY: maybe-TAGS-patch TAGS-patch
14730 maybe-TAGS-patch:
14731 @if patch
14732 maybe-TAGS-patch: TAGS-patch
14734 TAGS-patch: \
14735 configure-patch
14736 @[ -f ./patch/Makefile ] || exit 0; \
14737 r=`${PWD_COMMAND}`; export r; \
14738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14739 $(SET_LIB_PATH) \
14740 $(HOST_EXPORTS) \
14741 for flag in $(EXTRA_HOST_FLAGS) ; do \
14742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14743 done; \
14744 echo "Doing TAGS in patch" ; \
14745 (cd patch && \
14746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14748 "RANLIB=$${RANLIB}" \
14749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14750 TAGS) \
14751 || exit 1
14753 @endif patch
14755 .PHONY: maybe-install-info-patch install-info-patch
14756 maybe-install-info-patch:
14757 @if patch
14758 maybe-install-info-patch: install-info-patch
14760 install-info-patch: \
14761 configure-patch \
14762 info-patch
14763 @[ -f ./patch/Makefile ] || exit 0; \
14764 r=`${PWD_COMMAND}`; export r; \
14765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14766 $(SET_LIB_PATH) \
14767 $(HOST_EXPORTS) \
14768 for flag in $(EXTRA_HOST_FLAGS) ; do \
14769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14770 done; \
14771 echo "Doing install-info in patch" ; \
14772 (cd patch && \
14773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14775 "RANLIB=$${RANLIB}" \
14776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14777 install-info) \
14778 || exit 1
14780 @endif patch
14782 .PHONY: maybe-installcheck-patch installcheck-patch
14783 maybe-installcheck-patch:
14784 @if patch
14785 maybe-installcheck-patch: installcheck-patch
14787 installcheck-patch: \
14788 configure-patch
14789 @[ -f ./patch/Makefile ] || exit 0; \
14790 r=`${PWD_COMMAND}`; export r; \
14791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14792 $(SET_LIB_PATH) \
14793 $(HOST_EXPORTS) \
14794 for flag in $(EXTRA_HOST_FLAGS) ; do \
14795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14796 done; \
14797 echo "Doing installcheck in patch" ; \
14798 (cd patch && \
14799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14801 "RANLIB=$${RANLIB}" \
14802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14803 installcheck) \
14804 || exit 1
14806 @endif patch
14808 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14809 maybe-mostlyclean-patch:
14810 @if patch
14811 maybe-mostlyclean-patch: mostlyclean-patch
14813 mostlyclean-patch:
14814 @[ -f ./patch/Makefile ] || exit 0; \
14815 r=`${PWD_COMMAND}`; export r; \
14816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14817 $(SET_LIB_PATH) \
14818 $(HOST_EXPORTS) \
14819 for flag in $(EXTRA_HOST_FLAGS) ; do \
14820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14821 done; \
14822 echo "Doing mostlyclean in patch" ; \
14823 (cd patch && \
14824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14826 "RANLIB=$${RANLIB}" \
14827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14828 mostlyclean) \
14829 || exit 1
14831 @endif patch
14833 .PHONY: maybe-clean-patch clean-patch
14834 maybe-clean-patch:
14835 @if patch
14836 maybe-clean-patch: clean-patch
14838 clean-patch:
14839 @[ -f ./patch/Makefile ] || exit 0; \
14840 r=`${PWD_COMMAND}`; export r; \
14841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14842 $(SET_LIB_PATH) \
14843 $(HOST_EXPORTS) \
14844 for flag in $(EXTRA_HOST_FLAGS) ; do \
14845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14846 done; \
14847 echo "Doing clean in patch" ; \
14848 (cd patch && \
14849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14851 "RANLIB=$${RANLIB}" \
14852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14853 clean) \
14854 || exit 1
14856 @endif patch
14858 .PHONY: maybe-distclean-patch distclean-patch
14859 maybe-distclean-patch:
14860 @if patch
14861 maybe-distclean-patch: distclean-patch
14863 distclean-patch:
14864 @[ -f ./patch/Makefile ] || exit 0; \
14865 r=`${PWD_COMMAND}`; export r; \
14866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14867 $(SET_LIB_PATH) \
14868 $(HOST_EXPORTS) \
14869 for flag in $(EXTRA_HOST_FLAGS) ; do \
14870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14871 done; \
14872 echo "Doing distclean in patch" ; \
14873 (cd patch && \
14874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14876 "RANLIB=$${RANLIB}" \
14877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14878 distclean) \
14879 || exit 1
14881 @endif patch
14883 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14884 maybe-maintainer-clean-patch:
14885 @if patch
14886 maybe-maintainer-clean-patch: maintainer-clean-patch
14888 maintainer-clean-patch:
14889 @[ -f ./patch/Makefile ] || exit 0; \
14890 r=`${PWD_COMMAND}`; export r; \
14891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14892 $(SET_LIB_PATH) \
14893 $(HOST_EXPORTS) \
14894 for flag in $(EXTRA_HOST_FLAGS) ; do \
14895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14896 done; \
14897 echo "Doing maintainer-clean in patch" ; \
14898 (cd patch && \
14899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14901 "RANLIB=$${RANLIB}" \
14902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14903 maintainer-clean) \
14904 || exit 1
14906 @endif patch
14909 .PHONY: configure-perl maybe-configure-perl
14910 maybe-configure-perl:
14911 @if perl
14912 maybe-configure-perl: configure-perl
14913 configure-perl:
14914 @test ! -f perl/Makefile || exit 0; \
14915 [ -d perl ] || mkdir perl; \
14916 r=`${PWD_COMMAND}`; export r; \
14917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14918 $(HOST_EXPORTS) \
14919 echo Configuring in perl; \
14920 cd perl || exit 1; \
14921 case $(srcdir) in \
14922 \.) \
14923 srcdiroption="--srcdir=."; \
14924 libsrcdir=".";; \
14925 /* | [A-Za-z]:[\\/]*) \
14926 srcdiroption="--srcdir=$(srcdir)/perl"; \
14927 libsrcdir="$$s/perl";; \
14928 *) \
14929 srcdiroption="--srcdir=../$(srcdir)/perl"; \
14930 libsrcdir="$$s/perl";; \
14931 esac; \
14932 $(SHELL) $${libsrcdir}/configure \
14933 $(HOST_CONFIGARGS) $${srcdiroption} \
14934 || exit 1
14935 @endif perl
14937 .PHONY: all-perl maybe-all-perl
14938 maybe-all-perl:
14939 @if perl
14940 maybe-all-perl: all-perl
14941 all-perl: configure-perl
14942 @r=`${PWD_COMMAND}`; export r; \
14943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14944 $(SET_LIB_PATH) \
14945 $(HOST_EXPORTS) \
14946 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
14947 @endif perl
14949 .PHONY: check-perl maybe-check-perl
14950 maybe-check-perl:
14951 @if perl
14952 maybe-check-perl: check-perl
14954 check-perl:
14955 @r=`${PWD_COMMAND}`; export r; \
14956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14957 $(SET_LIB_PATH) \
14958 $(HOST_EXPORTS) \
14959 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14961 @endif perl
14963 .PHONY: install-perl maybe-install-perl
14964 maybe-install-perl:
14965 @if perl
14966 maybe-install-perl: install-perl
14968 install-perl: installdirs
14969 @r=`${PWD_COMMAND}`; export r; \
14970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14971 $(SET_LIB_PATH) \
14972 $(HOST_EXPORTS) \
14973 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14975 @endif perl
14977 # Other targets (info, dvi, etc.)
14979 .PHONY: maybe-info-perl info-perl
14980 maybe-info-perl:
14981 @if perl
14982 maybe-info-perl: info-perl
14984 info-perl: \
14985 configure-perl
14986 @[ -f ./perl/Makefile ] || exit 0; \
14987 r=`${PWD_COMMAND}`; export r; \
14988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14989 $(SET_LIB_PATH) \
14990 $(HOST_EXPORTS) \
14991 for flag in $(EXTRA_HOST_FLAGS) ; do \
14992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14993 done; \
14994 echo "Doing info in perl" ; \
14995 (cd perl && \
14996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14998 "RANLIB=$${RANLIB}" \
14999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15000 info) \
15001 || exit 1
15003 @endif perl
15005 .PHONY: maybe-dvi-perl dvi-perl
15006 maybe-dvi-perl:
15007 @if perl
15008 maybe-dvi-perl: dvi-perl
15010 dvi-perl: \
15011 configure-perl
15012 @[ -f ./perl/Makefile ] || exit 0; \
15013 r=`${PWD_COMMAND}`; export r; \
15014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15015 $(SET_LIB_PATH) \
15016 $(HOST_EXPORTS) \
15017 for flag in $(EXTRA_HOST_FLAGS) ; do \
15018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15019 done; \
15020 echo "Doing dvi in perl" ; \
15021 (cd perl && \
15022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15024 "RANLIB=$${RANLIB}" \
15025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15026 dvi) \
15027 || exit 1
15029 @endif perl
15031 .PHONY: maybe-TAGS-perl TAGS-perl
15032 maybe-TAGS-perl:
15033 @if perl
15034 maybe-TAGS-perl: TAGS-perl
15036 TAGS-perl: \
15037 configure-perl
15038 @[ -f ./perl/Makefile ] || exit 0; \
15039 r=`${PWD_COMMAND}`; export r; \
15040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15041 $(SET_LIB_PATH) \
15042 $(HOST_EXPORTS) \
15043 for flag in $(EXTRA_HOST_FLAGS) ; do \
15044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15045 done; \
15046 echo "Doing TAGS in perl" ; \
15047 (cd perl && \
15048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15050 "RANLIB=$${RANLIB}" \
15051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15052 TAGS) \
15053 || exit 1
15055 @endif perl
15057 .PHONY: maybe-install-info-perl install-info-perl
15058 maybe-install-info-perl:
15059 @if perl
15060 maybe-install-info-perl: install-info-perl
15062 install-info-perl: \
15063 configure-perl \
15064 info-perl
15065 @[ -f ./perl/Makefile ] || exit 0; \
15066 r=`${PWD_COMMAND}`; export r; \
15067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15068 $(SET_LIB_PATH) \
15069 $(HOST_EXPORTS) \
15070 for flag in $(EXTRA_HOST_FLAGS) ; do \
15071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15072 done; \
15073 echo "Doing install-info in perl" ; \
15074 (cd perl && \
15075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15077 "RANLIB=$${RANLIB}" \
15078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15079 install-info) \
15080 || exit 1
15082 @endif perl
15084 .PHONY: maybe-installcheck-perl installcheck-perl
15085 maybe-installcheck-perl:
15086 @if perl
15087 maybe-installcheck-perl: installcheck-perl
15089 installcheck-perl: \
15090 configure-perl
15091 @[ -f ./perl/Makefile ] || exit 0; \
15092 r=`${PWD_COMMAND}`; export r; \
15093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15094 $(SET_LIB_PATH) \
15095 $(HOST_EXPORTS) \
15096 for flag in $(EXTRA_HOST_FLAGS) ; do \
15097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15098 done; \
15099 echo "Doing installcheck in perl" ; \
15100 (cd perl && \
15101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15103 "RANLIB=$${RANLIB}" \
15104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15105 installcheck) \
15106 || exit 1
15108 @endif perl
15110 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
15111 maybe-mostlyclean-perl:
15112 @if perl
15113 maybe-mostlyclean-perl: mostlyclean-perl
15115 mostlyclean-perl:
15116 @[ -f ./perl/Makefile ] || exit 0; \
15117 r=`${PWD_COMMAND}`; export r; \
15118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15119 $(SET_LIB_PATH) \
15120 $(HOST_EXPORTS) \
15121 for flag in $(EXTRA_HOST_FLAGS) ; do \
15122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15123 done; \
15124 echo "Doing mostlyclean in perl" ; \
15125 (cd perl && \
15126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15128 "RANLIB=$${RANLIB}" \
15129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15130 mostlyclean) \
15131 || exit 1
15133 @endif perl
15135 .PHONY: maybe-clean-perl clean-perl
15136 maybe-clean-perl:
15137 @if perl
15138 maybe-clean-perl: clean-perl
15140 clean-perl:
15141 @[ -f ./perl/Makefile ] || exit 0; \
15142 r=`${PWD_COMMAND}`; export r; \
15143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15144 $(SET_LIB_PATH) \
15145 $(HOST_EXPORTS) \
15146 for flag in $(EXTRA_HOST_FLAGS) ; do \
15147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15148 done; \
15149 echo "Doing clean in perl" ; \
15150 (cd perl && \
15151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15153 "RANLIB=$${RANLIB}" \
15154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15155 clean) \
15156 || exit 1
15158 @endif perl
15160 .PHONY: maybe-distclean-perl distclean-perl
15161 maybe-distclean-perl:
15162 @if perl
15163 maybe-distclean-perl: distclean-perl
15165 distclean-perl:
15166 @[ -f ./perl/Makefile ] || exit 0; \
15167 r=`${PWD_COMMAND}`; export r; \
15168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15169 $(SET_LIB_PATH) \
15170 $(HOST_EXPORTS) \
15171 for flag in $(EXTRA_HOST_FLAGS) ; do \
15172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15173 done; \
15174 echo "Doing distclean in perl" ; \
15175 (cd perl && \
15176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15178 "RANLIB=$${RANLIB}" \
15179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15180 distclean) \
15181 || exit 1
15183 @endif perl
15185 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
15186 maybe-maintainer-clean-perl:
15187 @if perl
15188 maybe-maintainer-clean-perl: maintainer-clean-perl
15190 maintainer-clean-perl:
15191 @[ -f ./perl/Makefile ] || exit 0; \
15192 r=`${PWD_COMMAND}`; export r; \
15193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15194 $(SET_LIB_PATH) \
15195 $(HOST_EXPORTS) \
15196 for flag in $(EXTRA_HOST_FLAGS) ; do \
15197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15198 done; \
15199 echo "Doing maintainer-clean in perl" ; \
15200 (cd perl && \
15201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15203 "RANLIB=$${RANLIB}" \
15204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15205 maintainer-clean) \
15206 || exit 1
15208 @endif perl
15211 .PHONY: configure-prms maybe-configure-prms
15212 maybe-configure-prms:
15213 @if prms
15214 maybe-configure-prms: configure-prms
15215 configure-prms:
15216 @test ! -f prms/Makefile || exit 0; \
15217 [ -d prms ] || mkdir prms; \
15218 r=`${PWD_COMMAND}`; export r; \
15219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15220 $(HOST_EXPORTS) \
15221 echo Configuring in prms; \
15222 cd prms || exit 1; \
15223 case $(srcdir) in \
15224 \.) \
15225 srcdiroption="--srcdir=."; \
15226 libsrcdir=".";; \
15227 /* | [A-Za-z]:[\\/]*) \
15228 srcdiroption="--srcdir=$(srcdir)/prms"; \
15229 libsrcdir="$$s/prms";; \
15230 *) \
15231 srcdiroption="--srcdir=../$(srcdir)/prms"; \
15232 libsrcdir="$$s/prms";; \
15233 esac; \
15234 $(SHELL) $${libsrcdir}/configure \
15235 $(HOST_CONFIGARGS) $${srcdiroption} \
15236 || exit 1
15237 @endif prms
15239 .PHONY: all-prms maybe-all-prms
15240 maybe-all-prms:
15241 @if prms
15242 maybe-all-prms: all-prms
15243 all-prms: configure-prms
15244 @r=`${PWD_COMMAND}`; export r; \
15245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15246 $(SET_LIB_PATH) \
15247 $(HOST_EXPORTS) \
15248 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
15249 @endif prms
15251 .PHONY: check-prms maybe-check-prms
15252 maybe-check-prms:
15253 @if prms
15254 maybe-check-prms: check-prms
15256 check-prms:
15257 @r=`${PWD_COMMAND}`; export r; \
15258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15259 $(SET_LIB_PATH) \
15260 $(HOST_EXPORTS) \
15261 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
15263 @endif prms
15265 .PHONY: install-prms maybe-install-prms
15266 maybe-install-prms:
15267 @if prms
15268 maybe-install-prms: install-prms
15270 install-prms: installdirs
15271 @r=`${PWD_COMMAND}`; export r; \
15272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15273 $(SET_LIB_PATH) \
15274 $(HOST_EXPORTS) \
15275 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
15277 @endif prms
15279 # Other targets (info, dvi, etc.)
15281 .PHONY: maybe-info-prms info-prms
15282 maybe-info-prms:
15283 @if prms
15284 maybe-info-prms: info-prms
15286 info-prms: \
15287 configure-prms
15288 @[ -f ./prms/Makefile ] || exit 0; \
15289 r=`${PWD_COMMAND}`; export r; \
15290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15291 $(SET_LIB_PATH) \
15292 $(HOST_EXPORTS) \
15293 for flag in $(EXTRA_HOST_FLAGS) ; do \
15294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15295 done; \
15296 echo "Doing info in prms" ; \
15297 (cd prms && \
15298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15300 "RANLIB=$${RANLIB}" \
15301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15302 info) \
15303 || exit 1
15305 @endif prms
15307 .PHONY: maybe-dvi-prms dvi-prms
15308 maybe-dvi-prms:
15309 @if prms
15310 maybe-dvi-prms: dvi-prms
15312 dvi-prms: \
15313 configure-prms
15314 @[ -f ./prms/Makefile ] || exit 0; \
15315 r=`${PWD_COMMAND}`; export r; \
15316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15317 $(SET_LIB_PATH) \
15318 $(HOST_EXPORTS) \
15319 for flag in $(EXTRA_HOST_FLAGS) ; do \
15320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15321 done; \
15322 echo "Doing dvi in prms" ; \
15323 (cd prms && \
15324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15326 "RANLIB=$${RANLIB}" \
15327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15328 dvi) \
15329 || exit 1
15331 @endif prms
15333 .PHONY: maybe-TAGS-prms TAGS-prms
15334 maybe-TAGS-prms:
15335 @if prms
15336 maybe-TAGS-prms: TAGS-prms
15338 TAGS-prms: \
15339 configure-prms
15340 @[ -f ./prms/Makefile ] || exit 0; \
15341 r=`${PWD_COMMAND}`; export r; \
15342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15343 $(SET_LIB_PATH) \
15344 $(HOST_EXPORTS) \
15345 for flag in $(EXTRA_HOST_FLAGS) ; do \
15346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15347 done; \
15348 echo "Doing TAGS in prms" ; \
15349 (cd prms && \
15350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15352 "RANLIB=$${RANLIB}" \
15353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15354 TAGS) \
15355 || exit 1
15357 @endif prms
15359 .PHONY: maybe-install-info-prms install-info-prms
15360 maybe-install-info-prms:
15361 @if prms
15362 maybe-install-info-prms: install-info-prms
15364 install-info-prms: \
15365 configure-prms \
15366 info-prms
15367 @[ -f ./prms/Makefile ] || exit 0; \
15368 r=`${PWD_COMMAND}`; export r; \
15369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15370 $(SET_LIB_PATH) \
15371 $(HOST_EXPORTS) \
15372 for flag in $(EXTRA_HOST_FLAGS) ; do \
15373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15374 done; \
15375 echo "Doing install-info in prms" ; \
15376 (cd prms && \
15377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15379 "RANLIB=$${RANLIB}" \
15380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15381 install-info) \
15382 || exit 1
15384 @endif prms
15386 .PHONY: maybe-installcheck-prms installcheck-prms
15387 maybe-installcheck-prms:
15388 @if prms
15389 maybe-installcheck-prms: installcheck-prms
15391 installcheck-prms: \
15392 configure-prms
15393 @[ -f ./prms/Makefile ] || exit 0; \
15394 r=`${PWD_COMMAND}`; export r; \
15395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15396 $(SET_LIB_PATH) \
15397 $(HOST_EXPORTS) \
15398 for flag in $(EXTRA_HOST_FLAGS) ; do \
15399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15400 done; \
15401 echo "Doing installcheck in prms" ; \
15402 (cd prms && \
15403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15405 "RANLIB=$${RANLIB}" \
15406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15407 installcheck) \
15408 || exit 1
15410 @endif prms
15412 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15413 maybe-mostlyclean-prms:
15414 @if prms
15415 maybe-mostlyclean-prms: mostlyclean-prms
15417 mostlyclean-prms:
15418 @[ -f ./prms/Makefile ] || exit 0; \
15419 r=`${PWD_COMMAND}`; export r; \
15420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15421 $(SET_LIB_PATH) \
15422 $(HOST_EXPORTS) \
15423 for flag in $(EXTRA_HOST_FLAGS) ; do \
15424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15425 done; \
15426 echo "Doing mostlyclean in prms" ; \
15427 (cd prms && \
15428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15430 "RANLIB=$${RANLIB}" \
15431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15432 mostlyclean) \
15433 || exit 1
15435 @endif prms
15437 .PHONY: maybe-clean-prms clean-prms
15438 maybe-clean-prms:
15439 @if prms
15440 maybe-clean-prms: clean-prms
15442 clean-prms:
15443 @[ -f ./prms/Makefile ] || exit 0; \
15444 r=`${PWD_COMMAND}`; export r; \
15445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15446 $(SET_LIB_PATH) \
15447 $(HOST_EXPORTS) \
15448 for flag in $(EXTRA_HOST_FLAGS) ; do \
15449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15450 done; \
15451 echo "Doing clean in prms" ; \
15452 (cd prms && \
15453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15455 "RANLIB=$${RANLIB}" \
15456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15457 clean) \
15458 || exit 1
15460 @endif prms
15462 .PHONY: maybe-distclean-prms distclean-prms
15463 maybe-distclean-prms:
15464 @if prms
15465 maybe-distclean-prms: distclean-prms
15467 distclean-prms:
15468 @[ -f ./prms/Makefile ] || exit 0; \
15469 r=`${PWD_COMMAND}`; export r; \
15470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15471 $(SET_LIB_PATH) \
15472 $(HOST_EXPORTS) \
15473 for flag in $(EXTRA_HOST_FLAGS) ; do \
15474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15475 done; \
15476 echo "Doing distclean in prms" ; \
15477 (cd prms && \
15478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15480 "RANLIB=$${RANLIB}" \
15481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15482 distclean) \
15483 || exit 1
15485 @endif prms
15487 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15488 maybe-maintainer-clean-prms:
15489 @if prms
15490 maybe-maintainer-clean-prms: maintainer-clean-prms
15492 maintainer-clean-prms:
15493 @[ -f ./prms/Makefile ] || exit 0; \
15494 r=`${PWD_COMMAND}`; export r; \
15495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15496 $(SET_LIB_PATH) \
15497 $(HOST_EXPORTS) \
15498 for flag in $(EXTRA_HOST_FLAGS) ; do \
15499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15500 done; \
15501 echo "Doing maintainer-clean in prms" ; \
15502 (cd prms && \
15503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15505 "RANLIB=$${RANLIB}" \
15506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15507 maintainer-clean) \
15508 || exit 1
15510 @endif prms
15513 .PHONY: configure-rcs maybe-configure-rcs
15514 maybe-configure-rcs:
15515 @if rcs
15516 maybe-configure-rcs: configure-rcs
15517 configure-rcs:
15518 @test ! -f rcs/Makefile || exit 0; \
15519 [ -d rcs ] || mkdir rcs; \
15520 r=`${PWD_COMMAND}`; export r; \
15521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15522 $(HOST_EXPORTS) \
15523 echo Configuring in rcs; \
15524 cd rcs || exit 1; \
15525 case $(srcdir) in \
15526 \.) \
15527 srcdiroption="--srcdir=."; \
15528 libsrcdir=".";; \
15529 /* | [A-Za-z]:[\\/]*) \
15530 srcdiroption="--srcdir=$(srcdir)/rcs"; \
15531 libsrcdir="$$s/rcs";; \
15532 *) \
15533 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
15534 libsrcdir="$$s/rcs";; \
15535 esac; \
15536 $(SHELL) $${libsrcdir}/configure \
15537 $(HOST_CONFIGARGS) $${srcdiroption} \
15538 || exit 1
15539 @endif rcs
15541 .PHONY: all-rcs maybe-all-rcs
15542 maybe-all-rcs:
15543 @if rcs
15544 maybe-all-rcs: all-rcs
15545 all-rcs: configure-rcs
15546 @r=`${PWD_COMMAND}`; export r; \
15547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15548 $(SET_LIB_PATH) \
15549 $(HOST_EXPORTS) \
15550 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
15551 @endif rcs
15553 .PHONY: check-rcs maybe-check-rcs
15554 maybe-check-rcs:
15555 @if rcs
15556 maybe-check-rcs: check-rcs
15558 check-rcs:
15559 @r=`${PWD_COMMAND}`; export r; \
15560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15561 $(SET_LIB_PATH) \
15562 $(HOST_EXPORTS) \
15563 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
15565 @endif rcs
15567 .PHONY: install-rcs maybe-install-rcs
15568 maybe-install-rcs:
15569 @if rcs
15570 maybe-install-rcs: install-rcs
15572 install-rcs: installdirs
15573 @r=`${PWD_COMMAND}`; export r; \
15574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15575 $(SET_LIB_PATH) \
15576 $(HOST_EXPORTS) \
15577 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
15579 @endif rcs
15581 # Other targets (info, dvi, etc.)
15583 .PHONY: maybe-info-rcs info-rcs
15584 maybe-info-rcs:
15585 @if rcs
15586 maybe-info-rcs: info-rcs
15588 info-rcs: \
15589 configure-rcs
15590 @[ -f ./rcs/Makefile ] || exit 0; \
15591 r=`${PWD_COMMAND}`; export r; \
15592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15593 $(SET_LIB_PATH) \
15594 $(HOST_EXPORTS) \
15595 for flag in $(EXTRA_HOST_FLAGS) ; do \
15596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15597 done; \
15598 echo "Doing info in rcs" ; \
15599 (cd rcs && \
15600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15602 "RANLIB=$${RANLIB}" \
15603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15604 info) \
15605 || exit 1
15607 @endif rcs
15609 .PHONY: maybe-dvi-rcs dvi-rcs
15610 maybe-dvi-rcs:
15611 @if rcs
15612 maybe-dvi-rcs: dvi-rcs
15614 dvi-rcs: \
15615 configure-rcs
15616 @[ -f ./rcs/Makefile ] || exit 0; \
15617 r=`${PWD_COMMAND}`; export r; \
15618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15619 $(SET_LIB_PATH) \
15620 $(HOST_EXPORTS) \
15621 for flag in $(EXTRA_HOST_FLAGS) ; do \
15622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15623 done; \
15624 echo "Doing dvi in rcs" ; \
15625 (cd rcs && \
15626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15628 "RANLIB=$${RANLIB}" \
15629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15630 dvi) \
15631 || exit 1
15633 @endif rcs
15635 .PHONY: maybe-TAGS-rcs TAGS-rcs
15636 maybe-TAGS-rcs:
15637 @if rcs
15638 maybe-TAGS-rcs: TAGS-rcs
15640 TAGS-rcs: \
15641 configure-rcs
15642 @[ -f ./rcs/Makefile ] || exit 0; \
15643 r=`${PWD_COMMAND}`; export r; \
15644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15645 $(SET_LIB_PATH) \
15646 $(HOST_EXPORTS) \
15647 for flag in $(EXTRA_HOST_FLAGS) ; do \
15648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15649 done; \
15650 echo "Doing TAGS in rcs" ; \
15651 (cd rcs && \
15652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15654 "RANLIB=$${RANLIB}" \
15655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15656 TAGS) \
15657 || exit 1
15659 @endif rcs
15661 .PHONY: maybe-install-info-rcs install-info-rcs
15662 maybe-install-info-rcs:
15663 @if rcs
15664 maybe-install-info-rcs: install-info-rcs
15666 install-info-rcs: \
15667 configure-rcs \
15668 info-rcs
15669 @[ -f ./rcs/Makefile ] || exit 0; \
15670 r=`${PWD_COMMAND}`; export r; \
15671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15672 $(SET_LIB_PATH) \
15673 $(HOST_EXPORTS) \
15674 for flag in $(EXTRA_HOST_FLAGS) ; do \
15675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15676 done; \
15677 echo "Doing install-info in rcs" ; \
15678 (cd rcs && \
15679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15681 "RANLIB=$${RANLIB}" \
15682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15683 install-info) \
15684 || exit 1
15686 @endif rcs
15688 .PHONY: maybe-installcheck-rcs installcheck-rcs
15689 maybe-installcheck-rcs:
15690 @if rcs
15691 maybe-installcheck-rcs: installcheck-rcs
15693 installcheck-rcs: \
15694 configure-rcs
15695 @[ -f ./rcs/Makefile ] || exit 0; \
15696 r=`${PWD_COMMAND}`; export r; \
15697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15698 $(SET_LIB_PATH) \
15699 $(HOST_EXPORTS) \
15700 for flag in $(EXTRA_HOST_FLAGS) ; do \
15701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15702 done; \
15703 echo "Doing installcheck in rcs" ; \
15704 (cd rcs && \
15705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15707 "RANLIB=$${RANLIB}" \
15708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15709 installcheck) \
15710 || exit 1
15712 @endif rcs
15714 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15715 maybe-mostlyclean-rcs:
15716 @if rcs
15717 maybe-mostlyclean-rcs: mostlyclean-rcs
15719 mostlyclean-rcs:
15720 @[ -f ./rcs/Makefile ] || exit 0; \
15721 r=`${PWD_COMMAND}`; export r; \
15722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15723 $(SET_LIB_PATH) \
15724 $(HOST_EXPORTS) \
15725 for flag in $(EXTRA_HOST_FLAGS) ; do \
15726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15727 done; \
15728 echo "Doing mostlyclean in rcs" ; \
15729 (cd rcs && \
15730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15732 "RANLIB=$${RANLIB}" \
15733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15734 mostlyclean) \
15735 || exit 1
15737 @endif rcs
15739 .PHONY: maybe-clean-rcs clean-rcs
15740 maybe-clean-rcs:
15741 @if rcs
15742 maybe-clean-rcs: clean-rcs
15744 clean-rcs:
15745 @[ -f ./rcs/Makefile ] || exit 0; \
15746 r=`${PWD_COMMAND}`; export r; \
15747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15748 $(SET_LIB_PATH) \
15749 $(HOST_EXPORTS) \
15750 for flag in $(EXTRA_HOST_FLAGS) ; do \
15751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15752 done; \
15753 echo "Doing clean in rcs" ; \
15754 (cd rcs && \
15755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15757 "RANLIB=$${RANLIB}" \
15758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15759 clean) \
15760 || exit 1
15762 @endif rcs
15764 .PHONY: maybe-distclean-rcs distclean-rcs
15765 maybe-distclean-rcs:
15766 @if rcs
15767 maybe-distclean-rcs: distclean-rcs
15769 distclean-rcs:
15770 @[ -f ./rcs/Makefile ] || exit 0; \
15771 r=`${PWD_COMMAND}`; export r; \
15772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15773 $(SET_LIB_PATH) \
15774 $(HOST_EXPORTS) \
15775 for flag in $(EXTRA_HOST_FLAGS) ; do \
15776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15777 done; \
15778 echo "Doing distclean in rcs" ; \
15779 (cd rcs && \
15780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15782 "RANLIB=$${RANLIB}" \
15783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15784 distclean) \
15785 || exit 1
15787 @endif rcs
15789 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15790 maybe-maintainer-clean-rcs:
15791 @if rcs
15792 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15794 maintainer-clean-rcs:
15795 @[ -f ./rcs/Makefile ] || exit 0; \
15796 r=`${PWD_COMMAND}`; export r; \
15797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15798 $(SET_LIB_PATH) \
15799 $(HOST_EXPORTS) \
15800 for flag in $(EXTRA_HOST_FLAGS) ; do \
15801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15802 done; \
15803 echo "Doing maintainer-clean in rcs" ; \
15804 (cd rcs && \
15805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15807 "RANLIB=$${RANLIB}" \
15808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15809 maintainer-clean) \
15810 || exit 1
15812 @endif rcs
15815 .PHONY: configure-readline maybe-configure-readline
15816 maybe-configure-readline:
15817 @if readline
15818 maybe-configure-readline: configure-readline
15819 configure-readline:
15820 @test ! -f readline/Makefile || exit 0; \
15821 [ -d readline ] || mkdir readline; \
15822 r=`${PWD_COMMAND}`; export r; \
15823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15824 $(HOST_EXPORTS) \
15825 echo Configuring in readline; \
15826 cd readline || exit 1; \
15827 case $(srcdir) in \
15828 \.) \
15829 srcdiroption="--srcdir=."; \
15830 libsrcdir=".";; \
15831 /* | [A-Za-z]:[\\/]*) \
15832 srcdiroption="--srcdir=$(srcdir)/readline"; \
15833 libsrcdir="$$s/readline";; \
15834 *) \
15835 srcdiroption="--srcdir=../$(srcdir)/readline"; \
15836 libsrcdir="$$s/readline";; \
15837 esac; \
15838 $(SHELL) $${libsrcdir}/configure \
15839 $(HOST_CONFIGARGS) $${srcdiroption} \
15840 || exit 1
15841 @endif readline
15843 .PHONY: all-readline maybe-all-readline
15844 maybe-all-readline:
15845 @if readline
15846 maybe-all-readline: all-readline
15847 all-readline: configure-readline
15848 @r=`${PWD_COMMAND}`; export r; \
15849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15850 $(SET_LIB_PATH) \
15851 $(HOST_EXPORTS) \
15852 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
15853 @endif readline
15855 .PHONY: check-readline maybe-check-readline
15856 maybe-check-readline:
15857 @if readline
15858 maybe-check-readline: check-readline
15860 check-readline:
15861 @r=`${PWD_COMMAND}`; export r; \
15862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15863 $(SET_LIB_PATH) \
15864 $(HOST_EXPORTS) \
15865 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15867 @endif readline
15869 .PHONY: install-readline maybe-install-readline
15870 maybe-install-readline:
15871 @if readline
15872 maybe-install-readline: install-readline
15874 install-readline: installdirs
15875 @r=`${PWD_COMMAND}`; export r; \
15876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15877 $(SET_LIB_PATH) \
15878 $(HOST_EXPORTS) \
15879 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15881 @endif readline
15883 # Other targets (info, dvi, etc.)
15885 .PHONY: maybe-info-readline info-readline
15886 maybe-info-readline:
15887 @if readline
15888 maybe-info-readline: info-readline
15890 info-readline: \
15891 configure-readline
15892 @[ -f ./readline/Makefile ] || exit 0; \
15893 r=`${PWD_COMMAND}`; export r; \
15894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15895 $(SET_LIB_PATH) \
15896 $(HOST_EXPORTS) \
15897 for flag in $(EXTRA_HOST_FLAGS) ; do \
15898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15899 done; \
15900 echo "Doing info in readline" ; \
15901 (cd readline && \
15902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15904 "RANLIB=$${RANLIB}" \
15905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15906 info) \
15907 || exit 1
15909 @endif readline
15911 .PHONY: maybe-dvi-readline dvi-readline
15912 maybe-dvi-readline:
15913 @if readline
15914 maybe-dvi-readline: dvi-readline
15916 dvi-readline: \
15917 configure-readline
15918 @[ -f ./readline/Makefile ] || exit 0; \
15919 r=`${PWD_COMMAND}`; export r; \
15920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15921 $(SET_LIB_PATH) \
15922 $(HOST_EXPORTS) \
15923 for flag in $(EXTRA_HOST_FLAGS) ; do \
15924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15925 done; \
15926 echo "Doing dvi in readline" ; \
15927 (cd readline && \
15928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15930 "RANLIB=$${RANLIB}" \
15931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15932 dvi) \
15933 || exit 1
15935 @endif readline
15937 .PHONY: maybe-TAGS-readline TAGS-readline
15938 maybe-TAGS-readline:
15939 @if readline
15940 maybe-TAGS-readline: TAGS-readline
15942 TAGS-readline: \
15943 configure-readline
15944 @[ -f ./readline/Makefile ] || exit 0; \
15945 r=`${PWD_COMMAND}`; export r; \
15946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15947 $(SET_LIB_PATH) \
15948 $(HOST_EXPORTS) \
15949 for flag in $(EXTRA_HOST_FLAGS) ; do \
15950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15951 done; \
15952 echo "Doing TAGS in readline" ; \
15953 (cd readline && \
15954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15956 "RANLIB=$${RANLIB}" \
15957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15958 TAGS) \
15959 || exit 1
15961 @endif readline
15963 .PHONY: maybe-install-info-readline install-info-readline
15964 maybe-install-info-readline:
15965 @if readline
15966 maybe-install-info-readline: install-info-readline
15968 install-info-readline: \
15969 configure-readline \
15970 info-readline
15971 @[ -f ./readline/Makefile ] || exit 0; \
15972 r=`${PWD_COMMAND}`; export r; \
15973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15974 $(SET_LIB_PATH) \
15975 $(HOST_EXPORTS) \
15976 for flag in $(EXTRA_HOST_FLAGS) ; do \
15977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15978 done; \
15979 echo "Doing install-info in readline" ; \
15980 (cd readline && \
15981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15983 "RANLIB=$${RANLIB}" \
15984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15985 install-info) \
15986 || exit 1
15988 @endif readline
15990 .PHONY: maybe-installcheck-readline installcheck-readline
15991 maybe-installcheck-readline:
15992 @if readline
15993 maybe-installcheck-readline: installcheck-readline
15995 installcheck-readline: \
15996 configure-readline
15997 @[ -f ./readline/Makefile ] || exit 0; \
15998 r=`${PWD_COMMAND}`; export r; \
15999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16000 $(SET_LIB_PATH) \
16001 $(HOST_EXPORTS) \
16002 for flag in $(EXTRA_HOST_FLAGS) ; do \
16003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16004 done; \
16005 echo "Doing installcheck in readline" ; \
16006 (cd readline && \
16007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16009 "RANLIB=$${RANLIB}" \
16010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16011 installcheck) \
16012 || exit 1
16014 @endif readline
16016 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
16017 maybe-mostlyclean-readline:
16018 @if readline
16019 maybe-mostlyclean-readline: mostlyclean-readline
16021 mostlyclean-readline:
16022 @[ -f ./readline/Makefile ] || exit 0; \
16023 r=`${PWD_COMMAND}`; export r; \
16024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16025 $(SET_LIB_PATH) \
16026 $(HOST_EXPORTS) \
16027 for flag in $(EXTRA_HOST_FLAGS) ; do \
16028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16029 done; \
16030 echo "Doing mostlyclean in readline" ; \
16031 (cd readline && \
16032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16034 "RANLIB=$${RANLIB}" \
16035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16036 mostlyclean) \
16037 || exit 1
16039 @endif readline
16041 .PHONY: maybe-clean-readline clean-readline
16042 maybe-clean-readline:
16043 @if readline
16044 maybe-clean-readline: clean-readline
16046 clean-readline:
16047 @[ -f ./readline/Makefile ] || exit 0; \
16048 r=`${PWD_COMMAND}`; export r; \
16049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16050 $(SET_LIB_PATH) \
16051 $(HOST_EXPORTS) \
16052 for flag in $(EXTRA_HOST_FLAGS) ; do \
16053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16054 done; \
16055 echo "Doing clean in readline" ; \
16056 (cd readline && \
16057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16059 "RANLIB=$${RANLIB}" \
16060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16061 clean) \
16062 || exit 1
16064 @endif readline
16066 .PHONY: maybe-distclean-readline distclean-readline
16067 maybe-distclean-readline:
16068 @if readline
16069 maybe-distclean-readline: distclean-readline
16071 distclean-readline:
16072 @[ -f ./readline/Makefile ] || exit 0; \
16073 r=`${PWD_COMMAND}`; export r; \
16074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16075 $(SET_LIB_PATH) \
16076 $(HOST_EXPORTS) \
16077 for flag in $(EXTRA_HOST_FLAGS) ; do \
16078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16079 done; \
16080 echo "Doing distclean in readline" ; \
16081 (cd readline && \
16082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16084 "RANLIB=$${RANLIB}" \
16085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16086 distclean) \
16087 || exit 1
16089 @endif readline
16091 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16092 maybe-maintainer-clean-readline:
16093 @if readline
16094 maybe-maintainer-clean-readline: maintainer-clean-readline
16096 maintainer-clean-readline:
16097 @[ -f ./readline/Makefile ] || exit 0; \
16098 r=`${PWD_COMMAND}`; export r; \
16099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16100 $(SET_LIB_PATH) \
16101 $(HOST_EXPORTS) \
16102 for flag in $(EXTRA_HOST_FLAGS) ; do \
16103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16104 done; \
16105 echo "Doing maintainer-clean in readline" ; \
16106 (cd readline && \
16107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16109 "RANLIB=$${RANLIB}" \
16110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16111 maintainer-clean) \
16112 || exit 1
16114 @endif readline
16117 .PHONY: configure-release maybe-configure-release
16118 maybe-configure-release:
16119 @if release
16120 maybe-configure-release: configure-release
16121 configure-release:
16122 @test ! -f release/Makefile || exit 0; \
16123 [ -d release ] || mkdir release; \
16124 r=`${PWD_COMMAND}`; export r; \
16125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16126 $(HOST_EXPORTS) \
16127 echo Configuring in release; \
16128 cd release || exit 1; \
16129 case $(srcdir) in \
16130 \.) \
16131 srcdiroption="--srcdir=."; \
16132 libsrcdir=".";; \
16133 /* | [A-Za-z]:[\\/]*) \
16134 srcdiroption="--srcdir=$(srcdir)/release"; \
16135 libsrcdir="$$s/release";; \
16136 *) \
16137 srcdiroption="--srcdir=../$(srcdir)/release"; \
16138 libsrcdir="$$s/release";; \
16139 esac; \
16140 $(SHELL) $${libsrcdir}/configure \
16141 $(HOST_CONFIGARGS) $${srcdiroption} \
16142 || exit 1
16143 @endif release
16145 .PHONY: all-release maybe-all-release
16146 maybe-all-release:
16147 @if release
16148 maybe-all-release: all-release
16149 all-release: configure-release
16150 @r=`${PWD_COMMAND}`; export r; \
16151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16152 $(SET_LIB_PATH) \
16153 $(HOST_EXPORTS) \
16154 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
16155 @endif release
16157 .PHONY: check-release maybe-check-release
16158 maybe-check-release:
16159 @if release
16160 maybe-check-release: check-release
16162 check-release:
16164 @endif release
16166 .PHONY: install-release maybe-install-release
16167 maybe-install-release:
16168 @if release
16169 maybe-install-release: install-release
16171 install-release:
16173 @endif release
16175 # Other targets (info, dvi, etc.)
16177 .PHONY: maybe-info-release info-release
16178 maybe-info-release:
16179 @if release
16180 maybe-info-release: info-release
16182 info-release: \
16183 configure-release
16184 @[ -f ./release/Makefile ] || exit 0; \
16185 r=`${PWD_COMMAND}`; export r; \
16186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16187 $(SET_LIB_PATH) \
16188 $(HOST_EXPORTS) \
16189 for flag in $(EXTRA_HOST_FLAGS) ; do \
16190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16191 done; \
16192 echo "Doing info in release" ; \
16193 (cd release && \
16194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16196 "RANLIB=$${RANLIB}" \
16197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16198 info) \
16199 || exit 1
16201 @endif release
16203 .PHONY: maybe-dvi-release dvi-release
16204 maybe-dvi-release:
16205 @if release
16206 maybe-dvi-release: dvi-release
16208 dvi-release: \
16209 configure-release
16210 @[ -f ./release/Makefile ] || exit 0; \
16211 r=`${PWD_COMMAND}`; export r; \
16212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16213 $(SET_LIB_PATH) \
16214 $(HOST_EXPORTS) \
16215 for flag in $(EXTRA_HOST_FLAGS) ; do \
16216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16217 done; \
16218 echo "Doing dvi in release" ; \
16219 (cd release && \
16220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16222 "RANLIB=$${RANLIB}" \
16223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16224 dvi) \
16225 || exit 1
16227 @endif release
16229 .PHONY: maybe-TAGS-release TAGS-release
16230 maybe-TAGS-release:
16231 @if release
16232 maybe-TAGS-release: TAGS-release
16234 TAGS-release: \
16235 configure-release
16236 @[ -f ./release/Makefile ] || exit 0; \
16237 r=`${PWD_COMMAND}`; export r; \
16238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16239 $(SET_LIB_PATH) \
16240 $(HOST_EXPORTS) \
16241 for flag in $(EXTRA_HOST_FLAGS) ; do \
16242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16243 done; \
16244 echo "Doing TAGS in release" ; \
16245 (cd release && \
16246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16248 "RANLIB=$${RANLIB}" \
16249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16250 TAGS) \
16251 || exit 1
16253 @endif release
16255 .PHONY: maybe-install-info-release install-info-release
16256 maybe-install-info-release:
16257 @if release
16258 maybe-install-info-release: install-info-release
16260 install-info-release: \
16261 configure-release \
16262 info-release
16263 @[ -f ./release/Makefile ] || exit 0; \
16264 r=`${PWD_COMMAND}`; export r; \
16265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16266 $(SET_LIB_PATH) \
16267 $(HOST_EXPORTS) \
16268 for flag in $(EXTRA_HOST_FLAGS) ; do \
16269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16270 done; \
16271 echo "Doing install-info in release" ; \
16272 (cd release && \
16273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16275 "RANLIB=$${RANLIB}" \
16276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16277 install-info) \
16278 || exit 1
16280 @endif release
16282 .PHONY: maybe-installcheck-release installcheck-release
16283 maybe-installcheck-release:
16284 @if release
16285 maybe-installcheck-release: installcheck-release
16287 installcheck-release: \
16288 configure-release
16289 @[ -f ./release/Makefile ] || exit 0; \
16290 r=`${PWD_COMMAND}`; export r; \
16291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16292 $(SET_LIB_PATH) \
16293 $(HOST_EXPORTS) \
16294 for flag in $(EXTRA_HOST_FLAGS) ; do \
16295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16296 done; \
16297 echo "Doing installcheck in release" ; \
16298 (cd release && \
16299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16301 "RANLIB=$${RANLIB}" \
16302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16303 installcheck) \
16304 || exit 1
16306 @endif release
16308 .PHONY: maybe-mostlyclean-release mostlyclean-release
16309 maybe-mostlyclean-release:
16310 @if release
16311 maybe-mostlyclean-release: mostlyclean-release
16313 mostlyclean-release:
16314 @[ -f ./release/Makefile ] || exit 0; \
16315 r=`${PWD_COMMAND}`; export r; \
16316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16317 $(SET_LIB_PATH) \
16318 $(HOST_EXPORTS) \
16319 for flag in $(EXTRA_HOST_FLAGS) ; do \
16320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16321 done; \
16322 echo "Doing mostlyclean in release" ; \
16323 (cd release && \
16324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16326 "RANLIB=$${RANLIB}" \
16327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16328 mostlyclean) \
16329 || exit 1
16331 @endif release
16333 .PHONY: maybe-clean-release clean-release
16334 maybe-clean-release:
16335 @if release
16336 maybe-clean-release: clean-release
16338 clean-release:
16339 @[ -f ./release/Makefile ] || exit 0; \
16340 r=`${PWD_COMMAND}`; export r; \
16341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16342 $(SET_LIB_PATH) \
16343 $(HOST_EXPORTS) \
16344 for flag in $(EXTRA_HOST_FLAGS) ; do \
16345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16346 done; \
16347 echo "Doing clean in release" ; \
16348 (cd release && \
16349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16351 "RANLIB=$${RANLIB}" \
16352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16353 clean) \
16354 || exit 1
16356 @endif release
16358 .PHONY: maybe-distclean-release distclean-release
16359 maybe-distclean-release:
16360 @if release
16361 maybe-distclean-release: distclean-release
16363 distclean-release:
16364 @[ -f ./release/Makefile ] || exit 0; \
16365 r=`${PWD_COMMAND}`; export r; \
16366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16367 $(SET_LIB_PATH) \
16368 $(HOST_EXPORTS) \
16369 for flag in $(EXTRA_HOST_FLAGS) ; do \
16370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16371 done; \
16372 echo "Doing distclean in release" ; \
16373 (cd release && \
16374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16376 "RANLIB=$${RANLIB}" \
16377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16378 distclean) \
16379 || exit 1
16381 @endif release
16383 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16384 maybe-maintainer-clean-release:
16385 @if release
16386 maybe-maintainer-clean-release: maintainer-clean-release
16388 maintainer-clean-release:
16389 @[ -f ./release/Makefile ] || exit 0; \
16390 r=`${PWD_COMMAND}`; export r; \
16391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16392 $(SET_LIB_PATH) \
16393 $(HOST_EXPORTS) \
16394 for flag in $(EXTRA_HOST_FLAGS) ; do \
16395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16396 done; \
16397 echo "Doing maintainer-clean in release" ; \
16398 (cd release && \
16399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16401 "RANLIB=$${RANLIB}" \
16402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16403 maintainer-clean) \
16404 || exit 1
16406 @endif release
16409 .PHONY: configure-recode maybe-configure-recode
16410 maybe-configure-recode:
16411 @if recode
16412 maybe-configure-recode: configure-recode
16413 configure-recode:
16414 @test ! -f recode/Makefile || exit 0; \
16415 [ -d recode ] || mkdir recode; \
16416 r=`${PWD_COMMAND}`; export r; \
16417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16418 $(HOST_EXPORTS) \
16419 echo Configuring in recode; \
16420 cd recode || exit 1; \
16421 case $(srcdir) in \
16422 \.) \
16423 srcdiroption="--srcdir=."; \
16424 libsrcdir=".";; \
16425 /* | [A-Za-z]:[\\/]*) \
16426 srcdiroption="--srcdir=$(srcdir)/recode"; \
16427 libsrcdir="$$s/recode";; \
16428 *) \
16429 srcdiroption="--srcdir=../$(srcdir)/recode"; \
16430 libsrcdir="$$s/recode";; \
16431 esac; \
16432 $(SHELL) $${libsrcdir}/configure \
16433 $(HOST_CONFIGARGS) $${srcdiroption} \
16434 || exit 1
16435 @endif recode
16437 .PHONY: all-recode maybe-all-recode
16438 maybe-all-recode:
16439 @if recode
16440 maybe-all-recode: all-recode
16441 all-recode: configure-recode
16442 @r=`${PWD_COMMAND}`; export r; \
16443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16444 $(SET_LIB_PATH) \
16445 $(HOST_EXPORTS) \
16446 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
16447 @endif recode
16449 .PHONY: check-recode maybe-check-recode
16450 maybe-check-recode:
16451 @if recode
16452 maybe-check-recode: check-recode
16454 check-recode:
16455 @r=`${PWD_COMMAND}`; export r; \
16456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16457 $(SET_LIB_PATH) \
16458 $(HOST_EXPORTS) \
16459 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
16461 @endif recode
16463 .PHONY: install-recode maybe-install-recode
16464 maybe-install-recode:
16465 @if recode
16466 maybe-install-recode: install-recode
16468 install-recode: installdirs
16469 @r=`${PWD_COMMAND}`; export r; \
16470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16471 $(SET_LIB_PATH) \
16472 $(HOST_EXPORTS) \
16473 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
16475 @endif recode
16477 # Other targets (info, dvi, etc.)
16479 .PHONY: maybe-info-recode info-recode
16480 maybe-info-recode:
16481 @if recode
16482 maybe-info-recode: info-recode
16484 info-recode: \
16485 configure-recode
16486 @[ -f ./recode/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 recode" ; \
16495 (cd recode && \
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 recode
16505 .PHONY: maybe-dvi-recode dvi-recode
16506 maybe-dvi-recode:
16507 @if recode
16508 maybe-dvi-recode: dvi-recode
16510 dvi-recode: \
16511 configure-recode
16512 @[ -f ./recode/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 recode" ; \
16521 (cd recode && \
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 recode
16531 .PHONY: maybe-TAGS-recode TAGS-recode
16532 maybe-TAGS-recode:
16533 @if recode
16534 maybe-TAGS-recode: TAGS-recode
16536 TAGS-recode: \
16537 configure-recode
16538 @[ -f ./recode/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 TAGS in recode" ; \
16547 (cd recode && \
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 TAGS) \
16553 || exit 1
16555 @endif recode
16557 .PHONY: maybe-install-info-recode install-info-recode
16558 maybe-install-info-recode:
16559 @if recode
16560 maybe-install-info-recode: install-info-recode
16562 install-info-recode: \
16563 configure-recode \
16564 info-recode
16565 @[ -f ./recode/Makefile ] || exit 0; \
16566 r=`${PWD_COMMAND}`; export r; \
16567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16568 $(SET_LIB_PATH) \
16569 $(HOST_EXPORTS) \
16570 for flag in $(EXTRA_HOST_FLAGS) ; do \
16571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16572 done; \
16573 echo "Doing install-info in recode" ; \
16574 (cd recode && \
16575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16577 "RANLIB=$${RANLIB}" \
16578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16579 install-info) \
16580 || exit 1
16582 @endif recode
16584 .PHONY: maybe-installcheck-recode installcheck-recode
16585 maybe-installcheck-recode:
16586 @if recode
16587 maybe-installcheck-recode: installcheck-recode
16589 installcheck-recode: \
16590 configure-recode
16591 @[ -f ./recode/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 installcheck in recode" ; \
16600 (cd recode && \
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 installcheck) \
16606 || exit 1
16608 @endif recode
16610 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
16611 maybe-mostlyclean-recode:
16612 @if recode
16613 maybe-mostlyclean-recode: mostlyclean-recode
16615 mostlyclean-recode:
16616 @[ -f ./recode/Makefile ] || exit 0; \
16617 r=`${PWD_COMMAND}`; export r; \
16618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16619 $(SET_LIB_PATH) \
16620 $(HOST_EXPORTS) \
16621 for flag in $(EXTRA_HOST_FLAGS) ; do \
16622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16623 done; \
16624 echo "Doing mostlyclean in recode" ; \
16625 (cd recode && \
16626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16628 "RANLIB=$${RANLIB}" \
16629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16630 mostlyclean) \
16631 || exit 1
16633 @endif recode
16635 .PHONY: maybe-clean-recode clean-recode
16636 maybe-clean-recode:
16637 @if recode
16638 maybe-clean-recode: clean-recode
16640 clean-recode:
16641 @[ -f ./recode/Makefile ] || exit 0; \
16642 r=`${PWD_COMMAND}`; export r; \
16643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16644 $(SET_LIB_PATH) \
16645 $(HOST_EXPORTS) \
16646 for flag in $(EXTRA_HOST_FLAGS) ; do \
16647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16648 done; \
16649 echo "Doing clean in recode" ; \
16650 (cd recode && \
16651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16653 "RANLIB=$${RANLIB}" \
16654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16655 clean) \
16656 || exit 1
16658 @endif recode
16660 .PHONY: maybe-distclean-recode distclean-recode
16661 maybe-distclean-recode:
16662 @if recode
16663 maybe-distclean-recode: distclean-recode
16665 distclean-recode:
16666 @[ -f ./recode/Makefile ] || exit 0; \
16667 r=`${PWD_COMMAND}`; export r; \
16668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16669 $(SET_LIB_PATH) \
16670 $(HOST_EXPORTS) \
16671 for flag in $(EXTRA_HOST_FLAGS) ; do \
16672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16673 done; \
16674 echo "Doing distclean in recode" ; \
16675 (cd recode && \
16676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16678 "RANLIB=$${RANLIB}" \
16679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16680 distclean) \
16681 || exit 1
16683 @endif recode
16685 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16686 maybe-maintainer-clean-recode:
16687 @if recode
16688 maybe-maintainer-clean-recode: maintainer-clean-recode
16690 maintainer-clean-recode:
16691 @[ -f ./recode/Makefile ] || exit 0; \
16692 r=`${PWD_COMMAND}`; export r; \
16693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16694 $(SET_LIB_PATH) \
16695 $(HOST_EXPORTS) \
16696 for flag in $(EXTRA_HOST_FLAGS) ; do \
16697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16698 done; \
16699 echo "Doing maintainer-clean in recode" ; \
16700 (cd recode && \
16701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16703 "RANLIB=$${RANLIB}" \
16704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16705 maintainer-clean) \
16706 || exit 1
16708 @endif recode
16711 .PHONY: configure-sed maybe-configure-sed
16712 maybe-configure-sed:
16713 @if sed
16714 maybe-configure-sed: configure-sed
16715 configure-sed:
16716 @test ! -f sed/Makefile || exit 0; \
16717 [ -d sed ] || mkdir sed; \
16718 r=`${PWD_COMMAND}`; export r; \
16719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16720 $(HOST_EXPORTS) \
16721 echo Configuring in sed; \
16722 cd sed || exit 1; \
16723 case $(srcdir) in \
16724 \.) \
16725 srcdiroption="--srcdir=."; \
16726 libsrcdir=".";; \
16727 /* | [A-Za-z]:[\\/]*) \
16728 srcdiroption="--srcdir=$(srcdir)/sed"; \
16729 libsrcdir="$$s/sed";; \
16730 *) \
16731 srcdiroption="--srcdir=../$(srcdir)/sed"; \
16732 libsrcdir="$$s/sed";; \
16733 esac; \
16734 $(SHELL) $${libsrcdir}/configure \
16735 $(HOST_CONFIGARGS) $${srcdiroption} \
16736 || exit 1
16737 @endif sed
16739 .PHONY: all-sed maybe-all-sed
16740 maybe-all-sed:
16741 @if sed
16742 maybe-all-sed: all-sed
16743 all-sed: configure-sed
16744 @r=`${PWD_COMMAND}`; export r; \
16745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16746 $(SET_LIB_PATH) \
16747 $(HOST_EXPORTS) \
16748 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
16749 @endif sed
16751 .PHONY: check-sed maybe-check-sed
16752 maybe-check-sed:
16753 @if sed
16754 maybe-check-sed: check-sed
16756 check-sed:
16757 @r=`${PWD_COMMAND}`; export r; \
16758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16759 $(SET_LIB_PATH) \
16760 $(HOST_EXPORTS) \
16761 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16763 @endif sed
16765 .PHONY: install-sed maybe-install-sed
16766 maybe-install-sed:
16767 @if sed
16768 maybe-install-sed: install-sed
16770 install-sed: installdirs
16771 @r=`${PWD_COMMAND}`; export r; \
16772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16773 $(SET_LIB_PATH) \
16774 $(HOST_EXPORTS) \
16775 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16777 @endif sed
16779 # Other targets (info, dvi, etc.)
16781 .PHONY: maybe-info-sed info-sed
16782 maybe-info-sed:
16783 @if sed
16784 maybe-info-sed: info-sed
16786 info-sed: \
16787 configure-sed
16788 @[ -f ./sed/Makefile ] || exit 0; \
16789 r=`${PWD_COMMAND}`; export r; \
16790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16791 $(SET_LIB_PATH) \
16792 $(HOST_EXPORTS) \
16793 for flag in $(EXTRA_HOST_FLAGS) ; do \
16794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16795 done; \
16796 echo "Doing info in sed" ; \
16797 (cd sed && \
16798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16800 "RANLIB=$${RANLIB}" \
16801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16802 info) \
16803 || exit 1
16805 @endif sed
16807 .PHONY: maybe-dvi-sed dvi-sed
16808 maybe-dvi-sed:
16809 @if sed
16810 maybe-dvi-sed: dvi-sed
16812 dvi-sed: \
16813 configure-sed
16814 @[ -f ./sed/Makefile ] || exit 0; \
16815 r=`${PWD_COMMAND}`; export r; \
16816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16817 $(SET_LIB_PATH) \
16818 $(HOST_EXPORTS) \
16819 for flag in $(EXTRA_HOST_FLAGS) ; do \
16820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16821 done; \
16822 echo "Doing dvi in sed" ; \
16823 (cd sed && \
16824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16826 "RANLIB=$${RANLIB}" \
16827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16828 dvi) \
16829 || exit 1
16831 @endif sed
16833 .PHONY: maybe-TAGS-sed TAGS-sed
16834 maybe-TAGS-sed:
16835 @if sed
16836 maybe-TAGS-sed: TAGS-sed
16838 TAGS-sed: \
16839 configure-sed
16840 @[ -f ./sed/Makefile ] || exit 0; \
16841 r=`${PWD_COMMAND}`; export r; \
16842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16843 $(SET_LIB_PATH) \
16844 $(HOST_EXPORTS) \
16845 for flag in $(EXTRA_HOST_FLAGS) ; do \
16846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16847 done; \
16848 echo "Doing TAGS in sed" ; \
16849 (cd sed && \
16850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16852 "RANLIB=$${RANLIB}" \
16853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16854 TAGS) \
16855 || exit 1
16857 @endif sed
16859 .PHONY: maybe-install-info-sed install-info-sed
16860 maybe-install-info-sed:
16861 @if sed
16862 maybe-install-info-sed: install-info-sed
16864 install-info-sed: \
16865 configure-sed \
16866 info-sed
16867 @[ -f ./sed/Makefile ] || exit 0; \
16868 r=`${PWD_COMMAND}`; export r; \
16869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16870 $(SET_LIB_PATH) \
16871 $(HOST_EXPORTS) \
16872 for flag in $(EXTRA_HOST_FLAGS) ; do \
16873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16874 done; \
16875 echo "Doing install-info in sed" ; \
16876 (cd sed && \
16877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16879 "RANLIB=$${RANLIB}" \
16880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16881 install-info) \
16882 || exit 1
16884 @endif sed
16886 .PHONY: maybe-installcheck-sed installcheck-sed
16887 maybe-installcheck-sed:
16888 @if sed
16889 maybe-installcheck-sed: installcheck-sed
16891 installcheck-sed: \
16892 configure-sed
16893 @[ -f ./sed/Makefile ] || exit 0; \
16894 r=`${PWD_COMMAND}`; export r; \
16895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16896 $(SET_LIB_PATH) \
16897 $(HOST_EXPORTS) \
16898 for flag in $(EXTRA_HOST_FLAGS) ; do \
16899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16900 done; \
16901 echo "Doing installcheck in sed" ; \
16902 (cd sed && \
16903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16905 "RANLIB=$${RANLIB}" \
16906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16907 installcheck) \
16908 || exit 1
16910 @endif sed
16912 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16913 maybe-mostlyclean-sed:
16914 @if sed
16915 maybe-mostlyclean-sed: mostlyclean-sed
16917 mostlyclean-sed:
16918 @[ -f ./sed/Makefile ] || exit 0; \
16919 r=`${PWD_COMMAND}`; export r; \
16920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16921 $(SET_LIB_PATH) \
16922 $(HOST_EXPORTS) \
16923 for flag in $(EXTRA_HOST_FLAGS) ; do \
16924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16925 done; \
16926 echo "Doing mostlyclean in sed" ; \
16927 (cd sed && \
16928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16930 "RANLIB=$${RANLIB}" \
16931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16932 mostlyclean) \
16933 || exit 1
16935 @endif sed
16937 .PHONY: maybe-clean-sed clean-sed
16938 maybe-clean-sed:
16939 @if sed
16940 maybe-clean-sed: clean-sed
16942 clean-sed:
16943 @[ -f ./sed/Makefile ] || exit 0; \
16944 r=`${PWD_COMMAND}`; export r; \
16945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16946 $(SET_LIB_PATH) \
16947 $(HOST_EXPORTS) \
16948 for flag in $(EXTRA_HOST_FLAGS) ; do \
16949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16950 done; \
16951 echo "Doing clean in sed" ; \
16952 (cd sed && \
16953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16955 "RANLIB=$${RANLIB}" \
16956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16957 clean) \
16958 || exit 1
16960 @endif sed
16962 .PHONY: maybe-distclean-sed distclean-sed
16963 maybe-distclean-sed:
16964 @if sed
16965 maybe-distclean-sed: distclean-sed
16967 distclean-sed:
16968 @[ -f ./sed/Makefile ] || exit 0; \
16969 r=`${PWD_COMMAND}`; export r; \
16970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16971 $(SET_LIB_PATH) \
16972 $(HOST_EXPORTS) \
16973 for flag in $(EXTRA_HOST_FLAGS) ; do \
16974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16975 done; \
16976 echo "Doing distclean in sed" ; \
16977 (cd sed && \
16978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16980 "RANLIB=$${RANLIB}" \
16981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16982 distclean) \
16983 || exit 1
16985 @endif sed
16987 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16988 maybe-maintainer-clean-sed:
16989 @if sed
16990 maybe-maintainer-clean-sed: maintainer-clean-sed
16992 maintainer-clean-sed:
16993 @[ -f ./sed/Makefile ] || exit 0; \
16994 r=`${PWD_COMMAND}`; export r; \
16995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16996 $(SET_LIB_PATH) \
16997 $(HOST_EXPORTS) \
16998 for flag in $(EXTRA_HOST_FLAGS) ; do \
16999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17000 done; \
17001 echo "Doing maintainer-clean in sed" ; \
17002 (cd sed && \
17003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17005 "RANLIB=$${RANLIB}" \
17006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17007 maintainer-clean) \
17008 || exit 1
17010 @endif sed
17013 .PHONY: configure-send-pr maybe-configure-send-pr
17014 maybe-configure-send-pr:
17015 @if send-pr
17016 maybe-configure-send-pr: configure-send-pr
17017 configure-send-pr:
17018 @test ! -f send-pr/Makefile || exit 0; \
17019 [ -d send-pr ] || mkdir send-pr; \
17020 r=`${PWD_COMMAND}`; export r; \
17021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17022 $(HOST_EXPORTS) \
17023 echo Configuring in send-pr; \
17024 cd send-pr || exit 1; \
17025 case $(srcdir) in \
17026 \.) \
17027 srcdiroption="--srcdir=."; \
17028 libsrcdir=".";; \
17029 /* | [A-Za-z]:[\\/]*) \
17030 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
17031 libsrcdir="$$s/send-pr";; \
17032 *) \
17033 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
17034 libsrcdir="$$s/send-pr";; \
17035 esac; \
17036 $(SHELL) $${libsrcdir}/configure \
17037 $(HOST_CONFIGARGS) $${srcdiroption} \
17038 || exit 1
17039 @endif send-pr
17041 .PHONY: all-send-pr maybe-all-send-pr
17042 maybe-all-send-pr:
17043 @if send-pr
17044 maybe-all-send-pr: all-send-pr
17045 all-send-pr: configure-send-pr
17046 @r=`${PWD_COMMAND}`; export r; \
17047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17048 $(SET_LIB_PATH) \
17049 $(HOST_EXPORTS) \
17050 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
17051 @endif send-pr
17053 .PHONY: check-send-pr maybe-check-send-pr
17054 maybe-check-send-pr:
17055 @if send-pr
17056 maybe-check-send-pr: check-send-pr
17058 check-send-pr:
17059 @r=`${PWD_COMMAND}`; export r; \
17060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17061 $(SET_LIB_PATH) \
17062 $(HOST_EXPORTS) \
17063 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
17065 @endif send-pr
17067 .PHONY: install-send-pr maybe-install-send-pr
17068 maybe-install-send-pr:
17069 @if send-pr
17070 maybe-install-send-pr: install-send-pr
17072 install-send-pr: installdirs
17073 @r=`${PWD_COMMAND}`; export r; \
17074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17075 $(SET_LIB_PATH) \
17076 $(HOST_EXPORTS) \
17077 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
17079 @endif send-pr
17081 # Other targets (info, dvi, etc.)
17083 .PHONY: maybe-info-send-pr info-send-pr
17084 maybe-info-send-pr:
17085 @if send-pr
17086 maybe-info-send-pr: info-send-pr
17088 info-send-pr: \
17089 configure-send-pr
17090 @[ -f ./send-pr/Makefile ] || exit 0; \
17091 r=`${PWD_COMMAND}`; export r; \
17092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17093 $(SET_LIB_PATH) \
17094 $(HOST_EXPORTS) \
17095 for flag in $(EXTRA_HOST_FLAGS) ; do \
17096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17097 done; \
17098 echo "Doing info in send-pr" ; \
17099 (cd send-pr && \
17100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17102 "RANLIB=$${RANLIB}" \
17103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17104 info) \
17105 || exit 1
17107 @endif send-pr
17109 .PHONY: maybe-dvi-send-pr dvi-send-pr
17110 maybe-dvi-send-pr:
17111 @if send-pr
17112 maybe-dvi-send-pr: dvi-send-pr
17114 dvi-send-pr: \
17115 configure-send-pr
17116 @[ -f ./send-pr/Makefile ] || exit 0; \
17117 r=`${PWD_COMMAND}`; export r; \
17118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17119 $(SET_LIB_PATH) \
17120 $(HOST_EXPORTS) \
17121 for flag in $(EXTRA_HOST_FLAGS) ; do \
17122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17123 done; \
17124 echo "Doing dvi in send-pr" ; \
17125 (cd send-pr && \
17126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17128 "RANLIB=$${RANLIB}" \
17129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17130 dvi) \
17131 || exit 1
17133 @endif send-pr
17135 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
17136 maybe-TAGS-send-pr:
17137 @if send-pr
17138 maybe-TAGS-send-pr: TAGS-send-pr
17140 TAGS-send-pr: \
17141 configure-send-pr
17142 @[ -f ./send-pr/Makefile ] || exit 0; \
17143 r=`${PWD_COMMAND}`; export r; \
17144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17145 $(SET_LIB_PATH) \
17146 $(HOST_EXPORTS) \
17147 for flag in $(EXTRA_HOST_FLAGS) ; do \
17148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17149 done; \
17150 echo "Doing TAGS in send-pr" ; \
17151 (cd send-pr && \
17152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17154 "RANLIB=$${RANLIB}" \
17155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17156 TAGS) \
17157 || exit 1
17159 @endif send-pr
17161 .PHONY: maybe-install-info-send-pr install-info-send-pr
17162 maybe-install-info-send-pr:
17163 @if send-pr
17164 maybe-install-info-send-pr: install-info-send-pr
17166 install-info-send-pr: \
17167 configure-send-pr \
17168 info-send-pr
17169 @[ -f ./send-pr/Makefile ] || exit 0; \
17170 r=`${PWD_COMMAND}`; export r; \
17171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17172 $(SET_LIB_PATH) \
17173 $(HOST_EXPORTS) \
17174 for flag in $(EXTRA_HOST_FLAGS) ; do \
17175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17176 done; \
17177 echo "Doing install-info in send-pr" ; \
17178 (cd send-pr && \
17179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17181 "RANLIB=$${RANLIB}" \
17182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17183 install-info) \
17184 || exit 1
17186 @endif send-pr
17188 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
17189 maybe-installcheck-send-pr:
17190 @if send-pr
17191 maybe-installcheck-send-pr: installcheck-send-pr
17193 installcheck-send-pr: \
17194 configure-send-pr
17195 @[ -f ./send-pr/Makefile ] || exit 0; \
17196 r=`${PWD_COMMAND}`; export r; \
17197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17198 $(SET_LIB_PATH) \
17199 $(HOST_EXPORTS) \
17200 for flag in $(EXTRA_HOST_FLAGS) ; do \
17201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17202 done; \
17203 echo "Doing installcheck in send-pr" ; \
17204 (cd send-pr && \
17205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17207 "RANLIB=$${RANLIB}" \
17208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17209 installcheck) \
17210 || exit 1
17212 @endif send-pr
17214 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
17215 maybe-mostlyclean-send-pr:
17216 @if send-pr
17217 maybe-mostlyclean-send-pr: mostlyclean-send-pr
17219 mostlyclean-send-pr:
17220 @[ -f ./send-pr/Makefile ] || exit 0; \
17221 r=`${PWD_COMMAND}`; export r; \
17222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17223 $(SET_LIB_PATH) \
17224 $(HOST_EXPORTS) \
17225 for flag in $(EXTRA_HOST_FLAGS) ; do \
17226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17227 done; \
17228 echo "Doing mostlyclean in send-pr" ; \
17229 (cd send-pr && \
17230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17232 "RANLIB=$${RANLIB}" \
17233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17234 mostlyclean) \
17235 || exit 1
17237 @endif send-pr
17239 .PHONY: maybe-clean-send-pr clean-send-pr
17240 maybe-clean-send-pr:
17241 @if send-pr
17242 maybe-clean-send-pr: clean-send-pr
17244 clean-send-pr:
17245 @[ -f ./send-pr/Makefile ] || exit 0; \
17246 r=`${PWD_COMMAND}`; export r; \
17247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17248 $(SET_LIB_PATH) \
17249 $(HOST_EXPORTS) \
17250 for flag in $(EXTRA_HOST_FLAGS) ; do \
17251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17252 done; \
17253 echo "Doing clean in send-pr" ; \
17254 (cd send-pr && \
17255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17257 "RANLIB=$${RANLIB}" \
17258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17259 clean) \
17260 || exit 1
17262 @endif send-pr
17264 .PHONY: maybe-distclean-send-pr distclean-send-pr
17265 maybe-distclean-send-pr:
17266 @if send-pr
17267 maybe-distclean-send-pr: distclean-send-pr
17269 distclean-send-pr:
17270 @[ -f ./send-pr/Makefile ] || exit 0; \
17271 r=`${PWD_COMMAND}`; export r; \
17272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17273 $(SET_LIB_PATH) \
17274 $(HOST_EXPORTS) \
17275 for flag in $(EXTRA_HOST_FLAGS) ; do \
17276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17277 done; \
17278 echo "Doing distclean in send-pr" ; \
17279 (cd send-pr && \
17280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17282 "RANLIB=$${RANLIB}" \
17283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17284 distclean) \
17285 || exit 1
17287 @endif send-pr
17289 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
17290 maybe-maintainer-clean-send-pr:
17291 @if send-pr
17292 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
17294 maintainer-clean-send-pr:
17295 @[ -f ./send-pr/Makefile ] || exit 0; \
17296 r=`${PWD_COMMAND}`; export r; \
17297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17298 $(SET_LIB_PATH) \
17299 $(HOST_EXPORTS) \
17300 for flag in $(EXTRA_HOST_FLAGS) ; do \
17301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17302 done; \
17303 echo "Doing maintainer-clean in send-pr" ; \
17304 (cd send-pr && \
17305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17307 "RANLIB=$${RANLIB}" \
17308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17309 maintainer-clean) \
17310 || exit 1
17312 @endif send-pr
17315 .PHONY: configure-shellutils maybe-configure-shellutils
17316 maybe-configure-shellutils:
17317 @if shellutils
17318 maybe-configure-shellutils: configure-shellutils
17319 configure-shellutils:
17320 @test ! -f shellutils/Makefile || exit 0; \
17321 [ -d shellutils ] || mkdir shellutils; \
17322 r=`${PWD_COMMAND}`; export r; \
17323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17324 $(HOST_EXPORTS) \
17325 echo Configuring in shellutils; \
17326 cd shellutils || exit 1; \
17327 case $(srcdir) in \
17328 \.) \
17329 srcdiroption="--srcdir=."; \
17330 libsrcdir=".";; \
17331 /* | [A-Za-z]:[\\/]*) \
17332 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
17333 libsrcdir="$$s/shellutils";; \
17334 *) \
17335 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
17336 libsrcdir="$$s/shellutils";; \
17337 esac; \
17338 $(SHELL) $${libsrcdir}/configure \
17339 $(HOST_CONFIGARGS) $${srcdiroption} \
17340 || exit 1
17341 @endif shellutils
17343 .PHONY: all-shellutils maybe-all-shellutils
17344 maybe-all-shellutils:
17345 @if shellutils
17346 maybe-all-shellutils: all-shellutils
17347 all-shellutils: configure-shellutils
17348 @r=`${PWD_COMMAND}`; export r; \
17349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17350 $(SET_LIB_PATH) \
17351 $(HOST_EXPORTS) \
17352 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
17353 @endif shellutils
17355 .PHONY: check-shellutils maybe-check-shellutils
17356 maybe-check-shellutils:
17357 @if shellutils
17358 maybe-check-shellutils: check-shellutils
17360 check-shellutils:
17361 @r=`${PWD_COMMAND}`; export r; \
17362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17363 $(SET_LIB_PATH) \
17364 $(HOST_EXPORTS) \
17365 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
17367 @endif shellutils
17369 .PHONY: install-shellutils maybe-install-shellutils
17370 maybe-install-shellutils:
17371 @if shellutils
17372 maybe-install-shellutils: install-shellutils
17374 install-shellutils: installdirs
17375 @r=`${PWD_COMMAND}`; export r; \
17376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17377 $(SET_LIB_PATH) \
17378 $(HOST_EXPORTS) \
17379 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
17381 @endif shellutils
17383 # Other targets (info, dvi, etc.)
17385 .PHONY: maybe-info-shellutils info-shellutils
17386 maybe-info-shellutils:
17387 @if shellutils
17388 maybe-info-shellutils: info-shellutils
17390 info-shellutils: \
17391 configure-shellutils
17392 @[ -f ./shellutils/Makefile ] || exit 0; \
17393 r=`${PWD_COMMAND}`; export r; \
17394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17395 $(SET_LIB_PATH) \
17396 $(HOST_EXPORTS) \
17397 for flag in $(EXTRA_HOST_FLAGS) ; do \
17398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17399 done; \
17400 echo "Doing info in shellutils" ; \
17401 (cd shellutils && \
17402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17404 "RANLIB=$${RANLIB}" \
17405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17406 info) \
17407 || exit 1
17409 @endif shellutils
17411 .PHONY: maybe-dvi-shellutils dvi-shellutils
17412 maybe-dvi-shellutils:
17413 @if shellutils
17414 maybe-dvi-shellutils: dvi-shellutils
17416 dvi-shellutils: \
17417 configure-shellutils
17418 @[ -f ./shellutils/Makefile ] || exit 0; \
17419 r=`${PWD_COMMAND}`; export r; \
17420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17421 $(SET_LIB_PATH) \
17422 $(HOST_EXPORTS) \
17423 for flag in $(EXTRA_HOST_FLAGS) ; do \
17424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17425 done; \
17426 echo "Doing dvi in shellutils" ; \
17427 (cd shellutils && \
17428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17430 "RANLIB=$${RANLIB}" \
17431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17432 dvi) \
17433 || exit 1
17435 @endif shellutils
17437 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17438 maybe-TAGS-shellutils:
17439 @if shellutils
17440 maybe-TAGS-shellutils: TAGS-shellutils
17442 TAGS-shellutils: \
17443 configure-shellutils
17444 @[ -f ./shellutils/Makefile ] || exit 0; \
17445 r=`${PWD_COMMAND}`; export r; \
17446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17447 $(SET_LIB_PATH) \
17448 $(HOST_EXPORTS) \
17449 for flag in $(EXTRA_HOST_FLAGS) ; do \
17450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17451 done; \
17452 echo "Doing TAGS in shellutils" ; \
17453 (cd shellutils && \
17454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17456 "RANLIB=$${RANLIB}" \
17457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17458 TAGS) \
17459 || exit 1
17461 @endif shellutils
17463 .PHONY: maybe-install-info-shellutils install-info-shellutils
17464 maybe-install-info-shellutils:
17465 @if shellutils
17466 maybe-install-info-shellutils: install-info-shellutils
17468 install-info-shellutils: \
17469 configure-shellutils \
17470 info-shellutils
17471 @[ -f ./shellutils/Makefile ] || exit 0; \
17472 r=`${PWD_COMMAND}`; export r; \
17473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17474 $(SET_LIB_PATH) \
17475 $(HOST_EXPORTS) \
17476 for flag in $(EXTRA_HOST_FLAGS) ; do \
17477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17478 done; \
17479 echo "Doing install-info in shellutils" ; \
17480 (cd shellutils && \
17481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17483 "RANLIB=$${RANLIB}" \
17484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17485 install-info) \
17486 || exit 1
17488 @endif shellutils
17490 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
17491 maybe-installcheck-shellutils:
17492 @if shellutils
17493 maybe-installcheck-shellutils: installcheck-shellutils
17495 installcheck-shellutils: \
17496 configure-shellutils
17497 @[ -f ./shellutils/Makefile ] || exit 0; \
17498 r=`${PWD_COMMAND}`; export r; \
17499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17500 $(SET_LIB_PATH) \
17501 $(HOST_EXPORTS) \
17502 for flag in $(EXTRA_HOST_FLAGS) ; do \
17503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17504 done; \
17505 echo "Doing installcheck in shellutils" ; \
17506 (cd shellutils && \
17507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17509 "RANLIB=$${RANLIB}" \
17510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17511 installcheck) \
17512 || exit 1
17514 @endif shellutils
17516 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
17517 maybe-mostlyclean-shellutils:
17518 @if shellutils
17519 maybe-mostlyclean-shellutils: mostlyclean-shellutils
17521 mostlyclean-shellutils:
17522 @[ -f ./shellutils/Makefile ] || exit 0; \
17523 r=`${PWD_COMMAND}`; export r; \
17524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17525 $(SET_LIB_PATH) \
17526 $(HOST_EXPORTS) \
17527 for flag in $(EXTRA_HOST_FLAGS) ; do \
17528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17529 done; \
17530 echo "Doing mostlyclean in shellutils" ; \
17531 (cd shellutils && \
17532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17534 "RANLIB=$${RANLIB}" \
17535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17536 mostlyclean) \
17537 || exit 1
17539 @endif shellutils
17541 .PHONY: maybe-clean-shellutils clean-shellutils
17542 maybe-clean-shellutils:
17543 @if shellutils
17544 maybe-clean-shellutils: clean-shellutils
17546 clean-shellutils:
17547 @[ -f ./shellutils/Makefile ] || exit 0; \
17548 r=`${PWD_COMMAND}`; export r; \
17549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17550 $(SET_LIB_PATH) \
17551 $(HOST_EXPORTS) \
17552 for flag in $(EXTRA_HOST_FLAGS) ; do \
17553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17554 done; \
17555 echo "Doing clean in shellutils" ; \
17556 (cd shellutils && \
17557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17559 "RANLIB=$${RANLIB}" \
17560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17561 clean) \
17562 || exit 1
17564 @endif shellutils
17566 .PHONY: maybe-distclean-shellutils distclean-shellutils
17567 maybe-distclean-shellutils:
17568 @if shellutils
17569 maybe-distclean-shellutils: distclean-shellutils
17571 distclean-shellutils:
17572 @[ -f ./shellutils/Makefile ] || exit 0; \
17573 r=`${PWD_COMMAND}`; export r; \
17574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17575 $(SET_LIB_PATH) \
17576 $(HOST_EXPORTS) \
17577 for flag in $(EXTRA_HOST_FLAGS) ; do \
17578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17579 done; \
17580 echo "Doing distclean in shellutils" ; \
17581 (cd shellutils && \
17582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17584 "RANLIB=$${RANLIB}" \
17585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17586 distclean) \
17587 || exit 1
17589 @endif shellutils
17591 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
17592 maybe-maintainer-clean-shellutils:
17593 @if shellutils
17594 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
17596 maintainer-clean-shellutils:
17597 @[ -f ./shellutils/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 maintainer-clean in shellutils" ; \
17606 (cd shellutils && \
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 maintainer-clean) \
17612 || exit 1
17614 @endif shellutils
17617 .PHONY: configure-sid maybe-configure-sid
17618 maybe-configure-sid:
17619 @if sid
17620 maybe-configure-sid: configure-sid
17621 configure-sid:
17622 @test ! -f sid/Makefile || exit 0; \
17623 [ -d sid ] || mkdir sid; \
17624 r=`${PWD_COMMAND}`; export r; \
17625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17626 $(HOST_EXPORTS) \
17627 echo Configuring in sid; \
17628 cd sid || exit 1; \
17629 case $(srcdir) in \
17630 \.) \
17631 srcdiroption="--srcdir=."; \
17632 libsrcdir=".";; \
17633 /* | [A-Za-z]:[\\/]*) \
17634 srcdiroption="--srcdir=$(srcdir)/sid"; \
17635 libsrcdir="$$s/sid";; \
17636 *) \
17637 srcdiroption="--srcdir=../$(srcdir)/sid"; \
17638 libsrcdir="$$s/sid";; \
17639 esac; \
17640 $(SHELL) $${libsrcdir}/configure \
17641 $(HOST_CONFIGARGS) $${srcdiroption} \
17642 || exit 1
17643 @endif sid
17645 .PHONY: all-sid maybe-all-sid
17646 maybe-all-sid:
17647 @if sid
17648 maybe-all-sid: all-sid
17649 all-sid: configure-sid
17650 @r=`${PWD_COMMAND}`; export r; \
17651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17652 $(SET_LIB_PATH) \
17653 $(HOST_EXPORTS) \
17654 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
17655 @endif sid
17657 .PHONY: check-sid maybe-check-sid
17658 maybe-check-sid:
17659 @if sid
17660 maybe-check-sid: check-sid
17662 check-sid:
17663 @r=`${PWD_COMMAND}`; export r; \
17664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17665 $(SET_LIB_PATH) \
17666 $(HOST_EXPORTS) \
17667 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
17669 @endif sid
17671 .PHONY: install-sid maybe-install-sid
17672 maybe-install-sid:
17673 @if sid
17674 maybe-install-sid: install-sid
17676 install-sid: installdirs
17677 @r=`${PWD_COMMAND}`; export r; \
17678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17679 $(SET_LIB_PATH) \
17680 $(HOST_EXPORTS) \
17681 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17683 @endif sid
17685 # Other targets (info, dvi, etc.)
17687 .PHONY: maybe-info-sid info-sid
17688 maybe-info-sid:
17689 @if sid
17690 maybe-info-sid: info-sid
17692 info-sid: \
17693 configure-sid
17694 @[ -f ./sid/Makefile ] || exit 0; \
17695 r=`${PWD_COMMAND}`; export r; \
17696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17697 $(SET_LIB_PATH) \
17698 $(HOST_EXPORTS) \
17699 for flag in $(EXTRA_HOST_FLAGS) ; do \
17700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17701 done; \
17702 echo "Doing info in sid" ; \
17703 (cd sid && \
17704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17706 "RANLIB=$${RANLIB}" \
17707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17708 info) \
17709 || exit 1
17711 @endif sid
17713 .PHONY: maybe-dvi-sid dvi-sid
17714 maybe-dvi-sid:
17715 @if sid
17716 maybe-dvi-sid: dvi-sid
17718 dvi-sid: \
17719 configure-sid
17720 @[ -f ./sid/Makefile ] || exit 0; \
17721 r=`${PWD_COMMAND}`; export r; \
17722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17723 $(SET_LIB_PATH) \
17724 $(HOST_EXPORTS) \
17725 for flag in $(EXTRA_HOST_FLAGS) ; do \
17726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17727 done; \
17728 echo "Doing dvi in sid" ; \
17729 (cd sid && \
17730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17732 "RANLIB=$${RANLIB}" \
17733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17734 dvi) \
17735 || exit 1
17737 @endif sid
17739 .PHONY: maybe-TAGS-sid TAGS-sid
17740 maybe-TAGS-sid:
17741 @if sid
17742 maybe-TAGS-sid: TAGS-sid
17744 TAGS-sid: \
17745 configure-sid
17746 @[ -f ./sid/Makefile ] || exit 0; \
17747 r=`${PWD_COMMAND}`; export r; \
17748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17749 $(SET_LIB_PATH) \
17750 $(HOST_EXPORTS) \
17751 for flag in $(EXTRA_HOST_FLAGS) ; do \
17752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17753 done; \
17754 echo "Doing TAGS in sid" ; \
17755 (cd sid && \
17756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17758 "RANLIB=$${RANLIB}" \
17759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17760 TAGS) \
17761 || exit 1
17763 @endif sid
17765 .PHONY: maybe-install-info-sid install-info-sid
17766 maybe-install-info-sid:
17767 @if sid
17768 maybe-install-info-sid: install-info-sid
17770 install-info-sid: \
17771 configure-sid \
17772 info-sid
17773 @[ -f ./sid/Makefile ] || exit 0; \
17774 r=`${PWD_COMMAND}`; export r; \
17775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17776 $(SET_LIB_PATH) \
17777 $(HOST_EXPORTS) \
17778 for flag in $(EXTRA_HOST_FLAGS) ; do \
17779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17780 done; \
17781 echo "Doing install-info in sid" ; \
17782 (cd sid && \
17783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17785 "RANLIB=$${RANLIB}" \
17786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17787 install-info) \
17788 || exit 1
17790 @endif sid
17792 .PHONY: maybe-installcheck-sid installcheck-sid
17793 maybe-installcheck-sid:
17794 @if sid
17795 maybe-installcheck-sid: installcheck-sid
17797 installcheck-sid: \
17798 configure-sid
17799 @[ -f ./sid/Makefile ] || exit 0; \
17800 r=`${PWD_COMMAND}`; export r; \
17801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17802 $(SET_LIB_PATH) \
17803 $(HOST_EXPORTS) \
17804 for flag in $(EXTRA_HOST_FLAGS) ; do \
17805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17806 done; \
17807 echo "Doing installcheck in sid" ; \
17808 (cd sid && \
17809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17811 "RANLIB=$${RANLIB}" \
17812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17813 installcheck) \
17814 || exit 1
17816 @endif sid
17818 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17819 maybe-mostlyclean-sid:
17820 @if sid
17821 maybe-mostlyclean-sid: mostlyclean-sid
17823 mostlyclean-sid:
17824 @[ -f ./sid/Makefile ] || exit 0; \
17825 r=`${PWD_COMMAND}`; export r; \
17826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17827 $(SET_LIB_PATH) \
17828 $(HOST_EXPORTS) \
17829 for flag in $(EXTRA_HOST_FLAGS) ; do \
17830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17831 done; \
17832 echo "Doing mostlyclean in sid" ; \
17833 (cd sid && \
17834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17836 "RANLIB=$${RANLIB}" \
17837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17838 mostlyclean) \
17839 || exit 1
17841 @endif sid
17843 .PHONY: maybe-clean-sid clean-sid
17844 maybe-clean-sid:
17845 @if sid
17846 maybe-clean-sid: clean-sid
17848 clean-sid:
17849 @[ -f ./sid/Makefile ] || exit 0; \
17850 r=`${PWD_COMMAND}`; export r; \
17851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17852 $(SET_LIB_PATH) \
17853 $(HOST_EXPORTS) \
17854 for flag in $(EXTRA_HOST_FLAGS) ; do \
17855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17856 done; \
17857 echo "Doing clean in sid" ; \
17858 (cd sid && \
17859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17861 "RANLIB=$${RANLIB}" \
17862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17863 clean) \
17864 || exit 1
17866 @endif sid
17868 .PHONY: maybe-distclean-sid distclean-sid
17869 maybe-distclean-sid:
17870 @if sid
17871 maybe-distclean-sid: distclean-sid
17873 distclean-sid:
17874 @[ -f ./sid/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 distclean in sid" ; \
17883 (cd sid && \
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 distclean) \
17889 || exit 1
17891 @endif sid
17893 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17894 maybe-maintainer-clean-sid:
17895 @if sid
17896 maybe-maintainer-clean-sid: maintainer-clean-sid
17898 maintainer-clean-sid:
17899 @[ -f ./sid/Makefile ] || exit 0; \
17900 r=`${PWD_COMMAND}`; export r; \
17901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17902 $(SET_LIB_PATH) \
17903 $(HOST_EXPORTS) \
17904 for flag in $(EXTRA_HOST_FLAGS) ; do \
17905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17906 done; \
17907 echo "Doing maintainer-clean in sid" ; \
17908 (cd sid && \
17909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17911 "RANLIB=$${RANLIB}" \
17912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17913 maintainer-clean) \
17914 || exit 1
17916 @endif sid
17919 .PHONY: configure-sim maybe-configure-sim
17920 maybe-configure-sim:
17921 @if sim
17922 maybe-configure-sim: configure-sim
17923 configure-sim:
17924 @test ! -f sim/Makefile || exit 0; \
17925 [ -d sim ] || mkdir sim; \
17926 r=`${PWD_COMMAND}`; export r; \
17927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17928 $(HOST_EXPORTS) \
17929 echo Configuring in sim; \
17930 cd sim || exit 1; \
17931 case $(srcdir) in \
17932 \.) \
17933 srcdiroption="--srcdir=."; \
17934 libsrcdir=".";; \
17935 /* | [A-Za-z]:[\\/]*) \
17936 srcdiroption="--srcdir=$(srcdir)/sim"; \
17937 libsrcdir="$$s/sim";; \
17938 *) \
17939 srcdiroption="--srcdir=../$(srcdir)/sim"; \
17940 libsrcdir="$$s/sim";; \
17941 esac; \
17942 $(SHELL) $${libsrcdir}/configure \
17943 $(HOST_CONFIGARGS) $${srcdiroption} \
17944 || exit 1
17945 @endif sim
17947 .PHONY: all-sim maybe-all-sim
17948 maybe-all-sim:
17949 @if sim
17950 maybe-all-sim: all-sim
17951 all-sim: configure-sim
17952 @r=`${PWD_COMMAND}`; export r; \
17953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17954 $(SET_LIB_PATH) \
17955 $(HOST_EXPORTS) \
17956 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
17957 @endif sim
17959 .PHONY: check-sim maybe-check-sim
17960 maybe-check-sim:
17961 @if sim
17962 maybe-check-sim: check-sim
17964 check-sim:
17965 @r=`${PWD_COMMAND}`; export r; \
17966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17967 $(SET_LIB_PATH) \
17968 $(HOST_EXPORTS) \
17969 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17971 @endif sim
17973 .PHONY: install-sim maybe-install-sim
17974 maybe-install-sim:
17975 @if sim
17976 maybe-install-sim: install-sim
17978 install-sim: installdirs
17979 @r=`${PWD_COMMAND}`; export r; \
17980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17981 $(SET_LIB_PATH) \
17982 $(HOST_EXPORTS) \
17983 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17985 @endif sim
17987 # Other targets (info, dvi, etc.)
17989 .PHONY: maybe-info-sim info-sim
17990 maybe-info-sim:
17991 @if sim
17992 maybe-info-sim: info-sim
17994 info-sim: \
17995 configure-sim
17996 @[ -f ./sim/Makefile ] || exit 0; \
17997 r=`${PWD_COMMAND}`; export r; \
17998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17999 $(SET_LIB_PATH) \
18000 $(HOST_EXPORTS) \
18001 for flag in $(EXTRA_HOST_FLAGS) ; do \
18002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18003 done; \
18004 echo "Doing info in sim" ; \
18005 (cd sim && \
18006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18008 "RANLIB=$${RANLIB}" \
18009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18010 info) \
18011 || exit 1
18013 @endif sim
18015 .PHONY: maybe-dvi-sim dvi-sim
18016 maybe-dvi-sim:
18017 @if sim
18018 maybe-dvi-sim: dvi-sim
18020 dvi-sim: \
18021 configure-sim
18022 @[ -f ./sim/Makefile ] || exit 0; \
18023 r=`${PWD_COMMAND}`; export r; \
18024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18025 $(SET_LIB_PATH) \
18026 $(HOST_EXPORTS) \
18027 for flag in $(EXTRA_HOST_FLAGS) ; do \
18028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18029 done; \
18030 echo "Doing dvi in sim" ; \
18031 (cd sim && \
18032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18034 "RANLIB=$${RANLIB}" \
18035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18036 dvi) \
18037 || exit 1
18039 @endif sim
18041 .PHONY: maybe-TAGS-sim TAGS-sim
18042 maybe-TAGS-sim:
18043 @if sim
18044 maybe-TAGS-sim: TAGS-sim
18046 TAGS-sim: \
18047 configure-sim
18048 @[ -f ./sim/Makefile ] || exit 0; \
18049 r=`${PWD_COMMAND}`; export r; \
18050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18051 $(SET_LIB_PATH) \
18052 $(HOST_EXPORTS) \
18053 for flag in $(EXTRA_HOST_FLAGS) ; do \
18054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18055 done; \
18056 echo "Doing TAGS in sim" ; \
18057 (cd sim && \
18058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18060 "RANLIB=$${RANLIB}" \
18061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18062 TAGS) \
18063 || exit 1
18065 @endif sim
18067 .PHONY: maybe-install-info-sim install-info-sim
18068 maybe-install-info-sim:
18069 @if sim
18070 maybe-install-info-sim: install-info-sim
18072 install-info-sim: \
18073 configure-sim \
18074 info-sim
18075 @[ -f ./sim/Makefile ] || exit 0; \
18076 r=`${PWD_COMMAND}`; export r; \
18077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18078 $(SET_LIB_PATH) \
18079 $(HOST_EXPORTS) \
18080 for flag in $(EXTRA_HOST_FLAGS) ; do \
18081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18082 done; \
18083 echo "Doing install-info in sim" ; \
18084 (cd sim && \
18085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18087 "RANLIB=$${RANLIB}" \
18088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18089 install-info) \
18090 || exit 1
18092 @endif sim
18094 .PHONY: maybe-installcheck-sim installcheck-sim
18095 maybe-installcheck-sim:
18096 @if sim
18097 maybe-installcheck-sim: installcheck-sim
18099 installcheck-sim: \
18100 configure-sim
18101 @[ -f ./sim/Makefile ] || exit 0; \
18102 r=`${PWD_COMMAND}`; export r; \
18103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18104 $(SET_LIB_PATH) \
18105 $(HOST_EXPORTS) \
18106 for flag in $(EXTRA_HOST_FLAGS) ; do \
18107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18108 done; \
18109 echo "Doing installcheck in sim" ; \
18110 (cd sim && \
18111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18113 "RANLIB=$${RANLIB}" \
18114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18115 installcheck) \
18116 || exit 1
18118 @endif sim
18120 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
18121 maybe-mostlyclean-sim:
18122 @if sim
18123 maybe-mostlyclean-sim: mostlyclean-sim
18125 mostlyclean-sim:
18126 @[ -f ./sim/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 mostlyclean in sim" ; \
18135 (cd sim && \
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 mostlyclean) \
18141 || exit 1
18143 @endif sim
18145 .PHONY: maybe-clean-sim clean-sim
18146 maybe-clean-sim:
18147 @if sim
18148 maybe-clean-sim: clean-sim
18150 clean-sim:
18151 @[ -f ./sim/Makefile ] || exit 0; \
18152 r=`${PWD_COMMAND}`; export r; \
18153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18154 $(SET_LIB_PATH) \
18155 $(HOST_EXPORTS) \
18156 for flag in $(EXTRA_HOST_FLAGS) ; do \
18157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18158 done; \
18159 echo "Doing clean in sim" ; \
18160 (cd sim && \
18161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18163 "RANLIB=$${RANLIB}" \
18164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18165 clean) \
18166 || exit 1
18168 @endif sim
18170 .PHONY: maybe-distclean-sim distclean-sim
18171 maybe-distclean-sim:
18172 @if sim
18173 maybe-distclean-sim: distclean-sim
18175 distclean-sim:
18176 @[ -f ./sim/Makefile ] || exit 0; \
18177 r=`${PWD_COMMAND}`; export r; \
18178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18179 $(SET_LIB_PATH) \
18180 $(HOST_EXPORTS) \
18181 for flag in $(EXTRA_HOST_FLAGS) ; do \
18182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18183 done; \
18184 echo "Doing distclean in sim" ; \
18185 (cd sim && \
18186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18188 "RANLIB=$${RANLIB}" \
18189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18190 distclean) \
18191 || exit 1
18193 @endif sim
18195 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
18196 maybe-maintainer-clean-sim:
18197 @if sim
18198 maybe-maintainer-clean-sim: maintainer-clean-sim
18200 maintainer-clean-sim:
18201 @[ -f ./sim/Makefile ] || exit 0; \
18202 r=`${PWD_COMMAND}`; export r; \
18203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18204 $(SET_LIB_PATH) \
18205 $(HOST_EXPORTS) \
18206 for flag in $(EXTRA_HOST_FLAGS) ; do \
18207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18208 done; \
18209 echo "Doing maintainer-clean in sim" ; \
18210 (cd sim && \
18211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18213 "RANLIB=$${RANLIB}" \
18214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18215 maintainer-clean) \
18216 || exit 1
18218 @endif sim
18221 .PHONY: configure-tar maybe-configure-tar
18222 maybe-configure-tar:
18223 @if tar
18224 maybe-configure-tar: configure-tar
18225 configure-tar:
18226 @test ! -f tar/Makefile || exit 0; \
18227 [ -d tar ] || mkdir tar; \
18228 r=`${PWD_COMMAND}`; export r; \
18229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18230 $(HOST_EXPORTS) \
18231 echo Configuring in tar; \
18232 cd tar || exit 1; \
18233 case $(srcdir) in \
18234 \.) \
18235 srcdiroption="--srcdir=."; \
18236 libsrcdir=".";; \
18237 /* | [A-Za-z]:[\\/]*) \
18238 srcdiroption="--srcdir=$(srcdir)/tar"; \
18239 libsrcdir="$$s/tar";; \
18240 *) \
18241 srcdiroption="--srcdir=../$(srcdir)/tar"; \
18242 libsrcdir="$$s/tar";; \
18243 esac; \
18244 $(SHELL) $${libsrcdir}/configure \
18245 $(HOST_CONFIGARGS) $${srcdiroption} \
18246 || exit 1
18247 @endif tar
18249 .PHONY: all-tar maybe-all-tar
18250 maybe-all-tar:
18251 @if tar
18252 maybe-all-tar: all-tar
18253 all-tar: configure-tar
18254 @r=`${PWD_COMMAND}`; export r; \
18255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18256 $(SET_LIB_PATH) \
18257 $(HOST_EXPORTS) \
18258 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
18259 @endif tar
18261 .PHONY: check-tar maybe-check-tar
18262 maybe-check-tar:
18263 @if tar
18264 maybe-check-tar: check-tar
18266 check-tar:
18267 @r=`${PWD_COMMAND}`; export r; \
18268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18269 $(SET_LIB_PATH) \
18270 $(HOST_EXPORTS) \
18271 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
18273 @endif tar
18275 .PHONY: install-tar maybe-install-tar
18276 maybe-install-tar:
18277 @if tar
18278 maybe-install-tar: install-tar
18280 install-tar: installdirs
18281 @r=`${PWD_COMMAND}`; export r; \
18282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18283 $(SET_LIB_PATH) \
18284 $(HOST_EXPORTS) \
18285 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
18287 @endif tar
18289 # Other targets (info, dvi, etc.)
18291 .PHONY: maybe-info-tar info-tar
18292 maybe-info-tar:
18293 @if tar
18294 maybe-info-tar: info-tar
18296 info-tar: \
18297 configure-tar
18298 @[ -f ./tar/Makefile ] || exit 0; \
18299 r=`${PWD_COMMAND}`; export r; \
18300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18301 $(SET_LIB_PATH) \
18302 $(HOST_EXPORTS) \
18303 for flag in $(EXTRA_HOST_FLAGS) ; do \
18304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18305 done; \
18306 echo "Doing info in tar" ; \
18307 (cd tar && \
18308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18310 "RANLIB=$${RANLIB}" \
18311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18312 info) \
18313 || exit 1
18315 @endif tar
18317 .PHONY: maybe-dvi-tar dvi-tar
18318 maybe-dvi-tar:
18319 @if tar
18320 maybe-dvi-tar: dvi-tar
18322 dvi-tar: \
18323 configure-tar
18324 @[ -f ./tar/Makefile ] || exit 0; \
18325 r=`${PWD_COMMAND}`; export r; \
18326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18327 $(SET_LIB_PATH) \
18328 $(HOST_EXPORTS) \
18329 for flag in $(EXTRA_HOST_FLAGS) ; do \
18330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18331 done; \
18332 echo "Doing dvi in tar" ; \
18333 (cd tar && \
18334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18336 "RANLIB=$${RANLIB}" \
18337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18338 dvi) \
18339 || exit 1
18341 @endif tar
18343 .PHONY: maybe-TAGS-tar TAGS-tar
18344 maybe-TAGS-tar:
18345 @if tar
18346 maybe-TAGS-tar: TAGS-tar
18348 TAGS-tar: \
18349 configure-tar
18350 @[ -f ./tar/Makefile ] || exit 0; \
18351 r=`${PWD_COMMAND}`; export r; \
18352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18353 $(SET_LIB_PATH) \
18354 $(HOST_EXPORTS) \
18355 for flag in $(EXTRA_HOST_FLAGS) ; do \
18356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18357 done; \
18358 echo "Doing TAGS in tar" ; \
18359 (cd tar && \
18360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18362 "RANLIB=$${RANLIB}" \
18363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18364 TAGS) \
18365 || exit 1
18367 @endif tar
18369 .PHONY: maybe-install-info-tar install-info-tar
18370 maybe-install-info-tar:
18371 @if tar
18372 maybe-install-info-tar: install-info-tar
18374 install-info-tar: \
18375 configure-tar \
18376 info-tar
18377 @[ -f ./tar/Makefile ] || exit 0; \
18378 r=`${PWD_COMMAND}`; export r; \
18379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18380 $(SET_LIB_PATH) \
18381 $(HOST_EXPORTS) \
18382 for flag in $(EXTRA_HOST_FLAGS) ; do \
18383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18384 done; \
18385 echo "Doing install-info in tar" ; \
18386 (cd tar && \
18387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18389 "RANLIB=$${RANLIB}" \
18390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18391 install-info) \
18392 || exit 1
18394 @endif tar
18396 .PHONY: maybe-installcheck-tar installcheck-tar
18397 maybe-installcheck-tar:
18398 @if tar
18399 maybe-installcheck-tar: installcheck-tar
18401 installcheck-tar: \
18402 configure-tar
18403 @[ -f ./tar/Makefile ] || exit 0; \
18404 r=`${PWD_COMMAND}`; export r; \
18405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18406 $(SET_LIB_PATH) \
18407 $(HOST_EXPORTS) \
18408 for flag in $(EXTRA_HOST_FLAGS) ; do \
18409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18410 done; \
18411 echo "Doing installcheck in tar" ; \
18412 (cd tar && \
18413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18415 "RANLIB=$${RANLIB}" \
18416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18417 installcheck) \
18418 || exit 1
18420 @endif tar
18422 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18423 maybe-mostlyclean-tar:
18424 @if tar
18425 maybe-mostlyclean-tar: mostlyclean-tar
18427 mostlyclean-tar:
18428 @[ -f ./tar/Makefile ] || exit 0; \
18429 r=`${PWD_COMMAND}`; export r; \
18430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18431 $(SET_LIB_PATH) \
18432 $(HOST_EXPORTS) \
18433 for flag in $(EXTRA_HOST_FLAGS) ; do \
18434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18435 done; \
18436 echo "Doing mostlyclean in tar" ; \
18437 (cd tar && \
18438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18440 "RANLIB=$${RANLIB}" \
18441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18442 mostlyclean) \
18443 || exit 1
18445 @endif tar
18447 .PHONY: maybe-clean-tar clean-tar
18448 maybe-clean-tar:
18449 @if tar
18450 maybe-clean-tar: clean-tar
18452 clean-tar:
18453 @[ -f ./tar/Makefile ] || exit 0; \
18454 r=`${PWD_COMMAND}`; export r; \
18455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18456 $(SET_LIB_PATH) \
18457 $(HOST_EXPORTS) \
18458 for flag in $(EXTRA_HOST_FLAGS) ; do \
18459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18460 done; \
18461 echo "Doing clean in tar" ; \
18462 (cd tar && \
18463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18465 "RANLIB=$${RANLIB}" \
18466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18467 clean) \
18468 || exit 1
18470 @endif tar
18472 .PHONY: maybe-distclean-tar distclean-tar
18473 maybe-distclean-tar:
18474 @if tar
18475 maybe-distclean-tar: distclean-tar
18477 distclean-tar:
18478 @[ -f ./tar/Makefile ] || exit 0; \
18479 r=`${PWD_COMMAND}`; export r; \
18480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18481 $(SET_LIB_PATH) \
18482 $(HOST_EXPORTS) \
18483 for flag in $(EXTRA_HOST_FLAGS) ; do \
18484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18485 done; \
18486 echo "Doing distclean in tar" ; \
18487 (cd tar && \
18488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18490 "RANLIB=$${RANLIB}" \
18491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18492 distclean) \
18493 || exit 1
18495 @endif tar
18497 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
18498 maybe-maintainer-clean-tar:
18499 @if tar
18500 maybe-maintainer-clean-tar: maintainer-clean-tar
18502 maintainer-clean-tar:
18503 @[ -f ./tar/Makefile ] || exit 0; \
18504 r=`${PWD_COMMAND}`; export r; \
18505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18506 $(SET_LIB_PATH) \
18507 $(HOST_EXPORTS) \
18508 for flag in $(EXTRA_HOST_FLAGS) ; do \
18509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18510 done; \
18511 echo "Doing maintainer-clean in tar" ; \
18512 (cd tar && \
18513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18515 "RANLIB=$${RANLIB}" \
18516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18517 maintainer-clean) \
18518 || exit 1
18520 @endif tar
18523 .PHONY: configure-texinfo maybe-configure-texinfo
18524 maybe-configure-texinfo:
18525 @if texinfo
18526 maybe-configure-texinfo: configure-texinfo
18527 configure-texinfo:
18528 @test ! -f texinfo/Makefile || exit 0; \
18529 [ -d texinfo ] || mkdir texinfo; \
18530 r=`${PWD_COMMAND}`; export r; \
18531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18532 $(HOST_EXPORTS) \
18533 echo Configuring in texinfo; \
18534 cd texinfo || exit 1; \
18535 case $(srcdir) in \
18536 \.) \
18537 srcdiroption="--srcdir=."; \
18538 libsrcdir=".";; \
18539 /* | [A-Za-z]:[\\/]*) \
18540 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
18541 libsrcdir="$$s/texinfo";; \
18542 *) \
18543 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
18544 libsrcdir="$$s/texinfo";; \
18545 esac; \
18546 $(SHELL) $${libsrcdir}/configure \
18547 $(HOST_CONFIGARGS) $${srcdiroption} \
18548 || exit 1
18549 @endif texinfo
18551 .PHONY: all-texinfo maybe-all-texinfo
18552 maybe-all-texinfo:
18553 @if texinfo
18554 maybe-all-texinfo: all-texinfo
18555 all-texinfo: configure-texinfo
18556 @r=`${PWD_COMMAND}`; export r; \
18557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18558 $(SET_LIB_PATH) \
18559 $(HOST_EXPORTS) \
18560 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
18561 @endif texinfo
18563 .PHONY: check-texinfo maybe-check-texinfo
18564 maybe-check-texinfo:
18565 @if texinfo
18566 maybe-check-texinfo: check-texinfo
18568 check-texinfo:
18569 @r=`${PWD_COMMAND}`; export r; \
18570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18571 $(SET_LIB_PATH) \
18572 $(HOST_EXPORTS) \
18573 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
18575 @endif texinfo
18577 .PHONY: install-texinfo maybe-install-texinfo
18578 maybe-install-texinfo:
18579 @if texinfo
18580 maybe-install-texinfo: install-texinfo
18582 install-texinfo:
18584 @endif texinfo
18586 # Other targets (info, dvi, etc.)
18588 .PHONY: maybe-info-texinfo info-texinfo
18589 maybe-info-texinfo:
18590 @if texinfo
18591 maybe-info-texinfo: info-texinfo
18593 info-texinfo: \
18594 configure-texinfo
18595 @[ -f ./texinfo/Makefile ] || exit 0; \
18596 r=`${PWD_COMMAND}`; export r; \
18597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18598 $(SET_LIB_PATH) \
18599 $(HOST_EXPORTS) \
18600 for flag in $(EXTRA_HOST_FLAGS) ; do \
18601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18602 done; \
18603 echo "Doing info in texinfo" ; \
18604 (cd texinfo && \
18605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18607 "RANLIB=$${RANLIB}" \
18608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18609 info) \
18610 || exit 1
18612 @endif texinfo
18614 .PHONY: maybe-dvi-texinfo dvi-texinfo
18615 maybe-dvi-texinfo:
18616 @if texinfo
18617 maybe-dvi-texinfo: dvi-texinfo
18619 dvi-texinfo: \
18620 configure-texinfo
18621 @[ -f ./texinfo/Makefile ] || exit 0; \
18622 r=`${PWD_COMMAND}`; export r; \
18623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18624 $(SET_LIB_PATH) \
18625 $(HOST_EXPORTS) \
18626 for flag in $(EXTRA_HOST_FLAGS) ; do \
18627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18628 done; \
18629 echo "Doing dvi in texinfo" ; \
18630 (cd texinfo && \
18631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18633 "RANLIB=$${RANLIB}" \
18634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18635 dvi) \
18636 || exit 1
18638 @endif texinfo
18640 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
18641 maybe-TAGS-texinfo:
18642 @if texinfo
18643 maybe-TAGS-texinfo: TAGS-texinfo
18645 TAGS-texinfo: \
18646 configure-texinfo
18647 @[ -f ./texinfo/Makefile ] || exit 0; \
18648 r=`${PWD_COMMAND}`; export r; \
18649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18650 $(SET_LIB_PATH) \
18651 $(HOST_EXPORTS) \
18652 for flag in $(EXTRA_HOST_FLAGS) ; do \
18653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18654 done; \
18655 echo "Doing TAGS in texinfo" ; \
18656 (cd texinfo && \
18657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18659 "RANLIB=$${RANLIB}" \
18660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18661 TAGS) \
18662 || exit 1
18664 @endif texinfo
18666 .PHONY: maybe-install-info-texinfo install-info-texinfo
18667 maybe-install-info-texinfo:
18668 @if texinfo
18669 maybe-install-info-texinfo: install-info-texinfo
18671 install-info-texinfo: \
18672 configure-texinfo \
18673 info-texinfo
18674 @[ -f ./texinfo/Makefile ] || exit 0; \
18675 r=`${PWD_COMMAND}`; export r; \
18676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18677 $(SET_LIB_PATH) \
18678 $(HOST_EXPORTS) \
18679 for flag in $(EXTRA_HOST_FLAGS) ; do \
18680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18681 done; \
18682 echo "Doing install-info in texinfo" ; \
18683 (cd texinfo && \
18684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18686 "RANLIB=$${RANLIB}" \
18687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18688 install-info) \
18689 || exit 1
18691 @endif texinfo
18693 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18694 maybe-installcheck-texinfo:
18695 @if texinfo
18696 maybe-installcheck-texinfo: installcheck-texinfo
18698 installcheck-texinfo: \
18699 configure-texinfo
18700 @[ -f ./texinfo/Makefile ] || exit 0; \
18701 r=`${PWD_COMMAND}`; export r; \
18702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18703 $(SET_LIB_PATH) \
18704 $(HOST_EXPORTS) \
18705 for flag in $(EXTRA_HOST_FLAGS) ; do \
18706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18707 done; \
18708 echo "Doing installcheck in texinfo" ; \
18709 (cd texinfo && \
18710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18712 "RANLIB=$${RANLIB}" \
18713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18714 installcheck) \
18715 || exit 1
18717 @endif texinfo
18719 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18720 maybe-mostlyclean-texinfo:
18721 @if texinfo
18722 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18724 mostlyclean-texinfo:
18725 @[ -f ./texinfo/Makefile ] || exit 0; \
18726 r=`${PWD_COMMAND}`; export r; \
18727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18728 $(SET_LIB_PATH) \
18729 $(HOST_EXPORTS) \
18730 for flag in $(EXTRA_HOST_FLAGS) ; do \
18731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18732 done; \
18733 echo "Doing mostlyclean in texinfo" ; \
18734 (cd texinfo && \
18735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18737 "RANLIB=$${RANLIB}" \
18738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18739 mostlyclean) \
18740 || exit 1
18742 @endif texinfo
18744 .PHONY: maybe-clean-texinfo clean-texinfo
18745 maybe-clean-texinfo:
18746 @if texinfo
18747 maybe-clean-texinfo: clean-texinfo
18749 clean-texinfo:
18750 @[ -f ./texinfo/Makefile ] || exit 0; \
18751 r=`${PWD_COMMAND}`; export r; \
18752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18753 $(SET_LIB_PATH) \
18754 $(HOST_EXPORTS) \
18755 for flag in $(EXTRA_HOST_FLAGS) ; do \
18756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18757 done; \
18758 echo "Doing clean in texinfo" ; \
18759 (cd texinfo && \
18760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18762 "RANLIB=$${RANLIB}" \
18763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18764 clean) \
18765 || exit 1
18767 @endif texinfo
18769 .PHONY: maybe-distclean-texinfo distclean-texinfo
18770 maybe-distclean-texinfo:
18771 @if texinfo
18772 maybe-distclean-texinfo: distclean-texinfo
18774 distclean-texinfo:
18775 @[ -f ./texinfo/Makefile ] || exit 0; \
18776 r=`${PWD_COMMAND}`; export r; \
18777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18778 $(SET_LIB_PATH) \
18779 $(HOST_EXPORTS) \
18780 for flag in $(EXTRA_HOST_FLAGS) ; do \
18781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18782 done; \
18783 echo "Doing distclean in texinfo" ; \
18784 (cd texinfo && \
18785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18787 "RANLIB=$${RANLIB}" \
18788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18789 distclean) \
18790 || exit 1
18792 @endif texinfo
18794 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18795 maybe-maintainer-clean-texinfo:
18796 @if texinfo
18797 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18799 maintainer-clean-texinfo:
18800 @[ -f ./texinfo/Makefile ] || exit 0; \
18801 r=`${PWD_COMMAND}`; export r; \
18802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18803 $(SET_LIB_PATH) \
18804 $(HOST_EXPORTS) \
18805 for flag in $(EXTRA_HOST_FLAGS) ; do \
18806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18807 done; \
18808 echo "Doing maintainer-clean in texinfo" ; \
18809 (cd texinfo && \
18810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18812 "RANLIB=$${RANLIB}" \
18813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18814 maintainer-clean) \
18815 || exit 1
18817 @endif texinfo
18820 .PHONY: configure-textutils maybe-configure-textutils
18821 maybe-configure-textutils:
18822 @if textutils
18823 maybe-configure-textutils: configure-textutils
18824 configure-textutils:
18825 @test ! -f textutils/Makefile || exit 0; \
18826 [ -d textutils ] || mkdir textutils; \
18827 r=`${PWD_COMMAND}`; export r; \
18828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18829 $(HOST_EXPORTS) \
18830 echo Configuring in textutils; \
18831 cd textutils || exit 1; \
18832 case $(srcdir) in \
18833 \.) \
18834 srcdiroption="--srcdir=."; \
18835 libsrcdir=".";; \
18836 /* | [A-Za-z]:[\\/]*) \
18837 srcdiroption="--srcdir=$(srcdir)/textutils"; \
18838 libsrcdir="$$s/textutils";; \
18839 *) \
18840 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18841 libsrcdir="$$s/textutils";; \
18842 esac; \
18843 $(SHELL) $${libsrcdir}/configure \
18844 $(HOST_CONFIGARGS) $${srcdiroption} \
18845 || exit 1
18846 @endif textutils
18848 .PHONY: all-textutils maybe-all-textutils
18849 maybe-all-textutils:
18850 @if textutils
18851 maybe-all-textutils: all-textutils
18852 all-textutils: configure-textutils
18853 @r=`${PWD_COMMAND}`; export r; \
18854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18855 $(SET_LIB_PATH) \
18856 $(HOST_EXPORTS) \
18857 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
18858 @endif textutils
18860 .PHONY: check-textutils maybe-check-textutils
18861 maybe-check-textutils:
18862 @if textutils
18863 maybe-check-textutils: check-textutils
18865 check-textutils:
18866 @r=`${PWD_COMMAND}`; export r; \
18867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18868 $(SET_LIB_PATH) \
18869 $(HOST_EXPORTS) \
18870 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18872 @endif textutils
18874 .PHONY: install-textutils maybe-install-textutils
18875 maybe-install-textutils:
18876 @if textutils
18877 maybe-install-textutils: install-textutils
18879 install-textutils: installdirs
18880 @r=`${PWD_COMMAND}`; export r; \
18881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18882 $(SET_LIB_PATH) \
18883 $(HOST_EXPORTS) \
18884 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18886 @endif textutils
18888 # Other targets (info, dvi, etc.)
18890 .PHONY: maybe-info-textutils info-textutils
18891 maybe-info-textutils:
18892 @if textutils
18893 maybe-info-textutils: info-textutils
18895 info-textutils: \
18896 configure-textutils
18897 @[ -f ./textutils/Makefile ] || exit 0; \
18898 r=`${PWD_COMMAND}`; export r; \
18899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18900 $(SET_LIB_PATH) \
18901 $(HOST_EXPORTS) \
18902 for flag in $(EXTRA_HOST_FLAGS) ; do \
18903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18904 done; \
18905 echo "Doing info in textutils" ; \
18906 (cd textutils && \
18907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18909 "RANLIB=$${RANLIB}" \
18910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18911 info) \
18912 || exit 1
18914 @endif textutils
18916 .PHONY: maybe-dvi-textutils dvi-textutils
18917 maybe-dvi-textutils:
18918 @if textutils
18919 maybe-dvi-textutils: dvi-textutils
18921 dvi-textutils: \
18922 configure-textutils
18923 @[ -f ./textutils/Makefile ] || exit 0; \
18924 r=`${PWD_COMMAND}`; export r; \
18925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18926 $(SET_LIB_PATH) \
18927 $(HOST_EXPORTS) \
18928 for flag in $(EXTRA_HOST_FLAGS) ; do \
18929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18930 done; \
18931 echo "Doing dvi in textutils" ; \
18932 (cd textutils && \
18933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18935 "RANLIB=$${RANLIB}" \
18936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18937 dvi) \
18938 || exit 1
18940 @endif textutils
18942 .PHONY: maybe-TAGS-textutils TAGS-textutils
18943 maybe-TAGS-textutils:
18944 @if textutils
18945 maybe-TAGS-textutils: TAGS-textutils
18947 TAGS-textutils: \
18948 configure-textutils
18949 @[ -f ./textutils/Makefile ] || exit 0; \
18950 r=`${PWD_COMMAND}`; export r; \
18951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18952 $(SET_LIB_PATH) \
18953 $(HOST_EXPORTS) \
18954 for flag in $(EXTRA_HOST_FLAGS) ; do \
18955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18956 done; \
18957 echo "Doing TAGS in textutils" ; \
18958 (cd textutils && \
18959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18961 "RANLIB=$${RANLIB}" \
18962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18963 TAGS) \
18964 || exit 1
18966 @endif textutils
18968 .PHONY: maybe-install-info-textutils install-info-textutils
18969 maybe-install-info-textutils:
18970 @if textutils
18971 maybe-install-info-textutils: install-info-textutils
18973 install-info-textutils: \
18974 configure-textutils \
18975 info-textutils
18976 @[ -f ./textutils/Makefile ] || exit 0; \
18977 r=`${PWD_COMMAND}`; export r; \
18978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18979 $(SET_LIB_PATH) \
18980 $(HOST_EXPORTS) \
18981 for flag in $(EXTRA_HOST_FLAGS) ; do \
18982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18983 done; \
18984 echo "Doing install-info in textutils" ; \
18985 (cd textutils && \
18986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18988 "RANLIB=$${RANLIB}" \
18989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18990 install-info) \
18991 || exit 1
18993 @endif textutils
18995 .PHONY: maybe-installcheck-textutils installcheck-textutils
18996 maybe-installcheck-textutils:
18997 @if textutils
18998 maybe-installcheck-textutils: installcheck-textutils
19000 installcheck-textutils: \
19001 configure-textutils
19002 @[ -f ./textutils/Makefile ] || exit 0; \
19003 r=`${PWD_COMMAND}`; export r; \
19004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19005 $(SET_LIB_PATH) \
19006 $(HOST_EXPORTS) \
19007 for flag in $(EXTRA_HOST_FLAGS) ; do \
19008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19009 done; \
19010 echo "Doing installcheck in textutils" ; \
19011 (cd textutils && \
19012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19014 "RANLIB=$${RANLIB}" \
19015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19016 installcheck) \
19017 || exit 1
19019 @endif textutils
19021 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
19022 maybe-mostlyclean-textutils:
19023 @if textutils
19024 maybe-mostlyclean-textutils: mostlyclean-textutils
19026 mostlyclean-textutils:
19027 @[ -f ./textutils/Makefile ] || exit 0; \
19028 r=`${PWD_COMMAND}`; export r; \
19029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19030 $(SET_LIB_PATH) \
19031 $(HOST_EXPORTS) \
19032 for flag in $(EXTRA_HOST_FLAGS) ; do \
19033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19034 done; \
19035 echo "Doing mostlyclean in textutils" ; \
19036 (cd textutils && \
19037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19039 "RANLIB=$${RANLIB}" \
19040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19041 mostlyclean) \
19042 || exit 1
19044 @endif textutils
19046 .PHONY: maybe-clean-textutils clean-textutils
19047 maybe-clean-textutils:
19048 @if textutils
19049 maybe-clean-textutils: clean-textutils
19051 clean-textutils:
19052 @[ -f ./textutils/Makefile ] || exit 0; \
19053 r=`${PWD_COMMAND}`; export r; \
19054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19055 $(SET_LIB_PATH) \
19056 $(HOST_EXPORTS) \
19057 for flag in $(EXTRA_HOST_FLAGS) ; do \
19058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19059 done; \
19060 echo "Doing clean in textutils" ; \
19061 (cd textutils && \
19062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19064 "RANLIB=$${RANLIB}" \
19065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19066 clean) \
19067 || exit 1
19069 @endif textutils
19071 .PHONY: maybe-distclean-textutils distclean-textutils
19072 maybe-distclean-textutils:
19073 @if textutils
19074 maybe-distclean-textutils: distclean-textutils
19076 distclean-textutils:
19077 @[ -f ./textutils/Makefile ] || exit 0; \
19078 r=`${PWD_COMMAND}`; export r; \
19079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19080 $(SET_LIB_PATH) \
19081 $(HOST_EXPORTS) \
19082 for flag in $(EXTRA_HOST_FLAGS) ; do \
19083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19084 done; \
19085 echo "Doing distclean in textutils" ; \
19086 (cd textutils && \
19087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19089 "RANLIB=$${RANLIB}" \
19090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19091 distclean) \
19092 || exit 1
19094 @endif textutils
19096 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
19097 maybe-maintainer-clean-textutils:
19098 @if textutils
19099 maybe-maintainer-clean-textutils: maintainer-clean-textutils
19101 maintainer-clean-textutils:
19102 @[ -f ./textutils/Makefile ] || exit 0; \
19103 r=`${PWD_COMMAND}`; export r; \
19104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19105 $(SET_LIB_PATH) \
19106 $(HOST_EXPORTS) \
19107 for flag in $(EXTRA_HOST_FLAGS) ; do \
19108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19109 done; \
19110 echo "Doing maintainer-clean in textutils" ; \
19111 (cd textutils && \
19112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19114 "RANLIB=$${RANLIB}" \
19115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19116 maintainer-clean) \
19117 || exit 1
19119 @endif textutils
19122 .PHONY: configure-time maybe-configure-time
19123 maybe-configure-time:
19124 @if time
19125 maybe-configure-time: configure-time
19126 configure-time:
19127 @test ! -f time/Makefile || exit 0; \
19128 [ -d time ] || mkdir time; \
19129 r=`${PWD_COMMAND}`; export r; \
19130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19131 $(HOST_EXPORTS) \
19132 echo Configuring in time; \
19133 cd time || exit 1; \
19134 case $(srcdir) in \
19135 \.) \
19136 srcdiroption="--srcdir=."; \
19137 libsrcdir=".";; \
19138 /* | [A-Za-z]:[\\/]*) \
19139 srcdiroption="--srcdir=$(srcdir)/time"; \
19140 libsrcdir="$$s/time";; \
19141 *) \
19142 srcdiroption="--srcdir=../$(srcdir)/time"; \
19143 libsrcdir="$$s/time";; \
19144 esac; \
19145 $(SHELL) $${libsrcdir}/configure \
19146 $(HOST_CONFIGARGS) $${srcdiroption} \
19147 || exit 1
19148 @endif time
19150 .PHONY: all-time maybe-all-time
19151 maybe-all-time:
19152 @if time
19153 maybe-all-time: all-time
19154 all-time: configure-time
19155 @r=`${PWD_COMMAND}`; export r; \
19156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19157 $(SET_LIB_PATH) \
19158 $(HOST_EXPORTS) \
19159 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
19160 @endif time
19162 .PHONY: check-time maybe-check-time
19163 maybe-check-time:
19164 @if time
19165 maybe-check-time: check-time
19167 check-time:
19168 @r=`${PWD_COMMAND}`; export r; \
19169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19170 $(SET_LIB_PATH) \
19171 $(HOST_EXPORTS) \
19172 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
19174 @endif time
19176 .PHONY: install-time maybe-install-time
19177 maybe-install-time:
19178 @if time
19179 maybe-install-time: install-time
19181 install-time: installdirs
19182 @r=`${PWD_COMMAND}`; export r; \
19183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19184 $(SET_LIB_PATH) \
19185 $(HOST_EXPORTS) \
19186 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
19188 @endif time
19190 # Other targets (info, dvi, etc.)
19192 .PHONY: maybe-info-time info-time
19193 maybe-info-time:
19194 @if time
19195 maybe-info-time: info-time
19197 info-time: \
19198 configure-time
19199 @[ -f ./time/Makefile ] || exit 0; \
19200 r=`${PWD_COMMAND}`; export r; \
19201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19202 $(SET_LIB_PATH) \
19203 $(HOST_EXPORTS) \
19204 for flag in $(EXTRA_HOST_FLAGS) ; do \
19205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19206 done; \
19207 echo "Doing info in time" ; \
19208 (cd time && \
19209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19211 "RANLIB=$${RANLIB}" \
19212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19213 info) \
19214 || exit 1
19216 @endif time
19218 .PHONY: maybe-dvi-time dvi-time
19219 maybe-dvi-time:
19220 @if time
19221 maybe-dvi-time: dvi-time
19223 dvi-time: \
19224 configure-time
19225 @[ -f ./time/Makefile ] || exit 0; \
19226 r=`${PWD_COMMAND}`; export r; \
19227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19228 $(SET_LIB_PATH) \
19229 $(HOST_EXPORTS) \
19230 for flag in $(EXTRA_HOST_FLAGS) ; do \
19231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19232 done; \
19233 echo "Doing dvi in time" ; \
19234 (cd time && \
19235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19237 "RANLIB=$${RANLIB}" \
19238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19239 dvi) \
19240 || exit 1
19242 @endif time
19244 .PHONY: maybe-TAGS-time TAGS-time
19245 maybe-TAGS-time:
19246 @if time
19247 maybe-TAGS-time: TAGS-time
19249 TAGS-time: \
19250 configure-time
19251 @[ -f ./time/Makefile ] || exit 0; \
19252 r=`${PWD_COMMAND}`; export r; \
19253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19254 $(SET_LIB_PATH) \
19255 $(HOST_EXPORTS) \
19256 for flag in $(EXTRA_HOST_FLAGS) ; do \
19257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19258 done; \
19259 echo "Doing TAGS in time" ; \
19260 (cd time && \
19261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19263 "RANLIB=$${RANLIB}" \
19264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19265 TAGS) \
19266 || exit 1
19268 @endif time
19270 .PHONY: maybe-install-info-time install-info-time
19271 maybe-install-info-time:
19272 @if time
19273 maybe-install-info-time: install-info-time
19275 install-info-time: \
19276 configure-time \
19277 info-time
19278 @[ -f ./time/Makefile ] || exit 0; \
19279 r=`${PWD_COMMAND}`; export r; \
19280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19281 $(SET_LIB_PATH) \
19282 $(HOST_EXPORTS) \
19283 for flag in $(EXTRA_HOST_FLAGS) ; do \
19284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19285 done; \
19286 echo "Doing install-info in time" ; \
19287 (cd time && \
19288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19290 "RANLIB=$${RANLIB}" \
19291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19292 install-info) \
19293 || exit 1
19295 @endif time
19297 .PHONY: maybe-installcheck-time installcheck-time
19298 maybe-installcheck-time:
19299 @if time
19300 maybe-installcheck-time: installcheck-time
19302 installcheck-time: \
19303 configure-time
19304 @[ -f ./time/Makefile ] || exit 0; \
19305 r=`${PWD_COMMAND}`; export r; \
19306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19307 $(SET_LIB_PATH) \
19308 $(HOST_EXPORTS) \
19309 for flag in $(EXTRA_HOST_FLAGS) ; do \
19310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19311 done; \
19312 echo "Doing installcheck in time" ; \
19313 (cd time && \
19314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19316 "RANLIB=$${RANLIB}" \
19317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19318 installcheck) \
19319 || exit 1
19321 @endif time
19323 .PHONY: maybe-mostlyclean-time mostlyclean-time
19324 maybe-mostlyclean-time:
19325 @if time
19326 maybe-mostlyclean-time: mostlyclean-time
19328 mostlyclean-time:
19329 @[ -f ./time/Makefile ] || exit 0; \
19330 r=`${PWD_COMMAND}`; export r; \
19331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19332 $(SET_LIB_PATH) \
19333 $(HOST_EXPORTS) \
19334 for flag in $(EXTRA_HOST_FLAGS) ; do \
19335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19336 done; \
19337 echo "Doing mostlyclean in time" ; \
19338 (cd time && \
19339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19341 "RANLIB=$${RANLIB}" \
19342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19343 mostlyclean) \
19344 || exit 1
19346 @endif time
19348 .PHONY: maybe-clean-time clean-time
19349 maybe-clean-time:
19350 @if time
19351 maybe-clean-time: clean-time
19353 clean-time:
19354 @[ -f ./time/Makefile ] || exit 0; \
19355 r=`${PWD_COMMAND}`; export r; \
19356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19357 $(SET_LIB_PATH) \
19358 $(HOST_EXPORTS) \
19359 for flag in $(EXTRA_HOST_FLAGS) ; do \
19360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19361 done; \
19362 echo "Doing clean in time" ; \
19363 (cd time && \
19364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19366 "RANLIB=$${RANLIB}" \
19367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19368 clean) \
19369 || exit 1
19371 @endif time
19373 .PHONY: maybe-distclean-time distclean-time
19374 maybe-distclean-time:
19375 @if time
19376 maybe-distclean-time: distclean-time
19378 distclean-time:
19379 @[ -f ./time/Makefile ] || exit 0; \
19380 r=`${PWD_COMMAND}`; export r; \
19381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19382 $(SET_LIB_PATH) \
19383 $(HOST_EXPORTS) \
19384 for flag in $(EXTRA_HOST_FLAGS) ; do \
19385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19386 done; \
19387 echo "Doing distclean in time" ; \
19388 (cd time && \
19389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19391 "RANLIB=$${RANLIB}" \
19392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19393 distclean) \
19394 || exit 1
19396 @endif time
19398 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
19399 maybe-maintainer-clean-time:
19400 @if time
19401 maybe-maintainer-clean-time: maintainer-clean-time
19403 maintainer-clean-time:
19404 @[ -f ./time/Makefile ] || exit 0; \
19405 r=`${PWD_COMMAND}`; export r; \
19406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19407 $(SET_LIB_PATH) \
19408 $(HOST_EXPORTS) \
19409 for flag in $(EXTRA_HOST_FLAGS) ; do \
19410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19411 done; \
19412 echo "Doing maintainer-clean in time" ; \
19413 (cd time && \
19414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19416 "RANLIB=$${RANLIB}" \
19417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19418 maintainer-clean) \
19419 || exit 1
19421 @endif time
19424 .PHONY: configure-uudecode maybe-configure-uudecode
19425 maybe-configure-uudecode:
19426 @if uudecode
19427 maybe-configure-uudecode: configure-uudecode
19428 configure-uudecode:
19429 @test ! -f uudecode/Makefile || exit 0; \
19430 [ -d uudecode ] || mkdir uudecode; \
19431 r=`${PWD_COMMAND}`; export r; \
19432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19433 $(HOST_EXPORTS) \
19434 echo Configuring in uudecode; \
19435 cd uudecode || exit 1; \
19436 case $(srcdir) in \
19437 \.) \
19438 srcdiroption="--srcdir=."; \
19439 libsrcdir=".";; \
19440 /* | [A-Za-z]:[\\/]*) \
19441 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
19442 libsrcdir="$$s/uudecode";; \
19443 *) \
19444 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
19445 libsrcdir="$$s/uudecode";; \
19446 esac; \
19447 $(SHELL) $${libsrcdir}/configure \
19448 $(HOST_CONFIGARGS) $${srcdiroption} \
19449 || exit 1
19450 @endif uudecode
19452 .PHONY: all-uudecode maybe-all-uudecode
19453 maybe-all-uudecode:
19454 @if uudecode
19455 maybe-all-uudecode: all-uudecode
19456 all-uudecode: configure-uudecode
19457 @r=`${PWD_COMMAND}`; export r; \
19458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19459 $(SET_LIB_PATH) \
19460 $(HOST_EXPORTS) \
19461 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
19462 @endif uudecode
19464 .PHONY: check-uudecode maybe-check-uudecode
19465 maybe-check-uudecode:
19466 @if uudecode
19467 maybe-check-uudecode: check-uudecode
19469 check-uudecode:
19470 @r=`${PWD_COMMAND}`; export r; \
19471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19472 $(SET_LIB_PATH) \
19473 $(HOST_EXPORTS) \
19474 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
19476 @endif uudecode
19478 .PHONY: install-uudecode maybe-install-uudecode
19479 maybe-install-uudecode:
19480 @if uudecode
19481 maybe-install-uudecode: install-uudecode
19483 install-uudecode: installdirs
19484 @r=`${PWD_COMMAND}`; export r; \
19485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19486 $(SET_LIB_PATH) \
19487 $(HOST_EXPORTS) \
19488 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
19490 @endif uudecode
19492 # Other targets (info, dvi, etc.)
19494 .PHONY: maybe-info-uudecode info-uudecode
19495 maybe-info-uudecode:
19496 @if uudecode
19497 maybe-info-uudecode: info-uudecode
19499 info-uudecode: \
19500 configure-uudecode
19501 @[ -f ./uudecode/Makefile ] || exit 0; \
19502 r=`${PWD_COMMAND}`; export r; \
19503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19504 $(SET_LIB_PATH) \
19505 $(HOST_EXPORTS) \
19506 for flag in $(EXTRA_HOST_FLAGS) ; do \
19507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19508 done; \
19509 echo "Doing info in uudecode" ; \
19510 (cd uudecode && \
19511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19513 "RANLIB=$${RANLIB}" \
19514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19515 info) \
19516 || exit 1
19518 @endif uudecode
19520 .PHONY: maybe-dvi-uudecode dvi-uudecode
19521 maybe-dvi-uudecode:
19522 @if uudecode
19523 maybe-dvi-uudecode: dvi-uudecode
19525 dvi-uudecode: \
19526 configure-uudecode
19527 @[ -f ./uudecode/Makefile ] || exit 0; \
19528 r=`${PWD_COMMAND}`; export r; \
19529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19530 $(SET_LIB_PATH) \
19531 $(HOST_EXPORTS) \
19532 for flag in $(EXTRA_HOST_FLAGS) ; do \
19533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19534 done; \
19535 echo "Doing dvi in uudecode" ; \
19536 (cd uudecode && \
19537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19539 "RANLIB=$${RANLIB}" \
19540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19541 dvi) \
19542 || exit 1
19544 @endif uudecode
19546 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
19547 maybe-TAGS-uudecode:
19548 @if uudecode
19549 maybe-TAGS-uudecode: TAGS-uudecode
19551 TAGS-uudecode: \
19552 configure-uudecode
19553 @[ -f ./uudecode/Makefile ] || exit 0; \
19554 r=`${PWD_COMMAND}`; export r; \
19555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19556 $(SET_LIB_PATH) \
19557 $(HOST_EXPORTS) \
19558 for flag in $(EXTRA_HOST_FLAGS) ; do \
19559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19560 done; \
19561 echo "Doing TAGS in uudecode" ; \
19562 (cd uudecode && \
19563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19565 "RANLIB=$${RANLIB}" \
19566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19567 TAGS) \
19568 || exit 1
19570 @endif uudecode
19572 .PHONY: maybe-install-info-uudecode install-info-uudecode
19573 maybe-install-info-uudecode:
19574 @if uudecode
19575 maybe-install-info-uudecode: install-info-uudecode
19577 install-info-uudecode: \
19578 configure-uudecode \
19579 info-uudecode
19580 @[ -f ./uudecode/Makefile ] || exit 0; \
19581 r=`${PWD_COMMAND}`; export r; \
19582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19583 $(SET_LIB_PATH) \
19584 $(HOST_EXPORTS) \
19585 for flag in $(EXTRA_HOST_FLAGS) ; do \
19586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19587 done; \
19588 echo "Doing install-info in uudecode" ; \
19589 (cd uudecode && \
19590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19592 "RANLIB=$${RANLIB}" \
19593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19594 install-info) \
19595 || exit 1
19597 @endif uudecode
19599 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
19600 maybe-installcheck-uudecode:
19601 @if uudecode
19602 maybe-installcheck-uudecode: installcheck-uudecode
19604 installcheck-uudecode: \
19605 configure-uudecode
19606 @[ -f ./uudecode/Makefile ] || exit 0; \
19607 r=`${PWD_COMMAND}`; export r; \
19608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19609 $(SET_LIB_PATH) \
19610 $(HOST_EXPORTS) \
19611 for flag in $(EXTRA_HOST_FLAGS) ; do \
19612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19613 done; \
19614 echo "Doing installcheck in uudecode" ; \
19615 (cd uudecode && \
19616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19618 "RANLIB=$${RANLIB}" \
19619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19620 installcheck) \
19621 || exit 1
19623 @endif uudecode
19625 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
19626 maybe-mostlyclean-uudecode:
19627 @if uudecode
19628 maybe-mostlyclean-uudecode: mostlyclean-uudecode
19630 mostlyclean-uudecode:
19631 @[ -f ./uudecode/Makefile ] || exit 0; \
19632 r=`${PWD_COMMAND}`; export r; \
19633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19634 $(SET_LIB_PATH) \
19635 $(HOST_EXPORTS) \
19636 for flag in $(EXTRA_HOST_FLAGS) ; do \
19637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19638 done; \
19639 echo "Doing mostlyclean in uudecode" ; \
19640 (cd uudecode && \
19641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19643 "RANLIB=$${RANLIB}" \
19644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19645 mostlyclean) \
19646 || exit 1
19648 @endif uudecode
19650 .PHONY: maybe-clean-uudecode clean-uudecode
19651 maybe-clean-uudecode:
19652 @if uudecode
19653 maybe-clean-uudecode: clean-uudecode
19655 clean-uudecode:
19656 @[ -f ./uudecode/Makefile ] || exit 0; \
19657 r=`${PWD_COMMAND}`; export r; \
19658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19659 $(SET_LIB_PATH) \
19660 $(HOST_EXPORTS) \
19661 for flag in $(EXTRA_HOST_FLAGS) ; do \
19662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19663 done; \
19664 echo "Doing clean in uudecode" ; \
19665 (cd uudecode && \
19666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19668 "RANLIB=$${RANLIB}" \
19669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19670 clean) \
19671 || exit 1
19673 @endif uudecode
19675 .PHONY: maybe-distclean-uudecode distclean-uudecode
19676 maybe-distclean-uudecode:
19677 @if uudecode
19678 maybe-distclean-uudecode: distclean-uudecode
19680 distclean-uudecode:
19681 @[ -f ./uudecode/Makefile ] || exit 0; \
19682 r=`${PWD_COMMAND}`; export r; \
19683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19684 $(SET_LIB_PATH) \
19685 $(HOST_EXPORTS) \
19686 for flag in $(EXTRA_HOST_FLAGS) ; do \
19687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19688 done; \
19689 echo "Doing distclean in uudecode" ; \
19690 (cd uudecode && \
19691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19693 "RANLIB=$${RANLIB}" \
19694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19695 distclean) \
19696 || exit 1
19698 @endif uudecode
19700 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19701 maybe-maintainer-clean-uudecode:
19702 @if uudecode
19703 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19705 maintainer-clean-uudecode:
19706 @[ -f ./uudecode/Makefile ] || exit 0; \
19707 r=`${PWD_COMMAND}`; export r; \
19708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19709 $(SET_LIB_PATH) \
19710 $(HOST_EXPORTS) \
19711 for flag in $(EXTRA_HOST_FLAGS) ; do \
19712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19713 done; \
19714 echo "Doing maintainer-clean in uudecode" ; \
19715 (cd uudecode && \
19716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19718 "RANLIB=$${RANLIB}" \
19719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19720 maintainer-clean) \
19721 || exit 1
19723 @endif uudecode
19726 .PHONY: configure-wdiff maybe-configure-wdiff
19727 maybe-configure-wdiff:
19728 @if wdiff
19729 maybe-configure-wdiff: configure-wdiff
19730 configure-wdiff:
19731 @test ! -f wdiff/Makefile || exit 0; \
19732 [ -d wdiff ] || mkdir wdiff; \
19733 r=`${PWD_COMMAND}`; export r; \
19734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19735 $(HOST_EXPORTS) \
19736 echo Configuring in wdiff; \
19737 cd wdiff || exit 1; \
19738 case $(srcdir) in \
19739 \.) \
19740 srcdiroption="--srcdir=."; \
19741 libsrcdir=".";; \
19742 /* | [A-Za-z]:[\\/]*) \
19743 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19744 libsrcdir="$$s/wdiff";; \
19745 *) \
19746 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19747 libsrcdir="$$s/wdiff";; \
19748 esac; \
19749 $(SHELL) $${libsrcdir}/configure \
19750 $(HOST_CONFIGARGS) $${srcdiroption} \
19751 || exit 1
19752 @endif wdiff
19754 .PHONY: all-wdiff maybe-all-wdiff
19755 maybe-all-wdiff:
19756 @if wdiff
19757 maybe-all-wdiff: all-wdiff
19758 all-wdiff: configure-wdiff
19759 @r=`${PWD_COMMAND}`; export r; \
19760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19761 $(SET_LIB_PATH) \
19762 $(HOST_EXPORTS) \
19763 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
19764 @endif wdiff
19766 .PHONY: check-wdiff maybe-check-wdiff
19767 maybe-check-wdiff:
19768 @if wdiff
19769 maybe-check-wdiff: check-wdiff
19771 check-wdiff:
19772 @r=`${PWD_COMMAND}`; export r; \
19773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19774 $(SET_LIB_PATH) \
19775 $(HOST_EXPORTS) \
19776 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19778 @endif wdiff
19780 .PHONY: install-wdiff maybe-install-wdiff
19781 maybe-install-wdiff:
19782 @if wdiff
19783 maybe-install-wdiff: install-wdiff
19785 install-wdiff: installdirs
19786 @r=`${PWD_COMMAND}`; export r; \
19787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19788 $(SET_LIB_PATH) \
19789 $(HOST_EXPORTS) \
19790 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19792 @endif wdiff
19794 # Other targets (info, dvi, etc.)
19796 .PHONY: maybe-info-wdiff info-wdiff
19797 maybe-info-wdiff:
19798 @if wdiff
19799 maybe-info-wdiff: info-wdiff
19801 info-wdiff: \
19802 configure-wdiff
19803 @[ -f ./wdiff/Makefile ] || exit 0; \
19804 r=`${PWD_COMMAND}`; export r; \
19805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19806 $(SET_LIB_PATH) \
19807 $(HOST_EXPORTS) \
19808 for flag in $(EXTRA_HOST_FLAGS) ; do \
19809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19810 done; \
19811 echo "Doing info in wdiff" ; \
19812 (cd wdiff && \
19813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19815 "RANLIB=$${RANLIB}" \
19816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19817 info) \
19818 || exit 1
19820 @endif wdiff
19822 .PHONY: maybe-dvi-wdiff dvi-wdiff
19823 maybe-dvi-wdiff:
19824 @if wdiff
19825 maybe-dvi-wdiff: dvi-wdiff
19827 dvi-wdiff: \
19828 configure-wdiff
19829 @[ -f ./wdiff/Makefile ] || exit 0; \
19830 r=`${PWD_COMMAND}`; export r; \
19831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19832 $(SET_LIB_PATH) \
19833 $(HOST_EXPORTS) \
19834 for flag in $(EXTRA_HOST_FLAGS) ; do \
19835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19836 done; \
19837 echo "Doing dvi in wdiff" ; \
19838 (cd wdiff && \
19839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19841 "RANLIB=$${RANLIB}" \
19842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19843 dvi) \
19844 || exit 1
19846 @endif wdiff
19848 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19849 maybe-TAGS-wdiff:
19850 @if wdiff
19851 maybe-TAGS-wdiff: TAGS-wdiff
19853 TAGS-wdiff: \
19854 configure-wdiff
19855 @[ -f ./wdiff/Makefile ] || exit 0; \
19856 r=`${PWD_COMMAND}`; export r; \
19857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19858 $(SET_LIB_PATH) \
19859 $(HOST_EXPORTS) \
19860 for flag in $(EXTRA_HOST_FLAGS) ; do \
19861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19862 done; \
19863 echo "Doing TAGS in wdiff" ; \
19864 (cd wdiff && \
19865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19867 "RANLIB=$${RANLIB}" \
19868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19869 TAGS) \
19870 || exit 1
19872 @endif wdiff
19874 .PHONY: maybe-install-info-wdiff install-info-wdiff
19875 maybe-install-info-wdiff:
19876 @if wdiff
19877 maybe-install-info-wdiff: install-info-wdiff
19879 install-info-wdiff: \
19880 configure-wdiff \
19881 info-wdiff
19882 @[ -f ./wdiff/Makefile ] || exit 0; \
19883 r=`${PWD_COMMAND}`; export r; \
19884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19885 $(SET_LIB_PATH) \
19886 $(HOST_EXPORTS) \
19887 for flag in $(EXTRA_HOST_FLAGS) ; do \
19888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19889 done; \
19890 echo "Doing install-info in wdiff" ; \
19891 (cd wdiff && \
19892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19894 "RANLIB=$${RANLIB}" \
19895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19896 install-info) \
19897 || exit 1
19899 @endif wdiff
19901 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19902 maybe-installcheck-wdiff:
19903 @if wdiff
19904 maybe-installcheck-wdiff: installcheck-wdiff
19906 installcheck-wdiff: \
19907 configure-wdiff
19908 @[ -f ./wdiff/Makefile ] || exit 0; \
19909 r=`${PWD_COMMAND}`; export r; \
19910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19911 $(SET_LIB_PATH) \
19912 $(HOST_EXPORTS) \
19913 for flag in $(EXTRA_HOST_FLAGS) ; do \
19914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19915 done; \
19916 echo "Doing installcheck in wdiff" ; \
19917 (cd wdiff && \
19918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19920 "RANLIB=$${RANLIB}" \
19921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19922 installcheck) \
19923 || exit 1
19925 @endif wdiff
19927 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19928 maybe-mostlyclean-wdiff:
19929 @if wdiff
19930 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19932 mostlyclean-wdiff:
19933 @[ -f ./wdiff/Makefile ] || exit 0; \
19934 r=`${PWD_COMMAND}`; export r; \
19935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19936 $(SET_LIB_PATH) \
19937 $(HOST_EXPORTS) \
19938 for flag in $(EXTRA_HOST_FLAGS) ; do \
19939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19940 done; \
19941 echo "Doing mostlyclean in wdiff" ; \
19942 (cd wdiff && \
19943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19945 "RANLIB=$${RANLIB}" \
19946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19947 mostlyclean) \
19948 || exit 1
19950 @endif wdiff
19952 .PHONY: maybe-clean-wdiff clean-wdiff
19953 maybe-clean-wdiff:
19954 @if wdiff
19955 maybe-clean-wdiff: clean-wdiff
19957 clean-wdiff:
19958 @[ -f ./wdiff/Makefile ] || exit 0; \
19959 r=`${PWD_COMMAND}`; export r; \
19960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19961 $(SET_LIB_PATH) \
19962 $(HOST_EXPORTS) \
19963 for flag in $(EXTRA_HOST_FLAGS) ; do \
19964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19965 done; \
19966 echo "Doing clean in wdiff" ; \
19967 (cd wdiff && \
19968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19970 "RANLIB=$${RANLIB}" \
19971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19972 clean) \
19973 || exit 1
19975 @endif wdiff
19977 .PHONY: maybe-distclean-wdiff distclean-wdiff
19978 maybe-distclean-wdiff:
19979 @if wdiff
19980 maybe-distclean-wdiff: distclean-wdiff
19982 distclean-wdiff:
19983 @[ -f ./wdiff/Makefile ] || exit 0; \
19984 r=`${PWD_COMMAND}`; export r; \
19985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19986 $(SET_LIB_PATH) \
19987 $(HOST_EXPORTS) \
19988 for flag in $(EXTRA_HOST_FLAGS) ; do \
19989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19990 done; \
19991 echo "Doing distclean in wdiff" ; \
19992 (cd wdiff && \
19993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19995 "RANLIB=$${RANLIB}" \
19996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19997 distclean) \
19998 || exit 1
20000 @endif wdiff
20002 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
20003 maybe-maintainer-clean-wdiff:
20004 @if wdiff
20005 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
20007 maintainer-clean-wdiff:
20008 @[ -f ./wdiff/Makefile ] || exit 0; \
20009 r=`${PWD_COMMAND}`; export r; \
20010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20011 $(SET_LIB_PATH) \
20012 $(HOST_EXPORTS) \
20013 for flag in $(EXTRA_HOST_FLAGS) ; do \
20014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20015 done; \
20016 echo "Doing maintainer-clean in wdiff" ; \
20017 (cd wdiff && \
20018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20020 "RANLIB=$${RANLIB}" \
20021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20022 maintainer-clean) \
20023 || exit 1
20025 @endif wdiff
20028 .PHONY: configure-zip maybe-configure-zip
20029 maybe-configure-zip:
20030 @if zip
20031 maybe-configure-zip: configure-zip
20032 configure-zip:
20033 @test ! -f zip/Makefile || exit 0; \
20034 [ -d zip ] || mkdir zip; \
20035 r=`${PWD_COMMAND}`; export r; \
20036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20037 $(HOST_EXPORTS) \
20038 echo Configuring in zip; \
20039 cd zip || exit 1; \
20040 case $(srcdir) in \
20041 \.) \
20042 srcdiroption="--srcdir=."; \
20043 libsrcdir=".";; \
20044 /* | [A-Za-z]:[\\/]*) \
20045 srcdiroption="--srcdir=$(srcdir)/zip"; \
20046 libsrcdir="$$s/zip";; \
20047 *) \
20048 srcdiroption="--srcdir=../$(srcdir)/zip"; \
20049 libsrcdir="$$s/zip";; \
20050 esac; \
20051 $(SHELL) $${libsrcdir}/configure \
20052 $(HOST_CONFIGARGS) $${srcdiroption} \
20053 || exit 1
20054 @endif zip
20056 .PHONY: all-zip maybe-all-zip
20057 maybe-all-zip:
20058 @if zip
20059 maybe-all-zip: all-zip
20060 all-zip: configure-zip
20061 @r=`${PWD_COMMAND}`; export r; \
20062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20063 $(SET_LIB_PATH) \
20064 $(HOST_EXPORTS) \
20065 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
20066 @endif zip
20068 .PHONY: check-zip maybe-check-zip
20069 maybe-check-zip:
20070 @if zip
20071 maybe-check-zip: check-zip
20073 # This module is only tested in a native toolchain.
20074 check-zip:
20075 @if [ '$(host)' = '$(target)' ] ; then \
20076 r=`${PWD_COMMAND}`; export r; \
20077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20078 $(SET_LIB_PATH) \
20079 $(HOST_EXPORTS) \
20080 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
20083 @endif zip
20085 .PHONY: install-zip maybe-install-zip
20086 maybe-install-zip:
20087 @if zip
20088 maybe-install-zip: install-zip
20090 install-zip: installdirs
20091 @r=`${PWD_COMMAND}`; export r; \
20092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20093 $(SET_LIB_PATH) \
20094 $(HOST_EXPORTS) \
20095 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
20097 @endif zip
20099 # Other targets (info, dvi, etc.)
20101 .PHONY: maybe-info-zip info-zip
20102 maybe-info-zip:
20103 @if zip
20104 maybe-info-zip: info-zip
20106 info-zip: \
20107 configure-zip
20108 @[ -f ./zip/Makefile ] || exit 0; \
20109 r=`${PWD_COMMAND}`; export r; \
20110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20111 $(SET_LIB_PATH) \
20112 $(HOST_EXPORTS) \
20113 for flag in $(EXTRA_HOST_FLAGS) ; do \
20114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20115 done; \
20116 echo "Doing info in zip" ; \
20117 (cd zip && \
20118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20120 "RANLIB=$${RANLIB}" \
20121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20122 info) \
20123 || exit 1
20125 @endif zip
20127 .PHONY: maybe-dvi-zip dvi-zip
20128 maybe-dvi-zip:
20129 @if zip
20130 maybe-dvi-zip: dvi-zip
20132 dvi-zip: \
20133 configure-zip
20134 @[ -f ./zip/Makefile ] || exit 0; \
20135 r=`${PWD_COMMAND}`; export r; \
20136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20137 $(SET_LIB_PATH) \
20138 $(HOST_EXPORTS) \
20139 for flag in $(EXTRA_HOST_FLAGS) ; do \
20140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20141 done; \
20142 echo "Doing dvi in zip" ; \
20143 (cd zip && \
20144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20146 "RANLIB=$${RANLIB}" \
20147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20148 dvi) \
20149 || exit 1
20151 @endif zip
20153 .PHONY: maybe-TAGS-zip TAGS-zip
20154 maybe-TAGS-zip:
20155 @if zip
20156 maybe-TAGS-zip: TAGS-zip
20158 TAGS-zip: \
20159 configure-zip
20160 @[ -f ./zip/Makefile ] || exit 0; \
20161 r=`${PWD_COMMAND}`; export r; \
20162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20163 $(SET_LIB_PATH) \
20164 $(HOST_EXPORTS) \
20165 for flag in $(EXTRA_HOST_FLAGS) ; do \
20166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20167 done; \
20168 echo "Doing TAGS in zip" ; \
20169 (cd zip && \
20170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20172 "RANLIB=$${RANLIB}" \
20173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20174 TAGS) \
20175 || exit 1
20177 @endif zip
20179 .PHONY: maybe-install-info-zip install-info-zip
20180 maybe-install-info-zip:
20181 @if zip
20182 maybe-install-info-zip: install-info-zip
20184 install-info-zip: \
20185 configure-zip \
20186 info-zip
20187 @[ -f ./zip/Makefile ] || exit 0; \
20188 r=`${PWD_COMMAND}`; export r; \
20189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20190 $(SET_LIB_PATH) \
20191 $(HOST_EXPORTS) \
20192 for flag in $(EXTRA_HOST_FLAGS) ; do \
20193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20194 done; \
20195 echo "Doing install-info in zip" ; \
20196 (cd zip && \
20197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20199 "RANLIB=$${RANLIB}" \
20200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20201 install-info) \
20202 || exit 1
20204 @endif zip
20206 .PHONY: maybe-installcheck-zip installcheck-zip
20207 maybe-installcheck-zip:
20208 @if zip
20209 maybe-installcheck-zip: installcheck-zip
20211 installcheck-zip: \
20212 configure-zip
20213 @[ -f ./zip/Makefile ] || exit 0; \
20214 r=`${PWD_COMMAND}`; export r; \
20215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20216 $(SET_LIB_PATH) \
20217 $(HOST_EXPORTS) \
20218 for flag in $(EXTRA_HOST_FLAGS) ; do \
20219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20220 done; \
20221 echo "Doing installcheck in zip" ; \
20222 (cd zip && \
20223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20225 "RANLIB=$${RANLIB}" \
20226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20227 installcheck) \
20228 || exit 1
20230 @endif zip
20232 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
20233 maybe-mostlyclean-zip:
20234 @if zip
20235 maybe-mostlyclean-zip: mostlyclean-zip
20237 mostlyclean-zip:
20238 @[ -f ./zip/Makefile ] || exit 0; \
20239 r=`${PWD_COMMAND}`; export r; \
20240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20241 $(SET_LIB_PATH) \
20242 $(HOST_EXPORTS) \
20243 for flag in $(EXTRA_HOST_FLAGS) ; do \
20244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20245 done; \
20246 echo "Doing mostlyclean in zip" ; \
20247 (cd zip && \
20248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20250 "RANLIB=$${RANLIB}" \
20251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20252 mostlyclean) \
20253 || exit 1
20255 @endif zip
20257 .PHONY: maybe-clean-zip clean-zip
20258 maybe-clean-zip:
20259 @if zip
20260 maybe-clean-zip: clean-zip
20262 clean-zip:
20263 @[ -f ./zip/Makefile ] || exit 0; \
20264 r=`${PWD_COMMAND}`; export r; \
20265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20266 $(SET_LIB_PATH) \
20267 $(HOST_EXPORTS) \
20268 for flag in $(EXTRA_HOST_FLAGS) ; do \
20269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20270 done; \
20271 echo "Doing clean in zip" ; \
20272 (cd zip && \
20273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20275 "RANLIB=$${RANLIB}" \
20276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20277 clean) \
20278 || exit 1
20280 @endif zip
20282 .PHONY: maybe-distclean-zip distclean-zip
20283 maybe-distclean-zip:
20284 @if zip
20285 maybe-distclean-zip: distclean-zip
20287 distclean-zip:
20288 @[ -f ./zip/Makefile ] || exit 0; \
20289 r=`${PWD_COMMAND}`; export r; \
20290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20291 $(SET_LIB_PATH) \
20292 $(HOST_EXPORTS) \
20293 for flag in $(EXTRA_HOST_FLAGS) ; do \
20294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20295 done; \
20296 echo "Doing distclean in zip" ; \
20297 (cd zip && \
20298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20300 "RANLIB=$${RANLIB}" \
20301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20302 distclean) \
20303 || exit 1
20305 @endif zip
20307 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
20308 maybe-maintainer-clean-zip:
20309 @if zip
20310 maybe-maintainer-clean-zip: maintainer-clean-zip
20312 maintainer-clean-zip:
20313 @[ -f ./zip/Makefile ] || exit 0; \
20314 r=`${PWD_COMMAND}`; export r; \
20315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20316 $(SET_LIB_PATH) \
20317 $(HOST_EXPORTS) \
20318 for flag in $(EXTRA_HOST_FLAGS) ; do \
20319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20320 done; \
20321 echo "Doing maintainer-clean in zip" ; \
20322 (cd zip && \
20323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20325 "RANLIB=$${RANLIB}" \
20326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20327 maintainer-clean) \
20328 || exit 1
20330 @endif zip
20333 .PHONY: configure-zlib maybe-configure-zlib
20334 maybe-configure-zlib:
20335 @if zlib
20336 maybe-configure-zlib: configure-zlib
20337 configure-zlib:
20338 @test -f stage_last && exit 0; \
20339 test ! -f zlib/Makefile || exit 0; \
20340 [ -d zlib ] || mkdir zlib; \
20341 r=`${PWD_COMMAND}`; export r; \
20342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20343 $(HOST_EXPORTS) \
20344 echo Configuring in zlib; \
20345 cd zlib || exit 1; \
20346 case $(srcdir) in \
20347 \.) \
20348 srcdiroption="--srcdir=."; \
20349 libsrcdir=".";; \
20350 /* | [A-Za-z]:[\\/]*) \
20351 srcdiroption="--srcdir=$(srcdir)/zlib"; \
20352 libsrcdir="$$s/zlib";; \
20353 *) \
20354 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
20355 libsrcdir="$$s/zlib";; \
20356 esac; \
20357 $(SHELL) $${libsrcdir}/configure \
20358 $(HOST_CONFIGARGS) $${srcdiroption} \
20359 || exit 1
20360 @endif zlib
20362 .PHONY: all-zlib maybe-all-zlib
20363 maybe-all-zlib:
20364 @if zlib
20365 maybe-all-zlib: all-zlib
20366 all-zlib: configure-zlib
20367 @test -f stage_last && exit 0; \
20368 r=`${PWD_COMMAND}`; export r; \
20369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20370 $(SET_LIB_PATH) \
20371 $(HOST_EXPORTS) \
20372 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
20373 @endif zlib
20375 .PHONY: check-zlib maybe-check-zlib
20376 maybe-check-zlib:
20377 @if zlib
20378 maybe-check-zlib: check-zlib
20380 check-zlib:
20382 @endif zlib
20384 .PHONY: install-zlib maybe-install-zlib
20385 maybe-install-zlib:
20386 @if zlib
20387 maybe-install-zlib: install-zlib
20389 install-zlib:
20391 @endif zlib
20393 # Other targets (info, dvi, etc.)
20395 .PHONY: maybe-info-zlib info-zlib
20396 maybe-info-zlib:
20397 @if zlib
20398 maybe-info-zlib: info-zlib
20400 info-zlib: \
20401 configure-zlib
20402 @[ -f ./zlib/Makefile ] || exit 0; \
20403 r=`${PWD_COMMAND}`; export r; \
20404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20405 $(SET_LIB_PATH) \
20406 $(HOST_EXPORTS) \
20407 for flag in $(EXTRA_HOST_FLAGS) ; do \
20408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20409 done; \
20410 echo "Doing info in zlib" ; \
20411 (cd zlib && \
20412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20414 "RANLIB=$${RANLIB}" \
20415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20416 info) \
20417 || exit 1
20419 @endif zlib
20421 .PHONY: maybe-dvi-zlib dvi-zlib
20422 maybe-dvi-zlib:
20423 @if zlib
20424 maybe-dvi-zlib: dvi-zlib
20426 dvi-zlib: \
20427 configure-zlib
20428 @[ -f ./zlib/Makefile ] || exit 0; \
20429 r=`${PWD_COMMAND}`; export r; \
20430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20431 $(SET_LIB_PATH) \
20432 $(HOST_EXPORTS) \
20433 for flag in $(EXTRA_HOST_FLAGS) ; do \
20434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20435 done; \
20436 echo "Doing dvi in zlib" ; \
20437 (cd zlib && \
20438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20440 "RANLIB=$${RANLIB}" \
20441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20442 dvi) \
20443 || exit 1
20445 @endif zlib
20447 .PHONY: maybe-TAGS-zlib TAGS-zlib
20448 maybe-TAGS-zlib:
20449 @if zlib
20450 maybe-TAGS-zlib: TAGS-zlib
20452 TAGS-zlib: \
20453 configure-zlib
20454 @[ -f ./zlib/Makefile ] || exit 0; \
20455 r=`${PWD_COMMAND}`; export r; \
20456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20457 $(SET_LIB_PATH) \
20458 $(HOST_EXPORTS) \
20459 for flag in $(EXTRA_HOST_FLAGS) ; do \
20460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20461 done; \
20462 echo "Doing TAGS in zlib" ; \
20463 (cd zlib && \
20464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20466 "RANLIB=$${RANLIB}" \
20467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20468 TAGS) \
20469 || exit 1
20471 @endif zlib
20473 .PHONY: maybe-install-info-zlib install-info-zlib
20474 maybe-install-info-zlib:
20475 @if zlib
20476 maybe-install-info-zlib: install-info-zlib
20478 install-info-zlib: \
20479 configure-zlib \
20480 info-zlib
20481 @[ -f ./zlib/Makefile ] || exit 0; \
20482 r=`${PWD_COMMAND}`; export r; \
20483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20484 $(SET_LIB_PATH) \
20485 $(HOST_EXPORTS) \
20486 for flag in $(EXTRA_HOST_FLAGS) ; do \
20487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20488 done; \
20489 echo "Doing install-info in zlib" ; \
20490 (cd zlib && \
20491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20493 "RANLIB=$${RANLIB}" \
20494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20495 install-info) \
20496 || exit 1
20498 @endif zlib
20500 .PHONY: maybe-installcheck-zlib installcheck-zlib
20501 maybe-installcheck-zlib:
20502 @if zlib
20503 maybe-installcheck-zlib: installcheck-zlib
20505 installcheck-zlib: \
20506 configure-zlib
20507 @[ -f ./zlib/Makefile ] || exit 0; \
20508 r=`${PWD_COMMAND}`; export r; \
20509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20510 $(SET_LIB_PATH) \
20511 $(HOST_EXPORTS) \
20512 for flag in $(EXTRA_HOST_FLAGS) ; do \
20513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20514 done; \
20515 echo "Doing installcheck in zlib" ; \
20516 (cd zlib && \
20517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20519 "RANLIB=$${RANLIB}" \
20520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20521 installcheck) \
20522 || exit 1
20524 @endif zlib
20526 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
20527 maybe-mostlyclean-zlib:
20528 @if zlib
20529 maybe-mostlyclean-zlib: mostlyclean-zlib
20531 mostlyclean-zlib:
20532 @[ -f ./zlib/Makefile ] || exit 0; \
20533 r=`${PWD_COMMAND}`; export r; \
20534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20535 $(SET_LIB_PATH) \
20536 $(HOST_EXPORTS) \
20537 for flag in $(EXTRA_HOST_FLAGS) ; do \
20538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20539 done; \
20540 echo "Doing mostlyclean in zlib" ; \
20541 (cd zlib && \
20542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20544 "RANLIB=$${RANLIB}" \
20545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20546 mostlyclean) \
20547 || exit 1
20549 @endif zlib
20551 .PHONY: maybe-clean-zlib clean-zlib
20552 maybe-clean-zlib:
20553 @if zlib
20554 maybe-clean-zlib: clean-zlib
20556 clean-zlib:
20557 @[ -f ./zlib/Makefile ] || exit 0; \
20558 r=`${PWD_COMMAND}`; export r; \
20559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20560 $(SET_LIB_PATH) \
20561 $(HOST_EXPORTS) \
20562 for flag in $(EXTRA_HOST_FLAGS) ; do \
20563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20564 done; \
20565 echo "Doing clean in zlib" ; \
20566 (cd zlib && \
20567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20569 "RANLIB=$${RANLIB}" \
20570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20571 clean) \
20572 || exit 1
20574 @endif zlib
20576 .PHONY: maybe-distclean-zlib distclean-zlib
20577 maybe-distclean-zlib:
20578 @if zlib
20579 maybe-distclean-zlib: distclean-zlib
20581 distclean-zlib:
20582 @[ -f ./zlib/Makefile ] || exit 0; \
20583 r=`${PWD_COMMAND}`; export r; \
20584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20585 $(SET_LIB_PATH) \
20586 $(HOST_EXPORTS) \
20587 for flag in $(EXTRA_HOST_FLAGS) ; do \
20588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20589 done; \
20590 echo "Doing distclean in zlib" ; \
20591 (cd zlib && \
20592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20594 "RANLIB=$${RANLIB}" \
20595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20596 distclean) \
20597 || exit 1
20599 @endif zlib
20601 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
20602 maybe-maintainer-clean-zlib:
20603 @if zlib
20604 maybe-maintainer-clean-zlib: maintainer-clean-zlib
20606 maintainer-clean-zlib:
20607 @[ -f ./zlib/Makefile ] || exit 0; \
20608 r=`${PWD_COMMAND}`; export r; \
20609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20610 $(SET_LIB_PATH) \
20611 $(HOST_EXPORTS) \
20612 for flag in $(EXTRA_HOST_FLAGS) ; do \
20613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20614 done; \
20615 echo "Doing maintainer-clean in zlib" ; \
20616 (cd zlib && \
20617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20619 "RANLIB=$${RANLIB}" \
20620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20621 maintainer-clean) \
20622 || exit 1
20624 @endif zlib
20627 .PHONY: configure-gdb maybe-configure-gdb
20628 maybe-configure-gdb:
20629 @if gdb
20630 maybe-configure-gdb: configure-gdb
20631 configure-gdb:
20632 @test ! -f gdb/Makefile || exit 0; \
20633 [ -d gdb ] || mkdir gdb; \
20634 r=`${PWD_COMMAND}`; export r; \
20635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20636 $(HOST_EXPORTS) \
20637 echo Configuring in gdb; \
20638 cd gdb || exit 1; \
20639 case $(srcdir) in \
20640 \.) \
20641 srcdiroption="--srcdir=."; \
20642 libsrcdir=".";; \
20643 /* | [A-Za-z]:[\\/]*) \
20644 srcdiroption="--srcdir=$(srcdir)/gdb"; \
20645 libsrcdir="$$s/gdb";; \
20646 *) \
20647 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
20648 libsrcdir="$$s/gdb";; \
20649 esac; \
20650 $(SHELL) $${libsrcdir}/configure \
20651 $(HOST_CONFIGARGS) $${srcdiroption} \
20652 || exit 1
20653 @endif gdb
20655 .PHONY: all-gdb maybe-all-gdb
20656 maybe-all-gdb:
20657 @if gdb
20658 maybe-all-gdb: all-gdb
20659 all-gdb: configure-gdb
20660 @r=`${PWD_COMMAND}`; export r; \
20661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20662 $(SET_LIB_PATH) \
20663 $(HOST_EXPORTS) \
20664 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20665 @endif gdb
20667 .PHONY: check-gdb maybe-check-gdb
20668 maybe-check-gdb:
20669 @if gdb
20670 maybe-check-gdb: check-gdb
20672 check-gdb:
20673 @r=`${PWD_COMMAND}`; export r; \
20674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20675 $(SET_LIB_PATH) \
20676 $(HOST_EXPORTS) \
20677 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20679 @endif gdb
20681 .PHONY: install-gdb maybe-install-gdb
20682 maybe-install-gdb:
20683 @if gdb
20684 maybe-install-gdb: install-gdb
20686 install-gdb: installdirs
20687 @r=`${PWD_COMMAND}`; export r; \
20688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20689 $(SET_LIB_PATH) \
20690 $(HOST_EXPORTS) \
20691 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20693 @endif gdb
20695 # Other targets (info, dvi, etc.)
20697 .PHONY: maybe-info-gdb info-gdb
20698 maybe-info-gdb:
20699 @if gdb
20700 maybe-info-gdb: info-gdb
20702 info-gdb: \
20703 configure-gdb
20704 @[ -f ./gdb/Makefile ] || exit 0; \
20705 r=`${PWD_COMMAND}`; export r; \
20706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20707 $(SET_LIB_PATH) \
20708 $(HOST_EXPORTS) \
20709 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20711 done; \
20712 echo "Doing info in gdb" ; \
20713 (cd gdb && \
20714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20716 "RANLIB=$${RANLIB}" \
20717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20718 info) \
20719 || exit 1
20721 @endif gdb
20723 .PHONY: maybe-dvi-gdb dvi-gdb
20724 maybe-dvi-gdb:
20725 @if gdb
20726 maybe-dvi-gdb: dvi-gdb
20728 dvi-gdb: \
20729 configure-gdb
20730 @[ -f ./gdb/Makefile ] || exit 0; \
20731 r=`${PWD_COMMAND}`; export r; \
20732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20733 $(SET_LIB_PATH) \
20734 $(HOST_EXPORTS) \
20735 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20737 done; \
20738 echo "Doing dvi in gdb" ; \
20739 (cd gdb && \
20740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20742 "RANLIB=$${RANLIB}" \
20743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20744 dvi) \
20745 || exit 1
20747 @endif gdb
20749 .PHONY: maybe-TAGS-gdb TAGS-gdb
20750 maybe-TAGS-gdb:
20751 @if gdb
20752 maybe-TAGS-gdb: TAGS-gdb
20754 TAGS-gdb: \
20755 configure-gdb
20756 @[ -f ./gdb/Makefile ] || exit 0; \
20757 r=`${PWD_COMMAND}`; export r; \
20758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20759 $(SET_LIB_PATH) \
20760 $(HOST_EXPORTS) \
20761 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20763 done; \
20764 echo "Doing TAGS in gdb" ; \
20765 (cd gdb && \
20766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20768 "RANLIB=$${RANLIB}" \
20769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20770 TAGS) \
20771 || exit 1
20773 @endif gdb
20775 .PHONY: maybe-install-info-gdb install-info-gdb
20776 maybe-install-info-gdb:
20777 @if gdb
20778 maybe-install-info-gdb: install-info-gdb
20780 install-info-gdb: \
20781 configure-gdb \
20782 info-gdb
20783 @[ -f ./gdb/Makefile ] || exit 0; \
20784 r=`${PWD_COMMAND}`; export r; \
20785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20786 $(SET_LIB_PATH) \
20787 $(HOST_EXPORTS) \
20788 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20790 done; \
20791 echo "Doing install-info in gdb" ; \
20792 (cd gdb && \
20793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20795 "RANLIB=$${RANLIB}" \
20796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20797 install-info) \
20798 || exit 1
20800 @endif gdb
20802 .PHONY: maybe-installcheck-gdb installcheck-gdb
20803 maybe-installcheck-gdb:
20804 @if gdb
20805 maybe-installcheck-gdb: installcheck-gdb
20807 installcheck-gdb: \
20808 configure-gdb
20809 @[ -f ./gdb/Makefile ] || exit 0; \
20810 r=`${PWD_COMMAND}`; export r; \
20811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20812 $(SET_LIB_PATH) \
20813 $(HOST_EXPORTS) \
20814 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20816 done; \
20817 echo "Doing installcheck in gdb" ; \
20818 (cd gdb && \
20819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20821 "RANLIB=$${RANLIB}" \
20822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20823 installcheck) \
20824 || exit 1
20826 @endif gdb
20828 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20829 maybe-mostlyclean-gdb:
20830 @if gdb
20831 maybe-mostlyclean-gdb: mostlyclean-gdb
20833 mostlyclean-gdb:
20834 @[ -f ./gdb/Makefile ] || exit 0; \
20835 r=`${PWD_COMMAND}`; export r; \
20836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20837 $(SET_LIB_PATH) \
20838 $(HOST_EXPORTS) \
20839 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20841 done; \
20842 echo "Doing mostlyclean in gdb" ; \
20843 (cd gdb && \
20844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20846 "RANLIB=$${RANLIB}" \
20847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20848 mostlyclean) \
20849 || exit 1
20851 @endif gdb
20853 .PHONY: maybe-clean-gdb clean-gdb
20854 maybe-clean-gdb:
20855 @if gdb
20856 maybe-clean-gdb: clean-gdb
20858 clean-gdb:
20859 @[ -f ./gdb/Makefile ] || exit 0; \
20860 r=`${PWD_COMMAND}`; export r; \
20861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20862 $(SET_LIB_PATH) \
20863 $(HOST_EXPORTS) \
20864 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20866 done; \
20867 echo "Doing clean in gdb" ; \
20868 (cd gdb && \
20869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20871 "RANLIB=$${RANLIB}" \
20872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20873 clean) \
20874 || exit 1
20876 @endif gdb
20878 .PHONY: maybe-distclean-gdb distclean-gdb
20879 maybe-distclean-gdb:
20880 @if gdb
20881 maybe-distclean-gdb: distclean-gdb
20883 distclean-gdb:
20884 @[ -f ./gdb/Makefile ] || exit 0; \
20885 r=`${PWD_COMMAND}`; export r; \
20886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20887 $(SET_LIB_PATH) \
20888 $(HOST_EXPORTS) \
20889 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20891 done; \
20892 echo "Doing distclean in gdb" ; \
20893 (cd gdb && \
20894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20896 "RANLIB=$${RANLIB}" \
20897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20898 distclean) \
20899 || exit 1
20901 @endif gdb
20903 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20904 maybe-maintainer-clean-gdb:
20905 @if gdb
20906 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20908 maintainer-clean-gdb:
20909 @[ -f ./gdb/Makefile ] || exit 0; \
20910 r=`${PWD_COMMAND}`; export r; \
20911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20912 $(SET_LIB_PATH) \
20913 $(HOST_EXPORTS) \
20914 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20916 done; \
20917 echo "Doing maintainer-clean in gdb" ; \
20918 (cd gdb && \
20919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20921 "RANLIB=$${RANLIB}" \
20922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20923 maintainer-clean) \
20924 || exit 1
20926 @endif gdb
20929 .PHONY: configure-expect maybe-configure-expect
20930 maybe-configure-expect:
20931 @if expect
20932 maybe-configure-expect: configure-expect
20933 configure-expect:
20934 @test ! -f expect/Makefile || exit 0; \
20935 [ -d expect ] || mkdir expect; \
20936 r=`${PWD_COMMAND}`; export r; \
20937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20938 $(HOST_EXPORTS) \
20939 echo Configuring in expect; \
20940 cd expect || exit 1; \
20941 case $(srcdir) in \
20942 \.) \
20943 srcdiroption="--srcdir=."; \
20944 libsrcdir=".";; \
20945 /* | [A-Za-z]:[\\/]*) \
20946 srcdiroption="--srcdir=$(srcdir)/expect"; \
20947 libsrcdir="$$s/expect";; \
20948 *) \
20949 srcdiroption="--srcdir=../$(srcdir)/expect"; \
20950 libsrcdir="$$s/expect";; \
20951 esac; \
20952 $(SHELL) $${libsrcdir}/configure \
20953 $(HOST_CONFIGARGS) $${srcdiroption} \
20954 || exit 1
20955 @endif expect
20957 .PHONY: all-expect maybe-all-expect
20958 maybe-all-expect:
20959 @if expect
20960 maybe-all-expect: all-expect
20961 all-expect: configure-expect
20962 @r=`${PWD_COMMAND}`; export r; \
20963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20964 $(SET_LIB_PATH) \
20965 $(HOST_EXPORTS) \
20966 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20967 @endif expect
20969 .PHONY: check-expect maybe-check-expect
20970 maybe-check-expect:
20971 @if expect
20972 maybe-check-expect: check-expect
20974 check-expect:
20975 @r=`${PWD_COMMAND}`; export r; \
20976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20977 $(SET_LIB_PATH) \
20978 $(HOST_EXPORTS) \
20979 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20981 @endif expect
20983 .PHONY: install-expect maybe-install-expect
20984 maybe-install-expect:
20985 @if expect
20986 maybe-install-expect: install-expect
20988 install-expect: installdirs
20989 @r=`${PWD_COMMAND}`; export r; \
20990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20991 $(SET_LIB_PATH) \
20992 $(HOST_EXPORTS) \
20993 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20995 @endif expect
20997 # Other targets (info, dvi, etc.)
20999 .PHONY: maybe-info-expect info-expect
21000 maybe-info-expect:
21001 @if expect
21002 maybe-info-expect: info-expect
21004 info-expect: \
21005 configure-expect
21006 @[ -f ./expect/Makefile ] || exit 0; \
21007 r=`${PWD_COMMAND}`; export r; \
21008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21009 $(SET_LIB_PATH) \
21010 $(HOST_EXPORTS) \
21011 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21013 done; \
21014 echo "Doing info in expect" ; \
21015 (cd expect && \
21016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21018 "RANLIB=$${RANLIB}" \
21019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21020 info) \
21021 || exit 1
21023 @endif expect
21025 .PHONY: maybe-dvi-expect dvi-expect
21026 maybe-dvi-expect:
21027 @if expect
21028 maybe-dvi-expect: dvi-expect
21030 dvi-expect: \
21031 configure-expect
21032 @[ -f ./expect/Makefile ] || exit 0; \
21033 r=`${PWD_COMMAND}`; export r; \
21034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21035 $(SET_LIB_PATH) \
21036 $(HOST_EXPORTS) \
21037 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21039 done; \
21040 echo "Doing dvi in expect" ; \
21041 (cd expect && \
21042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21044 "RANLIB=$${RANLIB}" \
21045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21046 dvi) \
21047 || exit 1
21049 @endif expect
21051 .PHONY: maybe-TAGS-expect TAGS-expect
21052 maybe-TAGS-expect:
21053 @if expect
21054 maybe-TAGS-expect: TAGS-expect
21056 TAGS-expect: \
21057 configure-expect
21058 @[ -f ./expect/Makefile ] || exit 0; \
21059 r=`${PWD_COMMAND}`; export r; \
21060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21061 $(SET_LIB_PATH) \
21062 $(HOST_EXPORTS) \
21063 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21065 done; \
21066 echo "Doing TAGS in expect" ; \
21067 (cd expect && \
21068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21070 "RANLIB=$${RANLIB}" \
21071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21072 TAGS) \
21073 || exit 1
21075 @endif expect
21077 .PHONY: maybe-install-info-expect install-info-expect
21078 maybe-install-info-expect:
21079 @if expect
21080 maybe-install-info-expect: install-info-expect
21082 install-info-expect: \
21083 configure-expect \
21084 info-expect
21085 @[ -f ./expect/Makefile ] || exit 0; \
21086 r=`${PWD_COMMAND}`; export r; \
21087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21088 $(SET_LIB_PATH) \
21089 $(HOST_EXPORTS) \
21090 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21092 done; \
21093 echo "Doing install-info in expect" ; \
21094 (cd expect && \
21095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21097 "RANLIB=$${RANLIB}" \
21098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21099 install-info) \
21100 || exit 1
21102 @endif expect
21104 .PHONY: maybe-installcheck-expect installcheck-expect
21105 maybe-installcheck-expect:
21106 @if expect
21107 maybe-installcheck-expect: installcheck-expect
21109 installcheck-expect: \
21110 configure-expect
21111 @[ -f ./expect/Makefile ] || exit 0; \
21112 r=`${PWD_COMMAND}`; export r; \
21113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21114 $(SET_LIB_PATH) \
21115 $(HOST_EXPORTS) \
21116 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21118 done; \
21119 echo "Doing installcheck in expect" ; \
21120 (cd expect && \
21121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21123 "RANLIB=$${RANLIB}" \
21124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21125 installcheck) \
21126 || exit 1
21128 @endif expect
21130 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
21131 maybe-mostlyclean-expect:
21132 @if expect
21133 maybe-mostlyclean-expect: mostlyclean-expect
21135 mostlyclean-expect:
21136 @[ -f ./expect/Makefile ] || exit 0; \
21137 r=`${PWD_COMMAND}`; export r; \
21138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21139 $(SET_LIB_PATH) \
21140 $(HOST_EXPORTS) \
21141 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21143 done; \
21144 echo "Doing mostlyclean in expect" ; \
21145 (cd expect && \
21146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21148 "RANLIB=$${RANLIB}" \
21149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21150 mostlyclean) \
21151 || exit 1
21153 @endif expect
21155 .PHONY: maybe-clean-expect clean-expect
21156 maybe-clean-expect:
21157 @if expect
21158 maybe-clean-expect: clean-expect
21160 clean-expect:
21161 @[ -f ./expect/Makefile ] || exit 0; \
21162 r=`${PWD_COMMAND}`; export r; \
21163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21164 $(SET_LIB_PATH) \
21165 $(HOST_EXPORTS) \
21166 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21168 done; \
21169 echo "Doing clean in expect" ; \
21170 (cd expect && \
21171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21173 "RANLIB=$${RANLIB}" \
21174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21175 clean) \
21176 || exit 1
21178 @endif expect
21180 .PHONY: maybe-distclean-expect distclean-expect
21181 maybe-distclean-expect:
21182 @if expect
21183 maybe-distclean-expect: distclean-expect
21185 distclean-expect:
21186 @[ -f ./expect/Makefile ] || exit 0; \
21187 r=`${PWD_COMMAND}`; export r; \
21188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21189 $(SET_LIB_PATH) \
21190 $(HOST_EXPORTS) \
21191 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21193 done; \
21194 echo "Doing distclean in expect" ; \
21195 (cd expect && \
21196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21198 "RANLIB=$${RANLIB}" \
21199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21200 distclean) \
21201 || exit 1
21203 @endif expect
21205 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
21206 maybe-maintainer-clean-expect:
21207 @if expect
21208 maybe-maintainer-clean-expect: maintainer-clean-expect
21210 maintainer-clean-expect:
21211 @[ -f ./expect/Makefile ] || exit 0; \
21212 r=`${PWD_COMMAND}`; export r; \
21213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21214 $(SET_LIB_PATH) \
21215 $(HOST_EXPORTS) \
21216 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21218 done; \
21219 echo "Doing maintainer-clean in expect" ; \
21220 (cd expect && \
21221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21223 "RANLIB=$${RANLIB}" \
21224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21225 maintainer-clean) \
21226 || exit 1
21228 @endif expect
21231 .PHONY: configure-guile maybe-configure-guile
21232 maybe-configure-guile:
21233 @if guile
21234 maybe-configure-guile: configure-guile
21235 configure-guile:
21236 @test ! -f guile/Makefile || exit 0; \
21237 [ -d guile ] || mkdir guile; \
21238 r=`${PWD_COMMAND}`; export r; \
21239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21240 $(HOST_EXPORTS) \
21241 echo Configuring in guile; \
21242 cd guile || exit 1; \
21243 case $(srcdir) in \
21244 \.) \
21245 srcdiroption="--srcdir=."; \
21246 libsrcdir=".";; \
21247 /* | [A-Za-z]:[\\/]*) \
21248 srcdiroption="--srcdir=$(srcdir)/guile"; \
21249 libsrcdir="$$s/guile";; \
21250 *) \
21251 srcdiroption="--srcdir=../$(srcdir)/guile"; \
21252 libsrcdir="$$s/guile";; \
21253 esac; \
21254 $(SHELL) $${libsrcdir}/configure \
21255 $(HOST_CONFIGARGS) $${srcdiroption} \
21256 || exit 1
21257 @endif guile
21259 .PHONY: all-guile maybe-all-guile
21260 maybe-all-guile:
21261 @if guile
21262 maybe-all-guile: all-guile
21263 all-guile: configure-guile
21264 @r=`${PWD_COMMAND}`; export r; \
21265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21266 $(SET_LIB_PATH) \
21267 $(HOST_EXPORTS) \
21268 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21269 @endif guile
21271 .PHONY: check-guile maybe-check-guile
21272 maybe-check-guile:
21273 @if guile
21274 maybe-check-guile: check-guile
21276 check-guile:
21277 @r=`${PWD_COMMAND}`; export r; \
21278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21279 $(SET_LIB_PATH) \
21280 $(HOST_EXPORTS) \
21281 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21283 @endif guile
21285 .PHONY: install-guile maybe-install-guile
21286 maybe-install-guile:
21287 @if guile
21288 maybe-install-guile: install-guile
21290 install-guile: installdirs
21291 @r=`${PWD_COMMAND}`; export r; \
21292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21293 $(SET_LIB_PATH) \
21294 $(HOST_EXPORTS) \
21295 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21297 @endif guile
21299 # Other targets (info, dvi, etc.)
21301 .PHONY: maybe-info-guile info-guile
21302 maybe-info-guile:
21303 @if guile
21304 maybe-info-guile: info-guile
21306 info-guile: \
21307 configure-guile
21308 @[ -f ./guile/Makefile ] || exit 0; \
21309 r=`${PWD_COMMAND}`; export r; \
21310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21311 $(SET_LIB_PATH) \
21312 $(HOST_EXPORTS) \
21313 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21315 done; \
21316 echo "Doing info in guile" ; \
21317 (cd guile && \
21318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21320 "RANLIB=$${RANLIB}" \
21321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21322 info) \
21323 || exit 1
21325 @endif guile
21327 .PHONY: maybe-dvi-guile dvi-guile
21328 maybe-dvi-guile:
21329 @if guile
21330 maybe-dvi-guile: dvi-guile
21332 dvi-guile: \
21333 configure-guile
21334 @[ -f ./guile/Makefile ] || exit 0; \
21335 r=`${PWD_COMMAND}`; export r; \
21336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21337 $(SET_LIB_PATH) \
21338 $(HOST_EXPORTS) \
21339 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21341 done; \
21342 echo "Doing dvi in guile" ; \
21343 (cd guile && \
21344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21346 "RANLIB=$${RANLIB}" \
21347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21348 dvi) \
21349 || exit 1
21351 @endif guile
21353 .PHONY: maybe-TAGS-guile TAGS-guile
21354 maybe-TAGS-guile:
21355 @if guile
21356 maybe-TAGS-guile: TAGS-guile
21358 TAGS-guile: \
21359 configure-guile
21360 @[ -f ./guile/Makefile ] || exit 0; \
21361 r=`${PWD_COMMAND}`; export r; \
21362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21363 $(SET_LIB_PATH) \
21364 $(HOST_EXPORTS) \
21365 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21367 done; \
21368 echo "Doing TAGS in guile" ; \
21369 (cd guile && \
21370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21372 "RANLIB=$${RANLIB}" \
21373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21374 TAGS) \
21375 || exit 1
21377 @endif guile
21379 .PHONY: maybe-install-info-guile install-info-guile
21380 maybe-install-info-guile:
21381 @if guile
21382 maybe-install-info-guile: install-info-guile
21384 install-info-guile: \
21385 configure-guile \
21386 info-guile
21387 @[ -f ./guile/Makefile ] || exit 0; \
21388 r=`${PWD_COMMAND}`; export r; \
21389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21390 $(SET_LIB_PATH) \
21391 $(HOST_EXPORTS) \
21392 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21394 done; \
21395 echo "Doing install-info in guile" ; \
21396 (cd guile && \
21397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21399 "RANLIB=$${RANLIB}" \
21400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21401 install-info) \
21402 || exit 1
21404 @endif guile
21406 .PHONY: maybe-installcheck-guile installcheck-guile
21407 maybe-installcheck-guile:
21408 @if guile
21409 maybe-installcheck-guile: installcheck-guile
21411 installcheck-guile: \
21412 configure-guile
21413 @[ -f ./guile/Makefile ] || exit 0; \
21414 r=`${PWD_COMMAND}`; export r; \
21415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21416 $(SET_LIB_PATH) \
21417 $(HOST_EXPORTS) \
21418 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21420 done; \
21421 echo "Doing installcheck in guile" ; \
21422 (cd guile && \
21423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21425 "RANLIB=$${RANLIB}" \
21426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21427 installcheck) \
21428 || exit 1
21430 @endif guile
21432 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
21433 maybe-mostlyclean-guile:
21434 @if guile
21435 maybe-mostlyclean-guile: mostlyclean-guile
21437 mostlyclean-guile:
21438 @[ -f ./guile/Makefile ] || exit 0; \
21439 r=`${PWD_COMMAND}`; export r; \
21440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21441 $(SET_LIB_PATH) \
21442 $(HOST_EXPORTS) \
21443 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21445 done; \
21446 echo "Doing mostlyclean in guile" ; \
21447 (cd guile && \
21448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21450 "RANLIB=$${RANLIB}" \
21451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21452 mostlyclean) \
21453 || exit 1
21455 @endif guile
21457 .PHONY: maybe-clean-guile clean-guile
21458 maybe-clean-guile:
21459 @if guile
21460 maybe-clean-guile: clean-guile
21462 clean-guile:
21463 @[ -f ./guile/Makefile ] || exit 0; \
21464 r=`${PWD_COMMAND}`; export r; \
21465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21466 $(SET_LIB_PATH) \
21467 $(HOST_EXPORTS) \
21468 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21470 done; \
21471 echo "Doing clean in guile" ; \
21472 (cd guile && \
21473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21475 "RANLIB=$${RANLIB}" \
21476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21477 clean) \
21478 || exit 1
21480 @endif guile
21482 .PHONY: maybe-distclean-guile distclean-guile
21483 maybe-distclean-guile:
21484 @if guile
21485 maybe-distclean-guile: distclean-guile
21487 distclean-guile:
21488 @[ -f ./guile/Makefile ] || exit 0; \
21489 r=`${PWD_COMMAND}`; export r; \
21490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21491 $(SET_LIB_PATH) \
21492 $(HOST_EXPORTS) \
21493 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21495 done; \
21496 echo "Doing distclean in guile" ; \
21497 (cd guile && \
21498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21500 "RANLIB=$${RANLIB}" \
21501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21502 distclean) \
21503 || exit 1
21505 @endif guile
21507 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
21508 maybe-maintainer-clean-guile:
21509 @if guile
21510 maybe-maintainer-clean-guile: maintainer-clean-guile
21512 maintainer-clean-guile:
21513 @[ -f ./guile/Makefile ] || exit 0; \
21514 r=`${PWD_COMMAND}`; export r; \
21515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21516 $(SET_LIB_PATH) \
21517 $(HOST_EXPORTS) \
21518 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21520 done; \
21521 echo "Doing maintainer-clean in guile" ; \
21522 (cd guile && \
21523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21525 "RANLIB=$${RANLIB}" \
21526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21527 maintainer-clean) \
21528 || exit 1
21530 @endif guile
21533 .PHONY: configure-tk maybe-configure-tk
21534 maybe-configure-tk:
21535 @if tk
21536 maybe-configure-tk: configure-tk
21537 configure-tk:
21538 @test ! -f tk/Makefile || exit 0; \
21539 [ -d tk ] || mkdir tk; \
21540 r=`${PWD_COMMAND}`; export r; \
21541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21542 $(HOST_EXPORTS) \
21543 echo Configuring in tk; \
21544 cd tk || exit 1; \
21545 case $(srcdir) in \
21546 \.) \
21547 srcdiroption="--srcdir=."; \
21548 libsrcdir=".";; \
21549 /* | [A-Za-z]:[\\/]*) \
21550 srcdiroption="--srcdir=$(srcdir)/tk"; \
21551 libsrcdir="$$s/tk";; \
21552 *) \
21553 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21554 libsrcdir="$$s/tk";; \
21555 esac; \
21556 $(SHELL) $${libsrcdir}/configure \
21557 $(HOST_CONFIGARGS) $${srcdiroption} \
21558 || exit 1
21559 @endif tk
21561 .PHONY: all-tk maybe-all-tk
21562 maybe-all-tk:
21563 @if tk
21564 maybe-all-tk: all-tk
21565 all-tk: configure-tk
21566 @r=`${PWD_COMMAND}`; export r; \
21567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21568 $(SET_LIB_PATH) \
21569 $(HOST_EXPORTS) \
21570 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21571 @endif tk
21573 .PHONY: check-tk maybe-check-tk
21574 maybe-check-tk:
21575 @if tk
21576 maybe-check-tk: check-tk
21578 check-tk:
21579 @r=`${PWD_COMMAND}`; export r; \
21580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21581 $(SET_LIB_PATH) \
21582 $(HOST_EXPORTS) \
21583 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21585 @endif tk
21587 .PHONY: install-tk maybe-install-tk
21588 maybe-install-tk:
21589 @if tk
21590 maybe-install-tk: install-tk
21592 install-tk: installdirs
21593 @r=`${PWD_COMMAND}`; export r; \
21594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21595 $(SET_LIB_PATH) \
21596 $(HOST_EXPORTS) \
21597 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21599 @endif tk
21601 # Other targets (info, dvi, etc.)
21603 .PHONY: maybe-info-tk info-tk
21604 maybe-info-tk:
21605 @if tk
21606 maybe-info-tk: info-tk
21608 info-tk: \
21609 configure-tk
21610 @[ -f ./tk/Makefile ] || exit 0; \
21611 r=`${PWD_COMMAND}`; export r; \
21612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21613 $(SET_LIB_PATH) \
21614 $(HOST_EXPORTS) \
21615 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21617 done; \
21618 echo "Doing info in tk" ; \
21619 (cd tk && \
21620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21622 "RANLIB=$${RANLIB}" \
21623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21624 info) \
21625 || exit 1
21627 @endif tk
21629 .PHONY: maybe-dvi-tk dvi-tk
21630 maybe-dvi-tk:
21631 @if tk
21632 maybe-dvi-tk: dvi-tk
21634 dvi-tk: \
21635 configure-tk
21636 @[ -f ./tk/Makefile ] || exit 0; \
21637 r=`${PWD_COMMAND}`; export r; \
21638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21639 $(SET_LIB_PATH) \
21640 $(HOST_EXPORTS) \
21641 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21643 done; \
21644 echo "Doing dvi in tk" ; \
21645 (cd tk && \
21646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21648 "RANLIB=$${RANLIB}" \
21649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21650 dvi) \
21651 || exit 1
21653 @endif tk
21655 .PHONY: maybe-TAGS-tk TAGS-tk
21656 maybe-TAGS-tk:
21657 @if tk
21658 maybe-TAGS-tk: TAGS-tk
21660 TAGS-tk: \
21661 configure-tk
21662 @[ -f ./tk/Makefile ] || exit 0; \
21663 r=`${PWD_COMMAND}`; export r; \
21664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21665 $(SET_LIB_PATH) \
21666 $(HOST_EXPORTS) \
21667 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21669 done; \
21670 echo "Doing TAGS in tk" ; \
21671 (cd tk && \
21672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21674 "RANLIB=$${RANLIB}" \
21675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21676 TAGS) \
21677 || exit 1
21679 @endif tk
21681 .PHONY: maybe-install-info-tk install-info-tk
21682 maybe-install-info-tk:
21683 @if tk
21684 maybe-install-info-tk: install-info-tk
21686 install-info-tk: \
21687 configure-tk \
21688 info-tk
21689 @[ -f ./tk/Makefile ] || exit 0; \
21690 r=`${PWD_COMMAND}`; export r; \
21691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21692 $(SET_LIB_PATH) \
21693 $(HOST_EXPORTS) \
21694 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21696 done; \
21697 echo "Doing install-info in tk" ; \
21698 (cd tk && \
21699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21701 "RANLIB=$${RANLIB}" \
21702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21703 install-info) \
21704 || exit 1
21706 @endif tk
21708 .PHONY: maybe-installcheck-tk installcheck-tk
21709 maybe-installcheck-tk:
21710 @if tk
21711 maybe-installcheck-tk: installcheck-tk
21713 installcheck-tk: \
21714 configure-tk
21715 @[ -f ./tk/Makefile ] || exit 0; \
21716 r=`${PWD_COMMAND}`; export r; \
21717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21718 $(SET_LIB_PATH) \
21719 $(HOST_EXPORTS) \
21720 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21722 done; \
21723 echo "Doing installcheck in tk" ; \
21724 (cd tk && \
21725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21727 "RANLIB=$${RANLIB}" \
21728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21729 installcheck) \
21730 || exit 1
21732 @endif tk
21734 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21735 maybe-mostlyclean-tk:
21736 @if tk
21737 maybe-mostlyclean-tk: mostlyclean-tk
21739 mostlyclean-tk:
21740 @[ -f ./tk/Makefile ] || exit 0; \
21741 r=`${PWD_COMMAND}`; export r; \
21742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21743 $(SET_LIB_PATH) \
21744 $(HOST_EXPORTS) \
21745 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21747 done; \
21748 echo "Doing mostlyclean in tk" ; \
21749 (cd tk && \
21750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21752 "RANLIB=$${RANLIB}" \
21753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21754 mostlyclean) \
21755 || exit 1
21757 @endif tk
21759 .PHONY: maybe-clean-tk clean-tk
21760 maybe-clean-tk:
21761 @if tk
21762 maybe-clean-tk: clean-tk
21764 clean-tk:
21765 @[ -f ./tk/Makefile ] || exit 0; \
21766 r=`${PWD_COMMAND}`; export r; \
21767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21768 $(SET_LIB_PATH) \
21769 $(HOST_EXPORTS) \
21770 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21772 done; \
21773 echo "Doing clean in tk" ; \
21774 (cd tk && \
21775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21777 "RANLIB=$${RANLIB}" \
21778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21779 clean) \
21780 || exit 1
21782 @endif tk
21784 .PHONY: maybe-distclean-tk distclean-tk
21785 maybe-distclean-tk:
21786 @if tk
21787 maybe-distclean-tk: distclean-tk
21789 distclean-tk:
21790 @[ -f ./tk/Makefile ] || exit 0; \
21791 r=`${PWD_COMMAND}`; export r; \
21792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21793 $(SET_LIB_PATH) \
21794 $(HOST_EXPORTS) \
21795 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21797 done; \
21798 echo "Doing distclean in tk" ; \
21799 (cd tk && \
21800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21802 "RANLIB=$${RANLIB}" \
21803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21804 distclean) \
21805 || exit 1
21807 @endif tk
21809 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21810 maybe-maintainer-clean-tk:
21811 @if tk
21812 maybe-maintainer-clean-tk: maintainer-clean-tk
21814 maintainer-clean-tk:
21815 @[ -f ./tk/Makefile ] || exit 0; \
21816 r=`${PWD_COMMAND}`; export r; \
21817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21818 $(SET_LIB_PATH) \
21819 $(HOST_EXPORTS) \
21820 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21822 done; \
21823 echo "Doing maintainer-clean in tk" ; \
21824 (cd tk && \
21825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21827 "RANLIB=$${RANLIB}" \
21828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21829 maintainer-clean) \
21830 || exit 1
21832 @endif tk
21835 .PHONY: configure-libtermcap maybe-configure-libtermcap
21836 maybe-configure-libtermcap:
21837 @if libtermcap
21838 maybe-configure-libtermcap: configure-libtermcap
21839 configure-libtermcap:
21840 @test ! -f libtermcap/Makefile || exit 0; \
21841 [ -d libtermcap ] || mkdir libtermcap; \
21842 r=`${PWD_COMMAND}`; export r; \
21843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21844 $(HOST_EXPORTS) \
21845 echo Configuring in libtermcap; \
21846 cd libtermcap || exit 1; \
21847 case $(srcdir) in \
21848 \.) \
21849 srcdiroption="--srcdir=."; \
21850 libsrcdir=".";; \
21851 /* | [A-Za-z]:[\\/]*) \
21852 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21853 libsrcdir="$$s/libtermcap";; \
21854 *) \
21855 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21856 libsrcdir="$$s/libtermcap";; \
21857 esac; \
21858 $(SHELL) $${libsrcdir}/configure \
21859 $(HOST_CONFIGARGS) $${srcdiroption} \
21860 || exit 1
21861 @endif libtermcap
21863 .PHONY: all-libtermcap maybe-all-libtermcap
21864 maybe-all-libtermcap:
21865 @if libtermcap
21866 maybe-all-libtermcap: all-libtermcap
21867 all-libtermcap: configure-libtermcap
21868 @r=`${PWD_COMMAND}`; export r; \
21869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21870 $(SET_LIB_PATH) \
21871 $(HOST_EXPORTS) \
21872 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21873 @endif libtermcap
21875 .PHONY: check-libtermcap maybe-check-libtermcap
21876 maybe-check-libtermcap:
21877 @if libtermcap
21878 maybe-check-libtermcap: check-libtermcap
21880 check-libtermcap:
21882 @endif libtermcap
21884 .PHONY: install-libtermcap maybe-install-libtermcap
21885 maybe-install-libtermcap:
21886 @if libtermcap
21887 maybe-install-libtermcap: install-libtermcap
21889 install-libtermcap: installdirs
21890 @r=`${PWD_COMMAND}`; export r; \
21891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21892 $(SET_LIB_PATH) \
21893 $(HOST_EXPORTS) \
21894 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21896 @endif libtermcap
21898 # Other targets (info, dvi, etc.)
21900 .PHONY: maybe-info-libtermcap info-libtermcap
21901 maybe-info-libtermcap:
21902 @if libtermcap
21903 maybe-info-libtermcap: info-libtermcap
21905 info-libtermcap: \
21906 configure-libtermcap
21907 @[ -f ./libtermcap/Makefile ] || exit 0; \
21908 r=`${PWD_COMMAND}`; export r; \
21909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21910 $(SET_LIB_PATH) \
21911 $(HOST_EXPORTS) \
21912 for flag in $(EXTRA_HOST_FLAGS) ; do \
21913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21914 done; \
21915 echo "Doing info in libtermcap" ; \
21916 (cd libtermcap && \
21917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21919 "RANLIB=$${RANLIB}" \
21920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21921 info) \
21922 || exit 1
21924 @endif libtermcap
21926 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21927 maybe-dvi-libtermcap:
21928 @if libtermcap
21929 maybe-dvi-libtermcap: dvi-libtermcap
21931 dvi-libtermcap: \
21932 configure-libtermcap
21933 @[ -f ./libtermcap/Makefile ] || exit 0; \
21934 r=`${PWD_COMMAND}`; export r; \
21935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21936 $(SET_LIB_PATH) \
21937 $(HOST_EXPORTS) \
21938 for flag in $(EXTRA_HOST_FLAGS) ; do \
21939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21940 done; \
21941 echo "Doing dvi in libtermcap" ; \
21942 (cd libtermcap && \
21943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21945 "RANLIB=$${RANLIB}" \
21946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21947 dvi) \
21948 || exit 1
21950 @endif libtermcap
21952 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21953 maybe-TAGS-libtermcap:
21954 @if libtermcap
21955 maybe-TAGS-libtermcap: TAGS-libtermcap
21957 TAGS-libtermcap: \
21958 configure-libtermcap
21959 @[ -f ./libtermcap/Makefile ] || exit 0; \
21960 r=`${PWD_COMMAND}`; export r; \
21961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21962 $(SET_LIB_PATH) \
21963 $(HOST_EXPORTS) \
21964 for flag in $(EXTRA_HOST_FLAGS) ; do \
21965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21966 done; \
21967 echo "Doing TAGS in libtermcap" ; \
21968 (cd libtermcap && \
21969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21971 "RANLIB=$${RANLIB}" \
21972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21973 TAGS) \
21974 || exit 1
21976 @endif libtermcap
21978 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21979 maybe-install-info-libtermcap:
21980 @if libtermcap
21981 maybe-install-info-libtermcap: install-info-libtermcap
21983 install-info-libtermcap: \
21984 configure-libtermcap \
21985 info-libtermcap
21986 @[ -f ./libtermcap/Makefile ] || exit 0; \
21987 r=`${PWD_COMMAND}`; export r; \
21988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21989 $(SET_LIB_PATH) \
21990 $(HOST_EXPORTS) \
21991 for flag in $(EXTRA_HOST_FLAGS) ; do \
21992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21993 done; \
21994 echo "Doing install-info in libtermcap" ; \
21995 (cd libtermcap && \
21996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21998 "RANLIB=$${RANLIB}" \
21999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22000 install-info) \
22001 || exit 1
22003 @endif libtermcap
22005 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
22006 maybe-installcheck-libtermcap:
22007 @if libtermcap
22008 maybe-installcheck-libtermcap: installcheck-libtermcap
22010 installcheck-libtermcap: \
22011 configure-libtermcap
22012 @[ -f ./libtermcap/Makefile ] || exit 0; \
22013 r=`${PWD_COMMAND}`; export r; \
22014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22015 $(SET_LIB_PATH) \
22016 $(HOST_EXPORTS) \
22017 for flag in $(EXTRA_HOST_FLAGS) ; do \
22018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22019 done; \
22020 echo "Doing installcheck in libtermcap" ; \
22021 (cd libtermcap && \
22022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22024 "RANLIB=$${RANLIB}" \
22025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22026 installcheck) \
22027 || exit 1
22029 @endif libtermcap
22031 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
22032 maybe-mostlyclean-libtermcap:
22033 @if libtermcap
22034 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
22036 # libtermcap doesn't support mostlyclean.
22037 mostlyclean-libtermcap:
22039 @endif libtermcap
22041 .PHONY: maybe-clean-libtermcap clean-libtermcap
22042 maybe-clean-libtermcap:
22043 @if libtermcap
22044 maybe-clean-libtermcap: clean-libtermcap
22046 # libtermcap doesn't support clean.
22047 clean-libtermcap:
22049 @endif libtermcap
22051 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
22052 maybe-distclean-libtermcap:
22053 @if libtermcap
22054 maybe-distclean-libtermcap: distclean-libtermcap
22056 # libtermcap doesn't support distclean.
22057 distclean-libtermcap:
22059 @endif libtermcap
22061 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
22062 maybe-maintainer-clean-libtermcap:
22063 @if libtermcap
22064 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
22066 # libtermcap doesn't support maintainer-clean.
22067 maintainer-clean-libtermcap:
22069 @endif libtermcap
22072 .PHONY: configure-utils maybe-configure-utils
22073 maybe-configure-utils:
22074 @if utils
22075 maybe-configure-utils: configure-utils
22076 configure-utils:
22077 @test ! -f utils/Makefile || exit 0; \
22078 [ -d utils ] || mkdir utils; \
22079 r=`${PWD_COMMAND}`; export r; \
22080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22081 $(HOST_EXPORTS) \
22082 echo Configuring in utils; \
22083 cd utils || exit 1; \
22084 case $(srcdir) in \
22085 \.) \
22086 srcdiroption="--srcdir=."; \
22087 libsrcdir=".";; \
22088 /* | [A-Za-z]:[\\/]*) \
22089 srcdiroption="--srcdir=$(srcdir)/utils"; \
22090 libsrcdir="$$s/utils";; \
22091 *) \
22092 srcdiroption="--srcdir=../$(srcdir)/utils"; \
22093 libsrcdir="$$s/utils";; \
22094 esac; \
22095 $(SHELL) $${libsrcdir}/configure \
22096 $(HOST_CONFIGARGS) $${srcdiroption} \
22097 || exit 1
22098 @endif utils
22100 .PHONY: all-utils maybe-all-utils
22101 maybe-all-utils:
22102 @if utils
22103 maybe-all-utils: all-utils
22104 all-utils: configure-utils
22105 @r=`${PWD_COMMAND}`; export r; \
22106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22107 $(SET_LIB_PATH) \
22108 $(HOST_EXPORTS) \
22109 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
22110 @endif utils
22112 .PHONY: check-utils maybe-check-utils
22113 maybe-check-utils:
22114 @if utils
22115 maybe-check-utils: check-utils
22117 check-utils:
22119 @endif utils
22121 .PHONY: install-utils maybe-install-utils
22122 maybe-install-utils:
22123 @if utils
22124 maybe-install-utils: install-utils
22126 install-utils: installdirs
22127 @r=`${PWD_COMMAND}`; export r; \
22128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22129 $(SET_LIB_PATH) \
22130 $(HOST_EXPORTS) \
22131 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
22133 @endif utils
22135 # Other targets (info, dvi, etc.)
22137 .PHONY: maybe-info-utils info-utils
22138 maybe-info-utils:
22139 @if utils
22140 maybe-info-utils: info-utils
22142 info-utils: \
22143 configure-utils
22144 @[ -f ./utils/Makefile ] || exit 0; \
22145 r=`${PWD_COMMAND}`; export r; \
22146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22147 $(SET_LIB_PATH) \
22148 $(HOST_EXPORTS) \
22149 for flag in $(EXTRA_HOST_FLAGS) ; do \
22150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22151 done; \
22152 echo "Doing info in utils" ; \
22153 (cd utils && \
22154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22156 "RANLIB=$${RANLIB}" \
22157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22158 info) \
22159 || exit 1
22161 @endif utils
22163 .PHONY: maybe-dvi-utils dvi-utils
22164 maybe-dvi-utils:
22165 @if utils
22166 maybe-dvi-utils: dvi-utils
22168 dvi-utils: \
22169 configure-utils
22170 @[ -f ./utils/Makefile ] || exit 0; \
22171 r=`${PWD_COMMAND}`; export r; \
22172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22173 $(SET_LIB_PATH) \
22174 $(HOST_EXPORTS) \
22175 for flag in $(EXTRA_HOST_FLAGS) ; do \
22176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22177 done; \
22178 echo "Doing dvi in utils" ; \
22179 (cd utils && \
22180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22182 "RANLIB=$${RANLIB}" \
22183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22184 dvi) \
22185 || exit 1
22187 @endif utils
22189 .PHONY: maybe-TAGS-utils TAGS-utils
22190 maybe-TAGS-utils:
22191 @if utils
22192 maybe-TAGS-utils: TAGS-utils
22194 TAGS-utils: \
22195 configure-utils
22196 @[ -f ./utils/Makefile ] || exit 0; \
22197 r=`${PWD_COMMAND}`; export r; \
22198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22199 $(SET_LIB_PATH) \
22200 $(HOST_EXPORTS) \
22201 for flag in $(EXTRA_HOST_FLAGS) ; do \
22202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22203 done; \
22204 echo "Doing TAGS in utils" ; \
22205 (cd utils && \
22206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22208 "RANLIB=$${RANLIB}" \
22209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22210 TAGS) \
22211 || exit 1
22213 @endif utils
22215 .PHONY: maybe-install-info-utils install-info-utils
22216 maybe-install-info-utils:
22217 @if utils
22218 maybe-install-info-utils: install-info-utils
22220 install-info-utils: \
22221 configure-utils \
22222 info-utils
22223 @[ -f ./utils/Makefile ] || exit 0; \
22224 r=`${PWD_COMMAND}`; export r; \
22225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22226 $(SET_LIB_PATH) \
22227 $(HOST_EXPORTS) \
22228 for flag in $(EXTRA_HOST_FLAGS) ; do \
22229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22230 done; \
22231 echo "Doing install-info in utils" ; \
22232 (cd utils && \
22233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22235 "RANLIB=$${RANLIB}" \
22236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22237 install-info) \
22238 || exit 1
22240 @endif utils
22242 .PHONY: maybe-installcheck-utils installcheck-utils
22243 maybe-installcheck-utils:
22244 @if utils
22245 maybe-installcheck-utils: installcheck-utils
22247 installcheck-utils: \
22248 configure-utils
22249 @[ -f ./utils/Makefile ] || exit 0; \
22250 r=`${PWD_COMMAND}`; export r; \
22251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22252 $(SET_LIB_PATH) \
22253 $(HOST_EXPORTS) \
22254 for flag in $(EXTRA_HOST_FLAGS) ; do \
22255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22256 done; \
22257 echo "Doing installcheck in utils" ; \
22258 (cd utils && \
22259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22261 "RANLIB=$${RANLIB}" \
22262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22263 installcheck) \
22264 || exit 1
22266 @endif utils
22268 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
22269 maybe-mostlyclean-utils:
22270 @if utils
22271 maybe-mostlyclean-utils: mostlyclean-utils
22273 mostlyclean-utils:
22274 @[ -f ./utils/Makefile ] || exit 0; \
22275 r=`${PWD_COMMAND}`; export r; \
22276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22277 $(SET_LIB_PATH) \
22278 $(HOST_EXPORTS) \
22279 for flag in $(EXTRA_HOST_FLAGS) ; do \
22280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22281 done; \
22282 echo "Doing mostlyclean in utils" ; \
22283 (cd utils && \
22284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22286 "RANLIB=$${RANLIB}" \
22287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22288 mostlyclean) \
22289 || exit 1
22291 @endif utils
22293 .PHONY: maybe-clean-utils clean-utils
22294 maybe-clean-utils:
22295 @if utils
22296 maybe-clean-utils: clean-utils
22298 clean-utils:
22299 @[ -f ./utils/Makefile ] || exit 0; \
22300 r=`${PWD_COMMAND}`; export r; \
22301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22302 $(SET_LIB_PATH) \
22303 $(HOST_EXPORTS) \
22304 for flag in $(EXTRA_HOST_FLAGS) ; do \
22305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22306 done; \
22307 echo "Doing clean in utils" ; \
22308 (cd utils && \
22309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22311 "RANLIB=$${RANLIB}" \
22312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22313 clean) \
22314 || exit 1
22316 @endif utils
22318 .PHONY: maybe-distclean-utils distclean-utils
22319 maybe-distclean-utils:
22320 @if utils
22321 maybe-distclean-utils: distclean-utils
22323 distclean-utils:
22324 @[ -f ./utils/Makefile ] || exit 0; \
22325 r=`${PWD_COMMAND}`; export r; \
22326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22327 $(SET_LIB_PATH) \
22328 $(HOST_EXPORTS) \
22329 for flag in $(EXTRA_HOST_FLAGS) ; do \
22330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22331 done; \
22332 echo "Doing distclean in utils" ; \
22333 (cd utils && \
22334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22336 "RANLIB=$${RANLIB}" \
22337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22338 distclean) \
22339 || exit 1
22341 @endif utils
22343 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
22344 maybe-maintainer-clean-utils:
22345 @if utils
22346 maybe-maintainer-clean-utils: maintainer-clean-utils
22348 maintainer-clean-utils:
22349 @[ -f ./utils/Makefile ] || exit 0; \
22350 r=`${PWD_COMMAND}`; export r; \
22351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22352 $(SET_LIB_PATH) \
22353 $(HOST_EXPORTS) \
22354 for flag in $(EXTRA_HOST_FLAGS) ; do \
22355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22356 done; \
22357 echo "Doing maintainer-clean in utils" ; \
22358 (cd utils && \
22359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22361 "RANLIB=$${RANLIB}" \
22362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22363 maintainer-clean) \
22364 || exit 1
22366 @endif utils
22370 # ---------------------------------------
22371 # Modules which run on the target machine
22372 # ---------------------------------------
22374 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22375 maybe-configure-target-libstdc++-v3:
22376 @if target-libstdc++-v3
22377 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22379 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22380 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22381 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22382 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22383 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22385 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22386 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22387 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22388 r=`${PWD_COMMAND}`; export r; \
22389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22390 $(SET_LIB_PATH) \
22391 $(RAW_CXX_TARGET_EXPORTS) \
22392 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22393 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22394 case $(srcdir) in \
22395 /* | [A-Za-z]:[\\/]*) \
22396 topdir=$(srcdir) ;; \
22397 *) \
22398 case "$(TARGET_SUBDIR)" in \
22399 .) topdir="../$(srcdir)" ;; \
22400 *) topdir="../../$(srcdir)" ;; \
22401 esac ;; \
22402 esac; \
22403 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22404 libsrcdir="$$s/libstdc++-v3"; \
22405 rm -f no-such-file || : ; \
22406 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22407 $(TARGET_CONFIGARGS) $${srcdiroption} \
22408 --with-target-subdir="$(TARGET_SUBDIR)" \
22409 || exit 1
22410 @endif target-libstdc++-v3
22412 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22413 maybe-all-target-libstdc++-v3:
22414 @if target-libstdc++-v3
22415 TARGET-target-libstdc++-v3=all
22416 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22417 all-target-libstdc++-v3: configure-target-libstdc++-v3
22418 @r=`${PWD_COMMAND}`; export r; \
22419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22420 $(SET_LIB_PATH) \
22421 $(RAW_CXX_TARGET_EXPORTS) \
22422 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22423 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
22424 @endif target-libstdc++-v3
22426 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22427 maybe-check-target-libstdc++-v3:
22428 @if target-libstdc++-v3
22429 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22431 check-target-libstdc++-v3:
22432 @r=`${PWD_COMMAND}`; export r; \
22433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22434 $(SET_LIB_PATH) \
22435 $(RAW_CXX_TARGET_EXPORTS) \
22436 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22437 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22439 @endif target-libstdc++-v3
22441 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22442 maybe-install-target-libstdc++-v3:
22443 @if target-libstdc++-v3
22444 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22446 install-target-libstdc++-v3: installdirs
22447 @r=`${PWD_COMMAND}`; export r; \
22448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22449 $(SET_LIB_PATH) \
22450 $(RAW_CXX_TARGET_EXPORTS) \
22451 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22452 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22454 @endif target-libstdc++-v3
22456 # Other targets (info, dvi, etc.)
22458 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22459 maybe-info-target-libstdc++-v3:
22460 @if target-libstdc++-v3
22461 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22463 info-target-libstdc++-v3: \
22464 configure-target-libstdc++-v3
22465 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22466 r=`${PWD_COMMAND}`; export r; \
22467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22468 $(SET_LIB_PATH) \
22469 $(RAW_CXX_TARGET_EXPORTS) \
22470 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22471 for flag in $(EXTRA_TARGET_FLAGS); do \
22472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22473 done; \
22474 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22477 "RANLIB=$${RANLIB}" \
22478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22479 info) \
22480 || exit 1
22482 @endif target-libstdc++-v3
22484 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22485 maybe-dvi-target-libstdc++-v3:
22486 @if target-libstdc++-v3
22487 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22489 dvi-target-libstdc++-v3: \
22490 configure-target-libstdc++-v3
22491 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22492 r=`${PWD_COMMAND}`; export r; \
22493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22494 $(SET_LIB_PATH) \
22495 $(RAW_CXX_TARGET_EXPORTS) \
22496 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22497 for flag in $(EXTRA_TARGET_FLAGS); do \
22498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22499 done; \
22500 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22503 "RANLIB=$${RANLIB}" \
22504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22505 dvi) \
22506 || exit 1
22508 @endif target-libstdc++-v3
22510 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22511 maybe-TAGS-target-libstdc++-v3:
22512 @if target-libstdc++-v3
22513 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22515 TAGS-target-libstdc++-v3: \
22516 configure-target-libstdc++-v3
22517 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22518 r=`${PWD_COMMAND}`; export r; \
22519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22520 $(SET_LIB_PATH) \
22521 $(RAW_CXX_TARGET_EXPORTS) \
22522 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22523 for flag in $(EXTRA_TARGET_FLAGS); do \
22524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22525 done; \
22526 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22529 "RANLIB=$${RANLIB}" \
22530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22531 TAGS) \
22532 || exit 1
22534 @endif target-libstdc++-v3
22536 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22537 maybe-install-info-target-libstdc++-v3:
22538 @if target-libstdc++-v3
22539 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22541 install-info-target-libstdc++-v3: \
22542 configure-target-libstdc++-v3 \
22543 info-target-libstdc++-v3
22544 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22545 r=`${PWD_COMMAND}`; export r; \
22546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22547 $(SET_LIB_PATH) \
22548 $(RAW_CXX_TARGET_EXPORTS) \
22549 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22550 for flag in $(EXTRA_TARGET_FLAGS); do \
22551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22552 done; \
22553 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22556 "RANLIB=$${RANLIB}" \
22557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22558 install-info) \
22559 || exit 1
22561 @endif target-libstdc++-v3
22563 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22564 maybe-installcheck-target-libstdc++-v3:
22565 @if target-libstdc++-v3
22566 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22568 installcheck-target-libstdc++-v3: \
22569 configure-target-libstdc++-v3
22570 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22571 r=`${PWD_COMMAND}`; export r; \
22572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22573 $(SET_LIB_PATH) \
22574 $(RAW_CXX_TARGET_EXPORTS) \
22575 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22576 for flag in $(EXTRA_TARGET_FLAGS); do \
22577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22578 done; \
22579 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22582 "RANLIB=$${RANLIB}" \
22583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22584 installcheck) \
22585 || exit 1
22587 @endif target-libstdc++-v3
22589 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22590 maybe-mostlyclean-target-libstdc++-v3:
22591 @if target-libstdc++-v3
22592 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22594 mostlyclean-target-libstdc++-v3:
22595 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22596 r=`${PWD_COMMAND}`; export r; \
22597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22598 $(SET_LIB_PATH) \
22599 $(RAW_CXX_TARGET_EXPORTS) \
22600 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22601 for flag in $(EXTRA_TARGET_FLAGS); do \
22602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22603 done; \
22604 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22607 "RANLIB=$${RANLIB}" \
22608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22609 mostlyclean) \
22610 || exit 1
22612 @endif target-libstdc++-v3
22614 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22615 maybe-clean-target-libstdc++-v3:
22616 @if target-libstdc++-v3
22617 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22619 clean-target-libstdc++-v3:
22620 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22621 r=`${PWD_COMMAND}`; export r; \
22622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22623 $(SET_LIB_PATH) \
22624 $(RAW_CXX_TARGET_EXPORTS) \
22625 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22626 for flag in $(EXTRA_TARGET_FLAGS); do \
22627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22628 done; \
22629 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22632 "RANLIB=$${RANLIB}" \
22633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22634 clean) \
22635 || exit 1
22637 @endif target-libstdc++-v3
22639 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22640 maybe-distclean-target-libstdc++-v3:
22641 @if target-libstdc++-v3
22642 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22644 distclean-target-libstdc++-v3:
22645 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22646 r=`${PWD_COMMAND}`; export r; \
22647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22648 $(SET_LIB_PATH) \
22649 $(RAW_CXX_TARGET_EXPORTS) \
22650 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22651 for flag in $(EXTRA_TARGET_FLAGS); do \
22652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22653 done; \
22654 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22657 "RANLIB=$${RANLIB}" \
22658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22659 distclean) \
22660 || exit 1
22662 @endif target-libstdc++-v3
22664 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22665 maybe-maintainer-clean-target-libstdc++-v3:
22666 @if target-libstdc++-v3
22667 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22669 maintainer-clean-target-libstdc++-v3:
22670 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22671 r=`${PWD_COMMAND}`; export r; \
22672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22673 $(SET_LIB_PATH) \
22674 $(RAW_CXX_TARGET_EXPORTS) \
22675 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22676 for flag in $(EXTRA_TARGET_FLAGS); do \
22677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22678 done; \
22679 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22682 "RANLIB=$${RANLIB}" \
22683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22684 maintainer-clean) \
22685 || exit 1
22687 @endif target-libstdc++-v3
22690 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22691 maybe-configure-target-libmudflap:
22692 @if target-libmudflap
22693 maybe-configure-target-libmudflap: configure-target-libmudflap
22695 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22696 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22697 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22698 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22699 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22701 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22702 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22703 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22704 r=`${PWD_COMMAND}`; export r; \
22705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22706 $(SET_LIB_PATH) \
22707 $(NORMAL_TARGET_EXPORTS) \
22708 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22709 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22710 case $(srcdir) in \
22711 /* | [A-Za-z]:[\\/]*) \
22712 topdir=$(srcdir) ;; \
22713 *) \
22714 case "$(TARGET_SUBDIR)" in \
22715 .) topdir="../$(srcdir)" ;; \
22716 *) topdir="../../$(srcdir)" ;; \
22717 esac ;; \
22718 esac; \
22719 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22720 libsrcdir="$$s/libmudflap"; \
22721 rm -f no-such-file || : ; \
22722 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22723 $(TARGET_CONFIGARGS) $${srcdiroption} \
22724 --with-target-subdir="$(TARGET_SUBDIR)" \
22725 || exit 1
22726 @endif target-libmudflap
22728 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22729 maybe-all-target-libmudflap:
22730 @if target-libmudflap
22731 TARGET-target-libmudflap=all
22732 maybe-all-target-libmudflap: all-target-libmudflap
22733 all-target-libmudflap: configure-target-libmudflap
22734 @r=`${PWD_COMMAND}`; export r; \
22735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22736 $(SET_LIB_PATH) \
22737 $(NORMAL_TARGET_EXPORTS) \
22738 (cd $(TARGET_SUBDIR)/libmudflap && \
22739 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
22740 @endif target-libmudflap
22742 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22743 maybe-check-target-libmudflap:
22744 @if target-libmudflap
22745 maybe-check-target-libmudflap: check-target-libmudflap
22747 check-target-libmudflap:
22748 @r=`${PWD_COMMAND}`; export r; \
22749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22750 $(SET_LIB_PATH) \
22751 $(NORMAL_TARGET_EXPORTS) \
22752 (cd $(TARGET_SUBDIR)/libmudflap && \
22753 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22755 @endif target-libmudflap
22757 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22758 maybe-install-target-libmudflap:
22759 @if target-libmudflap
22760 maybe-install-target-libmudflap: install-target-libmudflap
22762 install-target-libmudflap: installdirs
22763 @r=`${PWD_COMMAND}`; export r; \
22764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22765 $(SET_LIB_PATH) \
22766 $(NORMAL_TARGET_EXPORTS) \
22767 (cd $(TARGET_SUBDIR)/libmudflap && \
22768 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22770 @endif target-libmudflap
22772 # Other targets (info, dvi, etc.)
22774 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22775 maybe-info-target-libmudflap:
22776 @if target-libmudflap
22777 maybe-info-target-libmudflap: info-target-libmudflap
22779 info-target-libmudflap: \
22780 configure-target-libmudflap
22781 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22782 r=`${PWD_COMMAND}`; export r; \
22783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22784 $(SET_LIB_PATH) \
22785 $(NORMAL_TARGET_EXPORTS) \
22786 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22787 for flag in $(EXTRA_TARGET_FLAGS); do \
22788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22789 done; \
22790 (cd $(TARGET_SUBDIR)/libmudflap && \
22791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22793 "RANLIB=$${RANLIB}" \
22794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22795 info) \
22796 || exit 1
22798 @endif target-libmudflap
22800 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22801 maybe-dvi-target-libmudflap:
22802 @if target-libmudflap
22803 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22805 dvi-target-libmudflap: \
22806 configure-target-libmudflap
22807 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22808 r=`${PWD_COMMAND}`; export r; \
22809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22810 $(SET_LIB_PATH) \
22811 $(NORMAL_TARGET_EXPORTS) \
22812 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22813 for flag in $(EXTRA_TARGET_FLAGS); do \
22814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22815 done; \
22816 (cd $(TARGET_SUBDIR)/libmudflap && \
22817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22819 "RANLIB=$${RANLIB}" \
22820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22821 dvi) \
22822 || exit 1
22824 @endif target-libmudflap
22826 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22827 maybe-TAGS-target-libmudflap:
22828 @if target-libmudflap
22829 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22831 TAGS-target-libmudflap: \
22832 configure-target-libmudflap
22833 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22834 r=`${PWD_COMMAND}`; export r; \
22835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22836 $(SET_LIB_PATH) \
22837 $(NORMAL_TARGET_EXPORTS) \
22838 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22839 for flag in $(EXTRA_TARGET_FLAGS); do \
22840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22841 done; \
22842 (cd $(TARGET_SUBDIR)/libmudflap && \
22843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22845 "RANLIB=$${RANLIB}" \
22846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22847 TAGS) \
22848 || exit 1
22850 @endif target-libmudflap
22852 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22853 maybe-install-info-target-libmudflap:
22854 @if target-libmudflap
22855 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22857 install-info-target-libmudflap: \
22858 configure-target-libmudflap \
22859 info-target-libmudflap
22860 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22861 r=`${PWD_COMMAND}`; export r; \
22862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22863 $(SET_LIB_PATH) \
22864 $(NORMAL_TARGET_EXPORTS) \
22865 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22866 for flag in $(EXTRA_TARGET_FLAGS); do \
22867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22868 done; \
22869 (cd $(TARGET_SUBDIR)/libmudflap && \
22870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22872 "RANLIB=$${RANLIB}" \
22873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22874 install-info) \
22875 || exit 1
22877 @endif target-libmudflap
22879 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22880 maybe-installcheck-target-libmudflap:
22881 @if target-libmudflap
22882 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22884 installcheck-target-libmudflap: \
22885 configure-target-libmudflap
22886 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22887 r=`${PWD_COMMAND}`; export r; \
22888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22889 $(SET_LIB_PATH) \
22890 $(NORMAL_TARGET_EXPORTS) \
22891 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22892 for flag in $(EXTRA_TARGET_FLAGS); do \
22893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22894 done; \
22895 (cd $(TARGET_SUBDIR)/libmudflap && \
22896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22898 "RANLIB=$${RANLIB}" \
22899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22900 installcheck) \
22901 || exit 1
22903 @endif target-libmudflap
22905 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22906 maybe-mostlyclean-target-libmudflap:
22907 @if target-libmudflap
22908 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22910 mostlyclean-target-libmudflap:
22911 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22912 r=`${PWD_COMMAND}`; export r; \
22913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22914 $(SET_LIB_PATH) \
22915 $(NORMAL_TARGET_EXPORTS) \
22916 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22917 for flag in $(EXTRA_TARGET_FLAGS); do \
22918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22919 done; \
22920 (cd $(TARGET_SUBDIR)/libmudflap && \
22921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22923 "RANLIB=$${RANLIB}" \
22924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22925 mostlyclean) \
22926 || exit 1
22928 @endif target-libmudflap
22930 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22931 maybe-clean-target-libmudflap:
22932 @if target-libmudflap
22933 maybe-clean-target-libmudflap: clean-target-libmudflap
22935 clean-target-libmudflap:
22936 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22937 r=`${PWD_COMMAND}`; export r; \
22938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22939 $(SET_LIB_PATH) \
22940 $(NORMAL_TARGET_EXPORTS) \
22941 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
22942 for flag in $(EXTRA_TARGET_FLAGS); do \
22943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22944 done; \
22945 (cd $(TARGET_SUBDIR)/libmudflap && \
22946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22948 "RANLIB=$${RANLIB}" \
22949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22950 clean) \
22951 || exit 1
22953 @endif target-libmudflap
22955 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22956 maybe-distclean-target-libmudflap:
22957 @if target-libmudflap
22958 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22960 distclean-target-libmudflap:
22961 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22962 r=`${PWD_COMMAND}`; export r; \
22963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22964 $(SET_LIB_PATH) \
22965 $(NORMAL_TARGET_EXPORTS) \
22966 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
22967 for flag in $(EXTRA_TARGET_FLAGS); do \
22968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22969 done; \
22970 (cd $(TARGET_SUBDIR)/libmudflap && \
22971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22973 "RANLIB=$${RANLIB}" \
22974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22975 distclean) \
22976 || exit 1
22978 @endif target-libmudflap
22980 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22981 maybe-maintainer-clean-target-libmudflap:
22982 @if target-libmudflap
22983 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22985 maintainer-clean-target-libmudflap:
22986 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22987 r=`${PWD_COMMAND}`; export r; \
22988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22989 $(SET_LIB_PATH) \
22990 $(NORMAL_TARGET_EXPORTS) \
22991 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
22992 for flag in $(EXTRA_TARGET_FLAGS); do \
22993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22994 done; \
22995 (cd $(TARGET_SUBDIR)/libmudflap && \
22996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22998 "RANLIB=$${RANLIB}" \
22999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23000 maintainer-clean) \
23001 || exit 1
23003 @endif target-libmudflap
23006 .PHONY: configure-target-newlib maybe-configure-target-newlib
23007 maybe-configure-target-newlib:
23008 @if target-newlib
23009 maybe-configure-target-newlib: configure-target-newlib
23011 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23012 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
23013 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
23014 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
23015 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
23017 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
23018 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
23019 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
23020 r=`${PWD_COMMAND}`; export r; \
23021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23022 $(SET_LIB_PATH) \
23023 $(NORMAL_TARGET_EXPORTS) \
23024 echo Configuring in $(TARGET_SUBDIR)/newlib; \
23025 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
23026 case $(srcdir) in \
23027 /* | [A-Za-z]:[\\/]*) \
23028 topdir=$(srcdir) ;; \
23029 *) \
23030 case "$(TARGET_SUBDIR)" in \
23031 .) topdir="../$(srcdir)" ;; \
23032 *) topdir="../../$(srcdir)" ;; \
23033 esac ;; \
23034 esac; \
23035 srcdiroption="--srcdir=$${topdir}/newlib"; \
23036 libsrcdir="$$s/newlib"; \
23037 rm -f no-such-file || : ; \
23038 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23039 $(TARGET_CONFIGARGS) $${srcdiroption} \
23040 --with-target-subdir="$(TARGET_SUBDIR)" \
23041 || exit 1
23042 @endif target-newlib
23044 .PHONY: all-target-newlib maybe-all-target-newlib
23045 maybe-all-target-newlib:
23046 @if target-newlib
23047 TARGET-target-newlib=all
23048 maybe-all-target-newlib: all-target-newlib
23049 all-target-newlib: configure-target-newlib
23050 @r=`${PWD_COMMAND}`; export r; \
23051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23052 $(SET_LIB_PATH) \
23053 $(NORMAL_TARGET_EXPORTS) \
23054 (cd $(TARGET_SUBDIR)/newlib && \
23055 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
23056 @endif target-newlib
23058 .PHONY: check-target-newlib maybe-check-target-newlib
23059 maybe-check-target-newlib:
23060 @if target-newlib
23061 maybe-check-target-newlib: check-target-newlib
23063 check-target-newlib:
23064 @r=`${PWD_COMMAND}`; export r; \
23065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23066 $(SET_LIB_PATH) \
23067 $(NORMAL_TARGET_EXPORTS) \
23068 (cd $(TARGET_SUBDIR)/newlib && \
23069 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23071 @endif target-newlib
23073 .PHONY: install-target-newlib maybe-install-target-newlib
23074 maybe-install-target-newlib:
23075 @if target-newlib
23076 maybe-install-target-newlib: install-target-newlib
23078 install-target-newlib: installdirs
23079 @r=`${PWD_COMMAND}`; export r; \
23080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23081 $(SET_LIB_PATH) \
23082 $(NORMAL_TARGET_EXPORTS) \
23083 (cd $(TARGET_SUBDIR)/newlib && \
23084 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23086 @endif target-newlib
23088 # Other targets (info, dvi, etc.)
23090 .PHONY: maybe-info-target-newlib info-target-newlib
23091 maybe-info-target-newlib:
23092 @if target-newlib
23093 maybe-info-target-newlib: info-target-newlib
23095 info-target-newlib: \
23096 configure-target-newlib
23097 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23098 r=`${PWD_COMMAND}`; export r; \
23099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23100 $(SET_LIB_PATH) \
23101 $(NORMAL_TARGET_EXPORTS) \
23102 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
23103 for flag in $(EXTRA_TARGET_FLAGS); do \
23104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23105 done; \
23106 (cd $(TARGET_SUBDIR)/newlib && \
23107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23109 "RANLIB=$${RANLIB}" \
23110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23111 info) \
23112 || exit 1
23114 @endif target-newlib
23116 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
23117 maybe-dvi-target-newlib:
23118 @if target-newlib
23119 maybe-dvi-target-newlib: dvi-target-newlib
23121 dvi-target-newlib: \
23122 configure-target-newlib
23123 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23124 r=`${PWD_COMMAND}`; export r; \
23125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23126 $(SET_LIB_PATH) \
23127 $(NORMAL_TARGET_EXPORTS) \
23128 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
23129 for flag in $(EXTRA_TARGET_FLAGS); do \
23130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23131 done; \
23132 (cd $(TARGET_SUBDIR)/newlib && \
23133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23135 "RANLIB=$${RANLIB}" \
23136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23137 dvi) \
23138 || exit 1
23140 @endif target-newlib
23142 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
23143 maybe-TAGS-target-newlib:
23144 @if target-newlib
23145 maybe-TAGS-target-newlib: TAGS-target-newlib
23147 TAGS-target-newlib: \
23148 configure-target-newlib
23149 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23150 r=`${PWD_COMMAND}`; export r; \
23151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23152 $(SET_LIB_PATH) \
23153 $(NORMAL_TARGET_EXPORTS) \
23154 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
23155 for flag in $(EXTRA_TARGET_FLAGS); do \
23156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23157 done; \
23158 (cd $(TARGET_SUBDIR)/newlib && \
23159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23161 "RANLIB=$${RANLIB}" \
23162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23163 TAGS) \
23164 || exit 1
23166 @endif target-newlib
23168 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
23169 maybe-install-info-target-newlib:
23170 @if target-newlib
23171 maybe-install-info-target-newlib: install-info-target-newlib
23173 install-info-target-newlib: \
23174 configure-target-newlib \
23175 info-target-newlib
23176 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23177 r=`${PWD_COMMAND}`; export r; \
23178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23179 $(SET_LIB_PATH) \
23180 $(NORMAL_TARGET_EXPORTS) \
23181 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
23182 for flag in $(EXTRA_TARGET_FLAGS); do \
23183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23184 done; \
23185 (cd $(TARGET_SUBDIR)/newlib && \
23186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23188 "RANLIB=$${RANLIB}" \
23189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23190 install-info) \
23191 || exit 1
23193 @endif target-newlib
23195 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
23196 maybe-installcheck-target-newlib:
23197 @if target-newlib
23198 maybe-installcheck-target-newlib: installcheck-target-newlib
23200 installcheck-target-newlib: \
23201 configure-target-newlib
23202 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23203 r=`${PWD_COMMAND}`; export r; \
23204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23205 $(SET_LIB_PATH) \
23206 $(NORMAL_TARGET_EXPORTS) \
23207 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
23208 for flag in $(EXTRA_TARGET_FLAGS); do \
23209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23210 done; \
23211 (cd $(TARGET_SUBDIR)/newlib && \
23212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23214 "RANLIB=$${RANLIB}" \
23215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23216 installcheck) \
23217 || exit 1
23219 @endif target-newlib
23221 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
23222 maybe-mostlyclean-target-newlib:
23223 @if target-newlib
23224 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
23226 mostlyclean-target-newlib:
23227 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23228 r=`${PWD_COMMAND}`; export r; \
23229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23230 $(SET_LIB_PATH) \
23231 $(NORMAL_TARGET_EXPORTS) \
23232 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
23233 for flag in $(EXTRA_TARGET_FLAGS); do \
23234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23235 done; \
23236 (cd $(TARGET_SUBDIR)/newlib && \
23237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23239 "RANLIB=$${RANLIB}" \
23240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23241 mostlyclean) \
23242 || exit 1
23244 @endif target-newlib
23246 .PHONY: maybe-clean-target-newlib clean-target-newlib
23247 maybe-clean-target-newlib:
23248 @if target-newlib
23249 maybe-clean-target-newlib: clean-target-newlib
23251 clean-target-newlib:
23252 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23253 r=`${PWD_COMMAND}`; export r; \
23254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23255 $(SET_LIB_PATH) \
23256 $(NORMAL_TARGET_EXPORTS) \
23257 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
23258 for flag in $(EXTRA_TARGET_FLAGS); do \
23259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23260 done; \
23261 (cd $(TARGET_SUBDIR)/newlib && \
23262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23264 "RANLIB=$${RANLIB}" \
23265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23266 clean) \
23267 || exit 1
23269 @endif target-newlib
23271 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
23272 maybe-distclean-target-newlib:
23273 @if target-newlib
23274 maybe-distclean-target-newlib: distclean-target-newlib
23276 distclean-target-newlib:
23277 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23278 r=`${PWD_COMMAND}`; export r; \
23279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23280 $(SET_LIB_PATH) \
23281 $(NORMAL_TARGET_EXPORTS) \
23282 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
23283 for flag in $(EXTRA_TARGET_FLAGS); do \
23284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23285 done; \
23286 (cd $(TARGET_SUBDIR)/newlib && \
23287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23289 "RANLIB=$${RANLIB}" \
23290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23291 distclean) \
23292 || exit 1
23294 @endif target-newlib
23296 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
23297 maybe-maintainer-clean-target-newlib:
23298 @if target-newlib
23299 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
23301 maintainer-clean-target-newlib:
23302 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23303 r=`${PWD_COMMAND}`; export r; \
23304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23305 $(SET_LIB_PATH) \
23306 $(NORMAL_TARGET_EXPORTS) \
23307 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
23308 for flag in $(EXTRA_TARGET_FLAGS); do \
23309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23310 done; \
23311 (cd $(TARGET_SUBDIR)/newlib && \
23312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23314 "RANLIB=$${RANLIB}" \
23315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23316 maintainer-clean) \
23317 || exit 1
23319 @endif target-newlib
23322 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
23323 maybe-configure-target-libgfortran:
23324 @if target-libgfortran
23325 maybe-configure-target-libgfortran: configure-target-libgfortran
23327 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23328 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
23329 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23330 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
23331 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
23333 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
23334 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
23335 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23336 r=`${PWD_COMMAND}`; export r; \
23337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23338 $(SET_LIB_PATH) \
23339 $(NORMAL_TARGET_EXPORTS) \
23340 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
23341 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
23342 case $(srcdir) in \
23343 /* | [A-Za-z]:[\\/]*) \
23344 topdir=$(srcdir) ;; \
23345 *) \
23346 case "$(TARGET_SUBDIR)" in \
23347 .) topdir="../$(srcdir)" ;; \
23348 *) topdir="../../$(srcdir)" ;; \
23349 esac ;; \
23350 esac; \
23351 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
23352 libsrcdir="$$s/libgfortran"; \
23353 rm -f no-such-file || : ; \
23354 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23355 $(TARGET_CONFIGARGS) $${srcdiroption} \
23356 --with-target-subdir="$(TARGET_SUBDIR)" \
23357 || exit 1
23358 @endif target-libgfortran
23360 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
23361 maybe-all-target-libgfortran:
23362 @if target-libgfortran
23363 TARGET-target-libgfortran=all
23364 maybe-all-target-libgfortran: all-target-libgfortran
23365 all-target-libgfortran: configure-target-libgfortran
23366 @r=`${PWD_COMMAND}`; export r; \
23367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23368 $(SET_LIB_PATH) \
23369 $(NORMAL_TARGET_EXPORTS) \
23370 (cd $(TARGET_SUBDIR)/libgfortran && \
23371 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
23372 @endif target-libgfortran
23374 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
23375 maybe-check-target-libgfortran:
23376 @if target-libgfortran
23377 maybe-check-target-libgfortran: check-target-libgfortran
23379 check-target-libgfortran:
23380 @r=`${PWD_COMMAND}`; export r; \
23381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23382 $(SET_LIB_PATH) \
23383 $(NORMAL_TARGET_EXPORTS) \
23384 (cd $(TARGET_SUBDIR)/libgfortran && \
23385 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23387 @endif target-libgfortran
23389 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23390 maybe-install-target-libgfortran:
23391 @if target-libgfortran
23392 maybe-install-target-libgfortran: install-target-libgfortran
23394 install-target-libgfortran: installdirs
23395 @r=`${PWD_COMMAND}`; export r; \
23396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23397 $(SET_LIB_PATH) \
23398 $(NORMAL_TARGET_EXPORTS) \
23399 (cd $(TARGET_SUBDIR)/libgfortran && \
23400 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23402 @endif target-libgfortran
23404 # Other targets (info, dvi, etc.)
23406 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23407 maybe-info-target-libgfortran:
23408 @if target-libgfortran
23409 maybe-info-target-libgfortran: info-target-libgfortran
23411 info-target-libgfortran: \
23412 configure-target-libgfortran
23413 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23414 r=`${PWD_COMMAND}`; export r; \
23415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23416 $(SET_LIB_PATH) \
23417 $(NORMAL_TARGET_EXPORTS) \
23418 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23419 for flag in $(EXTRA_TARGET_FLAGS); do \
23420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23421 done; \
23422 (cd $(TARGET_SUBDIR)/libgfortran && \
23423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23425 "RANLIB=$${RANLIB}" \
23426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23427 info) \
23428 || exit 1
23430 @endif target-libgfortran
23432 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23433 maybe-dvi-target-libgfortran:
23434 @if target-libgfortran
23435 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23437 dvi-target-libgfortran: \
23438 configure-target-libgfortran
23439 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23440 r=`${PWD_COMMAND}`; export r; \
23441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23442 $(SET_LIB_PATH) \
23443 $(NORMAL_TARGET_EXPORTS) \
23444 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23445 for flag in $(EXTRA_TARGET_FLAGS); do \
23446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23447 done; \
23448 (cd $(TARGET_SUBDIR)/libgfortran && \
23449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23451 "RANLIB=$${RANLIB}" \
23452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23453 dvi) \
23454 || exit 1
23456 @endif target-libgfortran
23458 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23459 maybe-TAGS-target-libgfortran:
23460 @if target-libgfortran
23461 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23463 TAGS-target-libgfortran: \
23464 configure-target-libgfortran
23465 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23466 r=`${PWD_COMMAND}`; export r; \
23467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23468 $(SET_LIB_PATH) \
23469 $(NORMAL_TARGET_EXPORTS) \
23470 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23471 for flag in $(EXTRA_TARGET_FLAGS); do \
23472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23473 done; \
23474 (cd $(TARGET_SUBDIR)/libgfortran && \
23475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23477 "RANLIB=$${RANLIB}" \
23478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23479 TAGS) \
23480 || exit 1
23482 @endif target-libgfortran
23484 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23485 maybe-install-info-target-libgfortran:
23486 @if target-libgfortran
23487 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23489 install-info-target-libgfortran: \
23490 configure-target-libgfortran \
23491 info-target-libgfortran
23492 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23493 r=`${PWD_COMMAND}`; export r; \
23494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23495 $(SET_LIB_PATH) \
23496 $(NORMAL_TARGET_EXPORTS) \
23497 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23498 for flag in $(EXTRA_TARGET_FLAGS); do \
23499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23500 done; \
23501 (cd $(TARGET_SUBDIR)/libgfortran && \
23502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23504 "RANLIB=$${RANLIB}" \
23505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23506 install-info) \
23507 || exit 1
23509 @endif target-libgfortran
23511 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23512 maybe-installcheck-target-libgfortran:
23513 @if target-libgfortran
23514 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23516 installcheck-target-libgfortran: \
23517 configure-target-libgfortran
23518 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23519 r=`${PWD_COMMAND}`; export r; \
23520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23521 $(SET_LIB_PATH) \
23522 $(NORMAL_TARGET_EXPORTS) \
23523 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23524 for flag in $(EXTRA_TARGET_FLAGS); do \
23525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23526 done; \
23527 (cd $(TARGET_SUBDIR)/libgfortran && \
23528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23530 "RANLIB=$${RANLIB}" \
23531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23532 installcheck) \
23533 || exit 1
23535 @endif target-libgfortran
23537 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23538 maybe-mostlyclean-target-libgfortran:
23539 @if target-libgfortran
23540 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23542 mostlyclean-target-libgfortran:
23543 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23544 r=`${PWD_COMMAND}`; export r; \
23545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23546 $(SET_LIB_PATH) \
23547 $(NORMAL_TARGET_EXPORTS) \
23548 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23549 for flag in $(EXTRA_TARGET_FLAGS); do \
23550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23551 done; \
23552 (cd $(TARGET_SUBDIR)/libgfortran && \
23553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23555 "RANLIB=$${RANLIB}" \
23556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23557 mostlyclean) \
23558 || exit 1
23560 @endif target-libgfortran
23562 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23563 maybe-clean-target-libgfortran:
23564 @if target-libgfortran
23565 maybe-clean-target-libgfortran: clean-target-libgfortran
23567 clean-target-libgfortran:
23568 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23569 r=`${PWD_COMMAND}`; export r; \
23570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23571 $(SET_LIB_PATH) \
23572 $(NORMAL_TARGET_EXPORTS) \
23573 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23574 for flag in $(EXTRA_TARGET_FLAGS); do \
23575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23576 done; \
23577 (cd $(TARGET_SUBDIR)/libgfortran && \
23578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23580 "RANLIB=$${RANLIB}" \
23581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23582 clean) \
23583 || exit 1
23585 @endif target-libgfortran
23587 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23588 maybe-distclean-target-libgfortran:
23589 @if target-libgfortran
23590 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23592 distclean-target-libgfortran:
23593 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23594 r=`${PWD_COMMAND}`; export r; \
23595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23596 $(SET_LIB_PATH) \
23597 $(NORMAL_TARGET_EXPORTS) \
23598 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23599 for flag in $(EXTRA_TARGET_FLAGS); do \
23600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23601 done; \
23602 (cd $(TARGET_SUBDIR)/libgfortran && \
23603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23605 "RANLIB=$${RANLIB}" \
23606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23607 distclean) \
23608 || exit 1
23610 @endif target-libgfortran
23612 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23613 maybe-maintainer-clean-target-libgfortran:
23614 @if target-libgfortran
23615 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23617 maintainer-clean-target-libgfortran:
23618 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23619 r=`${PWD_COMMAND}`; export r; \
23620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23621 $(SET_LIB_PATH) \
23622 $(NORMAL_TARGET_EXPORTS) \
23623 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23624 for flag in $(EXTRA_TARGET_FLAGS); do \
23625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23626 done; \
23627 (cd $(TARGET_SUBDIR)/libgfortran && \
23628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23630 "RANLIB=$${RANLIB}" \
23631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23632 maintainer-clean) \
23633 || exit 1
23635 @endif target-libgfortran
23638 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23639 maybe-configure-target-libobjc:
23640 @if target-libobjc
23641 maybe-configure-target-libobjc: configure-target-libobjc
23643 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23644 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23645 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23646 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23647 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23649 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23650 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23651 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23652 r=`${PWD_COMMAND}`; export r; \
23653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23654 $(SET_LIB_PATH) \
23655 $(NORMAL_TARGET_EXPORTS) \
23656 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23657 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23658 case $(srcdir) in \
23659 /* | [A-Za-z]:[\\/]*) \
23660 topdir=$(srcdir) ;; \
23661 *) \
23662 case "$(TARGET_SUBDIR)" in \
23663 .) topdir="../$(srcdir)" ;; \
23664 *) topdir="../../$(srcdir)" ;; \
23665 esac ;; \
23666 esac; \
23667 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23668 libsrcdir="$$s/libobjc"; \
23669 rm -f no-such-file || : ; \
23670 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23671 $(TARGET_CONFIGARGS) $${srcdiroption} \
23672 --with-target-subdir="$(TARGET_SUBDIR)" \
23673 || exit 1
23674 @endif target-libobjc
23676 .PHONY: all-target-libobjc maybe-all-target-libobjc
23677 maybe-all-target-libobjc:
23678 @if target-libobjc
23679 TARGET-target-libobjc=all
23680 maybe-all-target-libobjc: all-target-libobjc
23681 all-target-libobjc: configure-target-libobjc
23682 @r=`${PWD_COMMAND}`; export r; \
23683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23684 $(SET_LIB_PATH) \
23685 $(NORMAL_TARGET_EXPORTS) \
23686 (cd $(TARGET_SUBDIR)/libobjc && \
23687 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
23688 @endif target-libobjc
23690 .PHONY: check-target-libobjc maybe-check-target-libobjc
23691 maybe-check-target-libobjc:
23692 @if target-libobjc
23693 maybe-check-target-libobjc: check-target-libobjc
23695 check-target-libobjc:
23696 @r=`${PWD_COMMAND}`; export r; \
23697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23698 $(SET_LIB_PATH) \
23699 $(NORMAL_TARGET_EXPORTS) \
23700 (cd $(TARGET_SUBDIR)/libobjc && \
23701 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23703 @endif target-libobjc
23705 .PHONY: install-target-libobjc maybe-install-target-libobjc
23706 maybe-install-target-libobjc:
23707 @if target-libobjc
23708 maybe-install-target-libobjc: install-target-libobjc
23710 install-target-libobjc: installdirs
23711 @r=`${PWD_COMMAND}`; export r; \
23712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23713 $(SET_LIB_PATH) \
23714 $(NORMAL_TARGET_EXPORTS) \
23715 (cd $(TARGET_SUBDIR)/libobjc && \
23716 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23718 @endif target-libobjc
23720 # Other targets (info, dvi, etc.)
23722 .PHONY: maybe-info-target-libobjc info-target-libobjc
23723 maybe-info-target-libobjc:
23724 @if target-libobjc
23725 maybe-info-target-libobjc: info-target-libobjc
23727 info-target-libobjc: \
23728 configure-target-libobjc
23729 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23730 r=`${PWD_COMMAND}`; export r; \
23731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23732 $(SET_LIB_PATH) \
23733 $(NORMAL_TARGET_EXPORTS) \
23734 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23735 for flag in $(EXTRA_TARGET_FLAGS); do \
23736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23737 done; \
23738 (cd $(TARGET_SUBDIR)/libobjc && \
23739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23741 "RANLIB=$${RANLIB}" \
23742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23743 info) \
23744 || exit 1
23746 @endif target-libobjc
23748 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23749 maybe-dvi-target-libobjc:
23750 @if target-libobjc
23751 maybe-dvi-target-libobjc: dvi-target-libobjc
23753 dvi-target-libobjc: \
23754 configure-target-libobjc
23755 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23756 r=`${PWD_COMMAND}`; export r; \
23757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23758 $(SET_LIB_PATH) \
23759 $(NORMAL_TARGET_EXPORTS) \
23760 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23761 for flag in $(EXTRA_TARGET_FLAGS); do \
23762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23763 done; \
23764 (cd $(TARGET_SUBDIR)/libobjc && \
23765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23767 "RANLIB=$${RANLIB}" \
23768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23769 dvi) \
23770 || exit 1
23772 @endif target-libobjc
23774 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23775 maybe-TAGS-target-libobjc:
23776 @if target-libobjc
23777 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23779 TAGS-target-libobjc: \
23780 configure-target-libobjc
23781 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23782 r=`${PWD_COMMAND}`; export r; \
23783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23784 $(SET_LIB_PATH) \
23785 $(NORMAL_TARGET_EXPORTS) \
23786 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23787 for flag in $(EXTRA_TARGET_FLAGS); do \
23788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23789 done; \
23790 (cd $(TARGET_SUBDIR)/libobjc && \
23791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23793 "RANLIB=$${RANLIB}" \
23794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23795 TAGS) \
23796 || exit 1
23798 @endif target-libobjc
23800 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23801 maybe-install-info-target-libobjc:
23802 @if target-libobjc
23803 maybe-install-info-target-libobjc: install-info-target-libobjc
23805 install-info-target-libobjc: \
23806 configure-target-libobjc \
23807 info-target-libobjc
23808 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23809 r=`${PWD_COMMAND}`; export r; \
23810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23811 $(SET_LIB_PATH) \
23812 $(NORMAL_TARGET_EXPORTS) \
23813 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23814 for flag in $(EXTRA_TARGET_FLAGS); do \
23815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23816 done; \
23817 (cd $(TARGET_SUBDIR)/libobjc && \
23818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23820 "RANLIB=$${RANLIB}" \
23821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23822 install-info) \
23823 || exit 1
23825 @endif target-libobjc
23827 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23828 maybe-installcheck-target-libobjc:
23829 @if target-libobjc
23830 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23832 installcheck-target-libobjc: \
23833 configure-target-libobjc
23834 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23835 r=`${PWD_COMMAND}`; export r; \
23836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23837 $(SET_LIB_PATH) \
23838 $(NORMAL_TARGET_EXPORTS) \
23839 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23840 for flag in $(EXTRA_TARGET_FLAGS); do \
23841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23842 done; \
23843 (cd $(TARGET_SUBDIR)/libobjc && \
23844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23846 "RANLIB=$${RANLIB}" \
23847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23848 installcheck) \
23849 || exit 1
23851 @endif target-libobjc
23853 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23854 maybe-mostlyclean-target-libobjc:
23855 @if target-libobjc
23856 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23858 mostlyclean-target-libobjc:
23859 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23860 r=`${PWD_COMMAND}`; export r; \
23861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23862 $(SET_LIB_PATH) \
23863 $(NORMAL_TARGET_EXPORTS) \
23864 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23865 for flag in $(EXTRA_TARGET_FLAGS); do \
23866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23867 done; \
23868 (cd $(TARGET_SUBDIR)/libobjc && \
23869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23871 "RANLIB=$${RANLIB}" \
23872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23873 mostlyclean) \
23874 || exit 1
23876 @endif target-libobjc
23878 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23879 maybe-clean-target-libobjc:
23880 @if target-libobjc
23881 maybe-clean-target-libobjc: clean-target-libobjc
23883 clean-target-libobjc:
23884 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23885 r=`${PWD_COMMAND}`; export r; \
23886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23887 $(SET_LIB_PATH) \
23888 $(NORMAL_TARGET_EXPORTS) \
23889 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23890 for flag in $(EXTRA_TARGET_FLAGS); do \
23891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23892 done; \
23893 (cd $(TARGET_SUBDIR)/libobjc && \
23894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23896 "RANLIB=$${RANLIB}" \
23897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23898 clean) \
23899 || exit 1
23901 @endif target-libobjc
23903 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23904 maybe-distclean-target-libobjc:
23905 @if target-libobjc
23906 maybe-distclean-target-libobjc: distclean-target-libobjc
23908 distclean-target-libobjc:
23909 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23910 r=`${PWD_COMMAND}`; export r; \
23911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23912 $(SET_LIB_PATH) \
23913 $(NORMAL_TARGET_EXPORTS) \
23914 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23915 for flag in $(EXTRA_TARGET_FLAGS); do \
23916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23917 done; \
23918 (cd $(TARGET_SUBDIR)/libobjc && \
23919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23921 "RANLIB=$${RANLIB}" \
23922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23923 distclean) \
23924 || exit 1
23926 @endif target-libobjc
23928 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23929 maybe-maintainer-clean-target-libobjc:
23930 @if target-libobjc
23931 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23933 maintainer-clean-target-libobjc:
23934 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23935 r=`${PWD_COMMAND}`; export r; \
23936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23937 $(SET_LIB_PATH) \
23938 $(NORMAL_TARGET_EXPORTS) \
23939 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23940 for flag in $(EXTRA_TARGET_FLAGS); do \
23941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23942 done; \
23943 (cd $(TARGET_SUBDIR)/libobjc && \
23944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23946 "RANLIB=$${RANLIB}" \
23947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23948 maintainer-clean) \
23949 || exit 1
23951 @endif target-libobjc
23954 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23955 maybe-configure-target-libtermcap:
23956 @if target-libtermcap
23957 maybe-configure-target-libtermcap: configure-target-libtermcap
23959 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23960 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23961 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23962 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23963 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23965 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23966 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23967 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23968 r=`${PWD_COMMAND}`; export r; \
23969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23970 $(SET_LIB_PATH) \
23971 $(NORMAL_TARGET_EXPORTS) \
23972 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23973 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23974 case $(srcdir) in \
23975 /* | [A-Za-z]:[\\/]*) \
23976 topdir=$(srcdir) ;; \
23977 *) \
23978 case "$(TARGET_SUBDIR)" in \
23979 .) topdir="../$(srcdir)" ;; \
23980 *) topdir="../../$(srcdir)" ;; \
23981 esac ;; \
23982 esac; \
23983 if [ "$(srcdir)" = "." ] ; then \
23984 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23985 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23986 if [ -f Makefile ]; then \
23987 if $(MAKE) distclean; then \
23988 true; \
23989 else \
23990 exit 1; \
23991 fi; \
23992 else \
23993 true; \
23994 fi; \
23995 else \
23996 exit 1; \
23997 fi; \
23998 else \
23999 true; \
24000 fi; \
24001 srcdiroption="--srcdir=."; \
24002 libsrcdir="."; \
24003 else \
24004 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
24005 libsrcdir="$$s/libtermcap"; \
24006 fi; \
24007 rm -f no-such-file || : ; \
24008 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24009 $(TARGET_CONFIGARGS) $${srcdiroption} \
24010 --with-target-subdir="$(TARGET_SUBDIR)" \
24011 || exit 1
24012 @endif target-libtermcap
24014 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
24015 maybe-all-target-libtermcap:
24016 @if target-libtermcap
24017 TARGET-target-libtermcap=all
24018 maybe-all-target-libtermcap: all-target-libtermcap
24019 all-target-libtermcap: configure-target-libtermcap
24020 @r=`${PWD_COMMAND}`; export r; \
24021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24022 $(SET_LIB_PATH) \
24023 $(NORMAL_TARGET_EXPORTS) \
24024 (cd $(TARGET_SUBDIR)/libtermcap && \
24025 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
24026 @endif target-libtermcap
24028 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
24029 maybe-check-target-libtermcap:
24030 @if target-libtermcap
24031 maybe-check-target-libtermcap: check-target-libtermcap
24033 # Dummy target for uncheckable module.
24034 check-target-libtermcap:
24036 @endif target-libtermcap
24038 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
24039 maybe-install-target-libtermcap:
24040 @if target-libtermcap
24041 maybe-install-target-libtermcap: install-target-libtermcap
24043 install-target-libtermcap: installdirs
24044 @r=`${PWD_COMMAND}`; export r; \
24045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24046 $(SET_LIB_PATH) \
24047 $(NORMAL_TARGET_EXPORTS) \
24048 (cd $(TARGET_SUBDIR)/libtermcap && \
24049 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24051 @endif target-libtermcap
24053 # Other targets (info, dvi, etc.)
24055 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
24056 maybe-info-target-libtermcap:
24057 @if target-libtermcap
24058 maybe-info-target-libtermcap: info-target-libtermcap
24060 info-target-libtermcap: \
24061 configure-target-libtermcap
24062 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24063 r=`${PWD_COMMAND}`; export r; \
24064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24065 $(SET_LIB_PATH) \
24066 $(NORMAL_TARGET_EXPORTS) \
24067 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
24068 for flag in $(EXTRA_TARGET_FLAGS); do \
24069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24070 done; \
24071 (cd $(TARGET_SUBDIR)/libtermcap && \
24072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24074 "RANLIB=$${RANLIB}" \
24075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24076 info) \
24077 || exit 1
24079 @endif target-libtermcap
24081 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
24082 maybe-dvi-target-libtermcap:
24083 @if target-libtermcap
24084 maybe-dvi-target-libtermcap: dvi-target-libtermcap
24086 dvi-target-libtermcap: \
24087 configure-target-libtermcap
24088 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24089 r=`${PWD_COMMAND}`; export r; \
24090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24091 $(SET_LIB_PATH) \
24092 $(NORMAL_TARGET_EXPORTS) \
24093 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
24094 for flag in $(EXTRA_TARGET_FLAGS); do \
24095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24096 done; \
24097 (cd $(TARGET_SUBDIR)/libtermcap && \
24098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24100 "RANLIB=$${RANLIB}" \
24101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24102 dvi) \
24103 || exit 1
24105 @endif target-libtermcap
24107 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
24108 maybe-TAGS-target-libtermcap:
24109 @if target-libtermcap
24110 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
24112 TAGS-target-libtermcap: \
24113 configure-target-libtermcap
24114 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24115 r=`${PWD_COMMAND}`; export r; \
24116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24117 $(SET_LIB_PATH) \
24118 $(NORMAL_TARGET_EXPORTS) \
24119 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
24120 for flag in $(EXTRA_TARGET_FLAGS); do \
24121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24122 done; \
24123 (cd $(TARGET_SUBDIR)/libtermcap && \
24124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24126 "RANLIB=$${RANLIB}" \
24127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24128 TAGS) \
24129 || exit 1
24131 @endif target-libtermcap
24133 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
24134 maybe-install-info-target-libtermcap:
24135 @if target-libtermcap
24136 maybe-install-info-target-libtermcap: install-info-target-libtermcap
24138 install-info-target-libtermcap: \
24139 configure-target-libtermcap \
24140 info-target-libtermcap
24141 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24142 r=`${PWD_COMMAND}`; export r; \
24143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24144 $(SET_LIB_PATH) \
24145 $(NORMAL_TARGET_EXPORTS) \
24146 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
24147 for flag in $(EXTRA_TARGET_FLAGS); do \
24148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24149 done; \
24150 (cd $(TARGET_SUBDIR)/libtermcap && \
24151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24153 "RANLIB=$${RANLIB}" \
24154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24155 install-info) \
24156 || exit 1
24158 @endif target-libtermcap
24160 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
24161 maybe-installcheck-target-libtermcap:
24162 @if target-libtermcap
24163 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
24165 installcheck-target-libtermcap: \
24166 configure-target-libtermcap
24167 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24168 r=`${PWD_COMMAND}`; export r; \
24169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24170 $(SET_LIB_PATH) \
24171 $(NORMAL_TARGET_EXPORTS) \
24172 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
24173 for flag in $(EXTRA_TARGET_FLAGS); do \
24174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24175 done; \
24176 (cd $(TARGET_SUBDIR)/libtermcap && \
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 installcheck) \
24182 || exit 1
24184 @endif target-libtermcap
24186 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
24187 maybe-mostlyclean-target-libtermcap:
24188 @if target-libtermcap
24189 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
24191 # libtermcap doesn't support mostlyclean.
24192 mostlyclean-target-libtermcap:
24194 @endif target-libtermcap
24196 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
24197 maybe-clean-target-libtermcap:
24198 @if target-libtermcap
24199 maybe-clean-target-libtermcap: clean-target-libtermcap
24201 # libtermcap doesn't support clean.
24202 clean-target-libtermcap:
24204 @endif target-libtermcap
24206 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
24207 maybe-distclean-target-libtermcap:
24208 @if target-libtermcap
24209 maybe-distclean-target-libtermcap: distclean-target-libtermcap
24211 # libtermcap doesn't support distclean.
24212 distclean-target-libtermcap:
24214 @endif target-libtermcap
24216 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
24217 maybe-maintainer-clean-target-libtermcap:
24218 @if target-libtermcap
24219 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
24221 # libtermcap doesn't support maintainer-clean.
24222 maintainer-clean-target-libtermcap:
24224 @endif target-libtermcap
24227 .PHONY: configure-target-winsup maybe-configure-target-winsup
24228 maybe-configure-target-winsup:
24229 @if target-winsup
24230 maybe-configure-target-winsup: configure-target-winsup
24232 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24233 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
24234 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24235 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
24236 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
24238 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
24239 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
24240 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24241 r=`${PWD_COMMAND}`; export r; \
24242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24243 $(SET_LIB_PATH) \
24244 $(NORMAL_TARGET_EXPORTS) \
24245 echo Configuring in $(TARGET_SUBDIR)/winsup; \
24246 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
24247 case $(srcdir) in \
24248 /* | [A-Za-z]:[\\/]*) \
24249 topdir=$(srcdir) ;; \
24250 *) \
24251 case "$(TARGET_SUBDIR)" in \
24252 .) topdir="../$(srcdir)" ;; \
24253 *) topdir="../../$(srcdir)" ;; \
24254 esac ;; \
24255 esac; \
24256 srcdiroption="--srcdir=$${topdir}/winsup"; \
24257 libsrcdir="$$s/winsup"; \
24258 rm -f no-such-file || : ; \
24259 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24260 $(TARGET_CONFIGARGS) $${srcdiroption} \
24261 --with-target-subdir="$(TARGET_SUBDIR)" \
24262 || exit 1
24263 @endif target-winsup
24265 .PHONY: all-target-winsup maybe-all-target-winsup
24266 maybe-all-target-winsup:
24267 @if target-winsup
24268 TARGET-target-winsup=all
24269 maybe-all-target-winsup: all-target-winsup
24270 all-target-winsup: configure-target-winsup
24271 @r=`${PWD_COMMAND}`; export r; \
24272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24273 $(SET_LIB_PATH) \
24274 $(NORMAL_TARGET_EXPORTS) \
24275 (cd $(TARGET_SUBDIR)/winsup && \
24276 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
24277 @endif target-winsup
24279 .PHONY: check-target-winsup maybe-check-target-winsup
24280 maybe-check-target-winsup:
24281 @if target-winsup
24282 maybe-check-target-winsup: check-target-winsup
24284 check-target-winsup:
24285 @r=`${PWD_COMMAND}`; export r; \
24286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24287 $(SET_LIB_PATH) \
24288 $(NORMAL_TARGET_EXPORTS) \
24289 (cd $(TARGET_SUBDIR)/winsup && \
24290 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24292 @endif target-winsup
24294 .PHONY: install-target-winsup maybe-install-target-winsup
24295 maybe-install-target-winsup:
24296 @if target-winsup
24297 maybe-install-target-winsup: install-target-winsup
24299 install-target-winsup: installdirs
24300 @r=`${PWD_COMMAND}`; export r; \
24301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24302 $(SET_LIB_PATH) \
24303 $(NORMAL_TARGET_EXPORTS) \
24304 (cd $(TARGET_SUBDIR)/winsup && \
24305 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24307 @endif target-winsup
24309 # Other targets (info, dvi, etc.)
24311 .PHONY: maybe-info-target-winsup info-target-winsup
24312 maybe-info-target-winsup:
24313 @if target-winsup
24314 maybe-info-target-winsup: info-target-winsup
24316 info-target-winsup: \
24317 configure-target-winsup
24318 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24319 r=`${PWD_COMMAND}`; export r; \
24320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24321 $(SET_LIB_PATH) \
24322 $(NORMAL_TARGET_EXPORTS) \
24323 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
24324 for flag in $(EXTRA_TARGET_FLAGS); do \
24325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24326 done; \
24327 (cd $(TARGET_SUBDIR)/winsup && \
24328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24330 "RANLIB=$${RANLIB}" \
24331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24332 info) \
24333 || exit 1
24335 @endif target-winsup
24337 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
24338 maybe-dvi-target-winsup:
24339 @if target-winsup
24340 maybe-dvi-target-winsup: dvi-target-winsup
24342 dvi-target-winsup: \
24343 configure-target-winsup
24344 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24345 r=`${PWD_COMMAND}`; export r; \
24346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24347 $(SET_LIB_PATH) \
24348 $(NORMAL_TARGET_EXPORTS) \
24349 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
24350 for flag in $(EXTRA_TARGET_FLAGS); do \
24351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24352 done; \
24353 (cd $(TARGET_SUBDIR)/winsup && \
24354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24356 "RANLIB=$${RANLIB}" \
24357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24358 dvi) \
24359 || exit 1
24361 @endif target-winsup
24363 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
24364 maybe-TAGS-target-winsup:
24365 @if target-winsup
24366 maybe-TAGS-target-winsup: TAGS-target-winsup
24368 TAGS-target-winsup: \
24369 configure-target-winsup
24370 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24371 r=`${PWD_COMMAND}`; export r; \
24372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24373 $(SET_LIB_PATH) \
24374 $(NORMAL_TARGET_EXPORTS) \
24375 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
24376 for flag in $(EXTRA_TARGET_FLAGS); do \
24377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24378 done; \
24379 (cd $(TARGET_SUBDIR)/winsup && \
24380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24382 "RANLIB=$${RANLIB}" \
24383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24384 TAGS) \
24385 || exit 1
24387 @endif target-winsup
24389 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24390 maybe-install-info-target-winsup:
24391 @if target-winsup
24392 maybe-install-info-target-winsup: install-info-target-winsup
24394 install-info-target-winsup: \
24395 configure-target-winsup \
24396 info-target-winsup
24397 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24398 r=`${PWD_COMMAND}`; export r; \
24399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24400 $(SET_LIB_PATH) \
24401 $(NORMAL_TARGET_EXPORTS) \
24402 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24403 for flag in $(EXTRA_TARGET_FLAGS); do \
24404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24405 done; \
24406 (cd $(TARGET_SUBDIR)/winsup && \
24407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24409 "RANLIB=$${RANLIB}" \
24410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24411 install-info) \
24412 || exit 1
24414 @endif target-winsup
24416 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24417 maybe-installcheck-target-winsup:
24418 @if target-winsup
24419 maybe-installcheck-target-winsup: installcheck-target-winsup
24421 installcheck-target-winsup: \
24422 configure-target-winsup
24423 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24424 r=`${PWD_COMMAND}`; export r; \
24425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24426 $(SET_LIB_PATH) \
24427 $(NORMAL_TARGET_EXPORTS) \
24428 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24429 for flag in $(EXTRA_TARGET_FLAGS); do \
24430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24431 done; \
24432 (cd $(TARGET_SUBDIR)/winsup && \
24433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24435 "RANLIB=$${RANLIB}" \
24436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24437 installcheck) \
24438 || exit 1
24440 @endif target-winsup
24442 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24443 maybe-mostlyclean-target-winsup:
24444 @if target-winsup
24445 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24447 mostlyclean-target-winsup:
24448 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24449 r=`${PWD_COMMAND}`; export r; \
24450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24451 $(SET_LIB_PATH) \
24452 $(NORMAL_TARGET_EXPORTS) \
24453 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24454 for flag in $(EXTRA_TARGET_FLAGS); do \
24455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24456 done; \
24457 (cd $(TARGET_SUBDIR)/winsup && \
24458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24460 "RANLIB=$${RANLIB}" \
24461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24462 mostlyclean) \
24463 || exit 1
24465 @endif target-winsup
24467 .PHONY: maybe-clean-target-winsup clean-target-winsup
24468 maybe-clean-target-winsup:
24469 @if target-winsup
24470 maybe-clean-target-winsup: clean-target-winsup
24472 clean-target-winsup:
24473 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24474 r=`${PWD_COMMAND}`; export r; \
24475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24476 $(SET_LIB_PATH) \
24477 $(NORMAL_TARGET_EXPORTS) \
24478 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24479 for flag in $(EXTRA_TARGET_FLAGS); do \
24480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24481 done; \
24482 (cd $(TARGET_SUBDIR)/winsup && \
24483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24485 "RANLIB=$${RANLIB}" \
24486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24487 clean) \
24488 || exit 1
24490 @endif target-winsup
24492 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24493 maybe-distclean-target-winsup:
24494 @if target-winsup
24495 maybe-distclean-target-winsup: distclean-target-winsup
24497 distclean-target-winsup:
24498 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24499 r=`${PWD_COMMAND}`; export r; \
24500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24501 $(SET_LIB_PATH) \
24502 $(NORMAL_TARGET_EXPORTS) \
24503 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24504 for flag in $(EXTRA_TARGET_FLAGS); do \
24505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24506 done; \
24507 (cd $(TARGET_SUBDIR)/winsup && \
24508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24510 "RANLIB=$${RANLIB}" \
24511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24512 distclean) \
24513 || exit 1
24515 @endif target-winsup
24517 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24518 maybe-maintainer-clean-target-winsup:
24519 @if target-winsup
24520 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24522 maintainer-clean-target-winsup:
24523 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24524 r=`${PWD_COMMAND}`; export r; \
24525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24526 $(SET_LIB_PATH) \
24527 $(NORMAL_TARGET_EXPORTS) \
24528 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24529 for flag in $(EXTRA_TARGET_FLAGS); do \
24530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24531 done; \
24532 (cd $(TARGET_SUBDIR)/winsup && \
24533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24535 "RANLIB=$${RANLIB}" \
24536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24537 maintainer-clean) \
24538 || exit 1
24540 @endif target-winsup
24543 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24544 maybe-configure-target-libgloss:
24545 @if target-libgloss
24546 maybe-configure-target-libgloss: configure-target-libgloss
24548 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24549 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24550 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24551 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24552 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24554 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24555 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24556 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24557 r=`${PWD_COMMAND}`; export r; \
24558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24559 $(SET_LIB_PATH) \
24560 $(NORMAL_TARGET_EXPORTS) \
24561 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24562 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24563 case $(srcdir) in \
24564 /* | [A-Za-z]:[\\/]*) \
24565 topdir=$(srcdir) ;; \
24566 *) \
24567 case "$(TARGET_SUBDIR)" in \
24568 .) topdir="../$(srcdir)" ;; \
24569 *) topdir="../../$(srcdir)" ;; \
24570 esac ;; \
24571 esac; \
24572 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24573 libsrcdir="$$s/libgloss"; \
24574 rm -f no-such-file || : ; \
24575 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24576 $(TARGET_CONFIGARGS) $${srcdiroption} \
24577 --with-target-subdir="$(TARGET_SUBDIR)" \
24578 || exit 1
24579 @endif target-libgloss
24581 .PHONY: all-target-libgloss maybe-all-target-libgloss
24582 maybe-all-target-libgloss:
24583 @if target-libgloss
24584 TARGET-target-libgloss=all
24585 maybe-all-target-libgloss: all-target-libgloss
24586 all-target-libgloss: configure-target-libgloss
24587 @r=`${PWD_COMMAND}`; export r; \
24588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24589 $(SET_LIB_PATH) \
24590 $(NORMAL_TARGET_EXPORTS) \
24591 (cd $(TARGET_SUBDIR)/libgloss && \
24592 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
24593 @endif target-libgloss
24595 .PHONY: check-target-libgloss maybe-check-target-libgloss
24596 maybe-check-target-libgloss:
24597 @if target-libgloss
24598 maybe-check-target-libgloss: check-target-libgloss
24600 # Dummy target for uncheckable module.
24601 check-target-libgloss:
24603 @endif target-libgloss
24605 .PHONY: install-target-libgloss maybe-install-target-libgloss
24606 maybe-install-target-libgloss:
24607 @if target-libgloss
24608 maybe-install-target-libgloss: install-target-libgloss
24610 install-target-libgloss: installdirs
24611 @r=`${PWD_COMMAND}`; export r; \
24612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24613 $(SET_LIB_PATH) \
24614 $(NORMAL_TARGET_EXPORTS) \
24615 (cd $(TARGET_SUBDIR)/libgloss && \
24616 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24618 @endif target-libgloss
24620 # Other targets (info, dvi, etc.)
24622 .PHONY: maybe-info-target-libgloss info-target-libgloss
24623 maybe-info-target-libgloss:
24624 @if target-libgloss
24625 maybe-info-target-libgloss: info-target-libgloss
24627 info-target-libgloss: \
24628 configure-target-libgloss
24629 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24630 r=`${PWD_COMMAND}`; export r; \
24631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24632 $(SET_LIB_PATH) \
24633 $(NORMAL_TARGET_EXPORTS) \
24634 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24635 for flag in $(EXTRA_TARGET_FLAGS); do \
24636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24637 done; \
24638 (cd $(TARGET_SUBDIR)/libgloss && \
24639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24641 "RANLIB=$${RANLIB}" \
24642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24643 info) \
24644 || exit 1
24646 @endif target-libgloss
24648 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24649 maybe-dvi-target-libgloss:
24650 @if target-libgloss
24651 maybe-dvi-target-libgloss: dvi-target-libgloss
24653 dvi-target-libgloss: \
24654 configure-target-libgloss
24655 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24656 r=`${PWD_COMMAND}`; export r; \
24657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24658 $(SET_LIB_PATH) \
24659 $(NORMAL_TARGET_EXPORTS) \
24660 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24661 for flag in $(EXTRA_TARGET_FLAGS); do \
24662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24663 done; \
24664 (cd $(TARGET_SUBDIR)/libgloss && \
24665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24667 "RANLIB=$${RANLIB}" \
24668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24669 dvi) \
24670 || exit 1
24672 @endif target-libgloss
24674 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24675 maybe-TAGS-target-libgloss:
24676 @if target-libgloss
24677 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24679 TAGS-target-libgloss: \
24680 configure-target-libgloss
24681 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24682 r=`${PWD_COMMAND}`; export r; \
24683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24684 $(SET_LIB_PATH) \
24685 $(NORMAL_TARGET_EXPORTS) \
24686 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24687 for flag in $(EXTRA_TARGET_FLAGS); do \
24688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24689 done; \
24690 (cd $(TARGET_SUBDIR)/libgloss && \
24691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24693 "RANLIB=$${RANLIB}" \
24694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24695 TAGS) \
24696 || exit 1
24698 @endif target-libgloss
24700 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24701 maybe-install-info-target-libgloss:
24702 @if target-libgloss
24703 maybe-install-info-target-libgloss: install-info-target-libgloss
24705 install-info-target-libgloss: \
24706 configure-target-libgloss \
24707 info-target-libgloss
24708 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24709 r=`${PWD_COMMAND}`; export r; \
24710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24711 $(SET_LIB_PATH) \
24712 $(NORMAL_TARGET_EXPORTS) \
24713 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24714 for flag in $(EXTRA_TARGET_FLAGS); do \
24715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24716 done; \
24717 (cd $(TARGET_SUBDIR)/libgloss && \
24718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24720 "RANLIB=$${RANLIB}" \
24721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24722 install-info) \
24723 || exit 1
24725 @endif target-libgloss
24727 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24728 maybe-installcheck-target-libgloss:
24729 @if target-libgloss
24730 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24732 installcheck-target-libgloss: \
24733 configure-target-libgloss
24734 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24735 r=`${PWD_COMMAND}`; export r; \
24736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24737 $(SET_LIB_PATH) \
24738 $(NORMAL_TARGET_EXPORTS) \
24739 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24740 for flag in $(EXTRA_TARGET_FLAGS); do \
24741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24742 done; \
24743 (cd $(TARGET_SUBDIR)/libgloss && \
24744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24746 "RANLIB=$${RANLIB}" \
24747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24748 installcheck) \
24749 || exit 1
24751 @endif target-libgloss
24753 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24754 maybe-mostlyclean-target-libgloss:
24755 @if target-libgloss
24756 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24758 mostlyclean-target-libgloss:
24759 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24760 r=`${PWD_COMMAND}`; export r; \
24761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24762 $(SET_LIB_PATH) \
24763 $(NORMAL_TARGET_EXPORTS) \
24764 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24765 for flag in $(EXTRA_TARGET_FLAGS); do \
24766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24767 done; \
24768 (cd $(TARGET_SUBDIR)/libgloss && \
24769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24771 "RANLIB=$${RANLIB}" \
24772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24773 mostlyclean) \
24774 || exit 1
24776 @endif target-libgloss
24778 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24779 maybe-clean-target-libgloss:
24780 @if target-libgloss
24781 maybe-clean-target-libgloss: clean-target-libgloss
24783 clean-target-libgloss:
24784 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24785 r=`${PWD_COMMAND}`; export r; \
24786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24787 $(SET_LIB_PATH) \
24788 $(NORMAL_TARGET_EXPORTS) \
24789 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24790 for flag in $(EXTRA_TARGET_FLAGS); do \
24791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24792 done; \
24793 (cd $(TARGET_SUBDIR)/libgloss && \
24794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24796 "RANLIB=$${RANLIB}" \
24797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24798 clean) \
24799 || exit 1
24801 @endif target-libgloss
24803 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24804 maybe-distclean-target-libgloss:
24805 @if target-libgloss
24806 maybe-distclean-target-libgloss: distclean-target-libgloss
24808 distclean-target-libgloss:
24809 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24810 r=`${PWD_COMMAND}`; export r; \
24811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24812 $(SET_LIB_PATH) \
24813 $(NORMAL_TARGET_EXPORTS) \
24814 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24815 for flag in $(EXTRA_TARGET_FLAGS); do \
24816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24817 done; \
24818 (cd $(TARGET_SUBDIR)/libgloss && \
24819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24821 "RANLIB=$${RANLIB}" \
24822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24823 distclean) \
24824 || exit 1
24826 @endif target-libgloss
24828 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24829 maybe-maintainer-clean-target-libgloss:
24830 @if target-libgloss
24831 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24833 maintainer-clean-target-libgloss:
24834 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24835 r=`${PWD_COMMAND}`; export r; \
24836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24837 $(SET_LIB_PATH) \
24838 $(NORMAL_TARGET_EXPORTS) \
24839 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24840 for flag in $(EXTRA_TARGET_FLAGS); do \
24841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24842 done; \
24843 (cd $(TARGET_SUBDIR)/libgloss && \
24844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24846 "RANLIB=$${RANLIB}" \
24847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24848 maintainer-clean) \
24849 || exit 1
24851 @endif target-libgloss
24854 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24855 maybe-configure-target-libiberty:
24856 @if target-libiberty
24857 maybe-configure-target-libiberty: configure-target-libiberty
24859 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24860 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24861 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24862 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24863 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24865 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24866 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24867 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24868 r=`${PWD_COMMAND}`; export r; \
24869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24870 $(SET_LIB_PATH) \
24871 $(NORMAL_TARGET_EXPORTS) \
24872 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24873 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24874 case $(srcdir) in \
24875 /* | [A-Za-z]:[\\/]*) \
24876 topdir=$(srcdir) ;; \
24877 *) \
24878 case "$(TARGET_SUBDIR)" in \
24879 .) topdir="../$(srcdir)" ;; \
24880 *) topdir="../../$(srcdir)" ;; \
24881 esac ;; \
24882 esac; \
24883 srcdiroption="--srcdir=$${topdir}/libiberty"; \
24884 libsrcdir="$$s/libiberty"; \
24885 rm -f no-such-file || : ; \
24886 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24887 $(TARGET_CONFIGARGS) $${srcdiroption} \
24888 --with-target-subdir="$(TARGET_SUBDIR)" \
24889 || exit 1
24890 @endif target-libiberty
24892 .PHONY: all-target-libiberty maybe-all-target-libiberty
24893 maybe-all-target-libiberty:
24894 @if target-libiberty
24895 TARGET-target-libiberty=all
24896 maybe-all-target-libiberty: all-target-libiberty
24897 all-target-libiberty: configure-target-libiberty
24898 @r=`${PWD_COMMAND}`; export r; \
24899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24900 $(SET_LIB_PATH) \
24901 $(NORMAL_TARGET_EXPORTS) \
24902 (cd $(TARGET_SUBDIR)/libiberty && \
24903 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
24904 @endif target-libiberty
24906 .PHONY: check-target-libiberty maybe-check-target-libiberty
24907 maybe-check-target-libiberty:
24908 @if target-libiberty
24909 maybe-check-target-libiberty: check-target-libiberty
24911 check-target-libiberty:
24912 @r=`${PWD_COMMAND}`; export r; \
24913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24914 $(SET_LIB_PATH) \
24915 $(NORMAL_TARGET_EXPORTS) \
24916 (cd $(TARGET_SUBDIR)/libiberty && \
24917 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24919 @endif target-libiberty
24921 .PHONY: install-target-libiberty maybe-install-target-libiberty
24922 maybe-install-target-libiberty:
24923 @if target-libiberty
24924 maybe-install-target-libiberty: install-target-libiberty
24926 install-target-libiberty: installdirs
24927 @r=`${PWD_COMMAND}`; export r; \
24928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24929 $(SET_LIB_PATH) \
24930 $(NORMAL_TARGET_EXPORTS) \
24931 (cd $(TARGET_SUBDIR)/libiberty && \
24932 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24934 @endif target-libiberty
24936 # Other targets (info, dvi, etc.)
24938 .PHONY: maybe-info-target-libiberty info-target-libiberty
24939 maybe-info-target-libiberty:
24940 @if target-libiberty
24941 maybe-info-target-libiberty: info-target-libiberty
24943 info-target-libiberty: \
24944 configure-target-libiberty
24945 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24946 r=`${PWD_COMMAND}`; export r; \
24947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24948 $(SET_LIB_PATH) \
24949 $(NORMAL_TARGET_EXPORTS) \
24950 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24951 for flag in $(EXTRA_TARGET_FLAGS); do \
24952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24953 done; \
24954 (cd $(TARGET_SUBDIR)/libiberty && \
24955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24957 "RANLIB=$${RANLIB}" \
24958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24959 info) \
24960 || exit 1
24962 @endif target-libiberty
24964 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24965 maybe-dvi-target-libiberty:
24966 @if target-libiberty
24967 maybe-dvi-target-libiberty: dvi-target-libiberty
24969 dvi-target-libiberty: \
24970 configure-target-libiberty
24971 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24972 r=`${PWD_COMMAND}`; export r; \
24973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24974 $(SET_LIB_PATH) \
24975 $(NORMAL_TARGET_EXPORTS) \
24976 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24977 for flag in $(EXTRA_TARGET_FLAGS); do \
24978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24979 done; \
24980 (cd $(TARGET_SUBDIR)/libiberty && \
24981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24983 "RANLIB=$${RANLIB}" \
24984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24985 dvi) \
24986 || exit 1
24988 @endif target-libiberty
24990 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24991 maybe-TAGS-target-libiberty:
24992 @if target-libiberty
24993 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24995 TAGS-target-libiberty: \
24996 configure-target-libiberty
24997 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24998 r=`${PWD_COMMAND}`; export r; \
24999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25000 $(SET_LIB_PATH) \
25001 $(NORMAL_TARGET_EXPORTS) \
25002 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
25003 for flag in $(EXTRA_TARGET_FLAGS); do \
25004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25005 done; \
25006 (cd $(TARGET_SUBDIR)/libiberty && \
25007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25009 "RANLIB=$${RANLIB}" \
25010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25011 TAGS) \
25012 || exit 1
25014 @endif target-libiberty
25016 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
25017 maybe-install-info-target-libiberty:
25018 @if target-libiberty
25019 maybe-install-info-target-libiberty: install-info-target-libiberty
25021 install-info-target-libiberty: \
25022 configure-target-libiberty \
25023 info-target-libiberty
25024 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25025 r=`${PWD_COMMAND}`; export r; \
25026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25027 $(SET_LIB_PATH) \
25028 $(NORMAL_TARGET_EXPORTS) \
25029 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
25030 for flag in $(EXTRA_TARGET_FLAGS); do \
25031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25032 done; \
25033 (cd $(TARGET_SUBDIR)/libiberty && \
25034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25036 "RANLIB=$${RANLIB}" \
25037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25038 install-info) \
25039 || exit 1
25041 @endif target-libiberty
25043 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
25044 maybe-installcheck-target-libiberty:
25045 @if target-libiberty
25046 maybe-installcheck-target-libiberty: installcheck-target-libiberty
25048 installcheck-target-libiberty: \
25049 configure-target-libiberty
25050 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25051 r=`${PWD_COMMAND}`; export r; \
25052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25053 $(SET_LIB_PATH) \
25054 $(NORMAL_TARGET_EXPORTS) \
25055 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
25056 for flag in $(EXTRA_TARGET_FLAGS); do \
25057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25058 done; \
25059 (cd $(TARGET_SUBDIR)/libiberty && \
25060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25062 "RANLIB=$${RANLIB}" \
25063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25064 installcheck) \
25065 || exit 1
25067 @endif target-libiberty
25069 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
25070 maybe-mostlyclean-target-libiberty:
25071 @if target-libiberty
25072 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
25074 mostlyclean-target-libiberty:
25075 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25076 r=`${PWD_COMMAND}`; export r; \
25077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25078 $(SET_LIB_PATH) \
25079 $(NORMAL_TARGET_EXPORTS) \
25080 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
25081 for flag in $(EXTRA_TARGET_FLAGS); do \
25082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25083 done; \
25084 (cd $(TARGET_SUBDIR)/libiberty && \
25085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25087 "RANLIB=$${RANLIB}" \
25088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25089 mostlyclean) \
25090 || exit 1
25092 @endif target-libiberty
25094 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
25095 maybe-clean-target-libiberty:
25096 @if target-libiberty
25097 maybe-clean-target-libiberty: clean-target-libiberty
25099 clean-target-libiberty:
25100 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25101 r=`${PWD_COMMAND}`; export r; \
25102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25103 $(SET_LIB_PATH) \
25104 $(NORMAL_TARGET_EXPORTS) \
25105 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
25106 for flag in $(EXTRA_TARGET_FLAGS); do \
25107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25108 done; \
25109 (cd $(TARGET_SUBDIR)/libiberty && \
25110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25112 "RANLIB=$${RANLIB}" \
25113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25114 clean) \
25115 || exit 1
25117 @endif target-libiberty
25119 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
25120 maybe-distclean-target-libiberty:
25121 @if target-libiberty
25122 maybe-distclean-target-libiberty: distclean-target-libiberty
25124 distclean-target-libiberty:
25125 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25126 r=`${PWD_COMMAND}`; export r; \
25127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25128 $(SET_LIB_PATH) \
25129 $(NORMAL_TARGET_EXPORTS) \
25130 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
25131 for flag in $(EXTRA_TARGET_FLAGS); do \
25132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25133 done; \
25134 (cd $(TARGET_SUBDIR)/libiberty && \
25135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25137 "RANLIB=$${RANLIB}" \
25138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25139 distclean) \
25140 || exit 1
25142 @endif target-libiberty
25144 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
25145 maybe-maintainer-clean-target-libiberty:
25146 @if target-libiberty
25147 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
25149 maintainer-clean-target-libiberty:
25150 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25151 r=`${PWD_COMMAND}`; export r; \
25152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25153 $(SET_LIB_PATH) \
25154 $(NORMAL_TARGET_EXPORTS) \
25155 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
25156 for flag in $(EXTRA_TARGET_FLAGS); do \
25157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25158 done; \
25159 (cd $(TARGET_SUBDIR)/libiberty && \
25160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25162 "RANLIB=$${RANLIB}" \
25163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25164 maintainer-clean) \
25165 || exit 1
25167 @endif target-libiberty
25170 .PHONY: configure-target-gperf maybe-configure-target-gperf
25171 maybe-configure-target-gperf:
25172 @if target-gperf
25173 maybe-configure-target-gperf: configure-target-gperf
25175 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25176 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
25177 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25178 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
25179 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
25181 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
25182 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
25183 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25184 r=`${PWD_COMMAND}`; export r; \
25185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25186 $(SET_LIB_PATH) \
25187 $(NORMAL_TARGET_EXPORTS) \
25188 echo Configuring in $(TARGET_SUBDIR)/gperf; \
25189 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
25190 case $(srcdir) in \
25191 /* | [A-Za-z]:[\\/]*) \
25192 topdir=$(srcdir) ;; \
25193 *) \
25194 case "$(TARGET_SUBDIR)" in \
25195 .) topdir="../$(srcdir)" ;; \
25196 *) topdir="../../$(srcdir)" ;; \
25197 esac ;; \
25198 esac; \
25199 srcdiroption="--srcdir=$${topdir}/gperf"; \
25200 libsrcdir="$$s/gperf"; \
25201 rm -f no-such-file || : ; \
25202 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25203 $(TARGET_CONFIGARGS) $${srcdiroption} \
25204 --with-target-subdir="$(TARGET_SUBDIR)" \
25205 || exit 1
25206 @endif target-gperf
25208 .PHONY: all-target-gperf maybe-all-target-gperf
25209 maybe-all-target-gperf:
25210 @if target-gperf
25211 TARGET-target-gperf=all
25212 maybe-all-target-gperf: all-target-gperf
25213 all-target-gperf: configure-target-gperf
25214 @r=`${PWD_COMMAND}`; export r; \
25215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25216 $(SET_LIB_PATH) \
25217 $(NORMAL_TARGET_EXPORTS) \
25218 (cd $(TARGET_SUBDIR)/gperf && \
25219 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
25220 @endif target-gperf
25222 .PHONY: check-target-gperf maybe-check-target-gperf
25223 maybe-check-target-gperf:
25224 @if target-gperf
25225 maybe-check-target-gperf: check-target-gperf
25227 check-target-gperf:
25228 @r=`${PWD_COMMAND}`; export r; \
25229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25230 $(SET_LIB_PATH) \
25231 $(NORMAL_TARGET_EXPORTS) \
25232 (cd $(TARGET_SUBDIR)/gperf && \
25233 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25235 @endif target-gperf
25237 .PHONY: install-target-gperf maybe-install-target-gperf
25238 maybe-install-target-gperf:
25239 @if target-gperf
25240 maybe-install-target-gperf: install-target-gperf
25242 install-target-gperf: installdirs
25243 @r=`${PWD_COMMAND}`; export r; \
25244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25245 $(SET_LIB_PATH) \
25246 $(NORMAL_TARGET_EXPORTS) \
25247 (cd $(TARGET_SUBDIR)/gperf && \
25248 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25250 @endif target-gperf
25252 # Other targets (info, dvi, etc.)
25254 .PHONY: maybe-info-target-gperf info-target-gperf
25255 maybe-info-target-gperf:
25256 @if target-gperf
25257 maybe-info-target-gperf: info-target-gperf
25259 info-target-gperf: \
25260 configure-target-gperf
25261 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25262 r=`${PWD_COMMAND}`; export r; \
25263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25264 $(SET_LIB_PATH) \
25265 $(NORMAL_TARGET_EXPORTS) \
25266 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
25267 for flag in $(EXTRA_TARGET_FLAGS); do \
25268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25269 done; \
25270 (cd $(TARGET_SUBDIR)/gperf && \
25271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25273 "RANLIB=$${RANLIB}" \
25274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25275 info) \
25276 || exit 1
25278 @endif target-gperf
25280 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
25281 maybe-dvi-target-gperf:
25282 @if target-gperf
25283 maybe-dvi-target-gperf: dvi-target-gperf
25285 dvi-target-gperf: \
25286 configure-target-gperf
25287 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25288 r=`${PWD_COMMAND}`; export r; \
25289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25290 $(SET_LIB_PATH) \
25291 $(NORMAL_TARGET_EXPORTS) \
25292 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
25293 for flag in $(EXTRA_TARGET_FLAGS); do \
25294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25295 done; \
25296 (cd $(TARGET_SUBDIR)/gperf && \
25297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25299 "RANLIB=$${RANLIB}" \
25300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25301 dvi) \
25302 || exit 1
25304 @endif target-gperf
25306 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
25307 maybe-TAGS-target-gperf:
25308 @if target-gperf
25309 maybe-TAGS-target-gperf: TAGS-target-gperf
25311 TAGS-target-gperf: \
25312 configure-target-gperf
25313 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25314 r=`${PWD_COMMAND}`; export r; \
25315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25316 $(SET_LIB_PATH) \
25317 $(NORMAL_TARGET_EXPORTS) \
25318 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
25319 for flag in $(EXTRA_TARGET_FLAGS); do \
25320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25321 done; \
25322 (cd $(TARGET_SUBDIR)/gperf && \
25323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25325 "RANLIB=$${RANLIB}" \
25326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25327 TAGS) \
25328 || exit 1
25330 @endif target-gperf
25332 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
25333 maybe-install-info-target-gperf:
25334 @if target-gperf
25335 maybe-install-info-target-gperf: install-info-target-gperf
25337 install-info-target-gperf: \
25338 configure-target-gperf \
25339 info-target-gperf
25340 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25341 r=`${PWD_COMMAND}`; export r; \
25342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25343 $(SET_LIB_PATH) \
25344 $(NORMAL_TARGET_EXPORTS) \
25345 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
25346 for flag in $(EXTRA_TARGET_FLAGS); do \
25347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25348 done; \
25349 (cd $(TARGET_SUBDIR)/gperf && \
25350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25352 "RANLIB=$${RANLIB}" \
25353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25354 install-info) \
25355 || exit 1
25357 @endif target-gperf
25359 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
25360 maybe-installcheck-target-gperf:
25361 @if target-gperf
25362 maybe-installcheck-target-gperf: installcheck-target-gperf
25364 installcheck-target-gperf: \
25365 configure-target-gperf
25366 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25367 r=`${PWD_COMMAND}`; export r; \
25368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25369 $(SET_LIB_PATH) \
25370 $(NORMAL_TARGET_EXPORTS) \
25371 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
25372 for flag in $(EXTRA_TARGET_FLAGS); do \
25373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25374 done; \
25375 (cd $(TARGET_SUBDIR)/gperf && \
25376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25378 "RANLIB=$${RANLIB}" \
25379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25380 installcheck) \
25381 || exit 1
25383 @endif target-gperf
25385 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25386 maybe-mostlyclean-target-gperf:
25387 @if target-gperf
25388 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25390 mostlyclean-target-gperf:
25391 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25392 r=`${PWD_COMMAND}`; export r; \
25393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25394 $(SET_LIB_PATH) \
25395 $(NORMAL_TARGET_EXPORTS) \
25396 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25397 for flag in $(EXTRA_TARGET_FLAGS); do \
25398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25399 done; \
25400 (cd $(TARGET_SUBDIR)/gperf && \
25401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25403 "RANLIB=$${RANLIB}" \
25404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25405 mostlyclean) \
25406 || exit 1
25408 @endif target-gperf
25410 .PHONY: maybe-clean-target-gperf clean-target-gperf
25411 maybe-clean-target-gperf:
25412 @if target-gperf
25413 maybe-clean-target-gperf: clean-target-gperf
25415 clean-target-gperf:
25416 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25417 r=`${PWD_COMMAND}`; export r; \
25418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25419 $(SET_LIB_PATH) \
25420 $(NORMAL_TARGET_EXPORTS) \
25421 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25422 for flag in $(EXTRA_TARGET_FLAGS); do \
25423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25424 done; \
25425 (cd $(TARGET_SUBDIR)/gperf && \
25426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25428 "RANLIB=$${RANLIB}" \
25429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25430 clean) \
25431 || exit 1
25433 @endif target-gperf
25435 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25436 maybe-distclean-target-gperf:
25437 @if target-gperf
25438 maybe-distclean-target-gperf: distclean-target-gperf
25440 distclean-target-gperf:
25441 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25442 r=`${PWD_COMMAND}`; export r; \
25443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25444 $(SET_LIB_PATH) \
25445 $(NORMAL_TARGET_EXPORTS) \
25446 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25447 for flag in $(EXTRA_TARGET_FLAGS); do \
25448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25449 done; \
25450 (cd $(TARGET_SUBDIR)/gperf && \
25451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25453 "RANLIB=$${RANLIB}" \
25454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25455 distclean) \
25456 || exit 1
25458 @endif target-gperf
25460 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25461 maybe-maintainer-clean-target-gperf:
25462 @if target-gperf
25463 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25465 maintainer-clean-target-gperf:
25466 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25467 r=`${PWD_COMMAND}`; export r; \
25468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25469 $(SET_LIB_PATH) \
25470 $(NORMAL_TARGET_EXPORTS) \
25471 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25472 for flag in $(EXTRA_TARGET_FLAGS); do \
25473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25474 done; \
25475 (cd $(TARGET_SUBDIR)/gperf && \
25476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25478 "RANLIB=$${RANLIB}" \
25479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25480 maintainer-clean) \
25481 || exit 1
25483 @endif target-gperf
25486 .PHONY: configure-target-examples maybe-configure-target-examples
25487 maybe-configure-target-examples:
25488 @if target-examples
25489 maybe-configure-target-examples: configure-target-examples
25491 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25492 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25493 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25494 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25495 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25497 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25498 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25499 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25500 r=`${PWD_COMMAND}`; export r; \
25501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25502 $(SET_LIB_PATH) \
25503 $(NORMAL_TARGET_EXPORTS) \
25504 echo Configuring in $(TARGET_SUBDIR)/examples; \
25505 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25506 case $(srcdir) in \
25507 /* | [A-Za-z]:[\\/]*) \
25508 topdir=$(srcdir) ;; \
25509 *) \
25510 case "$(TARGET_SUBDIR)" in \
25511 .) topdir="../$(srcdir)" ;; \
25512 *) topdir="../../$(srcdir)" ;; \
25513 esac ;; \
25514 esac; \
25515 srcdiroption="--srcdir=$${topdir}/examples"; \
25516 libsrcdir="$$s/examples"; \
25517 rm -f no-such-file || : ; \
25518 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25519 $(TARGET_CONFIGARGS) $${srcdiroption} \
25520 --with-target-subdir="$(TARGET_SUBDIR)" \
25521 || exit 1
25522 @endif target-examples
25524 .PHONY: all-target-examples maybe-all-target-examples
25525 maybe-all-target-examples:
25526 @if target-examples
25527 TARGET-target-examples=all
25528 maybe-all-target-examples: all-target-examples
25529 all-target-examples: configure-target-examples
25530 @r=`${PWD_COMMAND}`; export r; \
25531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25532 $(SET_LIB_PATH) \
25533 $(NORMAL_TARGET_EXPORTS) \
25534 (cd $(TARGET_SUBDIR)/examples && \
25535 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
25536 @endif target-examples
25538 .PHONY: check-target-examples maybe-check-target-examples
25539 maybe-check-target-examples:
25540 @if target-examples
25541 maybe-check-target-examples: check-target-examples
25543 # Dummy target for uncheckable module.
25544 check-target-examples:
25546 @endif target-examples
25548 .PHONY: install-target-examples maybe-install-target-examples
25549 maybe-install-target-examples:
25550 @if target-examples
25551 maybe-install-target-examples: install-target-examples
25553 # Dummy target for uninstallable.
25554 install-target-examples:
25556 @endif target-examples
25558 # Other targets (info, dvi, etc.)
25560 .PHONY: maybe-info-target-examples info-target-examples
25561 maybe-info-target-examples:
25562 @if target-examples
25563 maybe-info-target-examples: info-target-examples
25565 info-target-examples: \
25566 configure-target-examples
25567 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25568 r=`${PWD_COMMAND}`; export r; \
25569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25570 $(SET_LIB_PATH) \
25571 $(NORMAL_TARGET_EXPORTS) \
25572 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25573 for flag in $(EXTRA_TARGET_FLAGS); do \
25574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25575 done; \
25576 (cd $(TARGET_SUBDIR)/examples && \
25577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25579 "RANLIB=$${RANLIB}" \
25580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25581 info) \
25582 || exit 1
25584 @endif target-examples
25586 .PHONY: maybe-dvi-target-examples dvi-target-examples
25587 maybe-dvi-target-examples:
25588 @if target-examples
25589 maybe-dvi-target-examples: dvi-target-examples
25591 dvi-target-examples: \
25592 configure-target-examples
25593 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25594 r=`${PWD_COMMAND}`; export r; \
25595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25596 $(SET_LIB_PATH) \
25597 $(NORMAL_TARGET_EXPORTS) \
25598 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25599 for flag in $(EXTRA_TARGET_FLAGS); do \
25600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25601 done; \
25602 (cd $(TARGET_SUBDIR)/examples && \
25603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25605 "RANLIB=$${RANLIB}" \
25606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25607 dvi) \
25608 || exit 1
25610 @endif target-examples
25612 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25613 maybe-TAGS-target-examples:
25614 @if target-examples
25615 maybe-TAGS-target-examples: TAGS-target-examples
25617 TAGS-target-examples: \
25618 configure-target-examples
25619 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25620 r=`${PWD_COMMAND}`; export r; \
25621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25622 $(SET_LIB_PATH) \
25623 $(NORMAL_TARGET_EXPORTS) \
25624 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25625 for flag in $(EXTRA_TARGET_FLAGS); do \
25626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25627 done; \
25628 (cd $(TARGET_SUBDIR)/examples && \
25629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25631 "RANLIB=$${RANLIB}" \
25632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25633 TAGS) \
25634 || exit 1
25636 @endif target-examples
25638 .PHONY: maybe-install-info-target-examples install-info-target-examples
25639 maybe-install-info-target-examples:
25640 @if target-examples
25641 maybe-install-info-target-examples: install-info-target-examples
25643 install-info-target-examples: \
25644 configure-target-examples \
25645 info-target-examples
25646 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25647 r=`${PWD_COMMAND}`; export r; \
25648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25649 $(SET_LIB_PATH) \
25650 $(NORMAL_TARGET_EXPORTS) \
25651 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25652 for flag in $(EXTRA_TARGET_FLAGS); do \
25653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25654 done; \
25655 (cd $(TARGET_SUBDIR)/examples && \
25656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25658 "RANLIB=$${RANLIB}" \
25659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25660 install-info) \
25661 || exit 1
25663 @endif target-examples
25665 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25666 maybe-installcheck-target-examples:
25667 @if target-examples
25668 maybe-installcheck-target-examples: installcheck-target-examples
25670 installcheck-target-examples: \
25671 configure-target-examples
25672 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25673 r=`${PWD_COMMAND}`; export r; \
25674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25675 $(SET_LIB_PATH) \
25676 $(NORMAL_TARGET_EXPORTS) \
25677 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25678 for flag in $(EXTRA_TARGET_FLAGS); do \
25679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25680 done; \
25681 (cd $(TARGET_SUBDIR)/examples && \
25682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25684 "RANLIB=$${RANLIB}" \
25685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25686 installcheck) \
25687 || exit 1
25689 @endif target-examples
25691 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25692 maybe-mostlyclean-target-examples:
25693 @if target-examples
25694 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25696 mostlyclean-target-examples:
25697 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25698 r=`${PWD_COMMAND}`; export r; \
25699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25700 $(SET_LIB_PATH) \
25701 $(NORMAL_TARGET_EXPORTS) \
25702 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25703 for flag in $(EXTRA_TARGET_FLAGS); do \
25704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25705 done; \
25706 (cd $(TARGET_SUBDIR)/examples && \
25707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25709 "RANLIB=$${RANLIB}" \
25710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25711 mostlyclean) \
25712 || exit 1
25714 @endif target-examples
25716 .PHONY: maybe-clean-target-examples clean-target-examples
25717 maybe-clean-target-examples:
25718 @if target-examples
25719 maybe-clean-target-examples: clean-target-examples
25721 clean-target-examples:
25722 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25723 r=`${PWD_COMMAND}`; export r; \
25724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25725 $(SET_LIB_PATH) \
25726 $(NORMAL_TARGET_EXPORTS) \
25727 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25728 for flag in $(EXTRA_TARGET_FLAGS); do \
25729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25730 done; \
25731 (cd $(TARGET_SUBDIR)/examples && \
25732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25734 "RANLIB=$${RANLIB}" \
25735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25736 clean) \
25737 || exit 1
25739 @endif target-examples
25741 .PHONY: maybe-distclean-target-examples distclean-target-examples
25742 maybe-distclean-target-examples:
25743 @if target-examples
25744 maybe-distclean-target-examples: distclean-target-examples
25746 distclean-target-examples:
25747 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25748 r=`${PWD_COMMAND}`; export r; \
25749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25750 $(SET_LIB_PATH) \
25751 $(NORMAL_TARGET_EXPORTS) \
25752 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25753 for flag in $(EXTRA_TARGET_FLAGS); do \
25754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25755 done; \
25756 (cd $(TARGET_SUBDIR)/examples && \
25757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25759 "RANLIB=$${RANLIB}" \
25760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25761 distclean) \
25762 || exit 1
25764 @endif target-examples
25766 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25767 maybe-maintainer-clean-target-examples:
25768 @if target-examples
25769 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25771 maintainer-clean-target-examples:
25772 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25773 r=`${PWD_COMMAND}`; export r; \
25774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25775 $(SET_LIB_PATH) \
25776 $(NORMAL_TARGET_EXPORTS) \
25777 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25778 for flag in $(EXTRA_TARGET_FLAGS); do \
25779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25780 done; \
25781 (cd $(TARGET_SUBDIR)/examples && \
25782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25784 "RANLIB=$${RANLIB}" \
25785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25786 maintainer-clean) \
25787 || exit 1
25789 @endif target-examples
25792 .PHONY: configure-target-libffi maybe-configure-target-libffi
25793 maybe-configure-target-libffi:
25794 @if target-libffi
25795 maybe-configure-target-libffi: configure-target-libffi
25797 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25798 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25799 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25800 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25801 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25803 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25804 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25805 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25806 r=`${PWD_COMMAND}`; export r; \
25807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25808 $(SET_LIB_PATH) \
25809 $(NORMAL_TARGET_EXPORTS) \
25810 echo Configuring in $(TARGET_SUBDIR)/libffi; \
25811 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25812 case $(srcdir) in \
25813 /* | [A-Za-z]:[\\/]*) \
25814 topdir=$(srcdir) ;; \
25815 *) \
25816 case "$(TARGET_SUBDIR)" in \
25817 .) topdir="../$(srcdir)" ;; \
25818 *) topdir="../../$(srcdir)" ;; \
25819 esac ;; \
25820 esac; \
25821 srcdiroption="--srcdir=$${topdir}/libffi"; \
25822 libsrcdir="$$s/libffi"; \
25823 rm -f no-such-file || : ; \
25824 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25825 $(TARGET_CONFIGARGS) $${srcdiroption} \
25826 --with-target-subdir="$(TARGET_SUBDIR)" \
25827 || exit 1
25828 @endif target-libffi
25830 .PHONY: all-target-libffi maybe-all-target-libffi
25831 maybe-all-target-libffi:
25832 @if target-libffi
25833 TARGET-target-libffi=all
25834 maybe-all-target-libffi: all-target-libffi
25835 all-target-libffi: configure-target-libffi
25836 @r=`${PWD_COMMAND}`; export r; \
25837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25838 $(SET_LIB_PATH) \
25839 $(NORMAL_TARGET_EXPORTS) \
25840 (cd $(TARGET_SUBDIR)/libffi && \
25841 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
25842 @endif target-libffi
25844 .PHONY: check-target-libffi maybe-check-target-libffi
25845 maybe-check-target-libffi:
25846 @if target-libffi
25847 maybe-check-target-libffi: check-target-libffi
25849 check-target-libffi:
25850 @r=`${PWD_COMMAND}`; export r; \
25851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25852 $(SET_LIB_PATH) \
25853 $(NORMAL_TARGET_EXPORTS) \
25854 (cd $(TARGET_SUBDIR)/libffi && \
25855 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25857 @endif target-libffi
25859 .PHONY: install-target-libffi maybe-install-target-libffi
25860 maybe-install-target-libffi:
25861 @if target-libffi
25862 maybe-install-target-libffi: install-target-libffi
25864 install-target-libffi: installdirs
25865 @r=`${PWD_COMMAND}`; export r; \
25866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25867 $(SET_LIB_PATH) \
25868 $(NORMAL_TARGET_EXPORTS) \
25869 (cd $(TARGET_SUBDIR)/libffi && \
25870 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25872 @endif target-libffi
25874 # Other targets (info, dvi, etc.)
25876 .PHONY: maybe-info-target-libffi info-target-libffi
25877 maybe-info-target-libffi:
25878 @if target-libffi
25879 maybe-info-target-libffi: info-target-libffi
25881 info-target-libffi: \
25882 configure-target-libffi
25883 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25884 r=`${PWD_COMMAND}`; export r; \
25885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25886 $(SET_LIB_PATH) \
25887 $(NORMAL_TARGET_EXPORTS) \
25888 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25889 for flag in $(EXTRA_TARGET_FLAGS); do \
25890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25891 done; \
25892 (cd $(TARGET_SUBDIR)/libffi && \
25893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25895 "RANLIB=$${RANLIB}" \
25896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25897 info) \
25898 || exit 1
25900 @endif target-libffi
25902 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25903 maybe-dvi-target-libffi:
25904 @if target-libffi
25905 maybe-dvi-target-libffi: dvi-target-libffi
25907 dvi-target-libffi: \
25908 configure-target-libffi
25909 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25910 r=`${PWD_COMMAND}`; export r; \
25911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25912 $(SET_LIB_PATH) \
25913 $(NORMAL_TARGET_EXPORTS) \
25914 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25915 for flag in $(EXTRA_TARGET_FLAGS); do \
25916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25917 done; \
25918 (cd $(TARGET_SUBDIR)/libffi && \
25919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25921 "RANLIB=$${RANLIB}" \
25922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25923 dvi) \
25924 || exit 1
25926 @endif target-libffi
25928 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25929 maybe-TAGS-target-libffi:
25930 @if target-libffi
25931 maybe-TAGS-target-libffi: TAGS-target-libffi
25933 TAGS-target-libffi: \
25934 configure-target-libffi
25935 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25936 r=`${PWD_COMMAND}`; export r; \
25937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25938 $(SET_LIB_PATH) \
25939 $(NORMAL_TARGET_EXPORTS) \
25940 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25941 for flag in $(EXTRA_TARGET_FLAGS); do \
25942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25943 done; \
25944 (cd $(TARGET_SUBDIR)/libffi && \
25945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25947 "RANLIB=$${RANLIB}" \
25948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25949 TAGS) \
25950 || exit 1
25952 @endif target-libffi
25954 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25955 maybe-install-info-target-libffi:
25956 @if target-libffi
25957 maybe-install-info-target-libffi: install-info-target-libffi
25959 install-info-target-libffi: \
25960 configure-target-libffi \
25961 info-target-libffi
25962 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25963 r=`${PWD_COMMAND}`; export r; \
25964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25965 $(SET_LIB_PATH) \
25966 $(NORMAL_TARGET_EXPORTS) \
25967 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25968 for flag in $(EXTRA_TARGET_FLAGS); do \
25969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25970 done; \
25971 (cd $(TARGET_SUBDIR)/libffi && \
25972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25974 "RANLIB=$${RANLIB}" \
25975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25976 install-info) \
25977 || exit 1
25979 @endif target-libffi
25981 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25982 maybe-installcheck-target-libffi:
25983 @if target-libffi
25984 maybe-installcheck-target-libffi: installcheck-target-libffi
25986 installcheck-target-libffi: \
25987 configure-target-libffi
25988 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25989 r=`${PWD_COMMAND}`; export r; \
25990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25991 $(SET_LIB_PATH) \
25992 $(NORMAL_TARGET_EXPORTS) \
25993 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25994 for flag in $(EXTRA_TARGET_FLAGS); do \
25995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25996 done; \
25997 (cd $(TARGET_SUBDIR)/libffi && \
25998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26000 "RANLIB=$${RANLIB}" \
26001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26002 installcheck) \
26003 || exit 1
26005 @endif target-libffi
26007 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
26008 maybe-mostlyclean-target-libffi:
26009 @if target-libffi
26010 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
26012 mostlyclean-target-libffi:
26013 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26014 r=`${PWD_COMMAND}`; export r; \
26015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26016 $(SET_LIB_PATH) \
26017 $(NORMAL_TARGET_EXPORTS) \
26018 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
26019 for flag in $(EXTRA_TARGET_FLAGS); do \
26020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26021 done; \
26022 (cd $(TARGET_SUBDIR)/libffi && \
26023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26025 "RANLIB=$${RANLIB}" \
26026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26027 mostlyclean) \
26028 || exit 1
26030 @endif target-libffi
26032 .PHONY: maybe-clean-target-libffi clean-target-libffi
26033 maybe-clean-target-libffi:
26034 @if target-libffi
26035 maybe-clean-target-libffi: clean-target-libffi
26037 clean-target-libffi:
26038 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26039 r=`${PWD_COMMAND}`; export r; \
26040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26041 $(SET_LIB_PATH) \
26042 $(NORMAL_TARGET_EXPORTS) \
26043 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
26044 for flag in $(EXTRA_TARGET_FLAGS); do \
26045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26046 done; \
26047 (cd $(TARGET_SUBDIR)/libffi && \
26048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26050 "RANLIB=$${RANLIB}" \
26051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26052 clean) \
26053 || exit 1
26055 @endif target-libffi
26057 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
26058 maybe-distclean-target-libffi:
26059 @if target-libffi
26060 maybe-distclean-target-libffi: distclean-target-libffi
26062 distclean-target-libffi:
26063 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26064 r=`${PWD_COMMAND}`; export r; \
26065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26066 $(SET_LIB_PATH) \
26067 $(NORMAL_TARGET_EXPORTS) \
26068 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
26069 for flag in $(EXTRA_TARGET_FLAGS); do \
26070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26071 done; \
26072 (cd $(TARGET_SUBDIR)/libffi && \
26073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26075 "RANLIB=$${RANLIB}" \
26076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26077 distclean) \
26078 || exit 1
26080 @endif target-libffi
26082 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
26083 maybe-maintainer-clean-target-libffi:
26084 @if target-libffi
26085 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
26087 maintainer-clean-target-libffi:
26088 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26089 r=`${PWD_COMMAND}`; export r; \
26090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26091 $(SET_LIB_PATH) \
26092 $(NORMAL_TARGET_EXPORTS) \
26093 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
26094 for flag in $(EXTRA_TARGET_FLAGS); do \
26095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26096 done; \
26097 (cd $(TARGET_SUBDIR)/libffi && \
26098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26100 "RANLIB=$${RANLIB}" \
26101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26102 maintainer-clean) \
26103 || exit 1
26105 @endif target-libffi
26108 .PHONY: configure-target-libjava maybe-configure-target-libjava
26109 maybe-configure-target-libjava:
26110 @if target-libjava
26111 maybe-configure-target-libjava: configure-target-libjava
26113 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26114 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
26115 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26116 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
26117 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
26119 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
26120 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
26121 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26122 r=`${PWD_COMMAND}`; export r; \
26123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26124 $(SET_LIB_PATH) \
26125 $(RAW_CXX_TARGET_EXPORTS) \
26126 echo Configuring in $(TARGET_SUBDIR)/libjava; \
26127 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
26128 case $(srcdir) in \
26129 /* | [A-Za-z]:[\\/]*) \
26130 topdir=$(srcdir) ;; \
26131 *) \
26132 case "$(TARGET_SUBDIR)" in \
26133 .) topdir="../$(srcdir)" ;; \
26134 *) topdir="../../$(srcdir)" ;; \
26135 esac ;; \
26136 esac; \
26137 srcdiroption="--srcdir=$${topdir}/libjava"; \
26138 libsrcdir="$$s/libjava"; \
26139 rm -f no-such-file || : ; \
26140 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26141 $(TARGET_CONFIGARGS) $${srcdiroption} \
26142 --with-target-subdir="$(TARGET_SUBDIR)" \
26143 || exit 1
26144 @endif target-libjava
26146 .PHONY: all-target-libjava maybe-all-target-libjava
26147 maybe-all-target-libjava:
26148 @if target-libjava
26149 TARGET-target-libjava=all
26150 maybe-all-target-libjava: all-target-libjava
26151 all-target-libjava: configure-target-libjava
26152 @r=`${PWD_COMMAND}`; export r; \
26153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26154 $(SET_LIB_PATH) \
26155 $(RAW_CXX_TARGET_EXPORTS) \
26156 (cd $(TARGET_SUBDIR)/libjava && \
26157 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
26158 @endif target-libjava
26160 .PHONY: check-target-libjava maybe-check-target-libjava
26161 maybe-check-target-libjava:
26162 @if target-libjava
26163 maybe-check-target-libjava: check-target-libjava
26165 check-target-libjava:
26166 @r=`${PWD_COMMAND}`; export r; \
26167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26168 $(SET_LIB_PATH) \
26169 $(RAW_CXX_TARGET_EXPORTS) \
26170 (cd $(TARGET_SUBDIR)/libjava && \
26171 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
26173 @endif target-libjava
26175 .PHONY: install-target-libjava maybe-install-target-libjava
26176 maybe-install-target-libjava:
26177 @if target-libjava
26178 maybe-install-target-libjava: install-target-libjava
26180 install-target-libjava: installdirs
26181 @r=`${PWD_COMMAND}`; export r; \
26182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26183 $(SET_LIB_PATH) \
26184 $(RAW_CXX_TARGET_EXPORTS) \
26185 (cd $(TARGET_SUBDIR)/libjava && \
26186 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26188 @endif target-libjava
26190 # Other targets (info, dvi, etc.)
26192 .PHONY: maybe-info-target-libjava info-target-libjava
26193 maybe-info-target-libjava:
26194 @if target-libjava
26195 maybe-info-target-libjava: info-target-libjava
26197 info-target-libjava: \
26198 configure-target-libjava
26199 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26200 r=`${PWD_COMMAND}`; export r; \
26201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26202 $(SET_LIB_PATH) \
26203 $(RAW_CXX_TARGET_EXPORTS) \
26204 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
26205 for flag in $(EXTRA_TARGET_FLAGS); do \
26206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26207 done; \
26208 (cd $(TARGET_SUBDIR)/libjava && \
26209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26211 "RANLIB=$${RANLIB}" \
26212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26213 info) \
26214 || exit 1
26216 @endif target-libjava
26218 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
26219 maybe-dvi-target-libjava:
26220 @if target-libjava
26221 maybe-dvi-target-libjava: dvi-target-libjava
26223 dvi-target-libjava: \
26224 configure-target-libjava
26225 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26226 r=`${PWD_COMMAND}`; export r; \
26227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26228 $(SET_LIB_PATH) \
26229 $(RAW_CXX_TARGET_EXPORTS) \
26230 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
26231 for flag in $(EXTRA_TARGET_FLAGS); do \
26232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26233 done; \
26234 (cd $(TARGET_SUBDIR)/libjava && \
26235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26237 "RANLIB=$${RANLIB}" \
26238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26239 dvi) \
26240 || exit 1
26242 @endif target-libjava
26244 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
26245 maybe-TAGS-target-libjava:
26246 @if target-libjava
26247 maybe-TAGS-target-libjava: TAGS-target-libjava
26249 TAGS-target-libjava: \
26250 configure-target-libjava
26251 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26252 r=`${PWD_COMMAND}`; export r; \
26253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26254 $(SET_LIB_PATH) \
26255 $(RAW_CXX_TARGET_EXPORTS) \
26256 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
26257 for flag in $(EXTRA_TARGET_FLAGS); do \
26258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26259 done; \
26260 (cd $(TARGET_SUBDIR)/libjava && \
26261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26263 "RANLIB=$${RANLIB}" \
26264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26265 TAGS) \
26266 || exit 1
26268 @endif target-libjava
26270 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
26271 maybe-install-info-target-libjava:
26272 @if target-libjava
26273 maybe-install-info-target-libjava: install-info-target-libjava
26275 install-info-target-libjava: \
26276 configure-target-libjava \
26277 info-target-libjava
26278 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26279 r=`${PWD_COMMAND}`; export r; \
26280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26281 $(SET_LIB_PATH) \
26282 $(RAW_CXX_TARGET_EXPORTS) \
26283 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
26284 for flag in $(EXTRA_TARGET_FLAGS); do \
26285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26286 done; \
26287 (cd $(TARGET_SUBDIR)/libjava && \
26288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26290 "RANLIB=$${RANLIB}" \
26291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26292 install-info) \
26293 || exit 1
26295 @endif target-libjava
26297 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
26298 maybe-installcheck-target-libjava:
26299 @if target-libjava
26300 maybe-installcheck-target-libjava: installcheck-target-libjava
26302 installcheck-target-libjava: \
26303 configure-target-libjava
26304 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26305 r=`${PWD_COMMAND}`; export r; \
26306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26307 $(SET_LIB_PATH) \
26308 $(RAW_CXX_TARGET_EXPORTS) \
26309 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
26310 for flag in $(EXTRA_TARGET_FLAGS); do \
26311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26312 done; \
26313 (cd $(TARGET_SUBDIR)/libjava && \
26314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26316 "RANLIB=$${RANLIB}" \
26317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26318 installcheck) \
26319 || exit 1
26321 @endif target-libjava
26323 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
26324 maybe-mostlyclean-target-libjava:
26325 @if target-libjava
26326 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
26328 mostlyclean-target-libjava:
26329 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26330 r=`${PWD_COMMAND}`; export r; \
26331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26332 $(SET_LIB_PATH) \
26333 $(RAW_CXX_TARGET_EXPORTS) \
26334 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
26335 for flag in $(EXTRA_TARGET_FLAGS); do \
26336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26337 done; \
26338 (cd $(TARGET_SUBDIR)/libjava && \
26339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26341 "RANLIB=$${RANLIB}" \
26342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26343 mostlyclean) \
26344 || exit 1
26346 @endif target-libjava
26348 .PHONY: maybe-clean-target-libjava clean-target-libjava
26349 maybe-clean-target-libjava:
26350 @if target-libjava
26351 maybe-clean-target-libjava: clean-target-libjava
26353 clean-target-libjava:
26354 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26355 r=`${PWD_COMMAND}`; export r; \
26356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26357 $(SET_LIB_PATH) \
26358 $(RAW_CXX_TARGET_EXPORTS) \
26359 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
26360 for flag in $(EXTRA_TARGET_FLAGS); do \
26361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26362 done; \
26363 (cd $(TARGET_SUBDIR)/libjava && \
26364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26366 "RANLIB=$${RANLIB}" \
26367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26368 clean) \
26369 || exit 1
26371 @endif target-libjava
26373 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
26374 maybe-distclean-target-libjava:
26375 @if target-libjava
26376 maybe-distclean-target-libjava: distclean-target-libjava
26378 distclean-target-libjava:
26379 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26380 r=`${PWD_COMMAND}`; export r; \
26381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26382 $(SET_LIB_PATH) \
26383 $(RAW_CXX_TARGET_EXPORTS) \
26384 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
26385 for flag in $(EXTRA_TARGET_FLAGS); do \
26386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26387 done; \
26388 (cd $(TARGET_SUBDIR)/libjava && \
26389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26391 "RANLIB=$${RANLIB}" \
26392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26393 distclean) \
26394 || exit 1
26396 @endif target-libjava
26398 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26399 maybe-maintainer-clean-target-libjava:
26400 @if target-libjava
26401 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26403 maintainer-clean-target-libjava:
26404 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26405 r=`${PWD_COMMAND}`; export r; \
26406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26407 $(SET_LIB_PATH) \
26408 $(RAW_CXX_TARGET_EXPORTS) \
26409 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26410 for flag in $(EXTRA_TARGET_FLAGS); do \
26411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26412 done; \
26413 (cd $(TARGET_SUBDIR)/libjava && \
26414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26416 "RANLIB=$${RANLIB}" \
26417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26418 maintainer-clean) \
26419 || exit 1
26421 @endif target-libjava
26424 .PHONY: configure-target-zlib maybe-configure-target-zlib
26425 maybe-configure-target-zlib:
26426 @if target-zlib
26427 maybe-configure-target-zlib: configure-target-zlib
26429 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26430 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26431 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26432 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26433 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26435 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26436 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26437 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26438 r=`${PWD_COMMAND}`; export r; \
26439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26440 $(SET_LIB_PATH) \
26441 $(NORMAL_TARGET_EXPORTS) \
26442 echo Configuring in $(TARGET_SUBDIR)/zlib; \
26443 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26444 case $(srcdir) in \
26445 /* | [A-Za-z]:[\\/]*) \
26446 topdir=$(srcdir) ;; \
26447 *) \
26448 case "$(TARGET_SUBDIR)" in \
26449 .) topdir="../$(srcdir)" ;; \
26450 *) topdir="../../$(srcdir)" ;; \
26451 esac ;; \
26452 esac; \
26453 if [ "$(srcdir)" = "." ] ; then \
26454 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26455 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26456 if [ -f Makefile ]; then \
26457 if $(MAKE) distclean; then \
26458 true; \
26459 else \
26460 exit 1; \
26461 fi; \
26462 else \
26463 true; \
26464 fi; \
26465 else \
26466 exit 1; \
26467 fi; \
26468 else \
26469 true; \
26470 fi; \
26471 srcdiroption="--srcdir=."; \
26472 libsrcdir="."; \
26473 else \
26474 srcdiroption="--srcdir=$${topdir}/zlib"; \
26475 libsrcdir="$$s/zlib"; \
26476 fi; \
26477 rm -f no-such-file || : ; \
26478 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26479 $(TARGET_CONFIGARGS) $${srcdiroption} \
26480 --with-target-subdir="$(TARGET_SUBDIR)" \
26481 || exit 1
26482 @endif target-zlib
26484 .PHONY: all-target-zlib maybe-all-target-zlib
26485 maybe-all-target-zlib:
26486 @if target-zlib
26487 TARGET-target-zlib=all
26488 maybe-all-target-zlib: all-target-zlib
26489 all-target-zlib: configure-target-zlib
26490 @r=`${PWD_COMMAND}`; export r; \
26491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26492 $(SET_LIB_PATH) \
26493 $(NORMAL_TARGET_EXPORTS) \
26494 (cd $(TARGET_SUBDIR)/zlib && \
26495 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
26496 @endif target-zlib
26498 .PHONY: check-target-zlib maybe-check-target-zlib
26499 maybe-check-target-zlib:
26500 @if target-zlib
26501 maybe-check-target-zlib: check-target-zlib
26503 check-target-zlib:
26504 @r=`${PWD_COMMAND}`; export r; \
26505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26506 $(SET_LIB_PATH) \
26507 $(NORMAL_TARGET_EXPORTS) \
26508 (cd $(TARGET_SUBDIR)/zlib && \
26509 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26511 @endif target-zlib
26513 .PHONY: install-target-zlib maybe-install-target-zlib
26514 maybe-install-target-zlib:
26515 @if target-zlib
26516 maybe-install-target-zlib: install-target-zlib
26518 install-target-zlib: installdirs
26519 @r=`${PWD_COMMAND}`; export r; \
26520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26521 $(SET_LIB_PATH) \
26522 $(NORMAL_TARGET_EXPORTS) \
26523 (cd $(TARGET_SUBDIR)/zlib && \
26524 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26526 @endif target-zlib
26528 # Other targets (info, dvi, etc.)
26530 .PHONY: maybe-info-target-zlib info-target-zlib
26531 maybe-info-target-zlib:
26532 @if target-zlib
26533 maybe-info-target-zlib: info-target-zlib
26535 info-target-zlib: \
26536 configure-target-zlib
26537 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26538 r=`${PWD_COMMAND}`; export r; \
26539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26540 $(SET_LIB_PATH) \
26541 $(NORMAL_TARGET_EXPORTS) \
26542 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26543 for flag in $(EXTRA_TARGET_FLAGS); do \
26544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26545 done; \
26546 (cd $(TARGET_SUBDIR)/zlib && \
26547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26549 "RANLIB=$${RANLIB}" \
26550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26551 info) \
26552 || exit 1
26554 @endif target-zlib
26556 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26557 maybe-dvi-target-zlib:
26558 @if target-zlib
26559 maybe-dvi-target-zlib: dvi-target-zlib
26561 dvi-target-zlib: \
26562 configure-target-zlib
26563 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26564 r=`${PWD_COMMAND}`; export r; \
26565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26566 $(SET_LIB_PATH) \
26567 $(NORMAL_TARGET_EXPORTS) \
26568 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26569 for flag in $(EXTRA_TARGET_FLAGS); do \
26570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26571 done; \
26572 (cd $(TARGET_SUBDIR)/zlib && \
26573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26575 "RANLIB=$${RANLIB}" \
26576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26577 dvi) \
26578 || exit 1
26580 @endif target-zlib
26582 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26583 maybe-TAGS-target-zlib:
26584 @if target-zlib
26585 maybe-TAGS-target-zlib: TAGS-target-zlib
26587 TAGS-target-zlib: \
26588 configure-target-zlib
26589 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26590 r=`${PWD_COMMAND}`; export r; \
26591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26592 $(SET_LIB_PATH) \
26593 $(NORMAL_TARGET_EXPORTS) \
26594 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26595 for flag in $(EXTRA_TARGET_FLAGS); do \
26596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26597 done; \
26598 (cd $(TARGET_SUBDIR)/zlib && \
26599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26601 "RANLIB=$${RANLIB}" \
26602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26603 TAGS) \
26604 || exit 1
26606 @endif target-zlib
26608 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26609 maybe-install-info-target-zlib:
26610 @if target-zlib
26611 maybe-install-info-target-zlib: install-info-target-zlib
26613 install-info-target-zlib: \
26614 configure-target-zlib \
26615 info-target-zlib
26616 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26617 r=`${PWD_COMMAND}`; export r; \
26618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26619 $(SET_LIB_PATH) \
26620 $(NORMAL_TARGET_EXPORTS) \
26621 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26622 for flag in $(EXTRA_TARGET_FLAGS); do \
26623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26624 done; \
26625 (cd $(TARGET_SUBDIR)/zlib && \
26626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26628 "RANLIB=$${RANLIB}" \
26629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26630 install-info) \
26631 || exit 1
26633 @endif target-zlib
26635 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26636 maybe-installcheck-target-zlib:
26637 @if target-zlib
26638 maybe-installcheck-target-zlib: installcheck-target-zlib
26640 installcheck-target-zlib: \
26641 configure-target-zlib
26642 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26643 r=`${PWD_COMMAND}`; export r; \
26644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26645 $(SET_LIB_PATH) \
26646 $(NORMAL_TARGET_EXPORTS) \
26647 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26648 for flag in $(EXTRA_TARGET_FLAGS); do \
26649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26650 done; \
26651 (cd $(TARGET_SUBDIR)/zlib && \
26652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26654 "RANLIB=$${RANLIB}" \
26655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26656 installcheck) \
26657 || exit 1
26659 @endif target-zlib
26661 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26662 maybe-mostlyclean-target-zlib:
26663 @if target-zlib
26664 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26666 mostlyclean-target-zlib:
26667 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26668 r=`${PWD_COMMAND}`; export r; \
26669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26670 $(SET_LIB_PATH) \
26671 $(NORMAL_TARGET_EXPORTS) \
26672 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26673 for flag in $(EXTRA_TARGET_FLAGS); do \
26674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26675 done; \
26676 (cd $(TARGET_SUBDIR)/zlib && \
26677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26679 "RANLIB=$${RANLIB}" \
26680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26681 mostlyclean) \
26682 || exit 1
26684 @endif target-zlib
26686 .PHONY: maybe-clean-target-zlib clean-target-zlib
26687 maybe-clean-target-zlib:
26688 @if target-zlib
26689 maybe-clean-target-zlib: clean-target-zlib
26691 clean-target-zlib:
26692 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26693 r=`${PWD_COMMAND}`; export r; \
26694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26695 $(SET_LIB_PATH) \
26696 $(NORMAL_TARGET_EXPORTS) \
26697 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26698 for flag in $(EXTRA_TARGET_FLAGS); do \
26699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26700 done; \
26701 (cd $(TARGET_SUBDIR)/zlib && \
26702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26704 "RANLIB=$${RANLIB}" \
26705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26706 clean) \
26707 || exit 1
26709 @endif target-zlib
26711 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26712 maybe-distclean-target-zlib:
26713 @if target-zlib
26714 maybe-distclean-target-zlib: distclean-target-zlib
26716 distclean-target-zlib:
26717 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26718 r=`${PWD_COMMAND}`; export r; \
26719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26720 $(SET_LIB_PATH) \
26721 $(NORMAL_TARGET_EXPORTS) \
26722 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26723 for flag in $(EXTRA_TARGET_FLAGS); do \
26724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26725 done; \
26726 (cd $(TARGET_SUBDIR)/zlib && \
26727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26729 "RANLIB=$${RANLIB}" \
26730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26731 distclean) \
26732 || exit 1
26734 @endif target-zlib
26736 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26737 maybe-maintainer-clean-target-zlib:
26738 @if target-zlib
26739 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26741 maintainer-clean-target-zlib:
26742 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26743 r=`${PWD_COMMAND}`; export r; \
26744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26745 $(SET_LIB_PATH) \
26746 $(NORMAL_TARGET_EXPORTS) \
26747 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26748 for flag in $(EXTRA_TARGET_FLAGS); do \
26749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26750 done; \
26751 (cd $(TARGET_SUBDIR)/zlib && \
26752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26754 "RANLIB=$${RANLIB}" \
26755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26756 maintainer-clean) \
26757 || exit 1
26759 @endif target-zlib
26762 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26763 maybe-configure-target-boehm-gc:
26764 @if target-boehm-gc
26765 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26767 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26768 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26769 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26770 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26771 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26773 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26774 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26775 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26776 r=`${PWD_COMMAND}`; export r; \
26777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26778 $(SET_LIB_PATH) \
26779 $(NORMAL_TARGET_EXPORTS) \
26780 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26781 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26782 case $(srcdir) in \
26783 /* | [A-Za-z]:[\\/]*) \
26784 topdir=$(srcdir) ;; \
26785 *) \
26786 case "$(TARGET_SUBDIR)" in \
26787 .) topdir="../$(srcdir)" ;; \
26788 *) topdir="../../$(srcdir)" ;; \
26789 esac ;; \
26790 esac; \
26791 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26792 libsrcdir="$$s/boehm-gc"; \
26793 rm -f no-such-file || : ; \
26794 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26795 $(TARGET_CONFIGARGS) $${srcdiroption} \
26796 --with-target-subdir="$(TARGET_SUBDIR)" \
26797 || exit 1
26798 @endif target-boehm-gc
26800 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26801 maybe-all-target-boehm-gc:
26802 @if target-boehm-gc
26803 TARGET-target-boehm-gc=all
26804 maybe-all-target-boehm-gc: all-target-boehm-gc
26805 all-target-boehm-gc: configure-target-boehm-gc
26806 @r=`${PWD_COMMAND}`; export r; \
26807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26808 $(SET_LIB_PATH) \
26809 $(NORMAL_TARGET_EXPORTS) \
26810 (cd $(TARGET_SUBDIR)/boehm-gc && \
26811 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
26812 @endif target-boehm-gc
26814 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26815 maybe-check-target-boehm-gc:
26816 @if target-boehm-gc
26817 maybe-check-target-boehm-gc: check-target-boehm-gc
26819 check-target-boehm-gc:
26820 @r=`${PWD_COMMAND}`; export r; \
26821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26822 $(SET_LIB_PATH) \
26823 $(NORMAL_TARGET_EXPORTS) \
26824 (cd $(TARGET_SUBDIR)/boehm-gc && \
26825 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26827 @endif target-boehm-gc
26829 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26830 maybe-install-target-boehm-gc:
26831 @if target-boehm-gc
26832 maybe-install-target-boehm-gc: install-target-boehm-gc
26834 install-target-boehm-gc: installdirs
26835 @r=`${PWD_COMMAND}`; export r; \
26836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26837 $(SET_LIB_PATH) \
26838 $(NORMAL_TARGET_EXPORTS) \
26839 (cd $(TARGET_SUBDIR)/boehm-gc && \
26840 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26842 @endif target-boehm-gc
26844 # Other targets (info, dvi, etc.)
26846 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26847 maybe-info-target-boehm-gc:
26848 @if target-boehm-gc
26849 maybe-info-target-boehm-gc: info-target-boehm-gc
26851 info-target-boehm-gc: \
26852 configure-target-boehm-gc
26853 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26854 r=`${PWD_COMMAND}`; export r; \
26855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26856 $(SET_LIB_PATH) \
26857 $(NORMAL_TARGET_EXPORTS) \
26858 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26859 for flag in $(EXTRA_TARGET_FLAGS); do \
26860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26861 done; \
26862 (cd $(TARGET_SUBDIR)/boehm-gc && \
26863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26865 "RANLIB=$${RANLIB}" \
26866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26867 info) \
26868 || exit 1
26870 @endif target-boehm-gc
26872 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26873 maybe-dvi-target-boehm-gc:
26874 @if target-boehm-gc
26875 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26877 dvi-target-boehm-gc: \
26878 configure-target-boehm-gc
26879 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26880 r=`${PWD_COMMAND}`; export r; \
26881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26882 $(SET_LIB_PATH) \
26883 $(NORMAL_TARGET_EXPORTS) \
26884 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26885 for flag in $(EXTRA_TARGET_FLAGS); do \
26886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26887 done; \
26888 (cd $(TARGET_SUBDIR)/boehm-gc && \
26889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26891 "RANLIB=$${RANLIB}" \
26892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26893 dvi) \
26894 || exit 1
26896 @endif target-boehm-gc
26898 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26899 maybe-TAGS-target-boehm-gc:
26900 @if target-boehm-gc
26901 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26903 TAGS-target-boehm-gc: \
26904 configure-target-boehm-gc
26905 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26906 r=`${PWD_COMMAND}`; export r; \
26907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26908 $(SET_LIB_PATH) \
26909 $(NORMAL_TARGET_EXPORTS) \
26910 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26911 for flag in $(EXTRA_TARGET_FLAGS); do \
26912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26913 done; \
26914 (cd $(TARGET_SUBDIR)/boehm-gc && \
26915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26917 "RANLIB=$${RANLIB}" \
26918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26919 TAGS) \
26920 || exit 1
26922 @endif target-boehm-gc
26924 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26925 maybe-install-info-target-boehm-gc:
26926 @if target-boehm-gc
26927 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26929 install-info-target-boehm-gc: \
26930 configure-target-boehm-gc \
26931 info-target-boehm-gc
26932 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26933 r=`${PWD_COMMAND}`; export r; \
26934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26935 $(SET_LIB_PATH) \
26936 $(NORMAL_TARGET_EXPORTS) \
26937 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26938 for flag in $(EXTRA_TARGET_FLAGS); do \
26939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26940 done; \
26941 (cd $(TARGET_SUBDIR)/boehm-gc && \
26942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26944 "RANLIB=$${RANLIB}" \
26945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26946 install-info) \
26947 || exit 1
26949 @endif target-boehm-gc
26951 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26952 maybe-installcheck-target-boehm-gc:
26953 @if target-boehm-gc
26954 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26956 installcheck-target-boehm-gc: \
26957 configure-target-boehm-gc
26958 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26959 r=`${PWD_COMMAND}`; export r; \
26960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26961 $(SET_LIB_PATH) \
26962 $(NORMAL_TARGET_EXPORTS) \
26963 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
26964 for flag in $(EXTRA_TARGET_FLAGS); do \
26965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26966 done; \
26967 (cd $(TARGET_SUBDIR)/boehm-gc && \
26968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26970 "RANLIB=$${RANLIB}" \
26971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26972 installcheck) \
26973 || exit 1
26975 @endif target-boehm-gc
26977 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26978 maybe-mostlyclean-target-boehm-gc:
26979 @if target-boehm-gc
26980 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26982 mostlyclean-target-boehm-gc:
26983 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26984 r=`${PWD_COMMAND}`; export r; \
26985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26986 $(SET_LIB_PATH) \
26987 $(NORMAL_TARGET_EXPORTS) \
26988 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26989 for flag in $(EXTRA_TARGET_FLAGS); do \
26990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26991 done; \
26992 (cd $(TARGET_SUBDIR)/boehm-gc && \
26993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26995 "RANLIB=$${RANLIB}" \
26996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26997 mostlyclean) \
26998 || exit 1
27000 @endif target-boehm-gc
27002 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
27003 maybe-clean-target-boehm-gc:
27004 @if target-boehm-gc
27005 maybe-clean-target-boehm-gc: clean-target-boehm-gc
27007 clean-target-boehm-gc:
27008 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27009 r=`${PWD_COMMAND}`; export r; \
27010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27011 $(SET_LIB_PATH) \
27012 $(NORMAL_TARGET_EXPORTS) \
27013 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
27014 for flag in $(EXTRA_TARGET_FLAGS); do \
27015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27016 done; \
27017 (cd $(TARGET_SUBDIR)/boehm-gc && \
27018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27020 "RANLIB=$${RANLIB}" \
27021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27022 clean) \
27023 || exit 1
27025 @endif target-boehm-gc
27027 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
27028 maybe-distclean-target-boehm-gc:
27029 @if target-boehm-gc
27030 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
27032 distclean-target-boehm-gc:
27033 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27034 r=`${PWD_COMMAND}`; export r; \
27035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27036 $(SET_LIB_PATH) \
27037 $(NORMAL_TARGET_EXPORTS) \
27038 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
27039 for flag in $(EXTRA_TARGET_FLAGS); do \
27040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27041 done; \
27042 (cd $(TARGET_SUBDIR)/boehm-gc && \
27043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27045 "RANLIB=$${RANLIB}" \
27046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27047 distclean) \
27048 || exit 1
27050 @endif target-boehm-gc
27052 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
27053 maybe-maintainer-clean-target-boehm-gc:
27054 @if target-boehm-gc
27055 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
27057 maintainer-clean-target-boehm-gc:
27058 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27059 r=`${PWD_COMMAND}`; export r; \
27060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27061 $(SET_LIB_PATH) \
27062 $(NORMAL_TARGET_EXPORTS) \
27063 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
27064 for flag in $(EXTRA_TARGET_FLAGS); do \
27065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27066 done; \
27067 (cd $(TARGET_SUBDIR)/boehm-gc && \
27068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27070 "RANLIB=$${RANLIB}" \
27071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27072 maintainer-clean) \
27073 || exit 1
27075 @endif target-boehm-gc
27078 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
27079 maybe-configure-target-qthreads:
27080 @if target-qthreads
27081 maybe-configure-target-qthreads: configure-target-qthreads
27083 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27084 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
27085 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27086 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
27087 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
27089 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
27090 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
27091 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27092 r=`${PWD_COMMAND}`; export r; \
27093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27094 $(SET_LIB_PATH) \
27095 $(NORMAL_TARGET_EXPORTS) \
27096 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
27097 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
27098 case $(srcdir) in \
27099 /* | [A-Za-z]:[\\/]*) \
27100 topdir=$(srcdir) ;; \
27101 *) \
27102 case "$(TARGET_SUBDIR)" in \
27103 .) topdir="../$(srcdir)" ;; \
27104 *) topdir="../../$(srcdir)" ;; \
27105 esac ;; \
27106 esac; \
27107 srcdiroption="--srcdir=$${topdir}/qthreads"; \
27108 libsrcdir="$$s/qthreads"; \
27109 rm -f no-such-file || : ; \
27110 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27111 $(TARGET_CONFIGARGS) $${srcdiroption} \
27112 --with-target-subdir="$(TARGET_SUBDIR)" \
27113 || exit 1
27114 @endif target-qthreads
27116 .PHONY: all-target-qthreads maybe-all-target-qthreads
27117 maybe-all-target-qthreads:
27118 @if target-qthreads
27119 TARGET-target-qthreads=all
27120 maybe-all-target-qthreads: all-target-qthreads
27121 all-target-qthreads: configure-target-qthreads
27122 @r=`${PWD_COMMAND}`; export r; \
27123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27124 $(SET_LIB_PATH) \
27125 $(NORMAL_TARGET_EXPORTS) \
27126 (cd $(TARGET_SUBDIR)/qthreads && \
27127 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
27128 @endif target-qthreads
27130 .PHONY: check-target-qthreads maybe-check-target-qthreads
27131 maybe-check-target-qthreads:
27132 @if target-qthreads
27133 maybe-check-target-qthreads: check-target-qthreads
27135 check-target-qthreads:
27136 @r=`${PWD_COMMAND}`; export r; \
27137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27138 $(SET_LIB_PATH) \
27139 $(NORMAL_TARGET_EXPORTS) \
27140 (cd $(TARGET_SUBDIR)/qthreads && \
27141 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27143 @endif target-qthreads
27145 .PHONY: install-target-qthreads maybe-install-target-qthreads
27146 maybe-install-target-qthreads:
27147 @if target-qthreads
27148 maybe-install-target-qthreads: install-target-qthreads
27150 install-target-qthreads: installdirs
27151 @r=`${PWD_COMMAND}`; export r; \
27152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27153 $(SET_LIB_PATH) \
27154 $(NORMAL_TARGET_EXPORTS) \
27155 (cd $(TARGET_SUBDIR)/qthreads && \
27156 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27158 @endif target-qthreads
27160 # Other targets (info, dvi, etc.)
27162 .PHONY: maybe-info-target-qthreads info-target-qthreads
27163 maybe-info-target-qthreads:
27164 @if target-qthreads
27165 maybe-info-target-qthreads: info-target-qthreads
27167 info-target-qthreads: \
27168 configure-target-qthreads
27169 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27170 r=`${PWD_COMMAND}`; export r; \
27171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27172 $(SET_LIB_PATH) \
27173 $(NORMAL_TARGET_EXPORTS) \
27174 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
27175 for flag in $(EXTRA_TARGET_FLAGS); do \
27176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27177 done; \
27178 (cd $(TARGET_SUBDIR)/qthreads && \
27179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27181 "RANLIB=$${RANLIB}" \
27182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27183 info) \
27184 || exit 1
27186 @endif target-qthreads
27188 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
27189 maybe-dvi-target-qthreads:
27190 @if target-qthreads
27191 maybe-dvi-target-qthreads: dvi-target-qthreads
27193 dvi-target-qthreads: \
27194 configure-target-qthreads
27195 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27196 r=`${PWD_COMMAND}`; export r; \
27197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27198 $(SET_LIB_PATH) \
27199 $(NORMAL_TARGET_EXPORTS) \
27200 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
27201 for flag in $(EXTRA_TARGET_FLAGS); do \
27202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27203 done; \
27204 (cd $(TARGET_SUBDIR)/qthreads && \
27205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27207 "RANLIB=$${RANLIB}" \
27208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27209 dvi) \
27210 || exit 1
27212 @endif target-qthreads
27214 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
27215 maybe-TAGS-target-qthreads:
27216 @if target-qthreads
27217 maybe-TAGS-target-qthreads: TAGS-target-qthreads
27219 TAGS-target-qthreads: \
27220 configure-target-qthreads
27221 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27222 r=`${PWD_COMMAND}`; export r; \
27223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27224 $(SET_LIB_PATH) \
27225 $(NORMAL_TARGET_EXPORTS) \
27226 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
27227 for flag in $(EXTRA_TARGET_FLAGS); do \
27228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27229 done; \
27230 (cd $(TARGET_SUBDIR)/qthreads && \
27231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27233 "RANLIB=$${RANLIB}" \
27234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27235 TAGS) \
27236 || exit 1
27238 @endif target-qthreads
27240 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
27241 maybe-install-info-target-qthreads:
27242 @if target-qthreads
27243 maybe-install-info-target-qthreads: install-info-target-qthreads
27245 install-info-target-qthreads: \
27246 configure-target-qthreads \
27247 info-target-qthreads
27248 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27249 r=`${PWD_COMMAND}`; export r; \
27250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27251 $(SET_LIB_PATH) \
27252 $(NORMAL_TARGET_EXPORTS) \
27253 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
27254 for flag in $(EXTRA_TARGET_FLAGS); do \
27255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27256 done; \
27257 (cd $(TARGET_SUBDIR)/qthreads && \
27258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27260 "RANLIB=$${RANLIB}" \
27261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27262 install-info) \
27263 || exit 1
27265 @endif target-qthreads
27267 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
27268 maybe-installcheck-target-qthreads:
27269 @if target-qthreads
27270 maybe-installcheck-target-qthreads: installcheck-target-qthreads
27272 installcheck-target-qthreads: \
27273 configure-target-qthreads
27274 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27275 r=`${PWD_COMMAND}`; export r; \
27276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27277 $(SET_LIB_PATH) \
27278 $(NORMAL_TARGET_EXPORTS) \
27279 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
27280 for flag in $(EXTRA_TARGET_FLAGS); do \
27281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27282 done; \
27283 (cd $(TARGET_SUBDIR)/qthreads && \
27284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27286 "RANLIB=$${RANLIB}" \
27287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27288 installcheck) \
27289 || exit 1
27291 @endif target-qthreads
27293 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
27294 maybe-mostlyclean-target-qthreads:
27295 @if target-qthreads
27296 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
27298 mostlyclean-target-qthreads:
27299 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27300 r=`${PWD_COMMAND}`; export r; \
27301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27302 $(SET_LIB_PATH) \
27303 $(NORMAL_TARGET_EXPORTS) \
27304 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
27305 for flag in $(EXTRA_TARGET_FLAGS); do \
27306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27307 done; \
27308 (cd $(TARGET_SUBDIR)/qthreads && \
27309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27311 "RANLIB=$${RANLIB}" \
27312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27313 mostlyclean) \
27314 || exit 1
27316 @endif target-qthreads
27318 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
27319 maybe-clean-target-qthreads:
27320 @if target-qthreads
27321 maybe-clean-target-qthreads: clean-target-qthreads
27323 clean-target-qthreads:
27324 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27325 r=`${PWD_COMMAND}`; export r; \
27326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27327 $(SET_LIB_PATH) \
27328 $(NORMAL_TARGET_EXPORTS) \
27329 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
27330 for flag in $(EXTRA_TARGET_FLAGS); do \
27331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27332 done; \
27333 (cd $(TARGET_SUBDIR)/qthreads && \
27334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27336 "RANLIB=$${RANLIB}" \
27337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27338 clean) \
27339 || exit 1
27341 @endif target-qthreads
27343 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
27344 maybe-distclean-target-qthreads:
27345 @if target-qthreads
27346 maybe-distclean-target-qthreads: distclean-target-qthreads
27348 distclean-target-qthreads:
27349 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27350 r=`${PWD_COMMAND}`; export r; \
27351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27352 $(SET_LIB_PATH) \
27353 $(NORMAL_TARGET_EXPORTS) \
27354 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
27355 for flag in $(EXTRA_TARGET_FLAGS); do \
27356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27357 done; \
27358 (cd $(TARGET_SUBDIR)/qthreads && \
27359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27361 "RANLIB=$${RANLIB}" \
27362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27363 distclean) \
27364 || exit 1
27366 @endif target-qthreads
27368 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
27369 maybe-maintainer-clean-target-qthreads:
27370 @if target-qthreads
27371 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
27373 maintainer-clean-target-qthreads:
27374 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27375 r=`${PWD_COMMAND}`; export r; \
27376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27377 $(SET_LIB_PATH) \
27378 $(NORMAL_TARGET_EXPORTS) \
27379 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
27380 for flag in $(EXTRA_TARGET_FLAGS); do \
27381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27382 done; \
27383 (cd $(TARGET_SUBDIR)/qthreads && \
27384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27386 "RANLIB=$${RANLIB}" \
27387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27388 maintainer-clean) \
27389 || exit 1
27391 @endif target-qthreads
27394 .PHONY: configure-target-rda maybe-configure-target-rda
27395 maybe-configure-target-rda:
27396 @if target-rda
27397 maybe-configure-target-rda: configure-target-rda
27399 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27400 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27401 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27402 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27403 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27405 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27406 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27407 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27408 r=`${PWD_COMMAND}`; export r; \
27409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27410 $(SET_LIB_PATH) \
27411 $(NORMAL_TARGET_EXPORTS) \
27412 echo Configuring in $(TARGET_SUBDIR)/rda; \
27413 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27414 case $(srcdir) in \
27415 /* | [A-Za-z]:[\\/]*) \
27416 topdir=$(srcdir) ;; \
27417 *) \
27418 case "$(TARGET_SUBDIR)" in \
27419 .) topdir="../$(srcdir)" ;; \
27420 *) topdir="../../$(srcdir)" ;; \
27421 esac ;; \
27422 esac; \
27423 srcdiroption="--srcdir=$${topdir}/rda"; \
27424 libsrcdir="$$s/rda"; \
27425 rm -f no-such-file || : ; \
27426 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27427 $(TARGET_CONFIGARGS) $${srcdiroption} \
27428 --with-target-subdir="$(TARGET_SUBDIR)" \
27429 || exit 1
27430 @endif target-rda
27432 .PHONY: all-target-rda maybe-all-target-rda
27433 maybe-all-target-rda:
27434 @if target-rda
27435 TARGET-target-rda=all
27436 maybe-all-target-rda: all-target-rda
27437 all-target-rda: configure-target-rda
27438 @r=`${PWD_COMMAND}`; export r; \
27439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27440 $(SET_LIB_PATH) \
27441 $(NORMAL_TARGET_EXPORTS) \
27442 (cd $(TARGET_SUBDIR)/rda && \
27443 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
27444 @endif target-rda
27446 .PHONY: check-target-rda maybe-check-target-rda
27447 maybe-check-target-rda:
27448 @if target-rda
27449 maybe-check-target-rda: check-target-rda
27451 check-target-rda:
27452 @r=`${PWD_COMMAND}`; export r; \
27453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27454 $(SET_LIB_PATH) \
27455 $(NORMAL_TARGET_EXPORTS) \
27456 (cd $(TARGET_SUBDIR)/rda && \
27457 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27459 @endif target-rda
27461 .PHONY: install-target-rda maybe-install-target-rda
27462 maybe-install-target-rda:
27463 @if target-rda
27464 maybe-install-target-rda: install-target-rda
27466 install-target-rda: installdirs
27467 @r=`${PWD_COMMAND}`; export r; \
27468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27469 $(SET_LIB_PATH) \
27470 $(NORMAL_TARGET_EXPORTS) \
27471 (cd $(TARGET_SUBDIR)/rda && \
27472 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27474 @endif target-rda
27476 # Other targets (info, dvi, etc.)
27478 .PHONY: maybe-info-target-rda info-target-rda
27479 maybe-info-target-rda:
27480 @if target-rda
27481 maybe-info-target-rda: info-target-rda
27483 info-target-rda: \
27484 configure-target-rda
27485 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27486 r=`${PWD_COMMAND}`; export r; \
27487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27488 $(SET_LIB_PATH) \
27489 $(NORMAL_TARGET_EXPORTS) \
27490 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27491 for flag in $(EXTRA_TARGET_FLAGS); do \
27492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27493 done; \
27494 (cd $(TARGET_SUBDIR)/rda && \
27495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27497 "RANLIB=$${RANLIB}" \
27498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27499 info) \
27500 || exit 1
27502 @endif target-rda
27504 .PHONY: maybe-dvi-target-rda dvi-target-rda
27505 maybe-dvi-target-rda:
27506 @if target-rda
27507 maybe-dvi-target-rda: dvi-target-rda
27509 dvi-target-rda: \
27510 configure-target-rda
27511 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27512 r=`${PWD_COMMAND}`; export r; \
27513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27514 $(SET_LIB_PATH) \
27515 $(NORMAL_TARGET_EXPORTS) \
27516 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27517 for flag in $(EXTRA_TARGET_FLAGS); do \
27518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27519 done; \
27520 (cd $(TARGET_SUBDIR)/rda && \
27521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27523 "RANLIB=$${RANLIB}" \
27524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27525 dvi) \
27526 || exit 1
27528 @endif target-rda
27530 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27531 maybe-TAGS-target-rda:
27532 @if target-rda
27533 maybe-TAGS-target-rda: TAGS-target-rda
27535 TAGS-target-rda: \
27536 configure-target-rda
27537 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27538 r=`${PWD_COMMAND}`; export r; \
27539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27540 $(SET_LIB_PATH) \
27541 $(NORMAL_TARGET_EXPORTS) \
27542 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27543 for flag in $(EXTRA_TARGET_FLAGS); do \
27544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27545 done; \
27546 (cd $(TARGET_SUBDIR)/rda && \
27547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27549 "RANLIB=$${RANLIB}" \
27550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27551 TAGS) \
27552 || exit 1
27554 @endif target-rda
27556 .PHONY: maybe-install-info-target-rda install-info-target-rda
27557 maybe-install-info-target-rda:
27558 @if target-rda
27559 maybe-install-info-target-rda: install-info-target-rda
27561 install-info-target-rda: \
27562 configure-target-rda \
27563 info-target-rda
27564 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27565 r=`${PWD_COMMAND}`; export r; \
27566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27567 $(SET_LIB_PATH) \
27568 $(NORMAL_TARGET_EXPORTS) \
27569 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27570 for flag in $(EXTRA_TARGET_FLAGS); do \
27571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27572 done; \
27573 (cd $(TARGET_SUBDIR)/rda && \
27574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27576 "RANLIB=$${RANLIB}" \
27577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27578 install-info) \
27579 || exit 1
27581 @endif target-rda
27583 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27584 maybe-installcheck-target-rda:
27585 @if target-rda
27586 maybe-installcheck-target-rda: installcheck-target-rda
27588 installcheck-target-rda: \
27589 configure-target-rda
27590 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27591 r=`${PWD_COMMAND}`; export r; \
27592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27593 $(SET_LIB_PATH) \
27594 $(NORMAL_TARGET_EXPORTS) \
27595 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27596 for flag in $(EXTRA_TARGET_FLAGS); do \
27597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27598 done; \
27599 (cd $(TARGET_SUBDIR)/rda && \
27600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27602 "RANLIB=$${RANLIB}" \
27603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27604 installcheck) \
27605 || exit 1
27607 @endif target-rda
27609 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27610 maybe-mostlyclean-target-rda:
27611 @if target-rda
27612 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27614 mostlyclean-target-rda:
27615 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27616 r=`${PWD_COMMAND}`; export r; \
27617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27618 $(SET_LIB_PATH) \
27619 $(NORMAL_TARGET_EXPORTS) \
27620 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27621 for flag in $(EXTRA_TARGET_FLAGS); do \
27622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27623 done; \
27624 (cd $(TARGET_SUBDIR)/rda && \
27625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27627 "RANLIB=$${RANLIB}" \
27628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27629 mostlyclean) \
27630 || exit 1
27632 @endif target-rda
27634 .PHONY: maybe-clean-target-rda clean-target-rda
27635 maybe-clean-target-rda:
27636 @if target-rda
27637 maybe-clean-target-rda: clean-target-rda
27639 clean-target-rda:
27640 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27641 r=`${PWD_COMMAND}`; export r; \
27642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27643 $(SET_LIB_PATH) \
27644 $(NORMAL_TARGET_EXPORTS) \
27645 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27646 for flag in $(EXTRA_TARGET_FLAGS); do \
27647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27648 done; \
27649 (cd $(TARGET_SUBDIR)/rda && \
27650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27652 "RANLIB=$${RANLIB}" \
27653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27654 clean) \
27655 || exit 1
27657 @endif target-rda
27659 .PHONY: maybe-distclean-target-rda distclean-target-rda
27660 maybe-distclean-target-rda:
27661 @if target-rda
27662 maybe-distclean-target-rda: distclean-target-rda
27664 distclean-target-rda:
27665 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27666 r=`${PWD_COMMAND}`; export r; \
27667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27668 $(SET_LIB_PATH) \
27669 $(NORMAL_TARGET_EXPORTS) \
27670 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27671 for flag in $(EXTRA_TARGET_FLAGS); do \
27672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27673 done; \
27674 (cd $(TARGET_SUBDIR)/rda && \
27675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27677 "RANLIB=$${RANLIB}" \
27678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27679 distclean) \
27680 || exit 1
27682 @endif target-rda
27684 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27685 maybe-maintainer-clean-target-rda:
27686 @if target-rda
27687 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27689 maintainer-clean-target-rda:
27690 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27691 r=`${PWD_COMMAND}`; export r; \
27692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27693 $(SET_LIB_PATH) \
27694 $(NORMAL_TARGET_EXPORTS) \
27695 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27696 for flag in $(EXTRA_TARGET_FLAGS); do \
27697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27698 done; \
27699 (cd $(TARGET_SUBDIR)/rda && \
27700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27702 "RANLIB=$${RANLIB}" \
27703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27704 maintainer-clean) \
27705 || exit 1
27707 @endif target-rda
27710 .PHONY: configure-target-libada maybe-configure-target-libada
27711 maybe-configure-target-libada:
27712 @if target-libada
27713 maybe-configure-target-libada: configure-target-libada
27715 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27716 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27717 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27718 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27719 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27721 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27722 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27723 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27724 r=`${PWD_COMMAND}`; export r; \
27725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27726 $(SET_LIB_PATH) \
27727 $(NORMAL_TARGET_EXPORTS) \
27728 echo Configuring in $(TARGET_SUBDIR)/libada; \
27729 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27730 case $(srcdir) in \
27731 /* | [A-Za-z]:[\\/]*) \
27732 topdir=$(srcdir) ;; \
27733 *) \
27734 case "$(TARGET_SUBDIR)" in \
27735 .) topdir="../$(srcdir)" ;; \
27736 *) topdir="../../$(srcdir)" ;; \
27737 esac ;; \
27738 esac; \
27739 srcdiroption="--srcdir=$${topdir}/libada"; \
27740 libsrcdir="$$s/libada"; \
27741 rm -f no-such-file || : ; \
27742 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27743 $(TARGET_CONFIGARGS) $${srcdiroption} \
27744 --with-target-subdir="$(TARGET_SUBDIR)" \
27745 || exit 1
27746 @endif target-libada
27748 .PHONY: all-target-libada maybe-all-target-libada
27749 maybe-all-target-libada:
27750 @if target-libada
27751 TARGET-target-libada=all
27752 maybe-all-target-libada: all-target-libada
27753 all-target-libada: configure-target-libada
27754 @r=`${PWD_COMMAND}`; export r; \
27755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27756 $(SET_LIB_PATH) \
27757 $(NORMAL_TARGET_EXPORTS) \
27758 (cd $(TARGET_SUBDIR)/libada && \
27759 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
27760 @endif target-libada
27762 .PHONY: check-target-libada maybe-check-target-libada
27763 maybe-check-target-libada:
27764 @if target-libada
27765 maybe-check-target-libada: check-target-libada
27767 check-target-libada:
27768 @r=`${PWD_COMMAND}`; export r; \
27769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27770 $(SET_LIB_PATH) \
27771 $(NORMAL_TARGET_EXPORTS) \
27772 (cd $(TARGET_SUBDIR)/libada && \
27773 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27775 @endif target-libada
27777 .PHONY: install-target-libada maybe-install-target-libada
27778 maybe-install-target-libada:
27779 @if target-libada
27780 maybe-install-target-libada: install-target-libada
27782 install-target-libada: installdirs
27783 @r=`${PWD_COMMAND}`; export r; \
27784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27785 $(SET_LIB_PATH) \
27786 $(NORMAL_TARGET_EXPORTS) \
27787 (cd $(TARGET_SUBDIR)/libada && \
27788 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27790 @endif target-libada
27792 # Other targets (info, dvi, etc.)
27794 .PHONY: maybe-info-target-libada info-target-libada
27795 maybe-info-target-libada:
27796 @if target-libada
27797 maybe-info-target-libada: info-target-libada
27799 info-target-libada: \
27800 configure-target-libada
27801 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27802 r=`${PWD_COMMAND}`; export r; \
27803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27804 $(SET_LIB_PATH) \
27805 $(NORMAL_TARGET_EXPORTS) \
27806 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27807 for flag in $(EXTRA_TARGET_FLAGS); do \
27808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27809 done; \
27810 (cd $(TARGET_SUBDIR)/libada && \
27811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27813 "RANLIB=$${RANLIB}" \
27814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27815 info) \
27816 || exit 1
27818 @endif target-libada
27820 .PHONY: maybe-dvi-target-libada dvi-target-libada
27821 maybe-dvi-target-libada:
27822 @if target-libada
27823 maybe-dvi-target-libada: dvi-target-libada
27825 dvi-target-libada: \
27826 configure-target-libada
27827 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27828 r=`${PWD_COMMAND}`; export r; \
27829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27830 $(SET_LIB_PATH) \
27831 $(NORMAL_TARGET_EXPORTS) \
27832 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27833 for flag in $(EXTRA_TARGET_FLAGS); do \
27834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27835 done; \
27836 (cd $(TARGET_SUBDIR)/libada && \
27837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27839 "RANLIB=$${RANLIB}" \
27840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27841 dvi) \
27842 || exit 1
27844 @endif target-libada
27846 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27847 maybe-TAGS-target-libada:
27848 @if target-libada
27849 maybe-TAGS-target-libada: TAGS-target-libada
27851 TAGS-target-libada: \
27852 configure-target-libada
27853 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27854 r=`${PWD_COMMAND}`; export r; \
27855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27856 $(SET_LIB_PATH) \
27857 $(NORMAL_TARGET_EXPORTS) \
27858 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27859 for flag in $(EXTRA_TARGET_FLAGS); do \
27860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27861 done; \
27862 (cd $(TARGET_SUBDIR)/libada && \
27863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27865 "RANLIB=$${RANLIB}" \
27866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27867 TAGS) \
27868 || exit 1
27870 @endif target-libada
27872 .PHONY: maybe-install-info-target-libada install-info-target-libada
27873 maybe-install-info-target-libada:
27874 @if target-libada
27875 maybe-install-info-target-libada: install-info-target-libada
27877 install-info-target-libada: \
27878 configure-target-libada \
27879 info-target-libada
27880 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27881 r=`${PWD_COMMAND}`; export r; \
27882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27883 $(SET_LIB_PATH) \
27884 $(NORMAL_TARGET_EXPORTS) \
27885 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27886 for flag in $(EXTRA_TARGET_FLAGS); do \
27887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27888 done; \
27889 (cd $(TARGET_SUBDIR)/libada && \
27890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27892 "RANLIB=$${RANLIB}" \
27893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27894 install-info) \
27895 || exit 1
27897 @endif target-libada
27899 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27900 maybe-installcheck-target-libada:
27901 @if target-libada
27902 maybe-installcheck-target-libada: installcheck-target-libada
27904 installcheck-target-libada: \
27905 configure-target-libada
27906 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27907 r=`${PWD_COMMAND}`; export r; \
27908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27909 $(SET_LIB_PATH) \
27910 $(NORMAL_TARGET_EXPORTS) \
27911 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27912 for flag in $(EXTRA_TARGET_FLAGS); do \
27913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27914 done; \
27915 (cd $(TARGET_SUBDIR)/libada && \
27916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27918 "RANLIB=$${RANLIB}" \
27919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27920 installcheck) \
27921 || exit 1
27923 @endif target-libada
27925 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27926 maybe-mostlyclean-target-libada:
27927 @if target-libada
27928 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27930 mostlyclean-target-libada:
27931 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27932 r=`${PWD_COMMAND}`; export r; \
27933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27934 $(SET_LIB_PATH) \
27935 $(NORMAL_TARGET_EXPORTS) \
27936 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27937 for flag in $(EXTRA_TARGET_FLAGS); do \
27938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27939 done; \
27940 (cd $(TARGET_SUBDIR)/libada && \
27941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27943 "RANLIB=$${RANLIB}" \
27944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27945 mostlyclean) \
27946 || exit 1
27948 @endif target-libada
27950 .PHONY: maybe-clean-target-libada clean-target-libada
27951 maybe-clean-target-libada:
27952 @if target-libada
27953 maybe-clean-target-libada: clean-target-libada
27955 clean-target-libada:
27956 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27957 r=`${PWD_COMMAND}`; export r; \
27958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27959 $(SET_LIB_PATH) \
27960 $(NORMAL_TARGET_EXPORTS) \
27961 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
27962 for flag in $(EXTRA_TARGET_FLAGS); do \
27963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27964 done; \
27965 (cd $(TARGET_SUBDIR)/libada && \
27966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27968 "RANLIB=$${RANLIB}" \
27969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27970 clean) \
27971 || exit 1
27973 @endif target-libada
27975 .PHONY: maybe-distclean-target-libada distclean-target-libada
27976 maybe-distclean-target-libada:
27977 @if target-libada
27978 maybe-distclean-target-libada: distclean-target-libada
27980 distclean-target-libada:
27981 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27982 r=`${PWD_COMMAND}`; export r; \
27983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27984 $(SET_LIB_PATH) \
27985 $(NORMAL_TARGET_EXPORTS) \
27986 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
27987 for flag in $(EXTRA_TARGET_FLAGS); do \
27988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27989 done; \
27990 (cd $(TARGET_SUBDIR)/libada && \
27991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27993 "RANLIB=$${RANLIB}" \
27994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27995 distclean) \
27996 || exit 1
27998 @endif target-libada
28000 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
28001 maybe-maintainer-clean-target-libada:
28002 @if target-libada
28003 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
28005 maintainer-clean-target-libada:
28006 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28007 r=`${PWD_COMMAND}`; export r; \
28008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28009 $(SET_LIB_PATH) \
28010 $(NORMAL_TARGET_EXPORTS) \
28011 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
28012 for flag in $(EXTRA_TARGET_FLAGS); do \
28013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28014 done; \
28015 (cd $(TARGET_SUBDIR)/libada && \
28016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28018 "RANLIB=$${RANLIB}" \
28019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28020 maintainer-clean) \
28021 || exit 1
28023 @endif target-libada
28027 # ----------
28028 # GCC module
28029 # ----------
28031 @if gcc-no-bootstrap
28032 # GCC has some more recursive targets, which trigger the old
28033 # (but still current, until the toplevel bootstrap project
28034 # is finished) compiler bootstrapping rules.
28036 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
28037 .PHONY: $(GCC_STRAP_TARGETS)
28038 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
28039 @r=`${PWD_COMMAND}`; export r; \
28040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28041 $(SET_LIB_PATH) \
28042 $(HOST_EXPORTS) \
28043 echo "Bootstrapping the compiler"; \
28044 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
28045 @r=`${PWD_COMMAND}`; export r; \
28046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28047 case "$@" in \
28048 *bootstrap4-lean ) \
28049 msg="Comparing stage3 and stage4 of the compiler"; \
28050 compare=compare3-lean ;; \
28051 *bootstrap4 ) \
28052 msg="Comparing stage3 and stage4 of the compiler"; \
28053 compare=compare3 ;; \
28054 *-lean ) \
28055 msg="Comparing stage2 and stage3 of the compiler"; \
28056 compare=compare-lean ;; \
28057 * ) \
28058 msg="Comparing stage2 and stage3 of the compiler"; \
28059 compare=compare ;; \
28060 esac; \
28061 $(SET_LIB_PATH) \
28062 $(HOST_EXPORTS) \
28063 echo "$$msg"; \
28064 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
28065 @r=`${PWD_COMMAND}`; export r; \
28066 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28067 $(SET_LIB_PATH) \
28068 echo "Building runtime libraries"; \
28069 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28071 profiledbootstrap: all-prebootstrap configure-gcc
28072 @r=`${PWD_COMMAND}`; export r; \
28073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28074 $(SET_LIB_PATH) \
28075 $(HOST_EXPORTS) \
28076 echo "Bootstrapping training compiler"; \
28077 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
28078 @r=`${PWD_COMMAND}`; export r; \
28079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28080 $(SET_LIB_PATH) \
28081 $(HOST_EXPORTS) \
28082 echo "Building feedback based compiler"; \
28083 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
28084 @r=`${PWD_COMMAND}`; export r; \
28085 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28086 $(SET_LIB_PATH) \
28087 echo "Building runtime libraries"; \
28088 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28090 .PHONY: cross
28091 cross: all-build all-gas all-ld
28092 @r=`${PWD_COMMAND}`; export r; \
28093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28094 $(SET_LIB_PATH) \
28095 $(HOST_EXPORTS) \
28096 echo "Building the C and C++ compiler"; \
28097 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
28098 @r=`${PWD_COMMAND}`; export r; \
28099 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28100 $(SET_LIB_PATH) \
28101 echo "Building runtime libraries"; \
28102 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
28103 @endif gcc-no-bootstrap
28105 @if gcc
28106 .PHONY: check-gcc-c++
28107 check-gcc-c++:
28108 @if [ -f ./gcc/Makefile ] ; then \
28109 r=`${PWD_COMMAND}`; export r; \
28110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28111 $(SET_LIB_PATH) \
28112 $(HOST_EXPORTS) \
28113 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
28114 else \
28115 true; \
28118 .PHONY: check-c++
28119 check-c++: check-target-libstdc++-v3 check-gcc-c++
28121 # Install the gcc headers files, but not the fixed include files,
28122 # which Cygnus is not allowed to distribute. This rule is very
28123 # dependent on the workings of the gcc Makefile.in.
28124 .PHONY: gcc-no-fixedincludes
28125 gcc-no-fixedincludes:
28126 @if [ -f ./gcc/Makefile ]; then \
28127 rm -rf gcc/tmp-include; \
28128 mv gcc/include gcc/tmp-include 2>/dev/null; \
28129 mkdir gcc/include; \
28130 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
28131 touch gcc/stmp-fixinc gcc/include/fixed; \
28132 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
28133 r=`${PWD_COMMAND}`; export r; \
28134 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28135 $(SET_LIB_PATH) \
28136 $(HOST_EXPORTS) \
28137 (cd ./gcc && \
28138 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
28139 rm -rf gcc/include; \
28140 mv gcc/tmp-include gcc/include 2>/dev/null; \
28141 else true; fi
28142 @endif gcc
28144 # ---------------------
28145 # GCC bootstrap support
28146 # ---------------------
28148 # We track the current stage (the one in 'gcc') in the stage_current file.
28149 # stage_last instead tracks the stage that was built last. These targets
28150 # are dummy when toplevel bootstrap is not active.
28152 .PHONY: unstage
28153 unstage:
28154 @if gcc-bootstrap
28155 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
28156 @endif gcc-bootstrap
28158 .PHONY: stage
28159 stage:
28160 @if gcc-bootstrap
28161 @$(MAKE) `cat stage_current`-end
28162 @endif gcc-bootstrap
28164 # We name the build directories for the various stages "stage1-gcc",
28165 # "stage2-gcc","stage3-gcc", etc.
28167 # Since the 'compare' process will fail (on debugging information) if any
28168 # directory names are different, we need to link the gcc directory for
28169 # the previous stage to a constant name ('gcc-prev'), and to make the name of
28170 # the build directories constant as well. For the latter, we use naked names
28171 # like 'gcc', because the scripts in that directory assume it. We use
28172 # mv on platforms where symlinks to directories do not work or are not
28173 # reliable.
28175 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
28176 # be kept, so that libraries can find it. Ick!
28178 # It would be best to preinstall gcc into a staging area (and in the
28179 # future, gather there all prebootstrap packages). This would allow
28180 # assemblers and linkers can be bootstrapped as well as the compiler
28181 # (both in a combined tree, or separately). This however requires some
28182 # change to the gcc driver, again in order to avoid comparison failures.
28184 # Bugs: This is crippled when doing parallel make, the `make all-host'
28185 # and `make all-target' phases can be parallelized.
28188 # 'touch' doesn't work right on some platforms.
28189 STAMP = echo timestamp >
28191 # Only build the C compiler for stage1, because that is the only one that
28192 # we can guarantee will build with the native compiler, and also it is the
28193 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
28194 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
28195 # overrideable (for a bootstrap build stage1 also builds gcc.info).
28197 STAGE1_CFLAGS=@stage1_cflags@
28198 STAGE1_LANGUAGES=@stage1_languages@
28200 # We only want to compare .o files, so set this!
28201 objext = .o
28203 # Flags to pass to stage2 and later makes.
28204 POSTSTAGE1_FLAGS_TO_PASS = \
28205 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
28206 STAGE_PREFIX=$$r/stage-gcc/ \
28207 CFLAGS="$(BOOT_CFLAGS)" \
28208 ADAC="\$$(CC)"
28210 # For stage 1:
28211 # * We force-disable intermodule optimizations, even if
28212 # --enable-intermodule was passed, since the installed compiler probably
28213 # can't handle them. Luckily, autoconf always respects
28214 # the last argument when conflicting --enable arguments are passed.
28215 # * Likewise, we force-disable coverage flags, since the installed compiler
28216 # probably has never heard of them.
28217 # * We build only C (and possibly Ada).
28220 .PHONY: stage1-start stage1-end
28222 stage1-start::
28223 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
28224 echo stage1 > stage_current ; \
28225 echo stage1 > stage_last
28226 @if bfd
28227 @[ -d stage1-bfd ] || mkdir stage1-bfd; \
28228 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
28229 @endif bfd
28230 @if opcodes
28231 @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
28232 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
28233 @endif opcodes
28234 @if binutils
28235 @[ -d stage1-binutils ] || mkdir stage1-binutils; \
28236 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
28237 @endif binutils
28238 @if gas
28239 @[ -d stage1-gas ] || mkdir stage1-gas; \
28240 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
28241 @endif gas
28242 @if gcc
28243 @[ -d stage1-gcc ] || mkdir stage1-gcc; \
28244 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
28245 @endif gcc
28246 @if intl
28247 @[ -d stage1-intl ] || mkdir stage1-intl; \
28248 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
28249 @endif intl
28250 @if ld
28251 @[ -d stage1-ld ] || mkdir stage1-ld; \
28252 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
28253 @endif ld
28254 @if libcpp
28255 @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
28256 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
28257 @endif libcpp
28258 @if libbanshee
28259 @[ -d stage1-libbanshee ] || mkdir stage1-libbanshee; \
28260 set stage1-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@
28261 @endif libbanshee
28262 @if libiberty
28263 @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
28264 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
28265 @endif libiberty
28266 @if zlib
28267 @[ -d stage1-zlib ] || mkdir stage1-zlib; \
28268 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
28269 @endif zlib
28271 stage1-end::
28272 @rm -f stage_current
28273 @if bfd
28274 @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
28275 @endif bfd
28276 @if opcodes
28277 @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
28278 @endif opcodes
28279 @if binutils
28280 @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
28281 @endif binutils
28282 @if gas
28283 @set gas stage1-gas ; @UNDO_LINK_TO_DIR@
28284 @endif gas
28285 @if gcc
28286 @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28287 @endif gcc
28288 @if intl
28289 @set intl stage1-intl ; @UNDO_LINK_TO_DIR@
28290 @endif intl
28291 @if ld
28292 @set ld stage1-ld ; @UNDO_LINK_TO_DIR@
28293 @endif ld
28294 @if libcpp
28295 @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
28296 @endif libcpp
28297 @if libbanshee
28298 @set libbanshee stage1-libbanshee ; @UNDO_LINK_TO_DIR@
28299 @endif libbanshee
28300 @if libiberty
28301 @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
28302 @endif libiberty
28303 @if zlib
28304 @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
28305 @endif zlib
28307 # Bubble a bugfix through all the stages up to stage 1. They
28308 # are remade, but not reconfigured. The next stage (if any) will not
28309 # be reconfigured as well.
28310 .PHONY: stage1-bubble
28311 stage1-bubble::
28312 @if test -f stage1-lean ; then \
28313 echo Skipping rebuild of stage1 ; \
28314 else \
28315 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
28318 .PHONY: all-stage1 clean-stage1
28319 all-stage1: \
28320 maybe-all-stage1-bfd \
28321 maybe-all-stage1-opcodes \
28322 maybe-all-stage1-binutils \
28323 maybe-all-stage1-gas \
28324 maybe-all-stage1-gcc \
28325 maybe-all-stage1-intl \
28326 maybe-all-stage1-ld \
28327 maybe-all-stage1-libcpp \
28328 maybe-all-stage1-libbanshee \
28329 maybe-all-stage1-libiberty \
28330 maybe-all-stage1-zlib
28332 do-clean: clean-stage1
28333 clean-stage1: \
28334 maybe-clean-stage1-bfd \
28335 maybe-clean-stage1-opcodes \
28336 maybe-clean-stage1-binutils \
28337 maybe-clean-stage1-gas \
28338 maybe-clean-stage1-gcc \
28339 maybe-clean-stage1-intl \
28340 maybe-clean-stage1-ld \
28341 maybe-clean-stage1-libcpp \
28342 maybe-clean-stage1-libbanshee \
28343 maybe-clean-stage1-libiberty \
28344 maybe-clean-stage1-zlib
28347 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
28348 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
28349 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
28351 maybe-configure-stage1-bfd:
28352 maybe-all-stage1-bfd:
28353 maybe-clean-stage1-bfd:
28355 @if bfd-bootstrap
28356 maybe-configure-stage1-bfd: configure-stage1-bfd
28357 configure-stage1-bfd:
28358 @$(MAKE) stage1-start
28359 @[ -f bfd/Makefile ] && exit 0 || : ; \
28360 r=`${PWD_COMMAND}`; export r; \
28361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28362 $(HOST_EXPORTS) \
28363 echo Configuring stage 1 in bfd ; \
28364 cd bfd || exit 1; \
28365 case $(srcdir) in \
28366 \.) \
28367 srcdiroption="--srcdir=."; \
28368 libsrcdir=".";; \
28369 /* | [A-Za-z]:[\\/]*) \
28370 srcdiroption="--srcdir=$(srcdir)/bfd"; \
28371 libsrcdir="$$s/bfd";; \
28372 *) \
28373 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28374 libsrcdir="$$s/bfd";; \
28375 esac; \
28376 $(SHELL) $${libsrcdir}/configure \
28377 $(HOST_CONFIGARGS) $${srcdiroption} \
28378 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28380 maybe-all-stage1-bfd: all-stage1-bfd
28381 all-stage1-bfd: configure-stage1-bfd
28382 @$(MAKE) stage1-start
28383 @r=`${PWD_COMMAND}`; export r; \
28384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28385 $(HOST_EXPORTS) \
28386 cd bfd && \
28387 $(MAKE) $(FLAGS_TO_PASS) \
28388 CFLAGS="$(STAGE1_CFLAGS)"
28390 maybe-clean-stage1-bfd: clean-stage1-bfd
28391 clean-stage1-bfd:
28392 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
28393 || exit 0 ; \
28394 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
28395 cd bfd && \
28396 $(MAKE) $(FLAGS_TO_PASS) \
28397 CFLAGS="$(STAGE1_CFLAGS)" clean
28398 @endif bfd-bootstrap
28401 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
28402 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
28403 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
28405 maybe-configure-stage1-opcodes:
28406 maybe-all-stage1-opcodes:
28407 maybe-clean-stage1-opcodes:
28409 @if opcodes-bootstrap
28410 maybe-configure-stage1-opcodes: configure-stage1-opcodes
28411 configure-stage1-opcodes:
28412 @$(MAKE) stage1-start
28413 @[ -f opcodes/Makefile ] && exit 0 || : ; \
28414 r=`${PWD_COMMAND}`; export r; \
28415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28416 $(HOST_EXPORTS) \
28417 echo Configuring stage 1 in opcodes ; \
28418 cd opcodes || exit 1; \
28419 case $(srcdir) in \
28420 \.) \
28421 srcdiroption="--srcdir=."; \
28422 libsrcdir=".";; \
28423 /* | [A-Za-z]:[\\/]*) \
28424 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
28425 libsrcdir="$$s/opcodes";; \
28426 *) \
28427 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
28428 libsrcdir="$$s/opcodes";; \
28429 esac; \
28430 $(SHELL) $${libsrcdir}/configure \
28431 $(HOST_CONFIGARGS) $${srcdiroption} \
28432 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28434 maybe-all-stage1-opcodes: all-stage1-opcodes
28435 all-stage1-opcodes: configure-stage1-opcodes
28436 @$(MAKE) stage1-start
28437 @r=`${PWD_COMMAND}`; export r; \
28438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28439 $(HOST_EXPORTS) \
28440 cd opcodes && \
28441 $(MAKE) $(FLAGS_TO_PASS) \
28442 CFLAGS="$(STAGE1_CFLAGS)"
28444 maybe-clean-stage1-opcodes: clean-stage1-opcodes
28445 clean-stage1-opcodes:
28446 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
28447 || exit 0 ; \
28448 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
28449 cd opcodes && \
28450 $(MAKE) $(FLAGS_TO_PASS) \
28451 CFLAGS="$(STAGE1_CFLAGS)" clean
28452 @endif opcodes-bootstrap
28455 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
28456 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
28457 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
28459 maybe-configure-stage1-binutils:
28460 maybe-all-stage1-binutils:
28461 maybe-clean-stage1-binutils:
28463 @if binutils-bootstrap
28464 maybe-configure-stage1-binutils: configure-stage1-binutils
28465 configure-stage1-binutils:
28466 @$(MAKE) stage1-start
28467 @[ -f binutils/Makefile ] && exit 0 || : ; \
28468 r=`${PWD_COMMAND}`; export r; \
28469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28470 $(HOST_EXPORTS) \
28471 echo Configuring stage 1 in binutils ; \
28472 cd binutils || exit 1; \
28473 case $(srcdir) in \
28474 \.) \
28475 srcdiroption="--srcdir=."; \
28476 libsrcdir=".";; \
28477 /* | [A-Za-z]:[\\/]*) \
28478 srcdiroption="--srcdir=$(srcdir)/binutils"; \
28479 libsrcdir="$$s/binutils";; \
28480 *) \
28481 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
28482 libsrcdir="$$s/binutils";; \
28483 esac; \
28484 $(SHELL) $${libsrcdir}/configure \
28485 $(HOST_CONFIGARGS) $${srcdiroption} \
28486 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28488 maybe-all-stage1-binutils: all-stage1-binutils
28489 all-stage1-binutils: configure-stage1-binutils
28490 @$(MAKE) stage1-start
28491 @r=`${PWD_COMMAND}`; export r; \
28492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28493 $(HOST_EXPORTS) \
28494 cd binutils && \
28495 $(MAKE) $(FLAGS_TO_PASS) \
28496 CFLAGS="$(STAGE1_CFLAGS)"
28498 maybe-clean-stage1-binutils: clean-stage1-binutils
28499 clean-stage1-binutils:
28500 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
28501 || exit 0 ; \
28502 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
28503 cd binutils && \
28504 $(MAKE) $(FLAGS_TO_PASS) \
28505 CFLAGS="$(STAGE1_CFLAGS)" clean
28506 @endif binutils-bootstrap
28509 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
28510 .PHONY: all-stage1-gas maybe-all-stage1-gas
28511 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
28513 maybe-configure-stage1-gas:
28514 maybe-all-stage1-gas:
28515 maybe-clean-stage1-gas:
28517 @if gas-bootstrap
28518 maybe-configure-stage1-gas: configure-stage1-gas
28519 configure-stage1-gas:
28520 @$(MAKE) stage1-start
28521 @[ -f gas/Makefile ] && exit 0 || : ; \
28522 r=`${PWD_COMMAND}`; export r; \
28523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28524 $(HOST_EXPORTS) \
28525 echo Configuring stage 1 in gas ; \
28526 cd gas || exit 1; \
28527 case $(srcdir) in \
28528 \.) \
28529 srcdiroption="--srcdir=."; \
28530 libsrcdir=".";; \
28531 /* | [A-Za-z]:[\\/]*) \
28532 srcdiroption="--srcdir=$(srcdir)/gas"; \
28533 libsrcdir="$$s/gas";; \
28534 *) \
28535 srcdiroption="--srcdir=../$(srcdir)/gas"; \
28536 libsrcdir="$$s/gas";; \
28537 esac; \
28538 $(SHELL) $${libsrcdir}/configure \
28539 $(HOST_CONFIGARGS) $${srcdiroption} \
28540 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28542 maybe-all-stage1-gas: all-stage1-gas
28543 all-stage1-gas: configure-stage1-gas
28544 @$(MAKE) stage1-start
28545 @r=`${PWD_COMMAND}`; export r; \
28546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28547 $(HOST_EXPORTS) \
28548 cd gas && \
28549 $(MAKE) $(FLAGS_TO_PASS) \
28550 CFLAGS="$(STAGE1_CFLAGS)"
28552 maybe-clean-stage1-gas: clean-stage1-gas
28553 clean-stage1-gas:
28554 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
28555 || exit 0 ; \
28556 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
28557 cd gas && \
28558 $(MAKE) $(FLAGS_TO_PASS) \
28559 CFLAGS="$(STAGE1_CFLAGS)" clean
28560 @endif gas-bootstrap
28563 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
28564 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
28565 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
28567 maybe-configure-stage1-gcc:
28568 maybe-all-stage1-gcc:
28569 maybe-clean-stage1-gcc:
28571 @if gcc-bootstrap
28572 maybe-configure-stage1-gcc: configure-stage1-gcc
28573 configure-stage1-gcc:
28574 @$(MAKE) stage1-start
28575 @[ -f gcc/Makefile ] && exit 0 || : ; \
28576 r=`${PWD_COMMAND}`; export r; \
28577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28578 $(HOST_EXPORTS) \
28579 echo Configuring stage 1 in gcc ; \
28580 cd gcc || exit 1; \
28581 case $(srcdir) in \
28582 \.) \
28583 srcdiroption="--srcdir=."; \
28584 libsrcdir=".";; \
28585 /* | [A-Za-z]:[\\/]*) \
28586 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28587 libsrcdir="$$s/gcc";; \
28588 *) \
28589 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28590 libsrcdir="$$s/gcc";; \
28591 esac; \
28592 $(SHELL) $${libsrcdir}/configure \
28593 $(HOST_CONFIGARGS) $${srcdiroption} \
28594 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28596 maybe-all-stage1-gcc: all-stage1-gcc
28597 all-stage1-gcc: configure-stage1-gcc
28598 @$(MAKE) stage1-start
28599 @r=`${PWD_COMMAND}`; export r; \
28600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28601 $(HOST_EXPORTS) \
28602 cd gcc && \
28603 $(MAKE) $(FLAGS_TO_PASS) \
28604 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
28606 maybe-clean-stage1-gcc: clean-stage1-gcc
28607 clean-stage1-gcc:
28608 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
28609 || exit 0 ; \
28610 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
28611 cd gcc && \
28612 $(MAKE) $(FLAGS_TO_PASS) \
28613 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
28614 @endif gcc-bootstrap
28617 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
28618 .PHONY: all-stage1-intl maybe-all-stage1-intl
28619 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
28621 maybe-configure-stage1-intl:
28622 maybe-all-stage1-intl:
28623 maybe-clean-stage1-intl:
28625 @if intl-bootstrap
28626 maybe-configure-stage1-intl: configure-stage1-intl
28627 configure-stage1-intl:
28628 @$(MAKE) stage1-start
28629 @[ -f intl/Makefile ] && exit 0 || : ; \
28630 r=`${PWD_COMMAND}`; export r; \
28631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28632 $(HOST_EXPORTS) \
28633 echo Configuring stage 1 in intl ; \
28634 cd intl || exit 1; \
28635 case $(srcdir) in \
28636 \.) \
28637 srcdiroption="--srcdir=."; \
28638 libsrcdir=".";; \
28639 /* | [A-Za-z]:[\\/]*) \
28640 srcdiroption="--srcdir=$(srcdir)/intl"; \
28641 libsrcdir="$$s/intl";; \
28642 *) \
28643 srcdiroption="--srcdir=../$(srcdir)/intl"; \
28644 libsrcdir="$$s/intl";; \
28645 esac; \
28646 $(SHELL) $${libsrcdir}/configure \
28647 $(HOST_CONFIGARGS) $${srcdiroption} \
28648 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28650 maybe-all-stage1-intl: all-stage1-intl
28651 all-stage1-intl: configure-stage1-intl
28652 @$(MAKE) stage1-start
28653 @r=`${PWD_COMMAND}`; export r; \
28654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28655 $(HOST_EXPORTS) \
28656 cd intl && \
28657 $(MAKE) $(FLAGS_TO_PASS) \
28658 CFLAGS="$(STAGE1_CFLAGS)"
28660 maybe-clean-stage1-intl: clean-stage1-intl
28661 clean-stage1-intl:
28662 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
28663 || exit 0 ; \
28664 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
28665 cd intl && \
28666 $(MAKE) $(FLAGS_TO_PASS) \
28667 CFLAGS="$(STAGE1_CFLAGS)" clean
28668 @endif intl-bootstrap
28671 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
28672 .PHONY: all-stage1-ld maybe-all-stage1-ld
28673 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
28675 maybe-configure-stage1-ld:
28676 maybe-all-stage1-ld:
28677 maybe-clean-stage1-ld:
28679 @if ld-bootstrap
28680 maybe-configure-stage1-ld: configure-stage1-ld
28681 configure-stage1-ld:
28682 @$(MAKE) stage1-start
28683 @[ -f ld/Makefile ] && exit 0 || : ; \
28684 r=`${PWD_COMMAND}`; export r; \
28685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28686 $(HOST_EXPORTS) \
28687 echo Configuring stage 1 in ld ; \
28688 cd ld || exit 1; \
28689 case $(srcdir) in \
28690 \.) \
28691 srcdiroption="--srcdir=."; \
28692 libsrcdir=".";; \
28693 /* | [A-Za-z]:[\\/]*) \
28694 srcdiroption="--srcdir=$(srcdir)/ld"; \
28695 libsrcdir="$$s/ld";; \
28696 *) \
28697 srcdiroption="--srcdir=../$(srcdir)/ld"; \
28698 libsrcdir="$$s/ld";; \
28699 esac; \
28700 $(SHELL) $${libsrcdir}/configure \
28701 $(HOST_CONFIGARGS) $${srcdiroption} \
28702 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28704 maybe-all-stage1-ld: all-stage1-ld
28705 all-stage1-ld: configure-stage1-ld
28706 @$(MAKE) stage1-start
28707 @r=`${PWD_COMMAND}`; export r; \
28708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28709 $(HOST_EXPORTS) \
28710 cd ld && \
28711 $(MAKE) $(FLAGS_TO_PASS) \
28712 CFLAGS="$(STAGE1_CFLAGS)"
28714 maybe-clean-stage1-ld: clean-stage1-ld
28715 clean-stage1-ld:
28716 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
28717 || exit 0 ; \
28718 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
28719 cd ld && \
28720 $(MAKE) $(FLAGS_TO_PASS) \
28721 CFLAGS="$(STAGE1_CFLAGS)" clean
28722 @endif ld-bootstrap
28725 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
28726 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
28727 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
28729 maybe-configure-stage1-libcpp:
28730 maybe-all-stage1-libcpp:
28731 maybe-clean-stage1-libcpp:
28733 @if libcpp-bootstrap
28734 maybe-configure-stage1-libcpp: configure-stage1-libcpp
28735 configure-stage1-libcpp:
28736 @$(MAKE) stage1-start
28737 @[ -f libcpp/Makefile ] && exit 0 || : ; \
28738 r=`${PWD_COMMAND}`; export r; \
28739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28740 $(HOST_EXPORTS) \
28741 echo Configuring stage 1 in libcpp ; \
28742 cd libcpp || exit 1; \
28743 case $(srcdir) in \
28744 \.) \
28745 srcdiroption="--srcdir=."; \
28746 libsrcdir=".";; \
28747 /* | [A-Za-z]:[\\/]*) \
28748 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
28749 libsrcdir="$$s/libcpp";; \
28750 *) \
28751 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
28752 libsrcdir="$$s/libcpp";; \
28753 esac; \
28754 $(SHELL) $${libsrcdir}/configure \
28755 $(HOST_CONFIGARGS) $${srcdiroption} \
28756 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28758 maybe-all-stage1-libcpp: all-stage1-libcpp
28759 all-stage1-libcpp: configure-stage1-libcpp
28760 @$(MAKE) stage1-start
28761 @r=`${PWD_COMMAND}`; export r; \
28762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28763 $(HOST_EXPORTS) \
28764 cd libcpp && \
28765 $(MAKE) $(FLAGS_TO_PASS) \
28766 CFLAGS="$(STAGE1_CFLAGS)"
28768 maybe-clean-stage1-libcpp: clean-stage1-libcpp
28769 clean-stage1-libcpp:
28770 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
28771 || exit 0 ; \
28772 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
28773 cd libcpp && \
28774 $(MAKE) $(FLAGS_TO_PASS) \
28775 CFLAGS="$(STAGE1_CFLAGS)" clean
28776 @endif libcpp-bootstrap
28779 .PHONY: configure-stage1-libbanshee maybe-configure-stage1-libbanshee
28780 .PHONY: all-stage1-libbanshee maybe-all-stage1-libbanshee
28781 .PHONY: clean-stage1-libbanshee maybe-clean-stage1-libbanshee
28783 maybe-configure-stage1-libbanshee:
28784 maybe-all-stage1-libbanshee:
28785 maybe-clean-stage1-libbanshee:
28787 @if libbanshee-bootstrap
28788 maybe-configure-stage1-libbanshee: configure-stage1-libbanshee
28789 configure-stage1-libbanshee:
28790 @$(MAKE) stage1-start
28791 @[ -f libbanshee/Makefile ] && exit 0 || : ; \
28792 r=`${PWD_COMMAND}`; export r; \
28793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28794 $(HOST_EXPORTS) \
28795 echo Configuring stage 1 in libbanshee ; \
28796 cd libbanshee || exit 1; \
28797 case $(srcdir) in \
28798 \.) \
28799 srcdiroption="--srcdir=."; \
28800 libsrcdir=".";; \
28801 /* | [A-Za-z]:[\\/]*) \
28802 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
28803 libsrcdir="$$s/libbanshee";; \
28804 *) \
28805 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
28806 libsrcdir="$$s/libbanshee";; \
28807 esac; \
28808 $(SHELL) $${libsrcdir}/configure \
28809 $(HOST_CONFIGARGS) $${srcdiroption} \
28810 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28812 maybe-all-stage1-libbanshee: all-stage1-libbanshee
28813 all-stage1-libbanshee: configure-stage1-libbanshee
28814 @$(MAKE) stage1-start
28815 @r=`${PWD_COMMAND}`; export r; \
28816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28817 $(HOST_EXPORTS) \
28818 cd libbanshee && \
28819 $(MAKE) $(FLAGS_TO_PASS) \
28820 CFLAGS="$(STAGE1_CFLAGS)"
28822 maybe-clean-stage1-libbanshee: clean-stage1-libbanshee
28823 clean-stage1-libbanshee:
28824 @[ -f libbanshee/Makefile ] || [ -f stage1-libbanshee/Makefile ] \
28825 || exit 0 ; \
28826 [ -f libbanshee/Makefile ] || $(MAKE) stage1-start ; \
28827 cd libbanshee && \
28828 $(MAKE) $(FLAGS_TO_PASS) \
28829 CFLAGS="$(STAGE1_CFLAGS)" clean
28830 @endif libbanshee-bootstrap
28833 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
28834 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
28835 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
28837 maybe-configure-stage1-libiberty:
28838 maybe-all-stage1-libiberty:
28839 maybe-clean-stage1-libiberty:
28841 @if libiberty-bootstrap
28842 maybe-configure-stage1-libiberty: configure-stage1-libiberty
28843 configure-stage1-libiberty:
28844 @$(MAKE) stage1-start
28845 @[ -f libiberty/Makefile ] && exit 0 || : ; \
28846 r=`${PWD_COMMAND}`; export r; \
28847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28848 $(HOST_EXPORTS) \
28849 echo Configuring stage 1 in libiberty ; \
28850 cd libiberty || exit 1; \
28851 case $(srcdir) in \
28852 \.) \
28853 srcdiroption="--srcdir=."; \
28854 libsrcdir=".";; \
28855 /* | [A-Za-z]:[\\/]*) \
28856 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
28857 libsrcdir="$$s/libiberty";; \
28858 *) \
28859 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
28860 libsrcdir="$$s/libiberty";; \
28861 esac; \
28862 $(SHELL) $${libsrcdir}/configure \
28863 $(HOST_CONFIGARGS) $${srcdiroption} \
28864 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28866 maybe-all-stage1-libiberty: all-stage1-libiberty
28867 all-stage1-libiberty: configure-stage1-libiberty
28868 @$(MAKE) stage1-start
28869 @r=`${PWD_COMMAND}`; export r; \
28870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28871 $(HOST_EXPORTS) \
28872 cd libiberty && \
28873 $(MAKE) $(FLAGS_TO_PASS) \
28874 CFLAGS="$(STAGE1_CFLAGS)"
28876 maybe-clean-stage1-libiberty: clean-stage1-libiberty
28877 clean-stage1-libiberty:
28878 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
28879 || exit 0 ; \
28880 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
28881 cd libiberty && \
28882 $(MAKE) $(FLAGS_TO_PASS) \
28883 CFLAGS="$(STAGE1_CFLAGS)" clean
28884 @endif libiberty-bootstrap
28887 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
28888 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
28889 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
28891 maybe-configure-stage1-zlib:
28892 maybe-all-stage1-zlib:
28893 maybe-clean-stage1-zlib:
28895 @if zlib-bootstrap
28896 maybe-configure-stage1-zlib: configure-stage1-zlib
28897 configure-stage1-zlib:
28898 @$(MAKE) stage1-start
28899 @[ -f zlib/Makefile ] && exit 0 || : ; \
28900 r=`${PWD_COMMAND}`; export r; \
28901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28902 $(HOST_EXPORTS) \
28903 echo Configuring stage 1 in zlib ; \
28904 cd zlib || exit 1; \
28905 case $(srcdir) in \
28906 \.) \
28907 srcdiroption="--srcdir=."; \
28908 libsrcdir=".";; \
28909 /* | [A-Za-z]:[\\/]*) \
28910 srcdiroption="--srcdir=$(srcdir)/zlib"; \
28911 libsrcdir="$$s/zlib";; \
28912 *) \
28913 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
28914 libsrcdir="$$s/zlib";; \
28915 esac; \
28916 $(SHELL) $${libsrcdir}/configure \
28917 $(HOST_CONFIGARGS) $${srcdiroption} \
28918 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28920 maybe-all-stage1-zlib: all-stage1-zlib
28921 all-stage1-zlib: configure-stage1-zlib
28922 @$(MAKE) stage1-start
28923 @r=`${PWD_COMMAND}`; export r; \
28924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28925 $(HOST_EXPORTS) \
28926 cd zlib && \
28927 $(MAKE) $(FLAGS_TO_PASS) \
28928 CFLAGS="$(STAGE1_CFLAGS)"
28930 maybe-clean-stage1-zlib: clean-stage1-zlib
28931 clean-stage1-zlib:
28932 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
28933 || exit 0 ; \
28934 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
28935 cd zlib && \
28936 $(MAKE) $(FLAGS_TO_PASS) \
28937 CFLAGS="$(STAGE1_CFLAGS)" clean
28938 @endif zlib-bootstrap
28942 # FIXME: Will not need to be conditional when toplevel bootstrap is the
28943 # only possibility, but now it conflicts with no-bootstrap rules
28944 @if gcc-bootstrap
28949 # Rules to wipe a stage and all the following ones, also used for cleanstrap
28951 .PHONY: distclean-stage1
28952 distclean-stage1::
28953 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28954 rm -rf stage1-*
28957 @endif gcc-bootstrap
28960 .PHONY: stage2-start stage2-end
28962 stage2-start::
28963 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
28964 echo stage2 > stage_current ; \
28965 echo stage2 > stage_last
28966 @if bfd
28967 @[ -d stage2-bfd ] || mkdir stage2-bfd; \
28968 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
28969 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
28970 @endif bfd
28971 @if opcodes
28972 @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
28973 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
28974 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
28975 @endif opcodes
28976 @if binutils
28977 @[ -d stage2-binutils ] || mkdir stage2-binutils; \
28978 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
28979 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
28980 @endif binutils
28981 @if gas
28982 @[ -d stage2-gas ] || mkdir stage2-gas; \
28983 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
28984 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
28985 @endif gas
28986 @if gcc
28987 @[ -d stage2-gcc ] || mkdir stage2-gcc; \
28988 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28989 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28990 @endif gcc
28991 @if intl
28992 @[ -d stage2-intl ] || mkdir stage2-intl; \
28993 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
28994 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
28995 @endif intl
28996 @if ld
28997 @[ -d stage2-ld ] || mkdir stage2-ld; \
28998 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
28999 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
29000 @endif ld
29001 @if libcpp
29002 @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
29003 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
29004 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
29005 @endif libcpp
29006 @if libbanshee
29007 @[ -d stage2-libbanshee ] || mkdir stage2-libbanshee; \
29008 set stage2-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
29009 set stage1-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
29010 @endif libbanshee
29011 @if libiberty
29012 @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
29013 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
29014 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
29015 @endif libiberty
29016 @if zlib
29017 @[ -d stage2-zlib ] || mkdir stage2-zlib; \
29018 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
29019 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
29020 @endif zlib
29022 stage2-end::
29023 @rm -f stage_current
29024 @if bfd
29025 @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
29026 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
29027 @endif bfd
29028 @if opcodes
29029 @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
29030 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
29031 @endif opcodes
29032 @if binutils
29033 @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
29034 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
29035 @endif binutils
29036 @if gas
29037 @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
29038 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
29039 @endif gas
29040 @if gcc
29041 @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
29042 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
29043 @endif gcc
29044 @if intl
29045 @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
29046 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
29047 @endif intl
29048 @if ld
29049 @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
29050 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
29051 @endif ld
29052 @if libcpp
29053 @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
29054 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
29055 @endif libcpp
29056 @if libbanshee
29057 @set libbanshee stage2-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
29058 set prev-libbanshee stage1-libbanshee ; @UNDO_LINK_TO_DIR@
29059 @endif libbanshee
29060 @if libiberty
29061 @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
29062 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
29063 @endif libiberty
29064 @if zlib
29065 @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
29066 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
29067 @endif zlib
29069 # Bubble a bugfix through all the stages up to stage 2. They
29070 # are remade, but not reconfigured. The next stage (if any) will not
29071 # be reconfigured as well.
29072 .PHONY: stage2-bubble
29073 stage2-bubble:: stage1-bubble
29074 @if test -f stage2-lean || test -f stage1-lean ; then \
29075 echo Skipping rebuild of stage2 ; \
29076 else \
29077 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
29080 .PHONY: all-stage2 clean-stage2
29081 all-stage2: \
29082 maybe-all-stage2-bfd \
29083 maybe-all-stage2-opcodes \
29084 maybe-all-stage2-binutils \
29085 maybe-all-stage2-gas \
29086 maybe-all-stage2-gcc \
29087 maybe-all-stage2-intl \
29088 maybe-all-stage2-ld \
29089 maybe-all-stage2-libcpp \
29090 maybe-all-stage2-libbanshee \
29091 maybe-all-stage2-libiberty \
29092 maybe-all-stage2-zlib
29094 do-clean: clean-stage2
29095 clean-stage2: \
29096 maybe-clean-stage2-bfd \
29097 maybe-clean-stage2-opcodes \
29098 maybe-clean-stage2-binutils \
29099 maybe-clean-stage2-gas \
29100 maybe-clean-stage2-gcc \
29101 maybe-clean-stage2-intl \
29102 maybe-clean-stage2-ld \
29103 maybe-clean-stage2-libcpp \
29104 maybe-clean-stage2-libbanshee \
29105 maybe-clean-stage2-libiberty \
29106 maybe-clean-stage2-zlib
29109 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
29110 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
29111 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
29113 maybe-configure-stage2-bfd:
29114 maybe-all-stage2-bfd:
29115 maybe-clean-stage2-bfd:
29117 @if bfd-bootstrap
29118 maybe-configure-stage2-bfd: configure-stage2-bfd
29119 configure-stage2-bfd:
29120 @$(MAKE) stage2-start
29121 @[ -f bfd/Makefile ] && exit 0 || : ; \
29122 r=`${PWD_COMMAND}`; export r; \
29123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29124 $(STAGE_HOST_EXPORTS) \
29125 echo Configuring stage 2 in bfd ; \
29126 cd bfd || exit 1; \
29127 case $(srcdir) in \
29128 \.) \
29129 srcdiroption="--srcdir=."; \
29130 libsrcdir=".";; \
29131 /* | [A-Za-z]:[\\/]*) \
29132 srcdiroption="--srcdir=$(srcdir)/bfd"; \
29133 libsrcdir="$$s/bfd";; \
29134 *) \
29135 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
29136 libsrcdir="$$s/bfd";; \
29137 esac; \
29138 $(SHELL) $${libsrcdir}/configure \
29139 $(HOST_CONFIGARGS) $${srcdiroption} \
29140 @stage2_werror_flag@
29142 maybe-all-stage2-bfd: all-stage2-bfd
29143 all-stage2-bfd: configure-stage2-bfd
29144 @$(MAKE) stage2-start
29145 @r=`${PWD_COMMAND}`; export r; \
29146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29147 $(STAGE_HOST_EXPORTS) \
29148 cd bfd && \
29149 $(MAKE) $(FLAGS_TO_PASS) \
29150 $(POSTSTAGE1_FLAGS_TO_PASS) \
29153 maybe-clean-stage2-bfd: clean-stage2-bfd
29154 clean-stage2-bfd:
29155 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
29156 || exit 0 ; \
29157 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
29158 cd bfd && \
29159 $(MAKE) $(FLAGS_TO_PASS) \
29160 $(POSTSTAGE1_FLAGS_TO_PASS) \
29161 clean
29162 @endif bfd-bootstrap
29165 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
29166 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
29167 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
29169 maybe-configure-stage2-opcodes:
29170 maybe-all-stage2-opcodes:
29171 maybe-clean-stage2-opcodes:
29173 @if opcodes-bootstrap
29174 maybe-configure-stage2-opcodes: configure-stage2-opcodes
29175 configure-stage2-opcodes:
29176 @$(MAKE) stage2-start
29177 @[ -f opcodes/Makefile ] && exit 0 || : ; \
29178 r=`${PWD_COMMAND}`; export r; \
29179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29180 $(STAGE_HOST_EXPORTS) \
29181 echo Configuring stage 2 in opcodes ; \
29182 cd opcodes || exit 1; \
29183 case $(srcdir) in \
29184 \.) \
29185 srcdiroption="--srcdir=."; \
29186 libsrcdir=".";; \
29187 /* | [A-Za-z]:[\\/]*) \
29188 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
29189 libsrcdir="$$s/opcodes";; \
29190 *) \
29191 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
29192 libsrcdir="$$s/opcodes";; \
29193 esac; \
29194 $(SHELL) $${libsrcdir}/configure \
29195 $(HOST_CONFIGARGS) $${srcdiroption} \
29196 @stage2_werror_flag@
29198 maybe-all-stage2-opcodes: all-stage2-opcodes
29199 all-stage2-opcodes: configure-stage2-opcodes
29200 @$(MAKE) stage2-start
29201 @r=`${PWD_COMMAND}`; export r; \
29202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29203 $(STAGE_HOST_EXPORTS) \
29204 cd opcodes && \
29205 $(MAKE) $(FLAGS_TO_PASS) \
29206 $(POSTSTAGE1_FLAGS_TO_PASS) \
29209 maybe-clean-stage2-opcodes: clean-stage2-opcodes
29210 clean-stage2-opcodes:
29211 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
29212 || exit 0 ; \
29213 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
29214 cd opcodes && \
29215 $(MAKE) $(FLAGS_TO_PASS) \
29216 $(POSTSTAGE1_FLAGS_TO_PASS) \
29217 clean
29218 @endif opcodes-bootstrap
29221 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
29222 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
29223 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
29225 maybe-configure-stage2-binutils:
29226 maybe-all-stage2-binutils:
29227 maybe-clean-stage2-binutils:
29229 @if binutils-bootstrap
29230 maybe-configure-stage2-binutils: configure-stage2-binutils
29231 configure-stage2-binutils:
29232 @$(MAKE) stage2-start
29233 @[ -f binutils/Makefile ] && exit 0 || : ; \
29234 r=`${PWD_COMMAND}`; export r; \
29235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29236 $(STAGE_HOST_EXPORTS) \
29237 echo Configuring stage 2 in binutils ; \
29238 cd binutils || exit 1; \
29239 case $(srcdir) in \
29240 \.) \
29241 srcdiroption="--srcdir=."; \
29242 libsrcdir=".";; \
29243 /* | [A-Za-z]:[\\/]*) \
29244 srcdiroption="--srcdir=$(srcdir)/binutils"; \
29245 libsrcdir="$$s/binutils";; \
29246 *) \
29247 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
29248 libsrcdir="$$s/binutils";; \
29249 esac; \
29250 $(SHELL) $${libsrcdir}/configure \
29251 $(HOST_CONFIGARGS) $${srcdiroption} \
29252 @stage2_werror_flag@
29254 maybe-all-stage2-binutils: all-stage2-binutils
29255 all-stage2-binutils: configure-stage2-binutils
29256 @$(MAKE) stage2-start
29257 @r=`${PWD_COMMAND}`; export r; \
29258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29259 $(STAGE_HOST_EXPORTS) \
29260 cd binutils && \
29261 $(MAKE) $(FLAGS_TO_PASS) \
29262 $(POSTSTAGE1_FLAGS_TO_PASS) \
29265 maybe-clean-stage2-binutils: clean-stage2-binutils
29266 clean-stage2-binutils:
29267 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
29268 || exit 0 ; \
29269 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
29270 cd binutils && \
29271 $(MAKE) $(FLAGS_TO_PASS) \
29272 $(POSTSTAGE1_FLAGS_TO_PASS) \
29273 clean
29274 @endif binutils-bootstrap
29277 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
29278 .PHONY: all-stage2-gas maybe-all-stage2-gas
29279 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
29281 maybe-configure-stage2-gas:
29282 maybe-all-stage2-gas:
29283 maybe-clean-stage2-gas:
29285 @if gas-bootstrap
29286 maybe-configure-stage2-gas: configure-stage2-gas
29287 configure-stage2-gas:
29288 @$(MAKE) stage2-start
29289 @[ -f gas/Makefile ] && exit 0 || : ; \
29290 r=`${PWD_COMMAND}`; export r; \
29291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29292 $(STAGE_HOST_EXPORTS) \
29293 echo Configuring stage 2 in gas ; \
29294 cd gas || exit 1; \
29295 case $(srcdir) in \
29296 \.) \
29297 srcdiroption="--srcdir=."; \
29298 libsrcdir=".";; \
29299 /* | [A-Za-z]:[\\/]*) \
29300 srcdiroption="--srcdir=$(srcdir)/gas"; \
29301 libsrcdir="$$s/gas";; \
29302 *) \
29303 srcdiroption="--srcdir=../$(srcdir)/gas"; \
29304 libsrcdir="$$s/gas";; \
29305 esac; \
29306 $(SHELL) $${libsrcdir}/configure \
29307 $(HOST_CONFIGARGS) $${srcdiroption} \
29308 @stage2_werror_flag@
29310 maybe-all-stage2-gas: all-stage2-gas
29311 all-stage2-gas: configure-stage2-gas
29312 @$(MAKE) stage2-start
29313 @r=`${PWD_COMMAND}`; export r; \
29314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29315 $(STAGE_HOST_EXPORTS) \
29316 cd gas && \
29317 $(MAKE) $(FLAGS_TO_PASS) \
29318 $(POSTSTAGE1_FLAGS_TO_PASS) \
29321 maybe-clean-stage2-gas: clean-stage2-gas
29322 clean-stage2-gas:
29323 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
29324 || exit 0 ; \
29325 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
29326 cd gas && \
29327 $(MAKE) $(FLAGS_TO_PASS) \
29328 $(POSTSTAGE1_FLAGS_TO_PASS) \
29329 clean
29330 @endif gas-bootstrap
29333 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
29334 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
29335 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
29337 maybe-configure-stage2-gcc:
29338 maybe-all-stage2-gcc:
29339 maybe-clean-stage2-gcc:
29341 @if gcc-bootstrap
29342 maybe-configure-stage2-gcc: configure-stage2-gcc
29343 configure-stage2-gcc:
29344 @$(MAKE) stage2-start
29345 @[ -f gcc/Makefile ] && exit 0 || : ; \
29346 r=`${PWD_COMMAND}`; export r; \
29347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29348 $(STAGE_HOST_EXPORTS) \
29349 echo Configuring stage 2 in gcc ; \
29350 cd gcc || exit 1; \
29351 case $(srcdir) in \
29352 \.) \
29353 srcdiroption="--srcdir=."; \
29354 libsrcdir=".";; \
29355 /* | [A-Za-z]:[\\/]*) \
29356 srcdiroption="--srcdir=$(srcdir)/gcc"; \
29357 libsrcdir="$$s/gcc";; \
29358 *) \
29359 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29360 libsrcdir="$$s/gcc";; \
29361 esac; \
29362 $(SHELL) $${libsrcdir}/configure \
29363 $(HOST_CONFIGARGS) $${srcdiroption} \
29364 @stage2_werror_flag@
29366 maybe-all-stage2-gcc: all-stage2-gcc
29367 all-stage2-gcc: configure-stage2-gcc
29368 @$(MAKE) stage2-start
29369 @r=`${PWD_COMMAND}`; export r; \
29370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29371 $(STAGE_HOST_EXPORTS) \
29372 cd gcc && \
29373 $(MAKE) $(FLAGS_TO_PASS) \
29374 $(POSTSTAGE1_FLAGS_TO_PASS) \
29375 $(EXTRA_GCC_FLAGS)
29377 maybe-clean-stage2-gcc: clean-stage2-gcc
29378 clean-stage2-gcc:
29379 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
29380 || exit 0 ; \
29381 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
29382 cd gcc && \
29383 $(MAKE) $(FLAGS_TO_PASS) \
29384 $(POSTSTAGE1_FLAGS_TO_PASS) \
29385 $(EXTRA_GCC_FLAGS) clean
29386 @endif gcc-bootstrap
29389 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
29390 .PHONY: all-stage2-intl maybe-all-stage2-intl
29391 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
29393 maybe-configure-stage2-intl:
29394 maybe-all-stage2-intl:
29395 maybe-clean-stage2-intl:
29397 @if intl-bootstrap
29398 maybe-configure-stage2-intl: configure-stage2-intl
29399 configure-stage2-intl:
29400 @$(MAKE) stage2-start
29401 @[ -f intl/Makefile ] && exit 0 || : ; \
29402 r=`${PWD_COMMAND}`; export r; \
29403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29404 $(STAGE_HOST_EXPORTS) \
29405 echo Configuring stage 2 in intl ; \
29406 cd intl || exit 1; \
29407 case $(srcdir) in \
29408 \.) \
29409 srcdiroption="--srcdir=."; \
29410 libsrcdir=".";; \
29411 /* | [A-Za-z]:[\\/]*) \
29412 srcdiroption="--srcdir=$(srcdir)/intl"; \
29413 libsrcdir="$$s/intl";; \
29414 *) \
29415 srcdiroption="--srcdir=../$(srcdir)/intl"; \
29416 libsrcdir="$$s/intl";; \
29417 esac; \
29418 $(SHELL) $${libsrcdir}/configure \
29419 $(HOST_CONFIGARGS) $${srcdiroption} \
29420 @stage2_werror_flag@
29422 maybe-all-stage2-intl: all-stage2-intl
29423 all-stage2-intl: configure-stage2-intl
29424 @$(MAKE) stage2-start
29425 @r=`${PWD_COMMAND}`; export r; \
29426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29427 $(STAGE_HOST_EXPORTS) \
29428 cd intl && \
29429 $(MAKE) $(FLAGS_TO_PASS) \
29430 $(POSTSTAGE1_FLAGS_TO_PASS) \
29433 maybe-clean-stage2-intl: clean-stage2-intl
29434 clean-stage2-intl:
29435 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
29436 || exit 0 ; \
29437 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
29438 cd intl && \
29439 $(MAKE) $(FLAGS_TO_PASS) \
29440 $(POSTSTAGE1_FLAGS_TO_PASS) \
29441 clean
29442 @endif intl-bootstrap
29445 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
29446 .PHONY: all-stage2-ld maybe-all-stage2-ld
29447 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
29449 maybe-configure-stage2-ld:
29450 maybe-all-stage2-ld:
29451 maybe-clean-stage2-ld:
29453 @if ld-bootstrap
29454 maybe-configure-stage2-ld: configure-stage2-ld
29455 configure-stage2-ld:
29456 @$(MAKE) stage2-start
29457 @[ -f ld/Makefile ] && exit 0 || : ; \
29458 r=`${PWD_COMMAND}`; export r; \
29459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29460 $(STAGE_HOST_EXPORTS) \
29461 echo Configuring stage 2 in ld ; \
29462 cd ld || exit 1; \
29463 case $(srcdir) in \
29464 \.) \
29465 srcdiroption="--srcdir=."; \
29466 libsrcdir=".";; \
29467 /* | [A-Za-z]:[\\/]*) \
29468 srcdiroption="--srcdir=$(srcdir)/ld"; \
29469 libsrcdir="$$s/ld";; \
29470 *) \
29471 srcdiroption="--srcdir=../$(srcdir)/ld"; \
29472 libsrcdir="$$s/ld";; \
29473 esac; \
29474 $(SHELL) $${libsrcdir}/configure \
29475 $(HOST_CONFIGARGS) $${srcdiroption} \
29476 @stage2_werror_flag@
29478 maybe-all-stage2-ld: all-stage2-ld
29479 all-stage2-ld: configure-stage2-ld
29480 @$(MAKE) stage2-start
29481 @r=`${PWD_COMMAND}`; export r; \
29482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29483 $(STAGE_HOST_EXPORTS) \
29484 cd ld && \
29485 $(MAKE) $(FLAGS_TO_PASS) \
29486 $(POSTSTAGE1_FLAGS_TO_PASS) \
29489 maybe-clean-stage2-ld: clean-stage2-ld
29490 clean-stage2-ld:
29491 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
29492 || exit 0 ; \
29493 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
29494 cd ld && \
29495 $(MAKE) $(FLAGS_TO_PASS) \
29496 $(POSTSTAGE1_FLAGS_TO_PASS) \
29497 clean
29498 @endif ld-bootstrap
29501 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
29502 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
29503 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
29505 maybe-configure-stage2-libcpp:
29506 maybe-all-stage2-libcpp:
29507 maybe-clean-stage2-libcpp:
29509 @if libcpp-bootstrap
29510 maybe-configure-stage2-libcpp: configure-stage2-libcpp
29511 configure-stage2-libcpp:
29512 @$(MAKE) stage2-start
29513 @[ -f libcpp/Makefile ] && exit 0 || : ; \
29514 r=`${PWD_COMMAND}`; export r; \
29515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29516 $(STAGE_HOST_EXPORTS) \
29517 echo Configuring stage 2 in libcpp ; \
29518 cd libcpp || exit 1; \
29519 case $(srcdir) in \
29520 \.) \
29521 srcdiroption="--srcdir=."; \
29522 libsrcdir=".";; \
29523 /* | [A-Za-z]:[\\/]*) \
29524 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
29525 libsrcdir="$$s/libcpp";; \
29526 *) \
29527 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
29528 libsrcdir="$$s/libcpp";; \
29529 esac; \
29530 $(SHELL) $${libsrcdir}/configure \
29531 $(HOST_CONFIGARGS) $${srcdiroption} \
29532 @stage2_werror_flag@
29534 maybe-all-stage2-libcpp: all-stage2-libcpp
29535 all-stage2-libcpp: configure-stage2-libcpp
29536 @$(MAKE) stage2-start
29537 @r=`${PWD_COMMAND}`; export r; \
29538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29539 $(STAGE_HOST_EXPORTS) \
29540 cd libcpp && \
29541 $(MAKE) $(FLAGS_TO_PASS) \
29542 $(POSTSTAGE1_FLAGS_TO_PASS) \
29545 maybe-clean-stage2-libcpp: clean-stage2-libcpp
29546 clean-stage2-libcpp:
29547 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
29548 || exit 0 ; \
29549 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
29550 cd libcpp && \
29551 $(MAKE) $(FLAGS_TO_PASS) \
29552 $(POSTSTAGE1_FLAGS_TO_PASS) \
29553 clean
29554 @endif libcpp-bootstrap
29557 .PHONY: configure-stage2-libbanshee maybe-configure-stage2-libbanshee
29558 .PHONY: all-stage2-libbanshee maybe-all-stage2-libbanshee
29559 .PHONY: clean-stage2-libbanshee maybe-clean-stage2-libbanshee
29561 maybe-configure-stage2-libbanshee:
29562 maybe-all-stage2-libbanshee:
29563 maybe-clean-stage2-libbanshee:
29565 @if libbanshee-bootstrap
29566 maybe-configure-stage2-libbanshee: configure-stage2-libbanshee
29567 configure-stage2-libbanshee:
29568 @$(MAKE) stage2-start
29569 @[ -f libbanshee/Makefile ] && exit 0 || : ; \
29570 r=`${PWD_COMMAND}`; export r; \
29571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29572 $(STAGE_HOST_EXPORTS) \
29573 echo Configuring stage 2 in libbanshee ; \
29574 cd libbanshee || exit 1; \
29575 case $(srcdir) in \
29576 \.) \
29577 srcdiroption="--srcdir=."; \
29578 libsrcdir=".";; \
29579 /* | [A-Za-z]:[\\/]*) \
29580 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
29581 libsrcdir="$$s/libbanshee";; \
29582 *) \
29583 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
29584 libsrcdir="$$s/libbanshee";; \
29585 esac; \
29586 $(SHELL) $${libsrcdir}/configure \
29587 $(HOST_CONFIGARGS) $${srcdiroption} \
29588 @stage2_werror_flag@
29590 maybe-all-stage2-libbanshee: all-stage2-libbanshee
29591 all-stage2-libbanshee: configure-stage2-libbanshee
29592 @$(MAKE) stage2-start
29593 @r=`${PWD_COMMAND}`; export r; \
29594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29595 $(STAGE_HOST_EXPORTS) \
29596 cd libbanshee && \
29597 $(MAKE) $(FLAGS_TO_PASS) \
29598 $(POSTSTAGE1_FLAGS_TO_PASS) \
29601 maybe-clean-stage2-libbanshee: clean-stage2-libbanshee
29602 clean-stage2-libbanshee:
29603 @[ -f libbanshee/Makefile ] || [ -f stage2-libbanshee/Makefile ] \
29604 || exit 0 ; \
29605 [ -f libbanshee/Makefile ] || $(MAKE) stage2-start ; \
29606 cd libbanshee && \
29607 $(MAKE) $(FLAGS_TO_PASS) \
29608 $(POSTSTAGE1_FLAGS_TO_PASS) \
29609 clean
29610 @endif libbanshee-bootstrap
29613 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
29614 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
29615 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
29617 maybe-configure-stage2-libiberty:
29618 maybe-all-stage2-libiberty:
29619 maybe-clean-stage2-libiberty:
29621 @if libiberty-bootstrap
29622 maybe-configure-stage2-libiberty: configure-stage2-libiberty
29623 configure-stage2-libiberty:
29624 @$(MAKE) stage2-start
29625 @[ -f libiberty/Makefile ] && exit 0 || : ; \
29626 r=`${PWD_COMMAND}`; export r; \
29627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29628 $(STAGE_HOST_EXPORTS) \
29629 echo Configuring stage 2 in libiberty ; \
29630 cd libiberty || exit 1; \
29631 case $(srcdir) in \
29632 \.) \
29633 srcdiroption="--srcdir=."; \
29634 libsrcdir=".";; \
29635 /* | [A-Za-z]:[\\/]*) \
29636 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
29637 libsrcdir="$$s/libiberty";; \
29638 *) \
29639 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
29640 libsrcdir="$$s/libiberty";; \
29641 esac; \
29642 $(SHELL) $${libsrcdir}/configure \
29643 $(HOST_CONFIGARGS) $${srcdiroption} \
29644 @stage2_werror_flag@
29646 maybe-all-stage2-libiberty: all-stage2-libiberty
29647 all-stage2-libiberty: configure-stage2-libiberty
29648 @$(MAKE) stage2-start
29649 @r=`${PWD_COMMAND}`; export r; \
29650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29651 $(STAGE_HOST_EXPORTS) \
29652 cd libiberty && \
29653 $(MAKE) $(FLAGS_TO_PASS) \
29654 $(POSTSTAGE1_FLAGS_TO_PASS) \
29657 maybe-clean-stage2-libiberty: clean-stage2-libiberty
29658 clean-stage2-libiberty:
29659 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
29660 || exit 0 ; \
29661 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
29662 cd libiberty && \
29663 $(MAKE) $(FLAGS_TO_PASS) \
29664 $(POSTSTAGE1_FLAGS_TO_PASS) \
29665 clean
29666 @endif libiberty-bootstrap
29669 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
29670 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
29671 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
29673 maybe-configure-stage2-zlib:
29674 maybe-all-stage2-zlib:
29675 maybe-clean-stage2-zlib:
29677 @if zlib-bootstrap
29678 maybe-configure-stage2-zlib: configure-stage2-zlib
29679 configure-stage2-zlib:
29680 @$(MAKE) stage2-start
29681 @[ -f zlib/Makefile ] && exit 0 || : ; \
29682 r=`${PWD_COMMAND}`; export r; \
29683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29684 $(STAGE_HOST_EXPORTS) \
29685 echo Configuring stage 2 in zlib ; \
29686 cd zlib || exit 1; \
29687 case $(srcdir) in \
29688 \.) \
29689 srcdiroption="--srcdir=."; \
29690 libsrcdir=".";; \
29691 /* | [A-Za-z]:[\\/]*) \
29692 srcdiroption="--srcdir=$(srcdir)/zlib"; \
29693 libsrcdir="$$s/zlib";; \
29694 *) \
29695 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
29696 libsrcdir="$$s/zlib";; \
29697 esac; \
29698 $(SHELL) $${libsrcdir}/configure \
29699 $(HOST_CONFIGARGS) $${srcdiroption} \
29700 @stage2_werror_flag@
29702 maybe-all-stage2-zlib: all-stage2-zlib
29703 all-stage2-zlib: configure-stage2-zlib
29704 @$(MAKE) stage2-start
29705 @r=`${PWD_COMMAND}`; export r; \
29706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29707 $(STAGE_HOST_EXPORTS) \
29708 cd zlib && \
29709 $(MAKE) $(FLAGS_TO_PASS) \
29710 $(POSTSTAGE1_FLAGS_TO_PASS) \
29713 maybe-clean-stage2-zlib: clean-stage2-zlib
29714 clean-stage2-zlib:
29715 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
29716 || exit 0 ; \
29717 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
29718 cd zlib && \
29719 $(MAKE) $(FLAGS_TO_PASS) \
29720 $(POSTSTAGE1_FLAGS_TO_PASS) \
29721 clean
29722 @endif zlib-bootstrap
29726 # FIXME: Will not need to be conditional when toplevel bootstrap is the
29727 # only possibility, but now it conflicts with no-bootstrap rules
29728 @if gcc-bootstrap
29732 .PHONY: bootstrap2
29733 bootstrap2: stage2-bubble all
29736 # Rules to wipe a stage and all the following ones, also used for cleanstrap
29737 distclean-stage1:: distclean-stage2
29738 .PHONY: distclean-stage2
29739 distclean-stage2::
29740 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29741 rm -rf stage2-*
29744 @endif gcc-bootstrap
29747 .PHONY: stage3-start stage3-end
29749 stage3-start::
29750 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
29751 echo stage3 > stage_current ; \
29752 echo stage3 > stage_last
29753 @if bfd
29754 @[ -d stage3-bfd ] || mkdir stage3-bfd; \
29755 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
29756 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
29757 @endif bfd
29758 @if opcodes
29759 @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
29760 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
29761 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
29762 @endif opcodes
29763 @if binutils
29764 @[ -d stage3-binutils ] || mkdir stage3-binutils; \
29765 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
29766 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
29767 @endif binutils
29768 @if gas
29769 @[ -d stage3-gas ] || mkdir stage3-gas; \
29770 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
29771 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
29772 @endif gas
29773 @if gcc
29774 @[ -d stage3-gcc ] || mkdir stage3-gcc; \
29775 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
29776 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
29777 @endif gcc
29778 @if intl
29779 @[ -d stage3-intl ] || mkdir stage3-intl; \
29780 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
29781 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
29782 @endif intl
29783 @if ld
29784 @[ -d stage3-ld ] || mkdir stage3-ld; \
29785 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
29786 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
29787 @endif ld
29788 @if libcpp
29789 @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
29790 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
29791 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
29792 @endif libcpp
29793 @if libbanshee
29794 @[ -d stage3-libbanshee ] || mkdir stage3-libbanshee; \
29795 set stage3-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
29796 set stage2-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
29797 @endif libbanshee
29798 @if libiberty
29799 @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
29800 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
29801 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
29802 @endif libiberty
29803 @if zlib
29804 @[ -d stage3-zlib ] || mkdir stage3-zlib; \
29805 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
29806 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
29807 @endif zlib
29809 stage3-end::
29810 @rm -f stage_current
29811 @if bfd
29812 @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
29813 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
29814 @endif bfd
29815 @if opcodes
29816 @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
29817 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
29818 @endif opcodes
29819 @if binutils
29820 @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
29821 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
29822 @endif binutils
29823 @if gas
29824 @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
29825 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
29826 @endif gas
29827 @if gcc
29828 @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
29829 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
29830 @endif gcc
29831 @if intl
29832 @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
29833 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
29834 @endif intl
29835 @if ld
29836 @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
29837 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
29838 @endif ld
29839 @if libcpp
29840 @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
29841 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
29842 @endif libcpp
29843 @if libbanshee
29844 @set libbanshee stage3-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
29845 set prev-libbanshee stage2-libbanshee ; @UNDO_LINK_TO_DIR@
29846 @endif libbanshee
29847 @if libiberty
29848 @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
29849 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
29850 @endif libiberty
29851 @if zlib
29852 @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
29853 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
29854 @endif zlib
29856 # Bubble a bugfix through all the stages up to stage 3. They
29857 # are remade, but not reconfigured. The next stage (if any) will not
29858 # be reconfigured as well.
29859 .PHONY: stage3-bubble
29860 stage3-bubble:: stage2-bubble
29861 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
29862 @if test -f stage3-lean || test -f stage2-lean ; then \
29863 echo Skipping rebuild of stage3 ; \
29864 else \
29865 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
29868 .PHONY: all-stage3 clean-stage3
29869 all-stage3: \
29870 maybe-all-stage3-bfd \
29871 maybe-all-stage3-opcodes \
29872 maybe-all-stage3-binutils \
29873 maybe-all-stage3-gas \
29874 maybe-all-stage3-gcc \
29875 maybe-all-stage3-intl \
29876 maybe-all-stage3-ld \
29877 maybe-all-stage3-libcpp \
29878 maybe-all-stage3-libbanshee \
29879 maybe-all-stage3-libiberty \
29880 maybe-all-stage3-zlib
29882 do-clean: clean-stage3
29883 clean-stage3: \
29884 maybe-clean-stage3-bfd \
29885 maybe-clean-stage3-opcodes \
29886 maybe-clean-stage3-binutils \
29887 maybe-clean-stage3-gas \
29888 maybe-clean-stage3-gcc \
29889 maybe-clean-stage3-intl \
29890 maybe-clean-stage3-ld \
29891 maybe-clean-stage3-libcpp \
29892 maybe-clean-stage3-libbanshee \
29893 maybe-clean-stage3-libiberty \
29894 maybe-clean-stage3-zlib
29897 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
29898 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
29899 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
29901 maybe-configure-stage3-bfd:
29902 maybe-all-stage3-bfd:
29903 maybe-clean-stage3-bfd:
29905 @if bfd-bootstrap
29906 maybe-configure-stage3-bfd: configure-stage3-bfd
29907 configure-stage3-bfd:
29908 @$(MAKE) stage3-start
29909 @[ -f bfd/Makefile ] && exit 0 || : ; \
29910 r=`${PWD_COMMAND}`; export r; \
29911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29912 $(STAGE_HOST_EXPORTS) \
29913 echo Configuring stage 3 in bfd ; \
29914 cd bfd || exit 1; \
29915 case $(srcdir) in \
29916 \.) \
29917 srcdiroption="--srcdir=."; \
29918 libsrcdir=".";; \
29919 /* | [A-Za-z]:[\\/]*) \
29920 srcdiroption="--srcdir=$(srcdir)/bfd"; \
29921 libsrcdir="$$s/bfd";; \
29922 *) \
29923 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
29924 libsrcdir="$$s/bfd";; \
29925 esac; \
29926 $(SHELL) $${libsrcdir}/configure \
29927 $(HOST_CONFIGARGS) $${srcdiroption} \
29928 @stage2_werror_flag@
29930 maybe-all-stage3-bfd: all-stage3-bfd
29931 all-stage3-bfd: configure-stage3-bfd
29932 @$(MAKE) stage3-start
29933 @r=`${PWD_COMMAND}`; export r; \
29934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29935 $(STAGE_HOST_EXPORTS) \
29936 cd bfd && \
29937 $(MAKE) $(FLAGS_TO_PASS) \
29938 $(POSTSTAGE1_FLAGS_TO_PASS) \
29941 maybe-clean-stage3-bfd: clean-stage3-bfd
29942 clean-stage3-bfd:
29943 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
29944 || exit 0 ; \
29945 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
29946 cd bfd && \
29947 $(MAKE) $(FLAGS_TO_PASS) \
29948 $(POSTSTAGE1_FLAGS_TO_PASS) \
29949 clean
29950 @endif bfd-bootstrap
29953 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
29954 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
29955 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
29957 maybe-configure-stage3-opcodes:
29958 maybe-all-stage3-opcodes:
29959 maybe-clean-stage3-opcodes:
29961 @if opcodes-bootstrap
29962 maybe-configure-stage3-opcodes: configure-stage3-opcodes
29963 configure-stage3-opcodes:
29964 @$(MAKE) stage3-start
29965 @[ -f opcodes/Makefile ] && exit 0 || : ; \
29966 r=`${PWD_COMMAND}`; export r; \
29967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29968 $(STAGE_HOST_EXPORTS) \
29969 echo Configuring stage 3 in opcodes ; \
29970 cd opcodes || exit 1; \
29971 case $(srcdir) in \
29972 \.) \
29973 srcdiroption="--srcdir=."; \
29974 libsrcdir=".";; \
29975 /* | [A-Za-z]:[\\/]*) \
29976 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
29977 libsrcdir="$$s/opcodes";; \
29978 *) \
29979 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
29980 libsrcdir="$$s/opcodes";; \
29981 esac; \
29982 $(SHELL) $${libsrcdir}/configure \
29983 $(HOST_CONFIGARGS) $${srcdiroption} \
29984 @stage2_werror_flag@
29986 maybe-all-stage3-opcodes: all-stage3-opcodes
29987 all-stage3-opcodes: configure-stage3-opcodes
29988 @$(MAKE) stage3-start
29989 @r=`${PWD_COMMAND}`; export r; \
29990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29991 $(STAGE_HOST_EXPORTS) \
29992 cd opcodes && \
29993 $(MAKE) $(FLAGS_TO_PASS) \
29994 $(POSTSTAGE1_FLAGS_TO_PASS) \
29997 maybe-clean-stage3-opcodes: clean-stage3-opcodes
29998 clean-stage3-opcodes:
29999 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
30000 || exit 0 ; \
30001 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
30002 cd opcodes && \
30003 $(MAKE) $(FLAGS_TO_PASS) \
30004 $(POSTSTAGE1_FLAGS_TO_PASS) \
30005 clean
30006 @endif opcodes-bootstrap
30009 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
30010 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
30011 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
30013 maybe-configure-stage3-binutils:
30014 maybe-all-stage3-binutils:
30015 maybe-clean-stage3-binutils:
30017 @if binutils-bootstrap
30018 maybe-configure-stage3-binutils: configure-stage3-binutils
30019 configure-stage3-binutils:
30020 @$(MAKE) stage3-start
30021 @[ -f binutils/Makefile ] && exit 0 || : ; \
30022 r=`${PWD_COMMAND}`; export r; \
30023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30024 $(STAGE_HOST_EXPORTS) \
30025 echo Configuring stage 3 in binutils ; \
30026 cd binutils || exit 1; \
30027 case $(srcdir) in \
30028 \.) \
30029 srcdiroption="--srcdir=."; \
30030 libsrcdir=".";; \
30031 /* | [A-Za-z]:[\\/]*) \
30032 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30033 libsrcdir="$$s/binutils";; \
30034 *) \
30035 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30036 libsrcdir="$$s/binutils";; \
30037 esac; \
30038 $(SHELL) $${libsrcdir}/configure \
30039 $(HOST_CONFIGARGS) $${srcdiroption} \
30040 @stage2_werror_flag@
30042 maybe-all-stage3-binutils: all-stage3-binutils
30043 all-stage3-binutils: configure-stage3-binutils
30044 @$(MAKE) stage3-start
30045 @r=`${PWD_COMMAND}`; export r; \
30046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30047 $(STAGE_HOST_EXPORTS) \
30048 cd binutils && \
30049 $(MAKE) $(FLAGS_TO_PASS) \
30050 $(POSTSTAGE1_FLAGS_TO_PASS) \
30053 maybe-clean-stage3-binutils: clean-stage3-binutils
30054 clean-stage3-binutils:
30055 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
30056 || exit 0 ; \
30057 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
30058 cd binutils && \
30059 $(MAKE) $(FLAGS_TO_PASS) \
30060 $(POSTSTAGE1_FLAGS_TO_PASS) \
30061 clean
30062 @endif binutils-bootstrap
30065 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
30066 .PHONY: all-stage3-gas maybe-all-stage3-gas
30067 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
30069 maybe-configure-stage3-gas:
30070 maybe-all-stage3-gas:
30071 maybe-clean-stage3-gas:
30073 @if gas-bootstrap
30074 maybe-configure-stage3-gas: configure-stage3-gas
30075 configure-stage3-gas:
30076 @$(MAKE) stage3-start
30077 @[ -f gas/Makefile ] && exit 0 || : ; \
30078 r=`${PWD_COMMAND}`; export r; \
30079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30080 $(STAGE_HOST_EXPORTS) \
30081 echo Configuring stage 3 in gas ; \
30082 cd gas || exit 1; \
30083 case $(srcdir) in \
30084 \.) \
30085 srcdiroption="--srcdir=."; \
30086 libsrcdir=".";; \
30087 /* | [A-Za-z]:[\\/]*) \
30088 srcdiroption="--srcdir=$(srcdir)/gas"; \
30089 libsrcdir="$$s/gas";; \
30090 *) \
30091 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30092 libsrcdir="$$s/gas";; \
30093 esac; \
30094 $(SHELL) $${libsrcdir}/configure \
30095 $(HOST_CONFIGARGS) $${srcdiroption} \
30096 @stage2_werror_flag@
30098 maybe-all-stage3-gas: all-stage3-gas
30099 all-stage3-gas: configure-stage3-gas
30100 @$(MAKE) stage3-start
30101 @r=`${PWD_COMMAND}`; export r; \
30102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30103 $(STAGE_HOST_EXPORTS) \
30104 cd gas && \
30105 $(MAKE) $(FLAGS_TO_PASS) \
30106 $(POSTSTAGE1_FLAGS_TO_PASS) \
30109 maybe-clean-stage3-gas: clean-stage3-gas
30110 clean-stage3-gas:
30111 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
30112 || exit 0 ; \
30113 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
30114 cd gas && \
30115 $(MAKE) $(FLAGS_TO_PASS) \
30116 $(POSTSTAGE1_FLAGS_TO_PASS) \
30117 clean
30118 @endif gas-bootstrap
30121 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
30122 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
30123 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
30125 maybe-configure-stage3-gcc:
30126 maybe-all-stage3-gcc:
30127 maybe-clean-stage3-gcc:
30129 @if gcc-bootstrap
30130 maybe-configure-stage3-gcc: configure-stage3-gcc
30131 configure-stage3-gcc:
30132 @$(MAKE) stage3-start
30133 @[ -f gcc/Makefile ] && exit 0 || : ; \
30134 r=`${PWD_COMMAND}`; export r; \
30135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30136 $(STAGE_HOST_EXPORTS) \
30137 echo Configuring stage 3 in gcc ; \
30138 cd gcc || exit 1; \
30139 case $(srcdir) in \
30140 \.) \
30141 srcdiroption="--srcdir=."; \
30142 libsrcdir=".";; \
30143 /* | [A-Za-z]:[\\/]*) \
30144 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30145 libsrcdir="$$s/gcc";; \
30146 *) \
30147 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30148 libsrcdir="$$s/gcc";; \
30149 esac; \
30150 $(SHELL) $${libsrcdir}/configure \
30151 $(HOST_CONFIGARGS) $${srcdiroption} \
30152 @stage2_werror_flag@
30154 maybe-all-stage3-gcc: all-stage3-gcc
30155 all-stage3-gcc: configure-stage3-gcc
30156 @$(MAKE) stage3-start
30157 @r=`${PWD_COMMAND}`; export r; \
30158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30159 $(STAGE_HOST_EXPORTS) \
30160 cd gcc && \
30161 $(MAKE) $(FLAGS_TO_PASS) \
30162 $(POSTSTAGE1_FLAGS_TO_PASS) \
30163 $(EXTRA_GCC_FLAGS)
30165 maybe-clean-stage3-gcc: clean-stage3-gcc
30166 clean-stage3-gcc:
30167 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
30168 || exit 0 ; \
30169 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
30170 cd gcc && \
30171 $(MAKE) $(FLAGS_TO_PASS) \
30172 $(POSTSTAGE1_FLAGS_TO_PASS) \
30173 $(EXTRA_GCC_FLAGS) clean
30174 @endif gcc-bootstrap
30177 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
30178 .PHONY: all-stage3-intl maybe-all-stage3-intl
30179 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
30181 maybe-configure-stage3-intl:
30182 maybe-all-stage3-intl:
30183 maybe-clean-stage3-intl:
30185 @if intl-bootstrap
30186 maybe-configure-stage3-intl: configure-stage3-intl
30187 configure-stage3-intl:
30188 @$(MAKE) stage3-start
30189 @[ -f intl/Makefile ] && exit 0 || : ; \
30190 r=`${PWD_COMMAND}`; export r; \
30191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30192 $(STAGE_HOST_EXPORTS) \
30193 echo Configuring stage 3 in intl ; \
30194 cd intl || exit 1; \
30195 case $(srcdir) in \
30196 \.) \
30197 srcdiroption="--srcdir=."; \
30198 libsrcdir=".";; \
30199 /* | [A-Za-z]:[\\/]*) \
30200 srcdiroption="--srcdir=$(srcdir)/intl"; \
30201 libsrcdir="$$s/intl";; \
30202 *) \
30203 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30204 libsrcdir="$$s/intl";; \
30205 esac; \
30206 $(SHELL) $${libsrcdir}/configure \
30207 $(HOST_CONFIGARGS) $${srcdiroption} \
30208 @stage2_werror_flag@
30210 maybe-all-stage3-intl: all-stage3-intl
30211 all-stage3-intl: configure-stage3-intl
30212 @$(MAKE) stage3-start
30213 @r=`${PWD_COMMAND}`; export r; \
30214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30215 $(STAGE_HOST_EXPORTS) \
30216 cd intl && \
30217 $(MAKE) $(FLAGS_TO_PASS) \
30218 $(POSTSTAGE1_FLAGS_TO_PASS) \
30221 maybe-clean-stage3-intl: clean-stage3-intl
30222 clean-stage3-intl:
30223 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
30224 || exit 0 ; \
30225 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
30226 cd intl && \
30227 $(MAKE) $(FLAGS_TO_PASS) \
30228 $(POSTSTAGE1_FLAGS_TO_PASS) \
30229 clean
30230 @endif intl-bootstrap
30233 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
30234 .PHONY: all-stage3-ld maybe-all-stage3-ld
30235 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
30237 maybe-configure-stage3-ld:
30238 maybe-all-stage3-ld:
30239 maybe-clean-stage3-ld:
30241 @if ld-bootstrap
30242 maybe-configure-stage3-ld: configure-stage3-ld
30243 configure-stage3-ld:
30244 @$(MAKE) stage3-start
30245 @[ -f ld/Makefile ] && exit 0 || : ; \
30246 r=`${PWD_COMMAND}`; export r; \
30247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30248 $(STAGE_HOST_EXPORTS) \
30249 echo Configuring stage 3 in ld ; \
30250 cd ld || exit 1; \
30251 case $(srcdir) in \
30252 \.) \
30253 srcdiroption="--srcdir=."; \
30254 libsrcdir=".";; \
30255 /* | [A-Za-z]:[\\/]*) \
30256 srcdiroption="--srcdir=$(srcdir)/ld"; \
30257 libsrcdir="$$s/ld";; \
30258 *) \
30259 srcdiroption="--srcdir=../$(srcdir)/ld"; \
30260 libsrcdir="$$s/ld";; \
30261 esac; \
30262 $(SHELL) $${libsrcdir}/configure \
30263 $(HOST_CONFIGARGS) $${srcdiroption} \
30264 @stage2_werror_flag@
30266 maybe-all-stage3-ld: all-stage3-ld
30267 all-stage3-ld: configure-stage3-ld
30268 @$(MAKE) stage3-start
30269 @r=`${PWD_COMMAND}`; export r; \
30270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30271 $(STAGE_HOST_EXPORTS) \
30272 cd ld && \
30273 $(MAKE) $(FLAGS_TO_PASS) \
30274 $(POSTSTAGE1_FLAGS_TO_PASS) \
30277 maybe-clean-stage3-ld: clean-stage3-ld
30278 clean-stage3-ld:
30279 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
30280 || exit 0 ; \
30281 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
30282 cd ld && \
30283 $(MAKE) $(FLAGS_TO_PASS) \
30284 $(POSTSTAGE1_FLAGS_TO_PASS) \
30285 clean
30286 @endif ld-bootstrap
30289 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
30290 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
30291 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
30293 maybe-configure-stage3-libcpp:
30294 maybe-all-stage3-libcpp:
30295 maybe-clean-stage3-libcpp:
30297 @if libcpp-bootstrap
30298 maybe-configure-stage3-libcpp: configure-stage3-libcpp
30299 configure-stage3-libcpp:
30300 @$(MAKE) stage3-start
30301 @[ -f libcpp/Makefile ] && exit 0 || : ; \
30302 r=`${PWD_COMMAND}`; export r; \
30303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30304 $(STAGE_HOST_EXPORTS) \
30305 echo Configuring stage 3 in libcpp ; \
30306 cd libcpp || exit 1; \
30307 case $(srcdir) in \
30308 \.) \
30309 srcdiroption="--srcdir=."; \
30310 libsrcdir=".";; \
30311 /* | [A-Za-z]:[\\/]*) \
30312 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
30313 libsrcdir="$$s/libcpp";; \
30314 *) \
30315 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
30316 libsrcdir="$$s/libcpp";; \
30317 esac; \
30318 $(SHELL) $${libsrcdir}/configure \
30319 $(HOST_CONFIGARGS) $${srcdiroption} \
30320 @stage2_werror_flag@
30322 maybe-all-stage3-libcpp: all-stage3-libcpp
30323 all-stage3-libcpp: configure-stage3-libcpp
30324 @$(MAKE) stage3-start
30325 @r=`${PWD_COMMAND}`; export r; \
30326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30327 $(STAGE_HOST_EXPORTS) \
30328 cd libcpp && \
30329 $(MAKE) $(FLAGS_TO_PASS) \
30330 $(POSTSTAGE1_FLAGS_TO_PASS) \
30333 maybe-clean-stage3-libcpp: clean-stage3-libcpp
30334 clean-stage3-libcpp:
30335 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
30336 || exit 0 ; \
30337 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
30338 cd libcpp && \
30339 $(MAKE) $(FLAGS_TO_PASS) \
30340 $(POSTSTAGE1_FLAGS_TO_PASS) \
30341 clean
30342 @endif libcpp-bootstrap
30345 .PHONY: configure-stage3-libbanshee maybe-configure-stage3-libbanshee
30346 .PHONY: all-stage3-libbanshee maybe-all-stage3-libbanshee
30347 .PHONY: clean-stage3-libbanshee maybe-clean-stage3-libbanshee
30349 maybe-configure-stage3-libbanshee:
30350 maybe-all-stage3-libbanshee:
30351 maybe-clean-stage3-libbanshee:
30353 @if libbanshee-bootstrap
30354 maybe-configure-stage3-libbanshee: configure-stage3-libbanshee
30355 configure-stage3-libbanshee:
30356 @$(MAKE) stage3-start
30357 @[ -f libbanshee/Makefile ] && exit 0 || : ; \
30358 r=`${PWD_COMMAND}`; export r; \
30359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30360 $(STAGE_HOST_EXPORTS) \
30361 echo Configuring stage 3 in libbanshee ; \
30362 cd libbanshee || exit 1; \
30363 case $(srcdir) in \
30364 \.) \
30365 srcdiroption="--srcdir=."; \
30366 libsrcdir=".";; \
30367 /* | [A-Za-z]:[\\/]*) \
30368 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
30369 libsrcdir="$$s/libbanshee";; \
30370 *) \
30371 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
30372 libsrcdir="$$s/libbanshee";; \
30373 esac; \
30374 $(SHELL) $${libsrcdir}/configure \
30375 $(HOST_CONFIGARGS) $${srcdiroption} \
30376 @stage2_werror_flag@
30378 maybe-all-stage3-libbanshee: all-stage3-libbanshee
30379 all-stage3-libbanshee: configure-stage3-libbanshee
30380 @$(MAKE) stage3-start
30381 @r=`${PWD_COMMAND}`; export r; \
30382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30383 $(STAGE_HOST_EXPORTS) \
30384 cd libbanshee && \
30385 $(MAKE) $(FLAGS_TO_PASS) \
30386 $(POSTSTAGE1_FLAGS_TO_PASS) \
30389 maybe-clean-stage3-libbanshee: clean-stage3-libbanshee
30390 clean-stage3-libbanshee:
30391 @[ -f libbanshee/Makefile ] || [ -f stage3-libbanshee/Makefile ] \
30392 || exit 0 ; \
30393 [ -f libbanshee/Makefile ] || $(MAKE) stage3-start ; \
30394 cd libbanshee && \
30395 $(MAKE) $(FLAGS_TO_PASS) \
30396 $(POSTSTAGE1_FLAGS_TO_PASS) \
30397 clean
30398 @endif libbanshee-bootstrap
30401 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
30402 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
30403 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
30405 maybe-configure-stage3-libiberty:
30406 maybe-all-stage3-libiberty:
30407 maybe-clean-stage3-libiberty:
30409 @if libiberty-bootstrap
30410 maybe-configure-stage3-libiberty: configure-stage3-libiberty
30411 configure-stage3-libiberty:
30412 @$(MAKE) stage3-start
30413 @[ -f libiberty/Makefile ] && exit 0 || : ; \
30414 r=`${PWD_COMMAND}`; export r; \
30415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30416 $(STAGE_HOST_EXPORTS) \
30417 echo Configuring stage 3 in libiberty ; \
30418 cd libiberty || exit 1; \
30419 case $(srcdir) in \
30420 \.) \
30421 srcdiroption="--srcdir=."; \
30422 libsrcdir=".";; \
30423 /* | [A-Za-z]:[\\/]*) \
30424 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
30425 libsrcdir="$$s/libiberty";; \
30426 *) \
30427 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
30428 libsrcdir="$$s/libiberty";; \
30429 esac; \
30430 $(SHELL) $${libsrcdir}/configure \
30431 $(HOST_CONFIGARGS) $${srcdiroption} \
30432 @stage2_werror_flag@
30434 maybe-all-stage3-libiberty: all-stage3-libiberty
30435 all-stage3-libiberty: configure-stage3-libiberty
30436 @$(MAKE) stage3-start
30437 @r=`${PWD_COMMAND}`; export r; \
30438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30439 $(STAGE_HOST_EXPORTS) \
30440 cd libiberty && \
30441 $(MAKE) $(FLAGS_TO_PASS) \
30442 $(POSTSTAGE1_FLAGS_TO_PASS) \
30445 maybe-clean-stage3-libiberty: clean-stage3-libiberty
30446 clean-stage3-libiberty:
30447 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
30448 || exit 0 ; \
30449 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
30450 cd libiberty && \
30451 $(MAKE) $(FLAGS_TO_PASS) \
30452 $(POSTSTAGE1_FLAGS_TO_PASS) \
30453 clean
30454 @endif libiberty-bootstrap
30457 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
30458 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30459 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30461 maybe-configure-stage3-zlib:
30462 maybe-all-stage3-zlib:
30463 maybe-clean-stage3-zlib:
30465 @if zlib-bootstrap
30466 maybe-configure-stage3-zlib: configure-stage3-zlib
30467 configure-stage3-zlib:
30468 @$(MAKE) stage3-start
30469 @[ -f zlib/Makefile ] && exit 0 || : ; \
30470 r=`${PWD_COMMAND}`; export r; \
30471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30472 $(STAGE_HOST_EXPORTS) \
30473 echo Configuring stage 3 in zlib ; \
30474 cd zlib || exit 1; \
30475 case $(srcdir) in \
30476 \.) \
30477 srcdiroption="--srcdir=."; \
30478 libsrcdir=".";; \
30479 /* | [A-Za-z]:[\\/]*) \
30480 srcdiroption="--srcdir=$(srcdir)/zlib"; \
30481 libsrcdir="$$s/zlib";; \
30482 *) \
30483 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
30484 libsrcdir="$$s/zlib";; \
30485 esac; \
30486 $(SHELL) $${libsrcdir}/configure \
30487 $(HOST_CONFIGARGS) $${srcdiroption} \
30488 @stage2_werror_flag@
30490 maybe-all-stage3-zlib: all-stage3-zlib
30491 all-stage3-zlib: configure-stage3-zlib
30492 @$(MAKE) stage3-start
30493 @r=`${PWD_COMMAND}`; export r; \
30494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30495 $(STAGE_HOST_EXPORTS) \
30496 cd zlib && \
30497 $(MAKE) $(FLAGS_TO_PASS) \
30498 $(POSTSTAGE1_FLAGS_TO_PASS) \
30501 maybe-clean-stage3-zlib: clean-stage3-zlib
30502 clean-stage3-zlib:
30503 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
30504 || exit 0 ; \
30505 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
30506 cd zlib && \
30507 $(MAKE) $(FLAGS_TO_PASS) \
30508 $(POSTSTAGE1_FLAGS_TO_PASS) \
30509 clean
30510 @endif zlib-bootstrap
30514 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30515 # only possibility, but now it conflicts with no-bootstrap rules
30516 @if gcc-bootstrap
30518 compare:
30519 @if test -f stage2-lean; then \
30520 echo Cannot compare object files as stage 2 was deleted. ; \
30521 exit 0 ; \
30522 fi; \
30523 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30524 @r=`${PWD_COMMAND}`; export r; \
30525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30526 rm -f .bad_compare ; \
30527 cd stage3-gcc; \
30528 files=`find . -name "*$(objext)" -print` ; \
30529 cd .. ; \
30530 for file in $${files} ; do \
30531 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
30532 @do_compare@ > /dev/null 2>&1; \
30533 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30534 done ; \
30535 if [ -f .bad_compare ]; then \
30536 echo "Bootstrap comparison failure!"; \
30537 cat .bad_compare; \
30538 exit 1; \
30539 else \
30540 true; \
30541 fi ; \
30542 $(STAMP) compare
30543 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30547 .PHONY: bootstrap
30548 bootstrap: stage3-bubble compare all
30551 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30552 distclean-stage2:: distclean-stage3
30553 .PHONY: distclean-stage3
30554 distclean-stage3::
30555 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30556 rm -rf stage3-* compare
30559 .PHONY: cleanstrap
30560 cleanstrap: distclean bootstrap
30562 @endif gcc-bootstrap
30565 .PHONY: stage4-start stage4-end
30567 stage4-start::
30568 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30569 echo stage4 > stage_current ; \
30570 echo stage4 > stage_last
30571 @if bfd
30572 @[ -d stage4-bfd ] || mkdir stage4-bfd; \
30573 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
30574 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
30575 @endif bfd
30576 @if opcodes
30577 @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
30578 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
30579 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
30580 @endif opcodes
30581 @if binutils
30582 @[ -d stage4-binutils ] || mkdir stage4-binutils; \
30583 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
30584 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
30585 @endif binutils
30586 @if gas
30587 @[ -d stage4-gas ] || mkdir stage4-gas; \
30588 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
30589 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
30590 @endif gas
30591 @if gcc
30592 @[ -d stage4-gcc ] || mkdir stage4-gcc; \
30593 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
30594 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
30595 @endif gcc
30596 @if intl
30597 @[ -d stage4-intl ] || mkdir stage4-intl; \
30598 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
30599 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
30600 @endif intl
30601 @if ld
30602 @[ -d stage4-ld ] || mkdir stage4-ld; \
30603 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
30604 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
30605 @endif ld
30606 @if libcpp
30607 @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
30608 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
30609 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
30610 @endif libcpp
30611 @if libbanshee
30612 @[ -d stage4-libbanshee ] || mkdir stage4-libbanshee; \
30613 set stage4-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
30614 set stage3-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
30615 @endif libbanshee
30616 @if libiberty
30617 @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
30618 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
30619 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
30620 @endif libiberty
30621 @if zlib
30622 @[ -d stage4-zlib ] || mkdir stage4-zlib; \
30623 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
30624 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
30625 @endif zlib
30627 stage4-end::
30628 @rm -f stage_current
30629 @if bfd
30630 @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
30631 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
30632 @endif bfd
30633 @if opcodes
30634 @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
30635 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
30636 @endif opcodes
30637 @if binutils
30638 @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
30639 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
30640 @endif binutils
30641 @if gas
30642 @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
30643 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
30644 @endif gas
30645 @if gcc
30646 @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
30647 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
30648 @endif gcc
30649 @if intl
30650 @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
30651 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
30652 @endif intl
30653 @if ld
30654 @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
30655 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
30656 @endif ld
30657 @if libcpp
30658 @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
30659 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
30660 @endif libcpp
30661 @if libbanshee
30662 @set libbanshee stage4-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
30663 set prev-libbanshee stage3-libbanshee ; @UNDO_LINK_TO_DIR@
30664 @endif libbanshee
30665 @if libiberty
30666 @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
30667 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
30668 @endif libiberty
30669 @if zlib
30670 @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
30671 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
30672 @endif zlib
30674 # Bubble a bugfix through all the stages up to stage 4. They
30675 # are remade, but not reconfigured. The next stage (if any) will not
30676 # be reconfigured as well.
30677 .PHONY: stage4-bubble
30678 stage4-bubble:: stage3-bubble
30679 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30680 @if test -f stage4-lean || test -f stage3-lean ; then \
30681 echo Skipping rebuild of stage4 ; \
30682 else \
30683 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
30686 .PHONY: all-stage4 clean-stage4
30687 all-stage4: \
30688 maybe-all-stage4-bfd \
30689 maybe-all-stage4-opcodes \
30690 maybe-all-stage4-binutils \
30691 maybe-all-stage4-gas \
30692 maybe-all-stage4-gcc \
30693 maybe-all-stage4-intl \
30694 maybe-all-stage4-ld \
30695 maybe-all-stage4-libcpp \
30696 maybe-all-stage4-libbanshee \
30697 maybe-all-stage4-libiberty \
30698 maybe-all-stage4-zlib
30700 do-clean: clean-stage4
30701 clean-stage4: \
30702 maybe-clean-stage4-bfd \
30703 maybe-clean-stage4-opcodes \
30704 maybe-clean-stage4-binutils \
30705 maybe-clean-stage4-gas \
30706 maybe-clean-stage4-gcc \
30707 maybe-clean-stage4-intl \
30708 maybe-clean-stage4-ld \
30709 maybe-clean-stage4-libcpp \
30710 maybe-clean-stage4-libbanshee \
30711 maybe-clean-stage4-libiberty \
30712 maybe-clean-stage4-zlib
30715 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
30716 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
30717 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
30719 maybe-configure-stage4-bfd:
30720 maybe-all-stage4-bfd:
30721 maybe-clean-stage4-bfd:
30723 @if bfd-bootstrap
30724 maybe-configure-stage4-bfd: configure-stage4-bfd
30725 configure-stage4-bfd:
30726 @$(MAKE) stage4-start
30727 @[ -f bfd/Makefile ] && exit 0 || : ; \
30728 r=`${PWD_COMMAND}`; export r; \
30729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30730 $(STAGE_HOST_EXPORTS) \
30731 echo Configuring stage 4 in bfd ; \
30732 cd bfd || exit 1; \
30733 case $(srcdir) in \
30734 \.) \
30735 srcdiroption="--srcdir=."; \
30736 libsrcdir=".";; \
30737 /* | [A-Za-z]:[\\/]*) \
30738 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30739 libsrcdir="$$s/bfd";; \
30740 *) \
30741 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30742 libsrcdir="$$s/bfd";; \
30743 esac; \
30744 $(SHELL) $${libsrcdir}/configure \
30745 $(HOST_CONFIGARGS) $${srcdiroption} \
30746 @stage2_werror_flag@
30748 maybe-all-stage4-bfd: all-stage4-bfd
30749 all-stage4-bfd: configure-stage4-bfd
30750 @$(MAKE) stage4-start
30751 @r=`${PWD_COMMAND}`; export r; \
30752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30753 $(STAGE_HOST_EXPORTS) \
30754 cd bfd && \
30755 $(MAKE) $(FLAGS_TO_PASS) \
30756 $(POSTSTAGE1_FLAGS_TO_PASS) \
30759 maybe-clean-stage4-bfd: clean-stage4-bfd
30760 clean-stage4-bfd:
30761 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
30762 || exit 0 ; \
30763 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
30764 cd bfd && \
30765 $(MAKE) $(FLAGS_TO_PASS) \
30766 $(POSTSTAGE1_FLAGS_TO_PASS) \
30767 clean
30768 @endif bfd-bootstrap
30771 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
30772 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
30773 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
30775 maybe-configure-stage4-opcodes:
30776 maybe-all-stage4-opcodes:
30777 maybe-clean-stage4-opcodes:
30779 @if opcodes-bootstrap
30780 maybe-configure-stage4-opcodes: configure-stage4-opcodes
30781 configure-stage4-opcodes:
30782 @$(MAKE) stage4-start
30783 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30784 r=`${PWD_COMMAND}`; export r; \
30785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30786 $(STAGE_HOST_EXPORTS) \
30787 echo Configuring stage 4 in opcodes ; \
30788 cd opcodes || exit 1; \
30789 case $(srcdir) in \
30790 \.) \
30791 srcdiroption="--srcdir=."; \
30792 libsrcdir=".";; \
30793 /* | [A-Za-z]:[\\/]*) \
30794 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30795 libsrcdir="$$s/opcodes";; \
30796 *) \
30797 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30798 libsrcdir="$$s/opcodes";; \
30799 esac; \
30800 $(SHELL) $${libsrcdir}/configure \
30801 $(HOST_CONFIGARGS) $${srcdiroption} \
30802 @stage2_werror_flag@
30804 maybe-all-stage4-opcodes: all-stage4-opcodes
30805 all-stage4-opcodes: configure-stage4-opcodes
30806 @$(MAKE) stage4-start
30807 @r=`${PWD_COMMAND}`; export r; \
30808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30809 $(STAGE_HOST_EXPORTS) \
30810 cd opcodes && \
30811 $(MAKE) $(FLAGS_TO_PASS) \
30812 $(POSTSTAGE1_FLAGS_TO_PASS) \
30815 maybe-clean-stage4-opcodes: clean-stage4-opcodes
30816 clean-stage4-opcodes:
30817 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
30818 || exit 0 ; \
30819 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
30820 cd opcodes && \
30821 $(MAKE) $(FLAGS_TO_PASS) \
30822 $(POSTSTAGE1_FLAGS_TO_PASS) \
30823 clean
30824 @endif opcodes-bootstrap
30827 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
30828 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
30829 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
30831 maybe-configure-stage4-binutils:
30832 maybe-all-stage4-binutils:
30833 maybe-clean-stage4-binutils:
30835 @if binutils-bootstrap
30836 maybe-configure-stage4-binutils: configure-stage4-binutils
30837 configure-stage4-binutils:
30838 @$(MAKE) stage4-start
30839 @[ -f binutils/Makefile ] && exit 0 || : ; \
30840 r=`${PWD_COMMAND}`; export r; \
30841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30842 $(STAGE_HOST_EXPORTS) \
30843 echo Configuring stage 4 in binutils ; \
30844 cd binutils || exit 1; \
30845 case $(srcdir) in \
30846 \.) \
30847 srcdiroption="--srcdir=."; \
30848 libsrcdir=".";; \
30849 /* | [A-Za-z]:[\\/]*) \
30850 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30851 libsrcdir="$$s/binutils";; \
30852 *) \
30853 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30854 libsrcdir="$$s/binutils";; \
30855 esac; \
30856 $(SHELL) $${libsrcdir}/configure \
30857 $(HOST_CONFIGARGS) $${srcdiroption} \
30858 @stage2_werror_flag@
30860 maybe-all-stage4-binutils: all-stage4-binutils
30861 all-stage4-binutils: configure-stage4-binutils
30862 @$(MAKE) stage4-start
30863 @r=`${PWD_COMMAND}`; export r; \
30864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30865 $(STAGE_HOST_EXPORTS) \
30866 cd binutils && \
30867 $(MAKE) $(FLAGS_TO_PASS) \
30868 $(POSTSTAGE1_FLAGS_TO_PASS) \
30871 maybe-clean-stage4-binutils: clean-stage4-binutils
30872 clean-stage4-binutils:
30873 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
30874 || exit 0 ; \
30875 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
30876 cd binutils && \
30877 $(MAKE) $(FLAGS_TO_PASS) \
30878 $(POSTSTAGE1_FLAGS_TO_PASS) \
30879 clean
30880 @endif binutils-bootstrap
30883 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
30884 .PHONY: all-stage4-gas maybe-all-stage4-gas
30885 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
30887 maybe-configure-stage4-gas:
30888 maybe-all-stage4-gas:
30889 maybe-clean-stage4-gas:
30891 @if gas-bootstrap
30892 maybe-configure-stage4-gas: configure-stage4-gas
30893 configure-stage4-gas:
30894 @$(MAKE) stage4-start
30895 @[ -f gas/Makefile ] && exit 0 || : ; \
30896 r=`${PWD_COMMAND}`; export r; \
30897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30898 $(STAGE_HOST_EXPORTS) \
30899 echo Configuring stage 4 in gas ; \
30900 cd gas || exit 1; \
30901 case $(srcdir) in \
30902 \.) \
30903 srcdiroption="--srcdir=."; \
30904 libsrcdir=".";; \
30905 /* | [A-Za-z]:[\\/]*) \
30906 srcdiroption="--srcdir=$(srcdir)/gas"; \
30907 libsrcdir="$$s/gas";; \
30908 *) \
30909 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30910 libsrcdir="$$s/gas";; \
30911 esac; \
30912 $(SHELL) $${libsrcdir}/configure \
30913 $(HOST_CONFIGARGS) $${srcdiroption} \
30914 @stage2_werror_flag@
30916 maybe-all-stage4-gas: all-stage4-gas
30917 all-stage4-gas: configure-stage4-gas
30918 @$(MAKE) stage4-start
30919 @r=`${PWD_COMMAND}`; export r; \
30920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30921 $(STAGE_HOST_EXPORTS) \
30922 cd gas && \
30923 $(MAKE) $(FLAGS_TO_PASS) \
30924 $(POSTSTAGE1_FLAGS_TO_PASS) \
30927 maybe-clean-stage4-gas: clean-stage4-gas
30928 clean-stage4-gas:
30929 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
30930 || exit 0 ; \
30931 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
30932 cd gas && \
30933 $(MAKE) $(FLAGS_TO_PASS) \
30934 $(POSTSTAGE1_FLAGS_TO_PASS) \
30935 clean
30936 @endif gas-bootstrap
30939 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
30940 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
30941 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
30943 maybe-configure-stage4-gcc:
30944 maybe-all-stage4-gcc:
30945 maybe-clean-stage4-gcc:
30947 @if gcc-bootstrap
30948 maybe-configure-stage4-gcc: configure-stage4-gcc
30949 configure-stage4-gcc:
30950 @$(MAKE) stage4-start
30951 @[ -f gcc/Makefile ] && exit 0 || : ; \
30952 r=`${PWD_COMMAND}`; export r; \
30953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30954 $(STAGE_HOST_EXPORTS) \
30955 echo Configuring stage 4 in gcc ; \
30956 cd gcc || exit 1; \
30957 case $(srcdir) in \
30958 \.) \
30959 srcdiroption="--srcdir=."; \
30960 libsrcdir=".";; \
30961 /* | [A-Za-z]:[\\/]*) \
30962 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30963 libsrcdir="$$s/gcc";; \
30964 *) \
30965 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30966 libsrcdir="$$s/gcc";; \
30967 esac; \
30968 $(SHELL) $${libsrcdir}/configure \
30969 $(HOST_CONFIGARGS) $${srcdiroption} \
30970 @stage2_werror_flag@
30972 maybe-all-stage4-gcc: all-stage4-gcc
30973 all-stage4-gcc: configure-stage4-gcc
30974 @$(MAKE) stage4-start
30975 @r=`${PWD_COMMAND}`; export r; \
30976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30977 $(STAGE_HOST_EXPORTS) \
30978 cd gcc && \
30979 $(MAKE) $(FLAGS_TO_PASS) \
30980 $(POSTSTAGE1_FLAGS_TO_PASS) \
30981 $(EXTRA_GCC_FLAGS)
30983 maybe-clean-stage4-gcc: clean-stage4-gcc
30984 clean-stage4-gcc:
30985 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
30986 || exit 0 ; \
30987 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
30988 cd gcc && \
30989 $(MAKE) $(FLAGS_TO_PASS) \
30990 $(POSTSTAGE1_FLAGS_TO_PASS) \
30991 $(EXTRA_GCC_FLAGS) clean
30992 @endif gcc-bootstrap
30995 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
30996 .PHONY: all-stage4-intl maybe-all-stage4-intl
30997 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
30999 maybe-configure-stage4-intl:
31000 maybe-all-stage4-intl:
31001 maybe-clean-stage4-intl:
31003 @if intl-bootstrap
31004 maybe-configure-stage4-intl: configure-stage4-intl
31005 configure-stage4-intl:
31006 @$(MAKE) stage4-start
31007 @[ -f intl/Makefile ] && exit 0 || : ; \
31008 r=`${PWD_COMMAND}`; export r; \
31009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31010 $(STAGE_HOST_EXPORTS) \
31011 echo Configuring stage 4 in intl ; \
31012 cd intl || exit 1; \
31013 case $(srcdir) in \
31014 \.) \
31015 srcdiroption="--srcdir=."; \
31016 libsrcdir=".";; \
31017 /* | [A-Za-z]:[\\/]*) \
31018 srcdiroption="--srcdir=$(srcdir)/intl"; \
31019 libsrcdir="$$s/intl";; \
31020 *) \
31021 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31022 libsrcdir="$$s/intl";; \
31023 esac; \
31024 $(SHELL) $${libsrcdir}/configure \
31025 $(HOST_CONFIGARGS) $${srcdiroption} \
31026 @stage2_werror_flag@
31028 maybe-all-stage4-intl: all-stage4-intl
31029 all-stage4-intl: configure-stage4-intl
31030 @$(MAKE) stage4-start
31031 @r=`${PWD_COMMAND}`; export r; \
31032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31033 $(STAGE_HOST_EXPORTS) \
31034 cd intl && \
31035 $(MAKE) $(FLAGS_TO_PASS) \
31036 $(POSTSTAGE1_FLAGS_TO_PASS) \
31039 maybe-clean-stage4-intl: clean-stage4-intl
31040 clean-stage4-intl:
31041 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
31042 || exit 0 ; \
31043 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
31044 cd intl && \
31045 $(MAKE) $(FLAGS_TO_PASS) \
31046 $(POSTSTAGE1_FLAGS_TO_PASS) \
31047 clean
31048 @endif intl-bootstrap
31051 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
31052 .PHONY: all-stage4-ld maybe-all-stage4-ld
31053 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
31055 maybe-configure-stage4-ld:
31056 maybe-all-stage4-ld:
31057 maybe-clean-stage4-ld:
31059 @if ld-bootstrap
31060 maybe-configure-stage4-ld: configure-stage4-ld
31061 configure-stage4-ld:
31062 @$(MAKE) stage4-start
31063 @[ -f ld/Makefile ] && exit 0 || : ; \
31064 r=`${PWD_COMMAND}`; export r; \
31065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31066 $(STAGE_HOST_EXPORTS) \
31067 echo Configuring stage 4 in ld ; \
31068 cd ld || exit 1; \
31069 case $(srcdir) in \
31070 \.) \
31071 srcdiroption="--srcdir=."; \
31072 libsrcdir=".";; \
31073 /* | [A-Za-z]:[\\/]*) \
31074 srcdiroption="--srcdir=$(srcdir)/ld"; \
31075 libsrcdir="$$s/ld";; \
31076 *) \
31077 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31078 libsrcdir="$$s/ld";; \
31079 esac; \
31080 $(SHELL) $${libsrcdir}/configure \
31081 $(HOST_CONFIGARGS) $${srcdiroption} \
31082 @stage2_werror_flag@
31084 maybe-all-stage4-ld: all-stage4-ld
31085 all-stage4-ld: configure-stage4-ld
31086 @$(MAKE) stage4-start
31087 @r=`${PWD_COMMAND}`; export r; \
31088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31089 $(STAGE_HOST_EXPORTS) \
31090 cd ld && \
31091 $(MAKE) $(FLAGS_TO_PASS) \
31092 $(POSTSTAGE1_FLAGS_TO_PASS) \
31095 maybe-clean-stage4-ld: clean-stage4-ld
31096 clean-stage4-ld:
31097 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
31098 || exit 0 ; \
31099 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
31100 cd ld && \
31101 $(MAKE) $(FLAGS_TO_PASS) \
31102 $(POSTSTAGE1_FLAGS_TO_PASS) \
31103 clean
31104 @endif ld-bootstrap
31107 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
31108 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
31109 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
31111 maybe-configure-stage4-libcpp:
31112 maybe-all-stage4-libcpp:
31113 maybe-clean-stage4-libcpp:
31115 @if libcpp-bootstrap
31116 maybe-configure-stage4-libcpp: configure-stage4-libcpp
31117 configure-stage4-libcpp:
31118 @$(MAKE) stage4-start
31119 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31120 r=`${PWD_COMMAND}`; export r; \
31121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31122 $(STAGE_HOST_EXPORTS) \
31123 echo Configuring stage 4 in libcpp ; \
31124 cd libcpp || exit 1; \
31125 case $(srcdir) in \
31126 \.) \
31127 srcdiroption="--srcdir=."; \
31128 libsrcdir=".";; \
31129 /* | [A-Za-z]:[\\/]*) \
31130 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31131 libsrcdir="$$s/libcpp";; \
31132 *) \
31133 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31134 libsrcdir="$$s/libcpp";; \
31135 esac; \
31136 $(SHELL) $${libsrcdir}/configure \
31137 $(HOST_CONFIGARGS) $${srcdiroption} \
31138 @stage2_werror_flag@
31140 maybe-all-stage4-libcpp: all-stage4-libcpp
31141 all-stage4-libcpp: configure-stage4-libcpp
31142 @$(MAKE) stage4-start
31143 @r=`${PWD_COMMAND}`; export r; \
31144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31145 $(STAGE_HOST_EXPORTS) \
31146 cd libcpp && \
31147 $(MAKE) $(FLAGS_TO_PASS) \
31148 $(POSTSTAGE1_FLAGS_TO_PASS) \
31151 maybe-clean-stage4-libcpp: clean-stage4-libcpp
31152 clean-stage4-libcpp:
31153 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
31154 || exit 0 ; \
31155 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
31156 cd libcpp && \
31157 $(MAKE) $(FLAGS_TO_PASS) \
31158 $(POSTSTAGE1_FLAGS_TO_PASS) \
31159 clean
31160 @endif libcpp-bootstrap
31163 .PHONY: configure-stage4-libbanshee maybe-configure-stage4-libbanshee
31164 .PHONY: all-stage4-libbanshee maybe-all-stage4-libbanshee
31165 .PHONY: clean-stage4-libbanshee maybe-clean-stage4-libbanshee
31167 maybe-configure-stage4-libbanshee:
31168 maybe-all-stage4-libbanshee:
31169 maybe-clean-stage4-libbanshee:
31171 @if libbanshee-bootstrap
31172 maybe-configure-stage4-libbanshee: configure-stage4-libbanshee
31173 configure-stage4-libbanshee:
31174 @$(MAKE) stage4-start
31175 @[ -f libbanshee/Makefile ] && exit 0 || : ; \
31176 r=`${PWD_COMMAND}`; export r; \
31177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31178 $(STAGE_HOST_EXPORTS) \
31179 echo Configuring stage 4 in libbanshee ; \
31180 cd libbanshee || exit 1; \
31181 case $(srcdir) in \
31182 \.) \
31183 srcdiroption="--srcdir=."; \
31184 libsrcdir=".";; \
31185 /* | [A-Za-z]:[\\/]*) \
31186 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
31187 libsrcdir="$$s/libbanshee";; \
31188 *) \
31189 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
31190 libsrcdir="$$s/libbanshee";; \
31191 esac; \
31192 $(SHELL) $${libsrcdir}/configure \
31193 $(HOST_CONFIGARGS) $${srcdiroption} \
31194 @stage2_werror_flag@
31196 maybe-all-stage4-libbanshee: all-stage4-libbanshee
31197 all-stage4-libbanshee: configure-stage4-libbanshee
31198 @$(MAKE) stage4-start
31199 @r=`${PWD_COMMAND}`; export r; \
31200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31201 $(STAGE_HOST_EXPORTS) \
31202 cd libbanshee && \
31203 $(MAKE) $(FLAGS_TO_PASS) \
31204 $(POSTSTAGE1_FLAGS_TO_PASS) \
31207 maybe-clean-stage4-libbanshee: clean-stage4-libbanshee
31208 clean-stage4-libbanshee:
31209 @[ -f libbanshee/Makefile ] || [ -f stage4-libbanshee/Makefile ] \
31210 || exit 0 ; \
31211 [ -f libbanshee/Makefile ] || $(MAKE) stage4-start ; \
31212 cd libbanshee && \
31213 $(MAKE) $(FLAGS_TO_PASS) \
31214 $(POSTSTAGE1_FLAGS_TO_PASS) \
31215 clean
31216 @endif libbanshee-bootstrap
31219 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
31220 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
31221 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
31223 maybe-configure-stage4-libiberty:
31224 maybe-all-stage4-libiberty:
31225 maybe-clean-stage4-libiberty:
31227 @if libiberty-bootstrap
31228 maybe-configure-stage4-libiberty: configure-stage4-libiberty
31229 configure-stage4-libiberty:
31230 @$(MAKE) stage4-start
31231 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31232 r=`${PWD_COMMAND}`; export r; \
31233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31234 $(STAGE_HOST_EXPORTS) \
31235 echo Configuring stage 4 in libiberty ; \
31236 cd libiberty || exit 1; \
31237 case $(srcdir) in \
31238 \.) \
31239 srcdiroption="--srcdir=."; \
31240 libsrcdir=".";; \
31241 /* | [A-Za-z]:[\\/]*) \
31242 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31243 libsrcdir="$$s/libiberty";; \
31244 *) \
31245 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31246 libsrcdir="$$s/libiberty";; \
31247 esac; \
31248 $(SHELL) $${libsrcdir}/configure \
31249 $(HOST_CONFIGARGS) $${srcdiroption} \
31250 @stage2_werror_flag@
31252 maybe-all-stage4-libiberty: all-stage4-libiberty
31253 all-stage4-libiberty: configure-stage4-libiberty
31254 @$(MAKE) stage4-start
31255 @r=`${PWD_COMMAND}`; export r; \
31256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31257 $(STAGE_HOST_EXPORTS) \
31258 cd libiberty && \
31259 $(MAKE) $(FLAGS_TO_PASS) \
31260 $(POSTSTAGE1_FLAGS_TO_PASS) \
31263 maybe-clean-stage4-libiberty: clean-stage4-libiberty
31264 clean-stage4-libiberty:
31265 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
31266 || exit 0 ; \
31267 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
31268 cd libiberty && \
31269 $(MAKE) $(FLAGS_TO_PASS) \
31270 $(POSTSTAGE1_FLAGS_TO_PASS) \
31271 clean
31272 @endif libiberty-bootstrap
31275 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
31276 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
31277 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
31279 maybe-configure-stage4-zlib:
31280 maybe-all-stage4-zlib:
31281 maybe-clean-stage4-zlib:
31283 @if zlib-bootstrap
31284 maybe-configure-stage4-zlib: configure-stage4-zlib
31285 configure-stage4-zlib:
31286 @$(MAKE) stage4-start
31287 @[ -f zlib/Makefile ] && exit 0 || : ; \
31288 r=`${PWD_COMMAND}`; export r; \
31289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31290 $(STAGE_HOST_EXPORTS) \
31291 echo Configuring stage 4 in zlib ; \
31292 cd zlib || exit 1; \
31293 case $(srcdir) in \
31294 \.) \
31295 srcdiroption="--srcdir=."; \
31296 libsrcdir=".";; \
31297 /* | [A-Za-z]:[\\/]*) \
31298 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31299 libsrcdir="$$s/zlib";; \
31300 *) \
31301 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31302 libsrcdir="$$s/zlib";; \
31303 esac; \
31304 $(SHELL) $${libsrcdir}/configure \
31305 $(HOST_CONFIGARGS) $${srcdiroption} \
31306 @stage2_werror_flag@
31308 maybe-all-stage4-zlib: all-stage4-zlib
31309 all-stage4-zlib: configure-stage4-zlib
31310 @$(MAKE) stage4-start
31311 @r=`${PWD_COMMAND}`; export r; \
31312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31313 $(STAGE_HOST_EXPORTS) \
31314 cd zlib && \
31315 $(MAKE) $(FLAGS_TO_PASS) \
31316 $(POSTSTAGE1_FLAGS_TO_PASS) \
31319 maybe-clean-stage4-zlib: clean-stage4-zlib
31320 clean-stage4-zlib:
31321 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
31322 || exit 0 ; \
31323 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
31324 cd zlib && \
31325 $(MAKE) $(FLAGS_TO_PASS) \
31326 $(POSTSTAGE1_FLAGS_TO_PASS) \
31327 clean
31328 @endif zlib-bootstrap
31332 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31333 # only possibility, but now it conflicts with no-bootstrap rules
31334 @if gcc-bootstrap
31336 compare3:
31337 @if test -f stage3-lean; then \
31338 echo Cannot compare object files as stage 3 was deleted. ; \
31339 exit 0 ; \
31340 fi; \
31341 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31342 @r=`${PWD_COMMAND}`; export r; \
31343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31344 rm -f .bad_compare ; \
31345 cd stage4-gcc; \
31346 files=`find . -name "*$(objext)" -print` ; \
31347 cd .. ; \
31348 for file in $${files} ; do \
31349 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
31350 @do_compare@ > /dev/null 2>&1; \
31351 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
31352 done ; \
31353 if [ -f .bad_compare ]; then \
31354 echo "Bootstrap comparison failure!"; \
31355 cat .bad_compare; \
31356 exit 1; \
31357 else \
31358 true; \
31359 fi ; \
31360 $(STAMP) compare3
31361 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
31365 .PHONY: bootstrap4
31366 bootstrap4: stage4-bubble compare3 all
31369 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31370 distclean-stage3:: distclean-stage4
31371 .PHONY: distclean-stage4
31372 distclean-stage4::
31373 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31374 rm -rf stage4-* compare3
31377 @endif gcc-bootstrap
31380 .PHONY: stageprofile-start stageprofile-end
31382 stageprofile-start::
31383 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31384 echo stageprofile > stage_current ; \
31385 echo stageprofile > stage_last
31386 @if bfd
31387 @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
31388 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31389 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31390 @endif bfd
31391 @if opcodes
31392 @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
31393 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31394 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31395 @endif opcodes
31396 @if binutils
31397 @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
31398 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31399 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31400 @endif binutils
31401 @if gas
31402 @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
31403 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31404 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31405 @endif gas
31406 @if gcc
31407 @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
31408 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31409 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31410 @endif gcc
31411 @if intl
31412 @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
31413 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31414 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31415 @endif intl
31416 @if ld
31417 @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
31418 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31419 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31420 @endif ld
31421 @if libcpp
31422 @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
31423 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31424 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31425 @endif libcpp
31426 @if libbanshee
31427 @[ -d stageprofile-libbanshee ] || mkdir stageprofile-libbanshee; \
31428 set stageprofile-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
31429 set stage1-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
31430 @endif libbanshee
31431 @if libiberty
31432 @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
31433 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31434 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31435 @endif libiberty
31436 @if zlib
31437 @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
31438 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31439 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31440 @endif zlib
31442 stageprofile-end::
31443 @rm -f stage_current
31444 @if bfd
31445 @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
31446 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31447 @endif bfd
31448 @if opcodes
31449 @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31450 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31451 @endif opcodes
31452 @if binutils
31453 @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
31454 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31455 @endif binutils
31456 @if gas
31457 @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
31458 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31459 @endif gas
31460 @if gcc
31461 @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
31462 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31463 @endif gcc
31464 @if intl
31465 @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
31466 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31467 @endif intl
31468 @if ld
31469 @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
31470 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31471 @endif ld
31472 @if libcpp
31473 @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31474 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31475 @endif libcpp
31476 @if libbanshee
31477 @set libbanshee stageprofile-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
31478 set prev-libbanshee stage1-libbanshee ; @UNDO_LINK_TO_DIR@
31479 @endif libbanshee
31480 @if libiberty
31481 @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31482 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31483 @endif libiberty
31484 @if zlib
31485 @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
31486 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31487 @endif zlib
31489 # Bubble a bugfix through all the stages up to stage profile. They
31490 # are remade, but not reconfigured. The next stage (if any) will not
31491 # be reconfigured as well.
31492 .PHONY: stageprofile-bubble
31493 stageprofile-bubble:: stage1-bubble
31494 @if test -f stageprofile-lean || test -f stage1-lean ; then \
31495 echo Skipping rebuild of stageprofile ; \
31496 else \
31497 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
31500 .PHONY: all-stageprofile clean-stageprofile
31501 all-stageprofile: \
31502 maybe-all-stageprofile-bfd \
31503 maybe-all-stageprofile-opcodes \
31504 maybe-all-stageprofile-binutils \
31505 maybe-all-stageprofile-gas \
31506 maybe-all-stageprofile-gcc \
31507 maybe-all-stageprofile-intl \
31508 maybe-all-stageprofile-ld \
31509 maybe-all-stageprofile-libcpp \
31510 maybe-all-stageprofile-libbanshee \
31511 maybe-all-stageprofile-libiberty \
31512 maybe-all-stageprofile-zlib
31514 do-clean: clean-stageprofile
31515 clean-stageprofile: \
31516 maybe-clean-stageprofile-bfd \
31517 maybe-clean-stageprofile-opcodes \
31518 maybe-clean-stageprofile-binutils \
31519 maybe-clean-stageprofile-gas \
31520 maybe-clean-stageprofile-gcc \
31521 maybe-clean-stageprofile-intl \
31522 maybe-clean-stageprofile-ld \
31523 maybe-clean-stageprofile-libcpp \
31524 maybe-clean-stageprofile-libbanshee \
31525 maybe-clean-stageprofile-libiberty \
31526 maybe-clean-stageprofile-zlib
31529 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
31530 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
31531 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
31533 maybe-configure-stageprofile-bfd:
31534 maybe-all-stageprofile-bfd:
31535 maybe-clean-stageprofile-bfd:
31537 @if bfd-bootstrap
31538 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
31539 configure-stageprofile-bfd:
31540 @$(MAKE) stageprofile-start
31541 @[ -f bfd/Makefile ] && exit 0 || : ; \
31542 r=`${PWD_COMMAND}`; export r; \
31543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31544 $(STAGE_HOST_EXPORTS) \
31545 echo Configuring stage profile in bfd ; \
31546 cd bfd || exit 1; \
31547 case $(srcdir) in \
31548 \.) \
31549 srcdiroption="--srcdir=."; \
31550 libsrcdir=".";; \
31551 /* | [A-Za-z]:[\\/]*) \
31552 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31553 libsrcdir="$$s/bfd";; \
31554 *) \
31555 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31556 libsrcdir="$$s/bfd";; \
31557 esac; \
31558 $(SHELL) $${libsrcdir}/configure \
31559 $(HOST_CONFIGARGS) $${srcdiroption} \
31560 @stage2_werror_flag@
31562 maybe-all-stageprofile-bfd: all-stageprofile-bfd
31563 all-stageprofile-bfd: configure-stageprofile-bfd
31564 @$(MAKE) stageprofile-start
31565 @r=`${PWD_COMMAND}`; export r; \
31566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31567 $(STAGE_HOST_EXPORTS) \
31568 cd bfd && \
31569 $(MAKE) $(FLAGS_TO_PASS) \
31570 $(POSTSTAGE1_FLAGS_TO_PASS) \
31571 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31573 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
31574 clean-stageprofile-bfd:
31575 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
31576 || exit 0 ; \
31577 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
31578 cd bfd && \
31579 $(MAKE) $(FLAGS_TO_PASS) \
31580 $(POSTSTAGE1_FLAGS_TO_PASS) \
31581 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31582 @endif bfd-bootstrap
31585 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
31586 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
31587 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
31589 maybe-configure-stageprofile-opcodes:
31590 maybe-all-stageprofile-opcodes:
31591 maybe-clean-stageprofile-opcodes:
31593 @if opcodes-bootstrap
31594 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
31595 configure-stageprofile-opcodes:
31596 @$(MAKE) stageprofile-start
31597 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31598 r=`${PWD_COMMAND}`; export r; \
31599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31600 $(STAGE_HOST_EXPORTS) \
31601 echo Configuring stage profile in opcodes ; \
31602 cd opcodes || exit 1; \
31603 case $(srcdir) in \
31604 \.) \
31605 srcdiroption="--srcdir=."; \
31606 libsrcdir=".";; \
31607 /* | [A-Za-z]:[\\/]*) \
31608 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31609 libsrcdir="$$s/opcodes";; \
31610 *) \
31611 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31612 libsrcdir="$$s/opcodes";; \
31613 esac; \
31614 $(SHELL) $${libsrcdir}/configure \
31615 $(HOST_CONFIGARGS) $${srcdiroption} \
31616 @stage2_werror_flag@
31618 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
31619 all-stageprofile-opcodes: configure-stageprofile-opcodes
31620 @$(MAKE) stageprofile-start
31621 @r=`${PWD_COMMAND}`; export r; \
31622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31623 $(STAGE_HOST_EXPORTS) \
31624 cd opcodes && \
31625 $(MAKE) $(FLAGS_TO_PASS) \
31626 $(POSTSTAGE1_FLAGS_TO_PASS) \
31627 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31629 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
31630 clean-stageprofile-opcodes:
31631 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
31632 || exit 0 ; \
31633 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
31634 cd opcodes && \
31635 $(MAKE) $(FLAGS_TO_PASS) \
31636 $(POSTSTAGE1_FLAGS_TO_PASS) \
31637 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31638 @endif opcodes-bootstrap
31641 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
31642 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
31643 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
31645 maybe-configure-stageprofile-binutils:
31646 maybe-all-stageprofile-binutils:
31647 maybe-clean-stageprofile-binutils:
31649 @if binutils-bootstrap
31650 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
31651 configure-stageprofile-binutils:
31652 @$(MAKE) stageprofile-start
31653 @[ -f binutils/Makefile ] && exit 0 || : ; \
31654 r=`${PWD_COMMAND}`; export r; \
31655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31656 $(STAGE_HOST_EXPORTS) \
31657 echo Configuring stage profile in binutils ; \
31658 cd binutils || exit 1; \
31659 case $(srcdir) in \
31660 \.) \
31661 srcdiroption="--srcdir=."; \
31662 libsrcdir=".";; \
31663 /* | [A-Za-z]:[\\/]*) \
31664 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31665 libsrcdir="$$s/binutils";; \
31666 *) \
31667 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31668 libsrcdir="$$s/binutils";; \
31669 esac; \
31670 $(SHELL) $${libsrcdir}/configure \
31671 $(HOST_CONFIGARGS) $${srcdiroption} \
31672 @stage2_werror_flag@
31674 maybe-all-stageprofile-binutils: all-stageprofile-binutils
31675 all-stageprofile-binutils: configure-stageprofile-binutils
31676 @$(MAKE) stageprofile-start
31677 @r=`${PWD_COMMAND}`; export r; \
31678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31679 $(STAGE_HOST_EXPORTS) \
31680 cd binutils && \
31681 $(MAKE) $(FLAGS_TO_PASS) \
31682 $(POSTSTAGE1_FLAGS_TO_PASS) \
31683 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31685 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
31686 clean-stageprofile-binutils:
31687 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
31688 || exit 0 ; \
31689 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
31690 cd binutils && \
31691 $(MAKE) $(FLAGS_TO_PASS) \
31692 $(POSTSTAGE1_FLAGS_TO_PASS) \
31693 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31694 @endif binutils-bootstrap
31697 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
31698 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
31699 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
31701 maybe-configure-stageprofile-gas:
31702 maybe-all-stageprofile-gas:
31703 maybe-clean-stageprofile-gas:
31705 @if gas-bootstrap
31706 maybe-configure-stageprofile-gas: configure-stageprofile-gas
31707 configure-stageprofile-gas:
31708 @$(MAKE) stageprofile-start
31709 @[ -f gas/Makefile ] && exit 0 || : ; \
31710 r=`${PWD_COMMAND}`; export r; \
31711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31712 $(STAGE_HOST_EXPORTS) \
31713 echo Configuring stage profile in gas ; \
31714 cd gas || exit 1; \
31715 case $(srcdir) in \
31716 \.) \
31717 srcdiroption="--srcdir=."; \
31718 libsrcdir=".";; \
31719 /* | [A-Za-z]:[\\/]*) \
31720 srcdiroption="--srcdir=$(srcdir)/gas"; \
31721 libsrcdir="$$s/gas";; \
31722 *) \
31723 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31724 libsrcdir="$$s/gas";; \
31725 esac; \
31726 $(SHELL) $${libsrcdir}/configure \
31727 $(HOST_CONFIGARGS) $${srcdiroption} \
31728 @stage2_werror_flag@
31730 maybe-all-stageprofile-gas: all-stageprofile-gas
31731 all-stageprofile-gas: configure-stageprofile-gas
31732 @$(MAKE) stageprofile-start
31733 @r=`${PWD_COMMAND}`; export r; \
31734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31735 $(STAGE_HOST_EXPORTS) \
31736 cd gas && \
31737 $(MAKE) $(FLAGS_TO_PASS) \
31738 $(POSTSTAGE1_FLAGS_TO_PASS) \
31739 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31741 maybe-clean-stageprofile-gas: clean-stageprofile-gas
31742 clean-stageprofile-gas:
31743 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
31744 || exit 0 ; \
31745 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
31746 cd gas && \
31747 $(MAKE) $(FLAGS_TO_PASS) \
31748 $(POSTSTAGE1_FLAGS_TO_PASS) \
31749 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31750 @endif gas-bootstrap
31753 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
31754 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
31755 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
31757 maybe-configure-stageprofile-gcc:
31758 maybe-all-stageprofile-gcc:
31759 maybe-clean-stageprofile-gcc:
31761 @if gcc-bootstrap
31762 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
31763 configure-stageprofile-gcc:
31764 @$(MAKE) stageprofile-start
31765 @[ -f gcc/Makefile ] && exit 0 || : ; \
31766 r=`${PWD_COMMAND}`; export r; \
31767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31768 $(STAGE_HOST_EXPORTS) \
31769 echo Configuring stage profile in gcc ; \
31770 cd gcc || exit 1; \
31771 case $(srcdir) in \
31772 \.) \
31773 srcdiroption="--srcdir=."; \
31774 libsrcdir=".";; \
31775 /* | [A-Za-z]:[\\/]*) \
31776 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31777 libsrcdir="$$s/gcc";; \
31778 *) \
31779 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31780 libsrcdir="$$s/gcc";; \
31781 esac; \
31782 $(SHELL) $${libsrcdir}/configure \
31783 $(HOST_CONFIGARGS) $${srcdiroption} \
31784 @stage2_werror_flag@
31786 maybe-all-stageprofile-gcc: all-stageprofile-gcc
31787 all-stageprofile-gcc: configure-stageprofile-gcc
31788 @$(MAKE) stageprofile-start
31789 @r=`${PWD_COMMAND}`; export r; \
31790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31791 $(STAGE_HOST_EXPORTS) \
31792 cd gcc && \
31793 $(MAKE) $(FLAGS_TO_PASS) \
31794 $(POSTSTAGE1_FLAGS_TO_PASS) \
31795 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
31797 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
31798 clean-stageprofile-gcc:
31799 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
31800 || exit 0 ; \
31801 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
31802 cd gcc && \
31803 $(MAKE) $(FLAGS_TO_PASS) \
31804 $(POSTSTAGE1_FLAGS_TO_PASS) \
31805 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
31806 @endif gcc-bootstrap
31809 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
31810 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
31811 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
31813 maybe-configure-stageprofile-intl:
31814 maybe-all-stageprofile-intl:
31815 maybe-clean-stageprofile-intl:
31817 @if intl-bootstrap
31818 maybe-configure-stageprofile-intl: configure-stageprofile-intl
31819 configure-stageprofile-intl:
31820 @$(MAKE) stageprofile-start
31821 @[ -f intl/Makefile ] && exit 0 || : ; \
31822 r=`${PWD_COMMAND}`; export r; \
31823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31824 $(STAGE_HOST_EXPORTS) \
31825 echo Configuring stage profile in intl ; \
31826 cd intl || exit 1; \
31827 case $(srcdir) in \
31828 \.) \
31829 srcdiroption="--srcdir=."; \
31830 libsrcdir=".";; \
31831 /* | [A-Za-z]:[\\/]*) \
31832 srcdiroption="--srcdir=$(srcdir)/intl"; \
31833 libsrcdir="$$s/intl";; \
31834 *) \
31835 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31836 libsrcdir="$$s/intl";; \
31837 esac; \
31838 $(SHELL) $${libsrcdir}/configure \
31839 $(HOST_CONFIGARGS) $${srcdiroption} \
31840 @stage2_werror_flag@
31842 maybe-all-stageprofile-intl: all-stageprofile-intl
31843 all-stageprofile-intl: configure-stageprofile-intl
31844 @$(MAKE) stageprofile-start
31845 @r=`${PWD_COMMAND}`; export r; \
31846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31847 $(STAGE_HOST_EXPORTS) \
31848 cd intl && \
31849 $(MAKE) $(FLAGS_TO_PASS) \
31850 $(POSTSTAGE1_FLAGS_TO_PASS) \
31851 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31853 maybe-clean-stageprofile-intl: clean-stageprofile-intl
31854 clean-stageprofile-intl:
31855 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
31856 || exit 0 ; \
31857 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
31858 cd intl && \
31859 $(MAKE) $(FLAGS_TO_PASS) \
31860 $(POSTSTAGE1_FLAGS_TO_PASS) \
31861 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31862 @endif intl-bootstrap
31865 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
31866 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
31867 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
31869 maybe-configure-stageprofile-ld:
31870 maybe-all-stageprofile-ld:
31871 maybe-clean-stageprofile-ld:
31873 @if ld-bootstrap
31874 maybe-configure-stageprofile-ld: configure-stageprofile-ld
31875 configure-stageprofile-ld:
31876 @$(MAKE) stageprofile-start
31877 @[ -f ld/Makefile ] && exit 0 || : ; \
31878 r=`${PWD_COMMAND}`; export r; \
31879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31880 $(STAGE_HOST_EXPORTS) \
31881 echo Configuring stage profile in ld ; \
31882 cd ld || exit 1; \
31883 case $(srcdir) in \
31884 \.) \
31885 srcdiroption="--srcdir=."; \
31886 libsrcdir=".";; \
31887 /* | [A-Za-z]:[\\/]*) \
31888 srcdiroption="--srcdir=$(srcdir)/ld"; \
31889 libsrcdir="$$s/ld";; \
31890 *) \
31891 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31892 libsrcdir="$$s/ld";; \
31893 esac; \
31894 $(SHELL) $${libsrcdir}/configure \
31895 $(HOST_CONFIGARGS) $${srcdiroption} \
31896 @stage2_werror_flag@
31898 maybe-all-stageprofile-ld: all-stageprofile-ld
31899 all-stageprofile-ld: configure-stageprofile-ld
31900 @$(MAKE) stageprofile-start
31901 @r=`${PWD_COMMAND}`; export r; \
31902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31903 $(STAGE_HOST_EXPORTS) \
31904 cd ld && \
31905 $(MAKE) $(FLAGS_TO_PASS) \
31906 $(POSTSTAGE1_FLAGS_TO_PASS) \
31907 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31909 maybe-clean-stageprofile-ld: clean-stageprofile-ld
31910 clean-stageprofile-ld:
31911 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
31912 || exit 0 ; \
31913 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
31914 cd ld && \
31915 $(MAKE) $(FLAGS_TO_PASS) \
31916 $(POSTSTAGE1_FLAGS_TO_PASS) \
31917 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31918 @endif ld-bootstrap
31921 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
31922 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
31923 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
31925 maybe-configure-stageprofile-libcpp:
31926 maybe-all-stageprofile-libcpp:
31927 maybe-clean-stageprofile-libcpp:
31929 @if libcpp-bootstrap
31930 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
31931 configure-stageprofile-libcpp:
31932 @$(MAKE) stageprofile-start
31933 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31934 r=`${PWD_COMMAND}`; export r; \
31935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31936 $(STAGE_HOST_EXPORTS) \
31937 echo Configuring stage profile in libcpp ; \
31938 cd libcpp || exit 1; \
31939 case $(srcdir) in \
31940 \.) \
31941 srcdiroption="--srcdir=."; \
31942 libsrcdir=".";; \
31943 /* | [A-Za-z]:[\\/]*) \
31944 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31945 libsrcdir="$$s/libcpp";; \
31946 *) \
31947 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31948 libsrcdir="$$s/libcpp";; \
31949 esac; \
31950 $(SHELL) $${libsrcdir}/configure \
31951 $(HOST_CONFIGARGS) $${srcdiroption} \
31952 @stage2_werror_flag@
31954 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
31955 all-stageprofile-libcpp: configure-stageprofile-libcpp
31956 @$(MAKE) stageprofile-start
31957 @r=`${PWD_COMMAND}`; export r; \
31958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31959 $(STAGE_HOST_EXPORTS) \
31960 cd libcpp && \
31961 $(MAKE) $(FLAGS_TO_PASS) \
31962 $(POSTSTAGE1_FLAGS_TO_PASS) \
31963 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31965 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
31966 clean-stageprofile-libcpp:
31967 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
31968 || exit 0 ; \
31969 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
31970 cd libcpp && \
31971 $(MAKE) $(FLAGS_TO_PASS) \
31972 $(POSTSTAGE1_FLAGS_TO_PASS) \
31973 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31974 @endif libcpp-bootstrap
31977 .PHONY: configure-stageprofile-libbanshee maybe-configure-stageprofile-libbanshee
31978 .PHONY: all-stageprofile-libbanshee maybe-all-stageprofile-libbanshee
31979 .PHONY: clean-stageprofile-libbanshee maybe-clean-stageprofile-libbanshee
31981 maybe-configure-stageprofile-libbanshee:
31982 maybe-all-stageprofile-libbanshee:
31983 maybe-clean-stageprofile-libbanshee:
31985 @if libbanshee-bootstrap
31986 maybe-configure-stageprofile-libbanshee: configure-stageprofile-libbanshee
31987 configure-stageprofile-libbanshee:
31988 @$(MAKE) stageprofile-start
31989 @[ -f libbanshee/Makefile ] && exit 0 || : ; \
31990 r=`${PWD_COMMAND}`; export r; \
31991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31992 $(STAGE_HOST_EXPORTS) \
31993 echo Configuring stage profile in libbanshee ; \
31994 cd libbanshee || exit 1; \
31995 case $(srcdir) in \
31996 \.) \
31997 srcdiroption="--srcdir=."; \
31998 libsrcdir=".";; \
31999 /* | [A-Za-z]:[\\/]*) \
32000 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
32001 libsrcdir="$$s/libbanshee";; \
32002 *) \
32003 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
32004 libsrcdir="$$s/libbanshee";; \
32005 esac; \
32006 $(SHELL) $${libsrcdir}/configure \
32007 $(HOST_CONFIGARGS) $${srcdiroption} \
32008 @stage2_werror_flag@
32010 maybe-all-stageprofile-libbanshee: all-stageprofile-libbanshee
32011 all-stageprofile-libbanshee: configure-stageprofile-libbanshee
32012 @$(MAKE) stageprofile-start
32013 @r=`${PWD_COMMAND}`; export r; \
32014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32015 $(STAGE_HOST_EXPORTS) \
32016 cd libbanshee && \
32017 $(MAKE) $(FLAGS_TO_PASS) \
32018 $(POSTSTAGE1_FLAGS_TO_PASS) \
32019 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
32021 maybe-clean-stageprofile-libbanshee: clean-stageprofile-libbanshee
32022 clean-stageprofile-libbanshee:
32023 @[ -f libbanshee/Makefile ] || [ -f stageprofile-libbanshee/Makefile ] \
32024 || exit 0 ; \
32025 [ -f libbanshee/Makefile ] || $(MAKE) stageprofile-start ; \
32026 cd libbanshee && \
32027 $(MAKE) $(FLAGS_TO_PASS) \
32028 $(POSTSTAGE1_FLAGS_TO_PASS) \
32029 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32030 @endif libbanshee-bootstrap
32033 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
32034 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
32035 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
32037 maybe-configure-stageprofile-libiberty:
32038 maybe-all-stageprofile-libiberty:
32039 maybe-clean-stageprofile-libiberty:
32041 @if libiberty-bootstrap
32042 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
32043 configure-stageprofile-libiberty:
32044 @$(MAKE) stageprofile-start
32045 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32046 r=`${PWD_COMMAND}`; export r; \
32047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32048 $(STAGE_HOST_EXPORTS) \
32049 echo Configuring stage profile in libiberty ; \
32050 cd libiberty || exit 1; \
32051 case $(srcdir) in \
32052 \.) \
32053 srcdiroption="--srcdir=."; \
32054 libsrcdir=".";; \
32055 /* | [A-Za-z]:[\\/]*) \
32056 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32057 libsrcdir="$$s/libiberty";; \
32058 *) \
32059 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32060 libsrcdir="$$s/libiberty";; \
32061 esac; \
32062 $(SHELL) $${libsrcdir}/configure \
32063 $(HOST_CONFIGARGS) $${srcdiroption} \
32064 @stage2_werror_flag@
32066 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
32067 all-stageprofile-libiberty: configure-stageprofile-libiberty
32068 @$(MAKE) stageprofile-start
32069 @r=`${PWD_COMMAND}`; export r; \
32070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32071 $(STAGE_HOST_EXPORTS) \
32072 cd libiberty && \
32073 $(MAKE) $(FLAGS_TO_PASS) \
32074 $(POSTSTAGE1_FLAGS_TO_PASS) \
32075 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
32077 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
32078 clean-stageprofile-libiberty:
32079 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
32080 || exit 0 ; \
32081 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
32082 cd libiberty && \
32083 $(MAKE) $(FLAGS_TO_PASS) \
32084 $(POSTSTAGE1_FLAGS_TO_PASS) \
32085 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32086 @endif libiberty-bootstrap
32089 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
32090 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
32091 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
32093 maybe-configure-stageprofile-zlib:
32094 maybe-all-stageprofile-zlib:
32095 maybe-clean-stageprofile-zlib:
32097 @if zlib-bootstrap
32098 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
32099 configure-stageprofile-zlib:
32100 @$(MAKE) stageprofile-start
32101 @[ -f zlib/Makefile ] && exit 0 || : ; \
32102 r=`${PWD_COMMAND}`; export r; \
32103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32104 $(STAGE_HOST_EXPORTS) \
32105 echo Configuring stage profile in zlib ; \
32106 cd zlib || exit 1; \
32107 case $(srcdir) in \
32108 \.) \
32109 srcdiroption="--srcdir=."; \
32110 libsrcdir=".";; \
32111 /* | [A-Za-z]:[\\/]*) \
32112 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32113 libsrcdir="$$s/zlib";; \
32114 *) \
32115 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32116 libsrcdir="$$s/zlib";; \
32117 esac; \
32118 $(SHELL) $${libsrcdir}/configure \
32119 $(HOST_CONFIGARGS) $${srcdiroption} \
32120 @stage2_werror_flag@
32122 maybe-all-stageprofile-zlib: all-stageprofile-zlib
32123 all-stageprofile-zlib: configure-stageprofile-zlib
32124 @$(MAKE) stageprofile-start
32125 @r=`${PWD_COMMAND}`; export r; \
32126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32127 $(STAGE_HOST_EXPORTS) \
32128 cd zlib && \
32129 $(MAKE) $(FLAGS_TO_PASS) \
32130 $(POSTSTAGE1_FLAGS_TO_PASS) \
32131 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
32133 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
32134 clean-stageprofile-zlib:
32135 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
32136 || exit 0 ; \
32137 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
32138 cd zlib && \
32139 $(MAKE) $(FLAGS_TO_PASS) \
32140 $(POSTSTAGE1_FLAGS_TO_PASS) \
32141 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32142 @endif zlib-bootstrap
32146 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32147 # only possibility, but now it conflicts with no-bootstrap rules
32148 @if gcc-bootstrap
32153 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32154 distclean-stage1:: distclean-stageprofile
32155 .PHONY: distclean-stageprofile
32156 distclean-stageprofile::
32157 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32158 rm -rf stageprofile-*
32161 @endif gcc-bootstrap
32164 .PHONY: stagefeedback-start stagefeedback-end
32166 stagefeedback-start::
32167 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32168 echo stagefeedback > stage_current ; \
32169 echo stagefeedback > stage_last
32170 @if bfd
32171 @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
32172 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
32173 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
32174 @endif bfd
32175 @if opcodes
32176 @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
32177 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
32178 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
32179 @endif opcodes
32180 @if binutils
32181 @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
32182 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
32183 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
32184 @endif binutils
32185 @if gas
32186 @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
32187 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
32188 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
32189 @endif gas
32190 @if gcc
32191 @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
32192 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
32193 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
32194 @endif gcc
32195 @if intl
32196 @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
32197 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
32198 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
32199 @endif intl
32200 @if ld
32201 @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
32202 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
32203 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
32204 @endif ld
32205 @if libcpp
32206 @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
32207 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
32208 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
32209 @endif libcpp
32210 @if libbanshee
32211 @[ -d stagefeedback-libbanshee ] || mkdir stagefeedback-libbanshee; \
32212 set stagefeedback-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
32213 set stage1-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
32214 @endif libbanshee
32215 @if libiberty
32216 @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
32217 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32218 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32219 @endif libiberty
32220 @if zlib
32221 @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
32222 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32223 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32224 @endif zlib
32226 stagefeedback-end::
32227 @rm -f stage_current
32228 @if bfd
32229 @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
32230 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
32231 @endif bfd
32232 @if opcodes
32233 @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32234 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
32235 @endif opcodes
32236 @if binutils
32237 @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
32238 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
32239 @endif binutils
32240 @if gas
32241 @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
32242 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
32243 @endif gas
32244 @if gcc
32245 @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
32246 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
32247 @endif gcc
32248 @if intl
32249 @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
32250 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
32251 @endif intl
32252 @if ld
32253 @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
32254 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
32255 @endif ld
32256 @if libcpp
32257 @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32258 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
32259 @endif libcpp
32260 @if libbanshee
32261 @set libbanshee stagefeedback-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
32262 set prev-libbanshee stage1-libbanshee ; @UNDO_LINK_TO_DIR@
32263 @endif libbanshee
32264 @if libiberty
32265 @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32266 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
32267 @endif libiberty
32268 @if zlib
32269 @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
32270 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
32271 @endif zlib
32273 # Bubble a bugfix through all the stages up to stage feedback. They
32274 # are remade, but not reconfigured. The next stage (if any) will not
32275 # be reconfigured as well.
32276 .PHONY: stagefeedback-bubble
32277 stagefeedback-bubble:: stage1-bubble
32278 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
32279 echo Skipping rebuild of stagefeedback ; \
32280 else \
32281 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
32284 .PHONY: all-stagefeedback clean-stagefeedback
32285 all-stagefeedback: \
32286 maybe-all-stagefeedback-bfd \
32287 maybe-all-stagefeedback-opcodes \
32288 maybe-all-stagefeedback-binutils \
32289 maybe-all-stagefeedback-gas \
32290 maybe-all-stagefeedback-gcc \
32291 maybe-all-stagefeedback-intl \
32292 maybe-all-stagefeedback-ld \
32293 maybe-all-stagefeedback-libcpp \
32294 maybe-all-stagefeedback-libbanshee \
32295 maybe-all-stagefeedback-libiberty \
32296 maybe-all-stagefeedback-zlib
32298 do-clean: clean-stagefeedback
32299 clean-stagefeedback: \
32300 maybe-clean-stagefeedback-bfd \
32301 maybe-clean-stagefeedback-opcodes \
32302 maybe-clean-stagefeedback-binutils \
32303 maybe-clean-stagefeedback-gas \
32304 maybe-clean-stagefeedback-gcc \
32305 maybe-clean-stagefeedback-intl \
32306 maybe-clean-stagefeedback-ld \
32307 maybe-clean-stagefeedback-libcpp \
32308 maybe-clean-stagefeedback-libbanshee \
32309 maybe-clean-stagefeedback-libiberty \
32310 maybe-clean-stagefeedback-zlib
32313 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
32314 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
32315 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
32317 maybe-configure-stagefeedback-bfd:
32318 maybe-all-stagefeedback-bfd:
32319 maybe-clean-stagefeedback-bfd:
32321 @if bfd-bootstrap
32322 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
32323 configure-stagefeedback-bfd:
32324 @$(MAKE) stagefeedback-start
32325 @[ -f bfd/Makefile ] && exit 0 || : ; \
32326 r=`${PWD_COMMAND}`; export r; \
32327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32328 $(STAGE_HOST_EXPORTS) \
32329 echo Configuring stage feedback in bfd ; \
32330 cd bfd || exit 1; \
32331 case $(srcdir) in \
32332 \.) \
32333 srcdiroption="--srcdir=."; \
32334 libsrcdir=".";; \
32335 /* | [A-Za-z]:[\\/]*) \
32336 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32337 libsrcdir="$$s/bfd";; \
32338 *) \
32339 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32340 libsrcdir="$$s/bfd";; \
32341 esac; \
32342 $(SHELL) $${libsrcdir}/configure \
32343 $(HOST_CONFIGARGS) $${srcdiroption} \
32344 @stage2_werror_flag@
32346 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
32347 all-stagefeedback-bfd: configure-stagefeedback-bfd
32348 @$(MAKE) stagefeedback-start
32349 @r=`${PWD_COMMAND}`; export r; \
32350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32351 $(STAGE_HOST_EXPORTS) \
32352 cd bfd && \
32353 $(MAKE) $(FLAGS_TO_PASS) \
32354 $(POSTSTAGE1_FLAGS_TO_PASS) \
32355 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32357 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
32358 clean-stagefeedback-bfd:
32359 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
32360 || exit 0 ; \
32361 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
32362 cd bfd && \
32363 $(MAKE) $(FLAGS_TO_PASS) \
32364 $(POSTSTAGE1_FLAGS_TO_PASS) \
32365 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32366 @endif bfd-bootstrap
32369 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
32370 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
32371 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
32373 maybe-configure-stagefeedback-opcodes:
32374 maybe-all-stagefeedback-opcodes:
32375 maybe-clean-stagefeedback-opcodes:
32377 @if opcodes-bootstrap
32378 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
32379 configure-stagefeedback-opcodes:
32380 @$(MAKE) stagefeedback-start
32381 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32382 r=`${PWD_COMMAND}`; export r; \
32383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32384 $(STAGE_HOST_EXPORTS) \
32385 echo Configuring stage feedback in opcodes ; \
32386 cd opcodes || exit 1; \
32387 case $(srcdir) in \
32388 \.) \
32389 srcdiroption="--srcdir=."; \
32390 libsrcdir=".";; \
32391 /* | [A-Za-z]:[\\/]*) \
32392 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32393 libsrcdir="$$s/opcodes";; \
32394 *) \
32395 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32396 libsrcdir="$$s/opcodes";; \
32397 esac; \
32398 $(SHELL) $${libsrcdir}/configure \
32399 $(HOST_CONFIGARGS) $${srcdiroption} \
32400 @stage2_werror_flag@
32402 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
32403 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
32404 @$(MAKE) stagefeedback-start
32405 @r=`${PWD_COMMAND}`; export r; \
32406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32407 $(STAGE_HOST_EXPORTS) \
32408 cd opcodes && \
32409 $(MAKE) $(FLAGS_TO_PASS) \
32410 $(POSTSTAGE1_FLAGS_TO_PASS) \
32411 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32413 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
32414 clean-stagefeedback-opcodes:
32415 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
32416 || exit 0 ; \
32417 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
32418 cd opcodes && \
32419 $(MAKE) $(FLAGS_TO_PASS) \
32420 $(POSTSTAGE1_FLAGS_TO_PASS) \
32421 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32422 @endif opcodes-bootstrap
32425 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
32426 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
32427 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
32429 maybe-configure-stagefeedback-binutils:
32430 maybe-all-stagefeedback-binutils:
32431 maybe-clean-stagefeedback-binutils:
32433 @if binutils-bootstrap
32434 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
32435 configure-stagefeedback-binutils:
32436 @$(MAKE) stagefeedback-start
32437 @[ -f binutils/Makefile ] && exit 0 || : ; \
32438 r=`${PWD_COMMAND}`; export r; \
32439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32440 $(STAGE_HOST_EXPORTS) \
32441 echo Configuring stage feedback in binutils ; \
32442 cd binutils || exit 1; \
32443 case $(srcdir) in \
32444 \.) \
32445 srcdiroption="--srcdir=."; \
32446 libsrcdir=".";; \
32447 /* | [A-Za-z]:[\\/]*) \
32448 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32449 libsrcdir="$$s/binutils";; \
32450 *) \
32451 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32452 libsrcdir="$$s/binutils";; \
32453 esac; \
32454 $(SHELL) $${libsrcdir}/configure \
32455 $(HOST_CONFIGARGS) $${srcdiroption} \
32456 @stage2_werror_flag@
32458 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
32459 all-stagefeedback-binutils: configure-stagefeedback-binutils
32460 @$(MAKE) stagefeedback-start
32461 @r=`${PWD_COMMAND}`; export r; \
32462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32463 $(STAGE_HOST_EXPORTS) \
32464 cd binutils && \
32465 $(MAKE) $(FLAGS_TO_PASS) \
32466 $(POSTSTAGE1_FLAGS_TO_PASS) \
32467 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32469 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
32470 clean-stagefeedback-binutils:
32471 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
32472 || exit 0 ; \
32473 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
32474 cd binutils && \
32475 $(MAKE) $(FLAGS_TO_PASS) \
32476 $(POSTSTAGE1_FLAGS_TO_PASS) \
32477 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32478 @endif binutils-bootstrap
32481 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
32482 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
32483 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
32485 maybe-configure-stagefeedback-gas:
32486 maybe-all-stagefeedback-gas:
32487 maybe-clean-stagefeedback-gas:
32489 @if gas-bootstrap
32490 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
32491 configure-stagefeedback-gas:
32492 @$(MAKE) stagefeedback-start
32493 @[ -f gas/Makefile ] && exit 0 || : ; \
32494 r=`${PWD_COMMAND}`; export r; \
32495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32496 $(STAGE_HOST_EXPORTS) \
32497 echo Configuring stage feedback in gas ; \
32498 cd gas || exit 1; \
32499 case $(srcdir) in \
32500 \.) \
32501 srcdiroption="--srcdir=."; \
32502 libsrcdir=".";; \
32503 /* | [A-Za-z]:[\\/]*) \
32504 srcdiroption="--srcdir=$(srcdir)/gas"; \
32505 libsrcdir="$$s/gas";; \
32506 *) \
32507 srcdiroption="--srcdir=../$(srcdir)/gas"; \
32508 libsrcdir="$$s/gas";; \
32509 esac; \
32510 $(SHELL) $${libsrcdir}/configure \
32511 $(HOST_CONFIGARGS) $${srcdiroption} \
32512 @stage2_werror_flag@
32514 maybe-all-stagefeedback-gas: all-stagefeedback-gas
32515 all-stagefeedback-gas: configure-stagefeedback-gas
32516 @$(MAKE) stagefeedback-start
32517 @r=`${PWD_COMMAND}`; export r; \
32518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32519 $(STAGE_HOST_EXPORTS) \
32520 cd gas && \
32521 $(MAKE) $(FLAGS_TO_PASS) \
32522 $(POSTSTAGE1_FLAGS_TO_PASS) \
32523 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32525 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
32526 clean-stagefeedback-gas:
32527 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
32528 || exit 0 ; \
32529 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
32530 cd gas && \
32531 $(MAKE) $(FLAGS_TO_PASS) \
32532 $(POSTSTAGE1_FLAGS_TO_PASS) \
32533 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32534 @endif gas-bootstrap
32537 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
32538 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
32539 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
32541 maybe-configure-stagefeedback-gcc:
32542 maybe-all-stagefeedback-gcc:
32543 maybe-clean-stagefeedback-gcc:
32545 @if gcc-bootstrap
32546 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
32547 configure-stagefeedback-gcc:
32548 @$(MAKE) stagefeedback-start
32549 @[ -f gcc/Makefile ] && exit 0 || : ; \
32550 r=`${PWD_COMMAND}`; export r; \
32551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32552 $(STAGE_HOST_EXPORTS) \
32553 echo Configuring stage feedback in gcc ; \
32554 cd gcc || exit 1; \
32555 case $(srcdir) in \
32556 \.) \
32557 srcdiroption="--srcdir=."; \
32558 libsrcdir=".";; \
32559 /* | [A-Za-z]:[\\/]*) \
32560 srcdiroption="--srcdir=$(srcdir)/gcc"; \
32561 libsrcdir="$$s/gcc";; \
32562 *) \
32563 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
32564 libsrcdir="$$s/gcc";; \
32565 esac; \
32566 $(SHELL) $${libsrcdir}/configure \
32567 $(HOST_CONFIGARGS) $${srcdiroption} \
32568 @stage2_werror_flag@
32570 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
32571 all-stagefeedback-gcc: configure-stagefeedback-gcc
32572 @$(MAKE) stagefeedback-start
32573 @r=`${PWD_COMMAND}`; export r; \
32574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32575 $(STAGE_HOST_EXPORTS) \
32576 cd gcc && \
32577 $(MAKE) $(FLAGS_TO_PASS) \
32578 $(POSTSTAGE1_FLAGS_TO_PASS) \
32579 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
32581 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
32582 clean-stagefeedback-gcc:
32583 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
32584 || exit 0 ; \
32585 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
32586 cd gcc && \
32587 $(MAKE) $(FLAGS_TO_PASS) \
32588 $(POSTSTAGE1_FLAGS_TO_PASS) \
32589 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
32590 @endif gcc-bootstrap
32593 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
32594 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
32595 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
32597 maybe-configure-stagefeedback-intl:
32598 maybe-all-stagefeedback-intl:
32599 maybe-clean-stagefeedback-intl:
32601 @if intl-bootstrap
32602 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
32603 configure-stagefeedback-intl:
32604 @$(MAKE) stagefeedback-start
32605 @[ -f intl/Makefile ] && exit 0 || : ; \
32606 r=`${PWD_COMMAND}`; export r; \
32607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32608 $(STAGE_HOST_EXPORTS) \
32609 echo Configuring stage feedback in intl ; \
32610 cd intl || exit 1; \
32611 case $(srcdir) in \
32612 \.) \
32613 srcdiroption="--srcdir=."; \
32614 libsrcdir=".";; \
32615 /* | [A-Za-z]:[\\/]*) \
32616 srcdiroption="--srcdir=$(srcdir)/intl"; \
32617 libsrcdir="$$s/intl";; \
32618 *) \
32619 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32620 libsrcdir="$$s/intl";; \
32621 esac; \
32622 $(SHELL) $${libsrcdir}/configure \
32623 $(HOST_CONFIGARGS) $${srcdiroption} \
32624 @stage2_werror_flag@
32626 maybe-all-stagefeedback-intl: all-stagefeedback-intl
32627 all-stagefeedback-intl: configure-stagefeedback-intl
32628 @$(MAKE) stagefeedback-start
32629 @r=`${PWD_COMMAND}`; export r; \
32630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32631 $(STAGE_HOST_EXPORTS) \
32632 cd intl && \
32633 $(MAKE) $(FLAGS_TO_PASS) \
32634 $(POSTSTAGE1_FLAGS_TO_PASS) \
32635 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32637 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
32638 clean-stagefeedback-intl:
32639 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
32640 || exit 0 ; \
32641 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
32642 cd intl && \
32643 $(MAKE) $(FLAGS_TO_PASS) \
32644 $(POSTSTAGE1_FLAGS_TO_PASS) \
32645 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32646 @endif intl-bootstrap
32649 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
32650 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
32651 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
32653 maybe-configure-stagefeedback-ld:
32654 maybe-all-stagefeedback-ld:
32655 maybe-clean-stagefeedback-ld:
32657 @if ld-bootstrap
32658 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
32659 configure-stagefeedback-ld:
32660 @$(MAKE) stagefeedback-start
32661 @[ -f ld/Makefile ] && exit 0 || : ; \
32662 r=`${PWD_COMMAND}`; export r; \
32663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32664 $(STAGE_HOST_EXPORTS) \
32665 echo Configuring stage feedback in ld ; \
32666 cd ld || exit 1; \
32667 case $(srcdir) in \
32668 \.) \
32669 srcdiroption="--srcdir=."; \
32670 libsrcdir=".";; \
32671 /* | [A-Za-z]:[\\/]*) \
32672 srcdiroption="--srcdir=$(srcdir)/ld"; \
32673 libsrcdir="$$s/ld";; \
32674 *) \
32675 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32676 libsrcdir="$$s/ld";; \
32677 esac; \
32678 $(SHELL) $${libsrcdir}/configure \
32679 $(HOST_CONFIGARGS) $${srcdiroption} \
32680 @stage2_werror_flag@
32682 maybe-all-stagefeedback-ld: all-stagefeedback-ld
32683 all-stagefeedback-ld: configure-stagefeedback-ld
32684 @$(MAKE) stagefeedback-start
32685 @r=`${PWD_COMMAND}`; export r; \
32686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32687 $(STAGE_HOST_EXPORTS) \
32688 cd ld && \
32689 $(MAKE) $(FLAGS_TO_PASS) \
32690 $(POSTSTAGE1_FLAGS_TO_PASS) \
32691 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32693 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
32694 clean-stagefeedback-ld:
32695 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
32696 || exit 0 ; \
32697 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
32698 cd ld && \
32699 $(MAKE) $(FLAGS_TO_PASS) \
32700 $(POSTSTAGE1_FLAGS_TO_PASS) \
32701 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32702 @endif ld-bootstrap
32705 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
32706 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
32707 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
32709 maybe-configure-stagefeedback-libcpp:
32710 maybe-all-stagefeedback-libcpp:
32711 maybe-clean-stagefeedback-libcpp:
32713 @if libcpp-bootstrap
32714 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
32715 configure-stagefeedback-libcpp:
32716 @$(MAKE) stagefeedback-start
32717 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32718 r=`${PWD_COMMAND}`; export r; \
32719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32720 $(STAGE_HOST_EXPORTS) \
32721 echo Configuring stage feedback in libcpp ; \
32722 cd libcpp || exit 1; \
32723 case $(srcdir) in \
32724 \.) \
32725 srcdiroption="--srcdir=."; \
32726 libsrcdir=".";; \
32727 /* | [A-Za-z]:[\\/]*) \
32728 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32729 libsrcdir="$$s/libcpp";; \
32730 *) \
32731 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32732 libsrcdir="$$s/libcpp";; \
32733 esac; \
32734 $(SHELL) $${libsrcdir}/configure \
32735 $(HOST_CONFIGARGS) $${srcdiroption} \
32736 @stage2_werror_flag@
32738 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
32739 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
32740 @$(MAKE) stagefeedback-start
32741 @r=`${PWD_COMMAND}`; export r; \
32742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32743 $(STAGE_HOST_EXPORTS) \
32744 cd libcpp && \
32745 $(MAKE) $(FLAGS_TO_PASS) \
32746 $(POSTSTAGE1_FLAGS_TO_PASS) \
32747 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32749 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
32750 clean-stagefeedback-libcpp:
32751 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
32752 || exit 0 ; \
32753 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
32754 cd libcpp && \
32755 $(MAKE) $(FLAGS_TO_PASS) \
32756 $(POSTSTAGE1_FLAGS_TO_PASS) \
32757 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32758 @endif libcpp-bootstrap
32761 .PHONY: configure-stagefeedback-libbanshee maybe-configure-stagefeedback-libbanshee
32762 .PHONY: all-stagefeedback-libbanshee maybe-all-stagefeedback-libbanshee
32763 .PHONY: clean-stagefeedback-libbanshee maybe-clean-stagefeedback-libbanshee
32765 maybe-configure-stagefeedback-libbanshee:
32766 maybe-all-stagefeedback-libbanshee:
32767 maybe-clean-stagefeedback-libbanshee:
32769 @if libbanshee-bootstrap
32770 maybe-configure-stagefeedback-libbanshee: configure-stagefeedback-libbanshee
32771 configure-stagefeedback-libbanshee:
32772 @$(MAKE) stagefeedback-start
32773 @[ -f libbanshee/Makefile ] && exit 0 || : ; \
32774 r=`${PWD_COMMAND}`; export r; \
32775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32776 $(STAGE_HOST_EXPORTS) \
32777 echo Configuring stage feedback in libbanshee ; \
32778 cd libbanshee || exit 1; \
32779 case $(srcdir) in \
32780 \.) \
32781 srcdiroption="--srcdir=."; \
32782 libsrcdir=".";; \
32783 /* | [A-Za-z]:[\\/]*) \
32784 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
32785 libsrcdir="$$s/libbanshee";; \
32786 *) \
32787 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
32788 libsrcdir="$$s/libbanshee";; \
32789 esac; \
32790 $(SHELL) $${libsrcdir}/configure \
32791 $(HOST_CONFIGARGS) $${srcdiroption} \
32792 @stage2_werror_flag@
32794 maybe-all-stagefeedback-libbanshee: all-stagefeedback-libbanshee
32795 all-stagefeedback-libbanshee: configure-stagefeedback-libbanshee
32796 @$(MAKE) stagefeedback-start
32797 @r=`${PWD_COMMAND}`; export r; \
32798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32799 $(STAGE_HOST_EXPORTS) \
32800 cd libbanshee && \
32801 $(MAKE) $(FLAGS_TO_PASS) \
32802 $(POSTSTAGE1_FLAGS_TO_PASS) \
32803 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32805 maybe-clean-stagefeedback-libbanshee: clean-stagefeedback-libbanshee
32806 clean-stagefeedback-libbanshee:
32807 @[ -f libbanshee/Makefile ] || [ -f stagefeedback-libbanshee/Makefile ] \
32808 || exit 0 ; \
32809 [ -f libbanshee/Makefile ] || $(MAKE) stagefeedback-start ; \
32810 cd libbanshee && \
32811 $(MAKE) $(FLAGS_TO_PASS) \
32812 $(POSTSTAGE1_FLAGS_TO_PASS) \
32813 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32814 @endif libbanshee-bootstrap
32817 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
32818 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
32819 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
32821 maybe-configure-stagefeedback-libiberty:
32822 maybe-all-stagefeedback-libiberty:
32823 maybe-clean-stagefeedback-libiberty:
32825 @if libiberty-bootstrap
32826 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
32827 configure-stagefeedback-libiberty:
32828 @$(MAKE) stagefeedback-start
32829 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32830 r=`${PWD_COMMAND}`; export r; \
32831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32832 $(STAGE_HOST_EXPORTS) \
32833 echo Configuring stage feedback in libiberty ; \
32834 cd libiberty || exit 1; \
32835 case $(srcdir) in \
32836 \.) \
32837 srcdiroption="--srcdir=."; \
32838 libsrcdir=".";; \
32839 /* | [A-Za-z]:[\\/]*) \
32840 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32841 libsrcdir="$$s/libiberty";; \
32842 *) \
32843 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32844 libsrcdir="$$s/libiberty";; \
32845 esac; \
32846 $(SHELL) $${libsrcdir}/configure \
32847 $(HOST_CONFIGARGS) $${srcdiroption} \
32848 @stage2_werror_flag@
32850 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
32851 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
32852 @$(MAKE) stagefeedback-start
32853 @r=`${PWD_COMMAND}`; export r; \
32854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32855 $(STAGE_HOST_EXPORTS) \
32856 cd libiberty && \
32857 $(MAKE) $(FLAGS_TO_PASS) \
32858 $(POSTSTAGE1_FLAGS_TO_PASS) \
32859 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32861 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
32862 clean-stagefeedback-libiberty:
32863 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
32864 || exit 0 ; \
32865 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
32866 cd libiberty && \
32867 $(MAKE) $(FLAGS_TO_PASS) \
32868 $(POSTSTAGE1_FLAGS_TO_PASS) \
32869 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32870 @endif libiberty-bootstrap
32873 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32874 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32875 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32877 maybe-configure-stagefeedback-zlib:
32878 maybe-all-stagefeedback-zlib:
32879 maybe-clean-stagefeedback-zlib:
32881 @if zlib-bootstrap
32882 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32883 configure-stagefeedback-zlib:
32884 @$(MAKE) stagefeedback-start
32885 @[ -f zlib/Makefile ] && exit 0 || : ; \
32886 r=`${PWD_COMMAND}`; export r; \
32887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32888 $(STAGE_HOST_EXPORTS) \
32889 echo Configuring stage feedback in zlib ; \
32890 cd zlib || exit 1; \
32891 case $(srcdir) in \
32892 \.) \
32893 srcdiroption="--srcdir=."; \
32894 libsrcdir=".";; \
32895 /* | [A-Za-z]:[\\/]*) \
32896 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32897 libsrcdir="$$s/zlib";; \
32898 *) \
32899 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32900 libsrcdir="$$s/zlib";; \
32901 esac; \
32902 $(SHELL) $${libsrcdir}/configure \
32903 $(HOST_CONFIGARGS) $${srcdiroption} \
32904 @stage2_werror_flag@
32906 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32907 all-stagefeedback-zlib: configure-stagefeedback-zlib
32908 @$(MAKE) stagefeedback-start
32909 @r=`${PWD_COMMAND}`; export r; \
32910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32911 $(STAGE_HOST_EXPORTS) \
32912 cd zlib && \
32913 $(MAKE) $(FLAGS_TO_PASS) \
32914 $(POSTSTAGE1_FLAGS_TO_PASS) \
32915 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32917 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32918 clean-stagefeedback-zlib:
32919 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
32920 || exit 0 ; \
32921 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
32922 cd zlib && \
32923 $(MAKE) $(FLAGS_TO_PASS) \
32924 $(POSTSTAGE1_FLAGS_TO_PASS) \
32925 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32926 @endif zlib-bootstrap
32930 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32931 # only possibility, but now it conflicts with no-bootstrap rules
32932 @if gcc-bootstrap
32937 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32938 distclean-stage1:: distclean-stagefeedback
32939 .PHONY: distclean-stagefeedback
32940 distclean-stagefeedback::
32941 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32942 rm -rf stagefeedback-*
32945 @endif gcc-bootstrap
32949 stagefeedback-start::
32950 @r=`${PWD_COMMAND}`; export r; \
32951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32952 cd stageprofile-gcc && \
32953 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
32954 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
32956 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32957 # only possibility, but now it conflicts with no-bootstrap rules
32958 @if gcc-bootstrap
32959 profiledbootstrap:
32960 @r=`${PWD_COMMAND}`; export r; \
32961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32962 $(SET_LIB_PATH) \
32963 $(HOST_EXPORTS) \
32964 echo "Bootstrapping the compiler"; \
32965 $(MAKE) stageprofile-bubble distclean-stagefeedback
32966 @r=`${PWD_COMMAND}`; export r; \
32967 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
32968 $(SET_LIB_PATH) \
32969 echo "Building runtime libraries and training compiler"; \
32970 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
32971 @r=`${PWD_COMMAND}`; export r; \
32972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32973 $(SET_LIB_PATH) \
32974 $(HOST_EXPORTS) \
32975 echo "Building feedback based compiler"; \
32976 $(MAKE) stagefeedback-bubble stagefeedback-end
32977 @endif gcc-bootstrap
32979 @if gcc-bootstrap
32980 NOTPARALLEL = .NOTPARALLEL
32981 $(NOTPARALLEL):
32982 do-distclean: distclean-stage1
32983 @endif gcc-bootstrap
32985 # --------------------------------------
32986 # Dependencies between different modules
32987 # --------------------------------------
32989 # Generic dependencies for target modules on host stuff, especially gcc
32991 configure-target-libstdc++-v3: maybe-all-gcc
32993 configure-target-libmudflap: maybe-all-gcc
32995 configure-target-newlib: maybe-all-gcc
32997 configure-target-libgfortran: maybe-all-gcc
32999 configure-target-libobjc: maybe-all-gcc
33001 configure-target-libtermcap: maybe-all-gcc
33003 configure-target-winsup: maybe-all-gcc
33005 configure-target-libgloss: maybe-all-gcc
33007 configure-target-libiberty: maybe-all-gcc
33009 configure-target-gperf: maybe-all-gcc
33011 configure-target-examples: maybe-all-gcc
33013 configure-target-libffi: maybe-all-gcc
33015 configure-target-libjava: maybe-all-gcc
33017 configure-target-zlib: maybe-all-gcc
33019 configure-target-boehm-gc: maybe-all-gcc
33021 configure-target-qthreads: maybe-all-gcc
33023 configure-target-rda: maybe-all-gcc
33025 configure-target-libada: maybe-all-gcc
33029 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
33031 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
33032 configure-target-gperf: maybe-all-target-libstdc++-v3
33034 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
33036 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
33038 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
33040 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
33041 configure-target-libjava: maybe-all-target-libstdc++-v3
33043 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
33045 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
33047 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
33049 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
33051 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
33053 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
33055 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
33057 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
33060 # There are two types of dependencies here: 'hard' dependencies, where one
33061 # module simply won't build without the other; and 'soft' dependencies, where
33062 # if the depended-on module is missing, the depending module will do without
33063 # or find a substitute somewhere (perhaps installed). Soft dependencies
33064 # are made here to depend on a 'maybe-' target. If you're not sure,
33065 # it's safer to use a soft dependency.
33071 # With all the machinery above in place, it is pretty easy to generate
33072 # dependencies. Host dependencies are a bit more complex because we have
33073 # to check for bootstrap/prebootstrap dependencies. To resolve
33074 # prebootstrap dependencies, prebootstrap modules are gathered in
33075 # a hash table.
33076 all-build-bison: maybe-all-build-texinfo
33077 all-build-byacc: maybe-all-build-texinfo
33078 all-build-flex: maybe-all-build-texinfo
33079 all-build-flex: maybe-all-build-bison
33080 all-build-flex: maybe-all-build-byacc
33081 all-build-flex: maybe-all-build-m4
33082 all-build-libiberty: maybe-all-build-texinfo
33083 all-build-m4: maybe-all-build-texinfo
33084 all-build-fixincludes: maybe-all-build-libiberty
33085 configure-gcc: maybe-configure-intl
33087 configure-stage1-gcc: maybe-configure-stage1-intl
33088 configure-stage2-gcc: maybe-configure-stage2-intl
33089 configure-stage3-gcc: maybe-configure-stage3-intl
33090 configure-stage4-gcc: maybe-configure-stage4-intl
33091 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
33092 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
33093 configure-gcc: maybe-configure-binutils
33095 configure-stage1-gcc: maybe-configure-stage1-binutils
33096 configure-stage2-gcc: maybe-configure-stage2-binutils
33097 configure-stage3-gcc: maybe-configure-stage3-binutils
33098 configure-stage4-gcc: maybe-configure-stage4-binutils
33099 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
33100 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
33101 configure-gcc: maybe-configure-gas
33103 configure-stage1-gcc: maybe-configure-stage1-gas
33104 configure-stage2-gcc: maybe-configure-stage2-gas
33105 configure-stage3-gcc: maybe-configure-stage3-gas
33106 configure-stage4-gcc: maybe-configure-stage4-gas
33107 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
33108 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
33109 configure-gcc: maybe-configure-ld
33111 configure-stage1-gcc: maybe-configure-stage1-ld
33112 configure-stage2-gcc: maybe-configure-stage2-ld
33113 configure-stage3-gcc: maybe-configure-stage3-ld
33114 configure-stage4-gcc: maybe-configure-stage4-ld
33115 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
33116 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
33117 all-gcc: all-libiberty
33119 all-stage1-gcc: all-stage1-libiberty
33120 all-stage2-gcc: all-stage2-libiberty
33121 all-stage3-gcc: all-stage3-libiberty
33122 all-stage4-gcc: all-stage4-libiberty
33123 all-stageprofile-gcc: all-stageprofile-libiberty
33124 all-stagefeedback-gcc: all-stagefeedback-libiberty
33125 all-gcc: maybe-all-intl
33127 all-stage1-gcc: maybe-all-stage1-intl
33128 all-stage2-gcc: maybe-all-stage2-intl
33129 all-stage3-gcc: maybe-all-stage3-intl
33130 all-stage4-gcc: maybe-all-stage4-intl
33131 all-stageprofile-gcc: maybe-all-stageprofile-intl
33132 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
33133 all-gcc: maybe-all-build-texinfo
33135 all-stage1-gcc: maybe-all-build-texinfo
33136 all-stage2-gcc: maybe-all-build-texinfo
33137 all-stage3-gcc: maybe-all-build-texinfo
33138 all-stage4-gcc: maybe-all-build-texinfo
33139 all-stageprofile-gcc: maybe-all-build-texinfo
33140 all-stagefeedback-gcc: maybe-all-build-texinfo
33141 all-prebootstrap: maybe-all-build-texinfo
33142 all-gcc: maybe-all-build-bison
33144 all-stage1-gcc: maybe-all-build-bison
33145 all-stage2-gcc: maybe-all-build-bison
33146 all-stage3-gcc: maybe-all-build-bison
33147 all-stage4-gcc: maybe-all-build-bison
33148 all-stageprofile-gcc: maybe-all-build-bison
33149 all-stagefeedback-gcc: maybe-all-build-bison
33150 all-prebootstrap: maybe-all-build-bison
33151 all-gcc: maybe-all-build-byacc
33153 all-stage1-gcc: maybe-all-build-byacc
33154 all-stage2-gcc: maybe-all-build-byacc
33155 all-stage3-gcc: maybe-all-build-byacc
33156 all-stage4-gcc: maybe-all-build-byacc
33157 all-stageprofile-gcc: maybe-all-build-byacc
33158 all-stagefeedback-gcc: maybe-all-build-byacc
33159 all-prebootstrap: maybe-all-build-byacc
33160 all-gcc: maybe-all-build-flex
33162 all-stage1-gcc: maybe-all-build-flex
33163 all-stage2-gcc: maybe-all-build-flex
33164 all-stage3-gcc: maybe-all-build-flex
33165 all-stage4-gcc: maybe-all-build-flex
33166 all-stageprofile-gcc: maybe-all-build-flex
33167 all-stagefeedback-gcc: maybe-all-build-flex
33168 all-prebootstrap: maybe-all-build-flex
33169 all-gcc: maybe-all-build-libiberty
33171 all-stage1-gcc: maybe-all-build-libiberty
33172 all-stage2-gcc: maybe-all-build-libiberty
33173 all-stage3-gcc: maybe-all-build-libiberty
33174 all-stage4-gcc: maybe-all-build-libiberty
33175 all-stageprofile-gcc: maybe-all-build-libiberty
33176 all-stagefeedback-gcc: maybe-all-build-libiberty
33177 all-prebootstrap: maybe-all-build-libiberty
33178 all-gcc: maybe-all-build-fixincludes
33180 all-stage1-gcc: maybe-all-build-fixincludes
33181 all-stage2-gcc: maybe-all-build-fixincludes
33182 all-stage3-gcc: maybe-all-build-fixincludes
33183 all-stage4-gcc: maybe-all-build-fixincludes
33184 all-stageprofile-gcc: maybe-all-build-fixincludes
33185 all-stagefeedback-gcc: maybe-all-build-fixincludes
33186 all-prebootstrap: maybe-all-build-fixincludes
33187 all-gcc: maybe-all-binutils
33189 all-stage1-gcc: maybe-all-stage1-binutils
33190 all-stage2-gcc: maybe-all-stage2-binutils
33191 all-stage3-gcc: maybe-all-stage3-binutils
33192 all-stage4-gcc: maybe-all-stage4-binutils
33193 all-stageprofile-gcc: maybe-all-stageprofile-binutils
33194 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
33195 all-gcc: maybe-all-gas
33197 all-stage1-gcc: maybe-all-stage1-gas
33198 all-stage2-gcc: maybe-all-stage2-gas
33199 all-stage3-gcc: maybe-all-stage3-gas
33200 all-stage4-gcc: maybe-all-stage4-gas
33201 all-stageprofile-gcc: maybe-all-stageprofile-gas
33202 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
33203 all-gcc: maybe-all-ld
33205 all-stage1-gcc: maybe-all-stage1-ld
33206 all-stage2-gcc: maybe-all-stage2-ld
33207 all-stage3-gcc: maybe-all-stage3-ld
33208 all-stage4-gcc: maybe-all-stage4-ld
33209 all-stageprofile-gcc: maybe-all-stageprofile-ld
33210 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
33211 all-gcc: maybe-all-zlib
33213 all-stage1-gcc: maybe-all-stage1-zlib
33214 all-stage2-gcc: maybe-all-stage2-zlib
33215 all-stage3-gcc: maybe-all-stage3-zlib
33216 all-stage4-gcc: maybe-all-stage4-zlib
33217 all-stageprofile-gcc: maybe-all-stageprofile-zlib
33218 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
33219 all-gcc: maybe-all-libbanshee
33221 all-stage1-gcc: maybe-all-stage1-libbanshee
33222 all-stage2-gcc: maybe-all-stage2-libbanshee
33223 all-stage3-gcc: maybe-all-stage3-libbanshee
33224 all-stage4-gcc: maybe-all-stage4-libbanshee
33225 all-stageprofile-gcc: maybe-all-stageprofile-libbanshee
33226 all-stagefeedback-gcc: maybe-all-stagefeedback-libbanshee
33227 all-gcc: all-libcpp
33229 all-stage1-gcc: all-stage1-libcpp
33230 all-stage2-gcc: all-stage2-libcpp
33231 all-stage3-gcc: all-stage3-libcpp
33232 all-stage4-gcc: all-stage4-libcpp
33233 all-stageprofile-gcc: all-stageprofile-libcpp
33234 all-stagefeedback-gcc: all-stagefeedback-libcpp
33235 all-gcc: maybe-all-build-libiberty
33237 all-stage1-gcc: maybe-all-build-libiberty
33238 all-stage2-gcc: maybe-all-build-libiberty
33239 all-stage3-gcc: maybe-all-build-libiberty
33240 all-stage4-gcc: maybe-all-build-libiberty
33241 all-stageprofile-gcc: maybe-all-build-libiberty
33242 all-stagefeedback-gcc: maybe-all-build-libiberty
33243 all-prebootstrap: maybe-all-build-libiberty
33244 configure-libcpp: configure-libiberty
33246 configure-stage1-libcpp: configure-stage1-libiberty
33247 configure-stage2-libcpp: configure-stage2-libiberty
33248 configure-stage3-libcpp: configure-stage3-libiberty
33249 configure-stage4-libcpp: configure-stage4-libiberty
33250 configure-stageprofile-libcpp: configure-stageprofile-libiberty
33251 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
33252 configure-libcpp: maybe-configure-intl
33254 configure-stage1-libcpp: maybe-configure-stage1-intl
33255 configure-stage2-libcpp: maybe-configure-stage2-intl
33256 configure-stage3-libcpp: maybe-configure-stage3-intl
33257 configure-stage4-libcpp: maybe-configure-stage4-intl
33258 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
33259 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
33260 all-libcpp: all-libiberty
33262 all-stage1-libcpp: all-stage1-libiberty
33263 all-stage2-libcpp: all-stage2-libiberty
33264 all-stage3-libcpp: all-stage3-libiberty
33265 all-stage4-libcpp: all-stage4-libiberty
33266 all-stageprofile-libcpp: all-stageprofile-libiberty
33267 all-stagefeedback-libcpp: all-stagefeedback-libiberty
33268 all-libcpp: maybe-all-intl
33270 all-stage1-libcpp: maybe-all-stage1-intl
33271 all-stage2-libcpp: maybe-all-stage2-intl
33272 all-stage3-libcpp: maybe-all-stage3-intl
33273 all-stage4-libcpp: maybe-all-stage4-intl
33274 all-stageprofile-libcpp: maybe-all-stageprofile-intl
33275 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
33276 configure-gdb: maybe-configure-itcl
33277 configure-gdb: maybe-configure-tcl
33278 configure-gdb: maybe-configure-tk
33279 configure-gdb: maybe-configure-sim
33280 all-gdb: maybe-all-libiberty
33281 all-gdb: maybe-all-opcodes
33282 all-gdb: maybe-all-bfd
33283 all-gdb: maybe-all-readline
33284 all-gdb: maybe-all-build-bison
33285 all-gdb: maybe-all-build-byacc
33286 all-gdb: maybe-all-sim
33287 install-gdb: maybe-install-tcl
33288 install-gdb: maybe-install-tk
33289 install-gdb: maybe-install-itcl
33290 install-gdb: maybe-install-libgui
33291 configure-libgui: maybe-configure-tcl
33292 configure-libgui: maybe-configure-tk
33293 all-libgui: maybe-all-tcl
33294 all-libgui: maybe-all-tk
33295 all-libgui: maybe-all-itcl
33296 configure-bfd: configure-libiberty
33298 configure-stage1-bfd: configure-stage1-libiberty
33299 configure-stage2-bfd: configure-stage2-libiberty
33300 configure-stage3-bfd: configure-stage3-libiberty
33301 configure-stage4-bfd: configure-stage4-libiberty
33302 configure-stageprofile-bfd: configure-stageprofile-libiberty
33303 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
33304 all-bfd: maybe-all-libiberty
33306 all-stage1-bfd: maybe-all-stage1-libiberty
33307 all-stage2-bfd: maybe-all-stage2-libiberty
33308 all-stage3-bfd: maybe-all-stage3-libiberty
33309 all-stage4-bfd: maybe-all-stage4-libiberty
33310 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
33311 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
33312 all-bfd: maybe-all-intl
33314 all-stage1-bfd: maybe-all-stage1-intl
33315 all-stage2-bfd: maybe-all-stage2-intl
33316 all-stage3-bfd: maybe-all-stage3-intl
33317 all-stage4-bfd: maybe-all-stage4-intl
33318 all-stageprofile-bfd: maybe-all-stageprofile-intl
33319 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
33320 all-binutils: maybe-all-libiberty
33322 all-stage1-binutils: maybe-all-stage1-libiberty
33323 all-stage2-binutils: maybe-all-stage2-libiberty
33324 all-stage3-binutils: maybe-all-stage3-libiberty
33325 all-stage4-binutils: maybe-all-stage4-libiberty
33326 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
33327 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
33328 all-binutils: maybe-all-opcodes
33330 all-stage1-binutils: maybe-all-stage1-opcodes
33331 all-stage2-binutils: maybe-all-stage2-opcodes
33332 all-stage3-binutils: maybe-all-stage3-opcodes
33333 all-stage4-binutils: maybe-all-stage4-opcodes
33334 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
33335 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
33336 all-binutils: maybe-all-bfd
33338 all-stage1-binutils: maybe-all-stage1-bfd
33339 all-stage2-binutils: maybe-all-stage2-bfd
33340 all-stage3-binutils: maybe-all-stage3-bfd
33341 all-stage4-binutils: maybe-all-stage4-bfd
33342 all-stageprofile-binutils: maybe-all-stageprofile-bfd
33343 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
33344 all-binutils: maybe-all-build-flex
33346 all-stage1-binutils: maybe-all-build-flex
33347 all-stage2-binutils: maybe-all-build-flex
33348 all-stage3-binutils: maybe-all-build-flex
33349 all-stage4-binutils: maybe-all-build-flex
33350 all-stageprofile-binutils: maybe-all-build-flex
33351 all-stagefeedback-binutils: maybe-all-build-flex
33352 all-prebootstrap: maybe-all-build-flex
33353 all-binutils: maybe-all-build-bison
33355 all-stage1-binutils: maybe-all-build-bison
33356 all-stage2-binutils: maybe-all-build-bison
33357 all-stage3-binutils: maybe-all-build-bison
33358 all-stage4-binutils: maybe-all-build-bison
33359 all-stageprofile-binutils: maybe-all-build-bison
33360 all-stagefeedback-binutils: maybe-all-build-bison
33361 all-prebootstrap: maybe-all-build-bison
33362 all-binutils: maybe-all-build-byacc
33364 all-stage1-binutils: maybe-all-build-byacc
33365 all-stage2-binutils: maybe-all-build-byacc
33366 all-stage3-binutils: maybe-all-build-byacc
33367 all-stage4-binutils: maybe-all-build-byacc
33368 all-stageprofile-binutils: maybe-all-build-byacc
33369 all-stagefeedback-binutils: maybe-all-build-byacc
33370 all-prebootstrap: maybe-all-build-byacc
33371 all-binutils: maybe-all-intl
33373 all-stage1-binutils: maybe-all-stage1-intl
33374 all-stage2-binutils: maybe-all-stage2-intl
33375 all-stage3-binutils: maybe-all-stage3-intl
33376 all-stage4-binutils: maybe-all-stage4-intl
33377 all-stageprofile-binutils: maybe-all-stageprofile-intl
33378 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
33379 install-binutils: maybe-install-opcodes
33380 install-opcodes: maybe-install-bfd
33381 all-gas: maybe-all-libiberty
33383 all-stage1-gas: maybe-all-stage1-libiberty
33384 all-stage2-gas: maybe-all-stage2-libiberty
33385 all-stage3-gas: maybe-all-stage3-libiberty
33386 all-stage4-gas: maybe-all-stage4-libiberty
33387 all-stageprofile-gas: maybe-all-stageprofile-libiberty
33388 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
33389 all-gas: maybe-all-opcodes
33391 all-stage1-gas: maybe-all-stage1-opcodes
33392 all-stage2-gas: maybe-all-stage2-opcodes
33393 all-stage3-gas: maybe-all-stage3-opcodes
33394 all-stage4-gas: maybe-all-stage4-opcodes
33395 all-stageprofile-gas: maybe-all-stageprofile-opcodes
33396 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
33397 all-gas: maybe-all-bfd
33399 all-stage1-gas: maybe-all-stage1-bfd
33400 all-stage2-gas: maybe-all-stage2-bfd
33401 all-stage3-gas: maybe-all-stage3-bfd
33402 all-stage4-gas: maybe-all-stage4-bfd
33403 all-stageprofile-gas: maybe-all-stageprofile-bfd
33404 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
33405 all-gas: maybe-all-intl
33407 all-stage1-gas: maybe-all-stage1-intl
33408 all-stage2-gas: maybe-all-stage2-intl
33409 all-stage3-gas: maybe-all-stage3-intl
33410 all-stage4-gas: maybe-all-stage4-intl
33411 all-stageprofile-gas: maybe-all-stageprofile-intl
33412 all-stagefeedback-gas: maybe-all-stagefeedback-intl
33413 all-gprof: maybe-all-libiberty
33414 all-gprof: maybe-all-bfd
33415 all-gprof: maybe-all-opcodes
33416 all-gprof: maybe-all-intl
33417 all-ld: maybe-all-libiberty
33419 all-stage1-ld: maybe-all-stage1-libiberty
33420 all-stage2-ld: maybe-all-stage2-libiberty
33421 all-stage3-ld: maybe-all-stage3-libiberty
33422 all-stage4-ld: maybe-all-stage4-libiberty
33423 all-stageprofile-ld: maybe-all-stageprofile-libiberty
33424 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
33425 all-ld: maybe-all-bfd
33427 all-stage1-ld: maybe-all-stage1-bfd
33428 all-stage2-ld: maybe-all-stage2-bfd
33429 all-stage3-ld: maybe-all-stage3-bfd
33430 all-stage4-ld: maybe-all-stage4-bfd
33431 all-stageprofile-ld: maybe-all-stageprofile-bfd
33432 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
33433 all-ld: maybe-all-opcodes
33435 all-stage1-ld: maybe-all-stage1-opcodes
33436 all-stage2-ld: maybe-all-stage2-opcodes
33437 all-stage3-ld: maybe-all-stage3-opcodes
33438 all-stage4-ld: maybe-all-stage4-opcodes
33439 all-stageprofile-ld: maybe-all-stageprofile-opcodes
33440 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
33441 all-ld: maybe-all-build-bison
33443 all-stage1-ld: maybe-all-build-bison
33444 all-stage2-ld: maybe-all-build-bison
33445 all-stage3-ld: maybe-all-build-bison
33446 all-stage4-ld: maybe-all-build-bison
33447 all-stageprofile-ld: maybe-all-build-bison
33448 all-stagefeedback-ld: maybe-all-build-bison
33449 all-prebootstrap: maybe-all-build-bison
33450 all-ld: maybe-all-build-byacc
33452 all-stage1-ld: maybe-all-build-byacc
33453 all-stage2-ld: maybe-all-build-byacc
33454 all-stage3-ld: maybe-all-build-byacc
33455 all-stage4-ld: maybe-all-build-byacc
33456 all-stageprofile-ld: maybe-all-build-byacc
33457 all-stagefeedback-ld: maybe-all-build-byacc
33458 all-prebootstrap: maybe-all-build-byacc
33459 all-ld: maybe-all-build-flex
33461 all-stage1-ld: maybe-all-build-flex
33462 all-stage2-ld: maybe-all-build-flex
33463 all-stage3-ld: maybe-all-build-flex
33464 all-stage4-ld: maybe-all-build-flex
33465 all-stageprofile-ld: maybe-all-build-flex
33466 all-stagefeedback-ld: maybe-all-build-flex
33467 all-prebootstrap: maybe-all-build-flex
33468 all-ld: maybe-all-intl
33470 all-stage1-ld: maybe-all-stage1-intl
33471 all-stage2-ld: maybe-all-stage2-intl
33472 all-stage3-ld: maybe-all-stage3-intl
33473 all-stage4-ld: maybe-all-stage4-intl
33474 all-stageprofile-ld: maybe-all-stageprofile-intl
33475 all-stagefeedback-ld: maybe-all-stagefeedback-intl
33476 all-opcodes: maybe-all-bfd
33478 all-stage1-opcodes: maybe-all-stage1-bfd
33479 all-stage2-opcodes: maybe-all-stage2-bfd
33480 all-stage3-opcodes: maybe-all-stage3-bfd
33481 all-stage4-opcodes: maybe-all-stage4-bfd
33482 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
33483 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
33484 all-opcodes: maybe-all-libiberty
33486 all-stage1-opcodes: maybe-all-stage1-libiberty
33487 all-stage2-opcodes: maybe-all-stage2-libiberty
33488 all-stage3-opcodes: maybe-all-stage3-libiberty
33489 all-stage4-opcodes: maybe-all-stage4-libiberty
33490 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
33491 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
33492 all-dejagnu: maybe-all-tcl
33493 all-dejagnu: maybe-all-expect
33494 all-dejagnu: maybe-all-tk
33495 configure-expect: maybe-configure-tcl
33496 configure-expect: maybe-configure-tk
33497 all-expect: maybe-all-tcl
33498 all-expect: maybe-all-tk
33499 configure-itcl: maybe-configure-tcl
33500 configure-itcl: maybe-configure-tk
33501 all-itcl: maybe-all-tcl
33502 all-itcl: maybe-all-tk
33503 install-itcl: maybe-install-tcl
33504 configure-tk: maybe-configure-tcl
33505 all-tk: maybe-all-tcl
33506 all-sid: maybe-all-libiberty
33507 all-sid: maybe-all-bfd
33508 all-sid: maybe-all-opcodes
33509 all-sid: maybe-all-tcl
33510 all-sid: maybe-all-tk
33511 install-sid: maybe-install-tcl
33512 install-sid: maybe-install-tk
33513 all-sim: maybe-all-libiberty
33514 all-sim: maybe-all-bfd
33515 all-sim: maybe-all-opcodes
33516 all-sim: maybe-all-readline
33517 all-sim: maybe-configure-gdb
33518 all-fastjar: maybe-all-zlib
33519 all-fastjar: maybe-all-build-texinfo
33520 all-fastjar: maybe-all-libiberty
33521 all-autoconf: maybe-all-m4
33522 all-autoconf: maybe-all-build-texinfo
33523 all-automake: maybe-all-m4
33524 all-automake: maybe-all-build-texinfo
33525 all-automake: maybe-all-autoconf
33526 all-bison: maybe-all-intl
33527 all-bison: maybe-all-build-texinfo
33528 all-diff: maybe-all-intl
33529 all-diff: maybe-all-build-texinfo
33530 all-fileutils: maybe-all-intl
33531 all-fileutils: maybe-all-build-texinfo
33532 all-flex: maybe-all-build-bison
33533 all-flex: maybe-all-build-byacc
33534 all-flex: maybe-all-intl
33535 all-flex: maybe-all-m4
33536 all-flex: maybe-all-build-texinfo
33537 all-gzip: maybe-all-intl
33538 all-gzip: maybe-all-zlib
33539 all-gzip: maybe-all-build-texinfo
33540 all-hello: maybe-all-intl
33541 all-hello: maybe-all-build-texinfo
33542 all-m4: maybe-all-intl
33543 all-m4: maybe-all-build-texinfo
33544 all-make: maybe-all-intl
33545 all-make: maybe-all-build-texinfo
33546 all-patch: maybe-all-build-texinfo
33547 all-make: maybe-all-build-texinfo
33548 all-prms: maybe-all-libiberty
33549 all-recode: maybe-all-build-texinfo
33550 all-sed: maybe-all-build-texinfo
33551 all-send-pr: maybe-all-prms
33552 all-tar: maybe-all-build-texinfo
33553 all-uudecode: maybe-all-build-texinfo
33554 configure-target-boehm-gc: maybe-configure-target-qthreads
33555 configure-target-fastjar: maybe-configure-target-zlib
33556 all-target-fastjar: maybe-all-target-zlib
33557 all-target-fastjar: maybe-all-target-libiberty
33558 configure-target-libjava: maybe-configure-target-zlib
33559 configure-target-libjava: maybe-configure-target-boehm-gc
33560 configure-target-libjava: maybe-configure-target-qthreads
33561 configure-target-libjava: maybe-configure-target-libffi
33562 all-target-libjava: maybe-all-fastjar
33563 all-target-libjava: maybe-all-target-zlib
33564 all-target-libjava: maybe-all-target-boehm-gc
33565 all-target-libjava: maybe-all-target-qthreads
33566 all-target-libjava: maybe-all-target-libffi
33567 all-target-libobjc: maybe-all-target-libiberty
33568 all-target-libstdc++-v3: maybe-all-target-libiberty
33569 all-target-libgloss: maybe-configure-target-newlib
33570 all-target-winsup: maybe-all-target-libiberty
33571 all-target-winsup: maybe-all-target-libtermcap
33574 # Non-toplevel bootstrap rules must depend on several packages, to be built
33575 # before gcc. Another wart that will go away, hopefully soon.
33576 @if gcc-no-bootstrap
33578 all-prebootstrap: maybe-all-bfd
33579 all-prebootstrap: maybe-all-opcodes
33580 all-prebootstrap: maybe-all-binutils
33581 all-prebootstrap: maybe-all-gas
33582 all-prebootstrap: maybe-all-intl
33583 all-prebootstrap: maybe-all-ld
33584 all-prebootstrap: maybe-all-libcpp
33585 all-prebootstrap: maybe-all-libbanshee
33586 all-prebootstrap: maybe-all-libiberty
33587 all-prebootstrap: maybe-all-zlib
33588 @endif gcc-no-bootstrap
33590 GDB_TK = @GDB_TK@
33591 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
33593 # Serialization dependencies. Host configures don't work well in parallel to
33594 # each other, due to contention over config.cache. Target configures and
33595 # build configures are similar.
33596 @serialization_dependencies@
33598 # --------------------------------
33599 # Regenerating top level configury
33600 # --------------------------------
33602 # Multilib.out tells target dirs what multilibs they should build.
33603 # There is really only one copy. We use the 'timestamp' method to
33604 # work around various timestamp bugs on some systems.
33605 # We use move-if-change so that it's only considered updated when it
33606 # actually changes, because it has to depend on a phony target.
33607 multilib.out: maybe-all-gcc
33608 @r=`${PWD_COMMAND}`; export r; \
33609 echo "Checking multilib configuration..."; \
33610 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
33611 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
33613 # Rebuilding Makefile.in, using autogen.
33614 AUTOGEN = autogen
33615 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
33616 cd $(srcdir) && $(AUTOGEN) Makefile.def
33618 # Rebuilding Makefile.
33619 Makefile: $(srcdir)/Makefile.in config.status
33620 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
33622 config.status: configure $(gcc_version_trigger)
33623 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
33625 # Rebuilding configure.
33626 AUTOCONF = autoconf
33627 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
33628 cd $(srcdir) && $(AUTOCONF)
33630 # ------------------------------
33631 # Special directives to GNU Make
33632 # ------------------------------
33634 # Don't pass command-line variables to submakes.
33635 .NOEXPORT:
33636 MAKEOVERRIDES=
33638 # end of Makefile.in