daily update
[binutils.git] / Makefile.in
blob4b127034aab2cc28617d553eed8b3451f526c037
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 mandir = @mandir@
54 man1dir = $(mandir)/man1
55 man2dir = $(mandir)/man2
56 man3dir = $(mandir)/man3
57 man4dir = $(mandir)/man4
58 man5dir = $(mandir)/man5
59 man6dir = $(mandir)/man6
60 man7dir = $(mandir)/man7
61 man8dir = $(mandir)/man8
62 man9dir = $(mandir)/man9
64 INSTALL = @INSTALL@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
68 LN = @LN@
69 LN_S = @LN_S@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The file containing GCC's version number.
76 gcc_version_trigger = @gcc_version_trigger@
77 gcc_version = @gcc_version@
79 # The gcc driver likes to know the arguments it was configured with.
80 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
82 gxx_include_dir = @gxx_include_dir@
83 libstdcxx_incdir = @libstdcxx_incdir@
85 tooldir = @tooldir@
86 build_tooldir = @build_tooldir@
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
90 GDB_NLM_DEPS =
92 # This is the name of the environment variable used for the path to
93 # the libraries.
94 RPATH_ENVVAR = @RPATH_ENVVAR@
96 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
97 # was used.
98 SET_LIB_PATH = @SET_LIB_PATH@
100 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
101 # Some platforms don't like blank entries, so we remove duplicate,
102 # leading and trailing colons.
103 REALLY_SET_LIB_PATH = \
104 @SET_GCC_LIB_PATH@ \
105 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
107 # This is the list of directories to be built for the build system.
108 BUILD_CONFIGDIRS = libiberty
109 # Build programs are put under this directory.
110 BUILD_SUBDIR = @build_subdir@
111 # This is set by the configure script to the arguments to use when configuring
112 # directories built for the build system.
113 BUILD_CONFIGARGS = @build_configargs@
115 # This is the list of variables to export in the environment when
116 # configuring any subdirectory. It must also be exported whenever
117 # recursing into a build directory in case that directory's Makefile
118 # re-runs configure.
119 BASE_EXPORTS = \
120 FLEX="$(FLEX)"; export FLEX; \
121 LEX="$(LEX)"; export LEX; \
122 BISON="$(BISON)"; export BISON; \
123 YACC="$(YACC)"; export YACC; \
124 M4="$(M4)"; export M4; \
125 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
127 # This is the list of variables to export in the environment when
128 # configuring subdirectories for the build system.
129 BUILD_EXPORTS = \
130 $(BASE_EXPORTS) \
131 AR="$(AR_FOR_BUILD)"; export AR; \
132 AS="$(AS_FOR_BUILD)"; export AS; \
133 CC="$(CC_FOR_BUILD)"; export CC; \
134 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
135 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
136 CXX="$(CXX_FOR_BUILD)"; export CXX; \
137 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
138 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
139 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
140 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
141 LD="$(LD_FOR_BUILD)"; export LD; \
142 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
143 NM="$(NM_FOR_BUILD)"; export NM; \
144 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
145 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
147 # This is the list of directories to built for the host system.
148 SUBDIRS = @configdirs@
149 # This is set by the configure script to the arguments to use when configuring
150 # directories built for the host system.
151 HOST_CONFIGARGS = @host_configargs@
152 # This is the list of variables to export in the environment when
153 # configuring subdirectories for the host system.
154 HOST_EXPORTS = \
155 $(BASE_EXPORTS) \
156 CC="$(CC)"; export CC; \
157 CFLAGS="$(CFLAGS)"; export CFLAGS; \
158 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
159 CXX="$(CXX)"; export CXX; \
160 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
161 AR="$(AR)"; export AR; \
162 AS="$(AS)"; export AS; \
163 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
164 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
165 LD="$(LD)"; export LD; \
166 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
167 NM="$(NM)"; export NM; \
168 RANLIB="$(RANLIB)"; export RANLIB; \
169 WINDRES="$(WINDRES)"; export WINDRES; \
170 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
171 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
172 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
173 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
174 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
175 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
176 @SET_GCC_LIB_PATH@
178 # Similar, for later GCC stages.
179 STAGE_HOST_EXPORTS = \
180 $(HOST_EXPORTS) \
181 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
182 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
184 # This is set by the configure script to the list of directories which
185 # should be built using the target tools.
186 TARGET_CONFIGDIRS = @target_configdirs@
187 # Target libraries are put under this directory:
188 TARGET_SUBDIR = @target_subdir@
189 # This is set by the configure script to the arguments to use when configuring
190 # directories built for the target.
191 TARGET_CONFIGARGS = @target_configargs@
192 # This is the list of variables to export in the environment when
193 # configuring subdirectories for the host system.
194 BASE_TARGET_EXPORTS = \
195 $(BASE_EXPORTS) \
196 AR="$(AR_FOR_TARGET)"; export AR; \
197 AS="$(AS_FOR_TARGET)"; export AS; \
198 CC="$(CC_FOR_TARGET)"; export CC; \
199 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
200 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
201 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
202 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
203 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
204 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
205 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
206 LD="$(LD_FOR_TARGET)"; export LD; \
207 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
208 NM="$(NM_FOR_TARGET)"; export NM; \
209 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
210 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
212 @SET_GCC_LIB_PATH@
214 RAW_CXX_TARGET_EXPORTS = \
215 $(BASE_TARGET_EXPORTS) \
216 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
217 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
219 NORMAL_TARGET_EXPORTS = \
220 $(BASE_TARGET_EXPORTS) \
221 CXX="$(CXX_FOR_TARGET)"; export CXX;
223 # Where to find GMP
224 HOST_GMPLIBS = @gmplibs@
225 HOST_GMPINC = @gmpinc@
227 # ----------------------------------------------
228 # Programs producing files for the BUILD machine
229 # ----------------------------------------------
231 SHELL = @config_shell@
233 # pwd command to use. Allow user to override default by setting PWDCMD in
234 # the environment to account for automounters. The make variable must not
235 # be called PWDCMD, otherwise the value set here is passed to make
236 # subprocesses and overrides the setting from the user's environment.
237 # Don't use PWD since it is a common shell environment variable and we
238 # don't want to corrupt it.
239 PWD_COMMAND = $${PWDCMD-pwd}
241 # compilers to use to create programs which must be run in the build
242 # environment.
243 CC_FOR_BUILD = @CC_FOR_BUILD@
244 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
246 CXX_FOR_BUILD = $(CXX)
248 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
249 # here so that they can be overridden by Makefile fragments.
250 BUILD_PREFIX = @BUILD_PREFIX@
251 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
253 # Flags to pass to stage2 and later makes. They are defined
254 # here so that they can be overridden by Makefile fragments.
255 BOOT_CFLAGS= -g -O2
257 CONFIGURED_BISON = @CONFIGURED_BISON@
258 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
259 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
260 else \
261 echo ${CONFIGURED_BISON} ; \
264 CONFIGURED_YACC = @CONFIGURED_YACC@
265 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
266 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
267 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
268 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
269 else \
270 echo ${CONFIGURED_YACC} ; \
273 CONFIGURED_FLEX = @CONFIGURED_FLEX@
274 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
275 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
276 else echo ${CONFIGURED_FLEX} ; fi`
278 CONFIGURED_LEX = @CONFIGURED_LEX@
279 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
280 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
281 else echo ${CONFIGURED_LEX} ; fi`
283 CONFIGURED_M4 = @CONFIGURED_M4@
284 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
285 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
286 else echo ${CONFIGURED_M4} ; fi`
288 # For an installed makeinfo, we require it to be from texinfo 4.2 or
289 # higher, else we use the "missing" dummy. We also pass the subdirectory
290 # makeinfo even if only the Makefile is there, because Texinfo builds its
291 # manual when made, and it requires its own version.
292 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
293 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
294 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
295 else if (${CONFIGURED_MAKEINFO} --version \
296 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
297 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
299 # This just becomes part of the MAKEINFO definition passed down to
300 # sub-makes. It lets flags be given on the command line while still
301 # using the makeinfo from the object tree.
302 # (Default to avoid splitting info files by setting the threshold high.)
303 MAKEINFOFLAGS = --split-size=5000000
305 EXPECT = `if [ -f $$r/expect/expect ] ; \
306 then echo $$r/expect/expect ; \
307 else echo expect ; fi`
309 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
310 then echo $$s/dejagnu/runtest ; \
311 else echo runtest ; fi`
313 # ---------------------------------------------
314 # Programs producing files for the HOST machine
315 # ---------------------------------------------
317 # This is the list of directories that may be needed in RPATH_ENVVAR
318 # so that programs built for the host machine work.
319 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
321 AS = @AS@
323 AR = @AR@
324 AR_FLAGS = rc
326 CC = @CC@
327 CFLAGS = @CFLAGS@
328 LIBCFLAGS = $(CFLAGS)
330 CXX = @CXX@
331 CXXFLAGS = @CXXFLAGS@
332 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
334 DLLTOOL = @DLLTOOL@
336 NM = @NM@
338 LD = @LD@
339 LDFLAGS =
341 RANLIB = @RANLIB@
343 WINDRES = @WINDRES@
345 PICFLAG =
347 # -----------------------------------------------
348 # Programs producing files for the TARGET machine
349 # -----------------------------------------------
351 # This is the list of directories that may be needed in RPATH_ENVVAR
352 # so that prorgams built for the target machine work.
353 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
355 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
357 AR_FOR_TARGET=@AR_FOR_TARGET@
358 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
359 USUAL_AR_FOR_TARGET = ` \
360 if [ -f $$r/binutils/ar ] ; then \
361 echo $$r/binutils/ar ; \
362 else \
363 if [ '$(host)' = '$(target)' ] ; then \
364 echo $(AR); \
365 else \
366 echo $(CONFIGURED_AR_FOR_TARGET) ; \
367 fi; \
370 AS_FOR_TARGET=@AS_FOR_TARGET@
371 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
372 USUAL_AS_FOR_TARGET = ` \
373 if [ -f $$r/gas/as-new ] ; then \
374 echo $$r/gas/as-new ; \
375 elif [ -f $$r/gcc/xgcc ]; then \
376 $(CC_FOR_TARGET) -print-prog-name=as ; \
377 else \
378 if [ '$(host)' = '$(target)' ] ; then \
379 echo $(AS); \
380 else \
381 echo $(CONFIGURED_AS_FOR_TARGET) ; \
382 fi; \
385 CC_FOR_TARGET = @CC_FOR_TARGET@
386 # During gcc bootstrap, if we use some random cc for stage1 then
387 # CFLAGS will be just -g. We want to ensure that TARGET libraries
388 # (which we know are built with gcc) are built with optimizations so
389 # prepend -O2 when setting CFLAGS_FOR_TARGET.
390 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
391 # If GCC_FOR_TARGET is not overriden on the command line, then this
392 # variable is passed down to the gcc Makefile, where it is used to
393 # build libgcc2.a. We define it here so that it can itself be
394 # overridden on the command line.
395 GCC_FOR_TARGET=@GCC_FOR_TARGET@
396 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
397 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
399 CXX_FOR_TARGET = @CXX_FOR_TARGET@
400 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
401 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
402 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
403 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
404 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
406 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
407 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
408 USUAL_DLLTOOL_FOR_TARGET = ` \
409 if [ -f $$r/binutils/dlltool ] ; then \
410 echo $$r/binutils/dlltool ; \
411 else \
412 if [ '$(host)' = '$(target)' ] ; then \
413 echo $(DLLTOOL); \
414 else \
415 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
416 fi; \
419 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
420 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
422 LD_FOR_TARGET=@LD_FOR_TARGET@
423 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
424 USUAL_LD_FOR_TARGET = ` \
425 if [ -f $$r/ld/ld-new ] ; then \
426 echo $$r/ld/ld-new ; \
427 elif [ -f $$r/gcc/xgcc ]; then \
428 $(CC_FOR_TARGET) -print-prog-name=ld ; \
429 else \
430 if [ '$(host)' = '$(target)' ] ; then \
431 echo $(LD); \
432 else \
433 echo $(CONFIGURED_LD_FOR_TARGET) ; \
434 fi; \
437 LDFLAGS_FOR_TARGET =
439 NM_FOR_TARGET=@NM_FOR_TARGET@
440 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
441 USUAL_NM_FOR_TARGET = ` \
442 if [ -f $$r/binutils/nm-new ] ; then \
443 echo $$r/binutils/nm-new ; \
444 elif [ -f $$r/gcc/xgcc ]; then \
445 $(CC_FOR_TARGET) -print-prog-name=nm ; \
446 else \
447 if [ '$(host)' = '$(target)' ] ; then \
448 echo $(NM); \
449 else \
450 echo $(CONFIGURED_NM_FOR_TARGET) ; \
451 fi; \
454 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
455 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
456 USUAL_RANLIB_FOR_TARGET = ` \
457 if [ -f $$r/binutils/ranlib ] ; then \
458 echo $$r/binutils/ranlib ; \
459 else \
460 if [ '$(host)' = '$(target)' ] ; then \
461 if [ x'$(RANLIB)' != x ]; then \
462 echo $(RANLIB); \
463 else \
464 echo ranlib; \
465 fi; \
466 else \
467 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
468 fi; \
471 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
472 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
473 USUAL_WINDRES_FOR_TARGET = ` \
474 if [ -f $$r/binutils/windres ] ; then \
475 echo $$r/binutils/windres ; \
476 else \
477 if [ '$(host)' = '$(target)' ] ; then \
478 echo $(WINDRES); \
479 else \
480 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
481 fi; \
484 PICFLAG_FOR_TARGET =
486 # ------------------------------------
487 # Miscellaneous targets and flag lists
488 # ------------------------------------
490 # The first rule in the file had better be this one. Don't put any above it.
491 # This lives here to allow makefile fragments to contain dependencies.
492 @default_target@:
494 #### host and target specific makefile fragments come in here.
495 @target_makefile_frag@
496 @alphaieee_frag@
497 @ospace_frag@
498 @host_makefile_frag@
501 # Flags to pass down to all sub-makes.
502 BASE_FLAGS_TO_PASS = \
503 "DESTDIR=$(DESTDIR)" \
504 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
505 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
506 "bindir=$(bindir)" \
507 "datadir=$(datadir)" \
508 "exec_prefix=$(exec_prefix)" \
509 "includedir=$(includedir)" \
510 "infodir=$(infodir)" \
511 "libdir=$(libdir)" \
512 "libexecdir=$(libexecdir)" \
513 "lispdir=$(lispdir)" \
514 "libstdcxx_incdir=$(libstdcxx_incdir)" \
515 "libsubdir=$(libsubdir)" \
516 "localstatedir=$(localstatedir)" \
517 "mandir=$(mandir)" \
518 "oldincludedir=$(oldincludedir)" \
519 "prefix=$(prefix)" \
520 "sbindir=$(sbindir)" \
521 "sharedstatedir=$(sharedstatedir)" \
522 "sysconfdir=$(sysconfdir)" \
523 "tooldir=$(tooldir)" \
524 "build_tooldir=$(build_tooldir)" \
525 "gxx_include_dir=$(gxx_include_dir)" \
526 "gcc_version=$(gcc_version)" \
527 "gcc_version_trigger=$(gcc_version_trigger)" \
528 "target_alias=$(target_alias)" \
529 "BISON=$(BISON)" \
530 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
531 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
532 "EXPECT=$(EXPECT)" \
533 "FLEX=$(FLEX)" \
534 "INSTALL=$(INSTALL)" \
535 "INSTALL_DATA=$(INSTALL_DATA)" \
536 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
537 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
538 "LEX=$(LEX)" \
539 "M4=$(M4)" \
540 "MAKE=$(MAKE)" \
541 "RUNTEST=$(RUNTEST)" \
542 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
543 "SHELL=$(SHELL)" \
544 "YACC=$(YACC)" \
545 "AR_FLAGS=$(AR_FLAGS)" \
546 "CFLAGS=$(CFLAGS)" \
547 "CXXFLAGS=$(CXXFLAGS)" \
548 "LDFLAGS=$(LDFLAGS)" \
549 "LIBCFLAGS=$(LIBCFLAGS)" \
550 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
551 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
552 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
553 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
554 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
555 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
556 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
557 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
558 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
559 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
560 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
561 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
562 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
563 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
564 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
565 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
566 "CONFIG_SHELL=$(SHELL)" \
567 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
569 # For any flags above that may contain shell code that varies from one
570 # target library to another. When doing recursive invocations of the
571 # top-level Makefile, we don't want the outer make to evaluate them,
572 # so we pass these variables down unchanged. They must not contain
573 # single nor double quotes.
574 RECURSE_FLAGS = \
575 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
576 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
578 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
580 # Flags to pass down to most sub-makes, in which we're building with
581 # the host environment.
582 EXTRA_HOST_FLAGS = \
583 'AR=$(AR)' \
584 'AS=$(AS)' \
585 'CC=$(CC)' \
586 'CXX=$(CXX)' \
587 'DLLTOOL=$(DLLTOOL)' \
588 'LD=$(LD)' \
589 'NM=$(NM)' \
590 'RANLIB=$(RANLIB)' \
591 'WINDRES=$(WINDRES)'
593 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
595 # Flags that are concerned with the location of the X11 include files
596 # and library files
598 # NOTE: until the top-level is getting the values via autoconf, it only
599 # causes problems to have this top-level Makefile overriding the autoconf-set
600 # values in child directories. Only variables that don't conflict with
601 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
603 X11_FLAGS_TO_PASS = \
604 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
605 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
607 # Flags to pass down to makes which are built with the target environment.
608 # The double $ decreases the length of the command line; the variables
609 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
610 EXTRA_TARGET_FLAGS = \
611 'AR=$$(AR_FOR_TARGET)' \
612 'AS=$$(AS_FOR_TARGET)' \
613 'CC=$$(CC_FOR_TARGET)' \
614 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
615 'CXX=$$(CXX_FOR_TARGET)' \
616 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
617 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
618 'LD=$$(LD_FOR_TARGET)' \
619 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
620 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
621 'NM=$$(NM_FOR_TARGET)' \
622 'RANLIB=$$(RANLIB_FOR_TARGET)' \
623 'WINDRES=$$(WINDRES_FOR_TARGET)'
625 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
627 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
628 # unfortunately needs the native compiler and the target ar and
629 # ranlib.
630 # If any variables are added here, they must be added to do-*, below.
631 # The BUILD_* variables are a special case, which are used for the gcc
632 # cross-building scheme.
633 EXTRA_GCC_FLAGS = \
634 'BUILD_PREFIX=$(BUILD_PREFIX)' \
635 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
636 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
637 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
638 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
643 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
644 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
645 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
646 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
648 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
650 .PHONY: configure-host
651 configure-host: \
652 maybe-configure-ash \
653 maybe-configure-autoconf \
654 maybe-configure-automake \
655 maybe-configure-bash \
656 maybe-configure-bfd \
657 maybe-configure-opcodes \
658 maybe-configure-binutils \
659 maybe-configure-bison \
660 maybe-configure-byacc \
661 maybe-configure-bzip2 \
662 maybe-configure-dejagnu \
663 maybe-configure-diff \
664 maybe-configure-dosutils \
665 maybe-configure-etc \
666 maybe-configure-fastjar \
667 maybe-configure-fileutils \
668 maybe-configure-findutils \
669 maybe-configure-find \
670 maybe-configure-fixincludes \
671 maybe-configure-flex \
672 maybe-configure-gas \
673 maybe-configure-gcc \
674 maybe-configure-gawk \
675 maybe-configure-gettext \
676 maybe-configure-gnuserv \
677 maybe-configure-gprof \
678 maybe-configure-gzip \
679 maybe-configure-hello \
680 maybe-configure-indent \
681 maybe-configure-intl \
682 maybe-configure-tcl \
683 maybe-configure-itcl \
684 maybe-configure-ld \
685 maybe-configure-libcpp \
686 maybe-configure-libgui \
687 maybe-configure-libiberty \
688 maybe-configure-libtool \
689 maybe-configure-m4 \
690 maybe-configure-make \
691 maybe-configure-mmalloc \
692 maybe-configure-patch \
693 maybe-configure-perl \
694 maybe-configure-prms \
695 maybe-configure-rcs \
696 maybe-configure-readline \
697 maybe-configure-release \
698 maybe-configure-recode \
699 maybe-configure-sed \
700 maybe-configure-send-pr \
701 maybe-configure-shellutils \
702 maybe-configure-sid \
703 maybe-configure-sim \
704 maybe-configure-tar \
705 maybe-configure-texinfo \
706 maybe-configure-textutils \
707 maybe-configure-time \
708 maybe-configure-uudecode \
709 maybe-configure-wdiff \
710 maybe-configure-zip \
711 maybe-configure-zlib \
712 maybe-configure-gdb \
713 maybe-configure-expect \
714 maybe-configure-guile \
715 maybe-configure-tk \
716 maybe-configure-libtermcap \
717 maybe-configure-utils
718 .PHONY: configure-target
719 configure-target: \
720 maybe-configure-target-libstdc++-v3 \
721 maybe-configure-target-libmudflap \
722 maybe-configure-target-newlib \
723 maybe-configure-target-libgfortran \
724 maybe-configure-target-libobjc \
725 maybe-configure-target-libtermcap \
726 maybe-configure-target-winsup \
727 maybe-configure-target-libgloss \
728 maybe-configure-target-libiberty \
729 maybe-configure-target-gperf \
730 maybe-configure-target-examples \
731 maybe-configure-target-libffi \
732 maybe-configure-target-libjava \
733 maybe-configure-target-zlib \
734 maybe-configure-target-boehm-gc \
735 maybe-configure-target-qthreads \
736 maybe-configure-target-rda \
737 maybe-configure-target-libada
739 # The target built for a native non-bootstrap build.
740 .PHONY: all
741 all: unstage all-host all-target stage
743 .PHONY: all-build
744 all-build: \
745 maybe-all-build-libiberty \
746 maybe-all-build-bison \
747 maybe-all-build-byacc \
748 maybe-all-build-flex \
749 maybe-all-build-m4 \
750 maybe-all-build-texinfo \
751 maybe-all-build-fixincludes
752 .PHONY: all-host
753 all-host: \
754 maybe-all-ash \
755 maybe-all-autoconf \
756 maybe-all-automake \
757 maybe-all-bash \
758 maybe-all-bfd \
759 maybe-all-opcodes \
760 maybe-all-binutils \
761 maybe-all-bison \
762 maybe-all-byacc \
763 maybe-all-bzip2 \
764 maybe-all-dejagnu \
765 maybe-all-diff \
766 maybe-all-dosutils \
767 maybe-all-etc \
768 maybe-all-fastjar \
769 maybe-all-fileutils \
770 maybe-all-findutils \
771 maybe-all-find \
772 maybe-all-fixincludes \
773 maybe-all-flex \
774 maybe-all-gas \
775 maybe-all-gcc \
776 maybe-all-gawk \
777 maybe-all-gettext \
778 maybe-all-gnuserv \
779 maybe-all-gprof \
780 maybe-all-gzip \
781 maybe-all-hello \
782 maybe-all-indent \
783 maybe-all-intl \
784 maybe-all-tcl \
785 maybe-all-itcl \
786 maybe-all-ld \
787 maybe-all-libcpp \
788 maybe-all-libgui \
789 maybe-all-libiberty \
790 maybe-all-libtool \
791 maybe-all-m4 \
792 maybe-all-make \
793 maybe-all-mmalloc \
794 maybe-all-patch \
795 maybe-all-perl \
796 maybe-all-prms \
797 maybe-all-rcs \
798 maybe-all-readline \
799 maybe-all-release \
800 maybe-all-recode \
801 maybe-all-sed \
802 maybe-all-send-pr \
803 maybe-all-shellutils \
804 maybe-all-sid \
805 maybe-all-sim \
806 maybe-all-tar \
807 maybe-all-texinfo \
808 maybe-all-textutils \
809 maybe-all-time \
810 maybe-all-uudecode \
811 maybe-all-wdiff \
812 maybe-all-zip \
813 maybe-all-zlib \
814 maybe-all-gdb \
815 maybe-all-expect \
816 maybe-all-guile \
817 maybe-all-tk \
818 maybe-all-libtermcap \
819 maybe-all-utils
820 .PHONY: all-target
821 all-target: \
822 maybe-all-target-libstdc++-v3 \
823 maybe-all-target-libmudflap \
824 maybe-all-target-newlib \
825 maybe-all-target-libgfortran \
826 maybe-all-target-libobjc \
827 maybe-all-target-libtermcap \
828 maybe-all-target-winsup \
829 maybe-all-target-libgloss \
830 maybe-all-target-libiberty \
831 maybe-all-target-gperf \
832 maybe-all-target-examples \
833 maybe-all-target-libffi \
834 maybe-all-target-libjava \
835 maybe-all-target-zlib \
836 maybe-all-target-boehm-gc \
837 maybe-all-target-qthreads \
838 maybe-all-target-rda \
839 maybe-all-target-libada
841 # Do a target for all the subdirectories. A ``make do-X'' will do a
842 # ``make X'' in all subdirectories (because, in general, there is a
843 # dependency (below) of X upon do-X, a ``make X'' will also do this,
844 # but it may do additional work as well).
846 .PHONY: do-info
847 do-info: unstage info-host info-target stage
849 .PHONY: info-host
850 info-host: \
851 maybe-info-ash \
852 maybe-info-autoconf \
853 maybe-info-automake \
854 maybe-info-bash \
855 maybe-info-bfd \
856 maybe-info-opcodes \
857 maybe-info-binutils \
858 maybe-info-bison \
859 maybe-info-byacc \
860 maybe-info-bzip2 \
861 maybe-info-dejagnu \
862 maybe-info-diff \
863 maybe-info-dosutils \
864 maybe-info-etc \
865 maybe-info-fastjar \
866 maybe-info-fileutils \
867 maybe-info-findutils \
868 maybe-info-find \
869 maybe-info-fixincludes \
870 maybe-info-flex \
871 maybe-info-gas \
872 maybe-info-gcc \
873 maybe-info-gawk \
874 maybe-info-gettext \
875 maybe-info-gnuserv \
876 maybe-info-gprof \
877 maybe-info-gzip \
878 maybe-info-hello \
879 maybe-info-indent \
880 maybe-info-intl \
881 maybe-info-tcl \
882 maybe-info-itcl \
883 maybe-info-ld \
884 maybe-info-libcpp \
885 maybe-info-libgui \
886 maybe-info-libiberty \
887 maybe-info-libtool \
888 maybe-info-m4 \
889 maybe-info-make \
890 maybe-info-mmalloc \
891 maybe-info-patch \
892 maybe-info-perl \
893 maybe-info-prms \
894 maybe-info-rcs \
895 maybe-info-readline \
896 maybe-info-release \
897 maybe-info-recode \
898 maybe-info-sed \
899 maybe-info-send-pr \
900 maybe-info-shellutils \
901 maybe-info-sid \
902 maybe-info-sim \
903 maybe-info-tar \
904 maybe-info-texinfo \
905 maybe-info-textutils \
906 maybe-info-time \
907 maybe-info-uudecode \
908 maybe-info-wdiff \
909 maybe-info-zip \
910 maybe-info-zlib \
911 maybe-info-gdb \
912 maybe-info-expect \
913 maybe-info-guile \
914 maybe-info-tk \
915 maybe-info-libtermcap \
916 maybe-info-utils
918 .PHONY: info-target
919 info-target: \
920 maybe-info-target-libstdc++-v3 \
921 maybe-info-target-libmudflap \
922 maybe-info-target-newlib \
923 maybe-info-target-libgfortran \
924 maybe-info-target-libobjc \
925 maybe-info-target-libtermcap \
926 maybe-info-target-winsup \
927 maybe-info-target-libgloss \
928 maybe-info-target-libiberty \
929 maybe-info-target-gperf \
930 maybe-info-target-examples \
931 maybe-info-target-libffi \
932 maybe-info-target-libjava \
933 maybe-info-target-zlib \
934 maybe-info-target-boehm-gc \
935 maybe-info-target-qthreads \
936 maybe-info-target-rda \
937 maybe-info-target-libada
939 .PHONY: do-dvi
940 do-dvi: unstage dvi-host dvi-target stage
942 .PHONY: dvi-host
943 dvi-host: \
944 maybe-dvi-ash \
945 maybe-dvi-autoconf \
946 maybe-dvi-automake \
947 maybe-dvi-bash \
948 maybe-dvi-bfd \
949 maybe-dvi-opcodes \
950 maybe-dvi-binutils \
951 maybe-dvi-bison \
952 maybe-dvi-byacc \
953 maybe-dvi-bzip2 \
954 maybe-dvi-dejagnu \
955 maybe-dvi-diff \
956 maybe-dvi-dosutils \
957 maybe-dvi-etc \
958 maybe-dvi-fastjar \
959 maybe-dvi-fileutils \
960 maybe-dvi-findutils \
961 maybe-dvi-find \
962 maybe-dvi-fixincludes \
963 maybe-dvi-flex \
964 maybe-dvi-gas \
965 maybe-dvi-gcc \
966 maybe-dvi-gawk \
967 maybe-dvi-gettext \
968 maybe-dvi-gnuserv \
969 maybe-dvi-gprof \
970 maybe-dvi-gzip \
971 maybe-dvi-hello \
972 maybe-dvi-indent \
973 maybe-dvi-intl \
974 maybe-dvi-tcl \
975 maybe-dvi-itcl \
976 maybe-dvi-ld \
977 maybe-dvi-libcpp \
978 maybe-dvi-libgui \
979 maybe-dvi-libiberty \
980 maybe-dvi-libtool \
981 maybe-dvi-m4 \
982 maybe-dvi-make \
983 maybe-dvi-mmalloc \
984 maybe-dvi-patch \
985 maybe-dvi-perl \
986 maybe-dvi-prms \
987 maybe-dvi-rcs \
988 maybe-dvi-readline \
989 maybe-dvi-release \
990 maybe-dvi-recode \
991 maybe-dvi-sed \
992 maybe-dvi-send-pr \
993 maybe-dvi-shellutils \
994 maybe-dvi-sid \
995 maybe-dvi-sim \
996 maybe-dvi-tar \
997 maybe-dvi-texinfo \
998 maybe-dvi-textutils \
999 maybe-dvi-time \
1000 maybe-dvi-uudecode \
1001 maybe-dvi-wdiff \
1002 maybe-dvi-zip \
1003 maybe-dvi-zlib \
1004 maybe-dvi-gdb \
1005 maybe-dvi-expect \
1006 maybe-dvi-guile \
1007 maybe-dvi-tk \
1008 maybe-dvi-libtermcap \
1009 maybe-dvi-utils
1011 .PHONY: dvi-target
1012 dvi-target: \
1013 maybe-dvi-target-libstdc++-v3 \
1014 maybe-dvi-target-libmudflap \
1015 maybe-dvi-target-newlib \
1016 maybe-dvi-target-libgfortran \
1017 maybe-dvi-target-libobjc \
1018 maybe-dvi-target-libtermcap \
1019 maybe-dvi-target-winsup \
1020 maybe-dvi-target-libgloss \
1021 maybe-dvi-target-libiberty \
1022 maybe-dvi-target-gperf \
1023 maybe-dvi-target-examples \
1024 maybe-dvi-target-libffi \
1025 maybe-dvi-target-libjava \
1026 maybe-dvi-target-zlib \
1027 maybe-dvi-target-boehm-gc \
1028 maybe-dvi-target-qthreads \
1029 maybe-dvi-target-rda \
1030 maybe-dvi-target-libada
1032 .PHONY: do-TAGS
1033 do-TAGS: unstage TAGS-host TAGS-target stage
1035 .PHONY: TAGS-host
1036 TAGS-host: \
1037 maybe-TAGS-ash \
1038 maybe-TAGS-autoconf \
1039 maybe-TAGS-automake \
1040 maybe-TAGS-bash \
1041 maybe-TAGS-bfd \
1042 maybe-TAGS-opcodes \
1043 maybe-TAGS-binutils \
1044 maybe-TAGS-bison \
1045 maybe-TAGS-byacc \
1046 maybe-TAGS-bzip2 \
1047 maybe-TAGS-dejagnu \
1048 maybe-TAGS-diff \
1049 maybe-TAGS-dosutils \
1050 maybe-TAGS-etc \
1051 maybe-TAGS-fastjar \
1052 maybe-TAGS-fileutils \
1053 maybe-TAGS-findutils \
1054 maybe-TAGS-find \
1055 maybe-TAGS-fixincludes \
1056 maybe-TAGS-flex \
1057 maybe-TAGS-gas \
1058 maybe-TAGS-gcc \
1059 maybe-TAGS-gawk \
1060 maybe-TAGS-gettext \
1061 maybe-TAGS-gnuserv \
1062 maybe-TAGS-gprof \
1063 maybe-TAGS-gzip \
1064 maybe-TAGS-hello \
1065 maybe-TAGS-indent \
1066 maybe-TAGS-intl \
1067 maybe-TAGS-tcl \
1068 maybe-TAGS-itcl \
1069 maybe-TAGS-ld \
1070 maybe-TAGS-libcpp \
1071 maybe-TAGS-libgui \
1072 maybe-TAGS-libiberty \
1073 maybe-TAGS-libtool \
1074 maybe-TAGS-m4 \
1075 maybe-TAGS-make \
1076 maybe-TAGS-mmalloc \
1077 maybe-TAGS-patch \
1078 maybe-TAGS-perl \
1079 maybe-TAGS-prms \
1080 maybe-TAGS-rcs \
1081 maybe-TAGS-readline \
1082 maybe-TAGS-release \
1083 maybe-TAGS-recode \
1084 maybe-TAGS-sed \
1085 maybe-TAGS-send-pr \
1086 maybe-TAGS-shellutils \
1087 maybe-TAGS-sid \
1088 maybe-TAGS-sim \
1089 maybe-TAGS-tar \
1090 maybe-TAGS-texinfo \
1091 maybe-TAGS-textutils \
1092 maybe-TAGS-time \
1093 maybe-TAGS-uudecode \
1094 maybe-TAGS-wdiff \
1095 maybe-TAGS-zip \
1096 maybe-TAGS-zlib \
1097 maybe-TAGS-gdb \
1098 maybe-TAGS-expect \
1099 maybe-TAGS-guile \
1100 maybe-TAGS-tk \
1101 maybe-TAGS-libtermcap \
1102 maybe-TAGS-utils
1104 .PHONY: TAGS-target
1105 TAGS-target: \
1106 maybe-TAGS-target-libstdc++-v3 \
1107 maybe-TAGS-target-libmudflap \
1108 maybe-TAGS-target-newlib \
1109 maybe-TAGS-target-libgfortran \
1110 maybe-TAGS-target-libobjc \
1111 maybe-TAGS-target-libtermcap \
1112 maybe-TAGS-target-winsup \
1113 maybe-TAGS-target-libgloss \
1114 maybe-TAGS-target-libiberty \
1115 maybe-TAGS-target-gperf \
1116 maybe-TAGS-target-examples \
1117 maybe-TAGS-target-libffi \
1118 maybe-TAGS-target-libjava \
1119 maybe-TAGS-target-zlib \
1120 maybe-TAGS-target-boehm-gc \
1121 maybe-TAGS-target-qthreads \
1122 maybe-TAGS-target-rda \
1123 maybe-TAGS-target-libada
1125 .PHONY: do-install-info
1126 do-install-info: unstage install-info-host install-info-target stage
1128 .PHONY: install-info-host
1129 install-info-host: \
1130 maybe-install-info-ash \
1131 maybe-install-info-autoconf \
1132 maybe-install-info-automake \
1133 maybe-install-info-bash \
1134 maybe-install-info-bfd \
1135 maybe-install-info-opcodes \
1136 maybe-install-info-binutils \
1137 maybe-install-info-bison \
1138 maybe-install-info-byacc \
1139 maybe-install-info-bzip2 \
1140 maybe-install-info-dejagnu \
1141 maybe-install-info-diff \
1142 maybe-install-info-dosutils \
1143 maybe-install-info-etc \
1144 maybe-install-info-fastjar \
1145 maybe-install-info-fileutils \
1146 maybe-install-info-findutils \
1147 maybe-install-info-find \
1148 maybe-install-info-fixincludes \
1149 maybe-install-info-flex \
1150 maybe-install-info-gas \
1151 maybe-install-info-gcc \
1152 maybe-install-info-gawk \
1153 maybe-install-info-gettext \
1154 maybe-install-info-gnuserv \
1155 maybe-install-info-gprof \
1156 maybe-install-info-gzip \
1157 maybe-install-info-hello \
1158 maybe-install-info-indent \
1159 maybe-install-info-intl \
1160 maybe-install-info-tcl \
1161 maybe-install-info-itcl \
1162 maybe-install-info-ld \
1163 maybe-install-info-libcpp \
1164 maybe-install-info-libgui \
1165 maybe-install-info-libiberty \
1166 maybe-install-info-libtool \
1167 maybe-install-info-m4 \
1168 maybe-install-info-make \
1169 maybe-install-info-mmalloc \
1170 maybe-install-info-patch \
1171 maybe-install-info-perl \
1172 maybe-install-info-prms \
1173 maybe-install-info-rcs \
1174 maybe-install-info-readline \
1175 maybe-install-info-release \
1176 maybe-install-info-recode \
1177 maybe-install-info-sed \
1178 maybe-install-info-send-pr \
1179 maybe-install-info-shellutils \
1180 maybe-install-info-sid \
1181 maybe-install-info-sim \
1182 maybe-install-info-tar \
1183 maybe-install-info-texinfo \
1184 maybe-install-info-textutils \
1185 maybe-install-info-time \
1186 maybe-install-info-uudecode \
1187 maybe-install-info-wdiff \
1188 maybe-install-info-zip \
1189 maybe-install-info-zlib \
1190 maybe-install-info-gdb \
1191 maybe-install-info-expect \
1192 maybe-install-info-guile \
1193 maybe-install-info-tk \
1194 maybe-install-info-libtermcap \
1195 maybe-install-info-utils
1197 .PHONY: install-info-target
1198 install-info-target: \
1199 maybe-install-info-target-libstdc++-v3 \
1200 maybe-install-info-target-libmudflap \
1201 maybe-install-info-target-newlib \
1202 maybe-install-info-target-libgfortran \
1203 maybe-install-info-target-libobjc \
1204 maybe-install-info-target-libtermcap \
1205 maybe-install-info-target-winsup \
1206 maybe-install-info-target-libgloss \
1207 maybe-install-info-target-libiberty \
1208 maybe-install-info-target-gperf \
1209 maybe-install-info-target-examples \
1210 maybe-install-info-target-libffi \
1211 maybe-install-info-target-libjava \
1212 maybe-install-info-target-zlib \
1213 maybe-install-info-target-boehm-gc \
1214 maybe-install-info-target-qthreads \
1215 maybe-install-info-target-rda \
1216 maybe-install-info-target-libada
1218 .PHONY: do-installcheck
1219 do-installcheck: unstage installcheck-host installcheck-target stage
1221 .PHONY: installcheck-host
1222 installcheck-host: \
1223 maybe-installcheck-ash \
1224 maybe-installcheck-autoconf \
1225 maybe-installcheck-automake \
1226 maybe-installcheck-bash \
1227 maybe-installcheck-bfd \
1228 maybe-installcheck-opcodes \
1229 maybe-installcheck-binutils \
1230 maybe-installcheck-bison \
1231 maybe-installcheck-byacc \
1232 maybe-installcheck-bzip2 \
1233 maybe-installcheck-dejagnu \
1234 maybe-installcheck-diff \
1235 maybe-installcheck-dosutils \
1236 maybe-installcheck-etc \
1237 maybe-installcheck-fastjar \
1238 maybe-installcheck-fileutils \
1239 maybe-installcheck-findutils \
1240 maybe-installcheck-find \
1241 maybe-installcheck-fixincludes \
1242 maybe-installcheck-flex \
1243 maybe-installcheck-gas \
1244 maybe-installcheck-gcc \
1245 maybe-installcheck-gawk \
1246 maybe-installcheck-gettext \
1247 maybe-installcheck-gnuserv \
1248 maybe-installcheck-gprof \
1249 maybe-installcheck-gzip \
1250 maybe-installcheck-hello \
1251 maybe-installcheck-indent \
1252 maybe-installcheck-intl \
1253 maybe-installcheck-tcl \
1254 maybe-installcheck-itcl \
1255 maybe-installcheck-ld \
1256 maybe-installcheck-libcpp \
1257 maybe-installcheck-libgui \
1258 maybe-installcheck-libiberty \
1259 maybe-installcheck-libtool \
1260 maybe-installcheck-m4 \
1261 maybe-installcheck-make \
1262 maybe-installcheck-mmalloc \
1263 maybe-installcheck-patch \
1264 maybe-installcheck-perl \
1265 maybe-installcheck-prms \
1266 maybe-installcheck-rcs \
1267 maybe-installcheck-readline \
1268 maybe-installcheck-release \
1269 maybe-installcheck-recode \
1270 maybe-installcheck-sed \
1271 maybe-installcheck-send-pr \
1272 maybe-installcheck-shellutils \
1273 maybe-installcheck-sid \
1274 maybe-installcheck-sim \
1275 maybe-installcheck-tar \
1276 maybe-installcheck-texinfo \
1277 maybe-installcheck-textutils \
1278 maybe-installcheck-time \
1279 maybe-installcheck-uudecode \
1280 maybe-installcheck-wdiff \
1281 maybe-installcheck-zip \
1282 maybe-installcheck-zlib \
1283 maybe-installcheck-gdb \
1284 maybe-installcheck-expect \
1285 maybe-installcheck-guile \
1286 maybe-installcheck-tk \
1287 maybe-installcheck-libtermcap \
1288 maybe-installcheck-utils
1290 .PHONY: installcheck-target
1291 installcheck-target: \
1292 maybe-installcheck-target-libstdc++-v3 \
1293 maybe-installcheck-target-libmudflap \
1294 maybe-installcheck-target-newlib \
1295 maybe-installcheck-target-libgfortran \
1296 maybe-installcheck-target-libobjc \
1297 maybe-installcheck-target-libtermcap \
1298 maybe-installcheck-target-winsup \
1299 maybe-installcheck-target-libgloss \
1300 maybe-installcheck-target-libiberty \
1301 maybe-installcheck-target-gperf \
1302 maybe-installcheck-target-examples \
1303 maybe-installcheck-target-libffi \
1304 maybe-installcheck-target-libjava \
1305 maybe-installcheck-target-zlib \
1306 maybe-installcheck-target-boehm-gc \
1307 maybe-installcheck-target-qthreads \
1308 maybe-installcheck-target-rda \
1309 maybe-installcheck-target-libada
1311 .PHONY: do-mostlyclean
1312 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1314 .PHONY: mostlyclean-host
1315 mostlyclean-host: \
1316 maybe-mostlyclean-ash \
1317 maybe-mostlyclean-autoconf \
1318 maybe-mostlyclean-automake \
1319 maybe-mostlyclean-bash \
1320 maybe-mostlyclean-bfd \
1321 maybe-mostlyclean-opcodes \
1322 maybe-mostlyclean-binutils \
1323 maybe-mostlyclean-bison \
1324 maybe-mostlyclean-byacc \
1325 maybe-mostlyclean-bzip2 \
1326 maybe-mostlyclean-dejagnu \
1327 maybe-mostlyclean-diff \
1328 maybe-mostlyclean-dosutils \
1329 maybe-mostlyclean-etc \
1330 maybe-mostlyclean-fastjar \
1331 maybe-mostlyclean-fileutils \
1332 maybe-mostlyclean-findutils \
1333 maybe-mostlyclean-find \
1334 maybe-mostlyclean-fixincludes \
1335 maybe-mostlyclean-flex \
1336 maybe-mostlyclean-gas \
1337 maybe-mostlyclean-gcc \
1338 maybe-mostlyclean-gawk \
1339 maybe-mostlyclean-gettext \
1340 maybe-mostlyclean-gnuserv \
1341 maybe-mostlyclean-gprof \
1342 maybe-mostlyclean-gzip \
1343 maybe-mostlyclean-hello \
1344 maybe-mostlyclean-indent \
1345 maybe-mostlyclean-intl \
1346 maybe-mostlyclean-tcl \
1347 maybe-mostlyclean-itcl \
1348 maybe-mostlyclean-ld \
1349 maybe-mostlyclean-libcpp \
1350 maybe-mostlyclean-libgui \
1351 maybe-mostlyclean-libiberty \
1352 maybe-mostlyclean-libtool \
1353 maybe-mostlyclean-m4 \
1354 maybe-mostlyclean-make \
1355 maybe-mostlyclean-mmalloc \
1356 maybe-mostlyclean-patch \
1357 maybe-mostlyclean-perl \
1358 maybe-mostlyclean-prms \
1359 maybe-mostlyclean-rcs \
1360 maybe-mostlyclean-readline \
1361 maybe-mostlyclean-release \
1362 maybe-mostlyclean-recode \
1363 maybe-mostlyclean-sed \
1364 maybe-mostlyclean-send-pr \
1365 maybe-mostlyclean-shellutils \
1366 maybe-mostlyclean-sid \
1367 maybe-mostlyclean-sim \
1368 maybe-mostlyclean-tar \
1369 maybe-mostlyclean-texinfo \
1370 maybe-mostlyclean-textutils \
1371 maybe-mostlyclean-time \
1372 maybe-mostlyclean-uudecode \
1373 maybe-mostlyclean-wdiff \
1374 maybe-mostlyclean-zip \
1375 maybe-mostlyclean-zlib \
1376 maybe-mostlyclean-gdb \
1377 maybe-mostlyclean-expect \
1378 maybe-mostlyclean-guile \
1379 maybe-mostlyclean-tk \
1380 maybe-mostlyclean-libtermcap \
1381 maybe-mostlyclean-utils
1383 .PHONY: mostlyclean-target
1384 mostlyclean-target: \
1385 maybe-mostlyclean-target-libstdc++-v3 \
1386 maybe-mostlyclean-target-libmudflap \
1387 maybe-mostlyclean-target-newlib \
1388 maybe-mostlyclean-target-libgfortran \
1389 maybe-mostlyclean-target-libobjc \
1390 maybe-mostlyclean-target-libtermcap \
1391 maybe-mostlyclean-target-winsup \
1392 maybe-mostlyclean-target-libgloss \
1393 maybe-mostlyclean-target-libiberty \
1394 maybe-mostlyclean-target-gperf \
1395 maybe-mostlyclean-target-examples \
1396 maybe-mostlyclean-target-libffi \
1397 maybe-mostlyclean-target-libjava \
1398 maybe-mostlyclean-target-zlib \
1399 maybe-mostlyclean-target-boehm-gc \
1400 maybe-mostlyclean-target-qthreads \
1401 maybe-mostlyclean-target-rda \
1402 maybe-mostlyclean-target-libada
1404 .PHONY: do-clean
1405 do-clean: unstage clean-host clean-target stage
1407 .PHONY: clean-host
1408 clean-host: \
1409 maybe-clean-ash \
1410 maybe-clean-autoconf \
1411 maybe-clean-automake \
1412 maybe-clean-bash \
1413 maybe-clean-bfd \
1414 maybe-clean-opcodes \
1415 maybe-clean-binutils \
1416 maybe-clean-bison \
1417 maybe-clean-byacc \
1418 maybe-clean-bzip2 \
1419 maybe-clean-dejagnu \
1420 maybe-clean-diff \
1421 maybe-clean-dosutils \
1422 maybe-clean-etc \
1423 maybe-clean-fastjar \
1424 maybe-clean-fileutils \
1425 maybe-clean-findutils \
1426 maybe-clean-find \
1427 maybe-clean-fixincludes \
1428 maybe-clean-flex \
1429 maybe-clean-gas \
1430 maybe-clean-gcc \
1431 maybe-clean-gawk \
1432 maybe-clean-gettext \
1433 maybe-clean-gnuserv \
1434 maybe-clean-gprof \
1435 maybe-clean-gzip \
1436 maybe-clean-hello \
1437 maybe-clean-indent \
1438 maybe-clean-intl \
1439 maybe-clean-tcl \
1440 maybe-clean-itcl \
1441 maybe-clean-ld \
1442 maybe-clean-libcpp \
1443 maybe-clean-libgui \
1444 maybe-clean-libiberty \
1445 maybe-clean-libtool \
1446 maybe-clean-m4 \
1447 maybe-clean-make \
1448 maybe-clean-mmalloc \
1449 maybe-clean-patch \
1450 maybe-clean-perl \
1451 maybe-clean-prms \
1452 maybe-clean-rcs \
1453 maybe-clean-readline \
1454 maybe-clean-release \
1455 maybe-clean-recode \
1456 maybe-clean-sed \
1457 maybe-clean-send-pr \
1458 maybe-clean-shellutils \
1459 maybe-clean-sid \
1460 maybe-clean-sim \
1461 maybe-clean-tar \
1462 maybe-clean-texinfo \
1463 maybe-clean-textutils \
1464 maybe-clean-time \
1465 maybe-clean-uudecode \
1466 maybe-clean-wdiff \
1467 maybe-clean-zip \
1468 maybe-clean-zlib \
1469 maybe-clean-gdb \
1470 maybe-clean-expect \
1471 maybe-clean-guile \
1472 maybe-clean-tk \
1473 maybe-clean-libtermcap \
1474 maybe-clean-utils
1476 .PHONY: clean-target
1477 clean-target: \
1478 maybe-clean-target-libstdc++-v3 \
1479 maybe-clean-target-libmudflap \
1480 maybe-clean-target-newlib \
1481 maybe-clean-target-libgfortran \
1482 maybe-clean-target-libobjc \
1483 maybe-clean-target-libtermcap \
1484 maybe-clean-target-winsup \
1485 maybe-clean-target-libgloss \
1486 maybe-clean-target-libiberty \
1487 maybe-clean-target-gperf \
1488 maybe-clean-target-examples \
1489 maybe-clean-target-libffi \
1490 maybe-clean-target-libjava \
1491 maybe-clean-target-zlib \
1492 maybe-clean-target-boehm-gc \
1493 maybe-clean-target-qthreads \
1494 maybe-clean-target-rda \
1495 maybe-clean-target-libada
1497 .PHONY: do-distclean
1498 do-distclean: unstage distclean-host distclean-target stage
1500 .PHONY: distclean-host
1501 distclean-host: \
1502 maybe-distclean-ash \
1503 maybe-distclean-autoconf \
1504 maybe-distclean-automake \
1505 maybe-distclean-bash \
1506 maybe-distclean-bfd \
1507 maybe-distclean-opcodes \
1508 maybe-distclean-binutils \
1509 maybe-distclean-bison \
1510 maybe-distclean-byacc \
1511 maybe-distclean-bzip2 \
1512 maybe-distclean-dejagnu \
1513 maybe-distclean-diff \
1514 maybe-distclean-dosutils \
1515 maybe-distclean-etc \
1516 maybe-distclean-fastjar \
1517 maybe-distclean-fileutils \
1518 maybe-distclean-findutils \
1519 maybe-distclean-find \
1520 maybe-distclean-fixincludes \
1521 maybe-distclean-flex \
1522 maybe-distclean-gas \
1523 maybe-distclean-gcc \
1524 maybe-distclean-gawk \
1525 maybe-distclean-gettext \
1526 maybe-distclean-gnuserv \
1527 maybe-distclean-gprof \
1528 maybe-distclean-gzip \
1529 maybe-distclean-hello \
1530 maybe-distclean-indent \
1531 maybe-distclean-intl \
1532 maybe-distclean-tcl \
1533 maybe-distclean-itcl \
1534 maybe-distclean-ld \
1535 maybe-distclean-libcpp \
1536 maybe-distclean-libgui \
1537 maybe-distclean-libiberty \
1538 maybe-distclean-libtool \
1539 maybe-distclean-m4 \
1540 maybe-distclean-make \
1541 maybe-distclean-mmalloc \
1542 maybe-distclean-patch \
1543 maybe-distclean-perl \
1544 maybe-distclean-prms \
1545 maybe-distclean-rcs \
1546 maybe-distclean-readline \
1547 maybe-distclean-release \
1548 maybe-distclean-recode \
1549 maybe-distclean-sed \
1550 maybe-distclean-send-pr \
1551 maybe-distclean-shellutils \
1552 maybe-distclean-sid \
1553 maybe-distclean-sim \
1554 maybe-distclean-tar \
1555 maybe-distclean-texinfo \
1556 maybe-distclean-textutils \
1557 maybe-distclean-time \
1558 maybe-distclean-uudecode \
1559 maybe-distclean-wdiff \
1560 maybe-distclean-zip \
1561 maybe-distclean-zlib \
1562 maybe-distclean-gdb \
1563 maybe-distclean-expect \
1564 maybe-distclean-guile \
1565 maybe-distclean-tk \
1566 maybe-distclean-libtermcap \
1567 maybe-distclean-utils
1569 .PHONY: distclean-target
1570 distclean-target: \
1571 maybe-distclean-target-libstdc++-v3 \
1572 maybe-distclean-target-libmudflap \
1573 maybe-distclean-target-newlib \
1574 maybe-distclean-target-libgfortran \
1575 maybe-distclean-target-libobjc \
1576 maybe-distclean-target-libtermcap \
1577 maybe-distclean-target-winsup \
1578 maybe-distclean-target-libgloss \
1579 maybe-distclean-target-libiberty \
1580 maybe-distclean-target-gperf \
1581 maybe-distclean-target-examples \
1582 maybe-distclean-target-libffi \
1583 maybe-distclean-target-libjava \
1584 maybe-distclean-target-zlib \
1585 maybe-distclean-target-boehm-gc \
1586 maybe-distclean-target-qthreads \
1587 maybe-distclean-target-rda \
1588 maybe-distclean-target-libada
1590 .PHONY: do-maintainer-clean
1591 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1593 .PHONY: maintainer-clean-host
1594 maintainer-clean-host: \
1595 maybe-maintainer-clean-ash \
1596 maybe-maintainer-clean-autoconf \
1597 maybe-maintainer-clean-automake \
1598 maybe-maintainer-clean-bash \
1599 maybe-maintainer-clean-bfd \
1600 maybe-maintainer-clean-opcodes \
1601 maybe-maintainer-clean-binutils \
1602 maybe-maintainer-clean-bison \
1603 maybe-maintainer-clean-byacc \
1604 maybe-maintainer-clean-bzip2 \
1605 maybe-maintainer-clean-dejagnu \
1606 maybe-maintainer-clean-diff \
1607 maybe-maintainer-clean-dosutils \
1608 maybe-maintainer-clean-etc \
1609 maybe-maintainer-clean-fastjar \
1610 maybe-maintainer-clean-fileutils \
1611 maybe-maintainer-clean-findutils \
1612 maybe-maintainer-clean-find \
1613 maybe-maintainer-clean-fixincludes \
1614 maybe-maintainer-clean-flex \
1615 maybe-maintainer-clean-gas \
1616 maybe-maintainer-clean-gcc \
1617 maybe-maintainer-clean-gawk \
1618 maybe-maintainer-clean-gettext \
1619 maybe-maintainer-clean-gnuserv \
1620 maybe-maintainer-clean-gprof \
1621 maybe-maintainer-clean-gzip \
1622 maybe-maintainer-clean-hello \
1623 maybe-maintainer-clean-indent \
1624 maybe-maintainer-clean-intl \
1625 maybe-maintainer-clean-tcl \
1626 maybe-maintainer-clean-itcl \
1627 maybe-maintainer-clean-ld \
1628 maybe-maintainer-clean-libcpp \
1629 maybe-maintainer-clean-libgui \
1630 maybe-maintainer-clean-libiberty \
1631 maybe-maintainer-clean-libtool \
1632 maybe-maintainer-clean-m4 \
1633 maybe-maintainer-clean-make \
1634 maybe-maintainer-clean-mmalloc \
1635 maybe-maintainer-clean-patch \
1636 maybe-maintainer-clean-perl \
1637 maybe-maintainer-clean-prms \
1638 maybe-maintainer-clean-rcs \
1639 maybe-maintainer-clean-readline \
1640 maybe-maintainer-clean-release \
1641 maybe-maintainer-clean-recode \
1642 maybe-maintainer-clean-sed \
1643 maybe-maintainer-clean-send-pr \
1644 maybe-maintainer-clean-shellutils \
1645 maybe-maintainer-clean-sid \
1646 maybe-maintainer-clean-sim \
1647 maybe-maintainer-clean-tar \
1648 maybe-maintainer-clean-texinfo \
1649 maybe-maintainer-clean-textutils \
1650 maybe-maintainer-clean-time \
1651 maybe-maintainer-clean-uudecode \
1652 maybe-maintainer-clean-wdiff \
1653 maybe-maintainer-clean-zip \
1654 maybe-maintainer-clean-zlib \
1655 maybe-maintainer-clean-gdb \
1656 maybe-maintainer-clean-expect \
1657 maybe-maintainer-clean-guile \
1658 maybe-maintainer-clean-tk \
1659 maybe-maintainer-clean-libtermcap \
1660 maybe-maintainer-clean-utils
1662 .PHONY: maintainer-clean-target
1663 maintainer-clean-target: \
1664 maybe-maintainer-clean-target-libstdc++-v3 \
1665 maybe-maintainer-clean-target-libmudflap \
1666 maybe-maintainer-clean-target-newlib \
1667 maybe-maintainer-clean-target-libgfortran \
1668 maybe-maintainer-clean-target-libobjc \
1669 maybe-maintainer-clean-target-libtermcap \
1670 maybe-maintainer-clean-target-winsup \
1671 maybe-maintainer-clean-target-libgloss \
1672 maybe-maintainer-clean-target-libiberty \
1673 maybe-maintainer-clean-target-gperf \
1674 maybe-maintainer-clean-target-examples \
1675 maybe-maintainer-clean-target-libffi \
1676 maybe-maintainer-clean-target-libjava \
1677 maybe-maintainer-clean-target-zlib \
1678 maybe-maintainer-clean-target-boehm-gc \
1679 maybe-maintainer-clean-target-qthreads \
1680 maybe-maintainer-clean-target-rda \
1681 maybe-maintainer-clean-target-libada
1684 # Here are the targets which correspond to the do-X targets.
1686 .PHONY: info installcheck dvi install-info
1687 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1688 .PHONY: local-clean local-distclean local-maintainer-clean
1689 info: do-info
1690 installcheck: do-installcheck
1691 dvi: do-dvi
1693 # Make sure makeinfo is built before we do a `make info', if we're
1694 # in fact building texinfo.
1695 do-info: maybe-all-texinfo
1697 install-info: do-install-info dir.info
1698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1699 if [ -f dir.info ] ; then \
1700 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1701 else true ; fi
1703 local-clean:
1704 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1706 local-distclean:
1707 -rm -f Makefile config.status config.cache mh-frag mt-frag
1708 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1709 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1710 rm -rf $(TARGET_SUBDIR); \
1711 else true; fi
1712 -rm -rf $(BUILD_SUBDIR)
1713 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1714 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1715 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1716 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1717 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1719 local-maintainer-clean:
1720 @echo "This command is intended for maintainers to use;"
1721 @echo "it deletes files that may require special tools to rebuild."
1723 clean: do-clean local-clean
1724 mostlyclean: do-mostlyclean local-clean
1725 distclean: do-distclean local-clean local-distclean
1726 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1727 maintainer-clean: local-distclean
1728 realclean: maintainer-clean
1730 # Extra dependency for clean-target, owing to the mixed nature of gcc
1731 clean-target: clean-target-libgcc
1732 clean-target-libgcc:
1733 test ! -d gcc/libgcc || \
1734 (cd gcc/libgcc && find . -type d -print) | \
1735 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1736 -rm -rf gcc/libgcc
1738 # Check target.
1740 .PHONY: check do-check
1741 check: do-check
1743 # Only include modules actually being configured and built.
1744 do-check: unstage \
1745 maybe-check-ash \
1746 maybe-check-autoconf \
1747 maybe-check-automake \
1748 maybe-check-bash \
1749 maybe-check-bfd \
1750 maybe-check-opcodes \
1751 maybe-check-binutils \
1752 maybe-check-bison \
1753 maybe-check-byacc \
1754 maybe-check-bzip2 \
1755 maybe-check-dejagnu \
1756 maybe-check-diff \
1757 maybe-check-dosutils \
1758 maybe-check-etc \
1759 maybe-check-fastjar \
1760 maybe-check-fileutils \
1761 maybe-check-findutils \
1762 maybe-check-find \
1763 maybe-check-fixincludes \
1764 maybe-check-flex \
1765 maybe-check-gas \
1766 maybe-check-gcc \
1767 maybe-check-gawk \
1768 maybe-check-gettext \
1769 maybe-check-gnuserv \
1770 maybe-check-gprof \
1771 maybe-check-gzip \
1772 maybe-check-hello \
1773 maybe-check-indent \
1774 maybe-check-intl \
1775 maybe-check-tcl \
1776 maybe-check-itcl \
1777 maybe-check-ld \
1778 maybe-check-libcpp \
1779 maybe-check-libgui \
1780 maybe-check-libiberty \
1781 maybe-check-libtool \
1782 maybe-check-m4 \
1783 maybe-check-make \
1784 maybe-check-mmalloc \
1785 maybe-check-patch \
1786 maybe-check-perl \
1787 maybe-check-prms \
1788 maybe-check-rcs \
1789 maybe-check-readline \
1790 maybe-check-release \
1791 maybe-check-recode \
1792 maybe-check-sed \
1793 maybe-check-send-pr \
1794 maybe-check-shellutils \
1795 maybe-check-sid \
1796 maybe-check-sim \
1797 maybe-check-tar \
1798 maybe-check-texinfo \
1799 maybe-check-textutils \
1800 maybe-check-time \
1801 maybe-check-uudecode \
1802 maybe-check-wdiff \
1803 maybe-check-zip \
1804 maybe-check-zlib \
1805 maybe-check-gdb \
1806 maybe-check-expect \
1807 maybe-check-guile \
1808 maybe-check-tk \
1809 maybe-check-libtermcap \
1810 maybe-check-utils \
1811 maybe-check-target-libstdc++-v3 \
1812 maybe-check-target-libmudflap \
1813 maybe-check-target-newlib \
1814 maybe-check-target-libgfortran \
1815 maybe-check-target-libobjc \
1816 maybe-check-target-libtermcap \
1817 maybe-check-target-winsup \
1818 maybe-check-target-libgloss \
1819 maybe-check-target-libiberty \
1820 maybe-check-target-gperf \
1821 maybe-check-target-examples \
1822 maybe-check-target-libffi \
1823 maybe-check-target-libjava \
1824 maybe-check-target-zlib \
1825 maybe-check-target-boehm-gc \
1826 maybe-check-target-qthreads \
1827 maybe-check-target-rda \
1828 maybe-check-target-libada stage
1830 # Automated reporting of test results.
1832 warning.log: build.log
1833 $(srcdir)/contrib/warn_summary build.log > $@
1835 mail-report.log:
1836 if test x'$(BOOT_CFLAGS)' != x''; then \
1837 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1838 fi; \
1839 $(srcdir)/contrib/test_summary -t >$@
1840 chmod +x $@
1841 echo If you really want to send e-mail, run ./$@ now
1843 mail-report-with-warnings.log: warning.log
1844 if test x'$(BOOT_CFLAGS)' != x''; then \
1845 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1846 fi; \
1847 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1848 chmod +x $@
1849 echo If you really want to send e-mail, run ./$@ now
1851 # Installation targets.
1853 .PHONY: install uninstall
1854 install: installdirs install-host install-target
1856 .PHONY: install-host-nogcc
1857 install-host-nogcc: \
1858 maybe-install-ash \
1859 maybe-install-autoconf \
1860 maybe-install-automake \
1861 maybe-install-bash \
1862 maybe-install-bfd \
1863 maybe-install-opcodes \
1864 maybe-install-binutils \
1865 maybe-install-bison \
1866 maybe-install-byacc \
1867 maybe-install-bzip2 \
1868 maybe-install-dejagnu \
1869 maybe-install-diff \
1870 maybe-install-dosutils \
1871 maybe-install-etc \
1872 maybe-install-fastjar \
1873 maybe-install-fileutils \
1874 maybe-install-findutils \
1875 maybe-install-find \
1876 maybe-install-fixincludes \
1877 maybe-install-flex \
1878 maybe-install-gas \
1879 maybe-install-gawk \
1880 maybe-install-gettext \
1881 maybe-install-gnuserv \
1882 maybe-install-gprof \
1883 maybe-install-gzip \
1884 maybe-install-hello \
1885 maybe-install-indent \
1886 maybe-install-intl \
1887 maybe-install-tcl \
1888 maybe-install-itcl \
1889 maybe-install-ld \
1890 maybe-install-libcpp \
1891 maybe-install-libgui \
1892 maybe-install-libiberty \
1893 maybe-install-libtool \
1894 maybe-install-m4 \
1895 maybe-install-make \
1896 maybe-install-mmalloc \
1897 maybe-install-patch \
1898 maybe-install-perl \
1899 maybe-install-prms \
1900 maybe-install-rcs \
1901 maybe-install-readline \
1902 maybe-install-release \
1903 maybe-install-recode \
1904 maybe-install-sed \
1905 maybe-install-send-pr \
1906 maybe-install-shellutils \
1907 maybe-install-sid \
1908 maybe-install-sim \
1909 maybe-install-tar \
1910 maybe-install-texinfo \
1911 maybe-install-textutils \
1912 maybe-install-time \
1913 maybe-install-uudecode \
1914 maybe-install-wdiff \
1915 maybe-install-zip \
1916 maybe-install-zlib \
1917 maybe-install-gdb \
1918 maybe-install-expect \
1919 maybe-install-guile \
1920 maybe-install-tk \
1921 maybe-install-libtermcap \
1922 maybe-install-utils
1924 .PHONY: install-host
1925 install-host: \
1926 maybe-install-ash \
1927 maybe-install-autoconf \
1928 maybe-install-automake \
1929 maybe-install-bash \
1930 maybe-install-bfd \
1931 maybe-install-opcodes \
1932 maybe-install-binutils \
1933 maybe-install-bison \
1934 maybe-install-byacc \
1935 maybe-install-bzip2 \
1936 maybe-install-dejagnu \
1937 maybe-install-diff \
1938 maybe-install-dosutils \
1939 maybe-install-etc \
1940 maybe-install-fastjar \
1941 maybe-install-fileutils \
1942 maybe-install-findutils \
1943 maybe-install-find \
1944 maybe-install-fixincludes \
1945 maybe-install-flex \
1946 maybe-install-gas \
1947 maybe-install-gcc \
1948 maybe-install-gawk \
1949 maybe-install-gettext \
1950 maybe-install-gnuserv \
1951 maybe-install-gprof \
1952 maybe-install-gzip \
1953 maybe-install-hello \
1954 maybe-install-indent \
1955 maybe-install-intl \
1956 maybe-install-tcl \
1957 maybe-install-itcl \
1958 maybe-install-ld \
1959 maybe-install-libcpp \
1960 maybe-install-libgui \
1961 maybe-install-libiberty \
1962 maybe-install-libtool \
1963 maybe-install-m4 \
1964 maybe-install-make \
1965 maybe-install-mmalloc \
1966 maybe-install-patch \
1967 maybe-install-perl \
1968 maybe-install-prms \
1969 maybe-install-rcs \
1970 maybe-install-readline \
1971 maybe-install-release \
1972 maybe-install-recode \
1973 maybe-install-sed \
1974 maybe-install-send-pr \
1975 maybe-install-shellutils \
1976 maybe-install-sid \
1977 maybe-install-sim \
1978 maybe-install-tar \
1979 maybe-install-texinfo \
1980 maybe-install-textutils \
1981 maybe-install-time \
1982 maybe-install-uudecode \
1983 maybe-install-wdiff \
1984 maybe-install-zip \
1985 maybe-install-zlib \
1986 maybe-install-gdb \
1987 maybe-install-expect \
1988 maybe-install-guile \
1989 maybe-install-tk \
1990 maybe-install-libtermcap \
1991 maybe-install-utils
1993 .PHONY: install-target
1994 install-target: \
1995 maybe-install-target-libstdc++-v3 \
1996 maybe-install-target-libmudflap \
1997 maybe-install-target-newlib \
1998 maybe-install-target-libgfortran \
1999 maybe-install-target-libobjc \
2000 maybe-install-target-libtermcap \
2001 maybe-install-target-winsup \
2002 maybe-install-target-libgloss \
2003 maybe-install-target-libiberty \
2004 maybe-install-target-gperf \
2005 maybe-install-target-examples \
2006 maybe-install-target-libffi \
2007 maybe-install-target-libjava \
2008 maybe-install-target-zlib \
2009 maybe-install-target-boehm-gc \
2010 maybe-install-target-qthreads \
2011 maybe-install-target-rda \
2012 maybe-install-target-libada
2014 uninstall:
2015 @echo "the uninstall target is not supported in this tree"
2017 .PHONY: install.all
2018 install.all: install-no-fixedincludes
2019 @if [ -f ./gcc/Makefile ] ; then \
2020 r=`${PWD_COMMAND}` ; export r ; \
2021 $(SET_LIB_PATH) \
2022 $(HOST_EXPORTS) \
2023 (cd ./gcc && \
2024 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2025 else \
2026 true ; \
2029 # install-no-fixedincludes is used because Cygnus can not distribute
2030 # the fixed header files.
2031 .PHONY: install-no-fixedincludes
2032 install-no-fixedincludes: installdirs install-host-nogcc \
2033 install-target gcc-no-fixedincludes
2035 ### other supporting targets
2037 MAKEDIRS= \
2038 $(DESTDIR)$(prefix) \
2039 $(DESTDIR)$(exec_prefix)
2040 .PHONY: installdirs
2041 installdirs: mkinstalldirs
2042 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2044 dir.info: do-install-info
2045 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2046 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2047 mv -f dir.info.new dir.info ; \
2048 else true ; \
2051 dist:
2052 @echo "Building a full distribution of this tree isn't done"
2053 @echo "via 'make dist'. Check out the etc/ subdirectory"
2055 etags tags: TAGS
2057 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2058 # ability to use several tags files at once, so there is probably no need
2059 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2060 # (if we felt like it) have this Makefile write a piece of elisp which
2061 # the user could load to tell emacs19 where all the TAGS files we just
2062 # built are.
2063 TAGS: do-TAGS
2065 # --------------------------------------
2066 # Modules which run on the build machine
2067 # --------------------------------------
2069 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2070 maybe-configure-build-libiberty:
2071 @if build-libiberty
2072 maybe-configure-build-libiberty: configure-build-libiberty
2073 configure-build-libiberty:
2074 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2075 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2076 r=`${PWD_COMMAND}`; export r; \
2077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2078 $(BUILD_EXPORTS) \
2079 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2080 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2081 case $(srcdir) in \
2082 /* | [A-Za-z]:[\\/]*) \
2083 topdir=$(srcdir) ;; \
2084 *) \
2085 case "$(BUILD_SUBDIR)" in \
2086 .) topdir="../$(srcdir)" ;; \
2087 *) topdir="../../$(srcdir)" ;; \
2088 esac ;; \
2089 esac; \
2090 if [ "$(srcdir)" = "." ] ; then \
2091 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2092 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2093 if [ -f Makefile ]; then \
2094 if $(MAKE) distclean; then \
2095 true; \
2096 else \
2097 exit 1; \
2098 fi; \
2099 else \
2100 true; \
2101 fi; \
2102 else \
2103 exit 1; \
2104 fi; \
2105 else \
2106 true; \
2107 fi; \
2108 srcdiroption="--srcdir=."; \
2109 libsrcdir="."; \
2110 else \
2111 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2112 libsrcdir="$$s/libiberty"; \
2113 fi; \
2114 rm -f no-such-file || : ; \
2115 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2116 $(BUILD_CONFIGARGS) $${srcdiroption} \
2117 --with-build-subdir="$(BUILD_SUBDIR)" \
2118 || exit 1
2119 @endif build-libiberty
2121 .PHONY: all-build-libiberty maybe-all-build-libiberty
2122 maybe-all-build-libiberty:
2123 @if build-libiberty
2124 TARGET-build-libiberty=all
2125 maybe-all-build-libiberty: all-build-libiberty
2126 all-build-libiberty: configure-build-libiberty
2127 @r=`${PWD_COMMAND}`; export r; \
2128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2129 $(BUILD_EXPORTS) \
2130 (cd $(BUILD_SUBDIR)/libiberty && \
2131 $(MAKE) $(TARGET-build-libiberty))
2132 @endif build-libiberty
2134 .PHONY: configure-build-bison maybe-configure-build-bison
2135 maybe-configure-build-bison:
2136 @if build-bison
2137 maybe-configure-build-bison: configure-build-bison
2138 configure-build-bison:
2139 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2140 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2141 r=`${PWD_COMMAND}`; export r; \
2142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2143 $(BUILD_EXPORTS) \
2144 echo Configuring in $(BUILD_SUBDIR)/bison; \
2145 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2146 case $(srcdir) in \
2147 /* | [A-Za-z]:[\\/]*) \
2148 topdir=$(srcdir) ;; \
2149 *) \
2150 case "$(BUILD_SUBDIR)" in \
2151 .) topdir="../$(srcdir)" ;; \
2152 *) topdir="../../$(srcdir)" ;; \
2153 esac ;; \
2154 esac; \
2155 if [ "$(srcdir)" = "." ] ; then \
2156 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2157 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2158 if [ -f Makefile ]; then \
2159 if $(MAKE) distclean; then \
2160 true; \
2161 else \
2162 exit 1; \
2163 fi; \
2164 else \
2165 true; \
2166 fi; \
2167 else \
2168 exit 1; \
2169 fi; \
2170 else \
2171 true; \
2172 fi; \
2173 srcdiroption="--srcdir=."; \
2174 libsrcdir="."; \
2175 else \
2176 srcdiroption="--srcdir=$${topdir}/bison"; \
2177 libsrcdir="$$s/bison"; \
2178 fi; \
2179 rm -f no-such-file || : ; \
2180 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2181 $(BUILD_CONFIGARGS) $${srcdiroption} \
2182 --with-build-subdir="$(BUILD_SUBDIR)" \
2183 || exit 1
2184 @endif build-bison
2186 .PHONY: all-build-bison maybe-all-build-bison
2187 maybe-all-build-bison:
2188 @if build-bison
2189 TARGET-build-bison=all
2190 maybe-all-build-bison: all-build-bison
2191 all-build-bison: configure-build-bison
2192 @r=`${PWD_COMMAND}`; export r; \
2193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2194 $(BUILD_EXPORTS) \
2195 (cd $(BUILD_SUBDIR)/bison && \
2196 $(MAKE) $(TARGET-build-bison))
2197 @endif build-bison
2199 .PHONY: configure-build-byacc maybe-configure-build-byacc
2200 maybe-configure-build-byacc:
2201 @if build-byacc
2202 maybe-configure-build-byacc: configure-build-byacc
2203 configure-build-byacc:
2204 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2205 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2206 r=`${PWD_COMMAND}`; export r; \
2207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2208 $(BUILD_EXPORTS) \
2209 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2210 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2211 case $(srcdir) in \
2212 /* | [A-Za-z]:[\\/]*) \
2213 topdir=$(srcdir) ;; \
2214 *) \
2215 case "$(BUILD_SUBDIR)" in \
2216 .) topdir="../$(srcdir)" ;; \
2217 *) topdir="../../$(srcdir)" ;; \
2218 esac ;; \
2219 esac; \
2220 if [ "$(srcdir)" = "." ] ; then \
2221 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2222 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2223 if [ -f Makefile ]; then \
2224 if $(MAKE) distclean; then \
2225 true; \
2226 else \
2227 exit 1; \
2228 fi; \
2229 else \
2230 true; \
2231 fi; \
2232 else \
2233 exit 1; \
2234 fi; \
2235 else \
2236 true; \
2237 fi; \
2238 srcdiroption="--srcdir=."; \
2239 libsrcdir="."; \
2240 else \
2241 srcdiroption="--srcdir=$${topdir}/byacc"; \
2242 libsrcdir="$$s/byacc"; \
2243 fi; \
2244 rm -f no-such-file || : ; \
2245 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2246 $(BUILD_CONFIGARGS) $${srcdiroption} \
2247 --with-build-subdir="$(BUILD_SUBDIR)" \
2248 || exit 1
2249 @endif build-byacc
2251 .PHONY: all-build-byacc maybe-all-build-byacc
2252 maybe-all-build-byacc:
2253 @if build-byacc
2254 TARGET-build-byacc=all
2255 maybe-all-build-byacc: all-build-byacc
2256 all-build-byacc: configure-build-byacc
2257 @r=`${PWD_COMMAND}`; export r; \
2258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2259 $(BUILD_EXPORTS) \
2260 (cd $(BUILD_SUBDIR)/byacc && \
2261 $(MAKE) $(TARGET-build-byacc))
2262 @endif build-byacc
2264 .PHONY: configure-build-flex maybe-configure-build-flex
2265 maybe-configure-build-flex:
2266 @if build-flex
2267 maybe-configure-build-flex: configure-build-flex
2268 configure-build-flex:
2269 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2270 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2271 r=`${PWD_COMMAND}`; export r; \
2272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2273 $(BUILD_EXPORTS) \
2274 echo Configuring in $(BUILD_SUBDIR)/flex; \
2275 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2276 case $(srcdir) in \
2277 /* | [A-Za-z]:[\\/]*) \
2278 topdir=$(srcdir) ;; \
2279 *) \
2280 case "$(BUILD_SUBDIR)" in \
2281 .) topdir="../$(srcdir)" ;; \
2282 *) topdir="../../$(srcdir)" ;; \
2283 esac ;; \
2284 esac; \
2285 if [ "$(srcdir)" = "." ] ; then \
2286 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2287 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2288 if [ -f Makefile ]; then \
2289 if $(MAKE) distclean; then \
2290 true; \
2291 else \
2292 exit 1; \
2293 fi; \
2294 else \
2295 true; \
2296 fi; \
2297 else \
2298 exit 1; \
2299 fi; \
2300 else \
2301 true; \
2302 fi; \
2303 srcdiroption="--srcdir=."; \
2304 libsrcdir="."; \
2305 else \
2306 srcdiroption="--srcdir=$${topdir}/flex"; \
2307 libsrcdir="$$s/flex"; \
2308 fi; \
2309 rm -f no-such-file || : ; \
2310 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2311 $(BUILD_CONFIGARGS) $${srcdiroption} \
2312 --with-build-subdir="$(BUILD_SUBDIR)" \
2313 || exit 1
2314 @endif build-flex
2316 .PHONY: all-build-flex maybe-all-build-flex
2317 maybe-all-build-flex:
2318 @if build-flex
2319 TARGET-build-flex=all
2320 maybe-all-build-flex: all-build-flex
2321 all-build-flex: configure-build-flex
2322 @r=`${PWD_COMMAND}`; export r; \
2323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2324 $(BUILD_EXPORTS) \
2325 (cd $(BUILD_SUBDIR)/flex && \
2326 $(MAKE) $(TARGET-build-flex))
2327 @endif build-flex
2329 .PHONY: configure-build-m4 maybe-configure-build-m4
2330 maybe-configure-build-m4:
2331 @if build-m4
2332 maybe-configure-build-m4: configure-build-m4
2333 configure-build-m4:
2334 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2335 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2336 r=`${PWD_COMMAND}`; export r; \
2337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2338 $(BUILD_EXPORTS) \
2339 echo Configuring in $(BUILD_SUBDIR)/m4; \
2340 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2341 case $(srcdir) in \
2342 /* | [A-Za-z]:[\\/]*) \
2343 topdir=$(srcdir) ;; \
2344 *) \
2345 case "$(BUILD_SUBDIR)" in \
2346 .) topdir="../$(srcdir)" ;; \
2347 *) topdir="../../$(srcdir)" ;; \
2348 esac ;; \
2349 esac; \
2350 if [ "$(srcdir)" = "." ] ; then \
2351 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2352 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2353 if [ -f Makefile ]; then \
2354 if $(MAKE) distclean; then \
2355 true; \
2356 else \
2357 exit 1; \
2358 fi; \
2359 else \
2360 true; \
2361 fi; \
2362 else \
2363 exit 1; \
2364 fi; \
2365 else \
2366 true; \
2367 fi; \
2368 srcdiroption="--srcdir=."; \
2369 libsrcdir="."; \
2370 else \
2371 srcdiroption="--srcdir=$${topdir}/m4"; \
2372 libsrcdir="$$s/m4"; \
2373 fi; \
2374 rm -f no-such-file || : ; \
2375 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2376 $(BUILD_CONFIGARGS) $${srcdiroption} \
2377 --with-build-subdir="$(BUILD_SUBDIR)" \
2378 || exit 1
2379 @endif build-m4
2381 .PHONY: all-build-m4 maybe-all-build-m4
2382 maybe-all-build-m4:
2383 @if build-m4
2384 TARGET-build-m4=all
2385 maybe-all-build-m4: all-build-m4
2386 all-build-m4: configure-build-m4
2387 @r=`${PWD_COMMAND}`; export r; \
2388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2389 $(BUILD_EXPORTS) \
2390 (cd $(BUILD_SUBDIR)/m4 && \
2391 $(MAKE) $(TARGET-build-m4))
2392 @endif build-m4
2394 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2395 maybe-configure-build-texinfo:
2396 @if build-texinfo
2397 maybe-configure-build-texinfo: configure-build-texinfo
2398 configure-build-texinfo:
2399 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2400 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2401 r=`${PWD_COMMAND}`; export r; \
2402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2403 $(BUILD_EXPORTS) \
2404 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2405 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2406 case $(srcdir) in \
2407 /* | [A-Za-z]:[\\/]*) \
2408 topdir=$(srcdir) ;; \
2409 *) \
2410 case "$(BUILD_SUBDIR)" in \
2411 .) topdir="../$(srcdir)" ;; \
2412 *) topdir="../../$(srcdir)" ;; \
2413 esac ;; \
2414 esac; \
2415 if [ "$(srcdir)" = "." ] ; then \
2416 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2417 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2418 if [ -f Makefile ]; then \
2419 if $(MAKE) distclean; then \
2420 true; \
2421 else \
2422 exit 1; \
2423 fi; \
2424 else \
2425 true; \
2426 fi; \
2427 else \
2428 exit 1; \
2429 fi; \
2430 else \
2431 true; \
2432 fi; \
2433 srcdiroption="--srcdir=."; \
2434 libsrcdir="."; \
2435 else \
2436 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2437 libsrcdir="$$s/texinfo"; \
2438 fi; \
2439 rm -f no-such-file || : ; \
2440 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2441 $(BUILD_CONFIGARGS) $${srcdiroption} \
2442 --with-build-subdir="$(BUILD_SUBDIR)" \
2443 || exit 1
2444 @endif build-texinfo
2446 .PHONY: all-build-texinfo maybe-all-build-texinfo
2447 maybe-all-build-texinfo:
2448 @if build-texinfo
2449 TARGET-build-texinfo=all
2450 maybe-all-build-texinfo: all-build-texinfo
2451 all-build-texinfo: configure-build-texinfo
2452 @r=`${PWD_COMMAND}`; export r; \
2453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2454 $(BUILD_EXPORTS) \
2455 (cd $(BUILD_SUBDIR)/texinfo && \
2456 $(MAKE) $(TARGET-build-texinfo))
2457 @endif build-texinfo
2459 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2460 maybe-configure-build-fixincludes:
2461 @if build-fixincludes
2462 maybe-configure-build-fixincludes: configure-build-fixincludes
2463 configure-build-fixincludes:
2464 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2465 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2466 r=`${PWD_COMMAND}`; export r; \
2467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2468 $(BUILD_EXPORTS) \
2469 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2470 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2471 case $(srcdir) in \
2472 /* | [A-Za-z]:[\\/]*) \
2473 topdir=$(srcdir) ;; \
2474 *) \
2475 case "$(BUILD_SUBDIR)" in \
2476 .) topdir="../$(srcdir)" ;; \
2477 *) topdir="../../$(srcdir)" ;; \
2478 esac ;; \
2479 esac; \
2480 if [ "$(srcdir)" = "." ] ; then \
2481 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2482 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2483 if [ -f Makefile ]; then \
2484 if $(MAKE) distclean; then \
2485 true; \
2486 else \
2487 exit 1; \
2488 fi; \
2489 else \
2490 true; \
2491 fi; \
2492 else \
2493 exit 1; \
2494 fi; \
2495 else \
2496 true; \
2497 fi; \
2498 srcdiroption="--srcdir=."; \
2499 libsrcdir="."; \
2500 else \
2501 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2502 libsrcdir="$$s/fixincludes"; \
2503 fi; \
2504 rm -f no-such-file || : ; \
2505 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2506 $(BUILD_CONFIGARGS) $${srcdiroption} \
2507 --with-build-subdir="$(BUILD_SUBDIR)" \
2508 || exit 1
2509 @endif build-fixincludes
2511 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2512 maybe-all-build-fixincludes:
2513 @if build-fixincludes
2514 TARGET-build-fixincludes=all
2515 maybe-all-build-fixincludes: all-build-fixincludes
2516 all-build-fixincludes: configure-build-fixincludes
2517 @r=`${PWD_COMMAND}`; export r; \
2518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2519 $(BUILD_EXPORTS) \
2520 (cd $(BUILD_SUBDIR)/fixincludes && \
2521 $(MAKE) $(TARGET-build-fixincludes))
2522 @endif build-fixincludes
2525 # --------------------------------------
2526 # Modules which run on the host machine
2527 # --------------------------------------
2529 .PHONY: configure-ash maybe-configure-ash
2530 maybe-configure-ash:
2531 @if ash
2532 maybe-configure-ash: configure-ash
2533 configure-ash:
2534 @test ! -f ash/Makefile || exit 0; \
2535 [ -d ash ] || mkdir ash; \
2536 r=`${PWD_COMMAND}`; export r; \
2537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2538 $(HOST_EXPORTS) \
2539 echo Configuring in ash; \
2540 cd ash || exit 1; \
2541 case $(srcdir) in \
2542 \.) \
2543 srcdiroption="--srcdir=."; \
2544 libsrcdir=".";; \
2545 /* | [A-Za-z]:[\\/]*) \
2546 srcdiroption="--srcdir=$(srcdir)/ash"; \
2547 libsrcdir="$$s/ash";; \
2548 *) \
2549 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2550 libsrcdir="$$s/ash";; \
2551 esac; \
2552 $(SHELL) $${libsrcdir}/configure \
2553 $(HOST_CONFIGARGS) $${srcdiroption} \
2554 || exit 1
2555 @endif ash
2557 .PHONY: all-ash maybe-all-ash
2558 maybe-all-ash:
2559 @if ash
2560 TARGET-ash=all
2561 maybe-all-ash: all-ash
2562 all-ash: configure-ash
2563 @r=`${PWD_COMMAND}`; export r; \
2564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2565 $(SET_LIB_PATH) \
2566 $(HOST_EXPORTS) \
2567 (cd ash && $(MAKE) $(FLAGS_TO_PASS) \
2568 $(TARGET-ash))
2569 @endif ash
2571 .PHONY: check-ash maybe-check-ash
2572 maybe-check-ash:
2573 @if ash
2574 maybe-check-ash: check-ash
2576 check-ash:
2577 @r=`${PWD_COMMAND}`; export r; \
2578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2579 $(SET_LIB_PATH) \
2580 $(HOST_EXPORTS) \
2581 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2583 @endif ash
2585 .PHONY: install-ash maybe-install-ash
2586 maybe-install-ash:
2587 @if ash
2588 maybe-install-ash: install-ash
2590 install-ash: installdirs
2591 @r=`${PWD_COMMAND}`; export r; \
2592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2593 $(SET_LIB_PATH) \
2594 $(HOST_EXPORTS) \
2595 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2597 @endif ash
2599 # Other targets (info, dvi, etc.)
2601 .PHONY: maybe-info-ash info-ash
2602 maybe-info-ash:
2603 @if ash
2604 maybe-info-ash: info-ash
2606 info-ash: \
2607 configure-ash
2608 @[ -f ./ash/Makefile ] || exit 0; \
2609 r=`${PWD_COMMAND}`; export r; \
2610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2611 $(SET_LIB_PATH) \
2612 $(HOST_EXPORTS) \
2613 for flag in $(EXTRA_HOST_FLAGS) ; do \
2614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2615 done; \
2616 echo "Doing info in ash" ; \
2617 (cd ash && \
2618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2620 "RANLIB=$${RANLIB}" \
2621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2622 info) \
2623 || exit 1
2625 @endif ash
2627 .PHONY: maybe-dvi-ash dvi-ash
2628 maybe-dvi-ash:
2629 @if ash
2630 maybe-dvi-ash: dvi-ash
2632 dvi-ash: \
2633 configure-ash
2634 @[ -f ./ash/Makefile ] || exit 0; \
2635 r=`${PWD_COMMAND}`; export r; \
2636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2637 $(SET_LIB_PATH) \
2638 $(HOST_EXPORTS) \
2639 for flag in $(EXTRA_HOST_FLAGS) ; do \
2640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2641 done; \
2642 echo "Doing dvi in ash" ; \
2643 (cd ash && \
2644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2646 "RANLIB=$${RANLIB}" \
2647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2648 dvi) \
2649 || exit 1
2651 @endif ash
2653 .PHONY: maybe-TAGS-ash TAGS-ash
2654 maybe-TAGS-ash:
2655 @if ash
2656 maybe-TAGS-ash: TAGS-ash
2658 TAGS-ash: \
2659 configure-ash
2660 @[ -f ./ash/Makefile ] || exit 0; \
2661 r=`${PWD_COMMAND}`; export r; \
2662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2663 $(SET_LIB_PATH) \
2664 $(HOST_EXPORTS) \
2665 for flag in $(EXTRA_HOST_FLAGS) ; do \
2666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2667 done; \
2668 echo "Doing TAGS in ash" ; \
2669 (cd ash && \
2670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2672 "RANLIB=$${RANLIB}" \
2673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2674 TAGS) \
2675 || exit 1
2677 @endif ash
2679 .PHONY: maybe-install-info-ash install-info-ash
2680 maybe-install-info-ash:
2681 @if ash
2682 maybe-install-info-ash: install-info-ash
2684 install-info-ash: \
2685 configure-ash \
2686 info-ash
2687 @[ -f ./ash/Makefile ] || exit 0; \
2688 r=`${PWD_COMMAND}`; export r; \
2689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2690 $(SET_LIB_PATH) \
2691 $(HOST_EXPORTS) \
2692 for flag in $(EXTRA_HOST_FLAGS) ; do \
2693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2694 done; \
2695 echo "Doing install-info in ash" ; \
2696 (cd ash && \
2697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2699 "RANLIB=$${RANLIB}" \
2700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2701 install-info) \
2702 || exit 1
2704 @endif ash
2706 .PHONY: maybe-installcheck-ash installcheck-ash
2707 maybe-installcheck-ash:
2708 @if ash
2709 maybe-installcheck-ash: installcheck-ash
2711 installcheck-ash: \
2712 configure-ash
2713 @[ -f ./ash/Makefile ] || exit 0; \
2714 r=`${PWD_COMMAND}`; export r; \
2715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2716 $(SET_LIB_PATH) \
2717 $(HOST_EXPORTS) \
2718 for flag in $(EXTRA_HOST_FLAGS) ; do \
2719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2720 done; \
2721 echo "Doing installcheck in ash" ; \
2722 (cd ash && \
2723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2725 "RANLIB=$${RANLIB}" \
2726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2727 installcheck) \
2728 || exit 1
2730 @endif ash
2732 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2733 maybe-mostlyclean-ash:
2734 @if ash
2735 maybe-mostlyclean-ash: mostlyclean-ash
2737 mostlyclean-ash:
2738 @[ -f ./ash/Makefile ] || exit 0; \
2739 r=`${PWD_COMMAND}`; export r; \
2740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2741 $(SET_LIB_PATH) \
2742 $(HOST_EXPORTS) \
2743 for flag in $(EXTRA_HOST_FLAGS) ; do \
2744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2745 done; \
2746 echo "Doing mostlyclean in ash" ; \
2747 (cd ash && \
2748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2750 "RANLIB=$${RANLIB}" \
2751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2752 mostlyclean) \
2753 || exit 1
2755 @endif ash
2757 .PHONY: maybe-clean-ash clean-ash
2758 maybe-clean-ash:
2759 @if ash
2760 maybe-clean-ash: clean-ash
2762 clean-ash:
2763 @[ -f ./ash/Makefile ] || exit 0; \
2764 r=`${PWD_COMMAND}`; export r; \
2765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2766 $(SET_LIB_PATH) \
2767 $(HOST_EXPORTS) \
2768 for flag in $(EXTRA_HOST_FLAGS) ; do \
2769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2770 done; \
2771 echo "Doing clean in ash" ; \
2772 (cd ash && \
2773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2775 "RANLIB=$${RANLIB}" \
2776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2777 clean) \
2778 || exit 1
2780 @endif ash
2782 .PHONY: maybe-distclean-ash distclean-ash
2783 maybe-distclean-ash:
2784 @if ash
2785 maybe-distclean-ash: distclean-ash
2787 distclean-ash:
2788 @[ -f ./ash/Makefile ] || exit 0; \
2789 r=`${PWD_COMMAND}`; export r; \
2790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2791 $(SET_LIB_PATH) \
2792 $(HOST_EXPORTS) \
2793 for flag in $(EXTRA_HOST_FLAGS) ; do \
2794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2795 done; \
2796 echo "Doing distclean in ash" ; \
2797 (cd ash && \
2798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2800 "RANLIB=$${RANLIB}" \
2801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2802 distclean) \
2803 || exit 1
2805 @endif ash
2807 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2808 maybe-maintainer-clean-ash:
2809 @if ash
2810 maybe-maintainer-clean-ash: maintainer-clean-ash
2812 maintainer-clean-ash:
2813 @[ -f ./ash/Makefile ] || exit 0; \
2814 r=`${PWD_COMMAND}`; export r; \
2815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2816 $(SET_LIB_PATH) \
2817 $(HOST_EXPORTS) \
2818 for flag in $(EXTRA_HOST_FLAGS) ; do \
2819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2820 done; \
2821 echo "Doing maintainer-clean in ash" ; \
2822 (cd ash && \
2823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2825 "RANLIB=$${RANLIB}" \
2826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2827 maintainer-clean) \
2828 || exit 1
2830 @endif ash
2833 .PHONY: configure-autoconf maybe-configure-autoconf
2834 maybe-configure-autoconf:
2835 @if autoconf
2836 maybe-configure-autoconf: configure-autoconf
2837 configure-autoconf:
2838 @test ! -f autoconf/Makefile || exit 0; \
2839 [ -d autoconf ] || mkdir autoconf; \
2840 r=`${PWD_COMMAND}`; export r; \
2841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2842 $(HOST_EXPORTS) \
2843 echo Configuring in autoconf; \
2844 cd autoconf || exit 1; \
2845 case $(srcdir) in \
2846 \.) \
2847 srcdiroption="--srcdir=."; \
2848 libsrcdir=".";; \
2849 /* | [A-Za-z]:[\\/]*) \
2850 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2851 libsrcdir="$$s/autoconf";; \
2852 *) \
2853 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2854 libsrcdir="$$s/autoconf";; \
2855 esac; \
2856 $(SHELL) $${libsrcdir}/configure \
2857 $(HOST_CONFIGARGS) $${srcdiroption} \
2858 || exit 1
2859 @endif autoconf
2861 .PHONY: all-autoconf maybe-all-autoconf
2862 maybe-all-autoconf:
2863 @if autoconf
2864 TARGET-autoconf=all
2865 maybe-all-autoconf: all-autoconf
2866 all-autoconf: configure-autoconf
2867 @r=`${PWD_COMMAND}`; export r; \
2868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2869 $(SET_LIB_PATH) \
2870 $(HOST_EXPORTS) \
2871 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) \
2872 $(TARGET-autoconf))
2873 @endif autoconf
2875 .PHONY: check-autoconf maybe-check-autoconf
2876 maybe-check-autoconf:
2877 @if autoconf
2878 maybe-check-autoconf: check-autoconf
2880 check-autoconf:
2881 @r=`${PWD_COMMAND}`; export r; \
2882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2883 $(SET_LIB_PATH) \
2884 $(HOST_EXPORTS) \
2885 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2887 @endif autoconf
2889 .PHONY: install-autoconf maybe-install-autoconf
2890 maybe-install-autoconf:
2891 @if autoconf
2892 maybe-install-autoconf: install-autoconf
2894 install-autoconf: installdirs
2895 @r=`${PWD_COMMAND}`; export r; \
2896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2897 $(SET_LIB_PATH) \
2898 $(HOST_EXPORTS) \
2899 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2901 @endif autoconf
2903 # Other targets (info, dvi, etc.)
2905 .PHONY: maybe-info-autoconf info-autoconf
2906 maybe-info-autoconf:
2907 @if autoconf
2908 maybe-info-autoconf: info-autoconf
2910 info-autoconf: \
2911 configure-autoconf
2912 @[ -f ./autoconf/Makefile ] || exit 0; \
2913 r=`${PWD_COMMAND}`; export r; \
2914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2915 $(SET_LIB_PATH) \
2916 $(HOST_EXPORTS) \
2917 for flag in $(EXTRA_HOST_FLAGS) ; do \
2918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2919 done; \
2920 echo "Doing info in autoconf" ; \
2921 (cd autoconf && \
2922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2924 "RANLIB=$${RANLIB}" \
2925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2926 info) \
2927 || exit 1
2929 @endif autoconf
2931 .PHONY: maybe-dvi-autoconf dvi-autoconf
2932 maybe-dvi-autoconf:
2933 @if autoconf
2934 maybe-dvi-autoconf: dvi-autoconf
2936 dvi-autoconf: \
2937 configure-autoconf
2938 @[ -f ./autoconf/Makefile ] || exit 0; \
2939 r=`${PWD_COMMAND}`; export r; \
2940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2941 $(SET_LIB_PATH) \
2942 $(HOST_EXPORTS) \
2943 for flag in $(EXTRA_HOST_FLAGS) ; do \
2944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2945 done; \
2946 echo "Doing dvi in autoconf" ; \
2947 (cd autoconf && \
2948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2950 "RANLIB=$${RANLIB}" \
2951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2952 dvi) \
2953 || exit 1
2955 @endif autoconf
2957 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2958 maybe-TAGS-autoconf:
2959 @if autoconf
2960 maybe-TAGS-autoconf: TAGS-autoconf
2962 TAGS-autoconf: \
2963 configure-autoconf
2964 @[ -f ./autoconf/Makefile ] || exit 0; \
2965 r=`${PWD_COMMAND}`; export r; \
2966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2967 $(SET_LIB_PATH) \
2968 $(HOST_EXPORTS) \
2969 for flag in $(EXTRA_HOST_FLAGS) ; do \
2970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2971 done; \
2972 echo "Doing TAGS in autoconf" ; \
2973 (cd autoconf && \
2974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2976 "RANLIB=$${RANLIB}" \
2977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2978 TAGS) \
2979 || exit 1
2981 @endif autoconf
2983 .PHONY: maybe-install-info-autoconf install-info-autoconf
2984 maybe-install-info-autoconf:
2985 @if autoconf
2986 maybe-install-info-autoconf: install-info-autoconf
2988 install-info-autoconf: \
2989 configure-autoconf \
2990 info-autoconf
2991 @[ -f ./autoconf/Makefile ] || exit 0; \
2992 r=`${PWD_COMMAND}`; export r; \
2993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2994 $(SET_LIB_PATH) \
2995 $(HOST_EXPORTS) \
2996 for flag in $(EXTRA_HOST_FLAGS) ; do \
2997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2998 done; \
2999 echo "Doing install-info in autoconf" ; \
3000 (cd autoconf && \
3001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3003 "RANLIB=$${RANLIB}" \
3004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3005 install-info) \
3006 || exit 1
3008 @endif autoconf
3010 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3011 maybe-installcheck-autoconf:
3012 @if autoconf
3013 maybe-installcheck-autoconf: installcheck-autoconf
3015 installcheck-autoconf: \
3016 configure-autoconf
3017 @[ -f ./autoconf/Makefile ] || exit 0; \
3018 r=`${PWD_COMMAND}`; export r; \
3019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3020 $(SET_LIB_PATH) \
3021 $(HOST_EXPORTS) \
3022 for flag in $(EXTRA_HOST_FLAGS) ; do \
3023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3024 done; \
3025 echo "Doing installcheck in autoconf" ; \
3026 (cd autoconf && \
3027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3029 "RANLIB=$${RANLIB}" \
3030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3031 installcheck) \
3032 || exit 1
3034 @endif autoconf
3036 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3037 maybe-mostlyclean-autoconf:
3038 @if autoconf
3039 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3041 mostlyclean-autoconf:
3042 @[ -f ./autoconf/Makefile ] || exit 0; \
3043 r=`${PWD_COMMAND}`; export r; \
3044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3045 $(SET_LIB_PATH) \
3046 $(HOST_EXPORTS) \
3047 for flag in $(EXTRA_HOST_FLAGS) ; do \
3048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3049 done; \
3050 echo "Doing mostlyclean in autoconf" ; \
3051 (cd autoconf && \
3052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3054 "RANLIB=$${RANLIB}" \
3055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3056 mostlyclean) \
3057 || exit 1
3059 @endif autoconf
3061 .PHONY: maybe-clean-autoconf clean-autoconf
3062 maybe-clean-autoconf:
3063 @if autoconf
3064 maybe-clean-autoconf: clean-autoconf
3066 clean-autoconf:
3067 @[ -f ./autoconf/Makefile ] || exit 0; \
3068 r=`${PWD_COMMAND}`; export r; \
3069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3070 $(SET_LIB_PATH) \
3071 $(HOST_EXPORTS) \
3072 for flag in $(EXTRA_HOST_FLAGS) ; do \
3073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3074 done; \
3075 echo "Doing clean in autoconf" ; \
3076 (cd autoconf && \
3077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3079 "RANLIB=$${RANLIB}" \
3080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3081 clean) \
3082 || exit 1
3084 @endif autoconf
3086 .PHONY: maybe-distclean-autoconf distclean-autoconf
3087 maybe-distclean-autoconf:
3088 @if autoconf
3089 maybe-distclean-autoconf: distclean-autoconf
3091 distclean-autoconf:
3092 @[ -f ./autoconf/Makefile ] || exit 0; \
3093 r=`${PWD_COMMAND}`; export r; \
3094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3095 $(SET_LIB_PATH) \
3096 $(HOST_EXPORTS) \
3097 for flag in $(EXTRA_HOST_FLAGS) ; do \
3098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3099 done; \
3100 echo "Doing distclean in autoconf" ; \
3101 (cd autoconf && \
3102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3104 "RANLIB=$${RANLIB}" \
3105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3106 distclean) \
3107 || exit 1
3109 @endif autoconf
3111 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3112 maybe-maintainer-clean-autoconf:
3113 @if autoconf
3114 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3116 maintainer-clean-autoconf:
3117 @[ -f ./autoconf/Makefile ] || exit 0; \
3118 r=`${PWD_COMMAND}`; export r; \
3119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3120 $(SET_LIB_PATH) \
3121 $(HOST_EXPORTS) \
3122 for flag in $(EXTRA_HOST_FLAGS) ; do \
3123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3124 done; \
3125 echo "Doing maintainer-clean in autoconf" ; \
3126 (cd autoconf && \
3127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3129 "RANLIB=$${RANLIB}" \
3130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3131 maintainer-clean) \
3132 || exit 1
3134 @endif autoconf
3137 .PHONY: configure-automake maybe-configure-automake
3138 maybe-configure-automake:
3139 @if automake
3140 maybe-configure-automake: configure-automake
3141 configure-automake:
3142 @test ! -f automake/Makefile || exit 0; \
3143 [ -d automake ] || mkdir automake; \
3144 r=`${PWD_COMMAND}`; export r; \
3145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3146 $(HOST_EXPORTS) \
3147 echo Configuring in automake; \
3148 cd automake || exit 1; \
3149 case $(srcdir) in \
3150 \.) \
3151 srcdiroption="--srcdir=."; \
3152 libsrcdir=".";; \
3153 /* | [A-Za-z]:[\\/]*) \
3154 srcdiroption="--srcdir=$(srcdir)/automake"; \
3155 libsrcdir="$$s/automake";; \
3156 *) \
3157 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3158 libsrcdir="$$s/automake";; \
3159 esac; \
3160 $(SHELL) $${libsrcdir}/configure \
3161 $(HOST_CONFIGARGS) $${srcdiroption} \
3162 || exit 1
3163 @endif automake
3165 .PHONY: all-automake maybe-all-automake
3166 maybe-all-automake:
3167 @if automake
3168 TARGET-automake=all
3169 maybe-all-automake: all-automake
3170 all-automake: configure-automake
3171 @r=`${PWD_COMMAND}`; export r; \
3172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3173 $(SET_LIB_PATH) \
3174 $(HOST_EXPORTS) \
3175 (cd automake && $(MAKE) $(FLAGS_TO_PASS) \
3176 $(TARGET-automake))
3177 @endif automake
3179 .PHONY: check-automake maybe-check-automake
3180 maybe-check-automake:
3181 @if automake
3182 maybe-check-automake: check-automake
3184 check-automake:
3185 @r=`${PWD_COMMAND}`; export r; \
3186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3187 $(SET_LIB_PATH) \
3188 $(HOST_EXPORTS) \
3189 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3191 @endif automake
3193 .PHONY: install-automake maybe-install-automake
3194 maybe-install-automake:
3195 @if automake
3196 maybe-install-automake: install-automake
3198 install-automake: installdirs
3199 @r=`${PWD_COMMAND}`; export r; \
3200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3201 $(SET_LIB_PATH) \
3202 $(HOST_EXPORTS) \
3203 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3205 @endif automake
3207 # Other targets (info, dvi, etc.)
3209 .PHONY: maybe-info-automake info-automake
3210 maybe-info-automake:
3211 @if automake
3212 maybe-info-automake: info-automake
3214 info-automake: \
3215 configure-automake
3216 @[ -f ./automake/Makefile ] || exit 0; \
3217 r=`${PWD_COMMAND}`; export r; \
3218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3219 $(SET_LIB_PATH) \
3220 $(HOST_EXPORTS) \
3221 for flag in $(EXTRA_HOST_FLAGS) ; do \
3222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3223 done; \
3224 echo "Doing info in automake" ; \
3225 (cd automake && \
3226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3228 "RANLIB=$${RANLIB}" \
3229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3230 info) \
3231 || exit 1
3233 @endif automake
3235 .PHONY: maybe-dvi-automake dvi-automake
3236 maybe-dvi-automake:
3237 @if automake
3238 maybe-dvi-automake: dvi-automake
3240 dvi-automake: \
3241 configure-automake
3242 @[ -f ./automake/Makefile ] || exit 0; \
3243 r=`${PWD_COMMAND}`; export r; \
3244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3245 $(SET_LIB_PATH) \
3246 $(HOST_EXPORTS) \
3247 for flag in $(EXTRA_HOST_FLAGS) ; do \
3248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3249 done; \
3250 echo "Doing dvi in automake" ; \
3251 (cd automake && \
3252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3254 "RANLIB=$${RANLIB}" \
3255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3256 dvi) \
3257 || exit 1
3259 @endif automake
3261 .PHONY: maybe-TAGS-automake TAGS-automake
3262 maybe-TAGS-automake:
3263 @if automake
3264 maybe-TAGS-automake: TAGS-automake
3266 TAGS-automake: \
3267 configure-automake
3268 @[ -f ./automake/Makefile ] || exit 0; \
3269 r=`${PWD_COMMAND}`; export r; \
3270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3271 $(SET_LIB_PATH) \
3272 $(HOST_EXPORTS) \
3273 for flag in $(EXTRA_HOST_FLAGS) ; do \
3274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3275 done; \
3276 echo "Doing TAGS in automake" ; \
3277 (cd automake && \
3278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3280 "RANLIB=$${RANLIB}" \
3281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3282 TAGS) \
3283 || exit 1
3285 @endif automake
3287 .PHONY: maybe-install-info-automake install-info-automake
3288 maybe-install-info-automake:
3289 @if automake
3290 maybe-install-info-automake: install-info-automake
3292 install-info-automake: \
3293 configure-automake \
3294 info-automake
3295 @[ -f ./automake/Makefile ] || exit 0; \
3296 r=`${PWD_COMMAND}`; export r; \
3297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3298 $(SET_LIB_PATH) \
3299 $(HOST_EXPORTS) \
3300 for flag in $(EXTRA_HOST_FLAGS) ; do \
3301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3302 done; \
3303 echo "Doing install-info in automake" ; \
3304 (cd automake && \
3305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3307 "RANLIB=$${RANLIB}" \
3308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3309 install-info) \
3310 || exit 1
3312 @endif automake
3314 .PHONY: maybe-installcheck-automake installcheck-automake
3315 maybe-installcheck-automake:
3316 @if automake
3317 maybe-installcheck-automake: installcheck-automake
3319 installcheck-automake: \
3320 configure-automake
3321 @[ -f ./automake/Makefile ] || exit 0; \
3322 r=`${PWD_COMMAND}`; export r; \
3323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3324 $(SET_LIB_PATH) \
3325 $(HOST_EXPORTS) \
3326 for flag in $(EXTRA_HOST_FLAGS) ; do \
3327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3328 done; \
3329 echo "Doing installcheck in automake" ; \
3330 (cd automake && \
3331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3333 "RANLIB=$${RANLIB}" \
3334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3335 installcheck) \
3336 || exit 1
3338 @endif automake
3340 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3341 maybe-mostlyclean-automake:
3342 @if automake
3343 maybe-mostlyclean-automake: mostlyclean-automake
3345 mostlyclean-automake:
3346 @[ -f ./automake/Makefile ] || exit 0; \
3347 r=`${PWD_COMMAND}`; export r; \
3348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3349 $(SET_LIB_PATH) \
3350 $(HOST_EXPORTS) \
3351 for flag in $(EXTRA_HOST_FLAGS) ; do \
3352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3353 done; \
3354 echo "Doing mostlyclean in automake" ; \
3355 (cd automake && \
3356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3358 "RANLIB=$${RANLIB}" \
3359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3360 mostlyclean) \
3361 || exit 1
3363 @endif automake
3365 .PHONY: maybe-clean-automake clean-automake
3366 maybe-clean-automake:
3367 @if automake
3368 maybe-clean-automake: clean-automake
3370 clean-automake:
3371 @[ -f ./automake/Makefile ] || exit 0; \
3372 r=`${PWD_COMMAND}`; export r; \
3373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3374 $(SET_LIB_PATH) \
3375 $(HOST_EXPORTS) \
3376 for flag in $(EXTRA_HOST_FLAGS) ; do \
3377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3378 done; \
3379 echo "Doing clean in automake" ; \
3380 (cd automake && \
3381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3383 "RANLIB=$${RANLIB}" \
3384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3385 clean) \
3386 || exit 1
3388 @endif automake
3390 .PHONY: maybe-distclean-automake distclean-automake
3391 maybe-distclean-automake:
3392 @if automake
3393 maybe-distclean-automake: distclean-automake
3395 distclean-automake:
3396 @[ -f ./automake/Makefile ] || exit 0; \
3397 r=`${PWD_COMMAND}`; export r; \
3398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3399 $(SET_LIB_PATH) \
3400 $(HOST_EXPORTS) \
3401 for flag in $(EXTRA_HOST_FLAGS) ; do \
3402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3403 done; \
3404 echo "Doing distclean in automake" ; \
3405 (cd automake && \
3406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3408 "RANLIB=$${RANLIB}" \
3409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3410 distclean) \
3411 || exit 1
3413 @endif automake
3415 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3416 maybe-maintainer-clean-automake:
3417 @if automake
3418 maybe-maintainer-clean-automake: maintainer-clean-automake
3420 maintainer-clean-automake:
3421 @[ -f ./automake/Makefile ] || exit 0; \
3422 r=`${PWD_COMMAND}`; export r; \
3423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3424 $(SET_LIB_PATH) \
3425 $(HOST_EXPORTS) \
3426 for flag in $(EXTRA_HOST_FLAGS) ; do \
3427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3428 done; \
3429 echo "Doing maintainer-clean in automake" ; \
3430 (cd automake && \
3431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3433 "RANLIB=$${RANLIB}" \
3434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3435 maintainer-clean) \
3436 || exit 1
3438 @endif automake
3441 .PHONY: configure-bash maybe-configure-bash
3442 maybe-configure-bash:
3443 @if bash
3444 maybe-configure-bash: configure-bash
3445 configure-bash:
3446 @test ! -f bash/Makefile || exit 0; \
3447 [ -d bash ] || mkdir bash; \
3448 r=`${PWD_COMMAND}`; export r; \
3449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3450 $(HOST_EXPORTS) \
3451 echo Configuring in bash; \
3452 cd bash || exit 1; \
3453 case $(srcdir) in \
3454 \.) \
3455 srcdiroption="--srcdir=."; \
3456 libsrcdir=".";; \
3457 /* | [A-Za-z]:[\\/]*) \
3458 srcdiroption="--srcdir=$(srcdir)/bash"; \
3459 libsrcdir="$$s/bash";; \
3460 *) \
3461 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3462 libsrcdir="$$s/bash";; \
3463 esac; \
3464 $(SHELL) $${libsrcdir}/configure \
3465 $(HOST_CONFIGARGS) $${srcdiroption} \
3466 || exit 1
3467 @endif bash
3469 .PHONY: all-bash maybe-all-bash
3470 maybe-all-bash:
3471 @if bash
3472 TARGET-bash=all
3473 maybe-all-bash: all-bash
3474 all-bash: configure-bash
3475 @r=`${PWD_COMMAND}`; export r; \
3476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3477 $(SET_LIB_PATH) \
3478 $(HOST_EXPORTS) \
3479 (cd bash && $(MAKE) $(FLAGS_TO_PASS) \
3480 $(TARGET-bash))
3481 @endif bash
3483 .PHONY: check-bash maybe-check-bash
3484 maybe-check-bash:
3485 @if bash
3486 maybe-check-bash: check-bash
3488 check-bash:
3489 @r=`${PWD_COMMAND}`; export r; \
3490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3491 $(SET_LIB_PATH) \
3492 $(HOST_EXPORTS) \
3493 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3495 @endif bash
3497 .PHONY: install-bash maybe-install-bash
3498 maybe-install-bash:
3499 @if bash
3500 maybe-install-bash: install-bash
3502 install-bash: installdirs
3503 @r=`${PWD_COMMAND}`; export r; \
3504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3505 $(SET_LIB_PATH) \
3506 $(HOST_EXPORTS) \
3507 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3509 @endif bash
3511 # Other targets (info, dvi, etc.)
3513 .PHONY: maybe-info-bash info-bash
3514 maybe-info-bash:
3515 @if bash
3516 maybe-info-bash: info-bash
3518 info-bash: \
3519 configure-bash
3520 @[ -f ./bash/Makefile ] || exit 0; \
3521 r=`${PWD_COMMAND}`; export r; \
3522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3523 $(SET_LIB_PATH) \
3524 $(HOST_EXPORTS) \
3525 for flag in $(EXTRA_HOST_FLAGS) ; do \
3526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3527 done; \
3528 echo "Doing info in bash" ; \
3529 (cd bash && \
3530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3532 "RANLIB=$${RANLIB}" \
3533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3534 info) \
3535 || exit 1
3537 @endif bash
3539 .PHONY: maybe-dvi-bash dvi-bash
3540 maybe-dvi-bash:
3541 @if bash
3542 maybe-dvi-bash: dvi-bash
3544 dvi-bash: \
3545 configure-bash
3546 @[ -f ./bash/Makefile ] || exit 0; \
3547 r=`${PWD_COMMAND}`; export r; \
3548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3549 $(SET_LIB_PATH) \
3550 $(HOST_EXPORTS) \
3551 for flag in $(EXTRA_HOST_FLAGS) ; do \
3552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3553 done; \
3554 echo "Doing dvi in bash" ; \
3555 (cd bash && \
3556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3558 "RANLIB=$${RANLIB}" \
3559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3560 dvi) \
3561 || exit 1
3563 @endif bash
3565 .PHONY: maybe-TAGS-bash TAGS-bash
3566 maybe-TAGS-bash:
3567 @if bash
3568 maybe-TAGS-bash: TAGS-bash
3570 TAGS-bash: \
3571 configure-bash
3572 @[ -f ./bash/Makefile ] || exit 0; \
3573 r=`${PWD_COMMAND}`; export r; \
3574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3575 $(SET_LIB_PATH) \
3576 $(HOST_EXPORTS) \
3577 for flag in $(EXTRA_HOST_FLAGS) ; do \
3578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3579 done; \
3580 echo "Doing TAGS in bash" ; \
3581 (cd bash && \
3582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3584 "RANLIB=$${RANLIB}" \
3585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3586 TAGS) \
3587 || exit 1
3589 @endif bash
3591 .PHONY: maybe-install-info-bash install-info-bash
3592 maybe-install-info-bash:
3593 @if bash
3594 maybe-install-info-bash: install-info-bash
3596 install-info-bash: \
3597 configure-bash \
3598 info-bash
3599 @[ -f ./bash/Makefile ] || exit 0; \
3600 r=`${PWD_COMMAND}`; export r; \
3601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3602 $(SET_LIB_PATH) \
3603 $(HOST_EXPORTS) \
3604 for flag in $(EXTRA_HOST_FLAGS) ; do \
3605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3606 done; \
3607 echo "Doing install-info in bash" ; \
3608 (cd bash && \
3609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3611 "RANLIB=$${RANLIB}" \
3612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3613 install-info) \
3614 || exit 1
3616 @endif bash
3618 .PHONY: maybe-installcheck-bash installcheck-bash
3619 maybe-installcheck-bash:
3620 @if bash
3621 maybe-installcheck-bash: installcheck-bash
3623 installcheck-bash: \
3624 configure-bash
3625 @[ -f ./bash/Makefile ] || exit 0; \
3626 r=`${PWD_COMMAND}`; export r; \
3627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3628 $(SET_LIB_PATH) \
3629 $(HOST_EXPORTS) \
3630 for flag in $(EXTRA_HOST_FLAGS) ; do \
3631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3632 done; \
3633 echo "Doing installcheck in bash" ; \
3634 (cd bash && \
3635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3637 "RANLIB=$${RANLIB}" \
3638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3639 installcheck) \
3640 || exit 1
3642 @endif bash
3644 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3645 maybe-mostlyclean-bash:
3646 @if bash
3647 maybe-mostlyclean-bash: mostlyclean-bash
3649 mostlyclean-bash:
3650 @[ -f ./bash/Makefile ] || exit 0; \
3651 r=`${PWD_COMMAND}`; export r; \
3652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3653 $(SET_LIB_PATH) \
3654 $(HOST_EXPORTS) \
3655 for flag in $(EXTRA_HOST_FLAGS) ; do \
3656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3657 done; \
3658 echo "Doing mostlyclean in bash" ; \
3659 (cd bash && \
3660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3662 "RANLIB=$${RANLIB}" \
3663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3664 mostlyclean) \
3665 || exit 1
3667 @endif bash
3669 .PHONY: maybe-clean-bash clean-bash
3670 maybe-clean-bash:
3671 @if bash
3672 maybe-clean-bash: clean-bash
3674 clean-bash:
3675 @[ -f ./bash/Makefile ] || exit 0; \
3676 r=`${PWD_COMMAND}`; export r; \
3677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3678 $(SET_LIB_PATH) \
3679 $(HOST_EXPORTS) \
3680 for flag in $(EXTRA_HOST_FLAGS) ; do \
3681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3682 done; \
3683 echo "Doing clean in bash" ; \
3684 (cd bash && \
3685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3687 "RANLIB=$${RANLIB}" \
3688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3689 clean) \
3690 || exit 1
3692 @endif bash
3694 .PHONY: maybe-distclean-bash distclean-bash
3695 maybe-distclean-bash:
3696 @if bash
3697 maybe-distclean-bash: distclean-bash
3699 distclean-bash:
3700 @[ -f ./bash/Makefile ] || exit 0; \
3701 r=`${PWD_COMMAND}`; export r; \
3702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3703 $(SET_LIB_PATH) \
3704 $(HOST_EXPORTS) \
3705 for flag in $(EXTRA_HOST_FLAGS) ; do \
3706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3707 done; \
3708 echo "Doing distclean in bash" ; \
3709 (cd bash && \
3710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3712 "RANLIB=$${RANLIB}" \
3713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3714 distclean) \
3715 || exit 1
3717 @endif bash
3719 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3720 maybe-maintainer-clean-bash:
3721 @if bash
3722 maybe-maintainer-clean-bash: maintainer-clean-bash
3724 maintainer-clean-bash:
3725 @[ -f ./bash/Makefile ] || exit 0; \
3726 r=`${PWD_COMMAND}`; export r; \
3727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728 $(SET_LIB_PATH) \
3729 $(HOST_EXPORTS) \
3730 for flag in $(EXTRA_HOST_FLAGS) ; do \
3731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3732 done; \
3733 echo "Doing maintainer-clean in bash" ; \
3734 (cd bash && \
3735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3737 "RANLIB=$${RANLIB}" \
3738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3739 maintainer-clean) \
3740 || exit 1
3742 @endif bash
3745 .PHONY: configure-bfd maybe-configure-bfd
3746 maybe-configure-bfd:
3747 @if bfd
3748 maybe-configure-bfd: configure-bfd
3749 configure-bfd:
3750 @test -f stage_last && exit 0; \
3751 test ! -f bfd/Makefile || exit 0; \
3752 [ -d bfd ] || mkdir bfd; \
3753 r=`${PWD_COMMAND}`; export r; \
3754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3755 $(HOST_EXPORTS) \
3756 echo Configuring in bfd; \
3757 cd bfd || exit 1; \
3758 case $(srcdir) in \
3759 \.) \
3760 srcdiroption="--srcdir=."; \
3761 libsrcdir=".";; \
3762 /* | [A-Za-z]:[\\/]*) \
3763 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3764 libsrcdir="$$s/bfd";; \
3765 *) \
3766 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3767 libsrcdir="$$s/bfd";; \
3768 esac; \
3769 $(SHELL) $${libsrcdir}/configure \
3770 $(HOST_CONFIGARGS) $${srcdiroption} \
3771 || exit 1
3772 @endif bfd
3774 .PHONY: all-bfd maybe-all-bfd
3775 maybe-all-bfd:
3776 @if bfd
3777 TARGET-bfd=all
3778 maybe-all-bfd: all-bfd
3779 all-bfd: configure-bfd
3780 @test -f stage_last && exit 0; \
3781 r=`${PWD_COMMAND}`; export r; \
3782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3783 $(SET_LIB_PATH) \
3784 $(HOST_EXPORTS) \
3785 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) \
3786 $(TARGET-bfd))
3787 @endif bfd
3789 .PHONY: check-bfd maybe-check-bfd
3790 maybe-check-bfd:
3791 @if bfd
3792 maybe-check-bfd: check-bfd
3794 check-bfd:
3795 @r=`${PWD_COMMAND}`; export r; \
3796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3797 $(SET_LIB_PATH) \
3798 $(HOST_EXPORTS) \
3799 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3801 @endif bfd
3803 .PHONY: install-bfd maybe-install-bfd
3804 maybe-install-bfd:
3805 @if bfd
3806 maybe-install-bfd: install-bfd
3808 install-bfd: installdirs
3809 @r=`${PWD_COMMAND}`; export r; \
3810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3811 $(SET_LIB_PATH) \
3812 $(HOST_EXPORTS) \
3813 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3815 @endif bfd
3817 # Other targets (info, dvi, etc.)
3819 .PHONY: maybe-info-bfd info-bfd
3820 maybe-info-bfd:
3821 @if bfd
3822 maybe-info-bfd: info-bfd
3824 info-bfd: \
3825 configure-bfd
3826 @[ -f ./bfd/Makefile ] || exit 0; \
3827 r=`${PWD_COMMAND}`; export r; \
3828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3829 $(SET_LIB_PATH) \
3830 $(HOST_EXPORTS) \
3831 for flag in $(EXTRA_HOST_FLAGS) ; do \
3832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3833 done; \
3834 echo "Doing info in bfd" ; \
3835 (cd bfd && \
3836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3838 "RANLIB=$${RANLIB}" \
3839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3840 info) \
3841 || exit 1
3843 @endif bfd
3845 .PHONY: maybe-dvi-bfd dvi-bfd
3846 maybe-dvi-bfd:
3847 @if bfd
3848 maybe-dvi-bfd: dvi-bfd
3850 dvi-bfd: \
3851 configure-bfd
3852 @[ -f ./bfd/Makefile ] || exit 0; \
3853 r=`${PWD_COMMAND}`; export r; \
3854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3855 $(SET_LIB_PATH) \
3856 $(HOST_EXPORTS) \
3857 for flag in $(EXTRA_HOST_FLAGS) ; do \
3858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3859 done; \
3860 echo "Doing dvi in bfd" ; \
3861 (cd bfd && \
3862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3864 "RANLIB=$${RANLIB}" \
3865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3866 dvi) \
3867 || exit 1
3869 @endif bfd
3871 .PHONY: maybe-TAGS-bfd TAGS-bfd
3872 maybe-TAGS-bfd:
3873 @if bfd
3874 maybe-TAGS-bfd: TAGS-bfd
3876 TAGS-bfd: \
3877 configure-bfd
3878 @[ -f ./bfd/Makefile ] || exit 0; \
3879 r=`${PWD_COMMAND}`; export r; \
3880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3881 $(SET_LIB_PATH) \
3882 $(HOST_EXPORTS) \
3883 for flag in $(EXTRA_HOST_FLAGS) ; do \
3884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3885 done; \
3886 echo "Doing TAGS in bfd" ; \
3887 (cd bfd && \
3888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3890 "RANLIB=$${RANLIB}" \
3891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3892 TAGS) \
3893 || exit 1
3895 @endif bfd
3897 .PHONY: maybe-install-info-bfd install-info-bfd
3898 maybe-install-info-bfd:
3899 @if bfd
3900 maybe-install-info-bfd: install-info-bfd
3902 install-info-bfd: \
3903 configure-bfd \
3904 info-bfd
3905 @[ -f ./bfd/Makefile ] || exit 0; \
3906 r=`${PWD_COMMAND}`; export r; \
3907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3908 $(SET_LIB_PATH) \
3909 $(HOST_EXPORTS) \
3910 for flag in $(EXTRA_HOST_FLAGS) ; do \
3911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3912 done; \
3913 echo "Doing install-info in bfd" ; \
3914 (cd bfd && \
3915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3917 "RANLIB=$${RANLIB}" \
3918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3919 install-info) \
3920 || exit 1
3922 @endif bfd
3924 .PHONY: maybe-installcheck-bfd installcheck-bfd
3925 maybe-installcheck-bfd:
3926 @if bfd
3927 maybe-installcheck-bfd: installcheck-bfd
3929 installcheck-bfd: \
3930 configure-bfd
3931 @[ -f ./bfd/Makefile ] || exit 0; \
3932 r=`${PWD_COMMAND}`; export r; \
3933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3934 $(SET_LIB_PATH) \
3935 $(HOST_EXPORTS) \
3936 for flag in $(EXTRA_HOST_FLAGS) ; do \
3937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3938 done; \
3939 echo "Doing installcheck in bfd" ; \
3940 (cd bfd && \
3941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3943 "RANLIB=$${RANLIB}" \
3944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3945 installcheck) \
3946 || exit 1
3948 @endif bfd
3950 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3951 maybe-mostlyclean-bfd:
3952 @if bfd
3953 maybe-mostlyclean-bfd: mostlyclean-bfd
3955 mostlyclean-bfd:
3956 @[ -f ./bfd/Makefile ] || exit 0; \
3957 r=`${PWD_COMMAND}`; export r; \
3958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3959 $(SET_LIB_PATH) \
3960 $(HOST_EXPORTS) \
3961 for flag in $(EXTRA_HOST_FLAGS) ; do \
3962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3963 done; \
3964 echo "Doing mostlyclean in bfd" ; \
3965 (cd bfd && \
3966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3968 "RANLIB=$${RANLIB}" \
3969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3970 mostlyclean) \
3971 || exit 1
3973 @endif bfd
3975 .PHONY: maybe-clean-bfd clean-bfd
3976 maybe-clean-bfd:
3977 @if bfd
3978 maybe-clean-bfd: clean-bfd
3980 clean-bfd:
3981 @[ -f ./bfd/Makefile ] || exit 0; \
3982 r=`${PWD_COMMAND}`; export r; \
3983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3984 $(SET_LIB_PATH) \
3985 $(HOST_EXPORTS) \
3986 for flag in $(EXTRA_HOST_FLAGS) ; do \
3987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3988 done; \
3989 echo "Doing clean in bfd" ; \
3990 (cd bfd && \
3991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3993 "RANLIB=$${RANLIB}" \
3994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3995 clean) \
3996 || exit 1
3998 @endif bfd
4000 .PHONY: maybe-distclean-bfd distclean-bfd
4001 maybe-distclean-bfd:
4002 @if bfd
4003 maybe-distclean-bfd: distclean-bfd
4005 distclean-bfd:
4006 @[ -f ./bfd/Makefile ] || exit 0; \
4007 r=`${PWD_COMMAND}`; export r; \
4008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4009 $(SET_LIB_PATH) \
4010 $(HOST_EXPORTS) \
4011 for flag in $(EXTRA_HOST_FLAGS) ; do \
4012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4013 done; \
4014 echo "Doing distclean in bfd" ; \
4015 (cd bfd && \
4016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4018 "RANLIB=$${RANLIB}" \
4019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4020 distclean) \
4021 || exit 1
4023 @endif bfd
4025 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4026 maybe-maintainer-clean-bfd:
4027 @if bfd
4028 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4030 maintainer-clean-bfd:
4031 @[ -f ./bfd/Makefile ] || exit 0; \
4032 r=`${PWD_COMMAND}`; export r; \
4033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4034 $(SET_LIB_PATH) \
4035 $(HOST_EXPORTS) \
4036 for flag in $(EXTRA_HOST_FLAGS) ; do \
4037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4038 done; \
4039 echo "Doing maintainer-clean in bfd" ; \
4040 (cd bfd && \
4041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4043 "RANLIB=$${RANLIB}" \
4044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4045 maintainer-clean) \
4046 || exit 1
4048 @endif bfd
4051 .PHONY: configure-opcodes maybe-configure-opcodes
4052 maybe-configure-opcodes:
4053 @if opcodes
4054 maybe-configure-opcodes: configure-opcodes
4055 configure-opcodes:
4056 @test -f stage_last && exit 0; \
4057 test ! -f opcodes/Makefile || exit 0; \
4058 [ -d opcodes ] || mkdir opcodes; \
4059 r=`${PWD_COMMAND}`; export r; \
4060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4061 $(HOST_EXPORTS) \
4062 echo Configuring in opcodes; \
4063 cd opcodes || exit 1; \
4064 case $(srcdir) in \
4065 \.) \
4066 srcdiroption="--srcdir=."; \
4067 libsrcdir=".";; \
4068 /* | [A-Za-z]:[\\/]*) \
4069 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4070 libsrcdir="$$s/opcodes";; \
4071 *) \
4072 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4073 libsrcdir="$$s/opcodes";; \
4074 esac; \
4075 $(SHELL) $${libsrcdir}/configure \
4076 $(HOST_CONFIGARGS) $${srcdiroption} \
4077 || exit 1
4078 @endif opcodes
4080 .PHONY: all-opcodes maybe-all-opcodes
4081 maybe-all-opcodes:
4082 @if opcodes
4083 TARGET-opcodes=all
4084 maybe-all-opcodes: all-opcodes
4085 all-opcodes: configure-opcodes
4086 @test -f stage_last && exit 0; \
4087 r=`${PWD_COMMAND}`; export r; \
4088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4089 $(SET_LIB_PATH) \
4090 $(HOST_EXPORTS) \
4091 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) \
4092 $(TARGET-opcodes))
4093 @endif opcodes
4095 .PHONY: check-opcodes maybe-check-opcodes
4096 maybe-check-opcodes:
4097 @if opcodes
4098 maybe-check-opcodes: check-opcodes
4100 check-opcodes:
4101 @r=`${PWD_COMMAND}`; export r; \
4102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4103 $(SET_LIB_PATH) \
4104 $(HOST_EXPORTS) \
4105 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4107 @endif opcodes
4109 .PHONY: install-opcodes maybe-install-opcodes
4110 maybe-install-opcodes:
4111 @if opcodes
4112 maybe-install-opcodes: install-opcodes
4114 install-opcodes: installdirs
4115 @r=`${PWD_COMMAND}`; export r; \
4116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4117 $(SET_LIB_PATH) \
4118 $(HOST_EXPORTS) \
4119 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4121 @endif opcodes
4123 # Other targets (info, dvi, etc.)
4125 .PHONY: maybe-info-opcodes info-opcodes
4126 maybe-info-opcodes:
4127 @if opcodes
4128 maybe-info-opcodes: info-opcodes
4130 info-opcodes: \
4131 configure-opcodes
4132 @[ -f ./opcodes/Makefile ] || exit 0; \
4133 r=`${PWD_COMMAND}`; export r; \
4134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4135 $(SET_LIB_PATH) \
4136 $(HOST_EXPORTS) \
4137 for flag in $(EXTRA_HOST_FLAGS) ; do \
4138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4139 done; \
4140 echo "Doing info in opcodes" ; \
4141 (cd opcodes && \
4142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4144 "RANLIB=$${RANLIB}" \
4145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4146 info) \
4147 || exit 1
4149 @endif opcodes
4151 .PHONY: maybe-dvi-opcodes dvi-opcodes
4152 maybe-dvi-opcodes:
4153 @if opcodes
4154 maybe-dvi-opcodes: dvi-opcodes
4156 dvi-opcodes: \
4157 configure-opcodes
4158 @[ -f ./opcodes/Makefile ] || exit 0; \
4159 r=`${PWD_COMMAND}`; export r; \
4160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4161 $(SET_LIB_PATH) \
4162 $(HOST_EXPORTS) \
4163 for flag in $(EXTRA_HOST_FLAGS) ; do \
4164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4165 done; \
4166 echo "Doing dvi in opcodes" ; \
4167 (cd opcodes && \
4168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4170 "RANLIB=$${RANLIB}" \
4171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4172 dvi) \
4173 || exit 1
4175 @endif opcodes
4177 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4178 maybe-TAGS-opcodes:
4179 @if opcodes
4180 maybe-TAGS-opcodes: TAGS-opcodes
4182 TAGS-opcodes: \
4183 configure-opcodes
4184 @[ -f ./opcodes/Makefile ] || exit 0; \
4185 r=`${PWD_COMMAND}`; export r; \
4186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4187 $(SET_LIB_PATH) \
4188 $(HOST_EXPORTS) \
4189 for flag in $(EXTRA_HOST_FLAGS) ; do \
4190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4191 done; \
4192 echo "Doing TAGS in opcodes" ; \
4193 (cd opcodes && \
4194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4196 "RANLIB=$${RANLIB}" \
4197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4198 TAGS) \
4199 || exit 1
4201 @endif opcodes
4203 .PHONY: maybe-install-info-opcodes install-info-opcodes
4204 maybe-install-info-opcodes:
4205 @if opcodes
4206 maybe-install-info-opcodes: install-info-opcodes
4208 install-info-opcodes: \
4209 configure-opcodes \
4210 info-opcodes
4211 @[ -f ./opcodes/Makefile ] || exit 0; \
4212 r=`${PWD_COMMAND}`; export r; \
4213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4214 $(SET_LIB_PATH) \
4215 $(HOST_EXPORTS) \
4216 for flag in $(EXTRA_HOST_FLAGS) ; do \
4217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4218 done; \
4219 echo "Doing install-info in opcodes" ; \
4220 (cd opcodes && \
4221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4223 "RANLIB=$${RANLIB}" \
4224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4225 install-info) \
4226 || exit 1
4228 @endif opcodes
4230 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4231 maybe-installcheck-opcodes:
4232 @if opcodes
4233 maybe-installcheck-opcodes: installcheck-opcodes
4235 installcheck-opcodes: \
4236 configure-opcodes
4237 @[ -f ./opcodes/Makefile ] || exit 0; \
4238 r=`${PWD_COMMAND}`; export r; \
4239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4240 $(SET_LIB_PATH) \
4241 $(HOST_EXPORTS) \
4242 for flag in $(EXTRA_HOST_FLAGS) ; do \
4243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4244 done; \
4245 echo "Doing installcheck in opcodes" ; \
4246 (cd opcodes && \
4247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4249 "RANLIB=$${RANLIB}" \
4250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4251 installcheck) \
4252 || exit 1
4254 @endif opcodes
4256 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4257 maybe-mostlyclean-opcodes:
4258 @if opcodes
4259 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4261 mostlyclean-opcodes:
4262 @[ -f ./opcodes/Makefile ] || exit 0; \
4263 r=`${PWD_COMMAND}`; export r; \
4264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4265 $(SET_LIB_PATH) \
4266 $(HOST_EXPORTS) \
4267 for flag in $(EXTRA_HOST_FLAGS) ; do \
4268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4269 done; \
4270 echo "Doing mostlyclean in opcodes" ; \
4271 (cd opcodes && \
4272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4274 "RANLIB=$${RANLIB}" \
4275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4276 mostlyclean) \
4277 || exit 1
4279 @endif opcodes
4281 .PHONY: maybe-clean-opcodes clean-opcodes
4282 maybe-clean-opcodes:
4283 @if opcodes
4284 maybe-clean-opcodes: clean-opcodes
4286 clean-opcodes:
4287 @[ -f ./opcodes/Makefile ] || exit 0; \
4288 r=`${PWD_COMMAND}`; export r; \
4289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4290 $(SET_LIB_PATH) \
4291 $(HOST_EXPORTS) \
4292 for flag in $(EXTRA_HOST_FLAGS) ; do \
4293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4294 done; \
4295 echo "Doing clean in opcodes" ; \
4296 (cd opcodes && \
4297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4299 "RANLIB=$${RANLIB}" \
4300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4301 clean) \
4302 || exit 1
4304 @endif opcodes
4306 .PHONY: maybe-distclean-opcodes distclean-opcodes
4307 maybe-distclean-opcodes:
4308 @if opcodes
4309 maybe-distclean-opcodes: distclean-opcodes
4311 distclean-opcodes:
4312 @[ -f ./opcodes/Makefile ] || exit 0; \
4313 r=`${PWD_COMMAND}`; export r; \
4314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4315 $(SET_LIB_PATH) \
4316 $(HOST_EXPORTS) \
4317 for flag in $(EXTRA_HOST_FLAGS) ; do \
4318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4319 done; \
4320 echo "Doing distclean in opcodes" ; \
4321 (cd opcodes && \
4322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4324 "RANLIB=$${RANLIB}" \
4325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4326 distclean) \
4327 || exit 1
4329 @endif opcodes
4331 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4332 maybe-maintainer-clean-opcodes:
4333 @if opcodes
4334 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4336 maintainer-clean-opcodes:
4337 @[ -f ./opcodes/Makefile ] || exit 0; \
4338 r=`${PWD_COMMAND}`; export r; \
4339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4340 $(SET_LIB_PATH) \
4341 $(HOST_EXPORTS) \
4342 for flag in $(EXTRA_HOST_FLAGS) ; do \
4343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4344 done; \
4345 echo "Doing maintainer-clean in opcodes" ; \
4346 (cd opcodes && \
4347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4349 "RANLIB=$${RANLIB}" \
4350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4351 maintainer-clean) \
4352 || exit 1
4354 @endif opcodes
4357 .PHONY: configure-binutils maybe-configure-binutils
4358 maybe-configure-binutils:
4359 @if binutils
4360 maybe-configure-binutils: configure-binutils
4361 configure-binutils:
4362 @test -f stage_last && exit 0; \
4363 test ! -f binutils/Makefile || exit 0; \
4364 [ -d binutils ] || mkdir binutils; \
4365 r=`${PWD_COMMAND}`; export r; \
4366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4367 $(HOST_EXPORTS) \
4368 echo Configuring in binutils; \
4369 cd binutils || exit 1; \
4370 case $(srcdir) in \
4371 \.) \
4372 srcdiroption="--srcdir=."; \
4373 libsrcdir=".";; \
4374 /* | [A-Za-z]:[\\/]*) \
4375 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4376 libsrcdir="$$s/binutils";; \
4377 *) \
4378 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4379 libsrcdir="$$s/binutils";; \
4380 esac; \
4381 $(SHELL) $${libsrcdir}/configure \
4382 $(HOST_CONFIGARGS) $${srcdiroption} \
4383 || exit 1
4384 @endif binutils
4386 .PHONY: all-binutils maybe-all-binutils
4387 maybe-all-binutils:
4388 @if binutils
4389 TARGET-binutils=all
4390 maybe-all-binutils: all-binutils
4391 all-binutils: configure-binutils
4392 @test -f stage_last && exit 0; \
4393 r=`${PWD_COMMAND}`; export r; \
4394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4395 $(SET_LIB_PATH) \
4396 $(HOST_EXPORTS) \
4397 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) \
4398 $(TARGET-binutils))
4399 @endif binutils
4401 .PHONY: check-binutils maybe-check-binutils
4402 maybe-check-binutils:
4403 @if binutils
4404 maybe-check-binutils: check-binutils
4406 check-binutils:
4407 @r=`${PWD_COMMAND}`; export r; \
4408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4409 $(SET_LIB_PATH) \
4410 $(HOST_EXPORTS) \
4411 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4413 @endif binutils
4415 .PHONY: install-binutils maybe-install-binutils
4416 maybe-install-binutils:
4417 @if binutils
4418 maybe-install-binutils: install-binutils
4420 install-binutils: installdirs
4421 @r=`${PWD_COMMAND}`; export r; \
4422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4423 $(SET_LIB_PATH) \
4424 $(HOST_EXPORTS) \
4425 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4427 @endif binutils
4429 # Other targets (info, dvi, etc.)
4431 .PHONY: maybe-info-binutils info-binutils
4432 maybe-info-binutils:
4433 @if binutils
4434 maybe-info-binutils: info-binutils
4436 info-binutils: \
4437 configure-binutils
4438 @[ -f ./binutils/Makefile ] || exit 0; \
4439 r=`${PWD_COMMAND}`; export r; \
4440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4441 $(SET_LIB_PATH) \
4442 $(HOST_EXPORTS) \
4443 for flag in $(EXTRA_HOST_FLAGS) ; do \
4444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4445 done; \
4446 echo "Doing info in binutils" ; \
4447 (cd binutils && \
4448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4450 "RANLIB=$${RANLIB}" \
4451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4452 info) \
4453 || exit 1
4455 @endif binutils
4457 .PHONY: maybe-dvi-binutils dvi-binutils
4458 maybe-dvi-binutils:
4459 @if binutils
4460 maybe-dvi-binutils: dvi-binutils
4462 dvi-binutils: \
4463 configure-binutils
4464 @[ -f ./binutils/Makefile ] || exit 0; \
4465 r=`${PWD_COMMAND}`; export r; \
4466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4467 $(SET_LIB_PATH) \
4468 $(HOST_EXPORTS) \
4469 for flag in $(EXTRA_HOST_FLAGS) ; do \
4470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4471 done; \
4472 echo "Doing dvi in binutils" ; \
4473 (cd binutils && \
4474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4476 "RANLIB=$${RANLIB}" \
4477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4478 dvi) \
4479 || exit 1
4481 @endif binutils
4483 .PHONY: maybe-TAGS-binutils TAGS-binutils
4484 maybe-TAGS-binutils:
4485 @if binutils
4486 maybe-TAGS-binutils: TAGS-binutils
4488 TAGS-binutils: \
4489 configure-binutils
4490 @[ -f ./binutils/Makefile ] || exit 0; \
4491 r=`${PWD_COMMAND}`; export r; \
4492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4493 $(SET_LIB_PATH) \
4494 $(HOST_EXPORTS) \
4495 for flag in $(EXTRA_HOST_FLAGS) ; do \
4496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4497 done; \
4498 echo "Doing TAGS in binutils" ; \
4499 (cd binutils && \
4500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4502 "RANLIB=$${RANLIB}" \
4503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4504 TAGS) \
4505 || exit 1
4507 @endif binutils
4509 .PHONY: maybe-install-info-binutils install-info-binutils
4510 maybe-install-info-binutils:
4511 @if binutils
4512 maybe-install-info-binutils: install-info-binutils
4514 install-info-binutils: \
4515 configure-binutils \
4516 info-binutils
4517 @[ -f ./binutils/Makefile ] || exit 0; \
4518 r=`${PWD_COMMAND}`; export r; \
4519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4520 $(SET_LIB_PATH) \
4521 $(HOST_EXPORTS) \
4522 for flag in $(EXTRA_HOST_FLAGS) ; do \
4523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4524 done; \
4525 echo "Doing install-info in binutils" ; \
4526 (cd binutils && \
4527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4529 "RANLIB=$${RANLIB}" \
4530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4531 install-info) \
4532 || exit 1
4534 @endif binutils
4536 .PHONY: maybe-installcheck-binutils installcheck-binutils
4537 maybe-installcheck-binutils:
4538 @if binutils
4539 maybe-installcheck-binutils: installcheck-binutils
4541 installcheck-binutils: \
4542 configure-binutils
4543 @[ -f ./binutils/Makefile ] || exit 0; \
4544 r=`${PWD_COMMAND}`; export r; \
4545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4546 $(SET_LIB_PATH) \
4547 $(HOST_EXPORTS) \
4548 for flag in $(EXTRA_HOST_FLAGS) ; do \
4549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4550 done; \
4551 echo "Doing installcheck in binutils" ; \
4552 (cd binutils && \
4553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4555 "RANLIB=$${RANLIB}" \
4556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4557 installcheck) \
4558 || exit 1
4560 @endif binutils
4562 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4563 maybe-mostlyclean-binutils:
4564 @if binutils
4565 maybe-mostlyclean-binutils: mostlyclean-binutils
4567 mostlyclean-binutils:
4568 @[ -f ./binutils/Makefile ] || exit 0; \
4569 r=`${PWD_COMMAND}`; export r; \
4570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4571 $(SET_LIB_PATH) \
4572 $(HOST_EXPORTS) \
4573 for flag in $(EXTRA_HOST_FLAGS) ; do \
4574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4575 done; \
4576 echo "Doing mostlyclean in binutils" ; \
4577 (cd binutils && \
4578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4580 "RANLIB=$${RANLIB}" \
4581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4582 mostlyclean) \
4583 || exit 1
4585 @endif binutils
4587 .PHONY: maybe-clean-binutils clean-binutils
4588 maybe-clean-binutils:
4589 @if binutils
4590 maybe-clean-binutils: clean-binutils
4592 clean-binutils:
4593 @[ -f ./binutils/Makefile ] || exit 0; \
4594 r=`${PWD_COMMAND}`; export r; \
4595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4596 $(SET_LIB_PATH) \
4597 $(HOST_EXPORTS) \
4598 for flag in $(EXTRA_HOST_FLAGS) ; do \
4599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4600 done; \
4601 echo "Doing clean in binutils" ; \
4602 (cd binutils && \
4603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4605 "RANLIB=$${RANLIB}" \
4606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4607 clean) \
4608 || exit 1
4610 @endif binutils
4612 .PHONY: maybe-distclean-binutils distclean-binutils
4613 maybe-distclean-binutils:
4614 @if binutils
4615 maybe-distclean-binutils: distclean-binutils
4617 distclean-binutils:
4618 @[ -f ./binutils/Makefile ] || exit 0; \
4619 r=`${PWD_COMMAND}`; export r; \
4620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4621 $(SET_LIB_PATH) \
4622 $(HOST_EXPORTS) \
4623 for flag in $(EXTRA_HOST_FLAGS) ; do \
4624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4625 done; \
4626 echo "Doing distclean in binutils" ; \
4627 (cd binutils && \
4628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4630 "RANLIB=$${RANLIB}" \
4631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4632 distclean) \
4633 || exit 1
4635 @endif binutils
4637 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4638 maybe-maintainer-clean-binutils:
4639 @if binutils
4640 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4642 maintainer-clean-binutils:
4643 @[ -f ./binutils/Makefile ] || exit 0; \
4644 r=`${PWD_COMMAND}`; export r; \
4645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4646 $(SET_LIB_PATH) \
4647 $(HOST_EXPORTS) \
4648 for flag in $(EXTRA_HOST_FLAGS) ; do \
4649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4650 done; \
4651 echo "Doing maintainer-clean in binutils" ; \
4652 (cd binutils && \
4653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4655 "RANLIB=$${RANLIB}" \
4656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4657 maintainer-clean) \
4658 || exit 1
4660 @endif binutils
4663 .PHONY: configure-bison maybe-configure-bison
4664 maybe-configure-bison:
4665 @if bison
4666 maybe-configure-bison: configure-bison
4667 configure-bison:
4668 @test ! -f bison/Makefile || exit 0; \
4669 [ -d bison ] || mkdir bison; \
4670 r=`${PWD_COMMAND}`; export r; \
4671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4672 $(HOST_EXPORTS) \
4673 echo Configuring in bison; \
4674 cd bison || exit 1; \
4675 case $(srcdir) in \
4676 \.) \
4677 srcdiroption="--srcdir=."; \
4678 libsrcdir=".";; \
4679 /* | [A-Za-z]:[\\/]*) \
4680 srcdiroption="--srcdir=$(srcdir)/bison"; \
4681 libsrcdir="$$s/bison";; \
4682 *) \
4683 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4684 libsrcdir="$$s/bison";; \
4685 esac; \
4686 $(SHELL) $${libsrcdir}/configure \
4687 $(HOST_CONFIGARGS) $${srcdiroption} \
4688 || exit 1
4689 @endif bison
4691 .PHONY: all-bison maybe-all-bison
4692 maybe-all-bison:
4693 @if bison
4694 TARGET-bison=all
4695 maybe-all-bison: all-bison
4696 all-bison: configure-bison
4697 @r=`${PWD_COMMAND}`; export r; \
4698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4699 $(SET_LIB_PATH) \
4700 $(HOST_EXPORTS) \
4701 (cd bison && $(MAKE) $(FLAGS_TO_PASS) \
4702 $(TARGET-bison))
4703 @endif bison
4705 .PHONY: check-bison maybe-check-bison
4706 maybe-check-bison:
4707 @if bison
4708 maybe-check-bison: check-bison
4710 # This module is only tested in a native toolchain.
4711 check-bison:
4712 @if [ '$(host)' = '$(target)' ] ; then \
4713 r=`${PWD_COMMAND}`; export r; \
4714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4715 $(SET_LIB_PATH) \
4716 $(HOST_EXPORTS) \
4717 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4720 @endif bison
4722 .PHONY: install-bison maybe-install-bison
4723 maybe-install-bison:
4724 @if bison
4725 maybe-install-bison: install-bison
4727 install-bison: installdirs
4728 @r=`${PWD_COMMAND}`; export r; \
4729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4730 $(SET_LIB_PATH) \
4731 $(HOST_EXPORTS) \
4732 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4734 @endif bison
4736 # Other targets (info, dvi, etc.)
4738 .PHONY: maybe-info-bison info-bison
4739 maybe-info-bison:
4740 @if bison
4741 maybe-info-bison: info-bison
4743 info-bison: \
4744 configure-bison
4745 @[ -f ./bison/Makefile ] || exit 0; \
4746 r=`${PWD_COMMAND}`; export r; \
4747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4748 $(SET_LIB_PATH) \
4749 $(HOST_EXPORTS) \
4750 for flag in $(EXTRA_HOST_FLAGS) ; do \
4751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4752 done; \
4753 echo "Doing info in bison" ; \
4754 (cd bison && \
4755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4757 "RANLIB=$${RANLIB}" \
4758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4759 info) \
4760 || exit 1
4762 @endif bison
4764 .PHONY: maybe-dvi-bison dvi-bison
4765 maybe-dvi-bison:
4766 @if bison
4767 maybe-dvi-bison: dvi-bison
4769 dvi-bison: \
4770 configure-bison
4771 @[ -f ./bison/Makefile ] || exit 0; \
4772 r=`${PWD_COMMAND}`; export r; \
4773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4774 $(SET_LIB_PATH) \
4775 $(HOST_EXPORTS) \
4776 for flag in $(EXTRA_HOST_FLAGS) ; do \
4777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4778 done; \
4779 echo "Doing dvi in bison" ; \
4780 (cd bison && \
4781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4783 "RANLIB=$${RANLIB}" \
4784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4785 dvi) \
4786 || exit 1
4788 @endif bison
4790 .PHONY: maybe-TAGS-bison TAGS-bison
4791 maybe-TAGS-bison:
4792 @if bison
4793 maybe-TAGS-bison: TAGS-bison
4795 TAGS-bison: \
4796 configure-bison
4797 @[ -f ./bison/Makefile ] || exit 0; \
4798 r=`${PWD_COMMAND}`; export r; \
4799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4800 $(SET_LIB_PATH) \
4801 $(HOST_EXPORTS) \
4802 for flag in $(EXTRA_HOST_FLAGS) ; do \
4803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4804 done; \
4805 echo "Doing TAGS in bison" ; \
4806 (cd bison && \
4807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4809 "RANLIB=$${RANLIB}" \
4810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4811 TAGS) \
4812 || exit 1
4814 @endif bison
4816 .PHONY: maybe-install-info-bison install-info-bison
4817 maybe-install-info-bison:
4818 @if bison
4819 maybe-install-info-bison: install-info-bison
4821 install-info-bison: \
4822 configure-bison \
4823 info-bison
4824 @[ -f ./bison/Makefile ] || exit 0; \
4825 r=`${PWD_COMMAND}`; export r; \
4826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4827 $(SET_LIB_PATH) \
4828 $(HOST_EXPORTS) \
4829 for flag in $(EXTRA_HOST_FLAGS) ; do \
4830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4831 done; \
4832 echo "Doing install-info in bison" ; \
4833 (cd bison && \
4834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4836 "RANLIB=$${RANLIB}" \
4837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4838 install-info) \
4839 || exit 1
4841 @endif bison
4843 .PHONY: maybe-installcheck-bison installcheck-bison
4844 maybe-installcheck-bison:
4845 @if bison
4846 maybe-installcheck-bison: installcheck-bison
4848 installcheck-bison: \
4849 configure-bison
4850 @[ -f ./bison/Makefile ] || exit 0; \
4851 r=`${PWD_COMMAND}`; export r; \
4852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4853 $(SET_LIB_PATH) \
4854 $(HOST_EXPORTS) \
4855 for flag in $(EXTRA_HOST_FLAGS) ; do \
4856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4857 done; \
4858 echo "Doing installcheck in bison" ; \
4859 (cd bison && \
4860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4862 "RANLIB=$${RANLIB}" \
4863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4864 installcheck) \
4865 || exit 1
4867 @endif bison
4869 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4870 maybe-mostlyclean-bison:
4871 @if bison
4872 maybe-mostlyclean-bison: mostlyclean-bison
4874 mostlyclean-bison:
4875 @[ -f ./bison/Makefile ] || exit 0; \
4876 r=`${PWD_COMMAND}`; export r; \
4877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4878 $(SET_LIB_PATH) \
4879 $(HOST_EXPORTS) \
4880 for flag in $(EXTRA_HOST_FLAGS) ; do \
4881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4882 done; \
4883 echo "Doing mostlyclean in bison" ; \
4884 (cd bison && \
4885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4887 "RANLIB=$${RANLIB}" \
4888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4889 mostlyclean) \
4890 || exit 1
4892 @endif bison
4894 .PHONY: maybe-clean-bison clean-bison
4895 maybe-clean-bison:
4896 @if bison
4897 maybe-clean-bison: clean-bison
4899 clean-bison:
4900 @[ -f ./bison/Makefile ] || exit 0; \
4901 r=`${PWD_COMMAND}`; export r; \
4902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4903 $(SET_LIB_PATH) \
4904 $(HOST_EXPORTS) \
4905 for flag in $(EXTRA_HOST_FLAGS) ; do \
4906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4907 done; \
4908 echo "Doing clean in bison" ; \
4909 (cd bison && \
4910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4912 "RANLIB=$${RANLIB}" \
4913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4914 clean) \
4915 || exit 1
4917 @endif bison
4919 .PHONY: maybe-distclean-bison distclean-bison
4920 maybe-distclean-bison:
4921 @if bison
4922 maybe-distclean-bison: distclean-bison
4924 distclean-bison:
4925 @[ -f ./bison/Makefile ] || exit 0; \
4926 r=`${PWD_COMMAND}`; export r; \
4927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4928 $(SET_LIB_PATH) \
4929 $(HOST_EXPORTS) \
4930 for flag in $(EXTRA_HOST_FLAGS) ; do \
4931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4932 done; \
4933 echo "Doing distclean in bison" ; \
4934 (cd bison && \
4935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4937 "RANLIB=$${RANLIB}" \
4938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4939 distclean) \
4940 || exit 1
4942 @endif bison
4944 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4945 maybe-maintainer-clean-bison:
4946 @if bison
4947 maybe-maintainer-clean-bison: maintainer-clean-bison
4949 maintainer-clean-bison:
4950 @[ -f ./bison/Makefile ] || exit 0; \
4951 r=`${PWD_COMMAND}`; export r; \
4952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4953 $(SET_LIB_PATH) \
4954 $(HOST_EXPORTS) \
4955 for flag in $(EXTRA_HOST_FLAGS) ; do \
4956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4957 done; \
4958 echo "Doing maintainer-clean in bison" ; \
4959 (cd bison && \
4960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4962 "RANLIB=$${RANLIB}" \
4963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4964 maintainer-clean) \
4965 || exit 1
4967 @endif bison
4970 .PHONY: configure-byacc maybe-configure-byacc
4971 maybe-configure-byacc:
4972 @if byacc
4973 maybe-configure-byacc: configure-byacc
4974 configure-byacc:
4975 @test ! -f byacc/Makefile || exit 0; \
4976 [ -d byacc ] || mkdir byacc; \
4977 r=`${PWD_COMMAND}`; export r; \
4978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4979 $(HOST_EXPORTS) \
4980 echo Configuring in byacc; \
4981 cd byacc || exit 1; \
4982 case $(srcdir) in \
4983 \.) \
4984 srcdiroption="--srcdir=."; \
4985 libsrcdir=".";; \
4986 /* | [A-Za-z]:[\\/]*) \
4987 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4988 libsrcdir="$$s/byacc";; \
4989 *) \
4990 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4991 libsrcdir="$$s/byacc";; \
4992 esac; \
4993 $(SHELL) $${libsrcdir}/configure \
4994 $(HOST_CONFIGARGS) $${srcdiroption} \
4995 || exit 1
4996 @endif byacc
4998 .PHONY: all-byacc maybe-all-byacc
4999 maybe-all-byacc:
5000 @if byacc
5001 TARGET-byacc=all
5002 maybe-all-byacc: all-byacc
5003 all-byacc: configure-byacc
5004 @r=`${PWD_COMMAND}`; export r; \
5005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5006 $(SET_LIB_PATH) \
5007 $(HOST_EXPORTS) \
5008 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) \
5009 $(TARGET-byacc))
5010 @endif byacc
5012 .PHONY: check-byacc maybe-check-byacc
5013 maybe-check-byacc:
5014 @if byacc
5015 maybe-check-byacc: check-byacc
5017 # This module is only tested in a native toolchain.
5018 check-byacc:
5019 @if [ '$(host)' = '$(target)' ] ; then \
5020 r=`${PWD_COMMAND}`; export r; \
5021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5022 $(SET_LIB_PATH) \
5023 $(HOST_EXPORTS) \
5024 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
5027 @endif byacc
5029 .PHONY: install-byacc maybe-install-byacc
5030 maybe-install-byacc:
5031 @if byacc
5032 maybe-install-byacc: install-byacc
5034 install-byacc: installdirs
5035 @r=`${PWD_COMMAND}`; export r; \
5036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5037 $(SET_LIB_PATH) \
5038 $(HOST_EXPORTS) \
5039 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5041 @endif byacc
5043 # Other targets (info, dvi, etc.)
5045 .PHONY: maybe-info-byacc info-byacc
5046 maybe-info-byacc:
5047 @if byacc
5048 maybe-info-byacc: info-byacc
5050 info-byacc: \
5051 configure-byacc
5052 @[ -f ./byacc/Makefile ] || exit 0; \
5053 r=`${PWD_COMMAND}`; export r; \
5054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5055 $(SET_LIB_PATH) \
5056 $(HOST_EXPORTS) \
5057 for flag in $(EXTRA_HOST_FLAGS) ; do \
5058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5059 done; \
5060 echo "Doing info in byacc" ; \
5061 (cd byacc && \
5062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5064 "RANLIB=$${RANLIB}" \
5065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5066 info) \
5067 || exit 1
5069 @endif byacc
5071 .PHONY: maybe-dvi-byacc dvi-byacc
5072 maybe-dvi-byacc:
5073 @if byacc
5074 maybe-dvi-byacc: dvi-byacc
5076 dvi-byacc: \
5077 configure-byacc
5078 @[ -f ./byacc/Makefile ] || exit 0; \
5079 r=`${PWD_COMMAND}`; export r; \
5080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5081 $(SET_LIB_PATH) \
5082 $(HOST_EXPORTS) \
5083 for flag in $(EXTRA_HOST_FLAGS) ; do \
5084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5085 done; \
5086 echo "Doing dvi in byacc" ; \
5087 (cd byacc && \
5088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5090 "RANLIB=$${RANLIB}" \
5091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5092 dvi) \
5093 || exit 1
5095 @endif byacc
5097 .PHONY: maybe-TAGS-byacc TAGS-byacc
5098 maybe-TAGS-byacc:
5099 @if byacc
5100 maybe-TAGS-byacc: TAGS-byacc
5102 TAGS-byacc: \
5103 configure-byacc
5104 @[ -f ./byacc/Makefile ] || exit 0; \
5105 r=`${PWD_COMMAND}`; export r; \
5106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5107 $(SET_LIB_PATH) \
5108 $(HOST_EXPORTS) \
5109 for flag in $(EXTRA_HOST_FLAGS) ; do \
5110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5111 done; \
5112 echo "Doing TAGS in byacc" ; \
5113 (cd byacc && \
5114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5116 "RANLIB=$${RANLIB}" \
5117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5118 TAGS) \
5119 || exit 1
5121 @endif byacc
5123 .PHONY: maybe-install-info-byacc install-info-byacc
5124 maybe-install-info-byacc:
5125 @if byacc
5126 maybe-install-info-byacc: install-info-byacc
5128 install-info-byacc: \
5129 configure-byacc \
5130 info-byacc
5131 @[ -f ./byacc/Makefile ] || exit 0; \
5132 r=`${PWD_COMMAND}`; export r; \
5133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5134 $(SET_LIB_PATH) \
5135 $(HOST_EXPORTS) \
5136 for flag in $(EXTRA_HOST_FLAGS) ; do \
5137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5138 done; \
5139 echo "Doing install-info in byacc" ; \
5140 (cd byacc && \
5141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5143 "RANLIB=$${RANLIB}" \
5144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5145 install-info) \
5146 || exit 1
5148 @endif byacc
5150 .PHONY: maybe-installcheck-byacc installcheck-byacc
5151 maybe-installcheck-byacc:
5152 @if byacc
5153 maybe-installcheck-byacc: installcheck-byacc
5155 installcheck-byacc: \
5156 configure-byacc
5157 @[ -f ./byacc/Makefile ] || exit 0; \
5158 r=`${PWD_COMMAND}`; export r; \
5159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5160 $(SET_LIB_PATH) \
5161 $(HOST_EXPORTS) \
5162 for flag in $(EXTRA_HOST_FLAGS) ; do \
5163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5164 done; \
5165 echo "Doing installcheck in byacc" ; \
5166 (cd byacc && \
5167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5169 "RANLIB=$${RANLIB}" \
5170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5171 installcheck) \
5172 || exit 1
5174 @endif byacc
5176 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5177 maybe-mostlyclean-byacc:
5178 @if byacc
5179 maybe-mostlyclean-byacc: mostlyclean-byacc
5181 mostlyclean-byacc:
5182 @[ -f ./byacc/Makefile ] || exit 0; \
5183 r=`${PWD_COMMAND}`; export r; \
5184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5185 $(SET_LIB_PATH) \
5186 $(HOST_EXPORTS) \
5187 for flag in $(EXTRA_HOST_FLAGS) ; do \
5188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5189 done; \
5190 echo "Doing mostlyclean in byacc" ; \
5191 (cd byacc && \
5192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5194 "RANLIB=$${RANLIB}" \
5195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5196 mostlyclean) \
5197 || exit 1
5199 @endif byacc
5201 .PHONY: maybe-clean-byacc clean-byacc
5202 maybe-clean-byacc:
5203 @if byacc
5204 maybe-clean-byacc: clean-byacc
5206 clean-byacc:
5207 @[ -f ./byacc/Makefile ] || exit 0; \
5208 r=`${PWD_COMMAND}`; export r; \
5209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5210 $(SET_LIB_PATH) \
5211 $(HOST_EXPORTS) \
5212 for flag in $(EXTRA_HOST_FLAGS) ; do \
5213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5214 done; \
5215 echo "Doing clean in byacc" ; \
5216 (cd byacc && \
5217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5219 "RANLIB=$${RANLIB}" \
5220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5221 clean) \
5222 || exit 1
5224 @endif byacc
5226 .PHONY: maybe-distclean-byacc distclean-byacc
5227 maybe-distclean-byacc:
5228 @if byacc
5229 maybe-distclean-byacc: distclean-byacc
5231 distclean-byacc:
5232 @[ -f ./byacc/Makefile ] || exit 0; \
5233 r=`${PWD_COMMAND}`; export r; \
5234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5235 $(SET_LIB_PATH) \
5236 $(HOST_EXPORTS) \
5237 for flag in $(EXTRA_HOST_FLAGS) ; do \
5238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5239 done; \
5240 echo "Doing distclean in byacc" ; \
5241 (cd byacc && \
5242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5244 "RANLIB=$${RANLIB}" \
5245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5246 distclean) \
5247 || exit 1
5249 @endif byacc
5251 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5252 maybe-maintainer-clean-byacc:
5253 @if byacc
5254 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5256 maintainer-clean-byacc:
5257 @[ -f ./byacc/Makefile ] || exit 0; \
5258 r=`${PWD_COMMAND}`; export r; \
5259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5260 $(SET_LIB_PATH) \
5261 $(HOST_EXPORTS) \
5262 for flag in $(EXTRA_HOST_FLAGS) ; do \
5263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5264 done; \
5265 echo "Doing maintainer-clean in byacc" ; \
5266 (cd byacc && \
5267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5269 "RANLIB=$${RANLIB}" \
5270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5271 maintainer-clean) \
5272 || exit 1
5274 @endif byacc
5277 .PHONY: configure-bzip2 maybe-configure-bzip2
5278 maybe-configure-bzip2:
5279 @if bzip2
5280 maybe-configure-bzip2: configure-bzip2
5281 configure-bzip2:
5282 @test ! -f bzip2/Makefile || exit 0; \
5283 [ -d bzip2 ] || mkdir bzip2; \
5284 r=`${PWD_COMMAND}`; export r; \
5285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5286 $(HOST_EXPORTS) \
5287 echo Configuring in bzip2; \
5288 cd bzip2 || exit 1; \
5289 case $(srcdir) in \
5290 \.) \
5291 srcdiroption="--srcdir=."; \
5292 libsrcdir=".";; \
5293 /* | [A-Za-z]:[\\/]*) \
5294 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5295 libsrcdir="$$s/bzip2";; \
5296 *) \
5297 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5298 libsrcdir="$$s/bzip2";; \
5299 esac; \
5300 $(SHELL) $${libsrcdir}/configure \
5301 $(HOST_CONFIGARGS) $${srcdiroption} \
5302 || exit 1
5303 @endif bzip2
5305 .PHONY: all-bzip2 maybe-all-bzip2
5306 maybe-all-bzip2:
5307 @if bzip2
5308 TARGET-bzip2=all
5309 maybe-all-bzip2: all-bzip2
5310 all-bzip2: configure-bzip2
5311 @r=`${PWD_COMMAND}`; export r; \
5312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5313 $(SET_LIB_PATH) \
5314 $(HOST_EXPORTS) \
5315 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) \
5316 $(TARGET-bzip2))
5317 @endif bzip2
5319 .PHONY: check-bzip2 maybe-check-bzip2
5320 maybe-check-bzip2:
5321 @if bzip2
5322 maybe-check-bzip2: check-bzip2
5324 check-bzip2:
5325 @r=`${PWD_COMMAND}`; export r; \
5326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5327 $(SET_LIB_PATH) \
5328 $(HOST_EXPORTS) \
5329 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5331 @endif bzip2
5333 .PHONY: install-bzip2 maybe-install-bzip2
5334 maybe-install-bzip2:
5335 @if bzip2
5336 maybe-install-bzip2: install-bzip2
5338 install-bzip2: installdirs
5339 @r=`${PWD_COMMAND}`; export r; \
5340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5341 $(SET_LIB_PATH) \
5342 $(HOST_EXPORTS) \
5343 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5345 @endif bzip2
5347 # Other targets (info, dvi, etc.)
5349 .PHONY: maybe-info-bzip2 info-bzip2
5350 maybe-info-bzip2:
5351 @if bzip2
5352 maybe-info-bzip2: info-bzip2
5354 info-bzip2: \
5355 configure-bzip2
5356 @[ -f ./bzip2/Makefile ] || exit 0; \
5357 r=`${PWD_COMMAND}`; export r; \
5358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5359 $(SET_LIB_PATH) \
5360 $(HOST_EXPORTS) \
5361 for flag in $(EXTRA_HOST_FLAGS) ; do \
5362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5363 done; \
5364 echo "Doing info in bzip2" ; \
5365 (cd bzip2 && \
5366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5368 "RANLIB=$${RANLIB}" \
5369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5370 info) \
5371 || exit 1
5373 @endif bzip2
5375 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5376 maybe-dvi-bzip2:
5377 @if bzip2
5378 maybe-dvi-bzip2: dvi-bzip2
5380 dvi-bzip2: \
5381 configure-bzip2
5382 @[ -f ./bzip2/Makefile ] || exit 0; \
5383 r=`${PWD_COMMAND}`; export r; \
5384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5385 $(SET_LIB_PATH) \
5386 $(HOST_EXPORTS) \
5387 for flag in $(EXTRA_HOST_FLAGS) ; do \
5388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5389 done; \
5390 echo "Doing dvi in bzip2" ; \
5391 (cd bzip2 && \
5392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5394 "RANLIB=$${RANLIB}" \
5395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5396 dvi) \
5397 || exit 1
5399 @endif bzip2
5401 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5402 maybe-TAGS-bzip2:
5403 @if bzip2
5404 maybe-TAGS-bzip2: TAGS-bzip2
5406 TAGS-bzip2: \
5407 configure-bzip2
5408 @[ -f ./bzip2/Makefile ] || exit 0; \
5409 r=`${PWD_COMMAND}`; export r; \
5410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5411 $(SET_LIB_PATH) \
5412 $(HOST_EXPORTS) \
5413 for flag in $(EXTRA_HOST_FLAGS) ; do \
5414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5415 done; \
5416 echo "Doing TAGS in bzip2" ; \
5417 (cd bzip2 && \
5418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5420 "RANLIB=$${RANLIB}" \
5421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5422 TAGS) \
5423 || exit 1
5425 @endif bzip2
5427 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5428 maybe-install-info-bzip2:
5429 @if bzip2
5430 maybe-install-info-bzip2: install-info-bzip2
5432 install-info-bzip2: \
5433 configure-bzip2 \
5434 info-bzip2
5435 @[ -f ./bzip2/Makefile ] || exit 0; \
5436 r=`${PWD_COMMAND}`; export r; \
5437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5438 $(SET_LIB_PATH) \
5439 $(HOST_EXPORTS) \
5440 for flag in $(EXTRA_HOST_FLAGS) ; do \
5441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5442 done; \
5443 echo "Doing install-info in bzip2" ; \
5444 (cd bzip2 && \
5445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5447 "RANLIB=$${RANLIB}" \
5448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5449 install-info) \
5450 || exit 1
5452 @endif bzip2
5454 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5455 maybe-installcheck-bzip2:
5456 @if bzip2
5457 maybe-installcheck-bzip2: installcheck-bzip2
5459 installcheck-bzip2: \
5460 configure-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 installcheck 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 installcheck) \
5476 || exit 1
5478 @endif bzip2
5480 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5481 maybe-mostlyclean-bzip2:
5482 @if bzip2
5483 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5485 mostlyclean-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 mostlyclean 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 mostlyclean) \
5501 || exit 1
5503 @endif bzip2
5505 .PHONY: maybe-clean-bzip2 clean-bzip2
5506 maybe-clean-bzip2:
5507 @if bzip2
5508 maybe-clean-bzip2: clean-bzip2
5510 clean-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 clean 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 clean) \
5526 || exit 1
5528 @endif bzip2
5530 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5531 maybe-distclean-bzip2:
5532 @if bzip2
5533 maybe-distclean-bzip2: distclean-bzip2
5535 distclean-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 distclean 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 distclean) \
5551 || exit 1
5553 @endif bzip2
5555 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5556 maybe-maintainer-clean-bzip2:
5557 @if bzip2
5558 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5560 maintainer-clean-bzip2:
5561 @[ -f ./bzip2/Makefile ] || exit 0; \
5562 r=`${PWD_COMMAND}`; export r; \
5563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5564 $(SET_LIB_PATH) \
5565 $(HOST_EXPORTS) \
5566 for flag in $(EXTRA_HOST_FLAGS) ; do \
5567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5568 done; \
5569 echo "Doing maintainer-clean in bzip2" ; \
5570 (cd bzip2 && \
5571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5573 "RANLIB=$${RANLIB}" \
5574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5575 maintainer-clean) \
5576 || exit 1
5578 @endif bzip2
5581 .PHONY: configure-dejagnu maybe-configure-dejagnu
5582 maybe-configure-dejagnu:
5583 @if dejagnu
5584 maybe-configure-dejagnu: configure-dejagnu
5585 configure-dejagnu:
5586 @test ! -f dejagnu/Makefile || exit 0; \
5587 [ -d dejagnu ] || mkdir dejagnu; \
5588 r=`${PWD_COMMAND}`; export r; \
5589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5590 $(HOST_EXPORTS) \
5591 echo Configuring in dejagnu; \
5592 cd dejagnu || exit 1; \
5593 case $(srcdir) in \
5594 \.) \
5595 srcdiroption="--srcdir=."; \
5596 libsrcdir=".";; \
5597 /* | [A-Za-z]:[\\/]*) \
5598 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5599 libsrcdir="$$s/dejagnu";; \
5600 *) \
5601 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5602 libsrcdir="$$s/dejagnu";; \
5603 esac; \
5604 $(SHELL) $${libsrcdir}/configure \
5605 $(HOST_CONFIGARGS) $${srcdiroption} \
5606 || exit 1
5607 @endif dejagnu
5609 .PHONY: all-dejagnu maybe-all-dejagnu
5610 maybe-all-dejagnu:
5611 @if dejagnu
5612 TARGET-dejagnu=all
5613 maybe-all-dejagnu: all-dejagnu
5614 all-dejagnu: configure-dejagnu
5615 @r=`${PWD_COMMAND}`; export r; \
5616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5617 $(SET_LIB_PATH) \
5618 $(HOST_EXPORTS) \
5619 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) \
5620 $(TARGET-dejagnu))
5621 @endif dejagnu
5623 .PHONY: check-dejagnu maybe-check-dejagnu
5624 maybe-check-dejagnu:
5625 @if dejagnu
5626 maybe-check-dejagnu: check-dejagnu
5628 check-dejagnu:
5629 @r=`${PWD_COMMAND}`; export r; \
5630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5631 $(SET_LIB_PATH) \
5632 $(HOST_EXPORTS) \
5633 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5635 @endif dejagnu
5637 .PHONY: install-dejagnu maybe-install-dejagnu
5638 maybe-install-dejagnu:
5639 @if dejagnu
5640 maybe-install-dejagnu: install-dejagnu
5642 install-dejagnu: installdirs
5643 @r=`${PWD_COMMAND}`; export r; \
5644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5645 $(SET_LIB_PATH) \
5646 $(HOST_EXPORTS) \
5647 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5649 @endif dejagnu
5651 # Other targets (info, dvi, etc.)
5653 .PHONY: maybe-info-dejagnu info-dejagnu
5654 maybe-info-dejagnu:
5655 @if dejagnu
5656 maybe-info-dejagnu: info-dejagnu
5658 info-dejagnu: \
5659 configure-dejagnu
5660 @[ -f ./dejagnu/Makefile ] || exit 0; \
5661 r=`${PWD_COMMAND}`; export r; \
5662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5663 $(SET_LIB_PATH) \
5664 $(HOST_EXPORTS) \
5665 for flag in $(EXTRA_HOST_FLAGS) ; do \
5666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5667 done; \
5668 echo "Doing info in dejagnu" ; \
5669 (cd dejagnu && \
5670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5672 "RANLIB=$${RANLIB}" \
5673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5674 info) \
5675 || exit 1
5677 @endif dejagnu
5679 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5680 maybe-dvi-dejagnu:
5681 @if dejagnu
5682 maybe-dvi-dejagnu: dvi-dejagnu
5684 dvi-dejagnu: \
5685 configure-dejagnu
5686 @[ -f ./dejagnu/Makefile ] || exit 0; \
5687 r=`${PWD_COMMAND}`; export r; \
5688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5689 $(SET_LIB_PATH) \
5690 $(HOST_EXPORTS) \
5691 for flag in $(EXTRA_HOST_FLAGS) ; do \
5692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5693 done; \
5694 echo "Doing dvi in dejagnu" ; \
5695 (cd dejagnu && \
5696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5698 "RANLIB=$${RANLIB}" \
5699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5700 dvi) \
5701 || exit 1
5703 @endif dejagnu
5705 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5706 maybe-TAGS-dejagnu:
5707 @if dejagnu
5708 maybe-TAGS-dejagnu: TAGS-dejagnu
5710 TAGS-dejagnu: \
5711 configure-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 TAGS 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 TAGS) \
5727 || exit 1
5729 @endif dejagnu
5731 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5732 maybe-install-info-dejagnu:
5733 @if dejagnu
5734 maybe-install-info-dejagnu: install-info-dejagnu
5736 install-info-dejagnu: \
5737 configure-dejagnu \
5738 info-dejagnu
5739 @[ -f ./dejagnu/Makefile ] || exit 0; \
5740 r=`${PWD_COMMAND}`; export r; \
5741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5742 $(SET_LIB_PATH) \
5743 $(HOST_EXPORTS) \
5744 for flag in $(EXTRA_HOST_FLAGS) ; do \
5745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5746 done; \
5747 echo "Doing install-info in dejagnu" ; \
5748 (cd dejagnu && \
5749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5751 "RANLIB=$${RANLIB}" \
5752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5753 install-info) \
5754 || exit 1
5756 @endif dejagnu
5758 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5759 maybe-installcheck-dejagnu:
5760 @if dejagnu
5761 maybe-installcheck-dejagnu: installcheck-dejagnu
5763 installcheck-dejagnu: \
5764 configure-dejagnu
5765 @[ -f ./dejagnu/Makefile ] || exit 0; \
5766 r=`${PWD_COMMAND}`; export r; \
5767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5768 $(SET_LIB_PATH) \
5769 $(HOST_EXPORTS) \
5770 for flag in $(EXTRA_HOST_FLAGS) ; do \
5771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5772 done; \
5773 echo "Doing installcheck in dejagnu" ; \
5774 (cd dejagnu && \
5775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5777 "RANLIB=$${RANLIB}" \
5778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5779 installcheck) \
5780 || exit 1
5782 @endif dejagnu
5784 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5785 maybe-mostlyclean-dejagnu:
5786 @if dejagnu
5787 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5789 mostlyclean-dejagnu:
5790 @[ -f ./dejagnu/Makefile ] || exit 0; \
5791 r=`${PWD_COMMAND}`; export r; \
5792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5793 $(SET_LIB_PATH) \
5794 $(HOST_EXPORTS) \
5795 for flag in $(EXTRA_HOST_FLAGS) ; do \
5796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5797 done; \
5798 echo "Doing mostlyclean in dejagnu" ; \
5799 (cd dejagnu && \
5800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5802 "RANLIB=$${RANLIB}" \
5803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5804 mostlyclean) \
5805 || exit 1
5807 @endif dejagnu
5809 .PHONY: maybe-clean-dejagnu clean-dejagnu
5810 maybe-clean-dejagnu:
5811 @if dejagnu
5812 maybe-clean-dejagnu: clean-dejagnu
5814 clean-dejagnu:
5815 @[ -f ./dejagnu/Makefile ] || exit 0; \
5816 r=`${PWD_COMMAND}`; export r; \
5817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5818 $(SET_LIB_PATH) \
5819 $(HOST_EXPORTS) \
5820 for flag in $(EXTRA_HOST_FLAGS) ; do \
5821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5822 done; \
5823 echo "Doing clean in dejagnu" ; \
5824 (cd dejagnu && \
5825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5827 "RANLIB=$${RANLIB}" \
5828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5829 clean) \
5830 || exit 1
5832 @endif dejagnu
5834 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5835 maybe-distclean-dejagnu:
5836 @if dejagnu
5837 maybe-distclean-dejagnu: distclean-dejagnu
5839 distclean-dejagnu:
5840 @[ -f ./dejagnu/Makefile ] || exit 0; \
5841 r=`${PWD_COMMAND}`; export r; \
5842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5843 $(SET_LIB_PATH) \
5844 $(HOST_EXPORTS) \
5845 for flag in $(EXTRA_HOST_FLAGS) ; do \
5846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5847 done; \
5848 echo "Doing distclean in dejagnu" ; \
5849 (cd dejagnu && \
5850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5852 "RANLIB=$${RANLIB}" \
5853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5854 distclean) \
5855 || exit 1
5857 @endif dejagnu
5859 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5860 maybe-maintainer-clean-dejagnu:
5861 @if dejagnu
5862 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5864 maintainer-clean-dejagnu:
5865 @[ -f ./dejagnu/Makefile ] || exit 0; \
5866 r=`${PWD_COMMAND}`; export r; \
5867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5868 $(SET_LIB_PATH) \
5869 $(HOST_EXPORTS) \
5870 for flag in $(EXTRA_HOST_FLAGS) ; do \
5871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5872 done; \
5873 echo "Doing maintainer-clean in dejagnu" ; \
5874 (cd dejagnu && \
5875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5877 "RANLIB=$${RANLIB}" \
5878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5879 maintainer-clean) \
5880 || exit 1
5882 @endif dejagnu
5885 .PHONY: configure-diff maybe-configure-diff
5886 maybe-configure-diff:
5887 @if diff
5888 maybe-configure-diff: configure-diff
5889 configure-diff:
5890 @test ! -f diff/Makefile || exit 0; \
5891 [ -d diff ] || mkdir diff; \
5892 r=`${PWD_COMMAND}`; export r; \
5893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5894 $(HOST_EXPORTS) \
5895 echo Configuring in diff; \
5896 cd diff || exit 1; \
5897 case $(srcdir) in \
5898 \.) \
5899 srcdiroption="--srcdir=."; \
5900 libsrcdir=".";; \
5901 /* | [A-Za-z]:[\\/]*) \
5902 srcdiroption="--srcdir=$(srcdir)/diff"; \
5903 libsrcdir="$$s/diff";; \
5904 *) \
5905 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5906 libsrcdir="$$s/diff";; \
5907 esac; \
5908 $(SHELL) $${libsrcdir}/configure \
5909 $(HOST_CONFIGARGS) $${srcdiroption} \
5910 || exit 1
5911 @endif diff
5913 .PHONY: all-diff maybe-all-diff
5914 maybe-all-diff:
5915 @if diff
5916 TARGET-diff=all
5917 maybe-all-diff: all-diff
5918 all-diff: configure-diff
5919 @r=`${PWD_COMMAND}`; export r; \
5920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5921 $(SET_LIB_PATH) \
5922 $(HOST_EXPORTS) \
5923 (cd diff && $(MAKE) $(FLAGS_TO_PASS) \
5924 $(TARGET-diff))
5925 @endif diff
5927 .PHONY: check-diff maybe-check-diff
5928 maybe-check-diff:
5929 @if diff
5930 maybe-check-diff: check-diff
5932 check-diff:
5933 @r=`${PWD_COMMAND}`; export r; \
5934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5935 $(SET_LIB_PATH) \
5936 $(HOST_EXPORTS) \
5937 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5939 @endif diff
5941 .PHONY: install-diff maybe-install-diff
5942 maybe-install-diff:
5943 @if diff
5944 maybe-install-diff: install-diff
5946 install-diff: installdirs
5947 @r=`${PWD_COMMAND}`; export r; \
5948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5949 $(SET_LIB_PATH) \
5950 $(HOST_EXPORTS) \
5951 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5953 @endif diff
5955 # Other targets (info, dvi, etc.)
5957 .PHONY: maybe-info-diff info-diff
5958 maybe-info-diff:
5959 @if diff
5960 maybe-info-diff: info-diff
5962 info-diff: \
5963 configure-diff
5964 @[ -f ./diff/Makefile ] || exit 0; \
5965 r=`${PWD_COMMAND}`; export r; \
5966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5967 $(SET_LIB_PATH) \
5968 $(HOST_EXPORTS) \
5969 for flag in $(EXTRA_HOST_FLAGS) ; do \
5970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5971 done; \
5972 echo "Doing info in diff" ; \
5973 (cd diff && \
5974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5976 "RANLIB=$${RANLIB}" \
5977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5978 info) \
5979 || exit 1
5981 @endif diff
5983 .PHONY: maybe-dvi-diff dvi-diff
5984 maybe-dvi-diff:
5985 @if diff
5986 maybe-dvi-diff: dvi-diff
5988 dvi-diff: \
5989 configure-diff
5990 @[ -f ./diff/Makefile ] || exit 0; \
5991 r=`${PWD_COMMAND}`; export r; \
5992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5993 $(SET_LIB_PATH) \
5994 $(HOST_EXPORTS) \
5995 for flag in $(EXTRA_HOST_FLAGS) ; do \
5996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5997 done; \
5998 echo "Doing dvi in diff" ; \
5999 (cd diff && \
6000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6002 "RANLIB=$${RANLIB}" \
6003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6004 dvi) \
6005 || exit 1
6007 @endif diff
6009 .PHONY: maybe-TAGS-diff TAGS-diff
6010 maybe-TAGS-diff:
6011 @if diff
6012 maybe-TAGS-diff: TAGS-diff
6014 TAGS-diff: \
6015 configure-diff
6016 @[ -f ./diff/Makefile ] || exit 0; \
6017 r=`${PWD_COMMAND}`; export r; \
6018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6019 $(SET_LIB_PATH) \
6020 $(HOST_EXPORTS) \
6021 for flag in $(EXTRA_HOST_FLAGS) ; do \
6022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6023 done; \
6024 echo "Doing TAGS in diff" ; \
6025 (cd diff && \
6026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6028 "RANLIB=$${RANLIB}" \
6029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6030 TAGS) \
6031 || exit 1
6033 @endif diff
6035 .PHONY: maybe-install-info-diff install-info-diff
6036 maybe-install-info-diff:
6037 @if diff
6038 maybe-install-info-diff: install-info-diff
6040 install-info-diff: \
6041 configure-diff \
6042 info-diff
6043 @[ -f ./diff/Makefile ] || exit 0; \
6044 r=`${PWD_COMMAND}`; export r; \
6045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6046 $(SET_LIB_PATH) \
6047 $(HOST_EXPORTS) \
6048 for flag in $(EXTRA_HOST_FLAGS) ; do \
6049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6050 done; \
6051 echo "Doing install-info in diff" ; \
6052 (cd diff && \
6053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6055 "RANLIB=$${RANLIB}" \
6056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6057 install-info) \
6058 || exit 1
6060 @endif diff
6062 .PHONY: maybe-installcheck-diff installcheck-diff
6063 maybe-installcheck-diff:
6064 @if diff
6065 maybe-installcheck-diff: installcheck-diff
6067 installcheck-diff: \
6068 configure-diff
6069 @[ -f ./diff/Makefile ] || exit 0; \
6070 r=`${PWD_COMMAND}`; export r; \
6071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6072 $(SET_LIB_PATH) \
6073 $(HOST_EXPORTS) \
6074 for flag in $(EXTRA_HOST_FLAGS) ; do \
6075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6076 done; \
6077 echo "Doing installcheck in diff" ; \
6078 (cd diff && \
6079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6081 "RANLIB=$${RANLIB}" \
6082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6083 installcheck) \
6084 || exit 1
6086 @endif diff
6088 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6089 maybe-mostlyclean-diff:
6090 @if diff
6091 maybe-mostlyclean-diff: mostlyclean-diff
6093 mostlyclean-diff:
6094 @[ -f ./diff/Makefile ] || exit 0; \
6095 r=`${PWD_COMMAND}`; export r; \
6096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6097 $(SET_LIB_PATH) \
6098 $(HOST_EXPORTS) \
6099 for flag in $(EXTRA_HOST_FLAGS) ; do \
6100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6101 done; \
6102 echo "Doing mostlyclean in diff" ; \
6103 (cd diff && \
6104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6106 "RANLIB=$${RANLIB}" \
6107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6108 mostlyclean) \
6109 || exit 1
6111 @endif diff
6113 .PHONY: maybe-clean-diff clean-diff
6114 maybe-clean-diff:
6115 @if diff
6116 maybe-clean-diff: clean-diff
6118 clean-diff:
6119 @[ -f ./diff/Makefile ] || exit 0; \
6120 r=`${PWD_COMMAND}`; export r; \
6121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6122 $(SET_LIB_PATH) \
6123 $(HOST_EXPORTS) \
6124 for flag in $(EXTRA_HOST_FLAGS) ; do \
6125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6126 done; \
6127 echo "Doing clean in diff" ; \
6128 (cd diff && \
6129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6131 "RANLIB=$${RANLIB}" \
6132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6133 clean) \
6134 || exit 1
6136 @endif diff
6138 .PHONY: maybe-distclean-diff distclean-diff
6139 maybe-distclean-diff:
6140 @if diff
6141 maybe-distclean-diff: distclean-diff
6143 distclean-diff:
6144 @[ -f ./diff/Makefile ] || exit 0; \
6145 r=`${PWD_COMMAND}`; export r; \
6146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6147 $(SET_LIB_PATH) \
6148 $(HOST_EXPORTS) \
6149 for flag in $(EXTRA_HOST_FLAGS) ; do \
6150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6151 done; \
6152 echo "Doing distclean in diff" ; \
6153 (cd diff && \
6154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6156 "RANLIB=$${RANLIB}" \
6157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6158 distclean) \
6159 || exit 1
6161 @endif diff
6163 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6164 maybe-maintainer-clean-diff:
6165 @if diff
6166 maybe-maintainer-clean-diff: maintainer-clean-diff
6168 maintainer-clean-diff:
6169 @[ -f ./diff/Makefile ] || exit 0; \
6170 r=`${PWD_COMMAND}`; export r; \
6171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6172 $(SET_LIB_PATH) \
6173 $(HOST_EXPORTS) \
6174 for flag in $(EXTRA_HOST_FLAGS) ; do \
6175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6176 done; \
6177 echo "Doing maintainer-clean in diff" ; \
6178 (cd diff && \
6179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6181 "RANLIB=$${RANLIB}" \
6182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6183 maintainer-clean) \
6184 || exit 1
6186 @endif diff
6189 .PHONY: configure-dosutils maybe-configure-dosutils
6190 maybe-configure-dosutils:
6191 @if dosutils
6192 maybe-configure-dosutils: configure-dosutils
6193 configure-dosutils:
6194 @test ! -f dosutils/Makefile || exit 0; \
6195 [ -d dosutils ] || mkdir dosutils; \
6196 r=`${PWD_COMMAND}`; export r; \
6197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6198 $(HOST_EXPORTS) \
6199 echo Configuring in dosutils; \
6200 cd dosutils || exit 1; \
6201 case $(srcdir) in \
6202 \.) \
6203 srcdiroption="--srcdir=."; \
6204 libsrcdir=".";; \
6205 /* | [A-Za-z]:[\\/]*) \
6206 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6207 libsrcdir="$$s/dosutils";; \
6208 *) \
6209 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6210 libsrcdir="$$s/dosutils";; \
6211 esac; \
6212 $(SHELL) $${libsrcdir}/configure \
6213 $(HOST_CONFIGARGS) $${srcdiroption} \
6214 || exit 1
6215 @endif dosutils
6217 .PHONY: all-dosutils maybe-all-dosutils
6218 maybe-all-dosutils:
6219 @if dosutils
6220 TARGET-dosutils=all
6221 maybe-all-dosutils: all-dosutils
6222 all-dosutils: configure-dosutils
6223 @r=`${PWD_COMMAND}`; export r; \
6224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6225 $(SET_LIB_PATH) \
6226 $(HOST_EXPORTS) \
6227 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) \
6228 $(TARGET-dosutils))
6229 @endif dosutils
6231 .PHONY: check-dosutils maybe-check-dosutils
6232 maybe-check-dosutils:
6233 @if dosutils
6234 maybe-check-dosutils: check-dosutils
6236 check-dosutils:
6238 @endif dosutils
6240 .PHONY: install-dosutils maybe-install-dosutils
6241 maybe-install-dosutils:
6242 @if dosutils
6243 maybe-install-dosutils: install-dosutils
6245 install-dosutils: installdirs
6246 @r=`${PWD_COMMAND}`; export r; \
6247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6248 $(SET_LIB_PATH) \
6249 $(HOST_EXPORTS) \
6250 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6252 @endif dosutils
6254 # Other targets (info, dvi, etc.)
6256 .PHONY: maybe-info-dosutils info-dosutils
6257 maybe-info-dosutils:
6258 @if dosutils
6259 maybe-info-dosutils: info-dosutils
6261 info-dosutils: \
6262 configure-dosutils
6263 @[ -f ./dosutils/Makefile ] || exit 0; \
6264 r=`${PWD_COMMAND}`; export r; \
6265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6266 $(SET_LIB_PATH) \
6267 $(HOST_EXPORTS) \
6268 for flag in $(EXTRA_HOST_FLAGS) ; do \
6269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6270 done; \
6271 echo "Doing info in dosutils" ; \
6272 (cd dosutils && \
6273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6275 "RANLIB=$${RANLIB}" \
6276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6277 info) \
6278 || exit 1
6280 @endif dosutils
6282 .PHONY: maybe-dvi-dosutils dvi-dosutils
6283 maybe-dvi-dosutils:
6284 @if dosutils
6285 maybe-dvi-dosutils: dvi-dosutils
6287 dvi-dosutils: \
6288 configure-dosutils
6289 @[ -f ./dosutils/Makefile ] || exit 0; \
6290 r=`${PWD_COMMAND}`; export r; \
6291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6292 $(SET_LIB_PATH) \
6293 $(HOST_EXPORTS) \
6294 for flag in $(EXTRA_HOST_FLAGS) ; do \
6295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6296 done; \
6297 echo "Doing dvi in dosutils" ; \
6298 (cd dosutils && \
6299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6301 "RANLIB=$${RANLIB}" \
6302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6303 dvi) \
6304 || exit 1
6306 @endif dosutils
6308 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6309 maybe-TAGS-dosutils:
6310 @if dosutils
6311 maybe-TAGS-dosutils: TAGS-dosutils
6313 TAGS-dosutils: \
6314 configure-dosutils
6315 @[ -f ./dosutils/Makefile ] || exit 0; \
6316 r=`${PWD_COMMAND}`; export r; \
6317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6318 $(SET_LIB_PATH) \
6319 $(HOST_EXPORTS) \
6320 for flag in $(EXTRA_HOST_FLAGS) ; do \
6321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6322 done; \
6323 echo "Doing TAGS in dosutils" ; \
6324 (cd dosutils && \
6325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6327 "RANLIB=$${RANLIB}" \
6328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6329 TAGS) \
6330 || exit 1
6332 @endif dosutils
6334 .PHONY: maybe-install-info-dosutils install-info-dosutils
6335 maybe-install-info-dosutils:
6336 @if dosutils
6337 maybe-install-info-dosutils: install-info-dosutils
6339 install-info-dosutils: \
6340 configure-dosutils \
6341 info-dosutils
6342 @[ -f ./dosutils/Makefile ] || exit 0; \
6343 r=`${PWD_COMMAND}`; export r; \
6344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6345 $(SET_LIB_PATH) \
6346 $(HOST_EXPORTS) \
6347 for flag in $(EXTRA_HOST_FLAGS) ; do \
6348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6349 done; \
6350 echo "Doing install-info in dosutils" ; \
6351 (cd dosutils && \
6352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6354 "RANLIB=$${RANLIB}" \
6355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6356 install-info) \
6357 || exit 1
6359 @endif dosutils
6361 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6362 maybe-installcheck-dosutils:
6363 @if dosutils
6364 maybe-installcheck-dosutils: installcheck-dosutils
6366 installcheck-dosutils: \
6367 configure-dosutils
6368 @[ -f ./dosutils/Makefile ] || exit 0; \
6369 r=`${PWD_COMMAND}`; export r; \
6370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6371 $(SET_LIB_PATH) \
6372 $(HOST_EXPORTS) \
6373 for flag in $(EXTRA_HOST_FLAGS) ; do \
6374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6375 done; \
6376 echo "Doing installcheck in dosutils" ; \
6377 (cd dosutils && \
6378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6380 "RANLIB=$${RANLIB}" \
6381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6382 installcheck) \
6383 || exit 1
6385 @endif dosutils
6387 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6388 maybe-mostlyclean-dosutils:
6389 @if dosutils
6390 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6392 mostlyclean-dosutils:
6393 @[ -f ./dosutils/Makefile ] || exit 0; \
6394 r=`${PWD_COMMAND}`; export r; \
6395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6396 $(SET_LIB_PATH) \
6397 $(HOST_EXPORTS) \
6398 for flag in $(EXTRA_HOST_FLAGS) ; do \
6399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6400 done; \
6401 echo "Doing mostlyclean in dosutils" ; \
6402 (cd dosutils && \
6403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6405 "RANLIB=$${RANLIB}" \
6406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6407 mostlyclean) \
6408 || exit 1
6410 @endif dosutils
6412 .PHONY: maybe-clean-dosutils clean-dosutils
6413 maybe-clean-dosutils:
6414 @if dosutils
6415 maybe-clean-dosutils: clean-dosutils
6417 clean-dosutils:
6418 @[ -f ./dosutils/Makefile ] || exit 0; \
6419 r=`${PWD_COMMAND}`; export r; \
6420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6421 $(SET_LIB_PATH) \
6422 $(HOST_EXPORTS) \
6423 for flag in $(EXTRA_HOST_FLAGS) ; do \
6424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6425 done; \
6426 echo "Doing clean in dosutils" ; \
6427 (cd dosutils && \
6428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6430 "RANLIB=$${RANLIB}" \
6431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6432 clean) \
6433 || exit 1
6435 @endif dosutils
6437 .PHONY: maybe-distclean-dosutils distclean-dosutils
6438 maybe-distclean-dosutils:
6439 @if dosutils
6440 maybe-distclean-dosutils: distclean-dosutils
6442 distclean-dosutils:
6443 @[ -f ./dosutils/Makefile ] || exit 0; \
6444 r=`${PWD_COMMAND}`; export r; \
6445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6446 $(SET_LIB_PATH) \
6447 $(HOST_EXPORTS) \
6448 for flag in $(EXTRA_HOST_FLAGS) ; do \
6449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6450 done; \
6451 echo "Doing distclean in dosutils" ; \
6452 (cd dosutils && \
6453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6455 "RANLIB=$${RANLIB}" \
6456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6457 distclean) \
6458 || exit 1
6460 @endif dosutils
6462 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6463 maybe-maintainer-clean-dosutils:
6464 @if dosutils
6465 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6467 maintainer-clean-dosutils:
6468 @[ -f ./dosutils/Makefile ] || exit 0; \
6469 r=`${PWD_COMMAND}`; export r; \
6470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6471 $(SET_LIB_PATH) \
6472 $(HOST_EXPORTS) \
6473 for flag in $(EXTRA_HOST_FLAGS) ; do \
6474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6475 done; \
6476 echo "Doing maintainer-clean in dosutils" ; \
6477 (cd dosutils && \
6478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6480 "RANLIB=$${RANLIB}" \
6481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6482 maintainer-clean) \
6483 || exit 1
6485 @endif dosutils
6488 .PHONY: configure-etc maybe-configure-etc
6489 maybe-configure-etc:
6490 @if etc
6491 maybe-configure-etc: configure-etc
6492 configure-etc:
6493 @test ! -f etc/Makefile || exit 0; \
6494 [ -d etc ] || mkdir etc; \
6495 r=`${PWD_COMMAND}`; export r; \
6496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6497 $(HOST_EXPORTS) \
6498 echo Configuring in etc; \
6499 cd etc || exit 1; \
6500 case $(srcdir) in \
6501 \.) \
6502 srcdiroption="--srcdir=."; \
6503 libsrcdir=".";; \
6504 /* | [A-Za-z]:[\\/]*) \
6505 srcdiroption="--srcdir=$(srcdir)/etc"; \
6506 libsrcdir="$$s/etc";; \
6507 *) \
6508 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6509 libsrcdir="$$s/etc";; \
6510 esac; \
6511 $(SHELL) $${libsrcdir}/configure \
6512 $(HOST_CONFIGARGS) $${srcdiroption} \
6513 || exit 1
6514 @endif etc
6516 .PHONY: all-etc maybe-all-etc
6517 maybe-all-etc:
6518 @if etc
6519 TARGET-etc=all
6520 maybe-all-etc: all-etc
6521 all-etc: configure-etc
6522 @r=`${PWD_COMMAND}`; export r; \
6523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6524 $(SET_LIB_PATH) \
6525 $(HOST_EXPORTS) \
6526 (cd etc && $(MAKE) $(FLAGS_TO_PASS) \
6527 $(TARGET-etc))
6528 @endif etc
6530 .PHONY: check-etc maybe-check-etc
6531 maybe-check-etc:
6532 @if etc
6533 maybe-check-etc: check-etc
6535 check-etc:
6536 @r=`${PWD_COMMAND}`; export r; \
6537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6538 $(SET_LIB_PATH) \
6539 $(HOST_EXPORTS) \
6540 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6542 @endif etc
6544 .PHONY: install-etc maybe-install-etc
6545 maybe-install-etc:
6546 @if etc
6547 maybe-install-etc: install-etc
6549 install-etc: installdirs
6550 @r=`${PWD_COMMAND}`; export r; \
6551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6552 $(SET_LIB_PATH) \
6553 $(HOST_EXPORTS) \
6554 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6556 @endif etc
6558 # Other targets (info, dvi, etc.)
6560 .PHONY: maybe-info-etc info-etc
6561 maybe-info-etc:
6562 @if etc
6563 maybe-info-etc: info-etc
6565 info-etc: \
6566 configure-etc
6567 @[ -f ./etc/Makefile ] || exit 0; \
6568 r=`${PWD_COMMAND}`; export r; \
6569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6570 $(SET_LIB_PATH) \
6571 $(HOST_EXPORTS) \
6572 for flag in $(EXTRA_HOST_FLAGS) ; do \
6573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6574 done; \
6575 echo "Doing info in etc" ; \
6576 (cd etc && \
6577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6579 "RANLIB=$${RANLIB}" \
6580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6581 info) \
6582 || exit 1
6584 @endif etc
6586 .PHONY: maybe-dvi-etc dvi-etc
6587 maybe-dvi-etc:
6588 @if etc
6589 maybe-dvi-etc: dvi-etc
6591 dvi-etc: \
6592 configure-etc
6593 @[ -f ./etc/Makefile ] || exit 0; \
6594 r=`${PWD_COMMAND}`; export r; \
6595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6596 $(SET_LIB_PATH) \
6597 $(HOST_EXPORTS) \
6598 for flag in $(EXTRA_HOST_FLAGS) ; do \
6599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6600 done; \
6601 echo "Doing dvi in etc" ; \
6602 (cd etc && \
6603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6605 "RANLIB=$${RANLIB}" \
6606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6607 dvi) \
6608 || exit 1
6610 @endif etc
6612 .PHONY: maybe-TAGS-etc TAGS-etc
6613 maybe-TAGS-etc:
6614 @if etc
6615 maybe-TAGS-etc: TAGS-etc
6617 TAGS-etc: \
6618 configure-etc
6619 @[ -f ./etc/Makefile ] || exit 0; \
6620 r=`${PWD_COMMAND}`; export r; \
6621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6622 $(SET_LIB_PATH) \
6623 $(HOST_EXPORTS) \
6624 for flag in $(EXTRA_HOST_FLAGS) ; do \
6625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6626 done; \
6627 echo "Doing TAGS in etc" ; \
6628 (cd etc && \
6629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6631 "RANLIB=$${RANLIB}" \
6632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6633 TAGS) \
6634 || exit 1
6636 @endif etc
6638 .PHONY: maybe-install-info-etc install-info-etc
6639 maybe-install-info-etc:
6640 @if etc
6641 maybe-install-info-etc: install-info-etc
6643 install-info-etc: \
6644 configure-etc \
6645 info-etc
6646 @[ -f ./etc/Makefile ] || exit 0; \
6647 r=`${PWD_COMMAND}`; export r; \
6648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6649 $(SET_LIB_PATH) \
6650 $(HOST_EXPORTS) \
6651 for flag in $(EXTRA_HOST_FLAGS) ; do \
6652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6653 done; \
6654 echo "Doing install-info in etc" ; \
6655 (cd etc && \
6656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6658 "RANLIB=$${RANLIB}" \
6659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6660 install-info) \
6661 || exit 1
6663 @endif etc
6665 .PHONY: maybe-installcheck-etc installcheck-etc
6666 maybe-installcheck-etc:
6667 @if etc
6668 maybe-installcheck-etc: installcheck-etc
6670 installcheck-etc: \
6671 configure-etc
6672 @[ -f ./etc/Makefile ] || exit 0; \
6673 r=`${PWD_COMMAND}`; export r; \
6674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6675 $(SET_LIB_PATH) \
6676 $(HOST_EXPORTS) \
6677 for flag in $(EXTRA_HOST_FLAGS) ; do \
6678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6679 done; \
6680 echo "Doing installcheck in etc" ; \
6681 (cd etc && \
6682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6684 "RANLIB=$${RANLIB}" \
6685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6686 installcheck) \
6687 || exit 1
6689 @endif etc
6691 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6692 maybe-mostlyclean-etc:
6693 @if etc
6694 maybe-mostlyclean-etc: mostlyclean-etc
6696 mostlyclean-etc:
6697 @[ -f ./etc/Makefile ] || exit 0; \
6698 r=`${PWD_COMMAND}`; export r; \
6699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6700 $(SET_LIB_PATH) \
6701 $(HOST_EXPORTS) \
6702 for flag in $(EXTRA_HOST_FLAGS) ; do \
6703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6704 done; \
6705 echo "Doing mostlyclean in etc" ; \
6706 (cd etc && \
6707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6709 "RANLIB=$${RANLIB}" \
6710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6711 mostlyclean) \
6712 || exit 1
6714 @endif etc
6716 .PHONY: maybe-clean-etc clean-etc
6717 maybe-clean-etc:
6718 @if etc
6719 maybe-clean-etc: clean-etc
6721 clean-etc:
6722 @[ -f ./etc/Makefile ] || exit 0; \
6723 r=`${PWD_COMMAND}`; export r; \
6724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6725 $(SET_LIB_PATH) \
6726 $(HOST_EXPORTS) \
6727 for flag in $(EXTRA_HOST_FLAGS) ; do \
6728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6729 done; \
6730 echo "Doing clean in etc" ; \
6731 (cd etc && \
6732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6734 "RANLIB=$${RANLIB}" \
6735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6736 clean) \
6737 || exit 1
6739 @endif etc
6741 .PHONY: maybe-distclean-etc distclean-etc
6742 maybe-distclean-etc:
6743 @if etc
6744 maybe-distclean-etc: distclean-etc
6746 distclean-etc:
6747 @[ -f ./etc/Makefile ] || exit 0; \
6748 r=`${PWD_COMMAND}`; export r; \
6749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6750 $(SET_LIB_PATH) \
6751 $(HOST_EXPORTS) \
6752 for flag in $(EXTRA_HOST_FLAGS) ; do \
6753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6754 done; \
6755 echo "Doing distclean in etc" ; \
6756 (cd etc && \
6757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6759 "RANLIB=$${RANLIB}" \
6760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6761 distclean) \
6762 || exit 1
6764 @endif etc
6766 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6767 maybe-maintainer-clean-etc:
6768 @if etc
6769 maybe-maintainer-clean-etc: maintainer-clean-etc
6771 maintainer-clean-etc:
6772 @[ -f ./etc/Makefile ] || exit 0; \
6773 r=`${PWD_COMMAND}`; export r; \
6774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6775 $(SET_LIB_PATH) \
6776 $(HOST_EXPORTS) \
6777 for flag in $(EXTRA_HOST_FLAGS) ; do \
6778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6779 done; \
6780 echo "Doing maintainer-clean in etc" ; \
6781 (cd etc && \
6782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6784 "RANLIB=$${RANLIB}" \
6785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6786 maintainer-clean) \
6787 || exit 1
6789 @endif etc
6792 .PHONY: configure-fastjar maybe-configure-fastjar
6793 maybe-configure-fastjar:
6794 @if fastjar
6795 maybe-configure-fastjar: configure-fastjar
6796 configure-fastjar:
6797 @test ! -f fastjar/Makefile || exit 0; \
6798 [ -d fastjar ] || mkdir fastjar; \
6799 r=`${PWD_COMMAND}`; export r; \
6800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6801 $(HOST_EXPORTS) \
6802 echo Configuring in fastjar; \
6803 cd fastjar || exit 1; \
6804 case $(srcdir) in \
6805 \.) \
6806 srcdiroption="--srcdir=."; \
6807 libsrcdir=".";; \
6808 /* | [A-Za-z]:[\\/]*) \
6809 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6810 libsrcdir="$$s/fastjar";; \
6811 *) \
6812 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6813 libsrcdir="$$s/fastjar";; \
6814 esac; \
6815 $(SHELL) $${libsrcdir}/configure \
6816 $(HOST_CONFIGARGS) $${srcdiroption} \
6817 || exit 1
6818 @endif fastjar
6820 .PHONY: all-fastjar maybe-all-fastjar
6821 maybe-all-fastjar:
6822 @if fastjar
6823 TARGET-fastjar=all
6824 maybe-all-fastjar: all-fastjar
6825 all-fastjar: configure-fastjar
6826 @r=`${PWD_COMMAND}`; export r; \
6827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6828 $(SET_LIB_PATH) \
6829 $(HOST_EXPORTS) \
6830 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) \
6831 $(TARGET-fastjar))
6832 @endif fastjar
6834 .PHONY: check-fastjar maybe-check-fastjar
6835 maybe-check-fastjar:
6836 @if fastjar
6837 maybe-check-fastjar: check-fastjar
6839 # This module is only tested in a native toolchain.
6840 check-fastjar:
6841 @if [ '$(host)' = '$(target)' ] ; then \
6842 r=`${PWD_COMMAND}`; export r; \
6843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6844 $(SET_LIB_PATH) \
6845 $(HOST_EXPORTS) \
6846 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6849 @endif fastjar
6851 .PHONY: install-fastjar maybe-install-fastjar
6852 maybe-install-fastjar:
6853 @if fastjar
6854 maybe-install-fastjar: install-fastjar
6856 install-fastjar: installdirs
6857 @r=`${PWD_COMMAND}`; export r; \
6858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6859 $(SET_LIB_PATH) \
6860 $(HOST_EXPORTS) \
6861 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6863 @endif fastjar
6865 # Other targets (info, dvi, etc.)
6867 .PHONY: maybe-info-fastjar info-fastjar
6868 maybe-info-fastjar:
6869 @if fastjar
6870 maybe-info-fastjar: info-fastjar
6872 info-fastjar: \
6873 configure-fastjar
6874 @[ -f ./fastjar/Makefile ] || exit 0; \
6875 r=`${PWD_COMMAND}`; export r; \
6876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6877 $(SET_LIB_PATH) \
6878 $(HOST_EXPORTS) \
6879 for flag in $(EXTRA_HOST_FLAGS) ; do \
6880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6881 done; \
6882 echo "Doing info in fastjar" ; \
6883 (cd fastjar && \
6884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6886 "RANLIB=$${RANLIB}" \
6887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6888 info) \
6889 || exit 1
6891 @endif fastjar
6893 .PHONY: maybe-dvi-fastjar dvi-fastjar
6894 maybe-dvi-fastjar:
6895 @if fastjar
6896 maybe-dvi-fastjar: dvi-fastjar
6898 dvi-fastjar: \
6899 configure-fastjar
6900 @[ -f ./fastjar/Makefile ] || exit 0; \
6901 r=`${PWD_COMMAND}`; export r; \
6902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6903 $(SET_LIB_PATH) \
6904 $(HOST_EXPORTS) \
6905 for flag in $(EXTRA_HOST_FLAGS) ; do \
6906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6907 done; \
6908 echo "Doing dvi in fastjar" ; \
6909 (cd fastjar && \
6910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6912 "RANLIB=$${RANLIB}" \
6913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6914 dvi) \
6915 || exit 1
6917 @endif fastjar
6919 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6920 maybe-TAGS-fastjar:
6921 @if fastjar
6922 maybe-TAGS-fastjar: TAGS-fastjar
6924 TAGS-fastjar: \
6925 configure-fastjar
6926 @[ -f ./fastjar/Makefile ] || exit 0; \
6927 r=`${PWD_COMMAND}`; export r; \
6928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6929 $(SET_LIB_PATH) \
6930 $(HOST_EXPORTS) \
6931 for flag in $(EXTRA_HOST_FLAGS) ; do \
6932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6933 done; \
6934 echo "Doing TAGS in fastjar" ; \
6935 (cd fastjar && \
6936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6938 "RANLIB=$${RANLIB}" \
6939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6940 TAGS) \
6941 || exit 1
6943 @endif fastjar
6945 .PHONY: maybe-install-info-fastjar install-info-fastjar
6946 maybe-install-info-fastjar:
6947 @if fastjar
6948 maybe-install-info-fastjar: install-info-fastjar
6950 install-info-fastjar: \
6951 configure-fastjar \
6952 info-fastjar
6953 @[ -f ./fastjar/Makefile ] || exit 0; \
6954 r=`${PWD_COMMAND}`; export r; \
6955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6956 $(SET_LIB_PATH) \
6957 $(HOST_EXPORTS) \
6958 for flag in $(EXTRA_HOST_FLAGS) ; do \
6959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6960 done; \
6961 echo "Doing install-info in fastjar" ; \
6962 (cd fastjar && \
6963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6965 "RANLIB=$${RANLIB}" \
6966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6967 install-info) \
6968 || exit 1
6970 @endif fastjar
6972 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6973 maybe-installcheck-fastjar:
6974 @if fastjar
6975 maybe-installcheck-fastjar: installcheck-fastjar
6977 installcheck-fastjar: \
6978 configure-fastjar
6979 @[ -f ./fastjar/Makefile ] || exit 0; \
6980 r=`${PWD_COMMAND}`; export r; \
6981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6982 $(SET_LIB_PATH) \
6983 $(HOST_EXPORTS) \
6984 for flag in $(EXTRA_HOST_FLAGS) ; do \
6985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6986 done; \
6987 echo "Doing installcheck in fastjar" ; \
6988 (cd fastjar && \
6989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6991 "RANLIB=$${RANLIB}" \
6992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6993 installcheck) \
6994 || exit 1
6996 @endif fastjar
6998 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6999 maybe-mostlyclean-fastjar:
7000 @if fastjar
7001 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7003 mostlyclean-fastjar:
7004 @[ -f ./fastjar/Makefile ] || exit 0; \
7005 r=`${PWD_COMMAND}`; export r; \
7006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7007 $(SET_LIB_PATH) \
7008 $(HOST_EXPORTS) \
7009 for flag in $(EXTRA_HOST_FLAGS) ; do \
7010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7011 done; \
7012 echo "Doing mostlyclean in fastjar" ; \
7013 (cd fastjar && \
7014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7016 "RANLIB=$${RANLIB}" \
7017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7018 mostlyclean) \
7019 || exit 1
7021 @endif fastjar
7023 .PHONY: maybe-clean-fastjar clean-fastjar
7024 maybe-clean-fastjar:
7025 @if fastjar
7026 maybe-clean-fastjar: clean-fastjar
7028 clean-fastjar:
7029 @[ -f ./fastjar/Makefile ] || exit 0; \
7030 r=`${PWD_COMMAND}`; export r; \
7031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7032 $(SET_LIB_PATH) \
7033 $(HOST_EXPORTS) \
7034 for flag in $(EXTRA_HOST_FLAGS) ; do \
7035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7036 done; \
7037 echo "Doing clean in fastjar" ; \
7038 (cd fastjar && \
7039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7041 "RANLIB=$${RANLIB}" \
7042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7043 clean) \
7044 || exit 1
7046 @endif fastjar
7048 .PHONY: maybe-distclean-fastjar distclean-fastjar
7049 maybe-distclean-fastjar:
7050 @if fastjar
7051 maybe-distclean-fastjar: distclean-fastjar
7053 distclean-fastjar:
7054 @[ -f ./fastjar/Makefile ] || exit 0; \
7055 r=`${PWD_COMMAND}`; export r; \
7056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7057 $(SET_LIB_PATH) \
7058 $(HOST_EXPORTS) \
7059 for flag in $(EXTRA_HOST_FLAGS) ; do \
7060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7061 done; \
7062 echo "Doing distclean in fastjar" ; \
7063 (cd fastjar && \
7064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7066 "RANLIB=$${RANLIB}" \
7067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7068 distclean) \
7069 || exit 1
7071 @endif fastjar
7073 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7074 maybe-maintainer-clean-fastjar:
7075 @if fastjar
7076 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7078 maintainer-clean-fastjar:
7079 @[ -f ./fastjar/Makefile ] || exit 0; \
7080 r=`${PWD_COMMAND}`; export r; \
7081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7082 $(SET_LIB_PATH) \
7083 $(HOST_EXPORTS) \
7084 for flag in $(EXTRA_HOST_FLAGS) ; do \
7085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7086 done; \
7087 echo "Doing maintainer-clean in fastjar" ; \
7088 (cd fastjar && \
7089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7091 "RANLIB=$${RANLIB}" \
7092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7093 maintainer-clean) \
7094 || exit 1
7096 @endif fastjar
7099 .PHONY: configure-fileutils maybe-configure-fileutils
7100 maybe-configure-fileutils:
7101 @if fileutils
7102 maybe-configure-fileutils: configure-fileutils
7103 configure-fileutils:
7104 @test ! -f fileutils/Makefile || exit 0; \
7105 [ -d fileutils ] || mkdir fileutils; \
7106 r=`${PWD_COMMAND}`; export r; \
7107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7108 $(HOST_EXPORTS) \
7109 echo Configuring in fileutils; \
7110 cd fileutils || exit 1; \
7111 case $(srcdir) in \
7112 \.) \
7113 srcdiroption="--srcdir=."; \
7114 libsrcdir=".";; \
7115 /* | [A-Za-z]:[\\/]*) \
7116 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7117 libsrcdir="$$s/fileutils";; \
7118 *) \
7119 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7120 libsrcdir="$$s/fileutils";; \
7121 esac; \
7122 $(SHELL) $${libsrcdir}/configure \
7123 $(HOST_CONFIGARGS) $${srcdiroption} \
7124 || exit 1
7125 @endif fileutils
7127 .PHONY: all-fileutils maybe-all-fileutils
7128 maybe-all-fileutils:
7129 @if fileutils
7130 TARGET-fileutils=all
7131 maybe-all-fileutils: all-fileutils
7132 all-fileutils: configure-fileutils
7133 @r=`${PWD_COMMAND}`; export r; \
7134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7135 $(SET_LIB_PATH) \
7136 $(HOST_EXPORTS) \
7137 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) \
7138 $(TARGET-fileutils))
7139 @endif fileutils
7141 .PHONY: check-fileutils maybe-check-fileutils
7142 maybe-check-fileutils:
7143 @if fileutils
7144 maybe-check-fileutils: check-fileutils
7146 check-fileutils:
7147 @r=`${PWD_COMMAND}`; export r; \
7148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7149 $(SET_LIB_PATH) \
7150 $(HOST_EXPORTS) \
7151 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7153 @endif fileutils
7155 .PHONY: install-fileutils maybe-install-fileutils
7156 maybe-install-fileutils:
7157 @if fileutils
7158 maybe-install-fileutils: install-fileutils
7160 install-fileutils: installdirs
7161 @r=`${PWD_COMMAND}`; export r; \
7162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7163 $(SET_LIB_PATH) \
7164 $(HOST_EXPORTS) \
7165 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7167 @endif fileutils
7169 # Other targets (info, dvi, etc.)
7171 .PHONY: maybe-info-fileutils info-fileutils
7172 maybe-info-fileutils:
7173 @if fileutils
7174 maybe-info-fileutils: info-fileutils
7176 info-fileutils: \
7177 configure-fileutils
7178 @[ -f ./fileutils/Makefile ] || exit 0; \
7179 r=`${PWD_COMMAND}`; export r; \
7180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7181 $(SET_LIB_PATH) \
7182 $(HOST_EXPORTS) \
7183 for flag in $(EXTRA_HOST_FLAGS) ; do \
7184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7185 done; \
7186 echo "Doing info in fileutils" ; \
7187 (cd fileutils && \
7188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7190 "RANLIB=$${RANLIB}" \
7191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7192 info) \
7193 || exit 1
7195 @endif fileutils
7197 .PHONY: maybe-dvi-fileutils dvi-fileutils
7198 maybe-dvi-fileutils:
7199 @if fileutils
7200 maybe-dvi-fileutils: dvi-fileutils
7202 dvi-fileutils: \
7203 configure-fileutils
7204 @[ -f ./fileutils/Makefile ] || exit 0; \
7205 r=`${PWD_COMMAND}`; export r; \
7206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7207 $(SET_LIB_PATH) \
7208 $(HOST_EXPORTS) \
7209 for flag in $(EXTRA_HOST_FLAGS) ; do \
7210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7211 done; \
7212 echo "Doing dvi in fileutils" ; \
7213 (cd fileutils && \
7214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7216 "RANLIB=$${RANLIB}" \
7217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7218 dvi) \
7219 || exit 1
7221 @endif fileutils
7223 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7224 maybe-TAGS-fileutils:
7225 @if fileutils
7226 maybe-TAGS-fileutils: TAGS-fileutils
7228 TAGS-fileutils: \
7229 configure-fileutils
7230 @[ -f ./fileutils/Makefile ] || exit 0; \
7231 r=`${PWD_COMMAND}`; export r; \
7232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7233 $(SET_LIB_PATH) \
7234 $(HOST_EXPORTS) \
7235 for flag in $(EXTRA_HOST_FLAGS) ; do \
7236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7237 done; \
7238 echo "Doing TAGS in fileutils" ; \
7239 (cd fileutils && \
7240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7242 "RANLIB=$${RANLIB}" \
7243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7244 TAGS) \
7245 || exit 1
7247 @endif fileutils
7249 .PHONY: maybe-install-info-fileutils install-info-fileutils
7250 maybe-install-info-fileutils:
7251 @if fileutils
7252 maybe-install-info-fileutils: install-info-fileutils
7254 install-info-fileutils: \
7255 configure-fileutils \
7256 info-fileutils
7257 @[ -f ./fileutils/Makefile ] || exit 0; \
7258 r=`${PWD_COMMAND}`; export r; \
7259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7260 $(SET_LIB_PATH) \
7261 $(HOST_EXPORTS) \
7262 for flag in $(EXTRA_HOST_FLAGS) ; do \
7263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7264 done; \
7265 echo "Doing install-info in fileutils" ; \
7266 (cd fileutils && \
7267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7269 "RANLIB=$${RANLIB}" \
7270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7271 install-info) \
7272 || exit 1
7274 @endif fileutils
7276 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7277 maybe-installcheck-fileutils:
7278 @if fileutils
7279 maybe-installcheck-fileutils: installcheck-fileutils
7281 installcheck-fileutils: \
7282 configure-fileutils
7283 @[ -f ./fileutils/Makefile ] || exit 0; \
7284 r=`${PWD_COMMAND}`; export r; \
7285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7286 $(SET_LIB_PATH) \
7287 $(HOST_EXPORTS) \
7288 for flag in $(EXTRA_HOST_FLAGS) ; do \
7289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7290 done; \
7291 echo "Doing installcheck in fileutils" ; \
7292 (cd fileutils && \
7293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7295 "RANLIB=$${RANLIB}" \
7296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7297 installcheck) \
7298 || exit 1
7300 @endif fileutils
7302 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7303 maybe-mostlyclean-fileutils:
7304 @if fileutils
7305 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7307 mostlyclean-fileutils:
7308 @[ -f ./fileutils/Makefile ] || exit 0; \
7309 r=`${PWD_COMMAND}`; export r; \
7310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7311 $(SET_LIB_PATH) \
7312 $(HOST_EXPORTS) \
7313 for flag in $(EXTRA_HOST_FLAGS) ; do \
7314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7315 done; \
7316 echo "Doing mostlyclean in fileutils" ; \
7317 (cd fileutils && \
7318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7320 "RANLIB=$${RANLIB}" \
7321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7322 mostlyclean) \
7323 || exit 1
7325 @endif fileutils
7327 .PHONY: maybe-clean-fileutils clean-fileutils
7328 maybe-clean-fileutils:
7329 @if fileutils
7330 maybe-clean-fileutils: clean-fileutils
7332 clean-fileutils:
7333 @[ -f ./fileutils/Makefile ] || exit 0; \
7334 r=`${PWD_COMMAND}`; export r; \
7335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7336 $(SET_LIB_PATH) \
7337 $(HOST_EXPORTS) \
7338 for flag in $(EXTRA_HOST_FLAGS) ; do \
7339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7340 done; \
7341 echo "Doing clean in fileutils" ; \
7342 (cd fileutils && \
7343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7345 "RANLIB=$${RANLIB}" \
7346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7347 clean) \
7348 || exit 1
7350 @endif fileutils
7352 .PHONY: maybe-distclean-fileutils distclean-fileutils
7353 maybe-distclean-fileutils:
7354 @if fileutils
7355 maybe-distclean-fileutils: distclean-fileutils
7357 distclean-fileutils:
7358 @[ -f ./fileutils/Makefile ] || exit 0; \
7359 r=`${PWD_COMMAND}`; export r; \
7360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7361 $(SET_LIB_PATH) \
7362 $(HOST_EXPORTS) \
7363 for flag in $(EXTRA_HOST_FLAGS) ; do \
7364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7365 done; \
7366 echo "Doing distclean in fileutils" ; \
7367 (cd fileutils && \
7368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7370 "RANLIB=$${RANLIB}" \
7371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7372 distclean) \
7373 || exit 1
7375 @endif fileutils
7377 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7378 maybe-maintainer-clean-fileutils:
7379 @if fileutils
7380 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7382 maintainer-clean-fileutils:
7383 @[ -f ./fileutils/Makefile ] || exit 0; \
7384 r=`${PWD_COMMAND}`; export r; \
7385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7386 $(SET_LIB_PATH) \
7387 $(HOST_EXPORTS) \
7388 for flag in $(EXTRA_HOST_FLAGS) ; do \
7389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7390 done; \
7391 echo "Doing maintainer-clean in fileutils" ; \
7392 (cd fileutils && \
7393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7395 "RANLIB=$${RANLIB}" \
7396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7397 maintainer-clean) \
7398 || exit 1
7400 @endif fileutils
7403 .PHONY: configure-findutils maybe-configure-findutils
7404 maybe-configure-findutils:
7405 @if findutils
7406 maybe-configure-findutils: configure-findutils
7407 configure-findutils:
7408 @test ! -f findutils/Makefile || exit 0; \
7409 [ -d findutils ] || mkdir findutils; \
7410 r=`${PWD_COMMAND}`; export r; \
7411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7412 $(HOST_EXPORTS) \
7413 echo Configuring in findutils; \
7414 cd findutils || exit 1; \
7415 case $(srcdir) in \
7416 \.) \
7417 srcdiroption="--srcdir=."; \
7418 libsrcdir=".";; \
7419 /* | [A-Za-z]:[\\/]*) \
7420 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7421 libsrcdir="$$s/findutils";; \
7422 *) \
7423 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7424 libsrcdir="$$s/findutils";; \
7425 esac; \
7426 $(SHELL) $${libsrcdir}/configure \
7427 $(HOST_CONFIGARGS) $${srcdiroption} \
7428 || exit 1
7429 @endif findutils
7431 .PHONY: all-findutils maybe-all-findutils
7432 maybe-all-findutils:
7433 @if findutils
7434 TARGET-findutils=all
7435 maybe-all-findutils: all-findutils
7436 all-findutils: configure-findutils
7437 @r=`${PWD_COMMAND}`; export r; \
7438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7439 $(SET_LIB_PATH) \
7440 $(HOST_EXPORTS) \
7441 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) \
7442 $(TARGET-findutils))
7443 @endif findutils
7445 .PHONY: check-findutils maybe-check-findutils
7446 maybe-check-findutils:
7447 @if findutils
7448 maybe-check-findutils: check-findutils
7450 check-findutils:
7451 @r=`${PWD_COMMAND}`; export r; \
7452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7453 $(SET_LIB_PATH) \
7454 $(HOST_EXPORTS) \
7455 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7457 @endif findutils
7459 .PHONY: install-findutils maybe-install-findutils
7460 maybe-install-findutils:
7461 @if findutils
7462 maybe-install-findutils: install-findutils
7464 install-findutils: installdirs
7465 @r=`${PWD_COMMAND}`; export r; \
7466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7467 $(SET_LIB_PATH) \
7468 $(HOST_EXPORTS) \
7469 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7471 @endif findutils
7473 # Other targets (info, dvi, etc.)
7475 .PHONY: maybe-info-findutils info-findutils
7476 maybe-info-findutils:
7477 @if findutils
7478 maybe-info-findutils: info-findutils
7480 info-findutils: \
7481 configure-findutils
7482 @[ -f ./findutils/Makefile ] || exit 0; \
7483 r=`${PWD_COMMAND}`; export r; \
7484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7485 $(SET_LIB_PATH) \
7486 $(HOST_EXPORTS) \
7487 for flag in $(EXTRA_HOST_FLAGS) ; do \
7488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7489 done; \
7490 echo "Doing info in findutils" ; \
7491 (cd findutils && \
7492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7494 "RANLIB=$${RANLIB}" \
7495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7496 info) \
7497 || exit 1
7499 @endif findutils
7501 .PHONY: maybe-dvi-findutils dvi-findutils
7502 maybe-dvi-findutils:
7503 @if findutils
7504 maybe-dvi-findutils: dvi-findutils
7506 dvi-findutils: \
7507 configure-findutils
7508 @[ -f ./findutils/Makefile ] || exit 0; \
7509 r=`${PWD_COMMAND}`; export r; \
7510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7511 $(SET_LIB_PATH) \
7512 $(HOST_EXPORTS) \
7513 for flag in $(EXTRA_HOST_FLAGS) ; do \
7514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7515 done; \
7516 echo "Doing dvi in findutils" ; \
7517 (cd findutils && \
7518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7520 "RANLIB=$${RANLIB}" \
7521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7522 dvi) \
7523 || exit 1
7525 @endif findutils
7527 .PHONY: maybe-TAGS-findutils TAGS-findutils
7528 maybe-TAGS-findutils:
7529 @if findutils
7530 maybe-TAGS-findutils: TAGS-findutils
7532 TAGS-findutils: \
7533 configure-findutils
7534 @[ -f ./findutils/Makefile ] || exit 0; \
7535 r=`${PWD_COMMAND}`; export r; \
7536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7537 $(SET_LIB_PATH) \
7538 $(HOST_EXPORTS) \
7539 for flag in $(EXTRA_HOST_FLAGS) ; do \
7540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7541 done; \
7542 echo "Doing TAGS in findutils" ; \
7543 (cd findutils && \
7544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7546 "RANLIB=$${RANLIB}" \
7547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7548 TAGS) \
7549 || exit 1
7551 @endif findutils
7553 .PHONY: maybe-install-info-findutils install-info-findutils
7554 maybe-install-info-findutils:
7555 @if findutils
7556 maybe-install-info-findutils: install-info-findutils
7558 install-info-findutils: \
7559 configure-findutils \
7560 info-findutils
7561 @[ -f ./findutils/Makefile ] || exit 0; \
7562 r=`${PWD_COMMAND}`; export r; \
7563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7564 $(SET_LIB_PATH) \
7565 $(HOST_EXPORTS) \
7566 for flag in $(EXTRA_HOST_FLAGS) ; do \
7567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7568 done; \
7569 echo "Doing install-info in findutils" ; \
7570 (cd findutils && \
7571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7573 "RANLIB=$${RANLIB}" \
7574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7575 install-info) \
7576 || exit 1
7578 @endif findutils
7580 .PHONY: maybe-installcheck-findutils installcheck-findutils
7581 maybe-installcheck-findutils:
7582 @if findutils
7583 maybe-installcheck-findutils: installcheck-findutils
7585 installcheck-findutils: \
7586 configure-findutils
7587 @[ -f ./findutils/Makefile ] || exit 0; \
7588 r=`${PWD_COMMAND}`; export r; \
7589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7590 $(SET_LIB_PATH) \
7591 $(HOST_EXPORTS) \
7592 for flag in $(EXTRA_HOST_FLAGS) ; do \
7593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7594 done; \
7595 echo "Doing installcheck in findutils" ; \
7596 (cd findutils && \
7597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7599 "RANLIB=$${RANLIB}" \
7600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7601 installcheck) \
7602 || exit 1
7604 @endif findutils
7606 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7607 maybe-mostlyclean-findutils:
7608 @if findutils
7609 maybe-mostlyclean-findutils: mostlyclean-findutils
7611 mostlyclean-findutils:
7612 @[ -f ./findutils/Makefile ] || exit 0; \
7613 r=`${PWD_COMMAND}`; export r; \
7614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7615 $(SET_LIB_PATH) \
7616 $(HOST_EXPORTS) \
7617 for flag in $(EXTRA_HOST_FLAGS) ; do \
7618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7619 done; \
7620 echo "Doing mostlyclean in findutils" ; \
7621 (cd findutils && \
7622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7624 "RANLIB=$${RANLIB}" \
7625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7626 mostlyclean) \
7627 || exit 1
7629 @endif findutils
7631 .PHONY: maybe-clean-findutils clean-findutils
7632 maybe-clean-findutils:
7633 @if findutils
7634 maybe-clean-findutils: clean-findutils
7636 clean-findutils:
7637 @[ -f ./findutils/Makefile ] || exit 0; \
7638 r=`${PWD_COMMAND}`; export r; \
7639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7640 $(SET_LIB_PATH) \
7641 $(HOST_EXPORTS) \
7642 for flag in $(EXTRA_HOST_FLAGS) ; do \
7643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7644 done; \
7645 echo "Doing clean in findutils" ; \
7646 (cd findutils && \
7647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7649 "RANLIB=$${RANLIB}" \
7650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7651 clean) \
7652 || exit 1
7654 @endif findutils
7656 .PHONY: maybe-distclean-findutils distclean-findutils
7657 maybe-distclean-findutils:
7658 @if findutils
7659 maybe-distclean-findutils: distclean-findutils
7661 distclean-findutils:
7662 @[ -f ./findutils/Makefile ] || exit 0; \
7663 r=`${PWD_COMMAND}`; export r; \
7664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7665 $(SET_LIB_PATH) \
7666 $(HOST_EXPORTS) \
7667 for flag in $(EXTRA_HOST_FLAGS) ; do \
7668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7669 done; \
7670 echo "Doing distclean in findutils" ; \
7671 (cd findutils && \
7672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7674 "RANLIB=$${RANLIB}" \
7675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7676 distclean) \
7677 || exit 1
7679 @endif findutils
7681 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7682 maybe-maintainer-clean-findutils:
7683 @if findutils
7684 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7686 maintainer-clean-findutils:
7687 @[ -f ./findutils/Makefile ] || exit 0; \
7688 r=`${PWD_COMMAND}`; export r; \
7689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7690 $(SET_LIB_PATH) \
7691 $(HOST_EXPORTS) \
7692 for flag in $(EXTRA_HOST_FLAGS) ; do \
7693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7694 done; \
7695 echo "Doing maintainer-clean in findutils" ; \
7696 (cd findutils && \
7697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7699 "RANLIB=$${RANLIB}" \
7700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7701 maintainer-clean) \
7702 || exit 1
7704 @endif findutils
7707 .PHONY: configure-find maybe-configure-find
7708 maybe-configure-find:
7709 @if find
7710 maybe-configure-find: configure-find
7711 configure-find:
7712 @test ! -f find/Makefile || exit 0; \
7713 [ -d find ] || mkdir find; \
7714 r=`${PWD_COMMAND}`; export r; \
7715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7716 $(HOST_EXPORTS) \
7717 echo Configuring in find; \
7718 cd find || exit 1; \
7719 case $(srcdir) in \
7720 \.) \
7721 srcdiroption="--srcdir=."; \
7722 libsrcdir=".";; \
7723 /* | [A-Za-z]:[\\/]*) \
7724 srcdiroption="--srcdir=$(srcdir)/find"; \
7725 libsrcdir="$$s/find";; \
7726 *) \
7727 srcdiroption="--srcdir=../$(srcdir)/find"; \
7728 libsrcdir="$$s/find";; \
7729 esac; \
7730 $(SHELL) $${libsrcdir}/configure \
7731 $(HOST_CONFIGARGS) $${srcdiroption} \
7732 || exit 1
7733 @endif find
7735 .PHONY: all-find maybe-all-find
7736 maybe-all-find:
7737 @if find
7738 TARGET-find=all
7739 maybe-all-find: all-find
7740 all-find: configure-find
7741 @r=`${PWD_COMMAND}`; export r; \
7742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7743 $(SET_LIB_PATH) \
7744 $(HOST_EXPORTS) \
7745 (cd find && $(MAKE) $(FLAGS_TO_PASS) \
7746 $(TARGET-find))
7747 @endif find
7749 .PHONY: check-find maybe-check-find
7750 maybe-check-find:
7751 @if find
7752 maybe-check-find: check-find
7754 check-find:
7755 @r=`${PWD_COMMAND}`; export r; \
7756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7757 $(SET_LIB_PATH) \
7758 $(HOST_EXPORTS) \
7759 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7761 @endif find
7763 .PHONY: install-find maybe-install-find
7764 maybe-install-find:
7765 @if find
7766 maybe-install-find: install-find
7768 install-find: installdirs
7769 @r=`${PWD_COMMAND}`; export r; \
7770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7771 $(SET_LIB_PATH) \
7772 $(HOST_EXPORTS) \
7773 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7775 @endif find
7777 # Other targets (info, dvi, etc.)
7779 .PHONY: maybe-info-find info-find
7780 maybe-info-find:
7781 @if find
7782 maybe-info-find: info-find
7784 info-find: \
7785 configure-find
7786 @[ -f ./find/Makefile ] || exit 0; \
7787 r=`${PWD_COMMAND}`; export r; \
7788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7789 $(SET_LIB_PATH) \
7790 $(HOST_EXPORTS) \
7791 for flag in $(EXTRA_HOST_FLAGS) ; do \
7792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7793 done; \
7794 echo "Doing info in find" ; \
7795 (cd find && \
7796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7798 "RANLIB=$${RANLIB}" \
7799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7800 info) \
7801 || exit 1
7803 @endif find
7805 .PHONY: maybe-dvi-find dvi-find
7806 maybe-dvi-find:
7807 @if find
7808 maybe-dvi-find: dvi-find
7810 dvi-find: \
7811 configure-find
7812 @[ -f ./find/Makefile ] || exit 0; \
7813 r=`${PWD_COMMAND}`; export r; \
7814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7815 $(SET_LIB_PATH) \
7816 $(HOST_EXPORTS) \
7817 for flag in $(EXTRA_HOST_FLAGS) ; do \
7818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7819 done; \
7820 echo "Doing dvi in find" ; \
7821 (cd find && \
7822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7824 "RANLIB=$${RANLIB}" \
7825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7826 dvi) \
7827 || exit 1
7829 @endif find
7831 .PHONY: maybe-TAGS-find TAGS-find
7832 maybe-TAGS-find:
7833 @if find
7834 maybe-TAGS-find: TAGS-find
7836 TAGS-find: \
7837 configure-find
7838 @[ -f ./find/Makefile ] || exit 0; \
7839 r=`${PWD_COMMAND}`; export r; \
7840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7841 $(SET_LIB_PATH) \
7842 $(HOST_EXPORTS) \
7843 for flag in $(EXTRA_HOST_FLAGS) ; do \
7844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7845 done; \
7846 echo "Doing TAGS in find" ; \
7847 (cd find && \
7848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7850 "RANLIB=$${RANLIB}" \
7851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7852 TAGS) \
7853 || exit 1
7855 @endif find
7857 .PHONY: maybe-install-info-find install-info-find
7858 maybe-install-info-find:
7859 @if find
7860 maybe-install-info-find: install-info-find
7862 install-info-find: \
7863 configure-find \
7864 info-find
7865 @[ -f ./find/Makefile ] || exit 0; \
7866 r=`${PWD_COMMAND}`; export r; \
7867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7868 $(SET_LIB_PATH) \
7869 $(HOST_EXPORTS) \
7870 for flag in $(EXTRA_HOST_FLAGS) ; do \
7871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7872 done; \
7873 echo "Doing install-info in find" ; \
7874 (cd find && \
7875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7877 "RANLIB=$${RANLIB}" \
7878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7879 install-info) \
7880 || exit 1
7882 @endif find
7884 .PHONY: maybe-installcheck-find installcheck-find
7885 maybe-installcheck-find:
7886 @if find
7887 maybe-installcheck-find: installcheck-find
7889 installcheck-find: \
7890 configure-find
7891 @[ -f ./find/Makefile ] || exit 0; \
7892 r=`${PWD_COMMAND}`; export r; \
7893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7894 $(SET_LIB_PATH) \
7895 $(HOST_EXPORTS) \
7896 for flag in $(EXTRA_HOST_FLAGS) ; do \
7897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7898 done; \
7899 echo "Doing installcheck in find" ; \
7900 (cd find && \
7901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7903 "RANLIB=$${RANLIB}" \
7904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7905 installcheck) \
7906 || exit 1
7908 @endif find
7910 .PHONY: maybe-mostlyclean-find mostlyclean-find
7911 maybe-mostlyclean-find:
7912 @if find
7913 maybe-mostlyclean-find: mostlyclean-find
7915 mostlyclean-find:
7916 @[ -f ./find/Makefile ] || exit 0; \
7917 r=`${PWD_COMMAND}`; export r; \
7918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7919 $(SET_LIB_PATH) \
7920 $(HOST_EXPORTS) \
7921 for flag in $(EXTRA_HOST_FLAGS) ; do \
7922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7923 done; \
7924 echo "Doing mostlyclean in find" ; \
7925 (cd find && \
7926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7928 "RANLIB=$${RANLIB}" \
7929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7930 mostlyclean) \
7931 || exit 1
7933 @endif find
7935 .PHONY: maybe-clean-find clean-find
7936 maybe-clean-find:
7937 @if find
7938 maybe-clean-find: clean-find
7940 clean-find:
7941 @[ -f ./find/Makefile ] || exit 0; \
7942 r=`${PWD_COMMAND}`; export r; \
7943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7944 $(SET_LIB_PATH) \
7945 $(HOST_EXPORTS) \
7946 for flag in $(EXTRA_HOST_FLAGS) ; do \
7947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7948 done; \
7949 echo "Doing clean in find" ; \
7950 (cd find && \
7951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7953 "RANLIB=$${RANLIB}" \
7954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7955 clean) \
7956 || exit 1
7958 @endif find
7960 .PHONY: maybe-distclean-find distclean-find
7961 maybe-distclean-find:
7962 @if find
7963 maybe-distclean-find: distclean-find
7965 distclean-find:
7966 @[ -f ./find/Makefile ] || exit 0; \
7967 r=`${PWD_COMMAND}`; export r; \
7968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7969 $(SET_LIB_PATH) \
7970 $(HOST_EXPORTS) \
7971 for flag in $(EXTRA_HOST_FLAGS) ; do \
7972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7973 done; \
7974 echo "Doing distclean in find" ; \
7975 (cd find && \
7976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7978 "RANLIB=$${RANLIB}" \
7979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7980 distclean) \
7981 || exit 1
7983 @endif find
7985 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7986 maybe-maintainer-clean-find:
7987 @if find
7988 maybe-maintainer-clean-find: maintainer-clean-find
7990 maintainer-clean-find:
7991 @[ -f ./find/Makefile ] || exit 0; \
7992 r=`${PWD_COMMAND}`; export r; \
7993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7994 $(SET_LIB_PATH) \
7995 $(HOST_EXPORTS) \
7996 for flag in $(EXTRA_HOST_FLAGS) ; do \
7997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7998 done; \
7999 echo "Doing maintainer-clean in find" ; \
8000 (cd find && \
8001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8003 "RANLIB=$${RANLIB}" \
8004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8005 maintainer-clean) \
8006 || exit 1
8008 @endif find
8011 .PHONY: configure-fixincludes maybe-configure-fixincludes
8012 maybe-configure-fixincludes:
8013 @if fixincludes
8014 maybe-configure-fixincludes: configure-fixincludes
8015 configure-fixincludes:
8016 @test ! -f fixincludes/Makefile || exit 0; \
8017 [ -d fixincludes ] || mkdir fixincludes; \
8018 r=`${PWD_COMMAND}`; export r; \
8019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8020 $(HOST_EXPORTS) \
8021 echo Configuring in fixincludes; \
8022 cd fixincludes || exit 1; \
8023 case $(srcdir) in \
8024 \.) \
8025 srcdiroption="--srcdir=."; \
8026 libsrcdir=".";; \
8027 /* | [A-Za-z]:[\\/]*) \
8028 srcdiroption="--srcdir=$(srcdir)/fixincludes"; \
8029 libsrcdir="$$s/fixincludes";; \
8030 *) \
8031 srcdiroption="--srcdir=../$(srcdir)/fixincludes"; \
8032 libsrcdir="$$s/fixincludes";; \
8033 esac; \
8034 $(SHELL) $${libsrcdir}/configure \
8035 $(HOST_CONFIGARGS) $${srcdiroption} \
8036 || exit 1
8037 @endif fixincludes
8039 .PHONY: all-fixincludes maybe-all-fixincludes
8040 maybe-all-fixincludes:
8041 @if fixincludes
8042 TARGET-fixincludes=all
8043 maybe-all-fixincludes: all-fixincludes
8044 all-fixincludes: configure-fixincludes
8045 @r=`${PWD_COMMAND}`; export r; \
8046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8047 $(SET_LIB_PATH) \
8048 $(HOST_EXPORTS) \
8049 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) \
8050 $(TARGET-fixincludes))
8051 @endif fixincludes
8053 .PHONY: check-fixincludes maybe-check-fixincludes
8054 maybe-check-fixincludes:
8055 @if fixincludes
8056 maybe-check-fixincludes: check-fixincludes
8058 check-fixincludes:
8059 @r=`${PWD_COMMAND}`; export r; \
8060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8061 $(SET_LIB_PATH) \
8062 $(HOST_EXPORTS) \
8063 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) check)
8065 @endif fixincludes
8067 .PHONY: install-fixincludes maybe-install-fixincludes
8068 maybe-install-fixincludes:
8069 @if fixincludes
8070 maybe-install-fixincludes: install-fixincludes
8072 install-fixincludes: installdirs
8073 @r=`${PWD_COMMAND}`; export r; \
8074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8075 $(SET_LIB_PATH) \
8076 $(HOST_EXPORTS) \
8077 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) install)
8079 @endif fixincludes
8081 # Other targets (info, dvi, etc.)
8083 .PHONY: maybe-info-fixincludes info-fixincludes
8084 maybe-info-fixincludes:
8085 @if fixincludes
8086 maybe-info-fixincludes: info-fixincludes
8088 # fixincludes doesn't support info.
8089 info-fixincludes:
8091 @endif fixincludes
8093 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8094 maybe-dvi-fixincludes:
8095 @if fixincludes
8096 maybe-dvi-fixincludes: dvi-fixincludes
8098 # fixincludes doesn't support dvi.
8099 dvi-fixincludes:
8101 @endif fixincludes
8103 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8104 maybe-TAGS-fixincludes:
8105 @if fixincludes
8106 maybe-TAGS-fixincludes: TAGS-fixincludes
8108 # fixincludes doesn't support TAGS.
8109 TAGS-fixincludes:
8111 @endif fixincludes
8113 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8114 maybe-install-info-fixincludes:
8115 @if fixincludes
8116 maybe-install-info-fixincludes: install-info-fixincludes
8118 # fixincludes doesn't support install-info.
8119 install-info-fixincludes:
8121 @endif fixincludes
8123 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8124 maybe-installcheck-fixincludes:
8125 @if fixincludes
8126 maybe-installcheck-fixincludes: installcheck-fixincludes
8128 # fixincludes doesn't support installcheck.
8129 installcheck-fixincludes:
8131 @endif fixincludes
8133 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8134 maybe-mostlyclean-fixincludes:
8135 @if fixincludes
8136 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8138 mostlyclean-fixincludes:
8139 @[ -f ./fixincludes/Makefile ] || exit 0; \
8140 r=`${PWD_COMMAND}`; export r; \
8141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8142 $(SET_LIB_PATH) \
8143 $(HOST_EXPORTS) \
8144 for flag in $(EXTRA_HOST_FLAGS) ; do \
8145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8146 done; \
8147 echo "Doing mostlyclean in fixincludes" ; \
8148 (cd fixincludes && \
8149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8151 "RANLIB=$${RANLIB}" \
8152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8153 mostlyclean) \
8154 || exit 1
8156 @endif fixincludes
8158 .PHONY: maybe-clean-fixincludes clean-fixincludes
8159 maybe-clean-fixincludes:
8160 @if fixincludes
8161 maybe-clean-fixincludes: clean-fixincludes
8163 clean-fixincludes:
8164 @[ -f ./fixincludes/Makefile ] || exit 0; \
8165 r=`${PWD_COMMAND}`; export r; \
8166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8167 $(SET_LIB_PATH) \
8168 $(HOST_EXPORTS) \
8169 for flag in $(EXTRA_HOST_FLAGS) ; do \
8170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8171 done; \
8172 echo "Doing clean in fixincludes" ; \
8173 (cd fixincludes && \
8174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8176 "RANLIB=$${RANLIB}" \
8177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8178 clean) \
8179 || exit 1
8181 @endif fixincludes
8183 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8184 maybe-distclean-fixincludes:
8185 @if fixincludes
8186 maybe-distclean-fixincludes: distclean-fixincludes
8188 distclean-fixincludes:
8189 @[ -f ./fixincludes/Makefile ] || exit 0; \
8190 r=`${PWD_COMMAND}`; export r; \
8191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8192 $(SET_LIB_PATH) \
8193 $(HOST_EXPORTS) \
8194 for flag in $(EXTRA_HOST_FLAGS) ; do \
8195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8196 done; \
8197 echo "Doing distclean in fixincludes" ; \
8198 (cd fixincludes && \
8199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8201 "RANLIB=$${RANLIB}" \
8202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8203 distclean) \
8204 || exit 1
8206 @endif fixincludes
8208 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8209 maybe-maintainer-clean-fixincludes:
8210 @if fixincludes
8211 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8213 maintainer-clean-fixincludes:
8214 @[ -f ./fixincludes/Makefile ] || exit 0; \
8215 r=`${PWD_COMMAND}`; export r; \
8216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8217 $(SET_LIB_PATH) \
8218 $(HOST_EXPORTS) \
8219 for flag in $(EXTRA_HOST_FLAGS) ; do \
8220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8221 done; \
8222 echo "Doing maintainer-clean in fixincludes" ; \
8223 (cd fixincludes && \
8224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8226 "RANLIB=$${RANLIB}" \
8227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8228 maintainer-clean) \
8229 || exit 1
8231 @endif fixincludes
8234 .PHONY: configure-flex maybe-configure-flex
8235 maybe-configure-flex:
8236 @if flex
8237 maybe-configure-flex: configure-flex
8238 configure-flex:
8239 @test ! -f flex/Makefile || exit 0; \
8240 [ -d flex ] || mkdir flex; \
8241 r=`${PWD_COMMAND}`; export r; \
8242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8243 $(HOST_EXPORTS) \
8244 echo Configuring in flex; \
8245 cd flex || exit 1; \
8246 case $(srcdir) in \
8247 \.) \
8248 srcdiroption="--srcdir=."; \
8249 libsrcdir=".";; \
8250 /* | [A-Za-z]:[\\/]*) \
8251 srcdiroption="--srcdir=$(srcdir)/flex"; \
8252 libsrcdir="$$s/flex";; \
8253 *) \
8254 srcdiroption="--srcdir=../$(srcdir)/flex"; \
8255 libsrcdir="$$s/flex";; \
8256 esac; \
8257 $(SHELL) $${libsrcdir}/configure \
8258 $(HOST_CONFIGARGS) $${srcdiroption} \
8259 || exit 1
8260 @endif flex
8262 .PHONY: all-flex maybe-all-flex
8263 maybe-all-flex:
8264 @if flex
8265 TARGET-flex=all
8266 maybe-all-flex: all-flex
8267 all-flex: configure-flex
8268 @r=`${PWD_COMMAND}`; export r; \
8269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8270 $(SET_LIB_PATH) \
8271 $(HOST_EXPORTS) \
8272 (cd flex && $(MAKE) $(FLAGS_TO_PASS) \
8273 $(TARGET-flex))
8274 @endif flex
8276 .PHONY: check-flex maybe-check-flex
8277 maybe-check-flex:
8278 @if flex
8279 maybe-check-flex: check-flex
8281 # This module is only tested in a native toolchain.
8282 check-flex:
8283 @if [ '$(host)' = '$(target)' ] ; then \
8284 r=`${PWD_COMMAND}`; export r; \
8285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8286 $(SET_LIB_PATH) \
8287 $(HOST_EXPORTS) \
8288 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8291 @endif flex
8293 .PHONY: install-flex maybe-install-flex
8294 maybe-install-flex:
8295 @if flex
8296 maybe-install-flex: install-flex
8298 install-flex: installdirs
8299 @r=`${PWD_COMMAND}`; export r; \
8300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8301 $(SET_LIB_PATH) \
8302 $(HOST_EXPORTS) \
8303 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8305 @endif flex
8307 # Other targets (info, dvi, etc.)
8309 .PHONY: maybe-info-flex info-flex
8310 maybe-info-flex:
8311 @if flex
8312 maybe-info-flex: info-flex
8314 info-flex: \
8315 configure-flex
8316 @[ -f ./flex/Makefile ] || exit 0; \
8317 r=`${PWD_COMMAND}`; export r; \
8318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8319 $(SET_LIB_PATH) \
8320 $(HOST_EXPORTS) \
8321 for flag in $(EXTRA_HOST_FLAGS) ; do \
8322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8323 done; \
8324 echo "Doing info in flex" ; \
8325 (cd flex && \
8326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8328 "RANLIB=$${RANLIB}" \
8329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8330 info) \
8331 || exit 1
8333 @endif flex
8335 .PHONY: maybe-dvi-flex dvi-flex
8336 maybe-dvi-flex:
8337 @if flex
8338 maybe-dvi-flex: dvi-flex
8340 dvi-flex: \
8341 configure-flex
8342 @[ -f ./flex/Makefile ] || exit 0; \
8343 r=`${PWD_COMMAND}`; export r; \
8344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8345 $(SET_LIB_PATH) \
8346 $(HOST_EXPORTS) \
8347 for flag in $(EXTRA_HOST_FLAGS) ; do \
8348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8349 done; \
8350 echo "Doing dvi in flex" ; \
8351 (cd flex && \
8352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8354 "RANLIB=$${RANLIB}" \
8355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8356 dvi) \
8357 || exit 1
8359 @endif flex
8361 .PHONY: maybe-TAGS-flex TAGS-flex
8362 maybe-TAGS-flex:
8363 @if flex
8364 maybe-TAGS-flex: TAGS-flex
8366 TAGS-flex: \
8367 configure-flex
8368 @[ -f ./flex/Makefile ] || exit 0; \
8369 r=`${PWD_COMMAND}`; export r; \
8370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8371 $(SET_LIB_PATH) \
8372 $(HOST_EXPORTS) \
8373 for flag in $(EXTRA_HOST_FLAGS) ; do \
8374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8375 done; \
8376 echo "Doing TAGS in flex" ; \
8377 (cd flex && \
8378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8380 "RANLIB=$${RANLIB}" \
8381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8382 TAGS) \
8383 || exit 1
8385 @endif flex
8387 .PHONY: maybe-install-info-flex install-info-flex
8388 maybe-install-info-flex:
8389 @if flex
8390 maybe-install-info-flex: install-info-flex
8392 install-info-flex: \
8393 configure-flex \
8394 info-flex
8395 @[ -f ./flex/Makefile ] || exit 0; \
8396 r=`${PWD_COMMAND}`; export r; \
8397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8398 $(SET_LIB_PATH) \
8399 $(HOST_EXPORTS) \
8400 for flag in $(EXTRA_HOST_FLAGS) ; do \
8401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8402 done; \
8403 echo "Doing install-info in flex" ; \
8404 (cd flex && \
8405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8407 "RANLIB=$${RANLIB}" \
8408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8409 install-info) \
8410 || exit 1
8412 @endif flex
8414 .PHONY: maybe-installcheck-flex installcheck-flex
8415 maybe-installcheck-flex:
8416 @if flex
8417 maybe-installcheck-flex: installcheck-flex
8419 installcheck-flex: \
8420 configure-flex
8421 @[ -f ./flex/Makefile ] || exit 0; \
8422 r=`${PWD_COMMAND}`; export r; \
8423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8424 $(SET_LIB_PATH) \
8425 $(HOST_EXPORTS) \
8426 for flag in $(EXTRA_HOST_FLAGS) ; do \
8427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8428 done; \
8429 echo "Doing installcheck in flex" ; \
8430 (cd flex && \
8431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8433 "RANLIB=$${RANLIB}" \
8434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8435 installcheck) \
8436 || exit 1
8438 @endif flex
8440 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8441 maybe-mostlyclean-flex:
8442 @if flex
8443 maybe-mostlyclean-flex: mostlyclean-flex
8445 mostlyclean-flex:
8446 @[ -f ./flex/Makefile ] || exit 0; \
8447 r=`${PWD_COMMAND}`; export r; \
8448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8449 $(SET_LIB_PATH) \
8450 $(HOST_EXPORTS) \
8451 for flag in $(EXTRA_HOST_FLAGS) ; do \
8452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8453 done; \
8454 echo "Doing mostlyclean in flex" ; \
8455 (cd flex && \
8456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8458 "RANLIB=$${RANLIB}" \
8459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8460 mostlyclean) \
8461 || exit 1
8463 @endif flex
8465 .PHONY: maybe-clean-flex clean-flex
8466 maybe-clean-flex:
8467 @if flex
8468 maybe-clean-flex: clean-flex
8470 clean-flex:
8471 @[ -f ./flex/Makefile ] || exit 0; \
8472 r=`${PWD_COMMAND}`; export r; \
8473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8474 $(SET_LIB_PATH) \
8475 $(HOST_EXPORTS) \
8476 for flag in $(EXTRA_HOST_FLAGS) ; do \
8477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8478 done; \
8479 echo "Doing clean in flex" ; \
8480 (cd flex && \
8481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8483 "RANLIB=$${RANLIB}" \
8484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8485 clean) \
8486 || exit 1
8488 @endif flex
8490 .PHONY: maybe-distclean-flex distclean-flex
8491 maybe-distclean-flex:
8492 @if flex
8493 maybe-distclean-flex: distclean-flex
8495 distclean-flex:
8496 @[ -f ./flex/Makefile ] || exit 0; \
8497 r=`${PWD_COMMAND}`; export r; \
8498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8499 $(SET_LIB_PATH) \
8500 $(HOST_EXPORTS) \
8501 for flag in $(EXTRA_HOST_FLAGS) ; do \
8502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8503 done; \
8504 echo "Doing distclean in flex" ; \
8505 (cd flex && \
8506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8508 "RANLIB=$${RANLIB}" \
8509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8510 distclean) \
8511 || exit 1
8513 @endif flex
8515 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8516 maybe-maintainer-clean-flex:
8517 @if flex
8518 maybe-maintainer-clean-flex: maintainer-clean-flex
8520 maintainer-clean-flex:
8521 @[ -f ./flex/Makefile ] || exit 0; \
8522 r=`${PWD_COMMAND}`; export r; \
8523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8524 $(SET_LIB_PATH) \
8525 $(HOST_EXPORTS) \
8526 for flag in $(EXTRA_HOST_FLAGS) ; do \
8527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8528 done; \
8529 echo "Doing maintainer-clean in flex" ; \
8530 (cd flex && \
8531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8533 "RANLIB=$${RANLIB}" \
8534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8535 maintainer-clean) \
8536 || exit 1
8538 @endif flex
8541 .PHONY: configure-gas maybe-configure-gas
8542 maybe-configure-gas:
8543 @if gas
8544 maybe-configure-gas: configure-gas
8545 configure-gas:
8546 @test -f stage_last && exit 0; \
8547 test ! -f gas/Makefile || exit 0; \
8548 [ -d gas ] || mkdir gas; \
8549 r=`${PWD_COMMAND}`; export r; \
8550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8551 $(HOST_EXPORTS) \
8552 echo Configuring in gas; \
8553 cd gas || exit 1; \
8554 case $(srcdir) in \
8555 \.) \
8556 srcdiroption="--srcdir=."; \
8557 libsrcdir=".";; \
8558 /* | [A-Za-z]:[\\/]*) \
8559 srcdiroption="--srcdir=$(srcdir)/gas"; \
8560 libsrcdir="$$s/gas";; \
8561 *) \
8562 srcdiroption="--srcdir=../$(srcdir)/gas"; \
8563 libsrcdir="$$s/gas";; \
8564 esac; \
8565 $(SHELL) $${libsrcdir}/configure \
8566 $(HOST_CONFIGARGS) $${srcdiroption} \
8567 || exit 1
8568 @endif gas
8570 .PHONY: all-gas maybe-all-gas
8571 maybe-all-gas:
8572 @if gas
8573 TARGET-gas=all
8574 maybe-all-gas: all-gas
8575 all-gas: configure-gas
8576 @test -f stage_last && exit 0; \
8577 r=`${PWD_COMMAND}`; export r; \
8578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8579 $(SET_LIB_PATH) \
8580 $(HOST_EXPORTS) \
8581 (cd gas && $(MAKE) $(FLAGS_TO_PASS) \
8582 $(TARGET-gas))
8583 @endif gas
8585 .PHONY: check-gas maybe-check-gas
8586 maybe-check-gas:
8587 @if gas
8588 maybe-check-gas: check-gas
8590 check-gas:
8591 @r=`${PWD_COMMAND}`; export r; \
8592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8593 $(SET_LIB_PATH) \
8594 $(HOST_EXPORTS) \
8595 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
8597 @endif gas
8599 .PHONY: install-gas maybe-install-gas
8600 maybe-install-gas:
8601 @if gas
8602 maybe-install-gas: install-gas
8604 install-gas: installdirs
8605 @r=`${PWD_COMMAND}`; export r; \
8606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8607 $(SET_LIB_PATH) \
8608 $(HOST_EXPORTS) \
8609 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
8611 @endif gas
8613 # Other targets (info, dvi, etc.)
8615 .PHONY: maybe-info-gas info-gas
8616 maybe-info-gas:
8617 @if gas
8618 maybe-info-gas: info-gas
8620 info-gas: \
8621 configure-gas
8622 @[ -f ./gas/Makefile ] || exit 0; \
8623 r=`${PWD_COMMAND}`; export r; \
8624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8625 $(SET_LIB_PATH) \
8626 $(HOST_EXPORTS) \
8627 for flag in $(EXTRA_HOST_FLAGS) ; do \
8628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8629 done; \
8630 echo "Doing info in gas" ; \
8631 (cd gas && \
8632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8634 "RANLIB=$${RANLIB}" \
8635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8636 info) \
8637 || exit 1
8639 @endif gas
8641 .PHONY: maybe-dvi-gas dvi-gas
8642 maybe-dvi-gas:
8643 @if gas
8644 maybe-dvi-gas: dvi-gas
8646 dvi-gas: \
8647 configure-gas
8648 @[ -f ./gas/Makefile ] || exit 0; \
8649 r=`${PWD_COMMAND}`; export r; \
8650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8651 $(SET_LIB_PATH) \
8652 $(HOST_EXPORTS) \
8653 for flag in $(EXTRA_HOST_FLAGS) ; do \
8654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8655 done; \
8656 echo "Doing dvi in gas" ; \
8657 (cd gas && \
8658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8660 "RANLIB=$${RANLIB}" \
8661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8662 dvi) \
8663 || exit 1
8665 @endif gas
8667 .PHONY: maybe-TAGS-gas TAGS-gas
8668 maybe-TAGS-gas:
8669 @if gas
8670 maybe-TAGS-gas: TAGS-gas
8672 TAGS-gas: \
8673 configure-gas
8674 @[ -f ./gas/Makefile ] || exit 0; \
8675 r=`${PWD_COMMAND}`; export r; \
8676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8677 $(SET_LIB_PATH) \
8678 $(HOST_EXPORTS) \
8679 for flag in $(EXTRA_HOST_FLAGS) ; do \
8680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8681 done; \
8682 echo "Doing TAGS in gas" ; \
8683 (cd gas && \
8684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8686 "RANLIB=$${RANLIB}" \
8687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8688 TAGS) \
8689 || exit 1
8691 @endif gas
8693 .PHONY: maybe-install-info-gas install-info-gas
8694 maybe-install-info-gas:
8695 @if gas
8696 maybe-install-info-gas: install-info-gas
8698 install-info-gas: \
8699 configure-gas \
8700 info-gas
8701 @[ -f ./gas/Makefile ] || exit 0; \
8702 r=`${PWD_COMMAND}`; export r; \
8703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8704 $(SET_LIB_PATH) \
8705 $(HOST_EXPORTS) \
8706 for flag in $(EXTRA_HOST_FLAGS) ; do \
8707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8708 done; \
8709 echo "Doing install-info in gas" ; \
8710 (cd gas && \
8711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8713 "RANLIB=$${RANLIB}" \
8714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8715 install-info) \
8716 || exit 1
8718 @endif gas
8720 .PHONY: maybe-installcheck-gas installcheck-gas
8721 maybe-installcheck-gas:
8722 @if gas
8723 maybe-installcheck-gas: installcheck-gas
8725 installcheck-gas: \
8726 configure-gas
8727 @[ -f ./gas/Makefile ] || exit 0; \
8728 r=`${PWD_COMMAND}`; export r; \
8729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8730 $(SET_LIB_PATH) \
8731 $(HOST_EXPORTS) \
8732 for flag in $(EXTRA_HOST_FLAGS) ; do \
8733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8734 done; \
8735 echo "Doing installcheck in gas" ; \
8736 (cd gas && \
8737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8739 "RANLIB=$${RANLIB}" \
8740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8741 installcheck) \
8742 || exit 1
8744 @endif gas
8746 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8747 maybe-mostlyclean-gas:
8748 @if gas
8749 maybe-mostlyclean-gas: mostlyclean-gas
8751 mostlyclean-gas:
8752 @[ -f ./gas/Makefile ] || exit 0; \
8753 r=`${PWD_COMMAND}`; export r; \
8754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8755 $(SET_LIB_PATH) \
8756 $(HOST_EXPORTS) \
8757 for flag in $(EXTRA_HOST_FLAGS) ; do \
8758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8759 done; \
8760 echo "Doing mostlyclean in gas" ; \
8761 (cd gas && \
8762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8764 "RANLIB=$${RANLIB}" \
8765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8766 mostlyclean) \
8767 || exit 1
8769 @endif gas
8771 .PHONY: maybe-clean-gas clean-gas
8772 maybe-clean-gas:
8773 @if gas
8774 maybe-clean-gas: clean-gas
8776 clean-gas:
8777 @[ -f ./gas/Makefile ] || exit 0; \
8778 r=`${PWD_COMMAND}`; export r; \
8779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8780 $(SET_LIB_PATH) \
8781 $(HOST_EXPORTS) \
8782 for flag in $(EXTRA_HOST_FLAGS) ; do \
8783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8784 done; \
8785 echo "Doing clean in gas" ; \
8786 (cd gas && \
8787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8789 "RANLIB=$${RANLIB}" \
8790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8791 clean) \
8792 || exit 1
8794 @endif gas
8796 .PHONY: maybe-distclean-gas distclean-gas
8797 maybe-distclean-gas:
8798 @if gas
8799 maybe-distclean-gas: distclean-gas
8801 distclean-gas:
8802 @[ -f ./gas/Makefile ] || exit 0; \
8803 r=`${PWD_COMMAND}`; export r; \
8804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8805 $(SET_LIB_PATH) \
8806 $(HOST_EXPORTS) \
8807 for flag in $(EXTRA_HOST_FLAGS) ; do \
8808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8809 done; \
8810 echo "Doing distclean in gas" ; \
8811 (cd gas && \
8812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8814 "RANLIB=$${RANLIB}" \
8815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8816 distclean) \
8817 || exit 1
8819 @endif gas
8821 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8822 maybe-maintainer-clean-gas:
8823 @if gas
8824 maybe-maintainer-clean-gas: maintainer-clean-gas
8826 maintainer-clean-gas:
8827 @[ -f ./gas/Makefile ] || exit 0; \
8828 r=`${PWD_COMMAND}`; export r; \
8829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8830 $(SET_LIB_PATH) \
8831 $(HOST_EXPORTS) \
8832 for flag in $(EXTRA_HOST_FLAGS) ; do \
8833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8834 done; \
8835 echo "Doing maintainer-clean in gas" ; \
8836 (cd gas && \
8837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8839 "RANLIB=$${RANLIB}" \
8840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8841 maintainer-clean) \
8842 || exit 1
8844 @endif gas
8847 .PHONY: configure-gcc maybe-configure-gcc
8848 maybe-configure-gcc:
8849 @if gcc
8850 maybe-configure-gcc: configure-gcc
8851 configure-gcc:
8852 @test -f stage_last && exit 0; \
8853 test ! -f gcc/Makefile || exit 0; \
8854 [ -d gcc ] || mkdir gcc; \
8855 r=`${PWD_COMMAND}`; export r; \
8856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8857 $(HOST_EXPORTS) \
8858 echo Configuring in gcc; \
8859 cd gcc || exit 1; \
8860 case $(srcdir) in \
8861 \.) \
8862 srcdiroption="--srcdir=."; \
8863 libsrcdir=".";; \
8864 /* | [A-Za-z]:[\\/]*) \
8865 srcdiroption="--srcdir=$(srcdir)/gcc"; \
8866 libsrcdir="$$s/gcc";; \
8867 *) \
8868 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
8869 libsrcdir="$$s/gcc";; \
8870 esac; \
8871 $(SHELL) $${libsrcdir}/configure \
8872 $(HOST_CONFIGARGS) $${srcdiroption} \
8873 || exit 1
8874 @endif gcc
8876 .PHONY: all-gcc maybe-all-gcc
8877 maybe-all-gcc:
8878 @if gcc
8879 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
8880 maybe-all-gcc: all-gcc
8881 all-gcc: configure-gcc
8882 @test -f stage_last && exit 0; \
8883 r=`${PWD_COMMAND}`; export r; \
8884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8885 $(SET_LIB_PATH) \
8886 $(HOST_EXPORTS) \
8887 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
8888 $(TARGET-gcc))
8889 @endif gcc
8891 .PHONY: check-gcc maybe-check-gcc
8892 maybe-check-gcc:
8893 @if gcc
8894 maybe-check-gcc: check-gcc
8896 check-gcc:
8897 @r=`${PWD_COMMAND}`; export r; \
8898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8899 $(SET_LIB_PATH) \
8900 $(HOST_EXPORTS) \
8901 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
8903 @endif gcc
8905 .PHONY: install-gcc maybe-install-gcc
8906 maybe-install-gcc:
8907 @if gcc
8908 maybe-install-gcc: install-gcc
8910 install-gcc: installdirs
8911 @r=`${PWD_COMMAND}`; export r; \
8912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8913 $(SET_LIB_PATH) \
8914 $(HOST_EXPORTS) \
8915 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
8917 @endif gcc
8919 # Other targets (info, dvi, etc.)
8921 .PHONY: maybe-info-gcc info-gcc
8922 maybe-info-gcc:
8923 @if gcc
8924 maybe-info-gcc: info-gcc
8926 info-gcc: \
8927 configure-gcc
8928 @[ -f ./gcc/Makefile ] || exit 0; \
8929 r=`${PWD_COMMAND}`; export r; \
8930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8931 $(SET_LIB_PATH) \
8932 $(HOST_EXPORTS) \
8933 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8935 done; \
8936 echo "Doing info in gcc" ; \
8937 (cd gcc && \
8938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8940 "RANLIB=$${RANLIB}" \
8941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8942 info) \
8943 || exit 1
8945 @endif gcc
8947 .PHONY: maybe-dvi-gcc dvi-gcc
8948 maybe-dvi-gcc:
8949 @if gcc
8950 maybe-dvi-gcc: dvi-gcc
8952 dvi-gcc: \
8953 configure-gcc
8954 @[ -f ./gcc/Makefile ] || exit 0; \
8955 r=`${PWD_COMMAND}`; export r; \
8956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8957 $(SET_LIB_PATH) \
8958 $(HOST_EXPORTS) \
8959 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8961 done; \
8962 echo "Doing dvi in gcc" ; \
8963 (cd gcc && \
8964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8966 "RANLIB=$${RANLIB}" \
8967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8968 dvi) \
8969 || exit 1
8971 @endif gcc
8973 .PHONY: maybe-TAGS-gcc TAGS-gcc
8974 maybe-TAGS-gcc:
8975 @if gcc
8976 maybe-TAGS-gcc: TAGS-gcc
8978 TAGS-gcc: \
8979 configure-gcc
8980 @[ -f ./gcc/Makefile ] || exit 0; \
8981 r=`${PWD_COMMAND}`; export r; \
8982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8983 $(SET_LIB_PATH) \
8984 $(HOST_EXPORTS) \
8985 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8987 done; \
8988 echo "Doing TAGS in gcc" ; \
8989 (cd gcc && \
8990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8992 "RANLIB=$${RANLIB}" \
8993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8994 TAGS) \
8995 || exit 1
8997 @endif gcc
8999 .PHONY: maybe-install-info-gcc install-info-gcc
9000 maybe-install-info-gcc:
9001 @if gcc
9002 maybe-install-info-gcc: install-info-gcc
9004 install-info-gcc: \
9005 configure-gcc \
9006 info-gcc
9007 @[ -f ./gcc/Makefile ] || exit 0; \
9008 r=`${PWD_COMMAND}`; export r; \
9009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9010 $(SET_LIB_PATH) \
9011 $(HOST_EXPORTS) \
9012 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9014 done; \
9015 echo "Doing install-info in gcc" ; \
9016 (cd gcc && \
9017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9019 "RANLIB=$${RANLIB}" \
9020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9021 install-info) \
9022 || exit 1
9024 @endif gcc
9026 .PHONY: maybe-installcheck-gcc installcheck-gcc
9027 maybe-installcheck-gcc:
9028 @if gcc
9029 maybe-installcheck-gcc: installcheck-gcc
9031 installcheck-gcc: \
9032 configure-gcc
9033 @[ -f ./gcc/Makefile ] || exit 0; \
9034 r=`${PWD_COMMAND}`; export r; \
9035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9036 $(SET_LIB_PATH) \
9037 $(HOST_EXPORTS) \
9038 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9040 done; \
9041 echo "Doing installcheck in gcc" ; \
9042 (cd gcc && \
9043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9045 "RANLIB=$${RANLIB}" \
9046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9047 installcheck) \
9048 || exit 1
9050 @endif gcc
9052 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9053 maybe-mostlyclean-gcc:
9054 @if gcc
9055 maybe-mostlyclean-gcc: mostlyclean-gcc
9057 mostlyclean-gcc:
9058 @[ -f ./gcc/Makefile ] || exit 0; \
9059 r=`${PWD_COMMAND}`; export r; \
9060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9061 $(SET_LIB_PATH) \
9062 $(HOST_EXPORTS) \
9063 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9065 done; \
9066 echo "Doing mostlyclean in gcc" ; \
9067 (cd gcc && \
9068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9070 "RANLIB=$${RANLIB}" \
9071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9072 mostlyclean) \
9073 || exit 1
9075 @endif gcc
9077 .PHONY: maybe-clean-gcc clean-gcc
9078 maybe-clean-gcc:
9079 @if gcc
9080 maybe-clean-gcc: clean-gcc
9082 clean-gcc:
9083 @[ -f ./gcc/Makefile ] || exit 0; \
9084 r=`${PWD_COMMAND}`; export r; \
9085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9086 $(SET_LIB_PATH) \
9087 $(HOST_EXPORTS) \
9088 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9090 done; \
9091 echo "Doing clean in gcc" ; \
9092 (cd gcc && \
9093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9095 "RANLIB=$${RANLIB}" \
9096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9097 clean) \
9098 || exit 1
9100 @endif gcc
9102 .PHONY: maybe-distclean-gcc distclean-gcc
9103 maybe-distclean-gcc:
9104 @if gcc
9105 maybe-distclean-gcc: distclean-gcc
9107 distclean-gcc:
9108 @[ -f ./gcc/Makefile ] || exit 0; \
9109 r=`${PWD_COMMAND}`; export r; \
9110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9111 $(SET_LIB_PATH) \
9112 $(HOST_EXPORTS) \
9113 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9115 done; \
9116 echo "Doing distclean in gcc" ; \
9117 (cd gcc && \
9118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9120 "RANLIB=$${RANLIB}" \
9121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9122 distclean) \
9123 || exit 1
9125 @endif gcc
9127 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9128 maybe-maintainer-clean-gcc:
9129 @if gcc
9130 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9132 maintainer-clean-gcc:
9133 @[ -f ./gcc/Makefile ] || exit 0; \
9134 r=`${PWD_COMMAND}`; export r; \
9135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9136 $(SET_LIB_PATH) \
9137 $(HOST_EXPORTS) \
9138 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9140 done; \
9141 echo "Doing maintainer-clean in gcc" ; \
9142 (cd gcc && \
9143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9145 "RANLIB=$${RANLIB}" \
9146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9147 maintainer-clean) \
9148 || exit 1
9150 @endif gcc
9153 .PHONY: configure-gawk maybe-configure-gawk
9154 maybe-configure-gawk:
9155 @if gawk
9156 maybe-configure-gawk: configure-gawk
9157 configure-gawk:
9158 @test ! -f gawk/Makefile || exit 0; \
9159 [ -d gawk ] || mkdir gawk; \
9160 r=`${PWD_COMMAND}`; export r; \
9161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9162 $(HOST_EXPORTS) \
9163 echo Configuring in gawk; \
9164 cd gawk || exit 1; \
9165 case $(srcdir) in \
9166 \.) \
9167 srcdiroption="--srcdir=."; \
9168 libsrcdir=".";; \
9169 /* | [A-Za-z]:[\\/]*) \
9170 srcdiroption="--srcdir=$(srcdir)/gawk"; \
9171 libsrcdir="$$s/gawk";; \
9172 *) \
9173 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
9174 libsrcdir="$$s/gawk";; \
9175 esac; \
9176 $(SHELL) $${libsrcdir}/configure \
9177 $(HOST_CONFIGARGS) $${srcdiroption} \
9178 || exit 1
9179 @endif gawk
9181 .PHONY: all-gawk maybe-all-gawk
9182 maybe-all-gawk:
9183 @if gawk
9184 TARGET-gawk=all
9185 maybe-all-gawk: all-gawk
9186 all-gawk: configure-gawk
9187 @r=`${PWD_COMMAND}`; export r; \
9188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9189 $(SET_LIB_PATH) \
9190 $(HOST_EXPORTS) \
9191 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) \
9192 $(TARGET-gawk))
9193 @endif gawk
9195 .PHONY: check-gawk maybe-check-gawk
9196 maybe-check-gawk:
9197 @if gawk
9198 maybe-check-gawk: check-gawk
9200 check-gawk:
9201 @r=`${PWD_COMMAND}`; export r; \
9202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9203 $(SET_LIB_PATH) \
9204 $(HOST_EXPORTS) \
9205 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
9207 @endif gawk
9209 .PHONY: install-gawk maybe-install-gawk
9210 maybe-install-gawk:
9211 @if gawk
9212 maybe-install-gawk: install-gawk
9214 install-gawk: installdirs
9215 @r=`${PWD_COMMAND}`; export r; \
9216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9217 $(SET_LIB_PATH) \
9218 $(HOST_EXPORTS) \
9219 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
9221 @endif gawk
9223 # Other targets (info, dvi, etc.)
9225 .PHONY: maybe-info-gawk info-gawk
9226 maybe-info-gawk:
9227 @if gawk
9228 maybe-info-gawk: info-gawk
9230 info-gawk: \
9231 configure-gawk
9232 @[ -f ./gawk/Makefile ] || exit 0; \
9233 r=`${PWD_COMMAND}`; export r; \
9234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9235 $(SET_LIB_PATH) \
9236 $(HOST_EXPORTS) \
9237 for flag in $(EXTRA_HOST_FLAGS) ; do \
9238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9239 done; \
9240 echo "Doing info in gawk" ; \
9241 (cd gawk && \
9242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9244 "RANLIB=$${RANLIB}" \
9245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9246 info) \
9247 || exit 1
9249 @endif gawk
9251 .PHONY: maybe-dvi-gawk dvi-gawk
9252 maybe-dvi-gawk:
9253 @if gawk
9254 maybe-dvi-gawk: dvi-gawk
9256 dvi-gawk: \
9257 configure-gawk
9258 @[ -f ./gawk/Makefile ] || exit 0; \
9259 r=`${PWD_COMMAND}`; export r; \
9260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9261 $(SET_LIB_PATH) \
9262 $(HOST_EXPORTS) \
9263 for flag in $(EXTRA_HOST_FLAGS) ; do \
9264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9265 done; \
9266 echo "Doing dvi in gawk" ; \
9267 (cd gawk && \
9268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9270 "RANLIB=$${RANLIB}" \
9271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9272 dvi) \
9273 || exit 1
9275 @endif gawk
9277 .PHONY: maybe-TAGS-gawk TAGS-gawk
9278 maybe-TAGS-gawk:
9279 @if gawk
9280 maybe-TAGS-gawk: TAGS-gawk
9282 TAGS-gawk: \
9283 configure-gawk
9284 @[ -f ./gawk/Makefile ] || exit 0; \
9285 r=`${PWD_COMMAND}`; export r; \
9286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9287 $(SET_LIB_PATH) \
9288 $(HOST_EXPORTS) \
9289 for flag in $(EXTRA_HOST_FLAGS) ; do \
9290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9291 done; \
9292 echo "Doing TAGS in gawk" ; \
9293 (cd gawk && \
9294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9296 "RANLIB=$${RANLIB}" \
9297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9298 TAGS) \
9299 || exit 1
9301 @endif gawk
9303 .PHONY: maybe-install-info-gawk install-info-gawk
9304 maybe-install-info-gawk:
9305 @if gawk
9306 maybe-install-info-gawk: install-info-gawk
9308 install-info-gawk: \
9309 configure-gawk \
9310 info-gawk
9311 @[ -f ./gawk/Makefile ] || exit 0; \
9312 r=`${PWD_COMMAND}`; export r; \
9313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9314 $(SET_LIB_PATH) \
9315 $(HOST_EXPORTS) \
9316 for flag in $(EXTRA_HOST_FLAGS) ; do \
9317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9318 done; \
9319 echo "Doing install-info in gawk" ; \
9320 (cd gawk && \
9321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9323 "RANLIB=$${RANLIB}" \
9324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9325 install-info) \
9326 || exit 1
9328 @endif gawk
9330 .PHONY: maybe-installcheck-gawk installcheck-gawk
9331 maybe-installcheck-gawk:
9332 @if gawk
9333 maybe-installcheck-gawk: installcheck-gawk
9335 installcheck-gawk: \
9336 configure-gawk
9337 @[ -f ./gawk/Makefile ] || exit 0; \
9338 r=`${PWD_COMMAND}`; export r; \
9339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9340 $(SET_LIB_PATH) \
9341 $(HOST_EXPORTS) \
9342 for flag in $(EXTRA_HOST_FLAGS) ; do \
9343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9344 done; \
9345 echo "Doing installcheck in gawk" ; \
9346 (cd gawk && \
9347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9349 "RANLIB=$${RANLIB}" \
9350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9351 installcheck) \
9352 || exit 1
9354 @endif gawk
9356 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9357 maybe-mostlyclean-gawk:
9358 @if gawk
9359 maybe-mostlyclean-gawk: mostlyclean-gawk
9361 mostlyclean-gawk:
9362 @[ -f ./gawk/Makefile ] || exit 0; \
9363 r=`${PWD_COMMAND}`; export r; \
9364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9365 $(SET_LIB_PATH) \
9366 $(HOST_EXPORTS) \
9367 for flag in $(EXTRA_HOST_FLAGS) ; do \
9368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9369 done; \
9370 echo "Doing mostlyclean in gawk" ; \
9371 (cd gawk && \
9372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9374 "RANLIB=$${RANLIB}" \
9375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9376 mostlyclean) \
9377 || exit 1
9379 @endif gawk
9381 .PHONY: maybe-clean-gawk clean-gawk
9382 maybe-clean-gawk:
9383 @if gawk
9384 maybe-clean-gawk: clean-gawk
9386 clean-gawk:
9387 @[ -f ./gawk/Makefile ] || exit 0; \
9388 r=`${PWD_COMMAND}`; export r; \
9389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9390 $(SET_LIB_PATH) \
9391 $(HOST_EXPORTS) \
9392 for flag in $(EXTRA_HOST_FLAGS) ; do \
9393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9394 done; \
9395 echo "Doing clean in gawk" ; \
9396 (cd gawk && \
9397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9399 "RANLIB=$${RANLIB}" \
9400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9401 clean) \
9402 || exit 1
9404 @endif gawk
9406 .PHONY: maybe-distclean-gawk distclean-gawk
9407 maybe-distclean-gawk:
9408 @if gawk
9409 maybe-distclean-gawk: distclean-gawk
9411 distclean-gawk:
9412 @[ -f ./gawk/Makefile ] || exit 0; \
9413 r=`${PWD_COMMAND}`; export r; \
9414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9415 $(SET_LIB_PATH) \
9416 $(HOST_EXPORTS) \
9417 for flag in $(EXTRA_HOST_FLAGS) ; do \
9418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9419 done; \
9420 echo "Doing distclean in gawk" ; \
9421 (cd gawk && \
9422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9424 "RANLIB=$${RANLIB}" \
9425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9426 distclean) \
9427 || exit 1
9429 @endif gawk
9431 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9432 maybe-maintainer-clean-gawk:
9433 @if gawk
9434 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9436 maintainer-clean-gawk:
9437 @[ -f ./gawk/Makefile ] || exit 0; \
9438 r=`${PWD_COMMAND}`; export r; \
9439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9440 $(SET_LIB_PATH) \
9441 $(HOST_EXPORTS) \
9442 for flag in $(EXTRA_HOST_FLAGS) ; do \
9443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9444 done; \
9445 echo "Doing maintainer-clean in gawk" ; \
9446 (cd gawk && \
9447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9449 "RANLIB=$${RANLIB}" \
9450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9451 maintainer-clean) \
9452 || exit 1
9454 @endif gawk
9457 .PHONY: configure-gettext maybe-configure-gettext
9458 maybe-configure-gettext:
9459 @if gettext
9460 maybe-configure-gettext: configure-gettext
9461 configure-gettext:
9462 @test ! -f gettext/Makefile || exit 0; \
9463 [ -d gettext ] || mkdir gettext; \
9464 r=`${PWD_COMMAND}`; export r; \
9465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9466 $(HOST_EXPORTS) \
9467 echo Configuring in gettext; \
9468 cd gettext || exit 1; \
9469 case $(srcdir) in \
9470 \.) \
9471 srcdiroption="--srcdir=."; \
9472 libsrcdir=".";; \
9473 /* | [A-Za-z]:[\\/]*) \
9474 srcdiroption="--srcdir=$(srcdir)/gettext"; \
9475 libsrcdir="$$s/gettext";; \
9476 *) \
9477 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
9478 libsrcdir="$$s/gettext";; \
9479 esac; \
9480 $(SHELL) $${libsrcdir}/configure \
9481 $(HOST_CONFIGARGS) $${srcdiroption} \
9482 || exit 1
9483 @endif gettext
9485 .PHONY: all-gettext maybe-all-gettext
9486 maybe-all-gettext:
9487 @if gettext
9488 TARGET-gettext=all
9489 maybe-all-gettext: all-gettext
9490 all-gettext: configure-gettext
9491 @r=`${PWD_COMMAND}`; export r; \
9492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9493 $(SET_LIB_PATH) \
9494 $(HOST_EXPORTS) \
9495 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) \
9496 $(TARGET-gettext))
9497 @endif gettext
9499 .PHONY: check-gettext maybe-check-gettext
9500 maybe-check-gettext:
9501 @if gettext
9502 maybe-check-gettext: check-gettext
9504 check-gettext:
9505 @r=`${PWD_COMMAND}`; export r; \
9506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9507 $(SET_LIB_PATH) \
9508 $(HOST_EXPORTS) \
9509 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
9511 @endif gettext
9513 .PHONY: install-gettext maybe-install-gettext
9514 maybe-install-gettext:
9515 @if gettext
9516 maybe-install-gettext: install-gettext
9518 install-gettext: installdirs
9519 @r=`${PWD_COMMAND}`; export r; \
9520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9521 $(SET_LIB_PATH) \
9522 $(HOST_EXPORTS) \
9523 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
9525 @endif gettext
9527 # Other targets (info, dvi, etc.)
9529 .PHONY: maybe-info-gettext info-gettext
9530 maybe-info-gettext:
9531 @if gettext
9532 maybe-info-gettext: info-gettext
9534 info-gettext: \
9535 configure-gettext
9536 @[ -f ./gettext/Makefile ] || exit 0; \
9537 r=`${PWD_COMMAND}`; export r; \
9538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9539 $(SET_LIB_PATH) \
9540 $(HOST_EXPORTS) \
9541 for flag in $(EXTRA_HOST_FLAGS) ; do \
9542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9543 done; \
9544 echo "Doing info in gettext" ; \
9545 (cd gettext && \
9546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9548 "RANLIB=$${RANLIB}" \
9549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9550 info) \
9551 || exit 1
9553 @endif gettext
9555 .PHONY: maybe-dvi-gettext dvi-gettext
9556 maybe-dvi-gettext:
9557 @if gettext
9558 maybe-dvi-gettext: dvi-gettext
9560 dvi-gettext: \
9561 configure-gettext
9562 @[ -f ./gettext/Makefile ] || exit 0; \
9563 r=`${PWD_COMMAND}`; export r; \
9564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9565 $(SET_LIB_PATH) \
9566 $(HOST_EXPORTS) \
9567 for flag in $(EXTRA_HOST_FLAGS) ; do \
9568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9569 done; \
9570 echo "Doing dvi in gettext" ; \
9571 (cd gettext && \
9572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9574 "RANLIB=$${RANLIB}" \
9575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9576 dvi) \
9577 || exit 1
9579 @endif gettext
9581 .PHONY: maybe-TAGS-gettext TAGS-gettext
9582 maybe-TAGS-gettext:
9583 @if gettext
9584 maybe-TAGS-gettext: TAGS-gettext
9586 TAGS-gettext: \
9587 configure-gettext
9588 @[ -f ./gettext/Makefile ] || exit 0; \
9589 r=`${PWD_COMMAND}`; export r; \
9590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9591 $(SET_LIB_PATH) \
9592 $(HOST_EXPORTS) \
9593 for flag in $(EXTRA_HOST_FLAGS) ; do \
9594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9595 done; \
9596 echo "Doing TAGS in gettext" ; \
9597 (cd gettext && \
9598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9600 "RANLIB=$${RANLIB}" \
9601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9602 TAGS) \
9603 || exit 1
9605 @endif gettext
9607 .PHONY: maybe-install-info-gettext install-info-gettext
9608 maybe-install-info-gettext:
9609 @if gettext
9610 maybe-install-info-gettext: install-info-gettext
9612 install-info-gettext: \
9613 configure-gettext \
9614 info-gettext
9615 @[ -f ./gettext/Makefile ] || exit 0; \
9616 r=`${PWD_COMMAND}`; export r; \
9617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9618 $(SET_LIB_PATH) \
9619 $(HOST_EXPORTS) \
9620 for flag in $(EXTRA_HOST_FLAGS) ; do \
9621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9622 done; \
9623 echo "Doing install-info in gettext" ; \
9624 (cd gettext && \
9625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9627 "RANLIB=$${RANLIB}" \
9628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9629 install-info) \
9630 || exit 1
9632 @endif gettext
9634 .PHONY: maybe-installcheck-gettext installcheck-gettext
9635 maybe-installcheck-gettext:
9636 @if gettext
9637 maybe-installcheck-gettext: installcheck-gettext
9639 installcheck-gettext: \
9640 configure-gettext
9641 @[ -f ./gettext/Makefile ] || exit 0; \
9642 r=`${PWD_COMMAND}`; export r; \
9643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9644 $(SET_LIB_PATH) \
9645 $(HOST_EXPORTS) \
9646 for flag in $(EXTRA_HOST_FLAGS) ; do \
9647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9648 done; \
9649 echo "Doing installcheck in gettext" ; \
9650 (cd gettext && \
9651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9653 "RANLIB=$${RANLIB}" \
9654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9655 installcheck) \
9656 || exit 1
9658 @endif gettext
9660 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9661 maybe-mostlyclean-gettext:
9662 @if gettext
9663 maybe-mostlyclean-gettext: mostlyclean-gettext
9665 mostlyclean-gettext:
9666 @[ -f ./gettext/Makefile ] || exit 0; \
9667 r=`${PWD_COMMAND}`; export r; \
9668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9669 $(SET_LIB_PATH) \
9670 $(HOST_EXPORTS) \
9671 for flag in $(EXTRA_HOST_FLAGS) ; do \
9672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9673 done; \
9674 echo "Doing mostlyclean in gettext" ; \
9675 (cd gettext && \
9676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9678 "RANLIB=$${RANLIB}" \
9679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9680 mostlyclean) \
9681 || exit 1
9683 @endif gettext
9685 .PHONY: maybe-clean-gettext clean-gettext
9686 maybe-clean-gettext:
9687 @if gettext
9688 maybe-clean-gettext: clean-gettext
9690 clean-gettext:
9691 @[ -f ./gettext/Makefile ] || exit 0; \
9692 r=`${PWD_COMMAND}`; export r; \
9693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9694 $(SET_LIB_PATH) \
9695 $(HOST_EXPORTS) \
9696 for flag in $(EXTRA_HOST_FLAGS) ; do \
9697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9698 done; \
9699 echo "Doing clean in gettext" ; \
9700 (cd gettext && \
9701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9703 "RANLIB=$${RANLIB}" \
9704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9705 clean) \
9706 || exit 1
9708 @endif gettext
9710 .PHONY: maybe-distclean-gettext distclean-gettext
9711 maybe-distclean-gettext:
9712 @if gettext
9713 maybe-distclean-gettext: distclean-gettext
9715 distclean-gettext:
9716 @[ -f ./gettext/Makefile ] || exit 0; \
9717 r=`${PWD_COMMAND}`; export r; \
9718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9719 $(SET_LIB_PATH) \
9720 $(HOST_EXPORTS) \
9721 for flag in $(EXTRA_HOST_FLAGS) ; do \
9722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9723 done; \
9724 echo "Doing distclean in gettext" ; \
9725 (cd gettext && \
9726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9728 "RANLIB=$${RANLIB}" \
9729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9730 distclean) \
9731 || exit 1
9733 @endif gettext
9735 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9736 maybe-maintainer-clean-gettext:
9737 @if gettext
9738 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9740 maintainer-clean-gettext:
9741 @[ -f ./gettext/Makefile ] || exit 0; \
9742 r=`${PWD_COMMAND}`; export r; \
9743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9744 $(SET_LIB_PATH) \
9745 $(HOST_EXPORTS) \
9746 for flag in $(EXTRA_HOST_FLAGS) ; do \
9747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9748 done; \
9749 echo "Doing maintainer-clean in gettext" ; \
9750 (cd gettext && \
9751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9753 "RANLIB=$${RANLIB}" \
9754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9755 maintainer-clean) \
9756 || exit 1
9758 @endif gettext
9761 .PHONY: configure-gnuserv maybe-configure-gnuserv
9762 maybe-configure-gnuserv:
9763 @if gnuserv
9764 maybe-configure-gnuserv: configure-gnuserv
9765 configure-gnuserv:
9766 @test ! -f gnuserv/Makefile || exit 0; \
9767 [ -d gnuserv ] || mkdir gnuserv; \
9768 r=`${PWD_COMMAND}`; export r; \
9769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9770 $(HOST_EXPORTS) \
9771 echo Configuring in gnuserv; \
9772 cd gnuserv || exit 1; \
9773 case $(srcdir) in \
9774 \.) \
9775 srcdiroption="--srcdir=."; \
9776 libsrcdir=".";; \
9777 /* | [A-Za-z]:[\\/]*) \
9778 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
9779 libsrcdir="$$s/gnuserv";; \
9780 *) \
9781 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
9782 libsrcdir="$$s/gnuserv";; \
9783 esac; \
9784 $(SHELL) $${libsrcdir}/configure \
9785 $(HOST_CONFIGARGS) $${srcdiroption} \
9786 || exit 1
9787 @endif gnuserv
9789 .PHONY: all-gnuserv maybe-all-gnuserv
9790 maybe-all-gnuserv:
9791 @if gnuserv
9792 TARGET-gnuserv=all
9793 maybe-all-gnuserv: all-gnuserv
9794 all-gnuserv: configure-gnuserv
9795 @r=`${PWD_COMMAND}`; export r; \
9796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9797 $(SET_LIB_PATH) \
9798 $(HOST_EXPORTS) \
9799 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) \
9800 $(TARGET-gnuserv))
9801 @endif gnuserv
9803 .PHONY: check-gnuserv maybe-check-gnuserv
9804 maybe-check-gnuserv:
9805 @if gnuserv
9806 maybe-check-gnuserv: check-gnuserv
9808 check-gnuserv:
9809 @r=`${PWD_COMMAND}`; export r; \
9810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9811 $(SET_LIB_PATH) \
9812 $(HOST_EXPORTS) \
9813 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
9815 @endif gnuserv
9817 .PHONY: install-gnuserv maybe-install-gnuserv
9818 maybe-install-gnuserv:
9819 @if gnuserv
9820 maybe-install-gnuserv: install-gnuserv
9822 install-gnuserv: installdirs
9823 @r=`${PWD_COMMAND}`; export r; \
9824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9825 $(SET_LIB_PATH) \
9826 $(HOST_EXPORTS) \
9827 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
9829 @endif gnuserv
9831 # Other targets (info, dvi, etc.)
9833 .PHONY: maybe-info-gnuserv info-gnuserv
9834 maybe-info-gnuserv:
9835 @if gnuserv
9836 maybe-info-gnuserv: info-gnuserv
9838 info-gnuserv: \
9839 configure-gnuserv
9840 @[ -f ./gnuserv/Makefile ] || exit 0; \
9841 r=`${PWD_COMMAND}`; export r; \
9842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9843 $(SET_LIB_PATH) \
9844 $(HOST_EXPORTS) \
9845 for flag in $(EXTRA_HOST_FLAGS) ; do \
9846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9847 done; \
9848 echo "Doing info in gnuserv" ; \
9849 (cd gnuserv && \
9850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9852 "RANLIB=$${RANLIB}" \
9853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9854 info) \
9855 || exit 1
9857 @endif gnuserv
9859 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
9860 maybe-dvi-gnuserv:
9861 @if gnuserv
9862 maybe-dvi-gnuserv: dvi-gnuserv
9864 dvi-gnuserv: \
9865 configure-gnuserv
9866 @[ -f ./gnuserv/Makefile ] || exit 0; \
9867 r=`${PWD_COMMAND}`; export r; \
9868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9869 $(SET_LIB_PATH) \
9870 $(HOST_EXPORTS) \
9871 for flag in $(EXTRA_HOST_FLAGS) ; do \
9872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9873 done; \
9874 echo "Doing dvi in gnuserv" ; \
9875 (cd gnuserv && \
9876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9878 "RANLIB=$${RANLIB}" \
9879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9880 dvi) \
9881 || exit 1
9883 @endif gnuserv
9885 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
9886 maybe-TAGS-gnuserv:
9887 @if gnuserv
9888 maybe-TAGS-gnuserv: TAGS-gnuserv
9890 TAGS-gnuserv: \
9891 configure-gnuserv
9892 @[ -f ./gnuserv/Makefile ] || exit 0; \
9893 r=`${PWD_COMMAND}`; export r; \
9894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9895 $(SET_LIB_PATH) \
9896 $(HOST_EXPORTS) \
9897 for flag in $(EXTRA_HOST_FLAGS) ; do \
9898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9899 done; \
9900 echo "Doing TAGS in gnuserv" ; \
9901 (cd gnuserv && \
9902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9904 "RANLIB=$${RANLIB}" \
9905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9906 TAGS) \
9907 || exit 1
9909 @endif gnuserv
9911 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
9912 maybe-install-info-gnuserv:
9913 @if gnuserv
9914 maybe-install-info-gnuserv: install-info-gnuserv
9916 install-info-gnuserv: \
9917 configure-gnuserv \
9918 info-gnuserv
9919 @[ -f ./gnuserv/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 install-info in gnuserv" ; \
9928 (cd gnuserv && \
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 install-info) \
9934 || exit 1
9936 @endif gnuserv
9938 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
9939 maybe-installcheck-gnuserv:
9940 @if gnuserv
9941 maybe-installcheck-gnuserv: installcheck-gnuserv
9943 installcheck-gnuserv: \
9944 configure-gnuserv
9945 @[ -f ./gnuserv/Makefile ] || exit 0; \
9946 r=`${PWD_COMMAND}`; export r; \
9947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9948 $(SET_LIB_PATH) \
9949 $(HOST_EXPORTS) \
9950 for flag in $(EXTRA_HOST_FLAGS) ; do \
9951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9952 done; \
9953 echo "Doing installcheck in gnuserv" ; \
9954 (cd gnuserv && \
9955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9957 "RANLIB=$${RANLIB}" \
9958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9959 installcheck) \
9960 || exit 1
9962 @endif gnuserv
9964 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9965 maybe-mostlyclean-gnuserv:
9966 @if gnuserv
9967 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9969 mostlyclean-gnuserv:
9970 @[ -f ./gnuserv/Makefile ] || exit 0; \
9971 r=`${PWD_COMMAND}`; export r; \
9972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9973 $(SET_LIB_PATH) \
9974 $(HOST_EXPORTS) \
9975 for flag in $(EXTRA_HOST_FLAGS) ; do \
9976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9977 done; \
9978 echo "Doing mostlyclean in gnuserv" ; \
9979 (cd gnuserv && \
9980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9982 "RANLIB=$${RANLIB}" \
9983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9984 mostlyclean) \
9985 || exit 1
9987 @endif gnuserv
9989 .PHONY: maybe-clean-gnuserv clean-gnuserv
9990 maybe-clean-gnuserv:
9991 @if gnuserv
9992 maybe-clean-gnuserv: clean-gnuserv
9994 clean-gnuserv:
9995 @[ -f ./gnuserv/Makefile ] || exit 0; \
9996 r=`${PWD_COMMAND}`; export r; \
9997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9998 $(SET_LIB_PATH) \
9999 $(HOST_EXPORTS) \
10000 for flag in $(EXTRA_HOST_FLAGS) ; do \
10001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10002 done; \
10003 echo "Doing clean in gnuserv" ; \
10004 (cd gnuserv && \
10005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10007 "RANLIB=$${RANLIB}" \
10008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10009 clean) \
10010 || exit 1
10012 @endif gnuserv
10014 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10015 maybe-distclean-gnuserv:
10016 @if gnuserv
10017 maybe-distclean-gnuserv: distclean-gnuserv
10019 distclean-gnuserv:
10020 @[ -f ./gnuserv/Makefile ] || exit 0; \
10021 r=`${PWD_COMMAND}`; export r; \
10022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10023 $(SET_LIB_PATH) \
10024 $(HOST_EXPORTS) \
10025 for flag in $(EXTRA_HOST_FLAGS) ; do \
10026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10027 done; \
10028 echo "Doing distclean in gnuserv" ; \
10029 (cd gnuserv && \
10030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10032 "RANLIB=$${RANLIB}" \
10033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10034 distclean) \
10035 || exit 1
10037 @endif gnuserv
10039 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10040 maybe-maintainer-clean-gnuserv:
10041 @if gnuserv
10042 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10044 maintainer-clean-gnuserv:
10045 @[ -f ./gnuserv/Makefile ] || exit 0; \
10046 r=`${PWD_COMMAND}`; export r; \
10047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10048 $(SET_LIB_PATH) \
10049 $(HOST_EXPORTS) \
10050 for flag in $(EXTRA_HOST_FLAGS) ; do \
10051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10052 done; \
10053 echo "Doing maintainer-clean in gnuserv" ; \
10054 (cd gnuserv && \
10055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10057 "RANLIB=$${RANLIB}" \
10058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10059 maintainer-clean) \
10060 || exit 1
10062 @endif gnuserv
10065 .PHONY: configure-gprof maybe-configure-gprof
10066 maybe-configure-gprof:
10067 @if gprof
10068 maybe-configure-gprof: configure-gprof
10069 configure-gprof:
10070 @test ! -f gprof/Makefile || exit 0; \
10071 [ -d gprof ] || mkdir gprof; \
10072 r=`${PWD_COMMAND}`; export r; \
10073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10074 $(HOST_EXPORTS) \
10075 echo Configuring in gprof; \
10076 cd gprof || exit 1; \
10077 case $(srcdir) in \
10078 \.) \
10079 srcdiroption="--srcdir=."; \
10080 libsrcdir=".";; \
10081 /* | [A-Za-z]:[\\/]*) \
10082 srcdiroption="--srcdir=$(srcdir)/gprof"; \
10083 libsrcdir="$$s/gprof";; \
10084 *) \
10085 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
10086 libsrcdir="$$s/gprof";; \
10087 esac; \
10088 $(SHELL) $${libsrcdir}/configure \
10089 $(HOST_CONFIGARGS) $${srcdiroption} \
10090 || exit 1
10091 @endif gprof
10093 .PHONY: all-gprof maybe-all-gprof
10094 maybe-all-gprof:
10095 @if gprof
10096 TARGET-gprof=all
10097 maybe-all-gprof: all-gprof
10098 all-gprof: configure-gprof
10099 @r=`${PWD_COMMAND}`; export r; \
10100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10101 $(SET_LIB_PATH) \
10102 $(HOST_EXPORTS) \
10103 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) \
10104 $(TARGET-gprof))
10105 @endif gprof
10107 .PHONY: check-gprof maybe-check-gprof
10108 maybe-check-gprof:
10109 @if gprof
10110 maybe-check-gprof: check-gprof
10112 check-gprof:
10113 @r=`${PWD_COMMAND}`; export r; \
10114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10115 $(SET_LIB_PATH) \
10116 $(HOST_EXPORTS) \
10117 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
10119 @endif gprof
10121 .PHONY: install-gprof maybe-install-gprof
10122 maybe-install-gprof:
10123 @if gprof
10124 maybe-install-gprof: install-gprof
10126 install-gprof: installdirs
10127 @r=`${PWD_COMMAND}`; export r; \
10128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10129 $(SET_LIB_PATH) \
10130 $(HOST_EXPORTS) \
10131 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
10133 @endif gprof
10135 # Other targets (info, dvi, etc.)
10137 .PHONY: maybe-info-gprof info-gprof
10138 maybe-info-gprof:
10139 @if gprof
10140 maybe-info-gprof: info-gprof
10142 info-gprof: \
10143 configure-gprof
10144 @[ -f ./gprof/Makefile ] || exit 0; \
10145 r=`${PWD_COMMAND}`; export r; \
10146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10147 $(SET_LIB_PATH) \
10148 $(HOST_EXPORTS) \
10149 for flag in $(EXTRA_HOST_FLAGS) ; do \
10150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10151 done; \
10152 echo "Doing info in gprof" ; \
10153 (cd gprof && \
10154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10156 "RANLIB=$${RANLIB}" \
10157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10158 info) \
10159 || exit 1
10161 @endif gprof
10163 .PHONY: maybe-dvi-gprof dvi-gprof
10164 maybe-dvi-gprof:
10165 @if gprof
10166 maybe-dvi-gprof: dvi-gprof
10168 dvi-gprof: \
10169 configure-gprof
10170 @[ -f ./gprof/Makefile ] || exit 0; \
10171 r=`${PWD_COMMAND}`; export r; \
10172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10173 $(SET_LIB_PATH) \
10174 $(HOST_EXPORTS) \
10175 for flag in $(EXTRA_HOST_FLAGS) ; do \
10176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10177 done; \
10178 echo "Doing dvi in gprof" ; \
10179 (cd gprof && \
10180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10182 "RANLIB=$${RANLIB}" \
10183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10184 dvi) \
10185 || exit 1
10187 @endif gprof
10189 .PHONY: maybe-TAGS-gprof TAGS-gprof
10190 maybe-TAGS-gprof:
10191 @if gprof
10192 maybe-TAGS-gprof: TAGS-gprof
10194 TAGS-gprof: \
10195 configure-gprof
10196 @[ -f ./gprof/Makefile ] || exit 0; \
10197 r=`${PWD_COMMAND}`; export r; \
10198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10199 $(SET_LIB_PATH) \
10200 $(HOST_EXPORTS) \
10201 for flag in $(EXTRA_HOST_FLAGS) ; do \
10202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10203 done; \
10204 echo "Doing TAGS in gprof" ; \
10205 (cd gprof && \
10206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10208 "RANLIB=$${RANLIB}" \
10209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10210 TAGS) \
10211 || exit 1
10213 @endif gprof
10215 .PHONY: maybe-install-info-gprof install-info-gprof
10216 maybe-install-info-gprof:
10217 @if gprof
10218 maybe-install-info-gprof: install-info-gprof
10220 install-info-gprof: \
10221 configure-gprof \
10222 info-gprof
10223 @[ -f ./gprof/Makefile ] || exit 0; \
10224 r=`${PWD_COMMAND}`; export r; \
10225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10226 $(SET_LIB_PATH) \
10227 $(HOST_EXPORTS) \
10228 for flag in $(EXTRA_HOST_FLAGS) ; do \
10229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10230 done; \
10231 echo "Doing install-info in gprof" ; \
10232 (cd gprof && \
10233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10235 "RANLIB=$${RANLIB}" \
10236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10237 install-info) \
10238 || exit 1
10240 @endif gprof
10242 .PHONY: maybe-installcheck-gprof installcheck-gprof
10243 maybe-installcheck-gprof:
10244 @if gprof
10245 maybe-installcheck-gprof: installcheck-gprof
10247 installcheck-gprof: \
10248 configure-gprof
10249 @[ -f ./gprof/Makefile ] || exit 0; \
10250 r=`${PWD_COMMAND}`; export r; \
10251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10252 $(SET_LIB_PATH) \
10253 $(HOST_EXPORTS) \
10254 for flag in $(EXTRA_HOST_FLAGS) ; do \
10255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10256 done; \
10257 echo "Doing installcheck in gprof" ; \
10258 (cd gprof && \
10259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10261 "RANLIB=$${RANLIB}" \
10262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10263 installcheck) \
10264 || exit 1
10266 @endif gprof
10268 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10269 maybe-mostlyclean-gprof:
10270 @if gprof
10271 maybe-mostlyclean-gprof: mostlyclean-gprof
10273 mostlyclean-gprof:
10274 @[ -f ./gprof/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 mostlyclean in gprof" ; \
10283 (cd gprof && \
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 mostlyclean) \
10289 || exit 1
10291 @endif gprof
10293 .PHONY: maybe-clean-gprof clean-gprof
10294 maybe-clean-gprof:
10295 @if gprof
10296 maybe-clean-gprof: clean-gprof
10298 clean-gprof:
10299 @[ -f ./gprof/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 clean in gprof" ; \
10308 (cd gprof && \
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 clean) \
10314 || exit 1
10316 @endif gprof
10318 .PHONY: maybe-distclean-gprof distclean-gprof
10319 maybe-distclean-gprof:
10320 @if gprof
10321 maybe-distclean-gprof: distclean-gprof
10323 distclean-gprof:
10324 @[ -f ./gprof/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 distclean in gprof" ; \
10333 (cd gprof && \
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 distclean) \
10339 || exit 1
10341 @endif gprof
10343 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10344 maybe-maintainer-clean-gprof:
10345 @if gprof
10346 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10348 maintainer-clean-gprof:
10349 @[ -f ./gprof/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 maintainer-clean in gprof" ; \
10358 (cd gprof && \
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 maintainer-clean) \
10364 || exit 1
10366 @endif gprof
10369 .PHONY: configure-gzip maybe-configure-gzip
10370 maybe-configure-gzip:
10371 @if gzip
10372 maybe-configure-gzip: configure-gzip
10373 configure-gzip:
10374 @test ! -f gzip/Makefile || exit 0; \
10375 [ -d gzip ] || mkdir gzip; \
10376 r=`${PWD_COMMAND}`; export r; \
10377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10378 $(HOST_EXPORTS) \
10379 echo Configuring in gzip; \
10380 cd gzip || exit 1; \
10381 case $(srcdir) in \
10382 \.) \
10383 srcdiroption="--srcdir=."; \
10384 libsrcdir=".";; \
10385 /* | [A-Za-z]:[\\/]*) \
10386 srcdiroption="--srcdir=$(srcdir)/gzip"; \
10387 libsrcdir="$$s/gzip";; \
10388 *) \
10389 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
10390 libsrcdir="$$s/gzip";; \
10391 esac; \
10392 $(SHELL) $${libsrcdir}/configure \
10393 $(HOST_CONFIGARGS) $${srcdiroption} \
10394 || exit 1
10395 @endif gzip
10397 .PHONY: all-gzip maybe-all-gzip
10398 maybe-all-gzip:
10399 @if gzip
10400 TARGET-gzip=all
10401 maybe-all-gzip: all-gzip
10402 all-gzip: configure-gzip
10403 @r=`${PWD_COMMAND}`; export r; \
10404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10405 $(SET_LIB_PATH) \
10406 $(HOST_EXPORTS) \
10407 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) \
10408 $(TARGET-gzip))
10409 @endif gzip
10411 .PHONY: check-gzip maybe-check-gzip
10412 maybe-check-gzip:
10413 @if gzip
10414 maybe-check-gzip: check-gzip
10416 check-gzip:
10417 @r=`${PWD_COMMAND}`; export r; \
10418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10419 $(SET_LIB_PATH) \
10420 $(HOST_EXPORTS) \
10421 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
10423 @endif gzip
10425 .PHONY: install-gzip maybe-install-gzip
10426 maybe-install-gzip:
10427 @if gzip
10428 maybe-install-gzip: install-gzip
10430 install-gzip: installdirs
10431 @r=`${PWD_COMMAND}`; export r; \
10432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10433 $(SET_LIB_PATH) \
10434 $(HOST_EXPORTS) \
10435 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
10437 @endif gzip
10439 # Other targets (info, dvi, etc.)
10441 .PHONY: maybe-info-gzip info-gzip
10442 maybe-info-gzip:
10443 @if gzip
10444 maybe-info-gzip: info-gzip
10446 info-gzip: \
10447 configure-gzip
10448 @[ -f ./gzip/Makefile ] || exit 0; \
10449 r=`${PWD_COMMAND}`; export r; \
10450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10451 $(SET_LIB_PATH) \
10452 $(HOST_EXPORTS) \
10453 for flag in $(EXTRA_HOST_FLAGS) ; do \
10454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10455 done; \
10456 echo "Doing info in gzip" ; \
10457 (cd gzip && \
10458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10460 "RANLIB=$${RANLIB}" \
10461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10462 info) \
10463 || exit 1
10465 @endif gzip
10467 .PHONY: maybe-dvi-gzip dvi-gzip
10468 maybe-dvi-gzip:
10469 @if gzip
10470 maybe-dvi-gzip: dvi-gzip
10472 dvi-gzip: \
10473 configure-gzip
10474 @[ -f ./gzip/Makefile ] || exit 0; \
10475 r=`${PWD_COMMAND}`; export r; \
10476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10477 $(SET_LIB_PATH) \
10478 $(HOST_EXPORTS) \
10479 for flag in $(EXTRA_HOST_FLAGS) ; do \
10480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10481 done; \
10482 echo "Doing dvi in gzip" ; \
10483 (cd gzip && \
10484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10486 "RANLIB=$${RANLIB}" \
10487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10488 dvi) \
10489 || exit 1
10491 @endif gzip
10493 .PHONY: maybe-TAGS-gzip TAGS-gzip
10494 maybe-TAGS-gzip:
10495 @if gzip
10496 maybe-TAGS-gzip: TAGS-gzip
10498 TAGS-gzip: \
10499 configure-gzip
10500 @[ -f ./gzip/Makefile ] || exit 0; \
10501 r=`${PWD_COMMAND}`; export r; \
10502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10503 $(SET_LIB_PATH) \
10504 $(HOST_EXPORTS) \
10505 for flag in $(EXTRA_HOST_FLAGS) ; do \
10506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10507 done; \
10508 echo "Doing TAGS in gzip" ; \
10509 (cd gzip && \
10510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10512 "RANLIB=$${RANLIB}" \
10513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10514 TAGS) \
10515 || exit 1
10517 @endif gzip
10519 .PHONY: maybe-install-info-gzip install-info-gzip
10520 maybe-install-info-gzip:
10521 @if gzip
10522 maybe-install-info-gzip: install-info-gzip
10524 install-info-gzip: \
10525 configure-gzip \
10526 info-gzip
10527 @[ -f ./gzip/Makefile ] || exit 0; \
10528 r=`${PWD_COMMAND}`; export r; \
10529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10530 $(SET_LIB_PATH) \
10531 $(HOST_EXPORTS) \
10532 for flag in $(EXTRA_HOST_FLAGS) ; do \
10533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10534 done; \
10535 echo "Doing install-info in gzip" ; \
10536 (cd gzip && \
10537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10539 "RANLIB=$${RANLIB}" \
10540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10541 install-info) \
10542 || exit 1
10544 @endif gzip
10546 .PHONY: maybe-installcheck-gzip installcheck-gzip
10547 maybe-installcheck-gzip:
10548 @if gzip
10549 maybe-installcheck-gzip: installcheck-gzip
10551 installcheck-gzip: \
10552 configure-gzip
10553 @[ -f ./gzip/Makefile ] || exit 0; \
10554 r=`${PWD_COMMAND}`; export r; \
10555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10556 $(SET_LIB_PATH) \
10557 $(HOST_EXPORTS) \
10558 for flag in $(EXTRA_HOST_FLAGS) ; do \
10559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10560 done; \
10561 echo "Doing installcheck in gzip" ; \
10562 (cd gzip && \
10563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10565 "RANLIB=$${RANLIB}" \
10566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10567 installcheck) \
10568 || exit 1
10570 @endif gzip
10572 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10573 maybe-mostlyclean-gzip:
10574 @if gzip
10575 maybe-mostlyclean-gzip: mostlyclean-gzip
10577 mostlyclean-gzip:
10578 @[ -f ./gzip/Makefile ] || exit 0; \
10579 r=`${PWD_COMMAND}`; export r; \
10580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10581 $(SET_LIB_PATH) \
10582 $(HOST_EXPORTS) \
10583 for flag in $(EXTRA_HOST_FLAGS) ; do \
10584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10585 done; \
10586 echo "Doing mostlyclean in gzip" ; \
10587 (cd gzip && \
10588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10590 "RANLIB=$${RANLIB}" \
10591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10592 mostlyclean) \
10593 || exit 1
10595 @endif gzip
10597 .PHONY: maybe-clean-gzip clean-gzip
10598 maybe-clean-gzip:
10599 @if gzip
10600 maybe-clean-gzip: clean-gzip
10602 clean-gzip:
10603 @[ -f ./gzip/Makefile ] || exit 0; \
10604 r=`${PWD_COMMAND}`; export r; \
10605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10606 $(SET_LIB_PATH) \
10607 $(HOST_EXPORTS) \
10608 for flag in $(EXTRA_HOST_FLAGS) ; do \
10609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10610 done; \
10611 echo "Doing clean in gzip" ; \
10612 (cd gzip && \
10613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10615 "RANLIB=$${RANLIB}" \
10616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10617 clean) \
10618 || exit 1
10620 @endif gzip
10622 .PHONY: maybe-distclean-gzip distclean-gzip
10623 maybe-distclean-gzip:
10624 @if gzip
10625 maybe-distclean-gzip: distclean-gzip
10627 distclean-gzip:
10628 @[ -f ./gzip/Makefile ] || exit 0; \
10629 r=`${PWD_COMMAND}`; export r; \
10630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10631 $(SET_LIB_PATH) \
10632 $(HOST_EXPORTS) \
10633 for flag in $(EXTRA_HOST_FLAGS) ; do \
10634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10635 done; \
10636 echo "Doing distclean in gzip" ; \
10637 (cd gzip && \
10638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10640 "RANLIB=$${RANLIB}" \
10641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10642 distclean) \
10643 || exit 1
10645 @endif gzip
10647 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10648 maybe-maintainer-clean-gzip:
10649 @if gzip
10650 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10652 maintainer-clean-gzip:
10653 @[ -f ./gzip/Makefile ] || exit 0; \
10654 r=`${PWD_COMMAND}`; export r; \
10655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10656 $(SET_LIB_PATH) \
10657 $(HOST_EXPORTS) \
10658 for flag in $(EXTRA_HOST_FLAGS) ; do \
10659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10660 done; \
10661 echo "Doing maintainer-clean in gzip" ; \
10662 (cd gzip && \
10663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10665 "RANLIB=$${RANLIB}" \
10666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10667 maintainer-clean) \
10668 || exit 1
10670 @endif gzip
10673 .PHONY: configure-hello maybe-configure-hello
10674 maybe-configure-hello:
10675 @if hello
10676 maybe-configure-hello: configure-hello
10677 configure-hello:
10678 @test ! -f hello/Makefile || exit 0; \
10679 [ -d hello ] || mkdir hello; \
10680 r=`${PWD_COMMAND}`; export r; \
10681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10682 $(HOST_EXPORTS) \
10683 echo Configuring in hello; \
10684 cd hello || exit 1; \
10685 case $(srcdir) in \
10686 \.) \
10687 srcdiroption="--srcdir=."; \
10688 libsrcdir=".";; \
10689 /* | [A-Za-z]:[\\/]*) \
10690 srcdiroption="--srcdir=$(srcdir)/hello"; \
10691 libsrcdir="$$s/hello";; \
10692 *) \
10693 srcdiroption="--srcdir=../$(srcdir)/hello"; \
10694 libsrcdir="$$s/hello";; \
10695 esac; \
10696 $(SHELL) $${libsrcdir}/configure \
10697 $(HOST_CONFIGARGS) $${srcdiroption} \
10698 || exit 1
10699 @endif hello
10701 .PHONY: all-hello maybe-all-hello
10702 maybe-all-hello:
10703 @if hello
10704 TARGET-hello=all
10705 maybe-all-hello: all-hello
10706 all-hello: configure-hello
10707 @r=`${PWD_COMMAND}`; export r; \
10708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10709 $(SET_LIB_PATH) \
10710 $(HOST_EXPORTS) \
10711 (cd hello && $(MAKE) $(FLAGS_TO_PASS) \
10712 $(TARGET-hello))
10713 @endif hello
10715 .PHONY: check-hello maybe-check-hello
10716 maybe-check-hello:
10717 @if hello
10718 maybe-check-hello: check-hello
10720 check-hello:
10721 @r=`${PWD_COMMAND}`; export r; \
10722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10723 $(SET_LIB_PATH) \
10724 $(HOST_EXPORTS) \
10725 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
10727 @endif hello
10729 .PHONY: install-hello maybe-install-hello
10730 maybe-install-hello:
10731 @if hello
10732 maybe-install-hello: install-hello
10734 install-hello: installdirs
10735 @r=`${PWD_COMMAND}`; export r; \
10736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10737 $(SET_LIB_PATH) \
10738 $(HOST_EXPORTS) \
10739 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
10741 @endif hello
10743 # Other targets (info, dvi, etc.)
10745 .PHONY: maybe-info-hello info-hello
10746 maybe-info-hello:
10747 @if hello
10748 maybe-info-hello: info-hello
10750 info-hello: \
10751 configure-hello
10752 @[ -f ./hello/Makefile ] || exit 0; \
10753 r=`${PWD_COMMAND}`; export r; \
10754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10755 $(SET_LIB_PATH) \
10756 $(HOST_EXPORTS) \
10757 for flag in $(EXTRA_HOST_FLAGS) ; do \
10758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10759 done; \
10760 echo "Doing info in hello" ; \
10761 (cd hello && \
10762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10764 "RANLIB=$${RANLIB}" \
10765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10766 info) \
10767 || exit 1
10769 @endif hello
10771 .PHONY: maybe-dvi-hello dvi-hello
10772 maybe-dvi-hello:
10773 @if hello
10774 maybe-dvi-hello: dvi-hello
10776 dvi-hello: \
10777 configure-hello
10778 @[ -f ./hello/Makefile ] || exit 0; \
10779 r=`${PWD_COMMAND}`; export r; \
10780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10781 $(SET_LIB_PATH) \
10782 $(HOST_EXPORTS) \
10783 for flag in $(EXTRA_HOST_FLAGS) ; do \
10784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10785 done; \
10786 echo "Doing dvi in hello" ; \
10787 (cd hello && \
10788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10790 "RANLIB=$${RANLIB}" \
10791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10792 dvi) \
10793 || exit 1
10795 @endif hello
10797 .PHONY: maybe-TAGS-hello TAGS-hello
10798 maybe-TAGS-hello:
10799 @if hello
10800 maybe-TAGS-hello: TAGS-hello
10802 TAGS-hello: \
10803 configure-hello
10804 @[ -f ./hello/Makefile ] || exit 0; \
10805 r=`${PWD_COMMAND}`; export r; \
10806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10807 $(SET_LIB_PATH) \
10808 $(HOST_EXPORTS) \
10809 for flag in $(EXTRA_HOST_FLAGS) ; do \
10810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10811 done; \
10812 echo "Doing TAGS in hello" ; \
10813 (cd hello && \
10814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10816 "RANLIB=$${RANLIB}" \
10817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10818 TAGS) \
10819 || exit 1
10821 @endif hello
10823 .PHONY: maybe-install-info-hello install-info-hello
10824 maybe-install-info-hello:
10825 @if hello
10826 maybe-install-info-hello: install-info-hello
10828 install-info-hello: \
10829 configure-hello \
10830 info-hello
10831 @[ -f ./hello/Makefile ] || exit 0; \
10832 r=`${PWD_COMMAND}`; export r; \
10833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10834 $(SET_LIB_PATH) \
10835 $(HOST_EXPORTS) \
10836 for flag in $(EXTRA_HOST_FLAGS) ; do \
10837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10838 done; \
10839 echo "Doing install-info in hello" ; \
10840 (cd hello && \
10841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10843 "RANLIB=$${RANLIB}" \
10844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10845 install-info) \
10846 || exit 1
10848 @endif hello
10850 .PHONY: maybe-installcheck-hello installcheck-hello
10851 maybe-installcheck-hello:
10852 @if hello
10853 maybe-installcheck-hello: installcheck-hello
10855 installcheck-hello: \
10856 configure-hello
10857 @[ -f ./hello/Makefile ] || exit 0; \
10858 r=`${PWD_COMMAND}`; export r; \
10859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10860 $(SET_LIB_PATH) \
10861 $(HOST_EXPORTS) \
10862 for flag in $(EXTRA_HOST_FLAGS) ; do \
10863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10864 done; \
10865 echo "Doing installcheck in hello" ; \
10866 (cd hello && \
10867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10869 "RANLIB=$${RANLIB}" \
10870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10871 installcheck) \
10872 || exit 1
10874 @endif hello
10876 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10877 maybe-mostlyclean-hello:
10878 @if hello
10879 maybe-mostlyclean-hello: mostlyclean-hello
10881 mostlyclean-hello:
10882 @[ -f ./hello/Makefile ] || exit 0; \
10883 r=`${PWD_COMMAND}`; export r; \
10884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10885 $(SET_LIB_PATH) \
10886 $(HOST_EXPORTS) \
10887 for flag in $(EXTRA_HOST_FLAGS) ; do \
10888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10889 done; \
10890 echo "Doing mostlyclean in hello" ; \
10891 (cd hello && \
10892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10894 "RANLIB=$${RANLIB}" \
10895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10896 mostlyclean) \
10897 || exit 1
10899 @endif hello
10901 .PHONY: maybe-clean-hello clean-hello
10902 maybe-clean-hello:
10903 @if hello
10904 maybe-clean-hello: clean-hello
10906 clean-hello:
10907 @[ -f ./hello/Makefile ] || exit 0; \
10908 r=`${PWD_COMMAND}`; export r; \
10909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10910 $(SET_LIB_PATH) \
10911 $(HOST_EXPORTS) \
10912 for flag in $(EXTRA_HOST_FLAGS) ; do \
10913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10914 done; \
10915 echo "Doing clean in hello" ; \
10916 (cd hello && \
10917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10919 "RANLIB=$${RANLIB}" \
10920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10921 clean) \
10922 || exit 1
10924 @endif hello
10926 .PHONY: maybe-distclean-hello distclean-hello
10927 maybe-distclean-hello:
10928 @if hello
10929 maybe-distclean-hello: distclean-hello
10931 distclean-hello:
10932 @[ -f ./hello/Makefile ] || exit 0; \
10933 r=`${PWD_COMMAND}`; export r; \
10934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10935 $(SET_LIB_PATH) \
10936 $(HOST_EXPORTS) \
10937 for flag in $(EXTRA_HOST_FLAGS) ; do \
10938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10939 done; \
10940 echo "Doing distclean in hello" ; \
10941 (cd hello && \
10942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10944 "RANLIB=$${RANLIB}" \
10945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10946 distclean) \
10947 || exit 1
10949 @endif hello
10951 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10952 maybe-maintainer-clean-hello:
10953 @if hello
10954 maybe-maintainer-clean-hello: maintainer-clean-hello
10956 maintainer-clean-hello:
10957 @[ -f ./hello/Makefile ] || exit 0; \
10958 r=`${PWD_COMMAND}`; export r; \
10959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10960 $(SET_LIB_PATH) \
10961 $(HOST_EXPORTS) \
10962 for flag in $(EXTRA_HOST_FLAGS) ; do \
10963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10964 done; \
10965 echo "Doing maintainer-clean in hello" ; \
10966 (cd hello && \
10967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10969 "RANLIB=$${RANLIB}" \
10970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10971 maintainer-clean) \
10972 || exit 1
10974 @endif hello
10977 .PHONY: configure-indent maybe-configure-indent
10978 maybe-configure-indent:
10979 @if indent
10980 maybe-configure-indent: configure-indent
10981 configure-indent:
10982 @test ! -f indent/Makefile || exit 0; \
10983 [ -d indent ] || mkdir indent; \
10984 r=`${PWD_COMMAND}`; export r; \
10985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10986 $(HOST_EXPORTS) \
10987 echo Configuring in indent; \
10988 cd indent || exit 1; \
10989 case $(srcdir) in \
10990 \.) \
10991 srcdiroption="--srcdir=."; \
10992 libsrcdir=".";; \
10993 /* | [A-Za-z]:[\\/]*) \
10994 srcdiroption="--srcdir=$(srcdir)/indent"; \
10995 libsrcdir="$$s/indent";; \
10996 *) \
10997 srcdiroption="--srcdir=../$(srcdir)/indent"; \
10998 libsrcdir="$$s/indent";; \
10999 esac; \
11000 $(SHELL) $${libsrcdir}/configure \
11001 $(HOST_CONFIGARGS) $${srcdiroption} \
11002 || exit 1
11003 @endif indent
11005 .PHONY: all-indent maybe-all-indent
11006 maybe-all-indent:
11007 @if indent
11008 TARGET-indent=all
11009 maybe-all-indent: all-indent
11010 all-indent: configure-indent
11011 @r=`${PWD_COMMAND}`; export r; \
11012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11013 $(SET_LIB_PATH) \
11014 $(HOST_EXPORTS) \
11015 (cd indent && $(MAKE) $(FLAGS_TO_PASS) \
11016 $(TARGET-indent))
11017 @endif indent
11019 .PHONY: check-indent maybe-check-indent
11020 maybe-check-indent:
11021 @if indent
11022 maybe-check-indent: check-indent
11024 check-indent:
11025 @r=`${PWD_COMMAND}`; export r; \
11026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11027 $(SET_LIB_PATH) \
11028 $(HOST_EXPORTS) \
11029 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
11031 @endif indent
11033 .PHONY: install-indent maybe-install-indent
11034 maybe-install-indent:
11035 @if indent
11036 maybe-install-indent: install-indent
11038 install-indent: installdirs
11039 @r=`${PWD_COMMAND}`; export r; \
11040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11041 $(SET_LIB_PATH) \
11042 $(HOST_EXPORTS) \
11043 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
11045 @endif indent
11047 # Other targets (info, dvi, etc.)
11049 .PHONY: maybe-info-indent info-indent
11050 maybe-info-indent:
11051 @if indent
11052 maybe-info-indent: info-indent
11054 info-indent: \
11055 configure-indent
11056 @[ -f ./indent/Makefile ] || exit 0; \
11057 r=`${PWD_COMMAND}`; export r; \
11058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11059 $(SET_LIB_PATH) \
11060 $(HOST_EXPORTS) \
11061 for flag in $(EXTRA_HOST_FLAGS) ; do \
11062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11063 done; \
11064 echo "Doing info in indent" ; \
11065 (cd indent && \
11066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11068 "RANLIB=$${RANLIB}" \
11069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11070 info) \
11071 || exit 1
11073 @endif indent
11075 .PHONY: maybe-dvi-indent dvi-indent
11076 maybe-dvi-indent:
11077 @if indent
11078 maybe-dvi-indent: dvi-indent
11080 dvi-indent: \
11081 configure-indent
11082 @[ -f ./indent/Makefile ] || exit 0; \
11083 r=`${PWD_COMMAND}`; export r; \
11084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11085 $(SET_LIB_PATH) \
11086 $(HOST_EXPORTS) \
11087 for flag in $(EXTRA_HOST_FLAGS) ; do \
11088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11089 done; \
11090 echo "Doing dvi in indent" ; \
11091 (cd indent && \
11092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11094 "RANLIB=$${RANLIB}" \
11095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11096 dvi) \
11097 || exit 1
11099 @endif indent
11101 .PHONY: maybe-TAGS-indent TAGS-indent
11102 maybe-TAGS-indent:
11103 @if indent
11104 maybe-TAGS-indent: TAGS-indent
11106 TAGS-indent: \
11107 configure-indent
11108 @[ -f ./indent/Makefile ] || exit 0; \
11109 r=`${PWD_COMMAND}`; export r; \
11110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11111 $(SET_LIB_PATH) \
11112 $(HOST_EXPORTS) \
11113 for flag in $(EXTRA_HOST_FLAGS) ; do \
11114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11115 done; \
11116 echo "Doing TAGS in indent" ; \
11117 (cd indent && \
11118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11120 "RANLIB=$${RANLIB}" \
11121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11122 TAGS) \
11123 || exit 1
11125 @endif indent
11127 .PHONY: maybe-install-info-indent install-info-indent
11128 maybe-install-info-indent:
11129 @if indent
11130 maybe-install-info-indent: install-info-indent
11132 install-info-indent: \
11133 configure-indent \
11134 info-indent
11135 @[ -f ./indent/Makefile ] || exit 0; \
11136 r=`${PWD_COMMAND}`; export r; \
11137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11138 $(SET_LIB_PATH) \
11139 $(HOST_EXPORTS) \
11140 for flag in $(EXTRA_HOST_FLAGS) ; do \
11141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11142 done; \
11143 echo "Doing install-info in indent" ; \
11144 (cd indent && \
11145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11147 "RANLIB=$${RANLIB}" \
11148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11149 install-info) \
11150 || exit 1
11152 @endif indent
11154 .PHONY: maybe-installcheck-indent installcheck-indent
11155 maybe-installcheck-indent:
11156 @if indent
11157 maybe-installcheck-indent: installcheck-indent
11159 installcheck-indent: \
11160 configure-indent
11161 @[ -f ./indent/Makefile ] || exit 0; \
11162 r=`${PWD_COMMAND}`; export r; \
11163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11164 $(SET_LIB_PATH) \
11165 $(HOST_EXPORTS) \
11166 for flag in $(EXTRA_HOST_FLAGS) ; do \
11167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11168 done; \
11169 echo "Doing installcheck in indent" ; \
11170 (cd indent && \
11171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11173 "RANLIB=$${RANLIB}" \
11174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11175 installcheck) \
11176 || exit 1
11178 @endif indent
11180 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
11181 maybe-mostlyclean-indent:
11182 @if indent
11183 maybe-mostlyclean-indent: mostlyclean-indent
11185 mostlyclean-indent:
11186 @[ -f ./indent/Makefile ] || exit 0; \
11187 r=`${PWD_COMMAND}`; export r; \
11188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11189 $(SET_LIB_PATH) \
11190 $(HOST_EXPORTS) \
11191 for flag in $(EXTRA_HOST_FLAGS) ; do \
11192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11193 done; \
11194 echo "Doing mostlyclean in indent" ; \
11195 (cd indent && \
11196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11198 "RANLIB=$${RANLIB}" \
11199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11200 mostlyclean) \
11201 || exit 1
11203 @endif indent
11205 .PHONY: maybe-clean-indent clean-indent
11206 maybe-clean-indent:
11207 @if indent
11208 maybe-clean-indent: clean-indent
11210 clean-indent:
11211 @[ -f ./indent/Makefile ] || exit 0; \
11212 r=`${PWD_COMMAND}`; export r; \
11213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11214 $(SET_LIB_PATH) \
11215 $(HOST_EXPORTS) \
11216 for flag in $(EXTRA_HOST_FLAGS) ; do \
11217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11218 done; \
11219 echo "Doing clean in indent" ; \
11220 (cd indent && \
11221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11223 "RANLIB=$${RANLIB}" \
11224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11225 clean) \
11226 || exit 1
11228 @endif indent
11230 .PHONY: maybe-distclean-indent distclean-indent
11231 maybe-distclean-indent:
11232 @if indent
11233 maybe-distclean-indent: distclean-indent
11235 distclean-indent:
11236 @[ -f ./indent/Makefile ] || exit 0; \
11237 r=`${PWD_COMMAND}`; export r; \
11238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11239 $(SET_LIB_PATH) \
11240 $(HOST_EXPORTS) \
11241 for flag in $(EXTRA_HOST_FLAGS) ; do \
11242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11243 done; \
11244 echo "Doing distclean in indent" ; \
11245 (cd indent && \
11246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11248 "RANLIB=$${RANLIB}" \
11249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11250 distclean) \
11251 || exit 1
11253 @endif indent
11255 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
11256 maybe-maintainer-clean-indent:
11257 @if indent
11258 maybe-maintainer-clean-indent: maintainer-clean-indent
11260 maintainer-clean-indent:
11261 @[ -f ./indent/Makefile ] || exit 0; \
11262 r=`${PWD_COMMAND}`; export r; \
11263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11264 $(SET_LIB_PATH) \
11265 $(HOST_EXPORTS) \
11266 for flag in $(EXTRA_HOST_FLAGS) ; do \
11267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11268 done; \
11269 echo "Doing maintainer-clean in indent" ; \
11270 (cd indent && \
11271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11273 "RANLIB=$${RANLIB}" \
11274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11275 maintainer-clean) \
11276 || exit 1
11278 @endif indent
11281 .PHONY: configure-intl maybe-configure-intl
11282 maybe-configure-intl:
11283 @if intl
11284 maybe-configure-intl: configure-intl
11285 configure-intl:
11286 @test -f stage_last && exit 0; \
11287 test ! -f intl/Makefile || exit 0; \
11288 [ -d intl ] || mkdir intl; \
11289 r=`${PWD_COMMAND}`; export r; \
11290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11291 $(HOST_EXPORTS) \
11292 echo Configuring in intl; \
11293 cd intl || exit 1; \
11294 case $(srcdir) in \
11295 \.) \
11296 srcdiroption="--srcdir=."; \
11297 libsrcdir=".";; \
11298 /* | [A-Za-z]:[\\/]*) \
11299 srcdiroption="--srcdir=$(srcdir)/intl"; \
11300 libsrcdir="$$s/intl";; \
11301 *) \
11302 srcdiroption="--srcdir=../$(srcdir)/intl"; \
11303 libsrcdir="$$s/intl";; \
11304 esac; \
11305 $(SHELL) $${libsrcdir}/configure \
11306 $(HOST_CONFIGARGS) $${srcdiroption} \
11307 || exit 1
11308 @endif intl
11310 .PHONY: all-intl maybe-all-intl
11311 maybe-all-intl:
11312 @if intl
11313 TARGET-intl=all
11314 maybe-all-intl: all-intl
11315 all-intl: configure-intl
11316 @test -f stage_last && exit 0; \
11317 r=`${PWD_COMMAND}`; export r; \
11318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11319 $(SET_LIB_PATH) \
11320 $(HOST_EXPORTS) \
11321 (cd intl && $(MAKE) $(FLAGS_TO_PASS) \
11322 $(TARGET-intl))
11323 @endif intl
11325 .PHONY: check-intl maybe-check-intl
11326 maybe-check-intl:
11327 @if intl
11328 maybe-check-intl: check-intl
11330 check-intl:
11331 @r=`${PWD_COMMAND}`; export r; \
11332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11333 $(SET_LIB_PATH) \
11334 $(HOST_EXPORTS) \
11335 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
11337 @endif intl
11339 .PHONY: install-intl maybe-install-intl
11340 maybe-install-intl:
11341 @if intl
11342 maybe-install-intl: install-intl
11344 install-intl: installdirs
11345 @r=`${PWD_COMMAND}`; export r; \
11346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11347 $(SET_LIB_PATH) \
11348 $(HOST_EXPORTS) \
11349 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
11351 @endif intl
11353 # Other targets (info, dvi, etc.)
11355 .PHONY: maybe-info-intl info-intl
11356 maybe-info-intl:
11357 @if intl
11358 maybe-info-intl: info-intl
11360 info-intl: \
11361 configure-intl
11362 @[ -f ./intl/Makefile ] || exit 0; \
11363 r=`${PWD_COMMAND}`; export r; \
11364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11365 $(SET_LIB_PATH) \
11366 $(HOST_EXPORTS) \
11367 for flag in $(EXTRA_HOST_FLAGS) ; do \
11368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11369 done; \
11370 echo "Doing info in intl" ; \
11371 (cd intl && \
11372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11374 "RANLIB=$${RANLIB}" \
11375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11376 info) \
11377 || exit 1
11379 @endif intl
11381 .PHONY: maybe-dvi-intl dvi-intl
11382 maybe-dvi-intl:
11383 @if intl
11384 maybe-dvi-intl: dvi-intl
11386 dvi-intl: \
11387 configure-intl
11388 @[ -f ./intl/Makefile ] || exit 0; \
11389 r=`${PWD_COMMAND}`; export r; \
11390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11391 $(SET_LIB_PATH) \
11392 $(HOST_EXPORTS) \
11393 for flag in $(EXTRA_HOST_FLAGS) ; do \
11394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11395 done; \
11396 echo "Doing dvi in intl" ; \
11397 (cd intl && \
11398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11400 "RANLIB=$${RANLIB}" \
11401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11402 dvi) \
11403 || exit 1
11405 @endif intl
11407 .PHONY: maybe-TAGS-intl TAGS-intl
11408 maybe-TAGS-intl:
11409 @if intl
11410 maybe-TAGS-intl: TAGS-intl
11412 TAGS-intl: \
11413 configure-intl
11414 @[ -f ./intl/Makefile ] || exit 0; \
11415 r=`${PWD_COMMAND}`; export r; \
11416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11417 $(SET_LIB_PATH) \
11418 $(HOST_EXPORTS) \
11419 for flag in $(EXTRA_HOST_FLAGS) ; do \
11420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11421 done; \
11422 echo "Doing TAGS in intl" ; \
11423 (cd intl && \
11424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11426 "RANLIB=$${RANLIB}" \
11427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11428 TAGS) \
11429 || exit 1
11431 @endif intl
11433 .PHONY: maybe-install-info-intl install-info-intl
11434 maybe-install-info-intl:
11435 @if intl
11436 maybe-install-info-intl: install-info-intl
11438 install-info-intl: \
11439 configure-intl \
11440 info-intl
11441 @[ -f ./intl/Makefile ] || exit 0; \
11442 r=`${PWD_COMMAND}`; export r; \
11443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11444 $(SET_LIB_PATH) \
11445 $(HOST_EXPORTS) \
11446 for flag in $(EXTRA_HOST_FLAGS) ; do \
11447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11448 done; \
11449 echo "Doing install-info in intl" ; \
11450 (cd intl && \
11451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11453 "RANLIB=$${RANLIB}" \
11454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11455 install-info) \
11456 || exit 1
11458 @endif intl
11460 .PHONY: maybe-installcheck-intl installcheck-intl
11461 maybe-installcheck-intl:
11462 @if intl
11463 maybe-installcheck-intl: installcheck-intl
11465 installcheck-intl: \
11466 configure-intl
11467 @[ -f ./intl/Makefile ] || exit 0; \
11468 r=`${PWD_COMMAND}`; export r; \
11469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11470 $(SET_LIB_PATH) \
11471 $(HOST_EXPORTS) \
11472 for flag in $(EXTRA_HOST_FLAGS) ; do \
11473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11474 done; \
11475 echo "Doing installcheck in intl" ; \
11476 (cd intl && \
11477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11479 "RANLIB=$${RANLIB}" \
11480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11481 installcheck) \
11482 || exit 1
11484 @endif intl
11486 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11487 maybe-mostlyclean-intl:
11488 @if intl
11489 maybe-mostlyclean-intl: mostlyclean-intl
11491 mostlyclean-intl:
11492 @[ -f ./intl/Makefile ] || exit 0; \
11493 r=`${PWD_COMMAND}`; export r; \
11494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11495 $(SET_LIB_PATH) \
11496 $(HOST_EXPORTS) \
11497 for flag in $(EXTRA_HOST_FLAGS) ; do \
11498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11499 done; \
11500 echo "Doing mostlyclean in intl" ; \
11501 (cd intl && \
11502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11504 "RANLIB=$${RANLIB}" \
11505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11506 mostlyclean) \
11507 || exit 1
11509 @endif intl
11511 .PHONY: maybe-clean-intl clean-intl
11512 maybe-clean-intl:
11513 @if intl
11514 maybe-clean-intl: clean-intl
11516 clean-intl:
11517 @[ -f ./intl/Makefile ] || exit 0; \
11518 r=`${PWD_COMMAND}`; export r; \
11519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11520 $(SET_LIB_PATH) \
11521 $(HOST_EXPORTS) \
11522 for flag in $(EXTRA_HOST_FLAGS) ; do \
11523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11524 done; \
11525 echo "Doing clean in intl" ; \
11526 (cd intl && \
11527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11529 "RANLIB=$${RANLIB}" \
11530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11531 clean) \
11532 || exit 1
11534 @endif intl
11536 .PHONY: maybe-distclean-intl distclean-intl
11537 maybe-distclean-intl:
11538 @if intl
11539 maybe-distclean-intl: distclean-intl
11541 distclean-intl:
11542 @[ -f ./intl/Makefile ] || exit 0; \
11543 r=`${PWD_COMMAND}`; export r; \
11544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11545 $(SET_LIB_PATH) \
11546 $(HOST_EXPORTS) \
11547 for flag in $(EXTRA_HOST_FLAGS) ; do \
11548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11549 done; \
11550 echo "Doing distclean in intl" ; \
11551 (cd intl && \
11552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11554 "RANLIB=$${RANLIB}" \
11555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11556 distclean) \
11557 || exit 1
11559 @endif intl
11561 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11562 maybe-maintainer-clean-intl:
11563 @if intl
11564 maybe-maintainer-clean-intl: maintainer-clean-intl
11566 maintainer-clean-intl:
11567 @[ -f ./intl/Makefile ] || exit 0; \
11568 r=`${PWD_COMMAND}`; export r; \
11569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11570 $(SET_LIB_PATH) \
11571 $(HOST_EXPORTS) \
11572 for flag in $(EXTRA_HOST_FLAGS) ; do \
11573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11574 done; \
11575 echo "Doing maintainer-clean in intl" ; \
11576 (cd intl && \
11577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11579 "RANLIB=$${RANLIB}" \
11580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11581 maintainer-clean) \
11582 || exit 1
11584 @endif intl
11587 .PHONY: configure-tcl maybe-configure-tcl
11588 maybe-configure-tcl:
11589 @if tcl
11590 maybe-configure-tcl: configure-tcl
11591 configure-tcl:
11592 @test ! -f tcl/Makefile || exit 0; \
11593 [ -d tcl ] || mkdir tcl; \
11594 r=`${PWD_COMMAND}`; export r; \
11595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11596 $(HOST_EXPORTS) \
11597 echo Configuring in tcl; \
11598 cd tcl || exit 1; \
11599 case $(srcdir) in \
11600 \.) \
11601 srcdiroption="--srcdir=."; \
11602 libsrcdir=".";; \
11603 /* | [A-Za-z]:[\\/]*) \
11604 srcdiroption="--srcdir=$(srcdir)/tcl"; \
11605 libsrcdir="$$s/tcl";; \
11606 *) \
11607 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
11608 libsrcdir="$$s/tcl";; \
11609 esac; \
11610 $(SHELL) $${libsrcdir}/configure \
11611 $(HOST_CONFIGARGS) $${srcdiroption} \
11612 || exit 1
11613 @endif tcl
11615 .PHONY: all-tcl maybe-all-tcl
11616 maybe-all-tcl:
11617 @if tcl
11618 TARGET-tcl=all
11619 maybe-all-tcl: all-tcl
11620 all-tcl: configure-tcl
11621 @r=`${PWD_COMMAND}`; export r; \
11622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11623 $(SET_LIB_PATH) \
11624 $(HOST_EXPORTS) \
11625 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) \
11626 $(TARGET-tcl))
11627 @endif tcl
11629 .PHONY: check-tcl maybe-check-tcl
11630 maybe-check-tcl:
11631 @if tcl
11632 maybe-check-tcl: check-tcl
11634 check-tcl:
11635 @r=`${PWD_COMMAND}`; export r; \
11636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11637 $(SET_LIB_PATH) \
11638 $(HOST_EXPORTS) \
11639 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
11641 @endif tcl
11643 .PHONY: install-tcl maybe-install-tcl
11644 maybe-install-tcl:
11645 @if tcl
11646 maybe-install-tcl: install-tcl
11648 install-tcl: installdirs
11649 @r=`${PWD_COMMAND}`; export r; \
11650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11651 $(SET_LIB_PATH) \
11652 $(HOST_EXPORTS) \
11653 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
11655 @endif tcl
11657 # Other targets (info, dvi, etc.)
11659 .PHONY: maybe-info-tcl info-tcl
11660 maybe-info-tcl:
11661 @if tcl
11662 maybe-info-tcl: info-tcl
11664 info-tcl: \
11665 configure-tcl
11666 @[ -f ./tcl/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 tcl" ; \
11675 (cd tcl && \
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 tcl
11685 .PHONY: maybe-dvi-tcl dvi-tcl
11686 maybe-dvi-tcl:
11687 @if tcl
11688 maybe-dvi-tcl: dvi-tcl
11690 dvi-tcl: \
11691 configure-tcl
11692 @[ -f ./tcl/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 tcl" ; \
11701 (cd tcl && \
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 tcl
11711 .PHONY: maybe-TAGS-tcl TAGS-tcl
11712 maybe-TAGS-tcl:
11713 @if tcl
11714 maybe-TAGS-tcl: TAGS-tcl
11716 TAGS-tcl: \
11717 configure-tcl
11718 @[ -f ./tcl/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 tcl" ; \
11727 (cd tcl && \
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 tcl
11737 .PHONY: maybe-install-info-tcl install-info-tcl
11738 maybe-install-info-tcl:
11739 @if tcl
11740 maybe-install-info-tcl: install-info-tcl
11742 install-info-tcl: \
11743 configure-tcl \
11744 info-tcl
11745 @[ -f ./tcl/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 tcl" ; \
11754 (cd tcl && \
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 tcl
11764 .PHONY: maybe-installcheck-tcl installcheck-tcl
11765 maybe-installcheck-tcl:
11766 @if tcl
11767 maybe-installcheck-tcl: installcheck-tcl
11769 installcheck-tcl: \
11770 configure-tcl
11771 @[ -f ./tcl/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 tcl" ; \
11780 (cd tcl && \
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 tcl
11790 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
11791 maybe-mostlyclean-tcl:
11792 @if tcl
11793 maybe-mostlyclean-tcl: mostlyclean-tcl
11795 # tcl doesn't support mostlyclean.
11796 mostlyclean-tcl:
11798 @endif tcl
11800 .PHONY: maybe-clean-tcl clean-tcl
11801 maybe-clean-tcl:
11802 @if tcl
11803 maybe-clean-tcl: clean-tcl
11805 clean-tcl:
11806 @[ -f ./tcl/Makefile ] || exit 0; \
11807 r=`${PWD_COMMAND}`; export r; \
11808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11809 $(SET_LIB_PATH) \
11810 $(HOST_EXPORTS) \
11811 for flag in $(EXTRA_HOST_FLAGS) ; do \
11812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11813 done; \
11814 echo "Doing clean in tcl" ; \
11815 (cd tcl && \
11816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11818 "RANLIB=$${RANLIB}" \
11819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11820 clean) \
11821 || exit 1
11823 @endif tcl
11825 .PHONY: maybe-distclean-tcl distclean-tcl
11826 maybe-distclean-tcl:
11827 @if tcl
11828 maybe-distclean-tcl: distclean-tcl
11830 distclean-tcl:
11831 @[ -f ./tcl/Makefile ] || exit 0; \
11832 r=`${PWD_COMMAND}`; export r; \
11833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11834 $(SET_LIB_PATH) \
11835 $(HOST_EXPORTS) \
11836 for flag in $(EXTRA_HOST_FLAGS) ; do \
11837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11838 done; \
11839 echo "Doing distclean in tcl" ; \
11840 (cd tcl && \
11841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11843 "RANLIB=$${RANLIB}" \
11844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11845 distclean) \
11846 || exit 1
11848 @endif tcl
11850 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
11851 maybe-maintainer-clean-tcl:
11852 @if tcl
11853 maybe-maintainer-clean-tcl: maintainer-clean-tcl
11855 maintainer-clean-tcl:
11856 @[ -f ./tcl/Makefile ] || exit 0; \
11857 r=`${PWD_COMMAND}`; export r; \
11858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11859 $(SET_LIB_PATH) \
11860 $(HOST_EXPORTS) \
11861 for flag in $(EXTRA_HOST_FLAGS) ; do \
11862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11863 done; \
11864 echo "Doing maintainer-clean in tcl" ; \
11865 (cd tcl && \
11866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11868 "RANLIB=$${RANLIB}" \
11869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11870 maintainer-clean) \
11871 || exit 1
11873 @endif tcl
11876 .PHONY: configure-itcl maybe-configure-itcl
11877 maybe-configure-itcl:
11878 @if itcl
11879 maybe-configure-itcl: configure-itcl
11880 configure-itcl:
11881 @test ! -f itcl/Makefile || exit 0; \
11882 [ -d itcl ] || mkdir itcl; \
11883 r=`${PWD_COMMAND}`; export r; \
11884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11885 $(HOST_EXPORTS) \
11886 echo Configuring in itcl; \
11887 cd itcl || exit 1; \
11888 case $(srcdir) in \
11889 \.) \
11890 srcdiroption="--srcdir=."; \
11891 libsrcdir=".";; \
11892 /* | [A-Za-z]:[\\/]*) \
11893 srcdiroption="--srcdir=$(srcdir)/itcl"; \
11894 libsrcdir="$$s/itcl";; \
11895 *) \
11896 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
11897 libsrcdir="$$s/itcl";; \
11898 esac; \
11899 $(SHELL) $${libsrcdir}/configure \
11900 $(HOST_CONFIGARGS) $${srcdiroption} \
11901 || exit 1
11902 @endif itcl
11904 .PHONY: all-itcl maybe-all-itcl
11905 maybe-all-itcl:
11906 @if itcl
11907 TARGET-itcl=all
11908 maybe-all-itcl: all-itcl
11909 all-itcl: configure-itcl
11910 @r=`${PWD_COMMAND}`; export r; \
11911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11912 $(SET_LIB_PATH) \
11913 $(HOST_EXPORTS) \
11914 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) \
11915 $(TARGET-itcl))
11916 @endif itcl
11918 .PHONY: check-itcl maybe-check-itcl
11919 maybe-check-itcl:
11920 @if itcl
11921 maybe-check-itcl: check-itcl
11923 check-itcl:
11924 @r=`${PWD_COMMAND}`; export r; \
11925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11926 $(SET_LIB_PATH) \
11927 $(HOST_EXPORTS) \
11928 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
11930 @endif itcl
11932 .PHONY: install-itcl maybe-install-itcl
11933 maybe-install-itcl:
11934 @if itcl
11935 maybe-install-itcl: install-itcl
11937 install-itcl: installdirs
11938 @r=`${PWD_COMMAND}`; export r; \
11939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11940 $(SET_LIB_PATH) \
11941 $(HOST_EXPORTS) \
11942 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
11944 @endif itcl
11946 # Other targets (info, dvi, etc.)
11948 .PHONY: maybe-info-itcl info-itcl
11949 maybe-info-itcl:
11950 @if itcl
11951 maybe-info-itcl: info-itcl
11953 info-itcl: \
11954 configure-itcl
11955 @[ -f ./itcl/Makefile ] || exit 0; \
11956 r=`${PWD_COMMAND}`; export r; \
11957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11958 $(SET_LIB_PATH) \
11959 $(HOST_EXPORTS) \
11960 for flag in $(EXTRA_HOST_FLAGS) ; do \
11961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11962 done; \
11963 echo "Doing info in itcl" ; \
11964 (cd itcl && \
11965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11967 "RANLIB=$${RANLIB}" \
11968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11969 info) \
11970 || exit 1
11972 @endif itcl
11974 .PHONY: maybe-dvi-itcl dvi-itcl
11975 maybe-dvi-itcl:
11976 @if itcl
11977 maybe-dvi-itcl: dvi-itcl
11979 dvi-itcl: \
11980 configure-itcl
11981 @[ -f ./itcl/Makefile ] || exit 0; \
11982 r=`${PWD_COMMAND}`; export r; \
11983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11984 $(SET_LIB_PATH) \
11985 $(HOST_EXPORTS) \
11986 for flag in $(EXTRA_HOST_FLAGS) ; do \
11987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11988 done; \
11989 echo "Doing dvi in itcl" ; \
11990 (cd itcl && \
11991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11993 "RANLIB=$${RANLIB}" \
11994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11995 dvi) \
11996 || exit 1
11998 @endif itcl
12000 .PHONY: maybe-TAGS-itcl TAGS-itcl
12001 maybe-TAGS-itcl:
12002 @if itcl
12003 maybe-TAGS-itcl: TAGS-itcl
12005 TAGS-itcl: \
12006 configure-itcl
12007 @[ -f ./itcl/Makefile ] || exit 0; \
12008 r=`${PWD_COMMAND}`; export r; \
12009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12010 $(SET_LIB_PATH) \
12011 $(HOST_EXPORTS) \
12012 for flag in $(EXTRA_HOST_FLAGS) ; do \
12013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12014 done; \
12015 echo "Doing TAGS in itcl" ; \
12016 (cd itcl && \
12017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12019 "RANLIB=$${RANLIB}" \
12020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12021 TAGS) \
12022 || exit 1
12024 @endif itcl
12026 .PHONY: maybe-install-info-itcl install-info-itcl
12027 maybe-install-info-itcl:
12028 @if itcl
12029 maybe-install-info-itcl: install-info-itcl
12031 install-info-itcl: \
12032 configure-itcl \
12033 info-itcl
12034 @[ -f ./itcl/Makefile ] || exit 0; \
12035 r=`${PWD_COMMAND}`; export r; \
12036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12037 $(SET_LIB_PATH) \
12038 $(HOST_EXPORTS) \
12039 for flag in $(EXTRA_HOST_FLAGS) ; do \
12040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12041 done; \
12042 echo "Doing install-info in itcl" ; \
12043 (cd itcl && \
12044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12046 "RANLIB=$${RANLIB}" \
12047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12048 install-info) \
12049 || exit 1
12051 @endif itcl
12053 .PHONY: maybe-installcheck-itcl installcheck-itcl
12054 maybe-installcheck-itcl:
12055 @if itcl
12056 maybe-installcheck-itcl: installcheck-itcl
12058 installcheck-itcl: \
12059 configure-itcl
12060 @[ -f ./itcl/Makefile ] || exit 0; \
12061 r=`${PWD_COMMAND}`; export r; \
12062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12063 $(SET_LIB_PATH) \
12064 $(HOST_EXPORTS) \
12065 for flag in $(EXTRA_HOST_FLAGS) ; do \
12066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12067 done; \
12068 echo "Doing installcheck in itcl" ; \
12069 (cd itcl && \
12070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12072 "RANLIB=$${RANLIB}" \
12073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12074 installcheck) \
12075 || exit 1
12077 @endif itcl
12079 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
12080 maybe-mostlyclean-itcl:
12081 @if itcl
12082 maybe-mostlyclean-itcl: mostlyclean-itcl
12084 mostlyclean-itcl:
12085 @[ -f ./itcl/Makefile ] || exit 0; \
12086 r=`${PWD_COMMAND}`; export r; \
12087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12088 $(SET_LIB_PATH) \
12089 $(HOST_EXPORTS) \
12090 for flag in $(EXTRA_HOST_FLAGS) ; do \
12091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12092 done; \
12093 echo "Doing mostlyclean in itcl" ; \
12094 (cd itcl && \
12095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12097 "RANLIB=$${RANLIB}" \
12098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12099 mostlyclean) \
12100 || exit 1
12102 @endif itcl
12104 .PHONY: maybe-clean-itcl clean-itcl
12105 maybe-clean-itcl:
12106 @if itcl
12107 maybe-clean-itcl: clean-itcl
12109 clean-itcl:
12110 @[ -f ./itcl/Makefile ] || exit 0; \
12111 r=`${PWD_COMMAND}`; export r; \
12112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12113 $(SET_LIB_PATH) \
12114 $(HOST_EXPORTS) \
12115 for flag in $(EXTRA_HOST_FLAGS) ; do \
12116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12117 done; \
12118 echo "Doing clean in itcl" ; \
12119 (cd itcl && \
12120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12122 "RANLIB=$${RANLIB}" \
12123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12124 clean) \
12125 || exit 1
12127 @endif itcl
12129 .PHONY: maybe-distclean-itcl distclean-itcl
12130 maybe-distclean-itcl:
12131 @if itcl
12132 maybe-distclean-itcl: distclean-itcl
12134 distclean-itcl:
12135 @[ -f ./itcl/Makefile ] || exit 0; \
12136 r=`${PWD_COMMAND}`; export r; \
12137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12138 $(SET_LIB_PATH) \
12139 $(HOST_EXPORTS) \
12140 for flag in $(EXTRA_HOST_FLAGS) ; do \
12141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12142 done; \
12143 echo "Doing distclean in itcl" ; \
12144 (cd itcl && \
12145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12147 "RANLIB=$${RANLIB}" \
12148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12149 distclean) \
12150 || exit 1
12152 @endif itcl
12154 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
12155 maybe-maintainer-clean-itcl:
12156 @if itcl
12157 maybe-maintainer-clean-itcl: maintainer-clean-itcl
12159 maintainer-clean-itcl:
12160 @[ -f ./itcl/Makefile ] || exit 0; \
12161 r=`${PWD_COMMAND}`; export r; \
12162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12163 $(SET_LIB_PATH) \
12164 $(HOST_EXPORTS) \
12165 for flag in $(EXTRA_HOST_FLAGS) ; do \
12166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12167 done; \
12168 echo "Doing maintainer-clean in itcl" ; \
12169 (cd itcl && \
12170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12172 "RANLIB=$${RANLIB}" \
12173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12174 maintainer-clean) \
12175 || exit 1
12177 @endif itcl
12180 .PHONY: configure-ld maybe-configure-ld
12181 maybe-configure-ld:
12182 @if ld
12183 maybe-configure-ld: configure-ld
12184 configure-ld:
12185 @test -f stage_last && exit 0; \
12186 test ! -f ld/Makefile || exit 0; \
12187 [ -d ld ] || mkdir ld; \
12188 r=`${PWD_COMMAND}`; export r; \
12189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12190 $(HOST_EXPORTS) \
12191 echo Configuring in ld; \
12192 cd ld || exit 1; \
12193 case $(srcdir) in \
12194 \.) \
12195 srcdiroption="--srcdir=."; \
12196 libsrcdir=".";; \
12197 /* | [A-Za-z]:[\\/]*) \
12198 srcdiroption="--srcdir=$(srcdir)/ld"; \
12199 libsrcdir="$$s/ld";; \
12200 *) \
12201 srcdiroption="--srcdir=../$(srcdir)/ld"; \
12202 libsrcdir="$$s/ld";; \
12203 esac; \
12204 $(SHELL) $${libsrcdir}/configure \
12205 $(HOST_CONFIGARGS) $${srcdiroption} \
12206 || exit 1
12207 @endif ld
12209 .PHONY: all-ld maybe-all-ld
12210 maybe-all-ld:
12211 @if ld
12212 TARGET-ld=all
12213 maybe-all-ld: all-ld
12214 all-ld: configure-ld
12215 @test -f stage_last && exit 0; \
12216 r=`${PWD_COMMAND}`; export r; \
12217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12218 $(SET_LIB_PATH) \
12219 $(HOST_EXPORTS) \
12220 (cd ld && $(MAKE) $(FLAGS_TO_PASS) \
12221 $(TARGET-ld))
12222 @endif ld
12224 .PHONY: check-ld maybe-check-ld
12225 maybe-check-ld:
12226 @if ld
12227 maybe-check-ld: check-ld
12229 check-ld:
12230 @r=`${PWD_COMMAND}`; export r; \
12231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12232 $(SET_LIB_PATH) \
12233 $(HOST_EXPORTS) \
12234 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
12236 @endif ld
12238 .PHONY: install-ld maybe-install-ld
12239 maybe-install-ld:
12240 @if ld
12241 maybe-install-ld: install-ld
12243 install-ld: installdirs
12244 @r=`${PWD_COMMAND}`; export r; \
12245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12246 $(SET_LIB_PATH) \
12247 $(HOST_EXPORTS) \
12248 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
12250 @endif ld
12252 # Other targets (info, dvi, etc.)
12254 .PHONY: maybe-info-ld info-ld
12255 maybe-info-ld:
12256 @if ld
12257 maybe-info-ld: info-ld
12259 info-ld: \
12260 configure-ld
12261 @[ -f ./ld/Makefile ] || exit 0; \
12262 r=`${PWD_COMMAND}`; export r; \
12263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12264 $(SET_LIB_PATH) \
12265 $(HOST_EXPORTS) \
12266 for flag in $(EXTRA_HOST_FLAGS) ; do \
12267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12268 done; \
12269 echo "Doing info in ld" ; \
12270 (cd ld && \
12271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12273 "RANLIB=$${RANLIB}" \
12274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12275 info) \
12276 || exit 1
12278 @endif ld
12280 .PHONY: maybe-dvi-ld dvi-ld
12281 maybe-dvi-ld:
12282 @if ld
12283 maybe-dvi-ld: dvi-ld
12285 dvi-ld: \
12286 configure-ld
12287 @[ -f ./ld/Makefile ] || exit 0; \
12288 r=`${PWD_COMMAND}`; export r; \
12289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12290 $(SET_LIB_PATH) \
12291 $(HOST_EXPORTS) \
12292 for flag in $(EXTRA_HOST_FLAGS) ; do \
12293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12294 done; \
12295 echo "Doing dvi in ld" ; \
12296 (cd ld && \
12297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12299 "RANLIB=$${RANLIB}" \
12300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12301 dvi) \
12302 || exit 1
12304 @endif ld
12306 .PHONY: maybe-TAGS-ld TAGS-ld
12307 maybe-TAGS-ld:
12308 @if ld
12309 maybe-TAGS-ld: TAGS-ld
12311 TAGS-ld: \
12312 configure-ld
12313 @[ -f ./ld/Makefile ] || exit 0; \
12314 r=`${PWD_COMMAND}`; export r; \
12315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12316 $(SET_LIB_PATH) \
12317 $(HOST_EXPORTS) \
12318 for flag in $(EXTRA_HOST_FLAGS) ; do \
12319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12320 done; \
12321 echo "Doing TAGS in ld" ; \
12322 (cd ld && \
12323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12325 "RANLIB=$${RANLIB}" \
12326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12327 TAGS) \
12328 || exit 1
12330 @endif ld
12332 .PHONY: maybe-install-info-ld install-info-ld
12333 maybe-install-info-ld:
12334 @if ld
12335 maybe-install-info-ld: install-info-ld
12337 install-info-ld: \
12338 configure-ld \
12339 info-ld
12340 @[ -f ./ld/Makefile ] || exit 0; \
12341 r=`${PWD_COMMAND}`; export r; \
12342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12343 $(SET_LIB_PATH) \
12344 $(HOST_EXPORTS) \
12345 for flag in $(EXTRA_HOST_FLAGS) ; do \
12346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12347 done; \
12348 echo "Doing install-info in ld" ; \
12349 (cd ld && \
12350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12352 "RANLIB=$${RANLIB}" \
12353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12354 install-info) \
12355 || exit 1
12357 @endif ld
12359 .PHONY: maybe-installcheck-ld installcheck-ld
12360 maybe-installcheck-ld:
12361 @if ld
12362 maybe-installcheck-ld: installcheck-ld
12364 installcheck-ld: \
12365 configure-ld
12366 @[ -f ./ld/Makefile ] || exit 0; \
12367 r=`${PWD_COMMAND}`; export r; \
12368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12369 $(SET_LIB_PATH) \
12370 $(HOST_EXPORTS) \
12371 for flag in $(EXTRA_HOST_FLAGS) ; do \
12372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12373 done; \
12374 echo "Doing installcheck in ld" ; \
12375 (cd ld && \
12376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12378 "RANLIB=$${RANLIB}" \
12379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12380 installcheck) \
12381 || exit 1
12383 @endif ld
12385 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12386 maybe-mostlyclean-ld:
12387 @if ld
12388 maybe-mostlyclean-ld: mostlyclean-ld
12390 mostlyclean-ld:
12391 @[ -f ./ld/Makefile ] || exit 0; \
12392 r=`${PWD_COMMAND}`; export r; \
12393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12394 $(SET_LIB_PATH) \
12395 $(HOST_EXPORTS) \
12396 for flag in $(EXTRA_HOST_FLAGS) ; do \
12397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12398 done; \
12399 echo "Doing mostlyclean in ld" ; \
12400 (cd ld && \
12401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12403 "RANLIB=$${RANLIB}" \
12404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12405 mostlyclean) \
12406 || exit 1
12408 @endif ld
12410 .PHONY: maybe-clean-ld clean-ld
12411 maybe-clean-ld:
12412 @if ld
12413 maybe-clean-ld: clean-ld
12415 clean-ld:
12416 @[ -f ./ld/Makefile ] || exit 0; \
12417 r=`${PWD_COMMAND}`; export r; \
12418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12419 $(SET_LIB_PATH) \
12420 $(HOST_EXPORTS) \
12421 for flag in $(EXTRA_HOST_FLAGS) ; do \
12422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12423 done; \
12424 echo "Doing clean in ld" ; \
12425 (cd ld && \
12426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12428 "RANLIB=$${RANLIB}" \
12429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12430 clean) \
12431 || exit 1
12433 @endif ld
12435 .PHONY: maybe-distclean-ld distclean-ld
12436 maybe-distclean-ld:
12437 @if ld
12438 maybe-distclean-ld: distclean-ld
12440 distclean-ld:
12441 @[ -f ./ld/Makefile ] || exit 0; \
12442 r=`${PWD_COMMAND}`; export r; \
12443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12444 $(SET_LIB_PATH) \
12445 $(HOST_EXPORTS) \
12446 for flag in $(EXTRA_HOST_FLAGS) ; do \
12447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12448 done; \
12449 echo "Doing distclean in ld" ; \
12450 (cd ld && \
12451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12453 "RANLIB=$${RANLIB}" \
12454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12455 distclean) \
12456 || exit 1
12458 @endif ld
12460 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12461 maybe-maintainer-clean-ld:
12462 @if ld
12463 maybe-maintainer-clean-ld: maintainer-clean-ld
12465 maintainer-clean-ld:
12466 @[ -f ./ld/Makefile ] || exit 0; \
12467 r=`${PWD_COMMAND}`; export r; \
12468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12469 $(SET_LIB_PATH) \
12470 $(HOST_EXPORTS) \
12471 for flag in $(EXTRA_HOST_FLAGS) ; do \
12472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12473 done; \
12474 echo "Doing maintainer-clean in ld" ; \
12475 (cd ld && \
12476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12478 "RANLIB=$${RANLIB}" \
12479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12480 maintainer-clean) \
12481 || exit 1
12483 @endif ld
12486 .PHONY: configure-libcpp maybe-configure-libcpp
12487 maybe-configure-libcpp:
12488 @if libcpp
12489 maybe-configure-libcpp: configure-libcpp
12490 configure-libcpp:
12491 @test -f stage_last && exit 0; \
12492 test ! -f libcpp/Makefile || exit 0; \
12493 [ -d libcpp ] || mkdir libcpp; \
12494 r=`${PWD_COMMAND}`; export r; \
12495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12496 $(HOST_EXPORTS) \
12497 echo Configuring in libcpp; \
12498 cd libcpp || exit 1; \
12499 case $(srcdir) in \
12500 \.) \
12501 srcdiroption="--srcdir=."; \
12502 libsrcdir=".";; \
12503 /* | [A-Za-z]:[\\/]*) \
12504 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
12505 libsrcdir="$$s/libcpp";; \
12506 *) \
12507 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
12508 libsrcdir="$$s/libcpp";; \
12509 esac; \
12510 $(SHELL) $${libsrcdir}/configure \
12511 $(HOST_CONFIGARGS) $${srcdiroption} \
12512 || exit 1
12513 @endif libcpp
12515 .PHONY: all-libcpp maybe-all-libcpp
12516 maybe-all-libcpp:
12517 @if libcpp
12518 TARGET-libcpp=all
12519 maybe-all-libcpp: all-libcpp
12520 all-libcpp: configure-libcpp
12521 @test -f stage_last && exit 0; \
12522 r=`${PWD_COMMAND}`; export r; \
12523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12524 $(SET_LIB_PATH) \
12525 $(HOST_EXPORTS) \
12526 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) \
12527 $(TARGET-libcpp))
12528 @endif libcpp
12530 .PHONY: check-libcpp maybe-check-libcpp
12531 maybe-check-libcpp:
12532 @if libcpp
12533 maybe-check-libcpp: check-libcpp
12535 check-libcpp:
12536 @r=`${PWD_COMMAND}`; export r; \
12537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12538 $(SET_LIB_PATH) \
12539 $(HOST_EXPORTS) \
12540 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
12542 @endif libcpp
12544 .PHONY: install-libcpp maybe-install-libcpp
12545 maybe-install-libcpp:
12546 @if libcpp
12547 maybe-install-libcpp: install-libcpp
12549 install-libcpp: installdirs
12550 @r=`${PWD_COMMAND}`; export r; \
12551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12552 $(SET_LIB_PATH) \
12553 $(HOST_EXPORTS) \
12554 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
12556 @endif libcpp
12558 # Other targets (info, dvi, etc.)
12560 .PHONY: maybe-info-libcpp info-libcpp
12561 maybe-info-libcpp:
12562 @if libcpp
12563 maybe-info-libcpp: info-libcpp
12565 info-libcpp: \
12566 configure-libcpp
12567 @[ -f ./libcpp/Makefile ] || exit 0; \
12568 r=`${PWD_COMMAND}`; export r; \
12569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12570 $(SET_LIB_PATH) \
12571 $(HOST_EXPORTS) \
12572 for flag in $(EXTRA_HOST_FLAGS) ; do \
12573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12574 done; \
12575 echo "Doing info in libcpp" ; \
12576 (cd libcpp && \
12577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12579 "RANLIB=$${RANLIB}" \
12580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12581 info) \
12582 || exit 1
12584 @endif libcpp
12586 .PHONY: maybe-dvi-libcpp dvi-libcpp
12587 maybe-dvi-libcpp:
12588 @if libcpp
12589 maybe-dvi-libcpp: dvi-libcpp
12591 dvi-libcpp: \
12592 configure-libcpp
12593 @[ -f ./libcpp/Makefile ] || exit 0; \
12594 r=`${PWD_COMMAND}`; export r; \
12595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12596 $(SET_LIB_PATH) \
12597 $(HOST_EXPORTS) \
12598 for flag in $(EXTRA_HOST_FLAGS) ; do \
12599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12600 done; \
12601 echo "Doing dvi in libcpp" ; \
12602 (cd libcpp && \
12603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12605 "RANLIB=$${RANLIB}" \
12606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12607 dvi) \
12608 || exit 1
12610 @endif libcpp
12612 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
12613 maybe-TAGS-libcpp:
12614 @if libcpp
12615 maybe-TAGS-libcpp: TAGS-libcpp
12617 TAGS-libcpp: \
12618 configure-libcpp
12619 @[ -f ./libcpp/Makefile ] || exit 0; \
12620 r=`${PWD_COMMAND}`; export r; \
12621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12622 $(SET_LIB_PATH) \
12623 $(HOST_EXPORTS) \
12624 for flag in $(EXTRA_HOST_FLAGS) ; do \
12625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12626 done; \
12627 echo "Doing TAGS in libcpp" ; \
12628 (cd libcpp && \
12629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12631 "RANLIB=$${RANLIB}" \
12632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12633 TAGS) \
12634 || exit 1
12636 @endif libcpp
12638 .PHONY: maybe-install-info-libcpp install-info-libcpp
12639 maybe-install-info-libcpp:
12640 @if libcpp
12641 maybe-install-info-libcpp: install-info-libcpp
12643 install-info-libcpp: \
12644 configure-libcpp \
12645 info-libcpp
12646 @[ -f ./libcpp/Makefile ] || exit 0; \
12647 r=`${PWD_COMMAND}`; export r; \
12648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12649 $(SET_LIB_PATH) \
12650 $(HOST_EXPORTS) \
12651 for flag in $(EXTRA_HOST_FLAGS) ; do \
12652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12653 done; \
12654 echo "Doing install-info in libcpp" ; \
12655 (cd libcpp && \
12656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12658 "RANLIB=$${RANLIB}" \
12659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12660 install-info) \
12661 || exit 1
12663 @endif libcpp
12665 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12666 maybe-installcheck-libcpp:
12667 @if libcpp
12668 maybe-installcheck-libcpp: installcheck-libcpp
12670 installcheck-libcpp: \
12671 configure-libcpp
12672 @[ -f ./libcpp/Makefile ] || exit 0; \
12673 r=`${PWD_COMMAND}`; export r; \
12674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12675 $(SET_LIB_PATH) \
12676 $(HOST_EXPORTS) \
12677 for flag in $(EXTRA_HOST_FLAGS) ; do \
12678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12679 done; \
12680 echo "Doing installcheck in libcpp" ; \
12681 (cd libcpp && \
12682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12684 "RANLIB=$${RANLIB}" \
12685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12686 installcheck) \
12687 || exit 1
12689 @endif libcpp
12691 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
12692 maybe-mostlyclean-libcpp:
12693 @if libcpp
12694 maybe-mostlyclean-libcpp: mostlyclean-libcpp
12696 mostlyclean-libcpp:
12697 @[ -f ./libcpp/Makefile ] || exit 0; \
12698 r=`${PWD_COMMAND}`; export r; \
12699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12700 $(SET_LIB_PATH) \
12701 $(HOST_EXPORTS) \
12702 for flag in $(EXTRA_HOST_FLAGS) ; do \
12703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12704 done; \
12705 echo "Doing mostlyclean in libcpp" ; \
12706 (cd libcpp && \
12707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12709 "RANLIB=$${RANLIB}" \
12710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12711 mostlyclean) \
12712 || exit 1
12714 @endif libcpp
12716 .PHONY: maybe-clean-libcpp clean-libcpp
12717 maybe-clean-libcpp:
12718 @if libcpp
12719 maybe-clean-libcpp: clean-libcpp
12721 clean-libcpp:
12722 @[ -f ./libcpp/Makefile ] || exit 0; \
12723 r=`${PWD_COMMAND}`; export r; \
12724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12725 $(SET_LIB_PATH) \
12726 $(HOST_EXPORTS) \
12727 for flag in $(EXTRA_HOST_FLAGS) ; do \
12728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12729 done; \
12730 echo "Doing clean in libcpp" ; \
12731 (cd libcpp && \
12732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12734 "RANLIB=$${RANLIB}" \
12735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12736 clean) \
12737 || exit 1
12739 @endif libcpp
12741 .PHONY: maybe-distclean-libcpp distclean-libcpp
12742 maybe-distclean-libcpp:
12743 @if libcpp
12744 maybe-distclean-libcpp: distclean-libcpp
12746 distclean-libcpp:
12747 @[ -f ./libcpp/Makefile ] || exit 0; \
12748 r=`${PWD_COMMAND}`; export r; \
12749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12750 $(SET_LIB_PATH) \
12751 $(HOST_EXPORTS) \
12752 for flag in $(EXTRA_HOST_FLAGS) ; do \
12753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12754 done; \
12755 echo "Doing distclean in libcpp" ; \
12756 (cd libcpp && \
12757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12759 "RANLIB=$${RANLIB}" \
12760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12761 distclean) \
12762 || exit 1
12764 @endif libcpp
12766 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
12767 maybe-maintainer-clean-libcpp:
12768 @if libcpp
12769 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
12771 maintainer-clean-libcpp:
12772 @[ -f ./libcpp/Makefile ] || exit 0; \
12773 r=`${PWD_COMMAND}`; export r; \
12774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12775 $(SET_LIB_PATH) \
12776 $(HOST_EXPORTS) \
12777 for flag in $(EXTRA_HOST_FLAGS) ; do \
12778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12779 done; \
12780 echo "Doing maintainer-clean in libcpp" ; \
12781 (cd libcpp && \
12782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12784 "RANLIB=$${RANLIB}" \
12785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12786 maintainer-clean) \
12787 || exit 1
12789 @endif libcpp
12792 .PHONY: configure-libgui maybe-configure-libgui
12793 maybe-configure-libgui:
12794 @if libgui
12795 maybe-configure-libgui: configure-libgui
12796 configure-libgui:
12797 @test ! -f libgui/Makefile || exit 0; \
12798 [ -d libgui ] || mkdir libgui; \
12799 r=`${PWD_COMMAND}`; export r; \
12800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12801 $(HOST_EXPORTS) \
12802 echo Configuring in libgui; \
12803 cd libgui || exit 1; \
12804 case $(srcdir) in \
12805 \.) \
12806 srcdiroption="--srcdir=."; \
12807 libsrcdir=".";; \
12808 /* | [A-Za-z]:[\\/]*) \
12809 srcdiroption="--srcdir=$(srcdir)/libgui"; \
12810 libsrcdir="$$s/libgui";; \
12811 *) \
12812 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
12813 libsrcdir="$$s/libgui";; \
12814 esac; \
12815 $(SHELL) $${libsrcdir}/configure \
12816 $(HOST_CONFIGARGS) $${srcdiroption} \
12817 || exit 1
12818 @endif libgui
12820 .PHONY: all-libgui maybe-all-libgui
12821 maybe-all-libgui:
12822 @if libgui
12823 TARGET-libgui=all
12824 maybe-all-libgui: all-libgui
12825 all-libgui: configure-libgui
12826 @r=`${PWD_COMMAND}`; export r; \
12827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12828 $(SET_LIB_PATH) \
12829 $(HOST_EXPORTS) \
12830 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) \
12831 $(TARGET-libgui))
12832 @endif libgui
12834 .PHONY: check-libgui maybe-check-libgui
12835 maybe-check-libgui:
12836 @if libgui
12837 maybe-check-libgui: check-libgui
12839 check-libgui:
12840 @r=`${PWD_COMMAND}`; export r; \
12841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12842 $(SET_LIB_PATH) \
12843 $(HOST_EXPORTS) \
12844 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
12846 @endif libgui
12848 .PHONY: install-libgui maybe-install-libgui
12849 maybe-install-libgui:
12850 @if libgui
12851 maybe-install-libgui: install-libgui
12853 install-libgui: installdirs
12854 @r=`${PWD_COMMAND}`; export r; \
12855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12856 $(SET_LIB_PATH) \
12857 $(HOST_EXPORTS) \
12858 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
12860 @endif libgui
12862 # Other targets (info, dvi, etc.)
12864 .PHONY: maybe-info-libgui info-libgui
12865 maybe-info-libgui:
12866 @if libgui
12867 maybe-info-libgui: info-libgui
12869 info-libgui: \
12870 configure-libgui
12871 @[ -f ./libgui/Makefile ] || exit 0; \
12872 r=`${PWD_COMMAND}`; export r; \
12873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12874 $(SET_LIB_PATH) \
12875 $(HOST_EXPORTS) \
12876 for flag in $(EXTRA_HOST_FLAGS) ; do \
12877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12878 done; \
12879 echo "Doing info in libgui" ; \
12880 (cd libgui && \
12881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12883 "RANLIB=$${RANLIB}" \
12884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12885 info) \
12886 || exit 1
12888 @endif libgui
12890 .PHONY: maybe-dvi-libgui dvi-libgui
12891 maybe-dvi-libgui:
12892 @if libgui
12893 maybe-dvi-libgui: dvi-libgui
12895 dvi-libgui: \
12896 configure-libgui
12897 @[ -f ./libgui/Makefile ] || exit 0; \
12898 r=`${PWD_COMMAND}`; export r; \
12899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12900 $(SET_LIB_PATH) \
12901 $(HOST_EXPORTS) \
12902 for flag in $(EXTRA_HOST_FLAGS) ; do \
12903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12904 done; \
12905 echo "Doing dvi in libgui" ; \
12906 (cd libgui && \
12907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12909 "RANLIB=$${RANLIB}" \
12910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12911 dvi) \
12912 || exit 1
12914 @endif libgui
12916 .PHONY: maybe-TAGS-libgui TAGS-libgui
12917 maybe-TAGS-libgui:
12918 @if libgui
12919 maybe-TAGS-libgui: TAGS-libgui
12921 TAGS-libgui: \
12922 configure-libgui
12923 @[ -f ./libgui/Makefile ] || exit 0; \
12924 r=`${PWD_COMMAND}`; export r; \
12925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12926 $(SET_LIB_PATH) \
12927 $(HOST_EXPORTS) \
12928 for flag in $(EXTRA_HOST_FLAGS) ; do \
12929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12930 done; \
12931 echo "Doing TAGS in libgui" ; \
12932 (cd libgui && \
12933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12935 "RANLIB=$${RANLIB}" \
12936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12937 TAGS) \
12938 || exit 1
12940 @endif libgui
12942 .PHONY: maybe-install-info-libgui install-info-libgui
12943 maybe-install-info-libgui:
12944 @if libgui
12945 maybe-install-info-libgui: install-info-libgui
12947 install-info-libgui: \
12948 configure-libgui \
12949 info-libgui
12950 @[ -f ./libgui/Makefile ] || exit 0; \
12951 r=`${PWD_COMMAND}`; export r; \
12952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12953 $(SET_LIB_PATH) \
12954 $(HOST_EXPORTS) \
12955 for flag in $(EXTRA_HOST_FLAGS) ; do \
12956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12957 done; \
12958 echo "Doing install-info in libgui" ; \
12959 (cd libgui && \
12960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12962 "RANLIB=$${RANLIB}" \
12963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12964 install-info) \
12965 || exit 1
12967 @endif libgui
12969 .PHONY: maybe-installcheck-libgui installcheck-libgui
12970 maybe-installcheck-libgui:
12971 @if libgui
12972 maybe-installcheck-libgui: installcheck-libgui
12974 installcheck-libgui: \
12975 configure-libgui
12976 @[ -f ./libgui/Makefile ] || exit 0; \
12977 r=`${PWD_COMMAND}`; export r; \
12978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12979 $(SET_LIB_PATH) \
12980 $(HOST_EXPORTS) \
12981 for flag in $(EXTRA_HOST_FLAGS) ; do \
12982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12983 done; \
12984 echo "Doing installcheck in libgui" ; \
12985 (cd libgui && \
12986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12988 "RANLIB=$${RANLIB}" \
12989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12990 installcheck) \
12991 || exit 1
12993 @endif libgui
12995 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12996 maybe-mostlyclean-libgui:
12997 @if libgui
12998 maybe-mostlyclean-libgui: mostlyclean-libgui
13000 mostlyclean-libgui:
13001 @[ -f ./libgui/Makefile ] || exit 0; \
13002 r=`${PWD_COMMAND}`; export r; \
13003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13004 $(SET_LIB_PATH) \
13005 $(HOST_EXPORTS) \
13006 for flag in $(EXTRA_HOST_FLAGS) ; do \
13007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13008 done; \
13009 echo "Doing mostlyclean in libgui" ; \
13010 (cd libgui && \
13011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13013 "RANLIB=$${RANLIB}" \
13014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13015 mostlyclean) \
13016 || exit 1
13018 @endif libgui
13020 .PHONY: maybe-clean-libgui clean-libgui
13021 maybe-clean-libgui:
13022 @if libgui
13023 maybe-clean-libgui: clean-libgui
13025 clean-libgui:
13026 @[ -f ./libgui/Makefile ] || exit 0; \
13027 r=`${PWD_COMMAND}`; export r; \
13028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13029 $(SET_LIB_PATH) \
13030 $(HOST_EXPORTS) \
13031 for flag in $(EXTRA_HOST_FLAGS) ; do \
13032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13033 done; \
13034 echo "Doing clean in libgui" ; \
13035 (cd libgui && \
13036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13038 "RANLIB=$${RANLIB}" \
13039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13040 clean) \
13041 || exit 1
13043 @endif libgui
13045 .PHONY: maybe-distclean-libgui distclean-libgui
13046 maybe-distclean-libgui:
13047 @if libgui
13048 maybe-distclean-libgui: distclean-libgui
13050 distclean-libgui:
13051 @[ -f ./libgui/Makefile ] || exit 0; \
13052 r=`${PWD_COMMAND}`; export r; \
13053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13054 $(SET_LIB_PATH) \
13055 $(HOST_EXPORTS) \
13056 for flag in $(EXTRA_HOST_FLAGS) ; do \
13057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13058 done; \
13059 echo "Doing distclean in libgui" ; \
13060 (cd libgui && \
13061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13063 "RANLIB=$${RANLIB}" \
13064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13065 distclean) \
13066 || exit 1
13068 @endif libgui
13070 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
13071 maybe-maintainer-clean-libgui:
13072 @if libgui
13073 maybe-maintainer-clean-libgui: maintainer-clean-libgui
13075 maintainer-clean-libgui:
13076 @[ -f ./libgui/Makefile ] || exit 0; \
13077 r=`${PWD_COMMAND}`; export r; \
13078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13079 $(SET_LIB_PATH) \
13080 $(HOST_EXPORTS) \
13081 for flag in $(EXTRA_HOST_FLAGS) ; do \
13082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13083 done; \
13084 echo "Doing maintainer-clean in libgui" ; \
13085 (cd libgui && \
13086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13088 "RANLIB=$${RANLIB}" \
13089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13090 maintainer-clean) \
13091 || exit 1
13093 @endif libgui
13096 .PHONY: configure-libiberty maybe-configure-libiberty
13097 maybe-configure-libiberty:
13098 @if libiberty
13099 maybe-configure-libiberty: configure-libiberty
13100 configure-libiberty:
13101 @test -f stage_last && exit 0; \
13102 test ! -f libiberty/Makefile || exit 0; \
13103 [ -d libiberty ] || mkdir libiberty; \
13104 r=`${PWD_COMMAND}`; export r; \
13105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13106 $(HOST_EXPORTS) \
13107 echo Configuring in libiberty; \
13108 cd libiberty || exit 1; \
13109 case $(srcdir) in \
13110 \.) \
13111 srcdiroption="--srcdir=."; \
13112 libsrcdir=".";; \
13113 /* | [A-Za-z]:[\\/]*) \
13114 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
13115 libsrcdir="$$s/libiberty";; \
13116 *) \
13117 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
13118 libsrcdir="$$s/libiberty";; \
13119 esac; \
13120 $(SHELL) $${libsrcdir}/configure \
13121 $(HOST_CONFIGARGS) $${srcdiroption} \
13122 || exit 1
13123 @endif libiberty
13125 .PHONY: all-libiberty maybe-all-libiberty
13126 maybe-all-libiberty:
13127 @if libiberty
13128 TARGET-libiberty=all
13129 maybe-all-libiberty: all-libiberty
13130 all-libiberty: configure-libiberty
13131 @test -f stage_last && exit 0; \
13132 r=`${PWD_COMMAND}`; export r; \
13133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13134 $(SET_LIB_PATH) \
13135 $(HOST_EXPORTS) \
13136 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) \
13137 $(TARGET-libiberty))
13138 @endif libiberty
13140 .PHONY: check-libiberty maybe-check-libiberty
13141 maybe-check-libiberty:
13142 @if libiberty
13143 maybe-check-libiberty: check-libiberty
13145 check-libiberty:
13146 @r=`${PWD_COMMAND}`; export r; \
13147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13148 $(SET_LIB_PATH) \
13149 $(HOST_EXPORTS) \
13150 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
13152 @endif libiberty
13154 .PHONY: install-libiberty maybe-install-libiberty
13155 maybe-install-libiberty:
13156 @if libiberty
13157 maybe-install-libiberty: install-libiberty
13159 install-libiberty: installdirs
13160 @r=`${PWD_COMMAND}`; export r; \
13161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13162 $(SET_LIB_PATH) \
13163 $(HOST_EXPORTS) \
13164 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
13166 @endif libiberty
13168 # Other targets (info, dvi, etc.)
13170 .PHONY: maybe-info-libiberty info-libiberty
13171 maybe-info-libiberty:
13172 @if libiberty
13173 maybe-info-libiberty: info-libiberty
13175 info-libiberty: \
13176 configure-libiberty
13177 @[ -f ./libiberty/Makefile ] || exit 0; \
13178 r=`${PWD_COMMAND}`; export r; \
13179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13180 $(SET_LIB_PATH) \
13181 $(HOST_EXPORTS) \
13182 for flag in $(EXTRA_HOST_FLAGS) ; do \
13183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13184 done; \
13185 echo "Doing info in libiberty" ; \
13186 (cd libiberty && \
13187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13189 "RANLIB=$${RANLIB}" \
13190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13191 info) \
13192 || exit 1
13194 @endif libiberty
13196 .PHONY: maybe-dvi-libiberty dvi-libiberty
13197 maybe-dvi-libiberty:
13198 @if libiberty
13199 maybe-dvi-libiberty: dvi-libiberty
13201 dvi-libiberty: \
13202 configure-libiberty
13203 @[ -f ./libiberty/Makefile ] || exit 0; \
13204 r=`${PWD_COMMAND}`; export r; \
13205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13206 $(SET_LIB_PATH) \
13207 $(HOST_EXPORTS) \
13208 for flag in $(EXTRA_HOST_FLAGS) ; do \
13209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13210 done; \
13211 echo "Doing dvi in libiberty" ; \
13212 (cd libiberty && \
13213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13215 "RANLIB=$${RANLIB}" \
13216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13217 dvi) \
13218 || exit 1
13220 @endif libiberty
13222 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
13223 maybe-TAGS-libiberty:
13224 @if libiberty
13225 maybe-TAGS-libiberty: TAGS-libiberty
13227 TAGS-libiberty: \
13228 configure-libiberty
13229 @[ -f ./libiberty/Makefile ] || exit 0; \
13230 r=`${PWD_COMMAND}`; export r; \
13231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13232 $(SET_LIB_PATH) \
13233 $(HOST_EXPORTS) \
13234 for flag in $(EXTRA_HOST_FLAGS) ; do \
13235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13236 done; \
13237 echo "Doing TAGS in libiberty" ; \
13238 (cd libiberty && \
13239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13241 "RANLIB=$${RANLIB}" \
13242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13243 TAGS) \
13244 || exit 1
13246 @endif libiberty
13248 .PHONY: maybe-install-info-libiberty install-info-libiberty
13249 maybe-install-info-libiberty:
13250 @if libiberty
13251 maybe-install-info-libiberty: install-info-libiberty
13253 install-info-libiberty: \
13254 configure-libiberty \
13255 info-libiberty
13256 @[ -f ./libiberty/Makefile ] || exit 0; \
13257 r=`${PWD_COMMAND}`; export r; \
13258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13259 $(SET_LIB_PATH) \
13260 $(HOST_EXPORTS) \
13261 for flag in $(EXTRA_HOST_FLAGS) ; do \
13262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13263 done; \
13264 echo "Doing install-info in libiberty" ; \
13265 (cd libiberty && \
13266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13268 "RANLIB=$${RANLIB}" \
13269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13270 install-info) \
13271 || exit 1
13273 @endif libiberty
13275 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
13276 maybe-installcheck-libiberty:
13277 @if libiberty
13278 maybe-installcheck-libiberty: installcheck-libiberty
13280 installcheck-libiberty: \
13281 configure-libiberty
13282 @[ -f ./libiberty/Makefile ] || exit 0; \
13283 r=`${PWD_COMMAND}`; export r; \
13284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13285 $(SET_LIB_PATH) \
13286 $(HOST_EXPORTS) \
13287 for flag in $(EXTRA_HOST_FLAGS) ; do \
13288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13289 done; \
13290 echo "Doing installcheck in libiberty" ; \
13291 (cd libiberty && \
13292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13294 "RANLIB=$${RANLIB}" \
13295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13296 installcheck) \
13297 || exit 1
13299 @endif libiberty
13301 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
13302 maybe-mostlyclean-libiberty:
13303 @if libiberty
13304 maybe-mostlyclean-libiberty: mostlyclean-libiberty
13306 mostlyclean-libiberty:
13307 @[ -f ./libiberty/Makefile ] || exit 0; \
13308 r=`${PWD_COMMAND}`; export r; \
13309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13310 $(SET_LIB_PATH) \
13311 $(HOST_EXPORTS) \
13312 for flag in $(EXTRA_HOST_FLAGS) ; do \
13313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13314 done; \
13315 echo "Doing mostlyclean in libiberty" ; \
13316 (cd libiberty && \
13317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13319 "RANLIB=$${RANLIB}" \
13320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13321 mostlyclean) \
13322 || exit 1
13324 @endif libiberty
13326 .PHONY: maybe-clean-libiberty clean-libiberty
13327 maybe-clean-libiberty:
13328 @if libiberty
13329 maybe-clean-libiberty: clean-libiberty
13331 clean-libiberty:
13332 @[ -f ./libiberty/Makefile ] || exit 0; \
13333 r=`${PWD_COMMAND}`; export r; \
13334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13335 $(SET_LIB_PATH) \
13336 $(HOST_EXPORTS) \
13337 for flag in $(EXTRA_HOST_FLAGS) ; do \
13338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13339 done; \
13340 echo "Doing clean in libiberty" ; \
13341 (cd libiberty && \
13342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13344 "RANLIB=$${RANLIB}" \
13345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13346 clean) \
13347 || exit 1
13349 @endif libiberty
13351 .PHONY: maybe-distclean-libiberty distclean-libiberty
13352 maybe-distclean-libiberty:
13353 @if libiberty
13354 maybe-distclean-libiberty: distclean-libiberty
13356 distclean-libiberty:
13357 @[ -f ./libiberty/Makefile ] || exit 0; \
13358 r=`${PWD_COMMAND}`; export r; \
13359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13360 $(SET_LIB_PATH) \
13361 $(HOST_EXPORTS) \
13362 for flag in $(EXTRA_HOST_FLAGS) ; do \
13363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13364 done; \
13365 echo "Doing distclean in libiberty" ; \
13366 (cd libiberty && \
13367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13369 "RANLIB=$${RANLIB}" \
13370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13371 distclean) \
13372 || exit 1
13374 @endif libiberty
13376 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13377 maybe-maintainer-clean-libiberty:
13378 @if libiberty
13379 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13381 maintainer-clean-libiberty:
13382 @[ -f ./libiberty/Makefile ] || exit 0; \
13383 r=`${PWD_COMMAND}`; export r; \
13384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13385 $(SET_LIB_PATH) \
13386 $(HOST_EXPORTS) \
13387 for flag in $(EXTRA_HOST_FLAGS) ; do \
13388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13389 done; \
13390 echo "Doing maintainer-clean in libiberty" ; \
13391 (cd libiberty && \
13392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13394 "RANLIB=$${RANLIB}" \
13395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13396 maintainer-clean) \
13397 || exit 1
13399 @endif libiberty
13402 .PHONY: configure-libtool maybe-configure-libtool
13403 maybe-configure-libtool:
13404 @if libtool
13405 maybe-configure-libtool: configure-libtool
13406 configure-libtool:
13407 @test ! -f libtool/Makefile || exit 0; \
13408 [ -d libtool ] || mkdir libtool; \
13409 r=`${PWD_COMMAND}`; export r; \
13410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13411 $(HOST_EXPORTS) \
13412 echo Configuring in libtool; \
13413 cd libtool || exit 1; \
13414 case $(srcdir) in \
13415 \.) \
13416 srcdiroption="--srcdir=."; \
13417 libsrcdir=".";; \
13418 /* | [A-Za-z]:[\\/]*) \
13419 srcdiroption="--srcdir=$(srcdir)/libtool"; \
13420 libsrcdir="$$s/libtool";; \
13421 *) \
13422 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
13423 libsrcdir="$$s/libtool";; \
13424 esac; \
13425 $(SHELL) $${libsrcdir}/configure \
13426 $(HOST_CONFIGARGS) $${srcdiroption} \
13427 || exit 1
13428 @endif libtool
13430 .PHONY: all-libtool maybe-all-libtool
13431 maybe-all-libtool:
13432 @if libtool
13433 TARGET-libtool=all
13434 maybe-all-libtool: all-libtool
13435 all-libtool: configure-libtool
13436 @r=`${PWD_COMMAND}`; export r; \
13437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13438 $(SET_LIB_PATH) \
13439 $(HOST_EXPORTS) \
13440 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) \
13441 $(TARGET-libtool))
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 TARGET-m4=all
13738 maybe-all-m4: all-m4
13739 all-m4: configure-m4
13740 @r=`${PWD_COMMAND}`; export r; \
13741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13742 $(SET_LIB_PATH) \
13743 $(HOST_EXPORTS) \
13744 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) \
13745 $(TARGET-m4))
13746 @endif m4
13748 .PHONY: check-m4 maybe-check-m4
13749 maybe-check-m4:
13750 @if m4
13751 maybe-check-m4: check-m4
13753 check-m4:
13754 @r=`${PWD_COMMAND}`; export r; \
13755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13756 $(SET_LIB_PATH) \
13757 $(HOST_EXPORTS) \
13758 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13760 @endif m4
13762 .PHONY: install-m4 maybe-install-m4
13763 maybe-install-m4:
13764 @if m4
13765 maybe-install-m4: install-m4
13767 install-m4: installdirs
13768 @r=`${PWD_COMMAND}`; export r; \
13769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13770 $(SET_LIB_PATH) \
13771 $(HOST_EXPORTS) \
13772 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13774 @endif m4
13776 # Other targets (info, dvi, etc.)
13778 .PHONY: maybe-info-m4 info-m4
13779 maybe-info-m4:
13780 @if m4
13781 maybe-info-m4: info-m4
13783 info-m4: \
13784 configure-m4
13785 @[ -f ./m4/Makefile ] || exit 0; \
13786 r=`${PWD_COMMAND}`; export r; \
13787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13788 $(SET_LIB_PATH) \
13789 $(HOST_EXPORTS) \
13790 for flag in $(EXTRA_HOST_FLAGS) ; do \
13791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13792 done; \
13793 echo "Doing info in m4" ; \
13794 (cd m4 && \
13795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13797 "RANLIB=$${RANLIB}" \
13798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13799 info) \
13800 || exit 1
13802 @endif m4
13804 .PHONY: maybe-dvi-m4 dvi-m4
13805 maybe-dvi-m4:
13806 @if m4
13807 maybe-dvi-m4: dvi-m4
13809 dvi-m4: \
13810 configure-m4
13811 @[ -f ./m4/Makefile ] || exit 0; \
13812 r=`${PWD_COMMAND}`; export r; \
13813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13814 $(SET_LIB_PATH) \
13815 $(HOST_EXPORTS) \
13816 for flag in $(EXTRA_HOST_FLAGS) ; do \
13817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13818 done; \
13819 echo "Doing dvi in m4" ; \
13820 (cd m4 && \
13821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13823 "RANLIB=$${RANLIB}" \
13824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13825 dvi) \
13826 || exit 1
13828 @endif m4
13830 .PHONY: maybe-TAGS-m4 TAGS-m4
13831 maybe-TAGS-m4:
13832 @if m4
13833 maybe-TAGS-m4: TAGS-m4
13835 TAGS-m4: \
13836 configure-m4
13837 @[ -f ./m4/Makefile ] || exit 0; \
13838 r=`${PWD_COMMAND}`; export r; \
13839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13840 $(SET_LIB_PATH) \
13841 $(HOST_EXPORTS) \
13842 for flag in $(EXTRA_HOST_FLAGS) ; do \
13843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13844 done; \
13845 echo "Doing TAGS in m4" ; \
13846 (cd m4 && \
13847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13849 "RANLIB=$${RANLIB}" \
13850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13851 TAGS) \
13852 || exit 1
13854 @endif m4
13856 .PHONY: maybe-install-info-m4 install-info-m4
13857 maybe-install-info-m4:
13858 @if m4
13859 maybe-install-info-m4: install-info-m4
13861 install-info-m4: \
13862 configure-m4 \
13863 info-m4
13864 @[ -f ./m4/Makefile ] || exit 0; \
13865 r=`${PWD_COMMAND}`; export r; \
13866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13867 $(SET_LIB_PATH) \
13868 $(HOST_EXPORTS) \
13869 for flag in $(EXTRA_HOST_FLAGS) ; do \
13870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13871 done; \
13872 echo "Doing install-info in m4" ; \
13873 (cd m4 && \
13874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13876 "RANLIB=$${RANLIB}" \
13877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13878 install-info) \
13879 || exit 1
13881 @endif m4
13883 .PHONY: maybe-installcheck-m4 installcheck-m4
13884 maybe-installcheck-m4:
13885 @if m4
13886 maybe-installcheck-m4: installcheck-m4
13888 installcheck-m4: \
13889 configure-m4
13890 @[ -f ./m4/Makefile ] || exit 0; \
13891 r=`${PWD_COMMAND}`; export r; \
13892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13893 $(SET_LIB_PATH) \
13894 $(HOST_EXPORTS) \
13895 for flag in $(EXTRA_HOST_FLAGS) ; do \
13896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13897 done; \
13898 echo "Doing installcheck in m4" ; \
13899 (cd m4 && \
13900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13902 "RANLIB=$${RANLIB}" \
13903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13904 installcheck) \
13905 || exit 1
13907 @endif m4
13909 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13910 maybe-mostlyclean-m4:
13911 @if m4
13912 maybe-mostlyclean-m4: mostlyclean-m4
13914 mostlyclean-m4:
13915 @[ -f ./m4/Makefile ] || exit 0; \
13916 r=`${PWD_COMMAND}`; export r; \
13917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13918 $(SET_LIB_PATH) \
13919 $(HOST_EXPORTS) \
13920 for flag in $(EXTRA_HOST_FLAGS) ; do \
13921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13922 done; \
13923 echo "Doing mostlyclean in m4" ; \
13924 (cd m4 && \
13925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13927 "RANLIB=$${RANLIB}" \
13928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13929 mostlyclean) \
13930 || exit 1
13932 @endif m4
13934 .PHONY: maybe-clean-m4 clean-m4
13935 maybe-clean-m4:
13936 @if m4
13937 maybe-clean-m4: clean-m4
13939 clean-m4:
13940 @[ -f ./m4/Makefile ] || exit 0; \
13941 r=`${PWD_COMMAND}`; export r; \
13942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13943 $(SET_LIB_PATH) \
13944 $(HOST_EXPORTS) \
13945 for flag in $(EXTRA_HOST_FLAGS) ; do \
13946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13947 done; \
13948 echo "Doing clean in m4" ; \
13949 (cd m4 && \
13950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13952 "RANLIB=$${RANLIB}" \
13953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13954 clean) \
13955 || exit 1
13957 @endif m4
13959 .PHONY: maybe-distclean-m4 distclean-m4
13960 maybe-distclean-m4:
13961 @if m4
13962 maybe-distclean-m4: distclean-m4
13964 distclean-m4:
13965 @[ -f ./m4/Makefile ] || exit 0; \
13966 r=`${PWD_COMMAND}`; export r; \
13967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13968 $(SET_LIB_PATH) \
13969 $(HOST_EXPORTS) \
13970 for flag in $(EXTRA_HOST_FLAGS) ; do \
13971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13972 done; \
13973 echo "Doing distclean in m4" ; \
13974 (cd m4 && \
13975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13977 "RANLIB=$${RANLIB}" \
13978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13979 distclean) \
13980 || exit 1
13982 @endif m4
13984 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13985 maybe-maintainer-clean-m4:
13986 @if m4
13987 maybe-maintainer-clean-m4: maintainer-clean-m4
13989 maintainer-clean-m4:
13990 @[ -f ./m4/Makefile ] || exit 0; \
13991 r=`${PWD_COMMAND}`; export r; \
13992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13993 $(SET_LIB_PATH) \
13994 $(HOST_EXPORTS) \
13995 for flag in $(EXTRA_HOST_FLAGS) ; do \
13996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13997 done; \
13998 echo "Doing maintainer-clean in m4" ; \
13999 (cd m4 && \
14000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14002 "RANLIB=$${RANLIB}" \
14003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14004 maintainer-clean) \
14005 || exit 1
14007 @endif m4
14010 .PHONY: configure-make maybe-configure-make
14011 maybe-configure-make:
14012 @if make
14013 maybe-configure-make: configure-make
14014 configure-make:
14015 @test ! -f make/Makefile || exit 0; \
14016 [ -d make ] || mkdir make; \
14017 r=`${PWD_COMMAND}`; export r; \
14018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14019 $(HOST_EXPORTS) \
14020 echo Configuring in make; \
14021 cd make || exit 1; \
14022 case $(srcdir) in \
14023 \.) \
14024 srcdiroption="--srcdir=."; \
14025 libsrcdir=".";; \
14026 /* | [A-Za-z]:[\\/]*) \
14027 srcdiroption="--srcdir=$(srcdir)/make"; \
14028 libsrcdir="$$s/make";; \
14029 *) \
14030 srcdiroption="--srcdir=../$(srcdir)/make"; \
14031 libsrcdir="$$s/make";; \
14032 esac; \
14033 $(SHELL) $${libsrcdir}/configure \
14034 $(HOST_CONFIGARGS) $${srcdiroption} \
14035 || exit 1
14036 @endif make
14038 .PHONY: all-make maybe-all-make
14039 maybe-all-make:
14040 @if make
14041 TARGET-make=all
14042 maybe-all-make: all-make
14043 all-make: configure-make
14044 @r=`${PWD_COMMAND}`; export r; \
14045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14046 $(SET_LIB_PATH) \
14047 $(HOST_EXPORTS) \
14048 (cd make && $(MAKE) $(FLAGS_TO_PASS) \
14049 $(TARGET-make))
14050 @endif make
14052 .PHONY: check-make maybe-check-make
14053 maybe-check-make:
14054 @if make
14055 maybe-check-make: check-make
14057 check-make:
14058 @r=`${PWD_COMMAND}`; export r; \
14059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14060 $(SET_LIB_PATH) \
14061 $(HOST_EXPORTS) \
14062 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
14064 @endif make
14066 .PHONY: install-make maybe-install-make
14067 maybe-install-make:
14068 @if make
14069 maybe-install-make: install-make
14071 install-make: installdirs
14072 @r=`${PWD_COMMAND}`; export r; \
14073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14074 $(SET_LIB_PATH) \
14075 $(HOST_EXPORTS) \
14076 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
14078 @endif make
14080 # Other targets (info, dvi, etc.)
14082 .PHONY: maybe-info-make info-make
14083 maybe-info-make:
14084 @if make
14085 maybe-info-make: info-make
14087 info-make: \
14088 configure-make
14089 @[ -f ./make/Makefile ] || exit 0; \
14090 r=`${PWD_COMMAND}`; export r; \
14091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14092 $(SET_LIB_PATH) \
14093 $(HOST_EXPORTS) \
14094 for flag in $(EXTRA_HOST_FLAGS) ; do \
14095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14096 done; \
14097 echo "Doing info in make" ; \
14098 (cd make && \
14099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14101 "RANLIB=$${RANLIB}" \
14102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14103 info) \
14104 || exit 1
14106 @endif make
14108 .PHONY: maybe-dvi-make dvi-make
14109 maybe-dvi-make:
14110 @if make
14111 maybe-dvi-make: dvi-make
14113 dvi-make: \
14114 configure-make
14115 @[ -f ./make/Makefile ] || exit 0; \
14116 r=`${PWD_COMMAND}`; export r; \
14117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14118 $(SET_LIB_PATH) \
14119 $(HOST_EXPORTS) \
14120 for flag in $(EXTRA_HOST_FLAGS) ; do \
14121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14122 done; \
14123 echo "Doing dvi in make" ; \
14124 (cd make && \
14125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14127 "RANLIB=$${RANLIB}" \
14128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14129 dvi) \
14130 || exit 1
14132 @endif make
14134 .PHONY: maybe-TAGS-make TAGS-make
14135 maybe-TAGS-make:
14136 @if make
14137 maybe-TAGS-make: TAGS-make
14139 TAGS-make: \
14140 configure-make
14141 @[ -f ./make/Makefile ] || exit 0; \
14142 r=`${PWD_COMMAND}`; export r; \
14143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14144 $(SET_LIB_PATH) \
14145 $(HOST_EXPORTS) \
14146 for flag in $(EXTRA_HOST_FLAGS) ; do \
14147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14148 done; \
14149 echo "Doing TAGS in make" ; \
14150 (cd make && \
14151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14153 "RANLIB=$${RANLIB}" \
14154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14155 TAGS) \
14156 || exit 1
14158 @endif make
14160 .PHONY: maybe-install-info-make install-info-make
14161 maybe-install-info-make:
14162 @if make
14163 maybe-install-info-make: install-info-make
14165 install-info-make: \
14166 configure-make \
14167 info-make
14168 @[ -f ./make/Makefile ] || exit 0; \
14169 r=`${PWD_COMMAND}`; export r; \
14170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14171 $(SET_LIB_PATH) \
14172 $(HOST_EXPORTS) \
14173 for flag in $(EXTRA_HOST_FLAGS) ; do \
14174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14175 done; \
14176 echo "Doing install-info in make" ; \
14177 (cd make && \
14178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14180 "RANLIB=$${RANLIB}" \
14181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14182 install-info) \
14183 || exit 1
14185 @endif make
14187 .PHONY: maybe-installcheck-make installcheck-make
14188 maybe-installcheck-make:
14189 @if make
14190 maybe-installcheck-make: installcheck-make
14192 installcheck-make: \
14193 configure-make
14194 @[ -f ./make/Makefile ] || exit 0; \
14195 r=`${PWD_COMMAND}`; export r; \
14196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14197 $(SET_LIB_PATH) \
14198 $(HOST_EXPORTS) \
14199 for flag in $(EXTRA_HOST_FLAGS) ; do \
14200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14201 done; \
14202 echo "Doing installcheck in make" ; \
14203 (cd make && \
14204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14206 "RANLIB=$${RANLIB}" \
14207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14208 installcheck) \
14209 || exit 1
14211 @endif make
14213 .PHONY: maybe-mostlyclean-make mostlyclean-make
14214 maybe-mostlyclean-make:
14215 @if make
14216 maybe-mostlyclean-make: mostlyclean-make
14218 mostlyclean-make:
14219 @[ -f ./make/Makefile ] || exit 0; \
14220 r=`${PWD_COMMAND}`; export r; \
14221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14222 $(SET_LIB_PATH) \
14223 $(HOST_EXPORTS) \
14224 for flag in $(EXTRA_HOST_FLAGS) ; do \
14225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14226 done; \
14227 echo "Doing mostlyclean in make" ; \
14228 (cd make && \
14229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14231 "RANLIB=$${RANLIB}" \
14232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14233 mostlyclean) \
14234 || exit 1
14236 @endif make
14238 .PHONY: maybe-clean-make clean-make
14239 maybe-clean-make:
14240 @if make
14241 maybe-clean-make: clean-make
14243 clean-make:
14244 @[ -f ./make/Makefile ] || exit 0; \
14245 r=`${PWD_COMMAND}`; export r; \
14246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14247 $(SET_LIB_PATH) \
14248 $(HOST_EXPORTS) \
14249 for flag in $(EXTRA_HOST_FLAGS) ; do \
14250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14251 done; \
14252 echo "Doing clean in make" ; \
14253 (cd make && \
14254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14256 "RANLIB=$${RANLIB}" \
14257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14258 clean) \
14259 || exit 1
14261 @endif make
14263 .PHONY: maybe-distclean-make distclean-make
14264 maybe-distclean-make:
14265 @if make
14266 maybe-distclean-make: distclean-make
14268 distclean-make:
14269 @[ -f ./make/Makefile ] || exit 0; \
14270 r=`${PWD_COMMAND}`; export r; \
14271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14272 $(SET_LIB_PATH) \
14273 $(HOST_EXPORTS) \
14274 for flag in $(EXTRA_HOST_FLAGS) ; do \
14275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14276 done; \
14277 echo "Doing distclean in make" ; \
14278 (cd make && \
14279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14281 "RANLIB=$${RANLIB}" \
14282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14283 distclean) \
14284 || exit 1
14286 @endif make
14288 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
14289 maybe-maintainer-clean-make:
14290 @if make
14291 maybe-maintainer-clean-make: maintainer-clean-make
14293 maintainer-clean-make:
14294 @[ -f ./make/Makefile ] || exit 0; \
14295 r=`${PWD_COMMAND}`; export r; \
14296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14297 $(SET_LIB_PATH) \
14298 $(HOST_EXPORTS) \
14299 for flag in $(EXTRA_HOST_FLAGS) ; do \
14300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14301 done; \
14302 echo "Doing maintainer-clean in make" ; \
14303 (cd make && \
14304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14306 "RANLIB=$${RANLIB}" \
14307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14308 maintainer-clean) \
14309 || exit 1
14311 @endif make
14314 .PHONY: configure-mmalloc maybe-configure-mmalloc
14315 maybe-configure-mmalloc:
14316 @if mmalloc
14317 maybe-configure-mmalloc: configure-mmalloc
14318 configure-mmalloc:
14319 @test ! -f mmalloc/Makefile || exit 0; \
14320 [ -d mmalloc ] || mkdir mmalloc; \
14321 r=`${PWD_COMMAND}`; export r; \
14322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14323 $(HOST_EXPORTS) \
14324 echo Configuring in mmalloc; \
14325 cd mmalloc || exit 1; \
14326 case $(srcdir) in \
14327 \.) \
14328 srcdiroption="--srcdir=."; \
14329 libsrcdir=".";; \
14330 /* | [A-Za-z]:[\\/]*) \
14331 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
14332 libsrcdir="$$s/mmalloc";; \
14333 *) \
14334 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
14335 libsrcdir="$$s/mmalloc";; \
14336 esac; \
14337 $(SHELL) $${libsrcdir}/configure \
14338 $(HOST_CONFIGARGS) $${srcdiroption} \
14339 || exit 1
14340 @endif mmalloc
14342 .PHONY: all-mmalloc maybe-all-mmalloc
14343 maybe-all-mmalloc:
14344 @if mmalloc
14345 TARGET-mmalloc=all
14346 maybe-all-mmalloc: all-mmalloc
14347 all-mmalloc: configure-mmalloc
14348 @r=`${PWD_COMMAND}`; export r; \
14349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14350 $(SET_LIB_PATH) \
14351 $(HOST_EXPORTS) \
14352 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) \
14353 $(TARGET-mmalloc))
14354 @endif mmalloc
14356 .PHONY: check-mmalloc maybe-check-mmalloc
14357 maybe-check-mmalloc:
14358 @if mmalloc
14359 maybe-check-mmalloc: check-mmalloc
14361 check-mmalloc:
14363 @endif mmalloc
14365 .PHONY: install-mmalloc maybe-install-mmalloc
14366 maybe-install-mmalloc:
14367 @if mmalloc
14368 maybe-install-mmalloc: install-mmalloc
14370 install-mmalloc: installdirs
14371 @r=`${PWD_COMMAND}`; export r; \
14372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14373 $(SET_LIB_PATH) \
14374 $(HOST_EXPORTS) \
14375 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
14377 @endif mmalloc
14379 # Other targets (info, dvi, etc.)
14381 .PHONY: maybe-info-mmalloc info-mmalloc
14382 maybe-info-mmalloc:
14383 @if mmalloc
14384 maybe-info-mmalloc: info-mmalloc
14386 info-mmalloc: \
14387 configure-mmalloc
14388 @[ -f ./mmalloc/Makefile ] || exit 0; \
14389 r=`${PWD_COMMAND}`; export r; \
14390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14391 $(SET_LIB_PATH) \
14392 $(HOST_EXPORTS) \
14393 for flag in $(EXTRA_HOST_FLAGS) ; do \
14394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14395 done; \
14396 echo "Doing info in mmalloc" ; \
14397 (cd mmalloc && \
14398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14400 "RANLIB=$${RANLIB}" \
14401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14402 info) \
14403 || exit 1
14405 @endif mmalloc
14407 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14408 maybe-dvi-mmalloc:
14409 @if mmalloc
14410 maybe-dvi-mmalloc: dvi-mmalloc
14412 dvi-mmalloc: \
14413 configure-mmalloc
14414 @[ -f ./mmalloc/Makefile ] || exit 0; \
14415 r=`${PWD_COMMAND}`; export r; \
14416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14417 $(SET_LIB_PATH) \
14418 $(HOST_EXPORTS) \
14419 for flag in $(EXTRA_HOST_FLAGS) ; do \
14420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14421 done; \
14422 echo "Doing dvi in mmalloc" ; \
14423 (cd mmalloc && \
14424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14426 "RANLIB=$${RANLIB}" \
14427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14428 dvi) \
14429 || exit 1
14431 @endif mmalloc
14433 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14434 maybe-TAGS-mmalloc:
14435 @if mmalloc
14436 maybe-TAGS-mmalloc: TAGS-mmalloc
14438 TAGS-mmalloc: \
14439 configure-mmalloc
14440 @[ -f ./mmalloc/Makefile ] || exit 0; \
14441 r=`${PWD_COMMAND}`; export r; \
14442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14443 $(SET_LIB_PATH) \
14444 $(HOST_EXPORTS) \
14445 for flag in $(EXTRA_HOST_FLAGS) ; do \
14446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14447 done; \
14448 echo "Doing TAGS in mmalloc" ; \
14449 (cd mmalloc && \
14450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14452 "RANLIB=$${RANLIB}" \
14453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14454 TAGS) \
14455 || exit 1
14457 @endif mmalloc
14459 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14460 maybe-install-info-mmalloc:
14461 @if mmalloc
14462 maybe-install-info-mmalloc: install-info-mmalloc
14464 install-info-mmalloc: \
14465 configure-mmalloc \
14466 info-mmalloc
14467 @[ -f ./mmalloc/Makefile ] || exit 0; \
14468 r=`${PWD_COMMAND}`; export r; \
14469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14470 $(SET_LIB_PATH) \
14471 $(HOST_EXPORTS) \
14472 for flag in $(EXTRA_HOST_FLAGS) ; do \
14473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14474 done; \
14475 echo "Doing install-info in mmalloc" ; \
14476 (cd mmalloc && \
14477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14479 "RANLIB=$${RANLIB}" \
14480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14481 install-info) \
14482 || exit 1
14484 @endif mmalloc
14486 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14487 maybe-installcheck-mmalloc:
14488 @if mmalloc
14489 maybe-installcheck-mmalloc: installcheck-mmalloc
14491 installcheck-mmalloc: \
14492 configure-mmalloc
14493 @[ -f ./mmalloc/Makefile ] || exit 0; \
14494 r=`${PWD_COMMAND}`; export r; \
14495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14496 $(SET_LIB_PATH) \
14497 $(HOST_EXPORTS) \
14498 for flag in $(EXTRA_HOST_FLAGS) ; do \
14499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14500 done; \
14501 echo "Doing installcheck in mmalloc" ; \
14502 (cd mmalloc && \
14503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14505 "RANLIB=$${RANLIB}" \
14506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14507 installcheck) \
14508 || exit 1
14510 @endif mmalloc
14512 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14513 maybe-mostlyclean-mmalloc:
14514 @if mmalloc
14515 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14517 mostlyclean-mmalloc:
14518 @[ -f ./mmalloc/Makefile ] || exit 0; \
14519 r=`${PWD_COMMAND}`; export r; \
14520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14521 $(SET_LIB_PATH) \
14522 $(HOST_EXPORTS) \
14523 for flag in $(EXTRA_HOST_FLAGS) ; do \
14524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14525 done; \
14526 echo "Doing mostlyclean in mmalloc" ; \
14527 (cd mmalloc && \
14528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14530 "RANLIB=$${RANLIB}" \
14531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14532 mostlyclean) \
14533 || exit 1
14535 @endif mmalloc
14537 .PHONY: maybe-clean-mmalloc clean-mmalloc
14538 maybe-clean-mmalloc:
14539 @if mmalloc
14540 maybe-clean-mmalloc: clean-mmalloc
14542 clean-mmalloc:
14543 @[ -f ./mmalloc/Makefile ] || exit 0; \
14544 r=`${PWD_COMMAND}`; export r; \
14545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14546 $(SET_LIB_PATH) \
14547 $(HOST_EXPORTS) \
14548 for flag in $(EXTRA_HOST_FLAGS) ; do \
14549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14550 done; \
14551 echo "Doing clean in mmalloc" ; \
14552 (cd mmalloc && \
14553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14555 "RANLIB=$${RANLIB}" \
14556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14557 clean) \
14558 || exit 1
14560 @endif mmalloc
14562 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14563 maybe-distclean-mmalloc:
14564 @if mmalloc
14565 maybe-distclean-mmalloc: distclean-mmalloc
14567 distclean-mmalloc:
14568 @[ -f ./mmalloc/Makefile ] || exit 0; \
14569 r=`${PWD_COMMAND}`; export r; \
14570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14571 $(SET_LIB_PATH) \
14572 $(HOST_EXPORTS) \
14573 for flag in $(EXTRA_HOST_FLAGS) ; do \
14574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14575 done; \
14576 echo "Doing distclean in mmalloc" ; \
14577 (cd mmalloc && \
14578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14580 "RANLIB=$${RANLIB}" \
14581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14582 distclean) \
14583 || exit 1
14585 @endif mmalloc
14587 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14588 maybe-maintainer-clean-mmalloc:
14589 @if mmalloc
14590 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14592 maintainer-clean-mmalloc:
14593 @[ -f ./mmalloc/Makefile ] || exit 0; \
14594 r=`${PWD_COMMAND}`; export r; \
14595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14596 $(SET_LIB_PATH) \
14597 $(HOST_EXPORTS) \
14598 for flag in $(EXTRA_HOST_FLAGS) ; do \
14599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14600 done; \
14601 echo "Doing maintainer-clean in mmalloc" ; \
14602 (cd mmalloc && \
14603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14605 "RANLIB=$${RANLIB}" \
14606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14607 maintainer-clean) \
14608 || exit 1
14610 @endif mmalloc
14613 .PHONY: configure-patch maybe-configure-patch
14614 maybe-configure-patch:
14615 @if patch
14616 maybe-configure-patch: configure-patch
14617 configure-patch:
14618 @test ! -f patch/Makefile || exit 0; \
14619 [ -d patch ] || mkdir patch; \
14620 r=`${PWD_COMMAND}`; export r; \
14621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14622 $(HOST_EXPORTS) \
14623 echo Configuring in patch; \
14624 cd patch || exit 1; \
14625 case $(srcdir) in \
14626 \.) \
14627 srcdiroption="--srcdir=."; \
14628 libsrcdir=".";; \
14629 /* | [A-Za-z]:[\\/]*) \
14630 srcdiroption="--srcdir=$(srcdir)/patch"; \
14631 libsrcdir="$$s/patch";; \
14632 *) \
14633 srcdiroption="--srcdir=../$(srcdir)/patch"; \
14634 libsrcdir="$$s/patch";; \
14635 esac; \
14636 $(SHELL) $${libsrcdir}/configure \
14637 $(HOST_CONFIGARGS) $${srcdiroption} \
14638 || exit 1
14639 @endif patch
14641 .PHONY: all-patch maybe-all-patch
14642 maybe-all-patch:
14643 @if patch
14644 TARGET-patch=all
14645 maybe-all-patch: all-patch
14646 all-patch: configure-patch
14647 @r=`${PWD_COMMAND}`; export r; \
14648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14649 $(SET_LIB_PATH) \
14650 $(HOST_EXPORTS) \
14651 (cd patch && $(MAKE) $(FLAGS_TO_PASS) \
14652 $(TARGET-patch))
14653 @endif patch
14655 .PHONY: check-patch maybe-check-patch
14656 maybe-check-patch:
14657 @if patch
14658 maybe-check-patch: check-patch
14660 check-patch:
14661 @r=`${PWD_COMMAND}`; export r; \
14662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14663 $(SET_LIB_PATH) \
14664 $(HOST_EXPORTS) \
14665 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
14667 @endif patch
14669 .PHONY: install-patch maybe-install-patch
14670 maybe-install-patch:
14671 @if patch
14672 maybe-install-patch: install-patch
14674 install-patch: installdirs
14675 @r=`${PWD_COMMAND}`; export r; \
14676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14677 $(SET_LIB_PATH) \
14678 $(HOST_EXPORTS) \
14679 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
14681 @endif patch
14683 # Other targets (info, dvi, etc.)
14685 .PHONY: maybe-info-patch info-patch
14686 maybe-info-patch:
14687 @if patch
14688 maybe-info-patch: info-patch
14690 info-patch: \
14691 configure-patch
14692 @[ -f ./patch/Makefile ] || exit 0; \
14693 r=`${PWD_COMMAND}`; export r; \
14694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14695 $(SET_LIB_PATH) \
14696 $(HOST_EXPORTS) \
14697 for flag in $(EXTRA_HOST_FLAGS) ; do \
14698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14699 done; \
14700 echo "Doing info in patch" ; \
14701 (cd patch && \
14702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14704 "RANLIB=$${RANLIB}" \
14705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14706 info) \
14707 || exit 1
14709 @endif patch
14711 .PHONY: maybe-dvi-patch dvi-patch
14712 maybe-dvi-patch:
14713 @if patch
14714 maybe-dvi-patch: dvi-patch
14716 dvi-patch: \
14717 configure-patch
14718 @[ -f ./patch/Makefile ] || exit 0; \
14719 r=`${PWD_COMMAND}`; export r; \
14720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14721 $(SET_LIB_PATH) \
14722 $(HOST_EXPORTS) \
14723 for flag in $(EXTRA_HOST_FLAGS) ; do \
14724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14725 done; \
14726 echo "Doing dvi in patch" ; \
14727 (cd patch && \
14728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14730 "RANLIB=$${RANLIB}" \
14731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14732 dvi) \
14733 || exit 1
14735 @endif patch
14737 .PHONY: maybe-TAGS-patch TAGS-patch
14738 maybe-TAGS-patch:
14739 @if patch
14740 maybe-TAGS-patch: TAGS-patch
14742 TAGS-patch: \
14743 configure-patch
14744 @[ -f ./patch/Makefile ] || exit 0; \
14745 r=`${PWD_COMMAND}`; export r; \
14746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14747 $(SET_LIB_PATH) \
14748 $(HOST_EXPORTS) \
14749 for flag in $(EXTRA_HOST_FLAGS) ; do \
14750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14751 done; \
14752 echo "Doing TAGS in patch" ; \
14753 (cd patch && \
14754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14756 "RANLIB=$${RANLIB}" \
14757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14758 TAGS) \
14759 || exit 1
14761 @endif patch
14763 .PHONY: maybe-install-info-patch install-info-patch
14764 maybe-install-info-patch:
14765 @if patch
14766 maybe-install-info-patch: install-info-patch
14768 install-info-patch: \
14769 configure-patch \
14770 info-patch
14771 @[ -f ./patch/Makefile ] || exit 0; \
14772 r=`${PWD_COMMAND}`; export r; \
14773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14774 $(SET_LIB_PATH) \
14775 $(HOST_EXPORTS) \
14776 for flag in $(EXTRA_HOST_FLAGS) ; do \
14777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14778 done; \
14779 echo "Doing install-info in patch" ; \
14780 (cd patch && \
14781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14783 "RANLIB=$${RANLIB}" \
14784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14785 install-info) \
14786 || exit 1
14788 @endif patch
14790 .PHONY: maybe-installcheck-patch installcheck-patch
14791 maybe-installcheck-patch:
14792 @if patch
14793 maybe-installcheck-patch: installcheck-patch
14795 installcheck-patch: \
14796 configure-patch
14797 @[ -f ./patch/Makefile ] || exit 0; \
14798 r=`${PWD_COMMAND}`; export r; \
14799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14800 $(SET_LIB_PATH) \
14801 $(HOST_EXPORTS) \
14802 for flag in $(EXTRA_HOST_FLAGS) ; do \
14803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14804 done; \
14805 echo "Doing installcheck in patch" ; \
14806 (cd patch && \
14807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14809 "RANLIB=$${RANLIB}" \
14810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14811 installcheck) \
14812 || exit 1
14814 @endif patch
14816 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14817 maybe-mostlyclean-patch:
14818 @if patch
14819 maybe-mostlyclean-patch: mostlyclean-patch
14821 mostlyclean-patch:
14822 @[ -f ./patch/Makefile ] || exit 0; \
14823 r=`${PWD_COMMAND}`; export r; \
14824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14825 $(SET_LIB_PATH) \
14826 $(HOST_EXPORTS) \
14827 for flag in $(EXTRA_HOST_FLAGS) ; do \
14828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14829 done; \
14830 echo "Doing mostlyclean in patch" ; \
14831 (cd patch && \
14832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14834 "RANLIB=$${RANLIB}" \
14835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14836 mostlyclean) \
14837 || exit 1
14839 @endif patch
14841 .PHONY: maybe-clean-patch clean-patch
14842 maybe-clean-patch:
14843 @if patch
14844 maybe-clean-patch: clean-patch
14846 clean-patch:
14847 @[ -f ./patch/Makefile ] || exit 0; \
14848 r=`${PWD_COMMAND}`; export r; \
14849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14850 $(SET_LIB_PATH) \
14851 $(HOST_EXPORTS) \
14852 for flag in $(EXTRA_HOST_FLAGS) ; do \
14853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14854 done; \
14855 echo "Doing clean in patch" ; \
14856 (cd patch && \
14857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14859 "RANLIB=$${RANLIB}" \
14860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14861 clean) \
14862 || exit 1
14864 @endif patch
14866 .PHONY: maybe-distclean-patch distclean-patch
14867 maybe-distclean-patch:
14868 @if patch
14869 maybe-distclean-patch: distclean-patch
14871 distclean-patch:
14872 @[ -f ./patch/Makefile ] || exit 0; \
14873 r=`${PWD_COMMAND}`; export r; \
14874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14875 $(SET_LIB_PATH) \
14876 $(HOST_EXPORTS) \
14877 for flag in $(EXTRA_HOST_FLAGS) ; do \
14878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14879 done; \
14880 echo "Doing distclean in patch" ; \
14881 (cd patch && \
14882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14884 "RANLIB=$${RANLIB}" \
14885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14886 distclean) \
14887 || exit 1
14889 @endif patch
14891 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14892 maybe-maintainer-clean-patch:
14893 @if patch
14894 maybe-maintainer-clean-patch: maintainer-clean-patch
14896 maintainer-clean-patch:
14897 @[ -f ./patch/Makefile ] || exit 0; \
14898 r=`${PWD_COMMAND}`; export r; \
14899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14900 $(SET_LIB_PATH) \
14901 $(HOST_EXPORTS) \
14902 for flag in $(EXTRA_HOST_FLAGS) ; do \
14903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14904 done; \
14905 echo "Doing maintainer-clean in patch" ; \
14906 (cd patch && \
14907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14909 "RANLIB=$${RANLIB}" \
14910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14911 maintainer-clean) \
14912 || exit 1
14914 @endif patch
14917 .PHONY: configure-perl maybe-configure-perl
14918 maybe-configure-perl:
14919 @if perl
14920 maybe-configure-perl: configure-perl
14921 configure-perl:
14922 @test ! -f perl/Makefile || exit 0; \
14923 [ -d perl ] || mkdir perl; \
14924 r=`${PWD_COMMAND}`; export r; \
14925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14926 $(HOST_EXPORTS) \
14927 echo Configuring in perl; \
14928 cd perl || exit 1; \
14929 case $(srcdir) in \
14930 \.) \
14931 srcdiroption="--srcdir=."; \
14932 libsrcdir=".";; \
14933 /* | [A-Za-z]:[\\/]*) \
14934 srcdiroption="--srcdir=$(srcdir)/perl"; \
14935 libsrcdir="$$s/perl";; \
14936 *) \
14937 srcdiroption="--srcdir=../$(srcdir)/perl"; \
14938 libsrcdir="$$s/perl";; \
14939 esac; \
14940 $(SHELL) $${libsrcdir}/configure \
14941 $(HOST_CONFIGARGS) $${srcdiroption} \
14942 || exit 1
14943 @endif perl
14945 .PHONY: all-perl maybe-all-perl
14946 maybe-all-perl:
14947 @if perl
14948 TARGET-perl=all
14949 maybe-all-perl: all-perl
14950 all-perl: configure-perl
14951 @r=`${PWD_COMMAND}`; export r; \
14952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14953 $(SET_LIB_PATH) \
14954 $(HOST_EXPORTS) \
14955 (cd perl && $(MAKE) $(FLAGS_TO_PASS) \
14956 $(TARGET-perl))
14957 @endif perl
14959 .PHONY: check-perl maybe-check-perl
14960 maybe-check-perl:
14961 @if perl
14962 maybe-check-perl: check-perl
14964 check-perl:
14965 @r=`${PWD_COMMAND}`; export r; \
14966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14967 $(SET_LIB_PATH) \
14968 $(HOST_EXPORTS) \
14969 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14971 @endif perl
14973 .PHONY: install-perl maybe-install-perl
14974 maybe-install-perl:
14975 @if perl
14976 maybe-install-perl: install-perl
14978 install-perl: installdirs
14979 @r=`${PWD_COMMAND}`; export r; \
14980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14981 $(SET_LIB_PATH) \
14982 $(HOST_EXPORTS) \
14983 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14985 @endif perl
14987 # Other targets (info, dvi, etc.)
14989 .PHONY: maybe-info-perl info-perl
14990 maybe-info-perl:
14991 @if perl
14992 maybe-info-perl: info-perl
14994 info-perl: \
14995 configure-perl
14996 @[ -f ./perl/Makefile ] || exit 0; \
14997 r=`${PWD_COMMAND}`; export r; \
14998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14999 $(SET_LIB_PATH) \
15000 $(HOST_EXPORTS) \
15001 for flag in $(EXTRA_HOST_FLAGS) ; do \
15002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15003 done; \
15004 echo "Doing info in perl" ; \
15005 (cd perl && \
15006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15008 "RANLIB=$${RANLIB}" \
15009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15010 info) \
15011 || exit 1
15013 @endif perl
15015 .PHONY: maybe-dvi-perl dvi-perl
15016 maybe-dvi-perl:
15017 @if perl
15018 maybe-dvi-perl: dvi-perl
15020 dvi-perl: \
15021 configure-perl
15022 @[ -f ./perl/Makefile ] || exit 0; \
15023 r=`${PWD_COMMAND}`; export r; \
15024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15025 $(SET_LIB_PATH) \
15026 $(HOST_EXPORTS) \
15027 for flag in $(EXTRA_HOST_FLAGS) ; do \
15028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15029 done; \
15030 echo "Doing dvi in perl" ; \
15031 (cd perl && \
15032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15034 "RANLIB=$${RANLIB}" \
15035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15036 dvi) \
15037 || exit 1
15039 @endif perl
15041 .PHONY: maybe-TAGS-perl TAGS-perl
15042 maybe-TAGS-perl:
15043 @if perl
15044 maybe-TAGS-perl: TAGS-perl
15046 TAGS-perl: \
15047 configure-perl
15048 @[ -f ./perl/Makefile ] || exit 0; \
15049 r=`${PWD_COMMAND}`; export r; \
15050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15051 $(SET_LIB_PATH) \
15052 $(HOST_EXPORTS) \
15053 for flag in $(EXTRA_HOST_FLAGS) ; do \
15054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15055 done; \
15056 echo "Doing TAGS in perl" ; \
15057 (cd perl && \
15058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15060 "RANLIB=$${RANLIB}" \
15061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15062 TAGS) \
15063 || exit 1
15065 @endif perl
15067 .PHONY: maybe-install-info-perl install-info-perl
15068 maybe-install-info-perl:
15069 @if perl
15070 maybe-install-info-perl: install-info-perl
15072 install-info-perl: \
15073 configure-perl \
15074 info-perl
15075 @[ -f ./perl/Makefile ] || exit 0; \
15076 r=`${PWD_COMMAND}`; export r; \
15077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15078 $(SET_LIB_PATH) \
15079 $(HOST_EXPORTS) \
15080 for flag in $(EXTRA_HOST_FLAGS) ; do \
15081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15082 done; \
15083 echo "Doing install-info in perl" ; \
15084 (cd perl && \
15085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15087 "RANLIB=$${RANLIB}" \
15088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15089 install-info) \
15090 || exit 1
15092 @endif perl
15094 .PHONY: maybe-installcheck-perl installcheck-perl
15095 maybe-installcheck-perl:
15096 @if perl
15097 maybe-installcheck-perl: installcheck-perl
15099 installcheck-perl: \
15100 configure-perl
15101 @[ -f ./perl/Makefile ] || exit 0; \
15102 r=`${PWD_COMMAND}`; export r; \
15103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15104 $(SET_LIB_PATH) \
15105 $(HOST_EXPORTS) \
15106 for flag in $(EXTRA_HOST_FLAGS) ; do \
15107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15108 done; \
15109 echo "Doing installcheck in perl" ; \
15110 (cd perl && \
15111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15113 "RANLIB=$${RANLIB}" \
15114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15115 installcheck) \
15116 || exit 1
15118 @endif perl
15120 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
15121 maybe-mostlyclean-perl:
15122 @if perl
15123 maybe-mostlyclean-perl: mostlyclean-perl
15125 mostlyclean-perl:
15126 @[ -f ./perl/Makefile ] || exit 0; \
15127 r=`${PWD_COMMAND}`; export r; \
15128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15129 $(SET_LIB_PATH) \
15130 $(HOST_EXPORTS) \
15131 for flag in $(EXTRA_HOST_FLAGS) ; do \
15132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15133 done; \
15134 echo "Doing mostlyclean in perl" ; \
15135 (cd perl && \
15136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15138 "RANLIB=$${RANLIB}" \
15139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15140 mostlyclean) \
15141 || exit 1
15143 @endif perl
15145 .PHONY: maybe-clean-perl clean-perl
15146 maybe-clean-perl:
15147 @if perl
15148 maybe-clean-perl: clean-perl
15150 clean-perl:
15151 @[ -f ./perl/Makefile ] || exit 0; \
15152 r=`${PWD_COMMAND}`; export r; \
15153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15154 $(SET_LIB_PATH) \
15155 $(HOST_EXPORTS) \
15156 for flag in $(EXTRA_HOST_FLAGS) ; do \
15157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15158 done; \
15159 echo "Doing clean in perl" ; \
15160 (cd perl && \
15161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15163 "RANLIB=$${RANLIB}" \
15164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15165 clean) \
15166 || exit 1
15168 @endif perl
15170 .PHONY: maybe-distclean-perl distclean-perl
15171 maybe-distclean-perl:
15172 @if perl
15173 maybe-distclean-perl: distclean-perl
15175 distclean-perl:
15176 @[ -f ./perl/Makefile ] || exit 0; \
15177 r=`${PWD_COMMAND}`; export r; \
15178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15179 $(SET_LIB_PATH) \
15180 $(HOST_EXPORTS) \
15181 for flag in $(EXTRA_HOST_FLAGS) ; do \
15182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15183 done; \
15184 echo "Doing distclean in perl" ; \
15185 (cd perl && \
15186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15188 "RANLIB=$${RANLIB}" \
15189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15190 distclean) \
15191 || exit 1
15193 @endif perl
15195 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
15196 maybe-maintainer-clean-perl:
15197 @if perl
15198 maybe-maintainer-clean-perl: maintainer-clean-perl
15200 maintainer-clean-perl:
15201 @[ -f ./perl/Makefile ] || exit 0; \
15202 r=`${PWD_COMMAND}`; export r; \
15203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15204 $(SET_LIB_PATH) \
15205 $(HOST_EXPORTS) \
15206 for flag in $(EXTRA_HOST_FLAGS) ; do \
15207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15208 done; \
15209 echo "Doing maintainer-clean in perl" ; \
15210 (cd perl && \
15211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15213 "RANLIB=$${RANLIB}" \
15214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15215 maintainer-clean) \
15216 || exit 1
15218 @endif perl
15221 .PHONY: configure-prms maybe-configure-prms
15222 maybe-configure-prms:
15223 @if prms
15224 maybe-configure-prms: configure-prms
15225 configure-prms:
15226 @test ! -f prms/Makefile || exit 0; \
15227 [ -d prms ] || mkdir prms; \
15228 r=`${PWD_COMMAND}`; export r; \
15229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15230 $(HOST_EXPORTS) \
15231 echo Configuring in prms; \
15232 cd prms || exit 1; \
15233 case $(srcdir) in \
15234 \.) \
15235 srcdiroption="--srcdir=."; \
15236 libsrcdir=".";; \
15237 /* | [A-Za-z]:[\\/]*) \
15238 srcdiroption="--srcdir=$(srcdir)/prms"; \
15239 libsrcdir="$$s/prms";; \
15240 *) \
15241 srcdiroption="--srcdir=../$(srcdir)/prms"; \
15242 libsrcdir="$$s/prms";; \
15243 esac; \
15244 $(SHELL) $${libsrcdir}/configure \
15245 $(HOST_CONFIGARGS) $${srcdiroption} \
15246 || exit 1
15247 @endif prms
15249 .PHONY: all-prms maybe-all-prms
15250 maybe-all-prms:
15251 @if prms
15252 TARGET-prms=all
15253 maybe-all-prms: all-prms
15254 all-prms: configure-prms
15255 @r=`${PWD_COMMAND}`; export r; \
15256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15257 $(SET_LIB_PATH) \
15258 $(HOST_EXPORTS) \
15259 (cd prms && $(MAKE) $(FLAGS_TO_PASS) \
15260 $(TARGET-prms))
15261 @endif prms
15263 .PHONY: check-prms maybe-check-prms
15264 maybe-check-prms:
15265 @if prms
15266 maybe-check-prms: check-prms
15268 check-prms:
15269 @r=`${PWD_COMMAND}`; export r; \
15270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15271 $(SET_LIB_PATH) \
15272 $(HOST_EXPORTS) \
15273 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
15275 @endif prms
15277 .PHONY: install-prms maybe-install-prms
15278 maybe-install-prms:
15279 @if prms
15280 maybe-install-prms: install-prms
15282 install-prms: installdirs
15283 @r=`${PWD_COMMAND}`; export r; \
15284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15285 $(SET_LIB_PATH) \
15286 $(HOST_EXPORTS) \
15287 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
15289 @endif prms
15291 # Other targets (info, dvi, etc.)
15293 .PHONY: maybe-info-prms info-prms
15294 maybe-info-prms:
15295 @if prms
15296 maybe-info-prms: info-prms
15298 info-prms: \
15299 configure-prms
15300 @[ -f ./prms/Makefile ] || exit 0; \
15301 r=`${PWD_COMMAND}`; export r; \
15302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15303 $(SET_LIB_PATH) \
15304 $(HOST_EXPORTS) \
15305 for flag in $(EXTRA_HOST_FLAGS) ; do \
15306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15307 done; \
15308 echo "Doing info in prms" ; \
15309 (cd prms && \
15310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15312 "RANLIB=$${RANLIB}" \
15313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15314 info) \
15315 || exit 1
15317 @endif prms
15319 .PHONY: maybe-dvi-prms dvi-prms
15320 maybe-dvi-prms:
15321 @if prms
15322 maybe-dvi-prms: dvi-prms
15324 dvi-prms: \
15325 configure-prms
15326 @[ -f ./prms/Makefile ] || exit 0; \
15327 r=`${PWD_COMMAND}`; export r; \
15328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15329 $(SET_LIB_PATH) \
15330 $(HOST_EXPORTS) \
15331 for flag in $(EXTRA_HOST_FLAGS) ; do \
15332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15333 done; \
15334 echo "Doing dvi in prms" ; \
15335 (cd prms && \
15336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15338 "RANLIB=$${RANLIB}" \
15339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15340 dvi) \
15341 || exit 1
15343 @endif prms
15345 .PHONY: maybe-TAGS-prms TAGS-prms
15346 maybe-TAGS-prms:
15347 @if prms
15348 maybe-TAGS-prms: TAGS-prms
15350 TAGS-prms: \
15351 configure-prms
15352 @[ -f ./prms/Makefile ] || exit 0; \
15353 r=`${PWD_COMMAND}`; export r; \
15354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15355 $(SET_LIB_PATH) \
15356 $(HOST_EXPORTS) \
15357 for flag in $(EXTRA_HOST_FLAGS) ; do \
15358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15359 done; \
15360 echo "Doing TAGS in prms" ; \
15361 (cd prms && \
15362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15364 "RANLIB=$${RANLIB}" \
15365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15366 TAGS) \
15367 || exit 1
15369 @endif prms
15371 .PHONY: maybe-install-info-prms install-info-prms
15372 maybe-install-info-prms:
15373 @if prms
15374 maybe-install-info-prms: install-info-prms
15376 install-info-prms: \
15377 configure-prms \
15378 info-prms
15379 @[ -f ./prms/Makefile ] || exit 0; \
15380 r=`${PWD_COMMAND}`; export r; \
15381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15382 $(SET_LIB_PATH) \
15383 $(HOST_EXPORTS) \
15384 for flag in $(EXTRA_HOST_FLAGS) ; do \
15385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15386 done; \
15387 echo "Doing install-info in prms" ; \
15388 (cd prms && \
15389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15391 "RANLIB=$${RANLIB}" \
15392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15393 install-info) \
15394 || exit 1
15396 @endif prms
15398 .PHONY: maybe-installcheck-prms installcheck-prms
15399 maybe-installcheck-prms:
15400 @if prms
15401 maybe-installcheck-prms: installcheck-prms
15403 installcheck-prms: \
15404 configure-prms
15405 @[ -f ./prms/Makefile ] || exit 0; \
15406 r=`${PWD_COMMAND}`; export r; \
15407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15408 $(SET_LIB_PATH) \
15409 $(HOST_EXPORTS) \
15410 for flag in $(EXTRA_HOST_FLAGS) ; do \
15411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15412 done; \
15413 echo "Doing installcheck in prms" ; \
15414 (cd prms && \
15415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15417 "RANLIB=$${RANLIB}" \
15418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15419 installcheck) \
15420 || exit 1
15422 @endif prms
15424 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15425 maybe-mostlyclean-prms:
15426 @if prms
15427 maybe-mostlyclean-prms: mostlyclean-prms
15429 mostlyclean-prms:
15430 @[ -f ./prms/Makefile ] || exit 0; \
15431 r=`${PWD_COMMAND}`; export r; \
15432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15433 $(SET_LIB_PATH) \
15434 $(HOST_EXPORTS) \
15435 for flag in $(EXTRA_HOST_FLAGS) ; do \
15436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15437 done; \
15438 echo "Doing mostlyclean in prms" ; \
15439 (cd prms && \
15440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15442 "RANLIB=$${RANLIB}" \
15443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15444 mostlyclean) \
15445 || exit 1
15447 @endif prms
15449 .PHONY: maybe-clean-prms clean-prms
15450 maybe-clean-prms:
15451 @if prms
15452 maybe-clean-prms: clean-prms
15454 clean-prms:
15455 @[ -f ./prms/Makefile ] || exit 0; \
15456 r=`${PWD_COMMAND}`; export r; \
15457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15458 $(SET_LIB_PATH) \
15459 $(HOST_EXPORTS) \
15460 for flag in $(EXTRA_HOST_FLAGS) ; do \
15461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15462 done; \
15463 echo "Doing clean in prms" ; \
15464 (cd prms && \
15465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15467 "RANLIB=$${RANLIB}" \
15468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15469 clean) \
15470 || exit 1
15472 @endif prms
15474 .PHONY: maybe-distclean-prms distclean-prms
15475 maybe-distclean-prms:
15476 @if prms
15477 maybe-distclean-prms: distclean-prms
15479 distclean-prms:
15480 @[ -f ./prms/Makefile ] || exit 0; \
15481 r=`${PWD_COMMAND}`; export r; \
15482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15483 $(SET_LIB_PATH) \
15484 $(HOST_EXPORTS) \
15485 for flag in $(EXTRA_HOST_FLAGS) ; do \
15486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15487 done; \
15488 echo "Doing distclean in prms" ; \
15489 (cd prms && \
15490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15492 "RANLIB=$${RANLIB}" \
15493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15494 distclean) \
15495 || exit 1
15497 @endif prms
15499 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15500 maybe-maintainer-clean-prms:
15501 @if prms
15502 maybe-maintainer-clean-prms: maintainer-clean-prms
15504 maintainer-clean-prms:
15505 @[ -f ./prms/Makefile ] || exit 0; \
15506 r=`${PWD_COMMAND}`; export r; \
15507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15508 $(SET_LIB_PATH) \
15509 $(HOST_EXPORTS) \
15510 for flag in $(EXTRA_HOST_FLAGS) ; do \
15511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15512 done; \
15513 echo "Doing maintainer-clean in prms" ; \
15514 (cd prms && \
15515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15517 "RANLIB=$${RANLIB}" \
15518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15519 maintainer-clean) \
15520 || exit 1
15522 @endif prms
15525 .PHONY: configure-rcs maybe-configure-rcs
15526 maybe-configure-rcs:
15527 @if rcs
15528 maybe-configure-rcs: configure-rcs
15529 configure-rcs:
15530 @test ! -f rcs/Makefile || exit 0; \
15531 [ -d rcs ] || mkdir rcs; \
15532 r=`${PWD_COMMAND}`; export r; \
15533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15534 $(HOST_EXPORTS) \
15535 echo Configuring in rcs; \
15536 cd rcs || exit 1; \
15537 case $(srcdir) in \
15538 \.) \
15539 srcdiroption="--srcdir=."; \
15540 libsrcdir=".";; \
15541 /* | [A-Za-z]:[\\/]*) \
15542 srcdiroption="--srcdir=$(srcdir)/rcs"; \
15543 libsrcdir="$$s/rcs";; \
15544 *) \
15545 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
15546 libsrcdir="$$s/rcs";; \
15547 esac; \
15548 $(SHELL) $${libsrcdir}/configure \
15549 $(HOST_CONFIGARGS) $${srcdiroption} \
15550 || exit 1
15551 @endif rcs
15553 .PHONY: all-rcs maybe-all-rcs
15554 maybe-all-rcs:
15555 @if rcs
15556 TARGET-rcs=all
15557 maybe-all-rcs: all-rcs
15558 all-rcs: configure-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) \
15564 $(TARGET-rcs))
15565 @endif rcs
15567 .PHONY: check-rcs maybe-check-rcs
15568 maybe-check-rcs:
15569 @if rcs
15570 maybe-check-rcs: check-rcs
15572 check-rcs:
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) check)
15579 @endif rcs
15581 .PHONY: install-rcs maybe-install-rcs
15582 maybe-install-rcs:
15583 @if rcs
15584 maybe-install-rcs: install-rcs
15586 install-rcs: installdirs
15587 @r=`${PWD_COMMAND}`; export r; \
15588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15589 $(SET_LIB_PATH) \
15590 $(HOST_EXPORTS) \
15591 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
15593 @endif rcs
15595 # Other targets (info, dvi, etc.)
15597 .PHONY: maybe-info-rcs info-rcs
15598 maybe-info-rcs:
15599 @if rcs
15600 maybe-info-rcs: info-rcs
15602 info-rcs: \
15603 configure-rcs
15604 @[ -f ./rcs/Makefile ] || exit 0; \
15605 r=`${PWD_COMMAND}`; export r; \
15606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15607 $(SET_LIB_PATH) \
15608 $(HOST_EXPORTS) \
15609 for flag in $(EXTRA_HOST_FLAGS) ; do \
15610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15611 done; \
15612 echo "Doing info in rcs" ; \
15613 (cd rcs && \
15614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15616 "RANLIB=$${RANLIB}" \
15617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15618 info) \
15619 || exit 1
15621 @endif rcs
15623 .PHONY: maybe-dvi-rcs dvi-rcs
15624 maybe-dvi-rcs:
15625 @if rcs
15626 maybe-dvi-rcs: dvi-rcs
15628 dvi-rcs: \
15629 configure-rcs
15630 @[ -f ./rcs/Makefile ] || exit 0; \
15631 r=`${PWD_COMMAND}`; export r; \
15632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15633 $(SET_LIB_PATH) \
15634 $(HOST_EXPORTS) \
15635 for flag in $(EXTRA_HOST_FLAGS) ; do \
15636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15637 done; \
15638 echo "Doing dvi in rcs" ; \
15639 (cd rcs && \
15640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15642 "RANLIB=$${RANLIB}" \
15643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15644 dvi) \
15645 || exit 1
15647 @endif rcs
15649 .PHONY: maybe-TAGS-rcs TAGS-rcs
15650 maybe-TAGS-rcs:
15651 @if rcs
15652 maybe-TAGS-rcs: TAGS-rcs
15654 TAGS-rcs: \
15655 configure-rcs
15656 @[ -f ./rcs/Makefile ] || exit 0; \
15657 r=`${PWD_COMMAND}`; export r; \
15658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15659 $(SET_LIB_PATH) \
15660 $(HOST_EXPORTS) \
15661 for flag in $(EXTRA_HOST_FLAGS) ; do \
15662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15663 done; \
15664 echo "Doing TAGS in rcs" ; \
15665 (cd rcs && \
15666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15668 "RANLIB=$${RANLIB}" \
15669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15670 TAGS) \
15671 || exit 1
15673 @endif rcs
15675 .PHONY: maybe-install-info-rcs install-info-rcs
15676 maybe-install-info-rcs:
15677 @if rcs
15678 maybe-install-info-rcs: install-info-rcs
15680 install-info-rcs: \
15681 configure-rcs \
15682 info-rcs
15683 @[ -f ./rcs/Makefile ] || exit 0; \
15684 r=`${PWD_COMMAND}`; export r; \
15685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15686 $(SET_LIB_PATH) \
15687 $(HOST_EXPORTS) \
15688 for flag in $(EXTRA_HOST_FLAGS) ; do \
15689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15690 done; \
15691 echo "Doing install-info in rcs" ; \
15692 (cd rcs && \
15693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15695 "RANLIB=$${RANLIB}" \
15696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15697 install-info) \
15698 || exit 1
15700 @endif rcs
15702 .PHONY: maybe-installcheck-rcs installcheck-rcs
15703 maybe-installcheck-rcs:
15704 @if rcs
15705 maybe-installcheck-rcs: installcheck-rcs
15707 installcheck-rcs: \
15708 configure-rcs
15709 @[ -f ./rcs/Makefile ] || exit 0; \
15710 r=`${PWD_COMMAND}`; export r; \
15711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15712 $(SET_LIB_PATH) \
15713 $(HOST_EXPORTS) \
15714 for flag in $(EXTRA_HOST_FLAGS) ; do \
15715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15716 done; \
15717 echo "Doing installcheck in rcs" ; \
15718 (cd rcs && \
15719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15721 "RANLIB=$${RANLIB}" \
15722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15723 installcheck) \
15724 || exit 1
15726 @endif rcs
15728 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15729 maybe-mostlyclean-rcs:
15730 @if rcs
15731 maybe-mostlyclean-rcs: mostlyclean-rcs
15733 mostlyclean-rcs:
15734 @[ -f ./rcs/Makefile ] || exit 0; \
15735 r=`${PWD_COMMAND}`; export r; \
15736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15737 $(SET_LIB_PATH) \
15738 $(HOST_EXPORTS) \
15739 for flag in $(EXTRA_HOST_FLAGS) ; do \
15740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15741 done; \
15742 echo "Doing mostlyclean in rcs" ; \
15743 (cd rcs && \
15744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15746 "RANLIB=$${RANLIB}" \
15747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15748 mostlyclean) \
15749 || exit 1
15751 @endif rcs
15753 .PHONY: maybe-clean-rcs clean-rcs
15754 maybe-clean-rcs:
15755 @if rcs
15756 maybe-clean-rcs: clean-rcs
15758 clean-rcs:
15759 @[ -f ./rcs/Makefile ] || exit 0; \
15760 r=`${PWD_COMMAND}`; export r; \
15761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15762 $(SET_LIB_PATH) \
15763 $(HOST_EXPORTS) \
15764 for flag in $(EXTRA_HOST_FLAGS) ; do \
15765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15766 done; \
15767 echo "Doing clean in rcs" ; \
15768 (cd rcs && \
15769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15771 "RANLIB=$${RANLIB}" \
15772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15773 clean) \
15774 || exit 1
15776 @endif rcs
15778 .PHONY: maybe-distclean-rcs distclean-rcs
15779 maybe-distclean-rcs:
15780 @if rcs
15781 maybe-distclean-rcs: distclean-rcs
15783 distclean-rcs:
15784 @[ -f ./rcs/Makefile ] || exit 0; \
15785 r=`${PWD_COMMAND}`; export r; \
15786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15787 $(SET_LIB_PATH) \
15788 $(HOST_EXPORTS) \
15789 for flag in $(EXTRA_HOST_FLAGS) ; do \
15790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15791 done; \
15792 echo "Doing distclean in rcs" ; \
15793 (cd rcs && \
15794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15796 "RANLIB=$${RANLIB}" \
15797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15798 distclean) \
15799 || exit 1
15801 @endif rcs
15803 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15804 maybe-maintainer-clean-rcs:
15805 @if rcs
15806 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15808 maintainer-clean-rcs:
15809 @[ -f ./rcs/Makefile ] || exit 0; \
15810 r=`${PWD_COMMAND}`; export r; \
15811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15812 $(SET_LIB_PATH) \
15813 $(HOST_EXPORTS) \
15814 for flag in $(EXTRA_HOST_FLAGS) ; do \
15815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15816 done; \
15817 echo "Doing maintainer-clean in rcs" ; \
15818 (cd rcs && \
15819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15821 "RANLIB=$${RANLIB}" \
15822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15823 maintainer-clean) \
15824 || exit 1
15826 @endif rcs
15829 .PHONY: configure-readline maybe-configure-readline
15830 maybe-configure-readline:
15831 @if readline
15832 maybe-configure-readline: configure-readline
15833 configure-readline:
15834 @test ! -f readline/Makefile || exit 0; \
15835 [ -d readline ] || mkdir readline; \
15836 r=`${PWD_COMMAND}`; export r; \
15837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15838 $(HOST_EXPORTS) \
15839 echo Configuring in readline; \
15840 cd readline || exit 1; \
15841 case $(srcdir) in \
15842 \.) \
15843 srcdiroption="--srcdir=."; \
15844 libsrcdir=".";; \
15845 /* | [A-Za-z]:[\\/]*) \
15846 srcdiroption="--srcdir=$(srcdir)/readline"; \
15847 libsrcdir="$$s/readline";; \
15848 *) \
15849 srcdiroption="--srcdir=../$(srcdir)/readline"; \
15850 libsrcdir="$$s/readline";; \
15851 esac; \
15852 $(SHELL) $${libsrcdir}/configure \
15853 $(HOST_CONFIGARGS) $${srcdiroption} \
15854 || exit 1
15855 @endif readline
15857 .PHONY: all-readline maybe-all-readline
15858 maybe-all-readline:
15859 @if readline
15860 TARGET-readline=all
15861 maybe-all-readline: all-readline
15862 all-readline: configure-readline
15863 @r=`${PWD_COMMAND}`; export r; \
15864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15865 $(SET_LIB_PATH) \
15866 $(HOST_EXPORTS) \
15867 (cd readline && $(MAKE) $(FLAGS_TO_PASS) \
15868 $(TARGET-readline))
15869 @endif readline
15871 .PHONY: check-readline maybe-check-readline
15872 maybe-check-readline:
15873 @if readline
15874 maybe-check-readline: check-readline
15876 check-readline:
15877 @r=`${PWD_COMMAND}`; export r; \
15878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15879 $(SET_LIB_PATH) \
15880 $(HOST_EXPORTS) \
15881 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15883 @endif readline
15885 .PHONY: install-readline maybe-install-readline
15886 maybe-install-readline:
15887 @if readline
15888 maybe-install-readline: install-readline
15890 install-readline: installdirs
15891 @r=`${PWD_COMMAND}`; export r; \
15892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15893 $(SET_LIB_PATH) \
15894 $(HOST_EXPORTS) \
15895 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15897 @endif readline
15899 # Other targets (info, dvi, etc.)
15901 .PHONY: maybe-info-readline info-readline
15902 maybe-info-readline:
15903 @if readline
15904 maybe-info-readline: info-readline
15906 info-readline: \
15907 configure-readline
15908 @[ -f ./readline/Makefile ] || exit 0; \
15909 r=`${PWD_COMMAND}`; export r; \
15910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15911 $(SET_LIB_PATH) \
15912 $(HOST_EXPORTS) \
15913 for flag in $(EXTRA_HOST_FLAGS) ; do \
15914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15915 done; \
15916 echo "Doing info in readline" ; \
15917 (cd readline && \
15918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15920 "RANLIB=$${RANLIB}" \
15921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15922 info) \
15923 || exit 1
15925 @endif readline
15927 .PHONY: maybe-dvi-readline dvi-readline
15928 maybe-dvi-readline:
15929 @if readline
15930 maybe-dvi-readline: dvi-readline
15932 dvi-readline: \
15933 configure-readline
15934 @[ -f ./readline/Makefile ] || exit 0; \
15935 r=`${PWD_COMMAND}`; export r; \
15936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15937 $(SET_LIB_PATH) \
15938 $(HOST_EXPORTS) \
15939 for flag in $(EXTRA_HOST_FLAGS) ; do \
15940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15941 done; \
15942 echo "Doing dvi in readline" ; \
15943 (cd readline && \
15944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15946 "RANLIB=$${RANLIB}" \
15947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15948 dvi) \
15949 || exit 1
15951 @endif readline
15953 .PHONY: maybe-TAGS-readline TAGS-readline
15954 maybe-TAGS-readline:
15955 @if readline
15956 maybe-TAGS-readline: TAGS-readline
15958 TAGS-readline: \
15959 configure-readline
15960 @[ -f ./readline/Makefile ] || exit 0; \
15961 r=`${PWD_COMMAND}`; export r; \
15962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15963 $(SET_LIB_PATH) \
15964 $(HOST_EXPORTS) \
15965 for flag in $(EXTRA_HOST_FLAGS) ; do \
15966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15967 done; \
15968 echo "Doing TAGS in readline" ; \
15969 (cd readline && \
15970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15972 "RANLIB=$${RANLIB}" \
15973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15974 TAGS) \
15975 || exit 1
15977 @endif readline
15979 .PHONY: maybe-install-info-readline install-info-readline
15980 maybe-install-info-readline:
15981 @if readline
15982 maybe-install-info-readline: install-info-readline
15984 install-info-readline: \
15985 configure-readline \
15986 info-readline
15987 @[ -f ./readline/Makefile ] || exit 0; \
15988 r=`${PWD_COMMAND}`; export r; \
15989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15990 $(SET_LIB_PATH) \
15991 $(HOST_EXPORTS) \
15992 for flag in $(EXTRA_HOST_FLAGS) ; do \
15993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15994 done; \
15995 echo "Doing install-info in readline" ; \
15996 (cd readline && \
15997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15999 "RANLIB=$${RANLIB}" \
16000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16001 install-info) \
16002 || exit 1
16004 @endif readline
16006 .PHONY: maybe-installcheck-readline installcheck-readline
16007 maybe-installcheck-readline:
16008 @if readline
16009 maybe-installcheck-readline: installcheck-readline
16011 installcheck-readline: \
16012 configure-readline
16013 @[ -f ./readline/Makefile ] || exit 0; \
16014 r=`${PWD_COMMAND}`; export r; \
16015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16016 $(SET_LIB_PATH) \
16017 $(HOST_EXPORTS) \
16018 for flag in $(EXTRA_HOST_FLAGS) ; do \
16019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16020 done; \
16021 echo "Doing installcheck in readline" ; \
16022 (cd readline && \
16023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16025 "RANLIB=$${RANLIB}" \
16026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16027 installcheck) \
16028 || exit 1
16030 @endif readline
16032 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
16033 maybe-mostlyclean-readline:
16034 @if readline
16035 maybe-mostlyclean-readline: mostlyclean-readline
16037 mostlyclean-readline:
16038 @[ -f ./readline/Makefile ] || exit 0; \
16039 r=`${PWD_COMMAND}`; export r; \
16040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16041 $(SET_LIB_PATH) \
16042 $(HOST_EXPORTS) \
16043 for flag in $(EXTRA_HOST_FLAGS) ; do \
16044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16045 done; \
16046 echo "Doing mostlyclean in readline" ; \
16047 (cd readline && \
16048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16050 "RANLIB=$${RANLIB}" \
16051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16052 mostlyclean) \
16053 || exit 1
16055 @endif readline
16057 .PHONY: maybe-clean-readline clean-readline
16058 maybe-clean-readline:
16059 @if readline
16060 maybe-clean-readline: clean-readline
16062 clean-readline:
16063 @[ -f ./readline/Makefile ] || exit 0; \
16064 r=`${PWD_COMMAND}`; export r; \
16065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16066 $(SET_LIB_PATH) \
16067 $(HOST_EXPORTS) \
16068 for flag in $(EXTRA_HOST_FLAGS) ; do \
16069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16070 done; \
16071 echo "Doing clean in readline" ; \
16072 (cd readline && \
16073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16075 "RANLIB=$${RANLIB}" \
16076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16077 clean) \
16078 || exit 1
16080 @endif readline
16082 .PHONY: maybe-distclean-readline distclean-readline
16083 maybe-distclean-readline:
16084 @if readline
16085 maybe-distclean-readline: distclean-readline
16087 distclean-readline:
16088 @[ -f ./readline/Makefile ] || exit 0; \
16089 r=`${PWD_COMMAND}`; export r; \
16090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16091 $(SET_LIB_PATH) \
16092 $(HOST_EXPORTS) \
16093 for flag in $(EXTRA_HOST_FLAGS) ; do \
16094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16095 done; \
16096 echo "Doing distclean in readline" ; \
16097 (cd readline && \
16098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16100 "RANLIB=$${RANLIB}" \
16101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16102 distclean) \
16103 || exit 1
16105 @endif readline
16107 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16108 maybe-maintainer-clean-readline:
16109 @if readline
16110 maybe-maintainer-clean-readline: maintainer-clean-readline
16112 maintainer-clean-readline:
16113 @[ -f ./readline/Makefile ] || exit 0; \
16114 r=`${PWD_COMMAND}`; export r; \
16115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16116 $(SET_LIB_PATH) \
16117 $(HOST_EXPORTS) \
16118 for flag in $(EXTRA_HOST_FLAGS) ; do \
16119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16120 done; \
16121 echo "Doing maintainer-clean in readline" ; \
16122 (cd readline && \
16123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16125 "RANLIB=$${RANLIB}" \
16126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16127 maintainer-clean) \
16128 || exit 1
16130 @endif readline
16133 .PHONY: configure-release maybe-configure-release
16134 maybe-configure-release:
16135 @if release
16136 maybe-configure-release: configure-release
16137 configure-release:
16138 @test ! -f release/Makefile || exit 0; \
16139 [ -d release ] || mkdir release; \
16140 r=`${PWD_COMMAND}`; export r; \
16141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16142 $(HOST_EXPORTS) \
16143 echo Configuring in release; \
16144 cd release || exit 1; \
16145 case $(srcdir) in \
16146 \.) \
16147 srcdiroption="--srcdir=."; \
16148 libsrcdir=".";; \
16149 /* | [A-Za-z]:[\\/]*) \
16150 srcdiroption="--srcdir=$(srcdir)/release"; \
16151 libsrcdir="$$s/release";; \
16152 *) \
16153 srcdiroption="--srcdir=../$(srcdir)/release"; \
16154 libsrcdir="$$s/release";; \
16155 esac; \
16156 $(SHELL) $${libsrcdir}/configure \
16157 $(HOST_CONFIGARGS) $${srcdiroption} \
16158 || exit 1
16159 @endif release
16161 .PHONY: all-release maybe-all-release
16162 maybe-all-release:
16163 @if release
16164 TARGET-release=all
16165 maybe-all-release: all-release
16166 all-release: configure-release
16167 @r=`${PWD_COMMAND}`; export r; \
16168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16169 $(SET_LIB_PATH) \
16170 $(HOST_EXPORTS) \
16171 (cd release && $(MAKE) $(FLAGS_TO_PASS) \
16172 $(TARGET-release))
16173 @endif release
16175 .PHONY: check-release maybe-check-release
16176 maybe-check-release:
16177 @if release
16178 maybe-check-release: check-release
16180 check-release:
16182 @endif release
16184 .PHONY: install-release maybe-install-release
16185 maybe-install-release:
16186 @if release
16187 maybe-install-release: install-release
16189 install-release:
16191 @endif release
16193 # Other targets (info, dvi, etc.)
16195 .PHONY: maybe-info-release info-release
16196 maybe-info-release:
16197 @if release
16198 maybe-info-release: info-release
16200 info-release: \
16201 configure-release
16202 @[ -f ./release/Makefile ] || exit 0; \
16203 r=`${PWD_COMMAND}`; export r; \
16204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16205 $(SET_LIB_PATH) \
16206 $(HOST_EXPORTS) \
16207 for flag in $(EXTRA_HOST_FLAGS) ; do \
16208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16209 done; \
16210 echo "Doing info in release" ; \
16211 (cd release && \
16212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16214 "RANLIB=$${RANLIB}" \
16215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16216 info) \
16217 || exit 1
16219 @endif release
16221 .PHONY: maybe-dvi-release dvi-release
16222 maybe-dvi-release:
16223 @if release
16224 maybe-dvi-release: dvi-release
16226 dvi-release: \
16227 configure-release
16228 @[ -f ./release/Makefile ] || exit 0; \
16229 r=`${PWD_COMMAND}`; export r; \
16230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16231 $(SET_LIB_PATH) \
16232 $(HOST_EXPORTS) \
16233 for flag in $(EXTRA_HOST_FLAGS) ; do \
16234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16235 done; \
16236 echo "Doing dvi in release" ; \
16237 (cd release && \
16238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16240 "RANLIB=$${RANLIB}" \
16241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16242 dvi) \
16243 || exit 1
16245 @endif release
16247 .PHONY: maybe-TAGS-release TAGS-release
16248 maybe-TAGS-release:
16249 @if release
16250 maybe-TAGS-release: TAGS-release
16252 TAGS-release: \
16253 configure-release
16254 @[ -f ./release/Makefile ] || exit 0; \
16255 r=`${PWD_COMMAND}`; export r; \
16256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16257 $(SET_LIB_PATH) \
16258 $(HOST_EXPORTS) \
16259 for flag in $(EXTRA_HOST_FLAGS) ; do \
16260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16261 done; \
16262 echo "Doing TAGS in release" ; \
16263 (cd release && \
16264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16266 "RANLIB=$${RANLIB}" \
16267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16268 TAGS) \
16269 || exit 1
16271 @endif release
16273 .PHONY: maybe-install-info-release install-info-release
16274 maybe-install-info-release:
16275 @if release
16276 maybe-install-info-release: install-info-release
16278 install-info-release: \
16279 configure-release \
16280 info-release
16281 @[ -f ./release/Makefile ] || exit 0; \
16282 r=`${PWD_COMMAND}`; export r; \
16283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16284 $(SET_LIB_PATH) \
16285 $(HOST_EXPORTS) \
16286 for flag in $(EXTRA_HOST_FLAGS) ; do \
16287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16288 done; \
16289 echo "Doing install-info in release" ; \
16290 (cd release && \
16291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16293 "RANLIB=$${RANLIB}" \
16294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16295 install-info) \
16296 || exit 1
16298 @endif release
16300 .PHONY: maybe-installcheck-release installcheck-release
16301 maybe-installcheck-release:
16302 @if release
16303 maybe-installcheck-release: installcheck-release
16305 installcheck-release: \
16306 configure-release
16307 @[ -f ./release/Makefile ] || exit 0; \
16308 r=`${PWD_COMMAND}`; export r; \
16309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16310 $(SET_LIB_PATH) \
16311 $(HOST_EXPORTS) \
16312 for flag in $(EXTRA_HOST_FLAGS) ; do \
16313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16314 done; \
16315 echo "Doing installcheck in release" ; \
16316 (cd release && \
16317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16319 "RANLIB=$${RANLIB}" \
16320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16321 installcheck) \
16322 || exit 1
16324 @endif release
16326 .PHONY: maybe-mostlyclean-release mostlyclean-release
16327 maybe-mostlyclean-release:
16328 @if release
16329 maybe-mostlyclean-release: mostlyclean-release
16331 mostlyclean-release:
16332 @[ -f ./release/Makefile ] || exit 0; \
16333 r=`${PWD_COMMAND}`; export r; \
16334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16335 $(SET_LIB_PATH) \
16336 $(HOST_EXPORTS) \
16337 for flag in $(EXTRA_HOST_FLAGS) ; do \
16338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16339 done; \
16340 echo "Doing mostlyclean in release" ; \
16341 (cd release && \
16342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16344 "RANLIB=$${RANLIB}" \
16345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16346 mostlyclean) \
16347 || exit 1
16349 @endif release
16351 .PHONY: maybe-clean-release clean-release
16352 maybe-clean-release:
16353 @if release
16354 maybe-clean-release: clean-release
16356 clean-release:
16357 @[ -f ./release/Makefile ] || exit 0; \
16358 r=`${PWD_COMMAND}`; export r; \
16359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16360 $(SET_LIB_PATH) \
16361 $(HOST_EXPORTS) \
16362 for flag in $(EXTRA_HOST_FLAGS) ; do \
16363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16364 done; \
16365 echo "Doing clean in release" ; \
16366 (cd release && \
16367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16369 "RANLIB=$${RANLIB}" \
16370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16371 clean) \
16372 || exit 1
16374 @endif release
16376 .PHONY: maybe-distclean-release distclean-release
16377 maybe-distclean-release:
16378 @if release
16379 maybe-distclean-release: distclean-release
16381 distclean-release:
16382 @[ -f ./release/Makefile ] || exit 0; \
16383 r=`${PWD_COMMAND}`; export r; \
16384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16385 $(SET_LIB_PATH) \
16386 $(HOST_EXPORTS) \
16387 for flag in $(EXTRA_HOST_FLAGS) ; do \
16388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16389 done; \
16390 echo "Doing distclean in release" ; \
16391 (cd release && \
16392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16394 "RANLIB=$${RANLIB}" \
16395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16396 distclean) \
16397 || exit 1
16399 @endif release
16401 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16402 maybe-maintainer-clean-release:
16403 @if release
16404 maybe-maintainer-clean-release: maintainer-clean-release
16406 maintainer-clean-release:
16407 @[ -f ./release/Makefile ] || exit 0; \
16408 r=`${PWD_COMMAND}`; export r; \
16409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16410 $(SET_LIB_PATH) \
16411 $(HOST_EXPORTS) \
16412 for flag in $(EXTRA_HOST_FLAGS) ; do \
16413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16414 done; \
16415 echo "Doing maintainer-clean in release" ; \
16416 (cd release && \
16417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16419 "RANLIB=$${RANLIB}" \
16420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16421 maintainer-clean) \
16422 || exit 1
16424 @endif release
16427 .PHONY: configure-recode maybe-configure-recode
16428 maybe-configure-recode:
16429 @if recode
16430 maybe-configure-recode: configure-recode
16431 configure-recode:
16432 @test ! -f recode/Makefile || exit 0; \
16433 [ -d recode ] || mkdir recode; \
16434 r=`${PWD_COMMAND}`; export r; \
16435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16436 $(HOST_EXPORTS) \
16437 echo Configuring in recode; \
16438 cd recode || exit 1; \
16439 case $(srcdir) in \
16440 \.) \
16441 srcdiroption="--srcdir=."; \
16442 libsrcdir=".";; \
16443 /* | [A-Za-z]:[\\/]*) \
16444 srcdiroption="--srcdir=$(srcdir)/recode"; \
16445 libsrcdir="$$s/recode";; \
16446 *) \
16447 srcdiroption="--srcdir=../$(srcdir)/recode"; \
16448 libsrcdir="$$s/recode";; \
16449 esac; \
16450 $(SHELL) $${libsrcdir}/configure \
16451 $(HOST_CONFIGARGS) $${srcdiroption} \
16452 || exit 1
16453 @endif recode
16455 .PHONY: all-recode maybe-all-recode
16456 maybe-all-recode:
16457 @if recode
16458 TARGET-recode=all
16459 maybe-all-recode: all-recode
16460 all-recode: configure-recode
16461 @r=`${PWD_COMMAND}`; export r; \
16462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16463 $(SET_LIB_PATH) \
16464 $(HOST_EXPORTS) \
16465 (cd recode && $(MAKE) $(FLAGS_TO_PASS) \
16466 $(TARGET-recode))
16467 @endif recode
16469 .PHONY: check-recode maybe-check-recode
16470 maybe-check-recode:
16471 @if recode
16472 maybe-check-recode: check-recode
16474 check-recode:
16475 @r=`${PWD_COMMAND}`; export r; \
16476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16477 $(SET_LIB_PATH) \
16478 $(HOST_EXPORTS) \
16479 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
16481 @endif recode
16483 .PHONY: install-recode maybe-install-recode
16484 maybe-install-recode:
16485 @if recode
16486 maybe-install-recode: install-recode
16488 install-recode: installdirs
16489 @r=`${PWD_COMMAND}`; export r; \
16490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16491 $(SET_LIB_PATH) \
16492 $(HOST_EXPORTS) \
16493 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
16495 @endif recode
16497 # Other targets (info, dvi, etc.)
16499 .PHONY: maybe-info-recode info-recode
16500 maybe-info-recode:
16501 @if recode
16502 maybe-info-recode: info-recode
16504 info-recode: \
16505 configure-recode
16506 @[ -f ./recode/Makefile ] || exit 0; \
16507 r=`${PWD_COMMAND}`; export r; \
16508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16509 $(SET_LIB_PATH) \
16510 $(HOST_EXPORTS) \
16511 for flag in $(EXTRA_HOST_FLAGS) ; do \
16512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16513 done; \
16514 echo "Doing info in recode" ; \
16515 (cd recode && \
16516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16518 "RANLIB=$${RANLIB}" \
16519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16520 info) \
16521 || exit 1
16523 @endif recode
16525 .PHONY: maybe-dvi-recode dvi-recode
16526 maybe-dvi-recode:
16527 @if recode
16528 maybe-dvi-recode: dvi-recode
16530 dvi-recode: \
16531 configure-recode
16532 @[ -f ./recode/Makefile ] || exit 0; \
16533 r=`${PWD_COMMAND}`; export r; \
16534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16535 $(SET_LIB_PATH) \
16536 $(HOST_EXPORTS) \
16537 for flag in $(EXTRA_HOST_FLAGS) ; do \
16538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16539 done; \
16540 echo "Doing dvi in recode" ; \
16541 (cd recode && \
16542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16544 "RANLIB=$${RANLIB}" \
16545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16546 dvi) \
16547 || exit 1
16549 @endif recode
16551 .PHONY: maybe-TAGS-recode TAGS-recode
16552 maybe-TAGS-recode:
16553 @if recode
16554 maybe-TAGS-recode: TAGS-recode
16556 TAGS-recode: \
16557 configure-recode
16558 @[ -f ./recode/Makefile ] || exit 0; \
16559 r=`${PWD_COMMAND}`; export r; \
16560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16561 $(SET_LIB_PATH) \
16562 $(HOST_EXPORTS) \
16563 for flag in $(EXTRA_HOST_FLAGS) ; do \
16564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16565 done; \
16566 echo "Doing TAGS in recode" ; \
16567 (cd recode && \
16568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16570 "RANLIB=$${RANLIB}" \
16571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16572 TAGS) \
16573 || exit 1
16575 @endif recode
16577 .PHONY: maybe-install-info-recode install-info-recode
16578 maybe-install-info-recode:
16579 @if recode
16580 maybe-install-info-recode: install-info-recode
16582 install-info-recode: \
16583 configure-recode \
16584 info-recode
16585 @[ -f ./recode/Makefile ] || exit 0; \
16586 r=`${PWD_COMMAND}`; export r; \
16587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16588 $(SET_LIB_PATH) \
16589 $(HOST_EXPORTS) \
16590 for flag in $(EXTRA_HOST_FLAGS) ; do \
16591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16592 done; \
16593 echo "Doing install-info in recode" ; \
16594 (cd recode && \
16595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16597 "RANLIB=$${RANLIB}" \
16598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16599 install-info) \
16600 || exit 1
16602 @endif recode
16604 .PHONY: maybe-installcheck-recode installcheck-recode
16605 maybe-installcheck-recode:
16606 @if recode
16607 maybe-installcheck-recode: installcheck-recode
16609 installcheck-recode: \
16610 configure-recode
16611 @[ -f ./recode/Makefile ] || exit 0; \
16612 r=`${PWD_COMMAND}`; export r; \
16613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16614 $(SET_LIB_PATH) \
16615 $(HOST_EXPORTS) \
16616 for flag in $(EXTRA_HOST_FLAGS) ; do \
16617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16618 done; \
16619 echo "Doing installcheck in recode" ; \
16620 (cd recode && \
16621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16623 "RANLIB=$${RANLIB}" \
16624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16625 installcheck) \
16626 || exit 1
16628 @endif recode
16630 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
16631 maybe-mostlyclean-recode:
16632 @if recode
16633 maybe-mostlyclean-recode: mostlyclean-recode
16635 mostlyclean-recode:
16636 @[ -f ./recode/Makefile ] || exit 0; \
16637 r=`${PWD_COMMAND}`; export r; \
16638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16639 $(SET_LIB_PATH) \
16640 $(HOST_EXPORTS) \
16641 for flag in $(EXTRA_HOST_FLAGS) ; do \
16642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16643 done; \
16644 echo "Doing mostlyclean in recode" ; \
16645 (cd recode && \
16646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16648 "RANLIB=$${RANLIB}" \
16649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16650 mostlyclean) \
16651 || exit 1
16653 @endif recode
16655 .PHONY: maybe-clean-recode clean-recode
16656 maybe-clean-recode:
16657 @if recode
16658 maybe-clean-recode: clean-recode
16660 clean-recode:
16661 @[ -f ./recode/Makefile ] || exit 0; \
16662 r=`${PWD_COMMAND}`; export r; \
16663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16664 $(SET_LIB_PATH) \
16665 $(HOST_EXPORTS) \
16666 for flag in $(EXTRA_HOST_FLAGS) ; do \
16667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16668 done; \
16669 echo "Doing clean in recode" ; \
16670 (cd recode && \
16671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16673 "RANLIB=$${RANLIB}" \
16674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16675 clean) \
16676 || exit 1
16678 @endif recode
16680 .PHONY: maybe-distclean-recode distclean-recode
16681 maybe-distclean-recode:
16682 @if recode
16683 maybe-distclean-recode: distclean-recode
16685 distclean-recode:
16686 @[ -f ./recode/Makefile ] || exit 0; \
16687 r=`${PWD_COMMAND}`; export r; \
16688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16689 $(SET_LIB_PATH) \
16690 $(HOST_EXPORTS) \
16691 for flag in $(EXTRA_HOST_FLAGS) ; do \
16692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16693 done; \
16694 echo "Doing distclean in recode" ; \
16695 (cd recode && \
16696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16698 "RANLIB=$${RANLIB}" \
16699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16700 distclean) \
16701 || exit 1
16703 @endif recode
16705 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16706 maybe-maintainer-clean-recode:
16707 @if recode
16708 maybe-maintainer-clean-recode: maintainer-clean-recode
16710 maintainer-clean-recode:
16711 @[ -f ./recode/Makefile ] || exit 0; \
16712 r=`${PWD_COMMAND}`; export r; \
16713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16714 $(SET_LIB_PATH) \
16715 $(HOST_EXPORTS) \
16716 for flag in $(EXTRA_HOST_FLAGS) ; do \
16717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16718 done; \
16719 echo "Doing maintainer-clean in recode" ; \
16720 (cd recode && \
16721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16723 "RANLIB=$${RANLIB}" \
16724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16725 maintainer-clean) \
16726 || exit 1
16728 @endif recode
16731 .PHONY: configure-sed maybe-configure-sed
16732 maybe-configure-sed:
16733 @if sed
16734 maybe-configure-sed: configure-sed
16735 configure-sed:
16736 @test ! -f sed/Makefile || exit 0; \
16737 [ -d sed ] || mkdir sed; \
16738 r=`${PWD_COMMAND}`; export r; \
16739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16740 $(HOST_EXPORTS) \
16741 echo Configuring in sed; \
16742 cd sed || exit 1; \
16743 case $(srcdir) in \
16744 \.) \
16745 srcdiroption="--srcdir=."; \
16746 libsrcdir=".";; \
16747 /* | [A-Za-z]:[\\/]*) \
16748 srcdiroption="--srcdir=$(srcdir)/sed"; \
16749 libsrcdir="$$s/sed";; \
16750 *) \
16751 srcdiroption="--srcdir=../$(srcdir)/sed"; \
16752 libsrcdir="$$s/sed";; \
16753 esac; \
16754 $(SHELL) $${libsrcdir}/configure \
16755 $(HOST_CONFIGARGS) $${srcdiroption} \
16756 || exit 1
16757 @endif sed
16759 .PHONY: all-sed maybe-all-sed
16760 maybe-all-sed:
16761 @if sed
16762 TARGET-sed=all
16763 maybe-all-sed: all-sed
16764 all-sed: configure-sed
16765 @r=`${PWD_COMMAND}`; export r; \
16766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16767 $(SET_LIB_PATH) \
16768 $(HOST_EXPORTS) \
16769 (cd sed && $(MAKE) $(FLAGS_TO_PASS) \
16770 $(TARGET-sed))
16771 @endif sed
16773 .PHONY: check-sed maybe-check-sed
16774 maybe-check-sed:
16775 @if sed
16776 maybe-check-sed: check-sed
16778 check-sed:
16779 @r=`${PWD_COMMAND}`; export r; \
16780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16781 $(SET_LIB_PATH) \
16782 $(HOST_EXPORTS) \
16783 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16785 @endif sed
16787 .PHONY: install-sed maybe-install-sed
16788 maybe-install-sed:
16789 @if sed
16790 maybe-install-sed: install-sed
16792 install-sed: installdirs
16793 @r=`${PWD_COMMAND}`; export r; \
16794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16795 $(SET_LIB_PATH) \
16796 $(HOST_EXPORTS) \
16797 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16799 @endif sed
16801 # Other targets (info, dvi, etc.)
16803 .PHONY: maybe-info-sed info-sed
16804 maybe-info-sed:
16805 @if sed
16806 maybe-info-sed: info-sed
16808 info-sed: \
16809 configure-sed
16810 @[ -f ./sed/Makefile ] || exit 0; \
16811 r=`${PWD_COMMAND}`; export r; \
16812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16813 $(SET_LIB_PATH) \
16814 $(HOST_EXPORTS) \
16815 for flag in $(EXTRA_HOST_FLAGS) ; do \
16816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16817 done; \
16818 echo "Doing info in sed" ; \
16819 (cd sed && \
16820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16822 "RANLIB=$${RANLIB}" \
16823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16824 info) \
16825 || exit 1
16827 @endif sed
16829 .PHONY: maybe-dvi-sed dvi-sed
16830 maybe-dvi-sed:
16831 @if sed
16832 maybe-dvi-sed: dvi-sed
16834 dvi-sed: \
16835 configure-sed
16836 @[ -f ./sed/Makefile ] || exit 0; \
16837 r=`${PWD_COMMAND}`; export r; \
16838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16839 $(SET_LIB_PATH) \
16840 $(HOST_EXPORTS) \
16841 for flag in $(EXTRA_HOST_FLAGS) ; do \
16842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16843 done; \
16844 echo "Doing dvi in sed" ; \
16845 (cd sed && \
16846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16848 "RANLIB=$${RANLIB}" \
16849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16850 dvi) \
16851 || exit 1
16853 @endif sed
16855 .PHONY: maybe-TAGS-sed TAGS-sed
16856 maybe-TAGS-sed:
16857 @if sed
16858 maybe-TAGS-sed: TAGS-sed
16860 TAGS-sed: \
16861 configure-sed
16862 @[ -f ./sed/Makefile ] || exit 0; \
16863 r=`${PWD_COMMAND}`; export r; \
16864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16865 $(SET_LIB_PATH) \
16866 $(HOST_EXPORTS) \
16867 for flag in $(EXTRA_HOST_FLAGS) ; do \
16868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16869 done; \
16870 echo "Doing TAGS in sed" ; \
16871 (cd sed && \
16872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16874 "RANLIB=$${RANLIB}" \
16875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16876 TAGS) \
16877 || exit 1
16879 @endif sed
16881 .PHONY: maybe-install-info-sed install-info-sed
16882 maybe-install-info-sed:
16883 @if sed
16884 maybe-install-info-sed: install-info-sed
16886 install-info-sed: \
16887 configure-sed \
16888 info-sed
16889 @[ -f ./sed/Makefile ] || exit 0; \
16890 r=`${PWD_COMMAND}`; export r; \
16891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16892 $(SET_LIB_PATH) \
16893 $(HOST_EXPORTS) \
16894 for flag in $(EXTRA_HOST_FLAGS) ; do \
16895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16896 done; \
16897 echo "Doing install-info in sed" ; \
16898 (cd sed && \
16899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16901 "RANLIB=$${RANLIB}" \
16902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16903 install-info) \
16904 || exit 1
16906 @endif sed
16908 .PHONY: maybe-installcheck-sed installcheck-sed
16909 maybe-installcheck-sed:
16910 @if sed
16911 maybe-installcheck-sed: installcheck-sed
16913 installcheck-sed: \
16914 configure-sed
16915 @[ -f ./sed/Makefile ] || exit 0; \
16916 r=`${PWD_COMMAND}`; export r; \
16917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16918 $(SET_LIB_PATH) \
16919 $(HOST_EXPORTS) \
16920 for flag in $(EXTRA_HOST_FLAGS) ; do \
16921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16922 done; \
16923 echo "Doing installcheck in sed" ; \
16924 (cd sed && \
16925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16927 "RANLIB=$${RANLIB}" \
16928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16929 installcheck) \
16930 || exit 1
16932 @endif sed
16934 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16935 maybe-mostlyclean-sed:
16936 @if sed
16937 maybe-mostlyclean-sed: mostlyclean-sed
16939 mostlyclean-sed:
16940 @[ -f ./sed/Makefile ] || exit 0; \
16941 r=`${PWD_COMMAND}`; export r; \
16942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16943 $(SET_LIB_PATH) \
16944 $(HOST_EXPORTS) \
16945 for flag in $(EXTRA_HOST_FLAGS) ; do \
16946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16947 done; \
16948 echo "Doing mostlyclean in sed" ; \
16949 (cd sed && \
16950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16952 "RANLIB=$${RANLIB}" \
16953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16954 mostlyclean) \
16955 || exit 1
16957 @endif sed
16959 .PHONY: maybe-clean-sed clean-sed
16960 maybe-clean-sed:
16961 @if sed
16962 maybe-clean-sed: clean-sed
16964 clean-sed:
16965 @[ -f ./sed/Makefile ] || exit 0; \
16966 r=`${PWD_COMMAND}`; export r; \
16967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16968 $(SET_LIB_PATH) \
16969 $(HOST_EXPORTS) \
16970 for flag in $(EXTRA_HOST_FLAGS) ; do \
16971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16972 done; \
16973 echo "Doing clean in sed" ; \
16974 (cd sed && \
16975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16977 "RANLIB=$${RANLIB}" \
16978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16979 clean) \
16980 || exit 1
16982 @endif sed
16984 .PHONY: maybe-distclean-sed distclean-sed
16985 maybe-distclean-sed:
16986 @if sed
16987 maybe-distclean-sed: distclean-sed
16989 distclean-sed:
16990 @[ -f ./sed/Makefile ] || exit 0; \
16991 r=`${PWD_COMMAND}`; export r; \
16992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16993 $(SET_LIB_PATH) \
16994 $(HOST_EXPORTS) \
16995 for flag in $(EXTRA_HOST_FLAGS) ; do \
16996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16997 done; \
16998 echo "Doing distclean in sed" ; \
16999 (cd sed && \
17000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17002 "RANLIB=$${RANLIB}" \
17003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17004 distclean) \
17005 || exit 1
17007 @endif sed
17009 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
17010 maybe-maintainer-clean-sed:
17011 @if sed
17012 maybe-maintainer-clean-sed: maintainer-clean-sed
17014 maintainer-clean-sed:
17015 @[ -f ./sed/Makefile ] || exit 0; \
17016 r=`${PWD_COMMAND}`; export r; \
17017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17018 $(SET_LIB_PATH) \
17019 $(HOST_EXPORTS) \
17020 for flag in $(EXTRA_HOST_FLAGS) ; do \
17021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17022 done; \
17023 echo "Doing maintainer-clean in sed" ; \
17024 (cd sed && \
17025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17027 "RANLIB=$${RANLIB}" \
17028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17029 maintainer-clean) \
17030 || exit 1
17032 @endif sed
17035 .PHONY: configure-send-pr maybe-configure-send-pr
17036 maybe-configure-send-pr:
17037 @if send-pr
17038 maybe-configure-send-pr: configure-send-pr
17039 configure-send-pr:
17040 @test ! -f send-pr/Makefile || exit 0; \
17041 [ -d send-pr ] || mkdir send-pr; \
17042 r=`${PWD_COMMAND}`; export r; \
17043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17044 $(HOST_EXPORTS) \
17045 echo Configuring in send-pr; \
17046 cd send-pr || exit 1; \
17047 case $(srcdir) in \
17048 \.) \
17049 srcdiroption="--srcdir=."; \
17050 libsrcdir=".";; \
17051 /* | [A-Za-z]:[\\/]*) \
17052 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
17053 libsrcdir="$$s/send-pr";; \
17054 *) \
17055 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
17056 libsrcdir="$$s/send-pr";; \
17057 esac; \
17058 $(SHELL) $${libsrcdir}/configure \
17059 $(HOST_CONFIGARGS) $${srcdiroption} \
17060 || exit 1
17061 @endif send-pr
17063 .PHONY: all-send-pr maybe-all-send-pr
17064 maybe-all-send-pr:
17065 @if send-pr
17066 TARGET-send-pr=all
17067 maybe-all-send-pr: all-send-pr
17068 all-send-pr: configure-send-pr
17069 @r=`${PWD_COMMAND}`; export r; \
17070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17071 $(SET_LIB_PATH) \
17072 $(HOST_EXPORTS) \
17073 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) \
17074 $(TARGET-send-pr))
17075 @endif send-pr
17077 .PHONY: check-send-pr maybe-check-send-pr
17078 maybe-check-send-pr:
17079 @if send-pr
17080 maybe-check-send-pr: check-send-pr
17082 check-send-pr:
17083 @r=`${PWD_COMMAND}`; export r; \
17084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17085 $(SET_LIB_PATH) \
17086 $(HOST_EXPORTS) \
17087 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
17089 @endif send-pr
17091 .PHONY: install-send-pr maybe-install-send-pr
17092 maybe-install-send-pr:
17093 @if send-pr
17094 maybe-install-send-pr: install-send-pr
17096 install-send-pr: installdirs
17097 @r=`${PWD_COMMAND}`; export r; \
17098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17099 $(SET_LIB_PATH) \
17100 $(HOST_EXPORTS) \
17101 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
17103 @endif send-pr
17105 # Other targets (info, dvi, etc.)
17107 .PHONY: maybe-info-send-pr info-send-pr
17108 maybe-info-send-pr:
17109 @if send-pr
17110 maybe-info-send-pr: info-send-pr
17112 info-send-pr: \
17113 configure-send-pr
17114 @[ -f ./send-pr/Makefile ] || exit 0; \
17115 r=`${PWD_COMMAND}`; export r; \
17116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17117 $(SET_LIB_PATH) \
17118 $(HOST_EXPORTS) \
17119 for flag in $(EXTRA_HOST_FLAGS) ; do \
17120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17121 done; \
17122 echo "Doing info in send-pr" ; \
17123 (cd send-pr && \
17124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17126 "RANLIB=$${RANLIB}" \
17127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17128 info) \
17129 || exit 1
17131 @endif send-pr
17133 .PHONY: maybe-dvi-send-pr dvi-send-pr
17134 maybe-dvi-send-pr:
17135 @if send-pr
17136 maybe-dvi-send-pr: dvi-send-pr
17138 dvi-send-pr: \
17139 configure-send-pr
17140 @[ -f ./send-pr/Makefile ] || exit 0; \
17141 r=`${PWD_COMMAND}`; export r; \
17142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17143 $(SET_LIB_PATH) \
17144 $(HOST_EXPORTS) \
17145 for flag in $(EXTRA_HOST_FLAGS) ; do \
17146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17147 done; \
17148 echo "Doing dvi in send-pr" ; \
17149 (cd send-pr && \
17150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17152 "RANLIB=$${RANLIB}" \
17153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17154 dvi) \
17155 || exit 1
17157 @endif send-pr
17159 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
17160 maybe-TAGS-send-pr:
17161 @if send-pr
17162 maybe-TAGS-send-pr: TAGS-send-pr
17164 TAGS-send-pr: \
17165 configure-send-pr
17166 @[ -f ./send-pr/Makefile ] || exit 0; \
17167 r=`${PWD_COMMAND}`; export r; \
17168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17169 $(SET_LIB_PATH) \
17170 $(HOST_EXPORTS) \
17171 for flag in $(EXTRA_HOST_FLAGS) ; do \
17172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17173 done; \
17174 echo "Doing TAGS in send-pr" ; \
17175 (cd send-pr && \
17176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17178 "RANLIB=$${RANLIB}" \
17179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17180 TAGS) \
17181 || exit 1
17183 @endif send-pr
17185 .PHONY: maybe-install-info-send-pr install-info-send-pr
17186 maybe-install-info-send-pr:
17187 @if send-pr
17188 maybe-install-info-send-pr: install-info-send-pr
17190 install-info-send-pr: \
17191 configure-send-pr \
17192 info-send-pr
17193 @[ -f ./send-pr/Makefile ] || exit 0; \
17194 r=`${PWD_COMMAND}`; export r; \
17195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17196 $(SET_LIB_PATH) \
17197 $(HOST_EXPORTS) \
17198 for flag in $(EXTRA_HOST_FLAGS) ; do \
17199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17200 done; \
17201 echo "Doing install-info in send-pr" ; \
17202 (cd send-pr && \
17203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17205 "RANLIB=$${RANLIB}" \
17206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17207 install-info) \
17208 || exit 1
17210 @endif send-pr
17212 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
17213 maybe-installcheck-send-pr:
17214 @if send-pr
17215 maybe-installcheck-send-pr: installcheck-send-pr
17217 installcheck-send-pr: \
17218 configure-send-pr
17219 @[ -f ./send-pr/Makefile ] || exit 0; \
17220 r=`${PWD_COMMAND}`; export r; \
17221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17222 $(SET_LIB_PATH) \
17223 $(HOST_EXPORTS) \
17224 for flag in $(EXTRA_HOST_FLAGS) ; do \
17225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17226 done; \
17227 echo "Doing installcheck in send-pr" ; \
17228 (cd send-pr && \
17229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17231 "RANLIB=$${RANLIB}" \
17232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17233 installcheck) \
17234 || exit 1
17236 @endif send-pr
17238 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
17239 maybe-mostlyclean-send-pr:
17240 @if send-pr
17241 maybe-mostlyclean-send-pr: mostlyclean-send-pr
17243 mostlyclean-send-pr:
17244 @[ -f ./send-pr/Makefile ] || exit 0; \
17245 r=`${PWD_COMMAND}`; export r; \
17246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17247 $(SET_LIB_PATH) \
17248 $(HOST_EXPORTS) \
17249 for flag in $(EXTRA_HOST_FLAGS) ; do \
17250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17251 done; \
17252 echo "Doing mostlyclean in send-pr" ; \
17253 (cd send-pr && \
17254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17256 "RANLIB=$${RANLIB}" \
17257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17258 mostlyclean) \
17259 || exit 1
17261 @endif send-pr
17263 .PHONY: maybe-clean-send-pr clean-send-pr
17264 maybe-clean-send-pr:
17265 @if send-pr
17266 maybe-clean-send-pr: clean-send-pr
17268 clean-send-pr:
17269 @[ -f ./send-pr/Makefile ] || exit 0; \
17270 r=`${PWD_COMMAND}`; export r; \
17271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17272 $(SET_LIB_PATH) \
17273 $(HOST_EXPORTS) \
17274 for flag in $(EXTRA_HOST_FLAGS) ; do \
17275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17276 done; \
17277 echo "Doing clean in send-pr" ; \
17278 (cd send-pr && \
17279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17281 "RANLIB=$${RANLIB}" \
17282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17283 clean) \
17284 || exit 1
17286 @endif send-pr
17288 .PHONY: maybe-distclean-send-pr distclean-send-pr
17289 maybe-distclean-send-pr:
17290 @if send-pr
17291 maybe-distclean-send-pr: distclean-send-pr
17293 distclean-send-pr:
17294 @[ -f ./send-pr/Makefile ] || exit 0; \
17295 r=`${PWD_COMMAND}`; export r; \
17296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17297 $(SET_LIB_PATH) \
17298 $(HOST_EXPORTS) \
17299 for flag in $(EXTRA_HOST_FLAGS) ; do \
17300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17301 done; \
17302 echo "Doing distclean in send-pr" ; \
17303 (cd send-pr && \
17304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17306 "RANLIB=$${RANLIB}" \
17307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17308 distclean) \
17309 || exit 1
17311 @endif send-pr
17313 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
17314 maybe-maintainer-clean-send-pr:
17315 @if send-pr
17316 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
17318 maintainer-clean-send-pr:
17319 @[ -f ./send-pr/Makefile ] || exit 0; \
17320 r=`${PWD_COMMAND}`; export r; \
17321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17322 $(SET_LIB_PATH) \
17323 $(HOST_EXPORTS) \
17324 for flag in $(EXTRA_HOST_FLAGS) ; do \
17325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17326 done; \
17327 echo "Doing maintainer-clean in send-pr" ; \
17328 (cd send-pr && \
17329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17331 "RANLIB=$${RANLIB}" \
17332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17333 maintainer-clean) \
17334 || exit 1
17336 @endif send-pr
17339 .PHONY: configure-shellutils maybe-configure-shellutils
17340 maybe-configure-shellutils:
17341 @if shellutils
17342 maybe-configure-shellutils: configure-shellutils
17343 configure-shellutils:
17344 @test ! -f shellutils/Makefile || exit 0; \
17345 [ -d shellutils ] || mkdir shellutils; \
17346 r=`${PWD_COMMAND}`; export r; \
17347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17348 $(HOST_EXPORTS) \
17349 echo Configuring in shellutils; \
17350 cd shellutils || exit 1; \
17351 case $(srcdir) in \
17352 \.) \
17353 srcdiroption="--srcdir=."; \
17354 libsrcdir=".";; \
17355 /* | [A-Za-z]:[\\/]*) \
17356 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
17357 libsrcdir="$$s/shellutils";; \
17358 *) \
17359 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
17360 libsrcdir="$$s/shellutils";; \
17361 esac; \
17362 $(SHELL) $${libsrcdir}/configure \
17363 $(HOST_CONFIGARGS) $${srcdiroption} \
17364 || exit 1
17365 @endif shellutils
17367 .PHONY: all-shellutils maybe-all-shellutils
17368 maybe-all-shellutils:
17369 @if shellutils
17370 TARGET-shellutils=all
17371 maybe-all-shellutils: all-shellutils
17372 all-shellutils: configure-shellutils
17373 @r=`${PWD_COMMAND}`; export r; \
17374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17375 $(SET_LIB_PATH) \
17376 $(HOST_EXPORTS) \
17377 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) \
17378 $(TARGET-shellutils))
17379 @endif shellutils
17381 .PHONY: check-shellutils maybe-check-shellutils
17382 maybe-check-shellutils:
17383 @if shellutils
17384 maybe-check-shellutils: check-shellutils
17386 check-shellutils:
17387 @r=`${PWD_COMMAND}`; export r; \
17388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17389 $(SET_LIB_PATH) \
17390 $(HOST_EXPORTS) \
17391 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
17393 @endif shellutils
17395 .PHONY: install-shellutils maybe-install-shellutils
17396 maybe-install-shellutils:
17397 @if shellutils
17398 maybe-install-shellutils: install-shellutils
17400 install-shellutils: installdirs
17401 @r=`${PWD_COMMAND}`; export r; \
17402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17403 $(SET_LIB_PATH) \
17404 $(HOST_EXPORTS) \
17405 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
17407 @endif shellutils
17409 # Other targets (info, dvi, etc.)
17411 .PHONY: maybe-info-shellutils info-shellutils
17412 maybe-info-shellutils:
17413 @if shellutils
17414 maybe-info-shellutils: info-shellutils
17416 info-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 info 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 info) \
17433 || exit 1
17435 @endif shellutils
17437 .PHONY: maybe-dvi-shellutils dvi-shellutils
17438 maybe-dvi-shellutils:
17439 @if shellutils
17440 maybe-dvi-shellutils: dvi-shellutils
17442 dvi-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 dvi 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 dvi) \
17459 || exit 1
17461 @endif shellutils
17463 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17464 maybe-TAGS-shellutils:
17465 @if shellutils
17466 maybe-TAGS-shellutils: TAGS-shellutils
17468 TAGS-shellutils: \
17469 configure-shellutils
17470 @[ -f ./shellutils/Makefile ] || exit 0; \
17471 r=`${PWD_COMMAND}`; export r; \
17472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17473 $(SET_LIB_PATH) \
17474 $(HOST_EXPORTS) \
17475 for flag in $(EXTRA_HOST_FLAGS) ; do \
17476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17477 done; \
17478 echo "Doing TAGS in shellutils" ; \
17479 (cd shellutils && \
17480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17482 "RANLIB=$${RANLIB}" \
17483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17484 TAGS) \
17485 || exit 1
17487 @endif shellutils
17489 .PHONY: maybe-install-info-shellutils install-info-shellutils
17490 maybe-install-info-shellutils:
17491 @if shellutils
17492 maybe-install-info-shellutils: install-info-shellutils
17494 install-info-shellutils: \
17495 configure-shellutils \
17496 info-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 install-info 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 install-info) \
17512 || exit 1
17514 @endif shellutils
17516 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
17517 maybe-installcheck-shellutils:
17518 @if shellutils
17519 maybe-installcheck-shellutils: installcheck-shellutils
17521 installcheck-shellutils: \
17522 configure-shellutils
17523 @[ -f ./shellutils/Makefile ] || exit 0; \
17524 r=`${PWD_COMMAND}`; export r; \
17525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17526 $(SET_LIB_PATH) \
17527 $(HOST_EXPORTS) \
17528 for flag in $(EXTRA_HOST_FLAGS) ; do \
17529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17530 done; \
17531 echo "Doing installcheck in shellutils" ; \
17532 (cd shellutils && \
17533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17535 "RANLIB=$${RANLIB}" \
17536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17537 installcheck) \
17538 || exit 1
17540 @endif shellutils
17542 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
17543 maybe-mostlyclean-shellutils:
17544 @if shellutils
17545 maybe-mostlyclean-shellutils: mostlyclean-shellutils
17547 mostlyclean-shellutils:
17548 @[ -f ./shellutils/Makefile ] || exit 0; \
17549 r=`${PWD_COMMAND}`; export r; \
17550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17551 $(SET_LIB_PATH) \
17552 $(HOST_EXPORTS) \
17553 for flag in $(EXTRA_HOST_FLAGS) ; do \
17554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17555 done; \
17556 echo "Doing mostlyclean in shellutils" ; \
17557 (cd shellutils && \
17558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17560 "RANLIB=$${RANLIB}" \
17561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17562 mostlyclean) \
17563 || exit 1
17565 @endif shellutils
17567 .PHONY: maybe-clean-shellutils clean-shellutils
17568 maybe-clean-shellutils:
17569 @if shellutils
17570 maybe-clean-shellutils: clean-shellutils
17572 clean-shellutils:
17573 @[ -f ./shellutils/Makefile ] || exit 0; \
17574 r=`${PWD_COMMAND}`; export r; \
17575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17576 $(SET_LIB_PATH) \
17577 $(HOST_EXPORTS) \
17578 for flag in $(EXTRA_HOST_FLAGS) ; do \
17579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17580 done; \
17581 echo "Doing clean in shellutils" ; \
17582 (cd shellutils && \
17583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17585 "RANLIB=$${RANLIB}" \
17586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17587 clean) \
17588 || exit 1
17590 @endif shellutils
17592 .PHONY: maybe-distclean-shellutils distclean-shellutils
17593 maybe-distclean-shellutils:
17594 @if shellutils
17595 maybe-distclean-shellutils: distclean-shellutils
17597 distclean-shellutils:
17598 @[ -f ./shellutils/Makefile ] || exit 0; \
17599 r=`${PWD_COMMAND}`; export r; \
17600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17601 $(SET_LIB_PATH) \
17602 $(HOST_EXPORTS) \
17603 for flag in $(EXTRA_HOST_FLAGS) ; do \
17604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17605 done; \
17606 echo "Doing distclean in shellutils" ; \
17607 (cd shellutils && \
17608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17610 "RANLIB=$${RANLIB}" \
17611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17612 distclean) \
17613 || exit 1
17615 @endif shellutils
17617 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
17618 maybe-maintainer-clean-shellutils:
17619 @if shellutils
17620 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
17622 maintainer-clean-shellutils:
17623 @[ -f ./shellutils/Makefile ] || exit 0; \
17624 r=`${PWD_COMMAND}`; export r; \
17625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17626 $(SET_LIB_PATH) \
17627 $(HOST_EXPORTS) \
17628 for flag in $(EXTRA_HOST_FLAGS) ; do \
17629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17630 done; \
17631 echo "Doing maintainer-clean in shellutils" ; \
17632 (cd shellutils && \
17633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17635 "RANLIB=$${RANLIB}" \
17636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17637 maintainer-clean) \
17638 || exit 1
17640 @endif shellutils
17643 .PHONY: configure-sid maybe-configure-sid
17644 maybe-configure-sid:
17645 @if sid
17646 maybe-configure-sid: configure-sid
17647 configure-sid:
17648 @test ! -f sid/Makefile || exit 0; \
17649 [ -d sid ] || mkdir sid; \
17650 r=`${PWD_COMMAND}`; export r; \
17651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17652 $(HOST_EXPORTS) \
17653 echo Configuring in sid; \
17654 cd sid || exit 1; \
17655 case $(srcdir) in \
17656 \.) \
17657 srcdiroption="--srcdir=."; \
17658 libsrcdir=".";; \
17659 /* | [A-Za-z]:[\\/]*) \
17660 srcdiroption="--srcdir=$(srcdir)/sid"; \
17661 libsrcdir="$$s/sid";; \
17662 *) \
17663 srcdiroption="--srcdir=../$(srcdir)/sid"; \
17664 libsrcdir="$$s/sid";; \
17665 esac; \
17666 $(SHELL) $${libsrcdir}/configure \
17667 $(HOST_CONFIGARGS) $${srcdiroption} \
17668 || exit 1
17669 @endif sid
17671 .PHONY: all-sid maybe-all-sid
17672 maybe-all-sid:
17673 @if sid
17674 TARGET-sid=all
17675 maybe-all-sid: all-sid
17676 all-sid: configure-sid
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) \
17682 $(TARGET-sid))
17683 @endif sid
17685 .PHONY: check-sid maybe-check-sid
17686 maybe-check-sid:
17687 @if sid
17688 maybe-check-sid: check-sid
17690 check-sid:
17691 @r=`${PWD_COMMAND}`; export r; \
17692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17693 $(SET_LIB_PATH) \
17694 $(HOST_EXPORTS) \
17695 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
17697 @endif sid
17699 .PHONY: install-sid maybe-install-sid
17700 maybe-install-sid:
17701 @if sid
17702 maybe-install-sid: install-sid
17704 install-sid: installdirs
17705 @r=`${PWD_COMMAND}`; export r; \
17706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17707 $(SET_LIB_PATH) \
17708 $(HOST_EXPORTS) \
17709 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17711 @endif sid
17713 # Other targets (info, dvi, etc.)
17715 .PHONY: maybe-info-sid info-sid
17716 maybe-info-sid:
17717 @if sid
17718 maybe-info-sid: info-sid
17720 info-sid: \
17721 configure-sid
17722 @[ -f ./sid/Makefile ] || exit 0; \
17723 r=`${PWD_COMMAND}`; export r; \
17724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17725 $(SET_LIB_PATH) \
17726 $(HOST_EXPORTS) \
17727 for flag in $(EXTRA_HOST_FLAGS) ; do \
17728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17729 done; \
17730 echo "Doing info in sid" ; \
17731 (cd sid && \
17732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17734 "RANLIB=$${RANLIB}" \
17735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17736 info) \
17737 || exit 1
17739 @endif sid
17741 .PHONY: maybe-dvi-sid dvi-sid
17742 maybe-dvi-sid:
17743 @if sid
17744 maybe-dvi-sid: dvi-sid
17746 dvi-sid: \
17747 configure-sid
17748 @[ -f ./sid/Makefile ] || exit 0; \
17749 r=`${PWD_COMMAND}`; export r; \
17750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17751 $(SET_LIB_PATH) \
17752 $(HOST_EXPORTS) \
17753 for flag in $(EXTRA_HOST_FLAGS) ; do \
17754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17755 done; \
17756 echo "Doing dvi in sid" ; \
17757 (cd sid && \
17758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17760 "RANLIB=$${RANLIB}" \
17761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17762 dvi) \
17763 || exit 1
17765 @endif sid
17767 .PHONY: maybe-TAGS-sid TAGS-sid
17768 maybe-TAGS-sid:
17769 @if sid
17770 maybe-TAGS-sid: TAGS-sid
17772 TAGS-sid: \
17773 configure-sid
17774 @[ -f ./sid/Makefile ] || exit 0; \
17775 r=`${PWD_COMMAND}`; export r; \
17776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17777 $(SET_LIB_PATH) \
17778 $(HOST_EXPORTS) \
17779 for flag in $(EXTRA_HOST_FLAGS) ; do \
17780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17781 done; \
17782 echo "Doing TAGS in sid" ; \
17783 (cd sid && \
17784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17786 "RANLIB=$${RANLIB}" \
17787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17788 TAGS) \
17789 || exit 1
17791 @endif sid
17793 .PHONY: maybe-install-info-sid install-info-sid
17794 maybe-install-info-sid:
17795 @if sid
17796 maybe-install-info-sid: install-info-sid
17798 install-info-sid: \
17799 configure-sid \
17800 info-sid
17801 @[ -f ./sid/Makefile ] || exit 0; \
17802 r=`${PWD_COMMAND}`; export r; \
17803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17804 $(SET_LIB_PATH) \
17805 $(HOST_EXPORTS) \
17806 for flag in $(EXTRA_HOST_FLAGS) ; do \
17807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17808 done; \
17809 echo "Doing install-info in sid" ; \
17810 (cd sid && \
17811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17813 "RANLIB=$${RANLIB}" \
17814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17815 install-info) \
17816 || exit 1
17818 @endif sid
17820 .PHONY: maybe-installcheck-sid installcheck-sid
17821 maybe-installcheck-sid:
17822 @if sid
17823 maybe-installcheck-sid: installcheck-sid
17825 installcheck-sid: \
17826 configure-sid
17827 @[ -f ./sid/Makefile ] || exit 0; \
17828 r=`${PWD_COMMAND}`; export r; \
17829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17830 $(SET_LIB_PATH) \
17831 $(HOST_EXPORTS) \
17832 for flag in $(EXTRA_HOST_FLAGS) ; do \
17833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17834 done; \
17835 echo "Doing installcheck in sid" ; \
17836 (cd sid && \
17837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17839 "RANLIB=$${RANLIB}" \
17840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17841 installcheck) \
17842 || exit 1
17844 @endif sid
17846 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17847 maybe-mostlyclean-sid:
17848 @if sid
17849 maybe-mostlyclean-sid: mostlyclean-sid
17851 mostlyclean-sid:
17852 @[ -f ./sid/Makefile ] || exit 0; \
17853 r=`${PWD_COMMAND}`; export r; \
17854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17855 $(SET_LIB_PATH) \
17856 $(HOST_EXPORTS) \
17857 for flag in $(EXTRA_HOST_FLAGS) ; do \
17858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17859 done; \
17860 echo "Doing mostlyclean in sid" ; \
17861 (cd sid && \
17862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17864 "RANLIB=$${RANLIB}" \
17865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17866 mostlyclean) \
17867 || exit 1
17869 @endif sid
17871 .PHONY: maybe-clean-sid clean-sid
17872 maybe-clean-sid:
17873 @if sid
17874 maybe-clean-sid: clean-sid
17876 clean-sid:
17877 @[ -f ./sid/Makefile ] || exit 0; \
17878 r=`${PWD_COMMAND}`; export r; \
17879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17880 $(SET_LIB_PATH) \
17881 $(HOST_EXPORTS) \
17882 for flag in $(EXTRA_HOST_FLAGS) ; do \
17883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17884 done; \
17885 echo "Doing clean in sid" ; \
17886 (cd sid && \
17887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17889 "RANLIB=$${RANLIB}" \
17890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17891 clean) \
17892 || exit 1
17894 @endif sid
17896 .PHONY: maybe-distclean-sid distclean-sid
17897 maybe-distclean-sid:
17898 @if sid
17899 maybe-distclean-sid: distclean-sid
17901 distclean-sid:
17902 @[ -f ./sid/Makefile ] || exit 0; \
17903 r=`${PWD_COMMAND}`; export r; \
17904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17905 $(SET_LIB_PATH) \
17906 $(HOST_EXPORTS) \
17907 for flag in $(EXTRA_HOST_FLAGS) ; do \
17908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17909 done; \
17910 echo "Doing distclean in sid" ; \
17911 (cd sid && \
17912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17914 "RANLIB=$${RANLIB}" \
17915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17916 distclean) \
17917 || exit 1
17919 @endif sid
17921 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17922 maybe-maintainer-clean-sid:
17923 @if sid
17924 maybe-maintainer-clean-sid: maintainer-clean-sid
17926 maintainer-clean-sid:
17927 @[ -f ./sid/Makefile ] || exit 0; \
17928 r=`${PWD_COMMAND}`; export r; \
17929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17930 $(SET_LIB_PATH) \
17931 $(HOST_EXPORTS) \
17932 for flag in $(EXTRA_HOST_FLAGS) ; do \
17933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17934 done; \
17935 echo "Doing maintainer-clean in sid" ; \
17936 (cd sid && \
17937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17939 "RANLIB=$${RANLIB}" \
17940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17941 maintainer-clean) \
17942 || exit 1
17944 @endif sid
17947 .PHONY: configure-sim maybe-configure-sim
17948 maybe-configure-sim:
17949 @if sim
17950 maybe-configure-sim: configure-sim
17951 configure-sim:
17952 @test ! -f sim/Makefile || exit 0; \
17953 [ -d sim ] || mkdir sim; \
17954 r=`${PWD_COMMAND}`; export r; \
17955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17956 $(HOST_EXPORTS) \
17957 echo Configuring in sim; \
17958 cd sim || exit 1; \
17959 case $(srcdir) in \
17960 \.) \
17961 srcdiroption="--srcdir=."; \
17962 libsrcdir=".";; \
17963 /* | [A-Za-z]:[\\/]*) \
17964 srcdiroption="--srcdir=$(srcdir)/sim"; \
17965 libsrcdir="$$s/sim";; \
17966 *) \
17967 srcdiroption="--srcdir=../$(srcdir)/sim"; \
17968 libsrcdir="$$s/sim";; \
17969 esac; \
17970 $(SHELL) $${libsrcdir}/configure \
17971 $(HOST_CONFIGARGS) $${srcdiroption} \
17972 || exit 1
17973 @endif sim
17975 .PHONY: all-sim maybe-all-sim
17976 maybe-all-sim:
17977 @if sim
17978 TARGET-sim=all
17979 maybe-all-sim: all-sim
17980 all-sim: configure-sim
17981 @r=`${PWD_COMMAND}`; export r; \
17982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17983 $(SET_LIB_PATH) \
17984 $(HOST_EXPORTS) \
17985 (cd sim && $(MAKE) $(FLAGS_TO_PASS) \
17986 $(TARGET-sim))
17987 @endif sim
17989 .PHONY: check-sim maybe-check-sim
17990 maybe-check-sim:
17991 @if sim
17992 maybe-check-sim: check-sim
17994 check-sim:
17995 @r=`${PWD_COMMAND}`; export r; \
17996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17997 $(SET_LIB_PATH) \
17998 $(HOST_EXPORTS) \
17999 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
18001 @endif sim
18003 .PHONY: install-sim maybe-install-sim
18004 maybe-install-sim:
18005 @if sim
18006 maybe-install-sim: install-sim
18008 install-sim: installdirs
18009 @r=`${PWD_COMMAND}`; export r; \
18010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18011 $(SET_LIB_PATH) \
18012 $(HOST_EXPORTS) \
18013 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
18015 @endif sim
18017 # Other targets (info, dvi, etc.)
18019 .PHONY: maybe-info-sim info-sim
18020 maybe-info-sim:
18021 @if sim
18022 maybe-info-sim: info-sim
18024 info-sim: \
18025 configure-sim
18026 @[ -f ./sim/Makefile ] || exit 0; \
18027 r=`${PWD_COMMAND}`; export r; \
18028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18029 $(SET_LIB_PATH) \
18030 $(HOST_EXPORTS) \
18031 for flag in $(EXTRA_HOST_FLAGS) ; do \
18032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18033 done; \
18034 echo "Doing info in sim" ; \
18035 (cd sim && \
18036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18038 "RANLIB=$${RANLIB}" \
18039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18040 info) \
18041 || exit 1
18043 @endif sim
18045 .PHONY: maybe-dvi-sim dvi-sim
18046 maybe-dvi-sim:
18047 @if sim
18048 maybe-dvi-sim: dvi-sim
18050 dvi-sim: \
18051 configure-sim
18052 @[ -f ./sim/Makefile ] || exit 0; \
18053 r=`${PWD_COMMAND}`; export r; \
18054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18055 $(SET_LIB_PATH) \
18056 $(HOST_EXPORTS) \
18057 for flag in $(EXTRA_HOST_FLAGS) ; do \
18058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18059 done; \
18060 echo "Doing dvi in sim" ; \
18061 (cd sim && \
18062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18064 "RANLIB=$${RANLIB}" \
18065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18066 dvi) \
18067 || exit 1
18069 @endif sim
18071 .PHONY: maybe-TAGS-sim TAGS-sim
18072 maybe-TAGS-sim:
18073 @if sim
18074 maybe-TAGS-sim: TAGS-sim
18076 TAGS-sim: \
18077 configure-sim
18078 @[ -f ./sim/Makefile ] || exit 0; \
18079 r=`${PWD_COMMAND}`; export r; \
18080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18081 $(SET_LIB_PATH) \
18082 $(HOST_EXPORTS) \
18083 for flag in $(EXTRA_HOST_FLAGS) ; do \
18084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18085 done; \
18086 echo "Doing TAGS in sim" ; \
18087 (cd sim && \
18088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18090 "RANLIB=$${RANLIB}" \
18091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18092 TAGS) \
18093 || exit 1
18095 @endif sim
18097 .PHONY: maybe-install-info-sim install-info-sim
18098 maybe-install-info-sim:
18099 @if sim
18100 maybe-install-info-sim: install-info-sim
18102 install-info-sim: \
18103 configure-sim \
18104 info-sim
18105 @[ -f ./sim/Makefile ] || exit 0; \
18106 r=`${PWD_COMMAND}`; export r; \
18107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18108 $(SET_LIB_PATH) \
18109 $(HOST_EXPORTS) \
18110 for flag in $(EXTRA_HOST_FLAGS) ; do \
18111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18112 done; \
18113 echo "Doing install-info in sim" ; \
18114 (cd sim && \
18115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18117 "RANLIB=$${RANLIB}" \
18118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18119 install-info) \
18120 || exit 1
18122 @endif sim
18124 .PHONY: maybe-installcheck-sim installcheck-sim
18125 maybe-installcheck-sim:
18126 @if sim
18127 maybe-installcheck-sim: installcheck-sim
18129 installcheck-sim: \
18130 configure-sim
18131 @[ -f ./sim/Makefile ] || exit 0; \
18132 r=`${PWD_COMMAND}`; export r; \
18133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18134 $(SET_LIB_PATH) \
18135 $(HOST_EXPORTS) \
18136 for flag in $(EXTRA_HOST_FLAGS) ; do \
18137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18138 done; \
18139 echo "Doing installcheck in sim" ; \
18140 (cd sim && \
18141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18143 "RANLIB=$${RANLIB}" \
18144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18145 installcheck) \
18146 || exit 1
18148 @endif sim
18150 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
18151 maybe-mostlyclean-sim:
18152 @if sim
18153 maybe-mostlyclean-sim: mostlyclean-sim
18155 mostlyclean-sim:
18156 @[ -f ./sim/Makefile ] || exit 0; \
18157 r=`${PWD_COMMAND}`; export r; \
18158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18159 $(SET_LIB_PATH) \
18160 $(HOST_EXPORTS) \
18161 for flag in $(EXTRA_HOST_FLAGS) ; do \
18162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18163 done; \
18164 echo "Doing mostlyclean in sim" ; \
18165 (cd sim && \
18166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18168 "RANLIB=$${RANLIB}" \
18169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18170 mostlyclean) \
18171 || exit 1
18173 @endif sim
18175 .PHONY: maybe-clean-sim clean-sim
18176 maybe-clean-sim:
18177 @if sim
18178 maybe-clean-sim: clean-sim
18180 clean-sim:
18181 @[ -f ./sim/Makefile ] || exit 0; \
18182 r=`${PWD_COMMAND}`; export r; \
18183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18184 $(SET_LIB_PATH) \
18185 $(HOST_EXPORTS) \
18186 for flag in $(EXTRA_HOST_FLAGS) ; do \
18187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18188 done; \
18189 echo "Doing clean in sim" ; \
18190 (cd sim && \
18191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18193 "RANLIB=$${RANLIB}" \
18194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18195 clean) \
18196 || exit 1
18198 @endif sim
18200 .PHONY: maybe-distclean-sim distclean-sim
18201 maybe-distclean-sim:
18202 @if sim
18203 maybe-distclean-sim: distclean-sim
18205 distclean-sim:
18206 @[ -f ./sim/Makefile ] || exit 0; \
18207 r=`${PWD_COMMAND}`; export r; \
18208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18209 $(SET_LIB_PATH) \
18210 $(HOST_EXPORTS) \
18211 for flag in $(EXTRA_HOST_FLAGS) ; do \
18212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18213 done; \
18214 echo "Doing distclean in sim" ; \
18215 (cd sim && \
18216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18218 "RANLIB=$${RANLIB}" \
18219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18220 distclean) \
18221 || exit 1
18223 @endif sim
18225 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
18226 maybe-maintainer-clean-sim:
18227 @if sim
18228 maybe-maintainer-clean-sim: maintainer-clean-sim
18230 maintainer-clean-sim:
18231 @[ -f ./sim/Makefile ] || exit 0; \
18232 r=`${PWD_COMMAND}`; export r; \
18233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18234 $(SET_LIB_PATH) \
18235 $(HOST_EXPORTS) \
18236 for flag in $(EXTRA_HOST_FLAGS) ; do \
18237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18238 done; \
18239 echo "Doing maintainer-clean in sim" ; \
18240 (cd sim && \
18241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18243 "RANLIB=$${RANLIB}" \
18244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18245 maintainer-clean) \
18246 || exit 1
18248 @endif sim
18251 .PHONY: configure-tar maybe-configure-tar
18252 maybe-configure-tar:
18253 @if tar
18254 maybe-configure-tar: configure-tar
18255 configure-tar:
18256 @test ! -f tar/Makefile || exit 0; \
18257 [ -d tar ] || mkdir tar; \
18258 r=`${PWD_COMMAND}`; export r; \
18259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18260 $(HOST_EXPORTS) \
18261 echo Configuring in tar; \
18262 cd tar || exit 1; \
18263 case $(srcdir) in \
18264 \.) \
18265 srcdiroption="--srcdir=."; \
18266 libsrcdir=".";; \
18267 /* | [A-Za-z]:[\\/]*) \
18268 srcdiroption="--srcdir=$(srcdir)/tar"; \
18269 libsrcdir="$$s/tar";; \
18270 *) \
18271 srcdiroption="--srcdir=../$(srcdir)/tar"; \
18272 libsrcdir="$$s/tar";; \
18273 esac; \
18274 $(SHELL) $${libsrcdir}/configure \
18275 $(HOST_CONFIGARGS) $${srcdiroption} \
18276 || exit 1
18277 @endif tar
18279 .PHONY: all-tar maybe-all-tar
18280 maybe-all-tar:
18281 @if tar
18282 TARGET-tar=all
18283 maybe-all-tar: all-tar
18284 all-tar: configure-tar
18285 @r=`${PWD_COMMAND}`; export r; \
18286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18287 $(SET_LIB_PATH) \
18288 $(HOST_EXPORTS) \
18289 (cd tar && $(MAKE) $(FLAGS_TO_PASS) \
18290 $(TARGET-tar))
18291 @endif tar
18293 .PHONY: check-tar maybe-check-tar
18294 maybe-check-tar:
18295 @if tar
18296 maybe-check-tar: check-tar
18298 check-tar:
18299 @r=`${PWD_COMMAND}`; export r; \
18300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18301 $(SET_LIB_PATH) \
18302 $(HOST_EXPORTS) \
18303 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
18305 @endif tar
18307 .PHONY: install-tar maybe-install-tar
18308 maybe-install-tar:
18309 @if tar
18310 maybe-install-tar: install-tar
18312 install-tar: installdirs
18313 @r=`${PWD_COMMAND}`; export r; \
18314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18315 $(SET_LIB_PATH) \
18316 $(HOST_EXPORTS) \
18317 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
18319 @endif tar
18321 # Other targets (info, dvi, etc.)
18323 .PHONY: maybe-info-tar info-tar
18324 maybe-info-tar:
18325 @if tar
18326 maybe-info-tar: info-tar
18328 info-tar: \
18329 configure-tar
18330 @[ -f ./tar/Makefile ] || exit 0; \
18331 r=`${PWD_COMMAND}`; export r; \
18332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18333 $(SET_LIB_PATH) \
18334 $(HOST_EXPORTS) \
18335 for flag in $(EXTRA_HOST_FLAGS) ; do \
18336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18337 done; \
18338 echo "Doing info in tar" ; \
18339 (cd tar && \
18340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18342 "RANLIB=$${RANLIB}" \
18343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18344 info) \
18345 || exit 1
18347 @endif tar
18349 .PHONY: maybe-dvi-tar dvi-tar
18350 maybe-dvi-tar:
18351 @if tar
18352 maybe-dvi-tar: dvi-tar
18354 dvi-tar: \
18355 configure-tar
18356 @[ -f ./tar/Makefile ] || exit 0; \
18357 r=`${PWD_COMMAND}`; export r; \
18358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18359 $(SET_LIB_PATH) \
18360 $(HOST_EXPORTS) \
18361 for flag in $(EXTRA_HOST_FLAGS) ; do \
18362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18363 done; \
18364 echo "Doing dvi in tar" ; \
18365 (cd tar && \
18366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18368 "RANLIB=$${RANLIB}" \
18369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18370 dvi) \
18371 || exit 1
18373 @endif tar
18375 .PHONY: maybe-TAGS-tar TAGS-tar
18376 maybe-TAGS-tar:
18377 @if tar
18378 maybe-TAGS-tar: TAGS-tar
18380 TAGS-tar: \
18381 configure-tar
18382 @[ -f ./tar/Makefile ] || exit 0; \
18383 r=`${PWD_COMMAND}`; export r; \
18384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18385 $(SET_LIB_PATH) \
18386 $(HOST_EXPORTS) \
18387 for flag in $(EXTRA_HOST_FLAGS) ; do \
18388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18389 done; \
18390 echo "Doing TAGS in tar" ; \
18391 (cd tar && \
18392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18394 "RANLIB=$${RANLIB}" \
18395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18396 TAGS) \
18397 || exit 1
18399 @endif tar
18401 .PHONY: maybe-install-info-tar install-info-tar
18402 maybe-install-info-tar:
18403 @if tar
18404 maybe-install-info-tar: install-info-tar
18406 install-info-tar: \
18407 configure-tar \
18408 info-tar
18409 @[ -f ./tar/Makefile ] || exit 0; \
18410 r=`${PWD_COMMAND}`; export r; \
18411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18412 $(SET_LIB_PATH) \
18413 $(HOST_EXPORTS) \
18414 for flag in $(EXTRA_HOST_FLAGS) ; do \
18415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18416 done; \
18417 echo "Doing install-info in tar" ; \
18418 (cd tar && \
18419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18421 "RANLIB=$${RANLIB}" \
18422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18423 install-info) \
18424 || exit 1
18426 @endif tar
18428 .PHONY: maybe-installcheck-tar installcheck-tar
18429 maybe-installcheck-tar:
18430 @if tar
18431 maybe-installcheck-tar: installcheck-tar
18433 installcheck-tar: \
18434 configure-tar
18435 @[ -f ./tar/Makefile ] || exit 0; \
18436 r=`${PWD_COMMAND}`; export r; \
18437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18438 $(SET_LIB_PATH) \
18439 $(HOST_EXPORTS) \
18440 for flag in $(EXTRA_HOST_FLAGS) ; do \
18441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18442 done; \
18443 echo "Doing installcheck in tar" ; \
18444 (cd tar && \
18445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18447 "RANLIB=$${RANLIB}" \
18448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18449 installcheck) \
18450 || exit 1
18452 @endif tar
18454 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18455 maybe-mostlyclean-tar:
18456 @if tar
18457 maybe-mostlyclean-tar: mostlyclean-tar
18459 mostlyclean-tar:
18460 @[ -f ./tar/Makefile ] || exit 0; \
18461 r=`${PWD_COMMAND}`; export r; \
18462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18463 $(SET_LIB_PATH) \
18464 $(HOST_EXPORTS) \
18465 for flag in $(EXTRA_HOST_FLAGS) ; do \
18466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18467 done; \
18468 echo "Doing mostlyclean in tar" ; \
18469 (cd tar && \
18470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18472 "RANLIB=$${RANLIB}" \
18473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18474 mostlyclean) \
18475 || exit 1
18477 @endif tar
18479 .PHONY: maybe-clean-tar clean-tar
18480 maybe-clean-tar:
18481 @if tar
18482 maybe-clean-tar: clean-tar
18484 clean-tar:
18485 @[ -f ./tar/Makefile ] || exit 0; \
18486 r=`${PWD_COMMAND}`; export r; \
18487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18488 $(SET_LIB_PATH) \
18489 $(HOST_EXPORTS) \
18490 for flag in $(EXTRA_HOST_FLAGS) ; do \
18491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18492 done; \
18493 echo "Doing clean in tar" ; \
18494 (cd tar && \
18495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18497 "RANLIB=$${RANLIB}" \
18498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18499 clean) \
18500 || exit 1
18502 @endif tar
18504 .PHONY: maybe-distclean-tar distclean-tar
18505 maybe-distclean-tar:
18506 @if tar
18507 maybe-distclean-tar: distclean-tar
18509 distclean-tar:
18510 @[ -f ./tar/Makefile ] || exit 0; \
18511 r=`${PWD_COMMAND}`; export r; \
18512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18513 $(SET_LIB_PATH) \
18514 $(HOST_EXPORTS) \
18515 for flag in $(EXTRA_HOST_FLAGS) ; do \
18516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18517 done; \
18518 echo "Doing distclean in tar" ; \
18519 (cd tar && \
18520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18522 "RANLIB=$${RANLIB}" \
18523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18524 distclean) \
18525 || exit 1
18527 @endif tar
18529 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
18530 maybe-maintainer-clean-tar:
18531 @if tar
18532 maybe-maintainer-clean-tar: maintainer-clean-tar
18534 maintainer-clean-tar:
18535 @[ -f ./tar/Makefile ] || exit 0; \
18536 r=`${PWD_COMMAND}`; export r; \
18537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18538 $(SET_LIB_PATH) \
18539 $(HOST_EXPORTS) \
18540 for flag in $(EXTRA_HOST_FLAGS) ; do \
18541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18542 done; \
18543 echo "Doing maintainer-clean in tar" ; \
18544 (cd tar && \
18545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18547 "RANLIB=$${RANLIB}" \
18548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18549 maintainer-clean) \
18550 || exit 1
18552 @endif tar
18555 .PHONY: configure-texinfo maybe-configure-texinfo
18556 maybe-configure-texinfo:
18557 @if texinfo
18558 maybe-configure-texinfo: configure-texinfo
18559 configure-texinfo:
18560 @test ! -f texinfo/Makefile || exit 0; \
18561 [ -d texinfo ] || mkdir texinfo; \
18562 r=`${PWD_COMMAND}`; export r; \
18563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18564 $(HOST_EXPORTS) \
18565 echo Configuring in texinfo; \
18566 cd texinfo || exit 1; \
18567 case $(srcdir) in \
18568 \.) \
18569 srcdiroption="--srcdir=."; \
18570 libsrcdir=".";; \
18571 /* | [A-Za-z]:[\\/]*) \
18572 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
18573 libsrcdir="$$s/texinfo";; \
18574 *) \
18575 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
18576 libsrcdir="$$s/texinfo";; \
18577 esac; \
18578 $(SHELL) $${libsrcdir}/configure \
18579 $(HOST_CONFIGARGS) $${srcdiroption} \
18580 || exit 1
18581 @endif texinfo
18583 .PHONY: all-texinfo maybe-all-texinfo
18584 maybe-all-texinfo:
18585 @if texinfo
18586 TARGET-texinfo=all
18587 maybe-all-texinfo: all-texinfo
18588 all-texinfo: configure-texinfo
18589 @r=`${PWD_COMMAND}`; export r; \
18590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18591 $(SET_LIB_PATH) \
18592 $(HOST_EXPORTS) \
18593 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) \
18594 $(TARGET-texinfo))
18595 @endif texinfo
18597 .PHONY: check-texinfo maybe-check-texinfo
18598 maybe-check-texinfo:
18599 @if texinfo
18600 maybe-check-texinfo: check-texinfo
18602 check-texinfo:
18603 @r=`${PWD_COMMAND}`; export r; \
18604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18605 $(SET_LIB_PATH) \
18606 $(HOST_EXPORTS) \
18607 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
18609 @endif texinfo
18611 .PHONY: install-texinfo maybe-install-texinfo
18612 maybe-install-texinfo:
18613 @if texinfo
18614 maybe-install-texinfo: install-texinfo
18616 install-texinfo:
18618 @endif texinfo
18620 # Other targets (info, dvi, etc.)
18622 .PHONY: maybe-info-texinfo info-texinfo
18623 maybe-info-texinfo:
18624 @if texinfo
18625 maybe-info-texinfo: info-texinfo
18627 info-texinfo: \
18628 configure-texinfo
18629 @[ -f ./texinfo/Makefile ] || exit 0; \
18630 r=`${PWD_COMMAND}`; export r; \
18631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18632 $(SET_LIB_PATH) \
18633 $(HOST_EXPORTS) \
18634 for flag in $(EXTRA_HOST_FLAGS) ; do \
18635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18636 done; \
18637 echo "Doing info in texinfo" ; \
18638 (cd texinfo && \
18639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18641 "RANLIB=$${RANLIB}" \
18642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18643 info) \
18644 || exit 1
18646 @endif texinfo
18648 .PHONY: maybe-dvi-texinfo dvi-texinfo
18649 maybe-dvi-texinfo:
18650 @if texinfo
18651 maybe-dvi-texinfo: dvi-texinfo
18653 dvi-texinfo: \
18654 configure-texinfo
18655 @[ -f ./texinfo/Makefile ] || exit 0; \
18656 r=`${PWD_COMMAND}`; export r; \
18657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18658 $(SET_LIB_PATH) \
18659 $(HOST_EXPORTS) \
18660 for flag in $(EXTRA_HOST_FLAGS) ; do \
18661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18662 done; \
18663 echo "Doing dvi in texinfo" ; \
18664 (cd texinfo && \
18665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18667 "RANLIB=$${RANLIB}" \
18668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18669 dvi) \
18670 || exit 1
18672 @endif texinfo
18674 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
18675 maybe-TAGS-texinfo:
18676 @if texinfo
18677 maybe-TAGS-texinfo: TAGS-texinfo
18679 TAGS-texinfo: \
18680 configure-texinfo
18681 @[ -f ./texinfo/Makefile ] || exit 0; \
18682 r=`${PWD_COMMAND}`; export r; \
18683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18684 $(SET_LIB_PATH) \
18685 $(HOST_EXPORTS) \
18686 for flag in $(EXTRA_HOST_FLAGS) ; do \
18687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18688 done; \
18689 echo "Doing TAGS in texinfo" ; \
18690 (cd texinfo && \
18691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18693 "RANLIB=$${RANLIB}" \
18694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18695 TAGS) \
18696 || exit 1
18698 @endif texinfo
18700 .PHONY: maybe-install-info-texinfo install-info-texinfo
18701 maybe-install-info-texinfo:
18702 @if texinfo
18703 maybe-install-info-texinfo: install-info-texinfo
18705 install-info-texinfo: \
18706 configure-texinfo \
18707 info-texinfo
18708 @[ -f ./texinfo/Makefile ] || exit 0; \
18709 r=`${PWD_COMMAND}`; export r; \
18710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18711 $(SET_LIB_PATH) \
18712 $(HOST_EXPORTS) \
18713 for flag in $(EXTRA_HOST_FLAGS) ; do \
18714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18715 done; \
18716 echo "Doing install-info in texinfo" ; \
18717 (cd texinfo && \
18718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18720 "RANLIB=$${RANLIB}" \
18721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18722 install-info) \
18723 || exit 1
18725 @endif texinfo
18727 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18728 maybe-installcheck-texinfo:
18729 @if texinfo
18730 maybe-installcheck-texinfo: installcheck-texinfo
18732 installcheck-texinfo: \
18733 configure-texinfo
18734 @[ -f ./texinfo/Makefile ] || exit 0; \
18735 r=`${PWD_COMMAND}`; export r; \
18736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18737 $(SET_LIB_PATH) \
18738 $(HOST_EXPORTS) \
18739 for flag in $(EXTRA_HOST_FLAGS) ; do \
18740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18741 done; \
18742 echo "Doing installcheck in texinfo" ; \
18743 (cd texinfo && \
18744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18746 "RANLIB=$${RANLIB}" \
18747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18748 installcheck) \
18749 || exit 1
18751 @endif texinfo
18753 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18754 maybe-mostlyclean-texinfo:
18755 @if texinfo
18756 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18758 mostlyclean-texinfo:
18759 @[ -f ./texinfo/Makefile ] || exit 0; \
18760 r=`${PWD_COMMAND}`; export r; \
18761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18762 $(SET_LIB_PATH) \
18763 $(HOST_EXPORTS) \
18764 for flag in $(EXTRA_HOST_FLAGS) ; do \
18765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18766 done; \
18767 echo "Doing mostlyclean in texinfo" ; \
18768 (cd texinfo && \
18769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18771 "RANLIB=$${RANLIB}" \
18772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18773 mostlyclean) \
18774 || exit 1
18776 @endif texinfo
18778 .PHONY: maybe-clean-texinfo clean-texinfo
18779 maybe-clean-texinfo:
18780 @if texinfo
18781 maybe-clean-texinfo: clean-texinfo
18783 clean-texinfo:
18784 @[ -f ./texinfo/Makefile ] || exit 0; \
18785 r=`${PWD_COMMAND}`; export r; \
18786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18787 $(SET_LIB_PATH) \
18788 $(HOST_EXPORTS) \
18789 for flag in $(EXTRA_HOST_FLAGS) ; do \
18790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18791 done; \
18792 echo "Doing clean in texinfo" ; \
18793 (cd texinfo && \
18794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18796 "RANLIB=$${RANLIB}" \
18797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18798 clean) \
18799 || exit 1
18801 @endif texinfo
18803 .PHONY: maybe-distclean-texinfo distclean-texinfo
18804 maybe-distclean-texinfo:
18805 @if texinfo
18806 maybe-distclean-texinfo: distclean-texinfo
18808 distclean-texinfo:
18809 @[ -f ./texinfo/Makefile ] || exit 0; \
18810 r=`${PWD_COMMAND}`; export r; \
18811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18812 $(SET_LIB_PATH) \
18813 $(HOST_EXPORTS) \
18814 for flag in $(EXTRA_HOST_FLAGS) ; do \
18815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18816 done; \
18817 echo "Doing distclean in texinfo" ; \
18818 (cd texinfo && \
18819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18821 "RANLIB=$${RANLIB}" \
18822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18823 distclean) \
18824 || exit 1
18826 @endif texinfo
18828 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18829 maybe-maintainer-clean-texinfo:
18830 @if texinfo
18831 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18833 maintainer-clean-texinfo:
18834 @[ -f ./texinfo/Makefile ] || exit 0; \
18835 r=`${PWD_COMMAND}`; export r; \
18836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18837 $(SET_LIB_PATH) \
18838 $(HOST_EXPORTS) \
18839 for flag in $(EXTRA_HOST_FLAGS) ; do \
18840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18841 done; \
18842 echo "Doing maintainer-clean in texinfo" ; \
18843 (cd texinfo && \
18844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18846 "RANLIB=$${RANLIB}" \
18847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18848 maintainer-clean) \
18849 || exit 1
18851 @endif texinfo
18854 .PHONY: configure-textutils maybe-configure-textutils
18855 maybe-configure-textutils:
18856 @if textutils
18857 maybe-configure-textutils: configure-textutils
18858 configure-textutils:
18859 @test ! -f textutils/Makefile || exit 0; \
18860 [ -d textutils ] || mkdir textutils; \
18861 r=`${PWD_COMMAND}`; export r; \
18862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18863 $(HOST_EXPORTS) \
18864 echo Configuring in textutils; \
18865 cd textutils || exit 1; \
18866 case $(srcdir) in \
18867 \.) \
18868 srcdiroption="--srcdir=."; \
18869 libsrcdir=".";; \
18870 /* | [A-Za-z]:[\\/]*) \
18871 srcdiroption="--srcdir=$(srcdir)/textutils"; \
18872 libsrcdir="$$s/textutils";; \
18873 *) \
18874 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18875 libsrcdir="$$s/textutils";; \
18876 esac; \
18877 $(SHELL) $${libsrcdir}/configure \
18878 $(HOST_CONFIGARGS) $${srcdiroption} \
18879 || exit 1
18880 @endif textutils
18882 .PHONY: all-textutils maybe-all-textutils
18883 maybe-all-textutils:
18884 @if textutils
18885 TARGET-textutils=all
18886 maybe-all-textutils: all-textutils
18887 all-textutils: configure-textutils
18888 @r=`${PWD_COMMAND}`; export r; \
18889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18890 $(SET_LIB_PATH) \
18891 $(HOST_EXPORTS) \
18892 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) \
18893 $(TARGET-textutils))
18894 @endif textutils
18896 .PHONY: check-textutils maybe-check-textutils
18897 maybe-check-textutils:
18898 @if textutils
18899 maybe-check-textutils: check-textutils
18901 check-textutils:
18902 @r=`${PWD_COMMAND}`; export r; \
18903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18904 $(SET_LIB_PATH) \
18905 $(HOST_EXPORTS) \
18906 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18908 @endif textutils
18910 .PHONY: install-textutils maybe-install-textutils
18911 maybe-install-textutils:
18912 @if textutils
18913 maybe-install-textutils: install-textutils
18915 install-textutils: installdirs
18916 @r=`${PWD_COMMAND}`; export r; \
18917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18918 $(SET_LIB_PATH) \
18919 $(HOST_EXPORTS) \
18920 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18922 @endif textutils
18924 # Other targets (info, dvi, etc.)
18926 .PHONY: maybe-info-textutils info-textutils
18927 maybe-info-textutils:
18928 @if textutils
18929 maybe-info-textutils: info-textutils
18931 info-textutils: \
18932 configure-textutils
18933 @[ -f ./textutils/Makefile ] || exit 0; \
18934 r=`${PWD_COMMAND}`; export r; \
18935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18936 $(SET_LIB_PATH) \
18937 $(HOST_EXPORTS) \
18938 for flag in $(EXTRA_HOST_FLAGS) ; do \
18939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18940 done; \
18941 echo "Doing info in textutils" ; \
18942 (cd textutils && \
18943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18945 "RANLIB=$${RANLIB}" \
18946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18947 info) \
18948 || exit 1
18950 @endif textutils
18952 .PHONY: maybe-dvi-textutils dvi-textutils
18953 maybe-dvi-textutils:
18954 @if textutils
18955 maybe-dvi-textutils: dvi-textutils
18957 dvi-textutils: \
18958 configure-textutils
18959 @[ -f ./textutils/Makefile ] || exit 0; \
18960 r=`${PWD_COMMAND}`; export r; \
18961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18962 $(SET_LIB_PATH) \
18963 $(HOST_EXPORTS) \
18964 for flag in $(EXTRA_HOST_FLAGS) ; do \
18965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18966 done; \
18967 echo "Doing dvi in textutils" ; \
18968 (cd textutils && \
18969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18971 "RANLIB=$${RANLIB}" \
18972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18973 dvi) \
18974 || exit 1
18976 @endif textutils
18978 .PHONY: maybe-TAGS-textutils TAGS-textutils
18979 maybe-TAGS-textutils:
18980 @if textutils
18981 maybe-TAGS-textutils: TAGS-textutils
18983 TAGS-textutils: \
18984 configure-textutils
18985 @[ -f ./textutils/Makefile ] || exit 0; \
18986 r=`${PWD_COMMAND}`; export r; \
18987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18988 $(SET_LIB_PATH) \
18989 $(HOST_EXPORTS) \
18990 for flag in $(EXTRA_HOST_FLAGS) ; do \
18991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18992 done; \
18993 echo "Doing TAGS in textutils" ; \
18994 (cd textutils && \
18995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18997 "RANLIB=$${RANLIB}" \
18998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18999 TAGS) \
19000 || exit 1
19002 @endif textutils
19004 .PHONY: maybe-install-info-textutils install-info-textutils
19005 maybe-install-info-textutils:
19006 @if textutils
19007 maybe-install-info-textutils: install-info-textutils
19009 install-info-textutils: \
19010 configure-textutils \
19011 info-textutils
19012 @[ -f ./textutils/Makefile ] || exit 0; \
19013 r=`${PWD_COMMAND}`; export r; \
19014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19015 $(SET_LIB_PATH) \
19016 $(HOST_EXPORTS) \
19017 for flag in $(EXTRA_HOST_FLAGS) ; do \
19018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19019 done; \
19020 echo "Doing install-info in textutils" ; \
19021 (cd textutils && \
19022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19024 "RANLIB=$${RANLIB}" \
19025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19026 install-info) \
19027 || exit 1
19029 @endif textutils
19031 .PHONY: maybe-installcheck-textutils installcheck-textutils
19032 maybe-installcheck-textutils:
19033 @if textutils
19034 maybe-installcheck-textutils: installcheck-textutils
19036 installcheck-textutils: \
19037 configure-textutils
19038 @[ -f ./textutils/Makefile ] || exit 0; \
19039 r=`${PWD_COMMAND}`; export r; \
19040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19041 $(SET_LIB_PATH) \
19042 $(HOST_EXPORTS) \
19043 for flag in $(EXTRA_HOST_FLAGS) ; do \
19044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19045 done; \
19046 echo "Doing installcheck in textutils" ; \
19047 (cd textutils && \
19048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19050 "RANLIB=$${RANLIB}" \
19051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19052 installcheck) \
19053 || exit 1
19055 @endif textutils
19057 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
19058 maybe-mostlyclean-textutils:
19059 @if textutils
19060 maybe-mostlyclean-textutils: mostlyclean-textutils
19062 mostlyclean-textutils:
19063 @[ -f ./textutils/Makefile ] || exit 0; \
19064 r=`${PWD_COMMAND}`; export r; \
19065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19066 $(SET_LIB_PATH) \
19067 $(HOST_EXPORTS) \
19068 for flag in $(EXTRA_HOST_FLAGS) ; do \
19069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19070 done; \
19071 echo "Doing mostlyclean in textutils" ; \
19072 (cd textutils && \
19073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19075 "RANLIB=$${RANLIB}" \
19076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19077 mostlyclean) \
19078 || exit 1
19080 @endif textutils
19082 .PHONY: maybe-clean-textutils clean-textutils
19083 maybe-clean-textutils:
19084 @if textutils
19085 maybe-clean-textutils: clean-textutils
19087 clean-textutils:
19088 @[ -f ./textutils/Makefile ] || exit 0; \
19089 r=`${PWD_COMMAND}`; export r; \
19090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19091 $(SET_LIB_PATH) \
19092 $(HOST_EXPORTS) \
19093 for flag in $(EXTRA_HOST_FLAGS) ; do \
19094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19095 done; \
19096 echo "Doing clean in textutils" ; \
19097 (cd textutils && \
19098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19100 "RANLIB=$${RANLIB}" \
19101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19102 clean) \
19103 || exit 1
19105 @endif textutils
19107 .PHONY: maybe-distclean-textutils distclean-textutils
19108 maybe-distclean-textutils:
19109 @if textutils
19110 maybe-distclean-textutils: distclean-textutils
19112 distclean-textutils:
19113 @[ -f ./textutils/Makefile ] || exit 0; \
19114 r=`${PWD_COMMAND}`; export r; \
19115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19116 $(SET_LIB_PATH) \
19117 $(HOST_EXPORTS) \
19118 for flag in $(EXTRA_HOST_FLAGS) ; do \
19119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19120 done; \
19121 echo "Doing distclean in textutils" ; \
19122 (cd textutils && \
19123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19125 "RANLIB=$${RANLIB}" \
19126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19127 distclean) \
19128 || exit 1
19130 @endif textutils
19132 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
19133 maybe-maintainer-clean-textutils:
19134 @if textutils
19135 maybe-maintainer-clean-textutils: maintainer-clean-textutils
19137 maintainer-clean-textutils:
19138 @[ -f ./textutils/Makefile ] || exit 0; \
19139 r=`${PWD_COMMAND}`; export r; \
19140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19141 $(SET_LIB_PATH) \
19142 $(HOST_EXPORTS) \
19143 for flag in $(EXTRA_HOST_FLAGS) ; do \
19144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19145 done; \
19146 echo "Doing maintainer-clean in textutils" ; \
19147 (cd textutils && \
19148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19150 "RANLIB=$${RANLIB}" \
19151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19152 maintainer-clean) \
19153 || exit 1
19155 @endif textutils
19158 .PHONY: configure-time maybe-configure-time
19159 maybe-configure-time:
19160 @if time
19161 maybe-configure-time: configure-time
19162 configure-time:
19163 @test ! -f time/Makefile || exit 0; \
19164 [ -d time ] || mkdir time; \
19165 r=`${PWD_COMMAND}`; export r; \
19166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19167 $(HOST_EXPORTS) \
19168 echo Configuring in time; \
19169 cd time || exit 1; \
19170 case $(srcdir) in \
19171 \.) \
19172 srcdiroption="--srcdir=."; \
19173 libsrcdir=".";; \
19174 /* | [A-Za-z]:[\\/]*) \
19175 srcdiroption="--srcdir=$(srcdir)/time"; \
19176 libsrcdir="$$s/time";; \
19177 *) \
19178 srcdiroption="--srcdir=../$(srcdir)/time"; \
19179 libsrcdir="$$s/time";; \
19180 esac; \
19181 $(SHELL) $${libsrcdir}/configure \
19182 $(HOST_CONFIGARGS) $${srcdiroption} \
19183 || exit 1
19184 @endif time
19186 .PHONY: all-time maybe-all-time
19187 maybe-all-time:
19188 @if time
19189 TARGET-time=all
19190 maybe-all-time: all-time
19191 all-time: configure-time
19192 @r=`${PWD_COMMAND}`; export r; \
19193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19194 $(SET_LIB_PATH) \
19195 $(HOST_EXPORTS) \
19196 (cd time && $(MAKE) $(FLAGS_TO_PASS) \
19197 $(TARGET-time))
19198 @endif time
19200 .PHONY: check-time maybe-check-time
19201 maybe-check-time:
19202 @if time
19203 maybe-check-time: check-time
19205 check-time:
19206 @r=`${PWD_COMMAND}`; export r; \
19207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19208 $(SET_LIB_PATH) \
19209 $(HOST_EXPORTS) \
19210 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
19212 @endif time
19214 .PHONY: install-time maybe-install-time
19215 maybe-install-time:
19216 @if time
19217 maybe-install-time: install-time
19219 install-time: installdirs
19220 @r=`${PWD_COMMAND}`; export r; \
19221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19222 $(SET_LIB_PATH) \
19223 $(HOST_EXPORTS) \
19224 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
19226 @endif time
19228 # Other targets (info, dvi, etc.)
19230 .PHONY: maybe-info-time info-time
19231 maybe-info-time:
19232 @if time
19233 maybe-info-time: info-time
19235 info-time: \
19236 configure-time
19237 @[ -f ./time/Makefile ] || exit 0; \
19238 r=`${PWD_COMMAND}`; export r; \
19239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19240 $(SET_LIB_PATH) \
19241 $(HOST_EXPORTS) \
19242 for flag in $(EXTRA_HOST_FLAGS) ; do \
19243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19244 done; \
19245 echo "Doing info in time" ; \
19246 (cd time && \
19247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19249 "RANLIB=$${RANLIB}" \
19250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19251 info) \
19252 || exit 1
19254 @endif time
19256 .PHONY: maybe-dvi-time dvi-time
19257 maybe-dvi-time:
19258 @if time
19259 maybe-dvi-time: dvi-time
19261 dvi-time: \
19262 configure-time
19263 @[ -f ./time/Makefile ] || exit 0; \
19264 r=`${PWD_COMMAND}`; export r; \
19265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19266 $(SET_LIB_PATH) \
19267 $(HOST_EXPORTS) \
19268 for flag in $(EXTRA_HOST_FLAGS) ; do \
19269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19270 done; \
19271 echo "Doing dvi in time" ; \
19272 (cd time && \
19273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19275 "RANLIB=$${RANLIB}" \
19276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19277 dvi) \
19278 || exit 1
19280 @endif time
19282 .PHONY: maybe-TAGS-time TAGS-time
19283 maybe-TAGS-time:
19284 @if time
19285 maybe-TAGS-time: TAGS-time
19287 TAGS-time: \
19288 configure-time
19289 @[ -f ./time/Makefile ] || exit 0; \
19290 r=`${PWD_COMMAND}`; export r; \
19291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19292 $(SET_LIB_PATH) \
19293 $(HOST_EXPORTS) \
19294 for flag in $(EXTRA_HOST_FLAGS) ; do \
19295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19296 done; \
19297 echo "Doing TAGS in time" ; \
19298 (cd time && \
19299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19301 "RANLIB=$${RANLIB}" \
19302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19303 TAGS) \
19304 || exit 1
19306 @endif time
19308 .PHONY: maybe-install-info-time install-info-time
19309 maybe-install-info-time:
19310 @if time
19311 maybe-install-info-time: install-info-time
19313 install-info-time: \
19314 configure-time \
19315 info-time
19316 @[ -f ./time/Makefile ] || exit 0; \
19317 r=`${PWD_COMMAND}`; export r; \
19318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19319 $(SET_LIB_PATH) \
19320 $(HOST_EXPORTS) \
19321 for flag in $(EXTRA_HOST_FLAGS) ; do \
19322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19323 done; \
19324 echo "Doing install-info in time" ; \
19325 (cd time && \
19326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19328 "RANLIB=$${RANLIB}" \
19329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19330 install-info) \
19331 || exit 1
19333 @endif time
19335 .PHONY: maybe-installcheck-time installcheck-time
19336 maybe-installcheck-time:
19337 @if time
19338 maybe-installcheck-time: installcheck-time
19340 installcheck-time: \
19341 configure-time
19342 @[ -f ./time/Makefile ] || exit 0; \
19343 r=`${PWD_COMMAND}`; export r; \
19344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19345 $(SET_LIB_PATH) \
19346 $(HOST_EXPORTS) \
19347 for flag in $(EXTRA_HOST_FLAGS) ; do \
19348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19349 done; \
19350 echo "Doing installcheck in time" ; \
19351 (cd time && \
19352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19354 "RANLIB=$${RANLIB}" \
19355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19356 installcheck) \
19357 || exit 1
19359 @endif time
19361 .PHONY: maybe-mostlyclean-time mostlyclean-time
19362 maybe-mostlyclean-time:
19363 @if time
19364 maybe-mostlyclean-time: mostlyclean-time
19366 mostlyclean-time:
19367 @[ -f ./time/Makefile ] || exit 0; \
19368 r=`${PWD_COMMAND}`; export r; \
19369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19370 $(SET_LIB_PATH) \
19371 $(HOST_EXPORTS) \
19372 for flag in $(EXTRA_HOST_FLAGS) ; do \
19373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19374 done; \
19375 echo "Doing mostlyclean in time" ; \
19376 (cd time && \
19377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19379 "RANLIB=$${RANLIB}" \
19380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19381 mostlyclean) \
19382 || exit 1
19384 @endif time
19386 .PHONY: maybe-clean-time clean-time
19387 maybe-clean-time:
19388 @if time
19389 maybe-clean-time: clean-time
19391 clean-time:
19392 @[ -f ./time/Makefile ] || exit 0; \
19393 r=`${PWD_COMMAND}`; export r; \
19394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19395 $(SET_LIB_PATH) \
19396 $(HOST_EXPORTS) \
19397 for flag in $(EXTRA_HOST_FLAGS) ; do \
19398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19399 done; \
19400 echo "Doing clean in time" ; \
19401 (cd time && \
19402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19404 "RANLIB=$${RANLIB}" \
19405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19406 clean) \
19407 || exit 1
19409 @endif time
19411 .PHONY: maybe-distclean-time distclean-time
19412 maybe-distclean-time:
19413 @if time
19414 maybe-distclean-time: distclean-time
19416 distclean-time:
19417 @[ -f ./time/Makefile ] || exit 0; \
19418 r=`${PWD_COMMAND}`; export r; \
19419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19420 $(SET_LIB_PATH) \
19421 $(HOST_EXPORTS) \
19422 for flag in $(EXTRA_HOST_FLAGS) ; do \
19423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19424 done; \
19425 echo "Doing distclean in time" ; \
19426 (cd time && \
19427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19429 "RANLIB=$${RANLIB}" \
19430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19431 distclean) \
19432 || exit 1
19434 @endif time
19436 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
19437 maybe-maintainer-clean-time:
19438 @if time
19439 maybe-maintainer-clean-time: maintainer-clean-time
19441 maintainer-clean-time:
19442 @[ -f ./time/Makefile ] || exit 0; \
19443 r=`${PWD_COMMAND}`; export r; \
19444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19445 $(SET_LIB_PATH) \
19446 $(HOST_EXPORTS) \
19447 for flag in $(EXTRA_HOST_FLAGS) ; do \
19448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19449 done; \
19450 echo "Doing maintainer-clean in time" ; \
19451 (cd time && \
19452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19454 "RANLIB=$${RANLIB}" \
19455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19456 maintainer-clean) \
19457 || exit 1
19459 @endif time
19462 .PHONY: configure-uudecode maybe-configure-uudecode
19463 maybe-configure-uudecode:
19464 @if uudecode
19465 maybe-configure-uudecode: configure-uudecode
19466 configure-uudecode:
19467 @test ! -f uudecode/Makefile || exit 0; \
19468 [ -d uudecode ] || mkdir uudecode; \
19469 r=`${PWD_COMMAND}`; export r; \
19470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19471 $(HOST_EXPORTS) \
19472 echo Configuring in uudecode; \
19473 cd uudecode || exit 1; \
19474 case $(srcdir) in \
19475 \.) \
19476 srcdiroption="--srcdir=."; \
19477 libsrcdir=".";; \
19478 /* | [A-Za-z]:[\\/]*) \
19479 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
19480 libsrcdir="$$s/uudecode";; \
19481 *) \
19482 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
19483 libsrcdir="$$s/uudecode";; \
19484 esac; \
19485 $(SHELL) $${libsrcdir}/configure \
19486 $(HOST_CONFIGARGS) $${srcdiroption} \
19487 || exit 1
19488 @endif uudecode
19490 .PHONY: all-uudecode maybe-all-uudecode
19491 maybe-all-uudecode:
19492 @if uudecode
19493 TARGET-uudecode=all
19494 maybe-all-uudecode: all-uudecode
19495 all-uudecode: configure-uudecode
19496 @r=`${PWD_COMMAND}`; export r; \
19497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19498 $(SET_LIB_PATH) \
19499 $(HOST_EXPORTS) \
19500 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) \
19501 $(TARGET-uudecode))
19502 @endif uudecode
19504 .PHONY: check-uudecode maybe-check-uudecode
19505 maybe-check-uudecode:
19506 @if uudecode
19507 maybe-check-uudecode: check-uudecode
19509 check-uudecode:
19510 @r=`${PWD_COMMAND}`; export r; \
19511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19512 $(SET_LIB_PATH) \
19513 $(HOST_EXPORTS) \
19514 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
19516 @endif uudecode
19518 .PHONY: install-uudecode maybe-install-uudecode
19519 maybe-install-uudecode:
19520 @if uudecode
19521 maybe-install-uudecode: install-uudecode
19523 install-uudecode: installdirs
19524 @r=`${PWD_COMMAND}`; export r; \
19525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19526 $(SET_LIB_PATH) \
19527 $(HOST_EXPORTS) \
19528 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
19530 @endif uudecode
19532 # Other targets (info, dvi, etc.)
19534 .PHONY: maybe-info-uudecode info-uudecode
19535 maybe-info-uudecode:
19536 @if uudecode
19537 maybe-info-uudecode: info-uudecode
19539 info-uudecode: \
19540 configure-uudecode
19541 @[ -f ./uudecode/Makefile ] || exit 0; \
19542 r=`${PWD_COMMAND}`; export r; \
19543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19544 $(SET_LIB_PATH) \
19545 $(HOST_EXPORTS) \
19546 for flag in $(EXTRA_HOST_FLAGS) ; do \
19547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19548 done; \
19549 echo "Doing info in uudecode" ; \
19550 (cd uudecode && \
19551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19553 "RANLIB=$${RANLIB}" \
19554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19555 info) \
19556 || exit 1
19558 @endif uudecode
19560 .PHONY: maybe-dvi-uudecode dvi-uudecode
19561 maybe-dvi-uudecode:
19562 @if uudecode
19563 maybe-dvi-uudecode: dvi-uudecode
19565 dvi-uudecode: \
19566 configure-uudecode
19567 @[ -f ./uudecode/Makefile ] || exit 0; \
19568 r=`${PWD_COMMAND}`; export r; \
19569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19570 $(SET_LIB_PATH) \
19571 $(HOST_EXPORTS) \
19572 for flag in $(EXTRA_HOST_FLAGS) ; do \
19573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19574 done; \
19575 echo "Doing dvi in uudecode" ; \
19576 (cd uudecode && \
19577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19579 "RANLIB=$${RANLIB}" \
19580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19581 dvi) \
19582 || exit 1
19584 @endif uudecode
19586 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
19587 maybe-TAGS-uudecode:
19588 @if uudecode
19589 maybe-TAGS-uudecode: TAGS-uudecode
19591 TAGS-uudecode: \
19592 configure-uudecode
19593 @[ -f ./uudecode/Makefile ] || exit 0; \
19594 r=`${PWD_COMMAND}`; export r; \
19595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19596 $(SET_LIB_PATH) \
19597 $(HOST_EXPORTS) \
19598 for flag in $(EXTRA_HOST_FLAGS) ; do \
19599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19600 done; \
19601 echo "Doing TAGS in uudecode" ; \
19602 (cd uudecode && \
19603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19605 "RANLIB=$${RANLIB}" \
19606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19607 TAGS) \
19608 || exit 1
19610 @endif uudecode
19612 .PHONY: maybe-install-info-uudecode install-info-uudecode
19613 maybe-install-info-uudecode:
19614 @if uudecode
19615 maybe-install-info-uudecode: install-info-uudecode
19617 install-info-uudecode: \
19618 configure-uudecode \
19619 info-uudecode
19620 @[ -f ./uudecode/Makefile ] || exit 0; \
19621 r=`${PWD_COMMAND}`; export r; \
19622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19623 $(SET_LIB_PATH) \
19624 $(HOST_EXPORTS) \
19625 for flag in $(EXTRA_HOST_FLAGS) ; do \
19626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19627 done; \
19628 echo "Doing install-info in uudecode" ; \
19629 (cd uudecode && \
19630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19632 "RANLIB=$${RANLIB}" \
19633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19634 install-info) \
19635 || exit 1
19637 @endif uudecode
19639 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
19640 maybe-installcheck-uudecode:
19641 @if uudecode
19642 maybe-installcheck-uudecode: installcheck-uudecode
19644 installcheck-uudecode: \
19645 configure-uudecode
19646 @[ -f ./uudecode/Makefile ] || exit 0; \
19647 r=`${PWD_COMMAND}`; export r; \
19648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19649 $(SET_LIB_PATH) \
19650 $(HOST_EXPORTS) \
19651 for flag in $(EXTRA_HOST_FLAGS) ; do \
19652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19653 done; \
19654 echo "Doing installcheck in uudecode" ; \
19655 (cd uudecode && \
19656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19658 "RANLIB=$${RANLIB}" \
19659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19660 installcheck) \
19661 || exit 1
19663 @endif uudecode
19665 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
19666 maybe-mostlyclean-uudecode:
19667 @if uudecode
19668 maybe-mostlyclean-uudecode: mostlyclean-uudecode
19670 mostlyclean-uudecode:
19671 @[ -f ./uudecode/Makefile ] || exit 0; \
19672 r=`${PWD_COMMAND}`; export r; \
19673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19674 $(SET_LIB_PATH) \
19675 $(HOST_EXPORTS) \
19676 for flag in $(EXTRA_HOST_FLAGS) ; do \
19677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19678 done; \
19679 echo "Doing mostlyclean in uudecode" ; \
19680 (cd uudecode && \
19681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19683 "RANLIB=$${RANLIB}" \
19684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19685 mostlyclean) \
19686 || exit 1
19688 @endif uudecode
19690 .PHONY: maybe-clean-uudecode clean-uudecode
19691 maybe-clean-uudecode:
19692 @if uudecode
19693 maybe-clean-uudecode: clean-uudecode
19695 clean-uudecode:
19696 @[ -f ./uudecode/Makefile ] || exit 0; \
19697 r=`${PWD_COMMAND}`; export r; \
19698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19699 $(SET_LIB_PATH) \
19700 $(HOST_EXPORTS) \
19701 for flag in $(EXTRA_HOST_FLAGS) ; do \
19702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19703 done; \
19704 echo "Doing clean in uudecode" ; \
19705 (cd uudecode && \
19706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19708 "RANLIB=$${RANLIB}" \
19709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19710 clean) \
19711 || exit 1
19713 @endif uudecode
19715 .PHONY: maybe-distclean-uudecode distclean-uudecode
19716 maybe-distclean-uudecode:
19717 @if uudecode
19718 maybe-distclean-uudecode: distclean-uudecode
19720 distclean-uudecode:
19721 @[ -f ./uudecode/Makefile ] || exit 0; \
19722 r=`${PWD_COMMAND}`; export r; \
19723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19724 $(SET_LIB_PATH) \
19725 $(HOST_EXPORTS) \
19726 for flag in $(EXTRA_HOST_FLAGS) ; do \
19727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19728 done; \
19729 echo "Doing distclean in uudecode" ; \
19730 (cd uudecode && \
19731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19733 "RANLIB=$${RANLIB}" \
19734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19735 distclean) \
19736 || exit 1
19738 @endif uudecode
19740 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19741 maybe-maintainer-clean-uudecode:
19742 @if uudecode
19743 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19745 maintainer-clean-uudecode:
19746 @[ -f ./uudecode/Makefile ] || exit 0; \
19747 r=`${PWD_COMMAND}`; export r; \
19748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19749 $(SET_LIB_PATH) \
19750 $(HOST_EXPORTS) \
19751 for flag in $(EXTRA_HOST_FLAGS) ; do \
19752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19753 done; \
19754 echo "Doing maintainer-clean in uudecode" ; \
19755 (cd uudecode && \
19756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19758 "RANLIB=$${RANLIB}" \
19759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19760 maintainer-clean) \
19761 || exit 1
19763 @endif uudecode
19766 .PHONY: configure-wdiff maybe-configure-wdiff
19767 maybe-configure-wdiff:
19768 @if wdiff
19769 maybe-configure-wdiff: configure-wdiff
19770 configure-wdiff:
19771 @test ! -f wdiff/Makefile || exit 0; \
19772 [ -d wdiff ] || mkdir wdiff; \
19773 r=`${PWD_COMMAND}`; export r; \
19774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19775 $(HOST_EXPORTS) \
19776 echo Configuring in wdiff; \
19777 cd wdiff || exit 1; \
19778 case $(srcdir) in \
19779 \.) \
19780 srcdiroption="--srcdir=."; \
19781 libsrcdir=".";; \
19782 /* | [A-Za-z]:[\\/]*) \
19783 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19784 libsrcdir="$$s/wdiff";; \
19785 *) \
19786 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19787 libsrcdir="$$s/wdiff";; \
19788 esac; \
19789 $(SHELL) $${libsrcdir}/configure \
19790 $(HOST_CONFIGARGS) $${srcdiroption} \
19791 || exit 1
19792 @endif wdiff
19794 .PHONY: all-wdiff maybe-all-wdiff
19795 maybe-all-wdiff:
19796 @if wdiff
19797 TARGET-wdiff=all
19798 maybe-all-wdiff: all-wdiff
19799 all-wdiff: configure-wdiff
19800 @r=`${PWD_COMMAND}`; export r; \
19801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19802 $(SET_LIB_PATH) \
19803 $(HOST_EXPORTS) \
19804 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) \
19805 $(TARGET-wdiff))
19806 @endif wdiff
19808 .PHONY: check-wdiff maybe-check-wdiff
19809 maybe-check-wdiff:
19810 @if wdiff
19811 maybe-check-wdiff: check-wdiff
19813 check-wdiff:
19814 @r=`${PWD_COMMAND}`; export r; \
19815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19816 $(SET_LIB_PATH) \
19817 $(HOST_EXPORTS) \
19818 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19820 @endif wdiff
19822 .PHONY: install-wdiff maybe-install-wdiff
19823 maybe-install-wdiff:
19824 @if wdiff
19825 maybe-install-wdiff: install-wdiff
19827 install-wdiff: installdirs
19828 @r=`${PWD_COMMAND}`; export r; \
19829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19830 $(SET_LIB_PATH) \
19831 $(HOST_EXPORTS) \
19832 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19834 @endif wdiff
19836 # Other targets (info, dvi, etc.)
19838 .PHONY: maybe-info-wdiff info-wdiff
19839 maybe-info-wdiff:
19840 @if wdiff
19841 maybe-info-wdiff: info-wdiff
19843 info-wdiff: \
19844 configure-wdiff
19845 @[ -f ./wdiff/Makefile ] || exit 0; \
19846 r=`${PWD_COMMAND}`; export r; \
19847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19848 $(SET_LIB_PATH) \
19849 $(HOST_EXPORTS) \
19850 for flag in $(EXTRA_HOST_FLAGS) ; do \
19851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19852 done; \
19853 echo "Doing info in wdiff" ; \
19854 (cd wdiff && \
19855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19857 "RANLIB=$${RANLIB}" \
19858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19859 info) \
19860 || exit 1
19862 @endif wdiff
19864 .PHONY: maybe-dvi-wdiff dvi-wdiff
19865 maybe-dvi-wdiff:
19866 @if wdiff
19867 maybe-dvi-wdiff: dvi-wdiff
19869 dvi-wdiff: \
19870 configure-wdiff
19871 @[ -f ./wdiff/Makefile ] || exit 0; \
19872 r=`${PWD_COMMAND}`; export r; \
19873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19874 $(SET_LIB_PATH) \
19875 $(HOST_EXPORTS) \
19876 for flag in $(EXTRA_HOST_FLAGS) ; do \
19877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19878 done; \
19879 echo "Doing dvi in wdiff" ; \
19880 (cd wdiff && \
19881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19883 "RANLIB=$${RANLIB}" \
19884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19885 dvi) \
19886 || exit 1
19888 @endif wdiff
19890 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19891 maybe-TAGS-wdiff:
19892 @if wdiff
19893 maybe-TAGS-wdiff: TAGS-wdiff
19895 TAGS-wdiff: \
19896 configure-wdiff
19897 @[ -f ./wdiff/Makefile ] || exit 0; \
19898 r=`${PWD_COMMAND}`; export r; \
19899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19900 $(SET_LIB_PATH) \
19901 $(HOST_EXPORTS) \
19902 for flag in $(EXTRA_HOST_FLAGS) ; do \
19903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19904 done; \
19905 echo "Doing TAGS in wdiff" ; \
19906 (cd wdiff && \
19907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19909 "RANLIB=$${RANLIB}" \
19910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19911 TAGS) \
19912 || exit 1
19914 @endif wdiff
19916 .PHONY: maybe-install-info-wdiff install-info-wdiff
19917 maybe-install-info-wdiff:
19918 @if wdiff
19919 maybe-install-info-wdiff: install-info-wdiff
19921 install-info-wdiff: \
19922 configure-wdiff \
19923 info-wdiff
19924 @[ -f ./wdiff/Makefile ] || exit 0; \
19925 r=`${PWD_COMMAND}`; export r; \
19926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19927 $(SET_LIB_PATH) \
19928 $(HOST_EXPORTS) \
19929 for flag in $(EXTRA_HOST_FLAGS) ; do \
19930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19931 done; \
19932 echo "Doing install-info in wdiff" ; \
19933 (cd wdiff && \
19934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19936 "RANLIB=$${RANLIB}" \
19937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19938 install-info) \
19939 || exit 1
19941 @endif wdiff
19943 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19944 maybe-installcheck-wdiff:
19945 @if wdiff
19946 maybe-installcheck-wdiff: installcheck-wdiff
19948 installcheck-wdiff: \
19949 configure-wdiff
19950 @[ -f ./wdiff/Makefile ] || exit 0; \
19951 r=`${PWD_COMMAND}`; export r; \
19952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19953 $(SET_LIB_PATH) \
19954 $(HOST_EXPORTS) \
19955 for flag in $(EXTRA_HOST_FLAGS) ; do \
19956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19957 done; \
19958 echo "Doing installcheck in wdiff" ; \
19959 (cd wdiff && \
19960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19962 "RANLIB=$${RANLIB}" \
19963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19964 installcheck) \
19965 || exit 1
19967 @endif wdiff
19969 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19970 maybe-mostlyclean-wdiff:
19971 @if wdiff
19972 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19974 mostlyclean-wdiff:
19975 @[ -f ./wdiff/Makefile ] || exit 0; \
19976 r=`${PWD_COMMAND}`; export r; \
19977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19978 $(SET_LIB_PATH) \
19979 $(HOST_EXPORTS) \
19980 for flag in $(EXTRA_HOST_FLAGS) ; do \
19981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19982 done; \
19983 echo "Doing mostlyclean in wdiff" ; \
19984 (cd wdiff && \
19985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19987 "RANLIB=$${RANLIB}" \
19988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19989 mostlyclean) \
19990 || exit 1
19992 @endif wdiff
19994 .PHONY: maybe-clean-wdiff clean-wdiff
19995 maybe-clean-wdiff:
19996 @if wdiff
19997 maybe-clean-wdiff: clean-wdiff
19999 clean-wdiff:
20000 @[ -f ./wdiff/Makefile ] || exit 0; \
20001 r=`${PWD_COMMAND}`; export r; \
20002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20003 $(SET_LIB_PATH) \
20004 $(HOST_EXPORTS) \
20005 for flag in $(EXTRA_HOST_FLAGS) ; do \
20006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20007 done; \
20008 echo "Doing clean in wdiff" ; \
20009 (cd wdiff && \
20010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20012 "RANLIB=$${RANLIB}" \
20013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20014 clean) \
20015 || exit 1
20017 @endif wdiff
20019 .PHONY: maybe-distclean-wdiff distclean-wdiff
20020 maybe-distclean-wdiff:
20021 @if wdiff
20022 maybe-distclean-wdiff: distclean-wdiff
20024 distclean-wdiff:
20025 @[ -f ./wdiff/Makefile ] || exit 0; \
20026 r=`${PWD_COMMAND}`; export r; \
20027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20028 $(SET_LIB_PATH) \
20029 $(HOST_EXPORTS) \
20030 for flag in $(EXTRA_HOST_FLAGS) ; do \
20031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20032 done; \
20033 echo "Doing distclean in wdiff" ; \
20034 (cd wdiff && \
20035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20037 "RANLIB=$${RANLIB}" \
20038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20039 distclean) \
20040 || exit 1
20042 @endif wdiff
20044 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
20045 maybe-maintainer-clean-wdiff:
20046 @if wdiff
20047 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
20049 maintainer-clean-wdiff:
20050 @[ -f ./wdiff/Makefile ] || exit 0; \
20051 r=`${PWD_COMMAND}`; export r; \
20052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20053 $(SET_LIB_PATH) \
20054 $(HOST_EXPORTS) \
20055 for flag in $(EXTRA_HOST_FLAGS) ; do \
20056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20057 done; \
20058 echo "Doing maintainer-clean in wdiff" ; \
20059 (cd wdiff && \
20060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20062 "RANLIB=$${RANLIB}" \
20063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20064 maintainer-clean) \
20065 || exit 1
20067 @endif wdiff
20070 .PHONY: configure-zip maybe-configure-zip
20071 maybe-configure-zip:
20072 @if zip
20073 maybe-configure-zip: configure-zip
20074 configure-zip:
20075 @test ! -f zip/Makefile || exit 0; \
20076 [ -d zip ] || mkdir zip; \
20077 r=`${PWD_COMMAND}`; export r; \
20078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20079 $(HOST_EXPORTS) \
20080 echo Configuring in zip; \
20081 cd zip || exit 1; \
20082 case $(srcdir) in \
20083 \.) \
20084 srcdiroption="--srcdir=."; \
20085 libsrcdir=".";; \
20086 /* | [A-Za-z]:[\\/]*) \
20087 srcdiroption="--srcdir=$(srcdir)/zip"; \
20088 libsrcdir="$$s/zip";; \
20089 *) \
20090 srcdiroption="--srcdir=../$(srcdir)/zip"; \
20091 libsrcdir="$$s/zip";; \
20092 esac; \
20093 $(SHELL) $${libsrcdir}/configure \
20094 $(HOST_CONFIGARGS) $${srcdiroption} \
20095 || exit 1
20096 @endif zip
20098 .PHONY: all-zip maybe-all-zip
20099 maybe-all-zip:
20100 @if zip
20101 TARGET-zip=all
20102 maybe-all-zip: all-zip
20103 all-zip: configure-zip
20104 @r=`${PWD_COMMAND}`; export r; \
20105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20106 $(SET_LIB_PATH) \
20107 $(HOST_EXPORTS) \
20108 (cd zip && $(MAKE) $(FLAGS_TO_PASS) \
20109 $(TARGET-zip))
20110 @endif zip
20112 .PHONY: check-zip maybe-check-zip
20113 maybe-check-zip:
20114 @if zip
20115 maybe-check-zip: check-zip
20117 # This module is only tested in a native toolchain.
20118 check-zip:
20119 @if [ '$(host)' = '$(target)' ] ; then \
20120 r=`${PWD_COMMAND}`; export r; \
20121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20122 $(SET_LIB_PATH) \
20123 $(HOST_EXPORTS) \
20124 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
20127 @endif zip
20129 .PHONY: install-zip maybe-install-zip
20130 maybe-install-zip:
20131 @if zip
20132 maybe-install-zip: install-zip
20134 install-zip: installdirs
20135 @r=`${PWD_COMMAND}`; export r; \
20136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20137 $(SET_LIB_PATH) \
20138 $(HOST_EXPORTS) \
20139 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
20141 @endif zip
20143 # Other targets (info, dvi, etc.)
20145 .PHONY: maybe-info-zip info-zip
20146 maybe-info-zip:
20147 @if zip
20148 maybe-info-zip: info-zip
20150 info-zip: \
20151 configure-zip
20152 @[ -f ./zip/Makefile ] || exit 0; \
20153 r=`${PWD_COMMAND}`; export r; \
20154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20155 $(SET_LIB_PATH) \
20156 $(HOST_EXPORTS) \
20157 for flag in $(EXTRA_HOST_FLAGS) ; do \
20158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20159 done; \
20160 echo "Doing info in zip" ; \
20161 (cd zip && \
20162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20164 "RANLIB=$${RANLIB}" \
20165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20166 info) \
20167 || exit 1
20169 @endif zip
20171 .PHONY: maybe-dvi-zip dvi-zip
20172 maybe-dvi-zip:
20173 @if zip
20174 maybe-dvi-zip: dvi-zip
20176 dvi-zip: \
20177 configure-zip
20178 @[ -f ./zip/Makefile ] || exit 0; \
20179 r=`${PWD_COMMAND}`; export r; \
20180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20181 $(SET_LIB_PATH) \
20182 $(HOST_EXPORTS) \
20183 for flag in $(EXTRA_HOST_FLAGS) ; do \
20184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20185 done; \
20186 echo "Doing dvi in zip" ; \
20187 (cd zip && \
20188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20190 "RANLIB=$${RANLIB}" \
20191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20192 dvi) \
20193 || exit 1
20195 @endif zip
20197 .PHONY: maybe-TAGS-zip TAGS-zip
20198 maybe-TAGS-zip:
20199 @if zip
20200 maybe-TAGS-zip: TAGS-zip
20202 TAGS-zip: \
20203 configure-zip
20204 @[ -f ./zip/Makefile ] || exit 0; \
20205 r=`${PWD_COMMAND}`; export r; \
20206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20207 $(SET_LIB_PATH) \
20208 $(HOST_EXPORTS) \
20209 for flag in $(EXTRA_HOST_FLAGS) ; do \
20210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20211 done; \
20212 echo "Doing TAGS in zip" ; \
20213 (cd zip && \
20214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20216 "RANLIB=$${RANLIB}" \
20217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20218 TAGS) \
20219 || exit 1
20221 @endif zip
20223 .PHONY: maybe-install-info-zip install-info-zip
20224 maybe-install-info-zip:
20225 @if zip
20226 maybe-install-info-zip: install-info-zip
20228 install-info-zip: \
20229 configure-zip \
20230 info-zip
20231 @[ -f ./zip/Makefile ] || exit 0; \
20232 r=`${PWD_COMMAND}`; export r; \
20233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20234 $(SET_LIB_PATH) \
20235 $(HOST_EXPORTS) \
20236 for flag in $(EXTRA_HOST_FLAGS) ; do \
20237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20238 done; \
20239 echo "Doing install-info in zip" ; \
20240 (cd zip && \
20241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20243 "RANLIB=$${RANLIB}" \
20244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20245 install-info) \
20246 || exit 1
20248 @endif zip
20250 .PHONY: maybe-installcheck-zip installcheck-zip
20251 maybe-installcheck-zip:
20252 @if zip
20253 maybe-installcheck-zip: installcheck-zip
20255 installcheck-zip: \
20256 configure-zip
20257 @[ -f ./zip/Makefile ] || exit 0; \
20258 r=`${PWD_COMMAND}`; export r; \
20259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20260 $(SET_LIB_PATH) \
20261 $(HOST_EXPORTS) \
20262 for flag in $(EXTRA_HOST_FLAGS) ; do \
20263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20264 done; \
20265 echo "Doing installcheck in zip" ; \
20266 (cd zip && \
20267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20269 "RANLIB=$${RANLIB}" \
20270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20271 installcheck) \
20272 || exit 1
20274 @endif zip
20276 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
20277 maybe-mostlyclean-zip:
20278 @if zip
20279 maybe-mostlyclean-zip: mostlyclean-zip
20281 mostlyclean-zip:
20282 @[ -f ./zip/Makefile ] || exit 0; \
20283 r=`${PWD_COMMAND}`; export r; \
20284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20285 $(SET_LIB_PATH) \
20286 $(HOST_EXPORTS) \
20287 for flag in $(EXTRA_HOST_FLAGS) ; do \
20288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20289 done; \
20290 echo "Doing mostlyclean in zip" ; \
20291 (cd zip && \
20292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20294 "RANLIB=$${RANLIB}" \
20295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20296 mostlyclean) \
20297 || exit 1
20299 @endif zip
20301 .PHONY: maybe-clean-zip clean-zip
20302 maybe-clean-zip:
20303 @if zip
20304 maybe-clean-zip: clean-zip
20306 clean-zip:
20307 @[ -f ./zip/Makefile ] || exit 0; \
20308 r=`${PWD_COMMAND}`; export r; \
20309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20310 $(SET_LIB_PATH) \
20311 $(HOST_EXPORTS) \
20312 for flag in $(EXTRA_HOST_FLAGS) ; do \
20313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20314 done; \
20315 echo "Doing clean in zip" ; \
20316 (cd zip && \
20317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20319 "RANLIB=$${RANLIB}" \
20320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20321 clean) \
20322 || exit 1
20324 @endif zip
20326 .PHONY: maybe-distclean-zip distclean-zip
20327 maybe-distclean-zip:
20328 @if zip
20329 maybe-distclean-zip: distclean-zip
20331 distclean-zip:
20332 @[ -f ./zip/Makefile ] || exit 0; \
20333 r=`${PWD_COMMAND}`; export r; \
20334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20335 $(SET_LIB_PATH) \
20336 $(HOST_EXPORTS) \
20337 for flag in $(EXTRA_HOST_FLAGS) ; do \
20338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20339 done; \
20340 echo "Doing distclean in zip" ; \
20341 (cd zip && \
20342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20344 "RANLIB=$${RANLIB}" \
20345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20346 distclean) \
20347 || exit 1
20349 @endif zip
20351 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
20352 maybe-maintainer-clean-zip:
20353 @if zip
20354 maybe-maintainer-clean-zip: maintainer-clean-zip
20356 maintainer-clean-zip:
20357 @[ -f ./zip/Makefile ] || exit 0; \
20358 r=`${PWD_COMMAND}`; export r; \
20359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20360 $(SET_LIB_PATH) \
20361 $(HOST_EXPORTS) \
20362 for flag in $(EXTRA_HOST_FLAGS) ; do \
20363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20364 done; \
20365 echo "Doing maintainer-clean in zip" ; \
20366 (cd zip && \
20367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20369 "RANLIB=$${RANLIB}" \
20370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20371 maintainer-clean) \
20372 || exit 1
20374 @endif zip
20377 .PHONY: configure-zlib maybe-configure-zlib
20378 maybe-configure-zlib:
20379 @if zlib
20380 maybe-configure-zlib: configure-zlib
20381 configure-zlib:
20382 @test -f stage_last && exit 0; \
20383 test ! -f zlib/Makefile || exit 0; \
20384 [ -d zlib ] || mkdir zlib; \
20385 r=`${PWD_COMMAND}`; export r; \
20386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20387 $(HOST_EXPORTS) \
20388 echo Configuring in zlib; \
20389 cd zlib || exit 1; \
20390 case $(srcdir) in \
20391 \.) \
20392 srcdiroption="--srcdir=."; \
20393 libsrcdir=".";; \
20394 /* | [A-Za-z]:[\\/]*) \
20395 srcdiroption="--srcdir=$(srcdir)/zlib"; \
20396 libsrcdir="$$s/zlib";; \
20397 *) \
20398 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
20399 libsrcdir="$$s/zlib";; \
20400 esac; \
20401 $(SHELL) $${libsrcdir}/configure \
20402 $(HOST_CONFIGARGS) $${srcdiroption} \
20403 || exit 1
20404 @endif zlib
20406 .PHONY: all-zlib maybe-all-zlib
20407 maybe-all-zlib:
20408 @if zlib
20409 TARGET-zlib=all
20410 maybe-all-zlib: all-zlib
20411 all-zlib: configure-zlib
20412 @test -f stage_last && exit 0; \
20413 r=`${PWD_COMMAND}`; export r; \
20414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20415 $(SET_LIB_PATH) \
20416 $(HOST_EXPORTS) \
20417 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) \
20418 $(TARGET-zlib))
20419 @endif zlib
20421 .PHONY: check-zlib maybe-check-zlib
20422 maybe-check-zlib:
20423 @if zlib
20424 maybe-check-zlib: check-zlib
20426 check-zlib:
20428 @endif zlib
20430 .PHONY: install-zlib maybe-install-zlib
20431 maybe-install-zlib:
20432 @if zlib
20433 maybe-install-zlib: install-zlib
20435 install-zlib:
20437 @endif zlib
20439 # Other targets (info, dvi, etc.)
20441 .PHONY: maybe-info-zlib info-zlib
20442 maybe-info-zlib:
20443 @if zlib
20444 maybe-info-zlib: info-zlib
20446 info-zlib: \
20447 configure-zlib
20448 @[ -f ./zlib/Makefile ] || exit 0; \
20449 r=`${PWD_COMMAND}`; export r; \
20450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20451 $(SET_LIB_PATH) \
20452 $(HOST_EXPORTS) \
20453 for flag in $(EXTRA_HOST_FLAGS) ; do \
20454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20455 done; \
20456 echo "Doing info in zlib" ; \
20457 (cd zlib && \
20458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20460 "RANLIB=$${RANLIB}" \
20461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20462 info) \
20463 || exit 1
20465 @endif zlib
20467 .PHONY: maybe-dvi-zlib dvi-zlib
20468 maybe-dvi-zlib:
20469 @if zlib
20470 maybe-dvi-zlib: dvi-zlib
20472 dvi-zlib: \
20473 configure-zlib
20474 @[ -f ./zlib/Makefile ] || exit 0; \
20475 r=`${PWD_COMMAND}`; export r; \
20476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20477 $(SET_LIB_PATH) \
20478 $(HOST_EXPORTS) \
20479 for flag in $(EXTRA_HOST_FLAGS) ; do \
20480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20481 done; \
20482 echo "Doing dvi in zlib" ; \
20483 (cd zlib && \
20484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20486 "RANLIB=$${RANLIB}" \
20487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20488 dvi) \
20489 || exit 1
20491 @endif zlib
20493 .PHONY: maybe-TAGS-zlib TAGS-zlib
20494 maybe-TAGS-zlib:
20495 @if zlib
20496 maybe-TAGS-zlib: TAGS-zlib
20498 TAGS-zlib: \
20499 configure-zlib
20500 @[ -f ./zlib/Makefile ] || exit 0; \
20501 r=`${PWD_COMMAND}`; export r; \
20502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20503 $(SET_LIB_PATH) \
20504 $(HOST_EXPORTS) \
20505 for flag in $(EXTRA_HOST_FLAGS) ; do \
20506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20507 done; \
20508 echo "Doing TAGS in zlib" ; \
20509 (cd zlib && \
20510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20512 "RANLIB=$${RANLIB}" \
20513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20514 TAGS) \
20515 || exit 1
20517 @endif zlib
20519 .PHONY: maybe-install-info-zlib install-info-zlib
20520 maybe-install-info-zlib:
20521 @if zlib
20522 maybe-install-info-zlib: install-info-zlib
20524 install-info-zlib: \
20525 configure-zlib \
20526 info-zlib
20527 @[ -f ./zlib/Makefile ] || exit 0; \
20528 r=`${PWD_COMMAND}`; export r; \
20529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20530 $(SET_LIB_PATH) \
20531 $(HOST_EXPORTS) \
20532 for flag in $(EXTRA_HOST_FLAGS) ; do \
20533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20534 done; \
20535 echo "Doing install-info in zlib" ; \
20536 (cd zlib && \
20537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20539 "RANLIB=$${RANLIB}" \
20540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20541 install-info) \
20542 || exit 1
20544 @endif zlib
20546 .PHONY: maybe-installcheck-zlib installcheck-zlib
20547 maybe-installcheck-zlib:
20548 @if zlib
20549 maybe-installcheck-zlib: installcheck-zlib
20551 installcheck-zlib: \
20552 configure-zlib
20553 @[ -f ./zlib/Makefile ] || exit 0; \
20554 r=`${PWD_COMMAND}`; export r; \
20555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20556 $(SET_LIB_PATH) \
20557 $(HOST_EXPORTS) \
20558 for flag in $(EXTRA_HOST_FLAGS) ; do \
20559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20560 done; \
20561 echo "Doing installcheck in zlib" ; \
20562 (cd zlib && \
20563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20565 "RANLIB=$${RANLIB}" \
20566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20567 installcheck) \
20568 || exit 1
20570 @endif zlib
20572 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
20573 maybe-mostlyclean-zlib:
20574 @if zlib
20575 maybe-mostlyclean-zlib: mostlyclean-zlib
20577 mostlyclean-zlib:
20578 @[ -f ./zlib/Makefile ] || exit 0; \
20579 r=`${PWD_COMMAND}`; export r; \
20580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20581 $(SET_LIB_PATH) \
20582 $(HOST_EXPORTS) \
20583 for flag in $(EXTRA_HOST_FLAGS) ; do \
20584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20585 done; \
20586 echo "Doing mostlyclean in zlib" ; \
20587 (cd zlib && \
20588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20590 "RANLIB=$${RANLIB}" \
20591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20592 mostlyclean) \
20593 || exit 1
20595 @endif zlib
20597 .PHONY: maybe-clean-zlib clean-zlib
20598 maybe-clean-zlib:
20599 @if zlib
20600 maybe-clean-zlib: clean-zlib
20602 clean-zlib:
20603 @[ -f ./zlib/Makefile ] || exit 0; \
20604 r=`${PWD_COMMAND}`; export r; \
20605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20606 $(SET_LIB_PATH) \
20607 $(HOST_EXPORTS) \
20608 for flag in $(EXTRA_HOST_FLAGS) ; do \
20609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20610 done; \
20611 echo "Doing clean in zlib" ; \
20612 (cd zlib && \
20613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20615 "RANLIB=$${RANLIB}" \
20616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20617 clean) \
20618 || exit 1
20620 @endif zlib
20622 .PHONY: maybe-distclean-zlib distclean-zlib
20623 maybe-distclean-zlib:
20624 @if zlib
20625 maybe-distclean-zlib: distclean-zlib
20627 distclean-zlib:
20628 @[ -f ./zlib/Makefile ] || exit 0; \
20629 r=`${PWD_COMMAND}`; export r; \
20630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20631 $(SET_LIB_PATH) \
20632 $(HOST_EXPORTS) \
20633 for flag in $(EXTRA_HOST_FLAGS) ; do \
20634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20635 done; \
20636 echo "Doing distclean in zlib" ; \
20637 (cd zlib && \
20638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20640 "RANLIB=$${RANLIB}" \
20641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20642 distclean) \
20643 || exit 1
20645 @endif zlib
20647 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
20648 maybe-maintainer-clean-zlib:
20649 @if zlib
20650 maybe-maintainer-clean-zlib: maintainer-clean-zlib
20652 maintainer-clean-zlib:
20653 @[ -f ./zlib/Makefile ] || exit 0; \
20654 r=`${PWD_COMMAND}`; export r; \
20655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20656 $(SET_LIB_PATH) \
20657 $(HOST_EXPORTS) \
20658 for flag in $(EXTRA_HOST_FLAGS) ; do \
20659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20660 done; \
20661 echo "Doing maintainer-clean in zlib" ; \
20662 (cd zlib && \
20663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20665 "RANLIB=$${RANLIB}" \
20666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20667 maintainer-clean) \
20668 || exit 1
20670 @endif zlib
20673 .PHONY: configure-gdb maybe-configure-gdb
20674 maybe-configure-gdb:
20675 @if gdb
20676 maybe-configure-gdb: configure-gdb
20677 configure-gdb:
20678 @test ! -f gdb/Makefile || exit 0; \
20679 [ -d gdb ] || mkdir gdb; \
20680 r=`${PWD_COMMAND}`; export r; \
20681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20682 $(HOST_EXPORTS) \
20683 echo Configuring in gdb; \
20684 cd gdb || exit 1; \
20685 case $(srcdir) in \
20686 \.) \
20687 srcdiroption="--srcdir=."; \
20688 libsrcdir=".";; \
20689 /* | [A-Za-z]:[\\/]*) \
20690 srcdiroption="--srcdir=$(srcdir)/gdb"; \
20691 libsrcdir="$$s/gdb";; \
20692 *) \
20693 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
20694 libsrcdir="$$s/gdb";; \
20695 esac; \
20696 $(SHELL) $${libsrcdir}/configure \
20697 $(HOST_CONFIGARGS) $${srcdiroption} \
20698 || exit 1
20699 @endif gdb
20701 .PHONY: all-gdb maybe-all-gdb
20702 maybe-all-gdb:
20703 @if gdb
20704 TARGET-gdb=all
20705 maybe-all-gdb: all-gdb
20706 all-gdb: configure-gdb
20707 @r=`${PWD_COMMAND}`; export r; \
20708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20709 $(SET_LIB_PATH) \
20710 $(HOST_EXPORTS) \
20711 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
20712 $(TARGET-gdb))
20713 @endif gdb
20715 .PHONY: check-gdb maybe-check-gdb
20716 maybe-check-gdb:
20717 @if gdb
20718 maybe-check-gdb: check-gdb
20720 check-gdb:
20721 @r=`${PWD_COMMAND}`; export r; \
20722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20723 $(SET_LIB_PATH) \
20724 $(HOST_EXPORTS) \
20725 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20727 @endif gdb
20729 .PHONY: install-gdb maybe-install-gdb
20730 maybe-install-gdb:
20731 @if gdb
20732 maybe-install-gdb: install-gdb
20734 install-gdb: installdirs
20735 @r=`${PWD_COMMAND}`; export r; \
20736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20737 $(SET_LIB_PATH) \
20738 $(HOST_EXPORTS) \
20739 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20741 @endif gdb
20743 # Other targets (info, dvi, etc.)
20745 .PHONY: maybe-info-gdb info-gdb
20746 maybe-info-gdb:
20747 @if gdb
20748 maybe-info-gdb: info-gdb
20750 info-gdb: \
20751 configure-gdb
20752 @[ -f ./gdb/Makefile ] || exit 0; \
20753 r=`${PWD_COMMAND}`; export r; \
20754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20755 $(SET_LIB_PATH) \
20756 $(HOST_EXPORTS) \
20757 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20759 done; \
20760 echo "Doing info in gdb" ; \
20761 (cd gdb && \
20762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20764 "RANLIB=$${RANLIB}" \
20765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20766 info) \
20767 || exit 1
20769 @endif gdb
20771 .PHONY: maybe-dvi-gdb dvi-gdb
20772 maybe-dvi-gdb:
20773 @if gdb
20774 maybe-dvi-gdb: dvi-gdb
20776 dvi-gdb: \
20777 configure-gdb
20778 @[ -f ./gdb/Makefile ] || exit 0; \
20779 r=`${PWD_COMMAND}`; export r; \
20780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20781 $(SET_LIB_PATH) \
20782 $(HOST_EXPORTS) \
20783 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20785 done; \
20786 echo "Doing dvi in gdb" ; \
20787 (cd gdb && \
20788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20790 "RANLIB=$${RANLIB}" \
20791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20792 dvi) \
20793 || exit 1
20795 @endif gdb
20797 .PHONY: maybe-TAGS-gdb TAGS-gdb
20798 maybe-TAGS-gdb:
20799 @if gdb
20800 maybe-TAGS-gdb: TAGS-gdb
20802 TAGS-gdb: \
20803 configure-gdb
20804 @[ -f ./gdb/Makefile ] || exit 0; \
20805 r=`${PWD_COMMAND}`; export r; \
20806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20807 $(SET_LIB_PATH) \
20808 $(HOST_EXPORTS) \
20809 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20811 done; \
20812 echo "Doing TAGS in gdb" ; \
20813 (cd gdb && \
20814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20816 "RANLIB=$${RANLIB}" \
20817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20818 TAGS) \
20819 || exit 1
20821 @endif gdb
20823 .PHONY: maybe-install-info-gdb install-info-gdb
20824 maybe-install-info-gdb:
20825 @if gdb
20826 maybe-install-info-gdb: install-info-gdb
20828 install-info-gdb: \
20829 configure-gdb \
20830 info-gdb
20831 @[ -f ./gdb/Makefile ] || exit 0; \
20832 r=`${PWD_COMMAND}`; export r; \
20833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20834 $(SET_LIB_PATH) \
20835 $(HOST_EXPORTS) \
20836 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20838 done; \
20839 echo "Doing install-info in gdb" ; \
20840 (cd gdb && \
20841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20843 "RANLIB=$${RANLIB}" \
20844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20845 install-info) \
20846 || exit 1
20848 @endif gdb
20850 .PHONY: maybe-installcheck-gdb installcheck-gdb
20851 maybe-installcheck-gdb:
20852 @if gdb
20853 maybe-installcheck-gdb: installcheck-gdb
20855 installcheck-gdb: \
20856 configure-gdb
20857 @[ -f ./gdb/Makefile ] || exit 0; \
20858 r=`${PWD_COMMAND}`; export r; \
20859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20860 $(SET_LIB_PATH) \
20861 $(HOST_EXPORTS) \
20862 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20864 done; \
20865 echo "Doing installcheck in gdb" ; \
20866 (cd gdb && \
20867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20869 "RANLIB=$${RANLIB}" \
20870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20871 installcheck) \
20872 || exit 1
20874 @endif gdb
20876 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20877 maybe-mostlyclean-gdb:
20878 @if gdb
20879 maybe-mostlyclean-gdb: mostlyclean-gdb
20881 mostlyclean-gdb:
20882 @[ -f ./gdb/Makefile ] || exit 0; \
20883 r=`${PWD_COMMAND}`; export r; \
20884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20885 $(SET_LIB_PATH) \
20886 $(HOST_EXPORTS) \
20887 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20889 done; \
20890 echo "Doing mostlyclean in gdb" ; \
20891 (cd gdb && \
20892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20894 "RANLIB=$${RANLIB}" \
20895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20896 mostlyclean) \
20897 || exit 1
20899 @endif gdb
20901 .PHONY: maybe-clean-gdb clean-gdb
20902 maybe-clean-gdb:
20903 @if gdb
20904 maybe-clean-gdb: clean-gdb
20906 clean-gdb:
20907 @[ -f ./gdb/Makefile ] || exit 0; \
20908 r=`${PWD_COMMAND}`; export r; \
20909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20910 $(SET_LIB_PATH) \
20911 $(HOST_EXPORTS) \
20912 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20914 done; \
20915 echo "Doing clean in gdb" ; \
20916 (cd gdb && \
20917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20919 "RANLIB=$${RANLIB}" \
20920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20921 clean) \
20922 || exit 1
20924 @endif gdb
20926 .PHONY: maybe-distclean-gdb distclean-gdb
20927 maybe-distclean-gdb:
20928 @if gdb
20929 maybe-distclean-gdb: distclean-gdb
20931 distclean-gdb:
20932 @[ -f ./gdb/Makefile ] || exit 0; \
20933 r=`${PWD_COMMAND}`; export r; \
20934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20935 $(SET_LIB_PATH) \
20936 $(HOST_EXPORTS) \
20937 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20939 done; \
20940 echo "Doing distclean in gdb" ; \
20941 (cd gdb && \
20942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20944 "RANLIB=$${RANLIB}" \
20945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20946 distclean) \
20947 || exit 1
20949 @endif gdb
20951 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20952 maybe-maintainer-clean-gdb:
20953 @if gdb
20954 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20956 maintainer-clean-gdb:
20957 @[ -f ./gdb/Makefile ] || exit 0; \
20958 r=`${PWD_COMMAND}`; export r; \
20959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20960 $(SET_LIB_PATH) \
20961 $(HOST_EXPORTS) \
20962 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20964 done; \
20965 echo "Doing maintainer-clean in gdb" ; \
20966 (cd gdb && \
20967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20969 "RANLIB=$${RANLIB}" \
20970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20971 maintainer-clean) \
20972 || exit 1
20974 @endif gdb
20977 .PHONY: configure-expect maybe-configure-expect
20978 maybe-configure-expect:
20979 @if expect
20980 maybe-configure-expect: configure-expect
20981 configure-expect:
20982 @test ! -f expect/Makefile || exit 0; \
20983 [ -d expect ] || mkdir expect; \
20984 r=`${PWD_COMMAND}`; export r; \
20985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20986 $(HOST_EXPORTS) \
20987 echo Configuring in expect; \
20988 cd expect || exit 1; \
20989 case $(srcdir) in \
20990 \.) \
20991 srcdiroption="--srcdir=."; \
20992 libsrcdir=".";; \
20993 /* | [A-Za-z]:[\\/]*) \
20994 srcdiroption="--srcdir=$(srcdir)/expect"; \
20995 libsrcdir="$$s/expect";; \
20996 *) \
20997 srcdiroption="--srcdir=../$(srcdir)/expect"; \
20998 libsrcdir="$$s/expect";; \
20999 esac; \
21000 $(SHELL) $${libsrcdir}/configure \
21001 $(HOST_CONFIGARGS) $${srcdiroption} \
21002 || exit 1
21003 @endif expect
21005 .PHONY: all-expect maybe-all-expect
21006 maybe-all-expect:
21007 @if expect
21008 TARGET-expect=all
21009 maybe-all-expect: all-expect
21010 all-expect: configure-expect
21011 @r=`${PWD_COMMAND}`; export r; \
21012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21013 $(SET_LIB_PATH) \
21014 $(HOST_EXPORTS) \
21015 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
21016 $(TARGET-expect))
21017 @endif expect
21019 .PHONY: check-expect maybe-check-expect
21020 maybe-check-expect:
21021 @if expect
21022 maybe-check-expect: check-expect
21024 check-expect:
21025 @r=`${PWD_COMMAND}`; export r; \
21026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21027 $(SET_LIB_PATH) \
21028 $(HOST_EXPORTS) \
21029 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21031 @endif expect
21033 .PHONY: install-expect maybe-install-expect
21034 maybe-install-expect:
21035 @if expect
21036 maybe-install-expect: install-expect
21038 install-expect: installdirs
21039 @r=`${PWD_COMMAND}`; export r; \
21040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21041 $(SET_LIB_PATH) \
21042 $(HOST_EXPORTS) \
21043 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21045 @endif expect
21047 # Other targets (info, dvi, etc.)
21049 .PHONY: maybe-info-expect info-expect
21050 maybe-info-expect:
21051 @if expect
21052 maybe-info-expect: info-expect
21054 info-expect: \
21055 configure-expect
21056 @[ -f ./expect/Makefile ] || exit 0; \
21057 r=`${PWD_COMMAND}`; export r; \
21058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21059 $(SET_LIB_PATH) \
21060 $(HOST_EXPORTS) \
21061 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21063 done; \
21064 echo "Doing info in expect" ; \
21065 (cd expect && \
21066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21068 "RANLIB=$${RANLIB}" \
21069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21070 info) \
21071 || exit 1
21073 @endif expect
21075 .PHONY: maybe-dvi-expect dvi-expect
21076 maybe-dvi-expect:
21077 @if expect
21078 maybe-dvi-expect: dvi-expect
21080 dvi-expect: \
21081 configure-expect
21082 @[ -f ./expect/Makefile ] || exit 0; \
21083 r=`${PWD_COMMAND}`; export r; \
21084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21085 $(SET_LIB_PATH) \
21086 $(HOST_EXPORTS) \
21087 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21089 done; \
21090 echo "Doing dvi in expect" ; \
21091 (cd expect && \
21092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21094 "RANLIB=$${RANLIB}" \
21095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21096 dvi) \
21097 || exit 1
21099 @endif expect
21101 .PHONY: maybe-TAGS-expect TAGS-expect
21102 maybe-TAGS-expect:
21103 @if expect
21104 maybe-TAGS-expect: TAGS-expect
21106 TAGS-expect: \
21107 configure-expect
21108 @[ -f ./expect/Makefile ] || exit 0; \
21109 r=`${PWD_COMMAND}`; export r; \
21110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21111 $(SET_LIB_PATH) \
21112 $(HOST_EXPORTS) \
21113 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21115 done; \
21116 echo "Doing TAGS in expect" ; \
21117 (cd expect && \
21118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21120 "RANLIB=$${RANLIB}" \
21121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21122 TAGS) \
21123 || exit 1
21125 @endif expect
21127 .PHONY: maybe-install-info-expect install-info-expect
21128 maybe-install-info-expect:
21129 @if expect
21130 maybe-install-info-expect: install-info-expect
21132 install-info-expect: \
21133 configure-expect \
21134 info-expect
21135 @[ -f ./expect/Makefile ] || exit 0; \
21136 r=`${PWD_COMMAND}`; export r; \
21137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21138 $(SET_LIB_PATH) \
21139 $(HOST_EXPORTS) \
21140 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21142 done; \
21143 echo "Doing install-info in expect" ; \
21144 (cd expect && \
21145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21147 "RANLIB=$${RANLIB}" \
21148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21149 install-info) \
21150 || exit 1
21152 @endif expect
21154 .PHONY: maybe-installcheck-expect installcheck-expect
21155 maybe-installcheck-expect:
21156 @if expect
21157 maybe-installcheck-expect: installcheck-expect
21159 installcheck-expect: \
21160 configure-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 installcheck 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 installcheck) \
21176 || exit 1
21178 @endif expect
21180 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
21181 maybe-mostlyclean-expect:
21182 @if expect
21183 maybe-mostlyclean-expect: mostlyclean-expect
21185 mostlyclean-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 mostlyclean 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 mostlyclean) \
21201 || exit 1
21203 @endif expect
21205 .PHONY: maybe-clean-expect clean-expect
21206 maybe-clean-expect:
21207 @if expect
21208 maybe-clean-expect: clean-expect
21210 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 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 clean) \
21226 || exit 1
21228 @endif expect
21230 .PHONY: maybe-distclean-expect distclean-expect
21231 maybe-distclean-expect:
21232 @if expect
21233 maybe-distclean-expect: distclean-expect
21235 distclean-expect:
21236 @[ -f ./expect/Makefile ] || exit 0; \
21237 r=`${PWD_COMMAND}`; export r; \
21238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21239 $(SET_LIB_PATH) \
21240 $(HOST_EXPORTS) \
21241 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21243 done; \
21244 echo "Doing distclean in expect" ; \
21245 (cd expect && \
21246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21248 "RANLIB=$${RANLIB}" \
21249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21250 distclean) \
21251 || exit 1
21253 @endif expect
21255 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
21256 maybe-maintainer-clean-expect:
21257 @if expect
21258 maybe-maintainer-clean-expect: maintainer-clean-expect
21260 maintainer-clean-expect:
21261 @[ -f ./expect/Makefile ] || exit 0; \
21262 r=`${PWD_COMMAND}`; export r; \
21263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21264 $(SET_LIB_PATH) \
21265 $(HOST_EXPORTS) \
21266 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21268 done; \
21269 echo "Doing maintainer-clean in expect" ; \
21270 (cd expect && \
21271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21273 "RANLIB=$${RANLIB}" \
21274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21275 maintainer-clean) \
21276 || exit 1
21278 @endif expect
21281 .PHONY: configure-guile maybe-configure-guile
21282 maybe-configure-guile:
21283 @if guile
21284 maybe-configure-guile: configure-guile
21285 configure-guile:
21286 @test ! -f guile/Makefile || exit 0; \
21287 [ -d guile ] || mkdir guile; \
21288 r=`${PWD_COMMAND}`; export r; \
21289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21290 $(HOST_EXPORTS) \
21291 echo Configuring in guile; \
21292 cd guile || exit 1; \
21293 case $(srcdir) in \
21294 \.) \
21295 srcdiroption="--srcdir=."; \
21296 libsrcdir=".";; \
21297 /* | [A-Za-z]:[\\/]*) \
21298 srcdiroption="--srcdir=$(srcdir)/guile"; \
21299 libsrcdir="$$s/guile";; \
21300 *) \
21301 srcdiroption="--srcdir=../$(srcdir)/guile"; \
21302 libsrcdir="$$s/guile";; \
21303 esac; \
21304 $(SHELL) $${libsrcdir}/configure \
21305 $(HOST_CONFIGARGS) $${srcdiroption} \
21306 || exit 1
21307 @endif guile
21309 .PHONY: all-guile maybe-all-guile
21310 maybe-all-guile:
21311 @if guile
21312 TARGET-guile=all
21313 maybe-all-guile: all-guile
21314 all-guile: configure-guile
21315 @r=`${PWD_COMMAND}`; export r; \
21316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21317 $(SET_LIB_PATH) \
21318 $(HOST_EXPORTS) \
21319 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
21320 $(TARGET-guile))
21321 @endif guile
21323 .PHONY: check-guile maybe-check-guile
21324 maybe-check-guile:
21325 @if guile
21326 maybe-check-guile: check-guile
21328 check-guile:
21329 @r=`${PWD_COMMAND}`; export r; \
21330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21331 $(SET_LIB_PATH) \
21332 $(HOST_EXPORTS) \
21333 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21335 @endif guile
21337 .PHONY: install-guile maybe-install-guile
21338 maybe-install-guile:
21339 @if guile
21340 maybe-install-guile: install-guile
21342 install-guile: installdirs
21343 @r=`${PWD_COMMAND}`; export r; \
21344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21345 $(SET_LIB_PATH) \
21346 $(HOST_EXPORTS) \
21347 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21349 @endif guile
21351 # Other targets (info, dvi, etc.)
21353 .PHONY: maybe-info-guile info-guile
21354 maybe-info-guile:
21355 @if guile
21356 maybe-info-guile: info-guile
21358 info-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 info 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 info) \
21375 || exit 1
21377 @endif guile
21379 .PHONY: maybe-dvi-guile dvi-guile
21380 maybe-dvi-guile:
21381 @if guile
21382 maybe-dvi-guile: dvi-guile
21384 dvi-guile: \
21385 configure-guile
21386 @[ -f ./guile/Makefile ] || exit 0; \
21387 r=`${PWD_COMMAND}`; export r; \
21388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21389 $(SET_LIB_PATH) \
21390 $(HOST_EXPORTS) \
21391 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21393 done; \
21394 echo "Doing dvi in guile" ; \
21395 (cd guile && \
21396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21398 "RANLIB=$${RANLIB}" \
21399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21400 dvi) \
21401 || exit 1
21403 @endif guile
21405 .PHONY: maybe-TAGS-guile TAGS-guile
21406 maybe-TAGS-guile:
21407 @if guile
21408 maybe-TAGS-guile: TAGS-guile
21410 TAGS-guile: \
21411 configure-guile
21412 @[ -f ./guile/Makefile ] || exit 0; \
21413 r=`${PWD_COMMAND}`; export r; \
21414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21415 $(SET_LIB_PATH) \
21416 $(HOST_EXPORTS) \
21417 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21419 done; \
21420 echo "Doing TAGS in guile" ; \
21421 (cd guile && \
21422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21424 "RANLIB=$${RANLIB}" \
21425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21426 TAGS) \
21427 || exit 1
21429 @endif guile
21431 .PHONY: maybe-install-info-guile install-info-guile
21432 maybe-install-info-guile:
21433 @if guile
21434 maybe-install-info-guile: install-info-guile
21436 install-info-guile: \
21437 configure-guile \
21438 info-guile
21439 @[ -f ./guile/Makefile ] || exit 0; \
21440 r=`${PWD_COMMAND}`; export r; \
21441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21442 $(SET_LIB_PATH) \
21443 $(HOST_EXPORTS) \
21444 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21446 done; \
21447 echo "Doing install-info in guile" ; \
21448 (cd guile && \
21449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21451 "RANLIB=$${RANLIB}" \
21452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21453 install-info) \
21454 || exit 1
21456 @endif guile
21458 .PHONY: maybe-installcheck-guile installcheck-guile
21459 maybe-installcheck-guile:
21460 @if guile
21461 maybe-installcheck-guile: installcheck-guile
21463 installcheck-guile: \
21464 configure-guile
21465 @[ -f ./guile/Makefile ] || exit 0; \
21466 r=`${PWD_COMMAND}`; export r; \
21467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21468 $(SET_LIB_PATH) \
21469 $(HOST_EXPORTS) \
21470 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21472 done; \
21473 echo "Doing installcheck in guile" ; \
21474 (cd guile && \
21475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21477 "RANLIB=$${RANLIB}" \
21478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21479 installcheck) \
21480 || exit 1
21482 @endif guile
21484 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
21485 maybe-mostlyclean-guile:
21486 @if guile
21487 maybe-mostlyclean-guile: mostlyclean-guile
21489 mostlyclean-guile:
21490 @[ -f ./guile/Makefile ] || exit 0; \
21491 r=`${PWD_COMMAND}`; export r; \
21492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21493 $(SET_LIB_PATH) \
21494 $(HOST_EXPORTS) \
21495 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21497 done; \
21498 echo "Doing mostlyclean in guile" ; \
21499 (cd guile && \
21500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21502 "RANLIB=$${RANLIB}" \
21503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21504 mostlyclean) \
21505 || exit 1
21507 @endif guile
21509 .PHONY: maybe-clean-guile clean-guile
21510 maybe-clean-guile:
21511 @if guile
21512 maybe-clean-guile: clean-guile
21514 clean-guile:
21515 @[ -f ./guile/Makefile ] || exit 0; \
21516 r=`${PWD_COMMAND}`; export r; \
21517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21518 $(SET_LIB_PATH) \
21519 $(HOST_EXPORTS) \
21520 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21522 done; \
21523 echo "Doing clean in guile" ; \
21524 (cd guile && \
21525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21527 "RANLIB=$${RANLIB}" \
21528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21529 clean) \
21530 || exit 1
21532 @endif guile
21534 .PHONY: maybe-distclean-guile distclean-guile
21535 maybe-distclean-guile:
21536 @if guile
21537 maybe-distclean-guile: distclean-guile
21539 distclean-guile:
21540 @[ -f ./guile/Makefile ] || exit 0; \
21541 r=`${PWD_COMMAND}`; export r; \
21542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21543 $(SET_LIB_PATH) \
21544 $(HOST_EXPORTS) \
21545 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21547 done; \
21548 echo "Doing distclean in guile" ; \
21549 (cd guile && \
21550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21552 "RANLIB=$${RANLIB}" \
21553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21554 distclean) \
21555 || exit 1
21557 @endif guile
21559 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
21560 maybe-maintainer-clean-guile:
21561 @if guile
21562 maybe-maintainer-clean-guile: maintainer-clean-guile
21564 maintainer-clean-guile:
21565 @[ -f ./guile/Makefile ] || exit 0; \
21566 r=`${PWD_COMMAND}`; export r; \
21567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21568 $(SET_LIB_PATH) \
21569 $(HOST_EXPORTS) \
21570 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21572 done; \
21573 echo "Doing maintainer-clean in guile" ; \
21574 (cd guile && \
21575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21577 "RANLIB=$${RANLIB}" \
21578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21579 maintainer-clean) \
21580 || exit 1
21582 @endif guile
21585 .PHONY: configure-tk maybe-configure-tk
21586 maybe-configure-tk:
21587 @if tk
21588 maybe-configure-tk: configure-tk
21589 configure-tk:
21590 @test ! -f tk/Makefile || exit 0; \
21591 [ -d tk ] || mkdir tk; \
21592 r=`${PWD_COMMAND}`; export r; \
21593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21594 $(HOST_EXPORTS) \
21595 echo Configuring in tk; \
21596 cd tk || exit 1; \
21597 case $(srcdir) in \
21598 \.) \
21599 srcdiroption="--srcdir=."; \
21600 libsrcdir=".";; \
21601 /* | [A-Za-z]:[\\/]*) \
21602 srcdiroption="--srcdir=$(srcdir)/tk"; \
21603 libsrcdir="$$s/tk";; \
21604 *) \
21605 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21606 libsrcdir="$$s/tk";; \
21607 esac; \
21608 $(SHELL) $${libsrcdir}/configure \
21609 $(HOST_CONFIGARGS) $${srcdiroption} \
21610 || exit 1
21611 @endif tk
21613 .PHONY: all-tk maybe-all-tk
21614 maybe-all-tk:
21615 @if tk
21616 TARGET-tk=all
21617 maybe-all-tk: all-tk
21618 all-tk: configure-tk
21619 @r=`${PWD_COMMAND}`; export r; \
21620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21621 $(SET_LIB_PATH) \
21622 $(HOST_EXPORTS) \
21623 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
21624 $(TARGET-tk))
21625 @endif tk
21627 .PHONY: check-tk maybe-check-tk
21628 maybe-check-tk:
21629 @if tk
21630 maybe-check-tk: check-tk
21632 check-tk:
21633 @r=`${PWD_COMMAND}`; export r; \
21634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21635 $(SET_LIB_PATH) \
21636 $(HOST_EXPORTS) \
21637 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21639 @endif tk
21641 .PHONY: install-tk maybe-install-tk
21642 maybe-install-tk:
21643 @if tk
21644 maybe-install-tk: install-tk
21646 install-tk: installdirs
21647 @r=`${PWD_COMMAND}`; export r; \
21648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21649 $(SET_LIB_PATH) \
21650 $(HOST_EXPORTS) \
21651 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21653 @endif tk
21655 # Other targets (info, dvi, etc.)
21657 .PHONY: maybe-info-tk info-tk
21658 maybe-info-tk:
21659 @if tk
21660 maybe-info-tk: info-tk
21662 info-tk: \
21663 configure-tk
21664 @[ -f ./tk/Makefile ] || exit 0; \
21665 r=`${PWD_COMMAND}`; export r; \
21666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21667 $(SET_LIB_PATH) \
21668 $(HOST_EXPORTS) \
21669 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21671 done; \
21672 echo "Doing info in tk" ; \
21673 (cd tk && \
21674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21676 "RANLIB=$${RANLIB}" \
21677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21678 info) \
21679 || exit 1
21681 @endif tk
21683 .PHONY: maybe-dvi-tk dvi-tk
21684 maybe-dvi-tk:
21685 @if tk
21686 maybe-dvi-tk: dvi-tk
21688 dvi-tk: \
21689 configure-tk
21690 @[ -f ./tk/Makefile ] || exit 0; \
21691 r=`${PWD_COMMAND}`; export r; \
21692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21693 $(SET_LIB_PATH) \
21694 $(HOST_EXPORTS) \
21695 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21697 done; \
21698 echo "Doing dvi in tk" ; \
21699 (cd tk && \
21700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21702 "RANLIB=$${RANLIB}" \
21703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21704 dvi) \
21705 || exit 1
21707 @endif tk
21709 .PHONY: maybe-TAGS-tk TAGS-tk
21710 maybe-TAGS-tk:
21711 @if tk
21712 maybe-TAGS-tk: TAGS-tk
21714 TAGS-tk: \
21715 configure-tk
21716 @[ -f ./tk/Makefile ] || exit 0; \
21717 r=`${PWD_COMMAND}`; export r; \
21718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21719 $(SET_LIB_PATH) \
21720 $(HOST_EXPORTS) \
21721 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21723 done; \
21724 echo "Doing TAGS in tk" ; \
21725 (cd tk && \
21726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21728 "RANLIB=$${RANLIB}" \
21729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21730 TAGS) \
21731 || exit 1
21733 @endif tk
21735 .PHONY: maybe-install-info-tk install-info-tk
21736 maybe-install-info-tk:
21737 @if tk
21738 maybe-install-info-tk: install-info-tk
21740 install-info-tk: \
21741 configure-tk \
21742 info-tk
21743 @[ -f ./tk/Makefile ] || exit 0; \
21744 r=`${PWD_COMMAND}`; export r; \
21745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21746 $(SET_LIB_PATH) \
21747 $(HOST_EXPORTS) \
21748 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21750 done; \
21751 echo "Doing install-info in tk" ; \
21752 (cd tk && \
21753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21755 "RANLIB=$${RANLIB}" \
21756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21757 install-info) \
21758 || exit 1
21760 @endif tk
21762 .PHONY: maybe-installcheck-tk installcheck-tk
21763 maybe-installcheck-tk:
21764 @if tk
21765 maybe-installcheck-tk: installcheck-tk
21767 installcheck-tk: \
21768 configure-tk
21769 @[ -f ./tk/Makefile ] || exit 0; \
21770 r=`${PWD_COMMAND}`; export r; \
21771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21772 $(SET_LIB_PATH) \
21773 $(HOST_EXPORTS) \
21774 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21776 done; \
21777 echo "Doing installcheck in tk" ; \
21778 (cd tk && \
21779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21781 "RANLIB=$${RANLIB}" \
21782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21783 installcheck) \
21784 || exit 1
21786 @endif tk
21788 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21789 maybe-mostlyclean-tk:
21790 @if tk
21791 maybe-mostlyclean-tk: mostlyclean-tk
21793 mostlyclean-tk:
21794 @[ -f ./tk/Makefile ] || exit 0; \
21795 r=`${PWD_COMMAND}`; export r; \
21796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21797 $(SET_LIB_PATH) \
21798 $(HOST_EXPORTS) \
21799 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21801 done; \
21802 echo "Doing mostlyclean in tk" ; \
21803 (cd tk && \
21804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21806 "RANLIB=$${RANLIB}" \
21807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21808 mostlyclean) \
21809 || exit 1
21811 @endif tk
21813 .PHONY: maybe-clean-tk clean-tk
21814 maybe-clean-tk:
21815 @if tk
21816 maybe-clean-tk: clean-tk
21818 clean-tk:
21819 @[ -f ./tk/Makefile ] || exit 0; \
21820 r=`${PWD_COMMAND}`; export r; \
21821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21822 $(SET_LIB_PATH) \
21823 $(HOST_EXPORTS) \
21824 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21826 done; \
21827 echo "Doing clean in tk" ; \
21828 (cd tk && \
21829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21831 "RANLIB=$${RANLIB}" \
21832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21833 clean) \
21834 || exit 1
21836 @endif tk
21838 .PHONY: maybe-distclean-tk distclean-tk
21839 maybe-distclean-tk:
21840 @if tk
21841 maybe-distclean-tk: distclean-tk
21843 distclean-tk:
21844 @[ -f ./tk/Makefile ] || exit 0; \
21845 r=`${PWD_COMMAND}`; export r; \
21846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21847 $(SET_LIB_PATH) \
21848 $(HOST_EXPORTS) \
21849 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21851 done; \
21852 echo "Doing distclean in tk" ; \
21853 (cd tk && \
21854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21856 "RANLIB=$${RANLIB}" \
21857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21858 distclean) \
21859 || exit 1
21861 @endif tk
21863 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21864 maybe-maintainer-clean-tk:
21865 @if tk
21866 maybe-maintainer-clean-tk: maintainer-clean-tk
21868 maintainer-clean-tk:
21869 @[ -f ./tk/Makefile ] || exit 0; \
21870 r=`${PWD_COMMAND}`; export r; \
21871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21872 $(SET_LIB_PATH) \
21873 $(HOST_EXPORTS) \
21874 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21876 done; \
21877 echo "Doing maintainer-clean in tk" ; \
21878 (cd tk && \
21879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21881 "RANLIB=$${RANLIB}" \
21882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21883 maintainer-clean) \
21884 || exit 1
21886 @endif tk
21889 .PHONY: configure-libtermcap maybe-configure-libtermcap
21890 maybe-configure-libtermcap:
21891 @if libtermcap
21892 maybe-configure-libtermcap: configure-libtermcap
21893 configure-libtermcap:
21894 @test ! -f libtermcap/Makefile || exit 0; \
21895 [ -d libtermcap ] || mkdir libtermcap; \
21896 r=`${PWD_COMMAND}`; export r; \
21897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21898 $(HOST_EXPORTS) \
21899 echo Configuring in libtermcap; \
21900 cd libtermcap || exit 1; \
21901 case $(srcdir) in \
21902 \.) \
21903 srcdiroption="--srcdir=."; \
21904 libsrcdir=".";; \
21905 /* | [A-Za-z]:[\\/]*) \
21906 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21907 libsrcdir="$$s/libtermcap";; \
21908 *) \
21909 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21910 libsrcdir="$$s/libtermcap";; \
21911 esac; \
21912 $(SHELL) $${libsrcdir}/configure \
21913 $(HOST_CONFIGARGS) $${srcdiroption} \
21914 || exit 1
21915 @endif libtermcap
21917 .PHONY: all-libtermcap maybe-all-libtermcap
21918 maybe-all-libtermcap:
21919 @if libtermcap
21920 TARGET-libtermcap=all
21921 maybe-all-libtermcap: all-libtermcap
21922 all-libtermcap: configure-libtermcap
21923 @r=`${PWD_COMMAND}`; export r; \
21924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21925 $(SET_LIB_PATH) \
21926 $(HOST_EXPORTS) \
21927 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) \
21928 $(TARGET-libtermcap))
21929 @endif libtermcap
21931 .PHONY: check-libtermcap maybe-check-libtermcap
21932 maybe-check-libtermcap:
21933 @if libtermcap
21934 maybe-check-libtermcap: check-libtermcap
21936 check-libtermcap:
21938 @endif libtermcap
21940 .PHONY: install-libtermcap maybe-install-libtermcap
21941 maybe-install-libtermcap:
21942 @if libtermcap
21943 maybe-install-libtermcap: install-libtermcap
21945 install-libtermcap: installdirs
21946 @r=`${PWD_COMMAND}`; export r; \
21947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21948 $(SET_LIB_PATH) \
21949 $(HOST_EXPORTS) \
21950 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21952 @endif libtermcap
21954 # Other targets (info, dvi, etc.)
21956 .PHONY: maybe-info-libtermcap info-libtermcap
21957 maybe-info-libtermcap:
21958 @if libtermcap
21959 maybe-info-libtermcap: info-libtermcap
21961 info-libtermcap: \
21962 configure-libtermcap
21963 @[ -f ./libtermcap/Makefile ] || exit 0; \
21964 r=`${PWD_COMMAND}`; export r; \
21965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21966 $(SET_LIB_PATH) \
21967 $(HOST_EXPORTS) \
21968 for flag in $(EXTRA_HOST_FLAGS) ; do \
21969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21970 done; \
21971 echo "Doing info in libtermcap" ; \
21972 (cd libtermcap && \
21973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21975 "RANLIB=$${RANLIB}" \
21976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21977 info) \
21978 || exit 1
21980 @endif libtermcap
21982 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21983 maybe-dvi-libtermcap:
21984 @if libtermcap
21985 maybe-dvi-libtermcap: dvi-libtermcap
21987 dvi-libtermcap: \
21988 configure-libtermcap
21989 @[ -f ./libtermcap/Makefile ] || exit 0; \
21990 r=`${PWD_COMMAND}`; export r; \
21991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21992 $(SET_LIB_PATH) \
21993 $(HOST_EXPORTS) \
21994 for flag in $(EXTRA_HOST_FLAGS) ; do \
21995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21996 done; \
21997 echo "Doing dvi in libtermcap" ; \
21998 (cd libtermcap && \
21999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22001 "RANLIB=$${RANLIB}" \
22002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22003 dvi) \
22004 || exit 1
22006 @endif libtermcap
22008 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
22009 maybe-TAGS-libtermcap:
22010 @if libtermcap
22011 maybe-TAGS-libtermcap: TAGS-libtermcap
22013 TAGS-libtermcap: \
22014 configure-libtermcap
22015 @[ -f ./libtermcap/Makefile ] || exit 0; \
22016 r=`${PWD_COMMAND}`; export r; \
22017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22018 $(SET_LIB_PATH) \
22019 $(HOST_EXPORTS) \
22020 for flag in $(EXTRA_HOST_FLAGS) ; do \
22021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22022 done; \
22023 echo "Doing TAGS in libtermcap" ; \
22024 (cd libtermcap && \
22025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22027 "RANLIB=$${RANLIB}" \
22028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22029 TAGS) \
22030 || exit 1
22032 @endif libtermcap
22034 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
22035 maybe-install-info-libtermcap:
22036 @if libtermcap
22037 maybe-install-info-libtermcap: install-info-libtermcap
22039 install-info-libtermcap: \
22040 configure-libtermcap \
22041 info-libtermcap
22042 @[ -f ./libtermcap/Makefile ] || exit 0; \
22043 r=`${PWD_COMMAND}`; export r; \
22044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22045 $(SET_LIB_PATH) \
22046 $(HOST_EXPORTS) \
22047 for flag in $(EXTRA_HOST_FLAGS) ; do \
22048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22049 done; \
22050 echo "Doing install-info in libtermcap" ; \
22051 (cd libtermcap && \
22052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22054 "RANLIB=$${RANLIB}" \
22055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22056 install-info) \
22057 || exit 1
22059 @endif libtermcap
22061 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
22062 maybe-installcheck-libtermcap:
22063 @if libtermcap
22064 maybe-installcheck-libtermcap: installcheck-libtermcap
22066 installcheck-libtermcap: \
22067 configure-libtermcap
22068 @[ -f ./libtermcap/Makefile ] || exit 0; \
22069 r=`${PWD_COMMAND}`; export r; \
22070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22071 $(SET_LIB_PATH) \
22072 $(HOST_EXPORTS) \
22073 for flag in $(EXTRA_HOST_FLAGS) ; do \
22074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22075 done; \
22076 echo "Doing installcheck in libtermcap" ; \
22077 (cd libtermcap && \
22078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22080 "RANLIB=$${RANLIB}" \
22081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22082 installcheck) \
22083 || exit 1
22085 @endif libtermcap
22087 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
22088 maybe-mostlyclean-libtermcap:
22089 @if libtermcap
22090 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
22092 # libtermcap doesn't support mostlyclean.
22093 mostlyclean-libtermcap:
22095 @endif libtermcap
22097 .PHONY: maybe-clean-libtermcap clean-libtermcap
22098 maybe-clean-libtermcap:
22099 @if libtermcap
22100 maybe-clean-libtermcap: clean-libtermcap
22102 # libtermcap doesn't support clean.
22103 clean-libtermcap:
22105 @endif libtermcap
22107 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
22108 maybe-distclean-libtermcap:
22109 @if libtermcap
22110 maybe-distclean-libtermcap: distclean-libtermcap
22112 # libtermcap doesn't support distclean.
22113 distclean-libtermcap:
22115 @endif libtermcap
22117 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
22118 maybe-maintainer-clean-libtermcap:
22119 @if libtermcap
22120 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
22122 # libtermcap doesn't support maintainer-clean.
22123 maintainer-clean-libtermcap:
22125 @endif libtermcap
22128 .PHONY: configure-utils maybe-configure-utils
22129 maybe-configure-utils:
22130 @if utils
22131 maybe-configure-utils: configure-utils
22132 configure-utils:
22133 @test ! -f utils/Makefile || exit 0; \
22134 [ -d utils ] || mkdir utils; \
22135 r=`${PWD_COMMAND}`; export r; \
22136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22137 $(HOST_EXPORTS) \
22138 echo Configuring in utils; \
22139 cd utils || exit 1; \
22140 case $(srcdir) in \
22141 \.) \
22142 srcdiroption="--srcdir=."; \
22143 libsrcdir=".";; \
22144 /* | [A-Za-z]:[\\/]*) \
22145 srcdiroption="--srcdir=$(srcdir)/utils"; \
22146 libsrcdir="$$s/utils";; \
22147 *) \
22148 srcdiroption="--srcdir=../$(srcdir)/utils"; \
22149 libsrcdir="$$s/utils";; \
22150 esac; \
22151 $(SHELL) $${libsrcdir}/configure \
22152 $(HOST_CONFIGARGS) $${srcdiroption} \
22153 || exit 1
22154 @endif utils
22156 .PHONY: all-utils maybe-all-utils
22157 maybe-all-utils:
22158 @if utils
22159 TARGET-utils=all
22160 maybe-all-utils: all-utils
22161 all-utils: configure-utils
22162 @r=`${PWD_COMMAND}`; export r; \
22163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22164 $(SET_LIB_PATH) \
22165 $(HOST_EXPORTS) \
22166 (cd utils && $(MAKE) $(FLAGS_TO_PASS) \
22167 $(TARGET-utils))
22168 @endif utils
22170 .PHONY: check-utils maybe-check-utils
22171 maybe-check-utils:
22172 @if utils
22173 maybe-check-utils: check-utils
22175 check-utils:
22177 @endif utils
22179 .PHONY: install-utils maybe-install-utils
22180 maybe-install-utils:
22181 @if utils
22182 maybe-install-utils: install-utils
22184 install-utils: installdirs
22185 @r=`${PWD_COMMAND}`; export r; \
22186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22187 $(SET_LIB_PATH) \
22188 $(HOST_EXPORTS) \
22189 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
22191 @endif utils
22193 # Other targets (info, dvi, etc.)
22195 .PHONY: maybe-info-utils info-utils
22196 maybe-info-utils:
22197 @if utils
22198 maybe-info-utils: info-utils
22200 info-utils: \
22201 configure-utils
22202 @[ -f ./utils/Makefile ] || exit 0; \
22203 r=`${PWD_COMMAND}`; export r; \
22204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22205 $(SET_LIB_PATH) \
22206 $(HOST_EXPORTS) \
22207 for flag in $(EXTRA_HOST_FLAGS) ; do \
22208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22209 done; \
22210 echo "Doing info in utils" ; \
22211 (cd utils && \
22212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22214 "RANLIB=$${RANLIB}" \
22215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22216 info) \
22217 || exit 1
22219 @endif utils
22221 .PHONY: maybe-dvi-utils dvi-utils
22222 maybe-dvi-utils:
22223 @if utils
22224 maybe-dvi-utils: dvi-utils
22226 dvi-utils: \
22227 configure-utils
22228 @[ -f ./utils/Makefile ] || exit 0; \
22229 r=`${PWD_COMMAND}`; export r; \
22230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22231 $(SET_LIB_PATH) \
22232 $(HOST_EXPORTS) \
22233 for flag in $(EXTRA_HOST_FLAGS) ; do \
22234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22235 done; \
22236 echo "Doing dvi in utils" ; \
22237 (cd utils && \
22238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22240 "RANLIB=$${RANLIB}" \
22241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22242 dvi) \
22243 || exit 1
22245 @endif utils
22247 .PHONY: maybe-TAGS-utils TAGS-utils
22248 maybe-TAGS-utils:
22249 @if utils
22250 maybe-TAGS-utils: TAGS-utils
22252 TAGS-utils: \
22253 configure-utils
22254 @[ -f ./utils/Makefile ] || exit 0; \
22255 r=`${PWD_COMMAND}`; export r; \
22256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22257 $(SET_LIB_PATH) \
22258 $(HOST_EXPORTS) \
22259 for flag in $(EXTRA_HOST_FLAGS) ; do \
22260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22261 done; \
22262 echo "Doing TAGS in utils" ; \
22263 (cd utils && \
22264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22266 "RANLIB=$${RANLIB}" \
22267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22268 TAGS) \
22269 || exit 1
22271 @endif utils
22273 .PHONY: maybe-install-info-utils install-info-utils
22274 maybe-install-info-utils:
22275 @if utils
22276 maybe-install-info-utils: install-info-utils
22278 install-info-utils: \
22279 configure-utils \
22280 info-utils
22281 @[ -f ./utils/Makefile ] || exit 0; \
22282 r=`${PWD_COMMAND}`; export r; \
22283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22284 $(SET_LIB_PATH) \
22285 $(HOST_EXPORTS) \
22286 for flag in $(EXTRA_HOST_FLAGS) ; do \
22287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22288 done; \
22289 echo "Doing install-info in utils" ; \
22290 (cd utils && \
22291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22293 "RANLIB=$${RANLIB}" \
22294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22295 install-info) \
22296 || exit 1
22298 @endif utils
22300 .PHONY: maybe-installcheck-utils installcheck-utils
22301 maybe-installcheck-utils:
22302 @if utils
22303 maybe-installcheck-utils: installcheck-utils
22305 installcheck-utils: \
22306 configure-utils
22307 @[ -f ./utils/Makefile ] || exit 0; \
22308 r=`${PWD_COMMAND}`; export r; \
22309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22310 $(SET_LIB_PATH) \
22311 $(HOST_EXPORTS) \
22312 for flag in $(EXTRA_HOST_FLAGS) ; do \
22313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22314 done; \
22315 echo "Doing installcheck in utils" ; \
22316 (cd utils && \
22317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22319 "RANLIB=$${RANLIB}" \
22320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22321 installcheck) \
22322 || exit 1
22324 @endif utils
22326 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
22327 maybe-mostlyclean-utils:
22328 @if utils
22329 maybe-mostlyclean-utils: mostlyclean-utils
22331 mostlyclean-utils:
22332 @[ -f ./utils/Makefile ] || exit 0; \
22333 r=`${PWD_COMMAND}`; export r; \
22334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22335 $(SET_LIB_PATH) \
22336 $(HOST_EXPORTS) \
22337 for flag in $(EXTRA_HOST_FLAGS) ; do \
22338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22339 done; \
22340 echo "Doing mostlyclean in utils" ; \
22341 (cd utils && \
22342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22344 "RANLIB=$${RANLIB}" \
22345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22346 mostlyclean) \
22347 || exit 1
22349 @endif utils
22351 .PHONY: maybe-clean-utils clean-utils
22352 maybe-clean-utils:
22353 @if utils
22354 maybe-clean-utils: clean-utils
22356 clean-utils:
22357 @[ -f ./utils/Makefile ] || exit 0; \
22358 r=`${PWD_COMMAND}`; export r; \
22359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22360 $(SET_LIB_PATH) \
22361 $(HOST_EXPORTS) \
22362 for flag in $(EXTRA_HOST_FLAGS) ; do \
22363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22364 done; \
22365 echo "Doing clean in utils" ; \
22366 (cd utils && \
22367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22369 "RANLIB=$${RANLIB}" \
22370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22371 clean) \
22372 || exit 1
22374 @endif utils
22376 .PHONY: maybe-distclean-utils distclean-utils
22377 maybe-distclean-utils:
22378 @if utils
22379 maybe-distclean-utils: distclean-utils
22381 distclean-utils:
22382 @[ -f ./utils/Makefile ] || exit 0; \
22383 r=`${PWD_COMMAND}`; export r; \
22384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22385 $(SET_LIB_PATH) \
22386 $(HOST_EXPORTS) \
22387 for flag in $(EXTRA_HOST_FLAGS) ; do \
22388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22389 done; \
22390 echo "Doing distclean in utils" ; \
22391 (cd utils && \
22392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22394 "RANLIB=$${RANLIB}" \
22395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22396 distclean) \
22397 || exit 1
22399 @endif utils
22401 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
22402 maybe-maintainer-clean-utils:
22403 @if utils
22404 maybe-maintainer-clean-utils: maintainer-clean-utils
22406 maintainer-clean-utils:
22407 @[ -f ./utils/Makefile ] || exit 0; \
22408 r=`${PWD_COMMAND}`; export r; \
22409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22410 $(SET_LIB_PATH) \
22411 $(HOST_EXPORTS) \
22412 for flag in $(EXTRA_HOST_FLAGS) ; do \
22413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22414 done; \
22415 echo "Doing maintainer-clean in utils" ; \
22416 (cd utils && \
22417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22419 "RANLIB=$${RANLIB}" \
22420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22421 maintainer-clean) \
22422 || exit 1
22424 @endif utils
22428 # ---------------------------------------
22429 # Modules which run on the target machine
22430 # ---------------------------------------
22432 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22433 maybe-configure-target-libstdc++-v3:
22434 @if target-libstdc++-v3
22435 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22437 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22438 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22439 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22440 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22441 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22443 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22444 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22445 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22446 r=`${PWD_COMMAND}`; export r; \
22447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22448 $(SET_LIB_PATH) \
22449 $(RAW_CXX_TARGET_EXPORTS) \
22450 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22451 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22452 case $(srcdir) in \
22453 /* | [A-Za-z]:[\\/]*) \
22454 topdir=$(srcdir) ;; \
22455 *) \
22456 case "$(TARGET_SUBDIR)" in \
22457 .) topdir="../$(srcdir)" ;; \
22458 *) topdir="../../$(srcdir)" ;; \
22459 esac ;; \
22460 esac; \
22461 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22462 libsrcdir="$$s/libstdc++-v3"; \
22463 rm -f no-such-file || : ; \
22464 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22465 $(TARGET_CONFIGARGS) $${srcdiroption} \
22466 --with-target-subdir="$(TARGET_SUBDIR)" \
22467 || exit 1
22468 @endif target-libstdc++-v3
22470 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22471 maybe-all-target-libstdc++-v3:
22472 @if target-libstdc++-v3
22473 TARGET-target-libstdc++-v3=all
22474 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22475 all-target-libstdc++-v3: configure-target-libstdc++-v3
22476 @r=`${PWD_COMMAND}`; export r; \
22477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22478 $(SET_LIB_PATH) \
22479 $(RAW_CXX_TARGET_EXPORTS) \
22480 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22481 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
22482 @endif target-libstdc++-v3
22484 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22485 maybe-check-target-libstdc++-v3:
22486 @if target-libstdc++-v3
22487 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22489 check-target-libstdc++-v3:
22490 @r=`${PWD_COMMAND}`; export r; \
22491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22492 $(SET_LIB_PATH) \
22493 $(RAW_CXX_TARGET_EXPORTS) \
22494 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22495 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22497 @endif target-libstdc++-v3
22499 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22500 maybe-install-target-libstdc++-v3:
22501 @if target-libstdc++-v3
22502 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22504 install-target-libstdc++-v3: installdirs
22505 @r=`${PWD_COMMAND}`; export r; \
22506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22507 $(SET_LIB_PATH) \
22508 $(RAW_CXX_TARGET_EXPORTS) \
22509 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22510 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22512 @endif target-libstdc++-v3
22514 # Other targets (info, dvi, etc.)
22516 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22517 maybe-info-target-libstdc++-v3:
22518 @if target-libstdc++-v3
22519 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22521 info-target-libstdc++-v3: \
22522 configure-target-libstdc++-v3
22523 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22524 r=`${PWD_COMMAND}`; export r; \
22525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22526 $(SET_LIB_PATH) \
22527 $(RAW_CXX_TARGET_EXPORTS) \
22528 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22529 for flag in $(EXTRA_TARGET_FLAGS); do \
22530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22531 done; \
22532 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22535 "RANLIB=$${RANLIB}" \
22536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22537 info) \
22538 || exit 1
22540 @endif target-libstdc++-v3
22542 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22543 maybe-dvi-target-libstdc++-v3:
22544 @if target-libstdc++-v3
22545 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22547 dvi-target-libstdc++-v3: \
22548 configure-target-libstdc++-v3
22549 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22550 r=`${PWD_COMMAND}`; export r; \
22551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22552 $(SET_LIB_PATH) \
22553 $(RAW_CXX_TARGET_EXPORTS) \
22554 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22555 for flag in $(EXTRA_TARGET_FLAGS); do \
22556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22557 done; \
22558 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22561 "RANLIB=$${RANLIB}" \
22562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22563 dvi) \
22564 || exit 1
22566 @endif target-libstdc++-v3
22568 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22569 maybe-TAGS-target-libstdc++-v3:
22570 @if target-libstdc++-v3
22571 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22573 TAGS-target-libstdc++-v3: \
22574 configure-target-libstdc++-v3
22575 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22576 r=`${PWD_COMMAND}`; export r; \
22577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22578 $(SET_LIB_PATH) \
22579 $(RAW_CXX_TARGET_EXPORTS) \
22580 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22581 for flag in $(EXTRA_TARGET_FLAGS); do \
22582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22583 done; \
22584 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22587 "RANLIB=$${RANLIB}" \
22588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22589 TAGS) \
22590 || exit 1
22592 @endif target-libstdc++-v3
22594 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22595 maybe-install-info-target-libstdc++-v3:
22596 @if target-libstdc++-v3
22597 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22599 install-info-target-libstdc++-v3: \
22600 configure-target-libstdc++-v3 \
22601 info-target-libstdc++-v3
22602 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22603 r=`${PWD_COMMAND}`; export r; \
22604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22605 $(SET_LIB_PATH) \
22606 $(RAW_CXX_TARGET_EXPORTS) \
22607 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22608 for flag in $(EXTRA_TARGET_FLAGS); do \
22609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22610 done; \
22611 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22614 "RANLIB=$${RANLIB}" \
22615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22616 install-info) \
22617 || exit 1
22619 @endif target-libstdc++-v3
22621 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22622 maybe-installcheck-target-libstdc++-v3:
22623 @if target-libstdc++-v3
22624 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22626 installcheck-target-libstdc++-v3: \
22627 configure-target-libstdc++-v3
22628 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22629 r=`${PWD_COMMAND}`; export r; \
22630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22631 $(SET_LIB_PATH) \
22632 $(RAW_CXX_TARGET_EXPORTS) \
22633 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22634 for flag in $(EXTRA_TARGET_FLAGS); do \
22635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22636 done; \
22637 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22640 "RANLIB=$${RANLIB}" \
22641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22642 installcheck) \
22643 || exit 1
22645 @endif target-libstdc++-v3
22647 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22648 maybe-mostlyclean-target-libstdc++-v3:
22649 @if target-libstdc++-v3
22650 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22652 mostlyclean-target-libstdc++-v3:
22653 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22654 r=`${PWD_COMMAND}`; export r; \
22655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22656 $(SET_LIB_PATH) \
22657 $(RAW_CXX_TARGET_EXPORTS) \
22658 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22659 for flag in $(EXTRA_TARGET_FLAGS); do \
22660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22661 done; \
22662 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22665 "RANLIB=$${RANLIB}" \
22666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22667 mostlyclean) \
22668 || exit 1
22670 @endif target-libstdc++-v3
22672 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22673 maybe-clean-target-libstdc++-v3:
22674 @if target-libstdc++-v3
22675 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22677 clean-target-libstdc++-v3:
22678 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22679 r=`${PWD_COMMAND}`; export r; \
22680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22681 $(SET_LIB_PATH) \
22682 $(RAW_CXX_TARGET_EXPORTS) \
22683 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22684 for flag in $(EXTRA_TARGET_FLAGS); do \
22685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22686 done; \
22687 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22690 "RANLIB=$${RANLIB}" \
22691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22692 clean) \
22693 || exit 1
22695 @endif target-libstdc++-v3
22697 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22698 maybe-distclean-target-libstdc++-v3:
22699 @if target-libstdc++-v3
22700 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22702 distclean-target-libstdc++-v3:
22703 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22704 r=`${PWD_COMMAND}`; export r; \
22705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22706 $(SET_LIB_PATH) \
22707 $(RAW_CXX_TARGET_EXPORTS) \
22708 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22709 for flag in $(EXTRA_TARGET_FLAGS); do \
22710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22711 done; \
22712 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22715 "RANLIB=$${RANLIB}" \
22716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22717 distclean) \
22718 || exit 1
22720 @endif target-libstdc++-v3
22722 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22723 maybe-maintainer-clean-target-libstdc++-v3:
22724 @if target-libstdc++-v3
22725 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22727 maintainer-clean-target-libstdc++-v3:
22728 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22729 r=`${PWD_COMMAND}`; export r; \
22730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22731 $(SET_LIB_PATH) \
22732 $(RAW_CXX_TARGET_EXPORTS) \
22733 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22734 for flag in $(EXTRA_TARGET_FLAGS); do \
22735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22736 done; \
22737 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22740 "RANLIB=$${RANLIB}" \
22741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22742 maintainer-clean) \
22743 || exit 1
22745 @endif target-libstdc++-v3
22748 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22749 maybe-configure-target-libmudflap:
22750 @if target-libmudflap
22751 maybe-configure-target-libmudflap: configure-target-libmudflap
22753 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22754 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22755 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22756 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22757 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22759 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22760 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22761 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22762 r=`${PWD_COMMAND}`; export r; \
22763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22764 $(SET_LIB_PATH) \
22765 $(NORMAL_TARGET_EXPORTS) \
22766 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22767 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22768 case $(srcdir) in \
22769 /* | [A-Za-z]:[\\/]*) \
22770 topdir=$(srcdir) ;; \
22771 *) \
22772 case "$(TARGET_SUBDIR)" in \
22773 .) topdir="../$(srcdir)" ;; \
22774 *) topdir="../../$(srcdir)" ;; \
22775 esac ;; \
22776 esac; \
22777 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22778 libsrcdir="$$s/libmudflap"; \
22779 rm -f no-such-file || : ; \
22780 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22781 $(TARGET_CONFIGARGS) $${srcdiroption} \
22782 --with-target-subdir="$(TARGET_SUBDIR)" \
22783 || exit 1
22784 @endif target-libmudflap
22786 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22787 maybe-all-target-libmudflap:
22788 @if target-libmudflap
22789 TARGET-target-libmudflap=all
22790 maybe-all-target-libmudflap: all-target-libmudflap
22791 all-target-libmudflap: configure-target-libmudflap
22792 @r=`${PWD_COMMAND}`; export r; \
22793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22794 $(SET_LIB_PATH) \
22795 $(NORMAL_TARGET_EXPORTS) \
22796 (cd $(TARGET_SUBDIR)/libmudflap && \
22797 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
22798 @endif target-libmudflap
22800 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22801 maybe-check-target-libmudflap:
22802 @if target-libmudflap
22803 maybe-check-target-libmudflap: check-target-libmudflap
22805 check-target-libmudflap:
22806 @r=`${PWD_COMMAND}`; export r; \
22807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22808 $(SET_LIB_PATH) \
22809 $(NORMAL_TARGET_EXPORTS) \
22810 (cd $(TARGET_SUBDIR)/libmudflap && \
22811 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22813 @endif target-libmudflap
22815 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22816 maybe-install-target-libmudflap:
22817 @if target-libmudflap
22818 maybe-install-target-libmudflap: install-target-libmudflap
22820 install-target-libmudflap: installdirs
22821 @r=`${PWD_COMMAND}`; export r; \
22822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22823 $(SET_LIB_PATH) \
22824 $(NORMAL_TARGET_EXPORTS) \
22825 (cd $(TARGET_SUBDIR)/libmudflap && \
22826 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22828 @endif target-libmudflap
22830 # Other targets (info, dvi, etc.)
22832 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22833 maybe-info-target-libmudflap:
22834 @if target-libmudflap
22835 maybe-info-target-libmudflap: info-target-libmudflap
22837 info-target-libmudflap: \
22838 configure-target-libmudflap
22839 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22840 r=`${PWD_COMMAND}`; export r; \
22841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22842 $(SET_LIB_PATH) \
22843 $(NORMAL_TARGET_EXPORTS) \
22844 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22845 for flag in $(EXTRA_TARGET_FLAGS); do \
22846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22847 done; \
22848 (cd $(TARGET_SUBDIR)/libmudflap && \
22849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22851 "RANLIB=$${RANLIB}" \
22852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22853 info) \
22854 || exit 1
22856 @endif target-libmudflap
22858 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22859 maybe-dvi-target-libmudflap:
22860 @if target-libmudflap
22861 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22863 dvi-target-libmudflap: \
22864 configure-target-libmudflap
22865 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22866 r=`${PWD_COMMAND}`; export r; \
22867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22868 $(SET_LIB_PATH) \
22869 $(NORMAL_TARGET_EXPORTS) \
22870 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22871 for flag in $(EXTRA_TARGET_FLAGS); do \
22872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22873 done; \
22874 (cd $(TARGET_SUBDIR)/libmudflap && \
22875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22877 "RANLIB=$${RANLIB}" \
22878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22879 dvi) \
22880 || exit 1
22882 @endif target-libmudflap
22884 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22885 maybe-TAGS-target-libmudflap:
22886 @if target-libmudflap
22887 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22889 TAGS-target-libmudflap: \
22890 configure-target-libmudflap
22891 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22892 r=`${PWD_COMMAND}`; export r; \
22893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22894 $(SET_LIB_PATH) \
22895 $(NORMAL_TARGET_EXPORTS) \
22896 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22897 for flag in $(EXTRA_TARGET_FLAGS); do \
22898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22899 done; \
22900 (cd $(TARGET_SUBDIR)/libmudflap && \
22901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22903 "RANLIB=$${RANLIB}" \
22904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22905 TAGS) \
22906 || exit 1
22908 @endif target-libmudflap
22910 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22911 maybe-install-info-target-libmudflap:
22912 @if target-libmudflap
22913 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22915 install-info-target-libmudflap: \
22916 configure-target-libmudflap \
22917 info-target-libmudflap
22918 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22919 r=`${PWD_COMMAND}`; export r; \
22920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22921 $(SET_LIB_PATH) \
22922 $(NORMAL_TARGET_EXPORTS) \
22923 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22924 for flag in $(EXTRA_TARGET_FLAGS); do \
22925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22926 done; \
22927 (cd $(TARGET_SUBDIR)/libmudflap && \
22928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22930 "RANLIB=$${RANLIB}" \
22931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22932 install-info) \
22933 || exit 1
22935 @endif target-libmudflap
22937 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22938 maybe-installcheck-target-libmudflap:
22939 @if target-libmudflap
22940 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22942 installcheck-target-libmudflap: \
22943 configure-target-libmudflap
22944 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22945 r=`${PWD_COMMAND}`; export r; \
22946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22947 $(SET_LIB_PATH) \
22948 $(NORMAL_TARGET_EXPORTS) \
22949 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22950 for flag in $(EXTRA_TARGET_FLAGS); do \
22951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22952 done; \
22953 (cd $(TARGET_SUBDIR)/libmudflap && \
22954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22956 "RANLIB=$${RANLIB}" \
22957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22958 installcheck) \
22959 || exit 1
22961 @endif target-libmudflap
22963 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22964 maybe-mostlyclean-target-libmudflap:
22965 @if target-libmudflap
22966 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22968 mostlyclean-target-libmudflap:
22969 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22970 r=`${PWD_COMMAND}`; export r; \
22971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22972 $(SET_LIB_PATH) \
22973 $(NORMAL_TARGET_EXPORTS) \
22974 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22975 for flag in $(EXTRA_TARGET_FLAGS); do \
22976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22977 done; \
22978 (cd $(TARGET_SUBDIR)/libmudflap && \
22979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22981 "RANLIB=$${RANLIB}" \
22982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22983 mostlyclean) \
22984 || exit 1
22986 @endif target-libmudflap
22988 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22989 maybe-clean-target-libmudflap:
22990 @if target-libmudflap
22991 maybe-clean-target-libmudflap: clean-target-libmudflap
22993 clean-target-libmudflap:
22994 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22995 r=`${PWD_COMMAND}`; export r; \
22996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22997 $(SET_LIB_PATH) \
22998 $(NORMAL_TARGET_EXPORTS) \
22999 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
23000 for flag in $(EXTRA_TARGET_FLAGS); do \
23001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23002 done; \
23003 (cd $(TARGET_SUBDIR)/libmudflap && \
23004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23006 "RANLIB=$${RANLIB}" \
23007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23008 clean) \
23009 || exit 1
23011 @endif target-libmudflap
23013 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
23014 maybe-distclean-target-libmudflap:
23015 @if target-libmudflap
23016 maybe-distclean-target-libmudflap: distclean-target-libmudflap
23018 distclean-target-libmudflap:
23019 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23020 r=`${PWD_COMMAND}`; export r; \
23021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23022 $(SET_LIB_PATH) \
23023 $(NORMAL_TARGET_EXPORTS) \
23024 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
23025 for flag in $(EXTRA_TARGET_FLAGS); do \
23026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23027 done; \
23028 (cd $(TARGET_SUBDIR)/libmudflap && \
23029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23031 "RANLIB=$${RANLIB}" \
23032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23033 distclean) \
23034 || exit 1
23036 @endif target-libmudflap
23038 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
23039 maybe-maintainer-clean-target-libmudflap:
23040 @if target-libmudflap
23041 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
23043 maintainer-clean-target-libmudflap:
23044 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23045 r=`${PWD_COMMAND}`; export r; \
23046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23047 $(SET_LIB_PATH) \
23048 $(NORMAL_TARGET_EXPORTS) \
23049 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
23050 for flag in $(EXTRA_TARGET_FLAGS); do \
23051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23052 done; \
23053 (cd $(TARGET_SUBDIR)/libmudflap && \
23054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23056 "RANLIB=$${RANLIB}" \
23057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23058 maintainer-clean) \
23059 || exit 1
23061 @endif target-libmudflap
23064 .PHONY: configure-target-newlib maybe-configure-target-newlib
23065 maybe-configure-target-newlib:
23066 @if target-newlib
23067 maybe-configure-target-newlib: configure-target-newlib
23069 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23070 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
23071 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
23072 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
23073 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
23075 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
23076 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
23077 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
23078 r=`${PWD_COMMAND}`; export r; \
23079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23080 $(SET_LIB_PATH) \
23081 $(NORMAL_TARGET_EXPORTS) \
23082 echo Configuring in $(TARGET_SUBDIR)/newlib; \
23083 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
23084 case $(srcdir) in \
23085 /* | [A-Za-z]:[\\/]*) \
23086 topdir=$(srcdir) ;; \
23087 *) \
23088 case "$(TARGET_SUBDIR)" in \
23089 .) topdir="../$(srcdir)" ;; \
23090 *) topdir="../../$(srcdir)" ;; \
23091 esac ;; \
23092 esac; \
23093 srcdiroption="--srcdir=$${topdir}/newlib"; \
23094 libsrcdir="$$s/newlib"; \
23095 rm -f no-such-file || : ; \
23096 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23097 $(TARGET_CONFIGARGS) $${srcdiroption} \
23098 --with-target-subdir="$(TARGET_SUBDIR)" \
23099 || exit 1
23100 @endif target-newlib
23102 .PHONY: all-target-newlib maybe-all-target-newlib
23103 maybe-all-target-newlib:
23104 @if target-newlib
23105 TARGET-target-newlib=all
23106 maybe-all-target-newlib: all-target-newlib
23107 all-target-newlib: configure-target-newlib
23108 @r=`${PWD_COMMAND}`; export r; \
23109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23110 $(SET_LIB_PATH) \
23111 $(NORMAL_TARGET_EXPORTS) \
23112 (cd $(TARGET_SUBDIR)/newlib && \
23113 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
23114 @endif target-newlib
23116 .PHONY: check-target-newlib maybe-check-target-newlib
23117 maybe-check-target-newlib:
23118 @if target-newlib
23119 maybe-check-target-newlib: check-target-newlib
23121 check-target-newlib:
23122 @r=`${PWD_COMMAND}`; export r; \
23123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23124 $(SET_LIB_PATH) \
23125 $(NORMAL_TARGET_EXPORTS) \
23126 (cd $(TARGET_SUBDIR)/newlib && \
23127 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23129 @endif target-newlib
23131 .PHONY: install-target-newlib maybe-install-target-newlib
23132 maybe-install-target-newlib:
23133 @if target-newlib
23134 maybe-install-target-newlib: install-target-newlib
23136 install-target-newlib: installdirs
23137 @r=`${PWD_COMMAND}`; export r; \
23138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23139 $(SET_LIB_PATH) \
23140 $(NORMAL_TARGET_EXPORTS) \
23141 (cd $(TARGET_SUBDIR)/newlib && \
23142 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23144 @endif target-newlib
23146 # Other targets (info, dvi, etc.)
23148 .PHONY: maybe-info-target-newlib info-target-newlib
23149 maybe-info-target-newlib:
23150 @if target-newlib
23151 maybe-info-target-newlib: info-target-newlib
23153 info-target-newlib: \
23154 configure-target-newlib
23155 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23156 r=`${PWD_COMMAND}`; export r; \
23157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23158 $(SET_LIB_PATH) \
23159 $(NORMAL_TARGET_EXPORTS) \
23160 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
23161 for flag in $(EXTRA_TARGET_FLAGS); do \
23162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23163 done; \
23164 (cd $(TARGET_SUBDIR)/newlib && \
23165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23167 "RANLIB=$${RANLIB}" \
23168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23169 info) \
23170 || exit 1
23172 @endif target-newlib
23174 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
23175 maybe-dvi-target-newlib:
23176 @if target-newlib
23177 maybe-dvi-target-newlib: dvi-target-newlib
23179 dvi-target-newlib: \
23180 configure-target-newlib
23181 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23182 r=`${PWD_COMMAND}`; export r; \
23183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23184 $(SET_LIB_PATH) \
23185 $(NORMAL_TARGET_EXPORTS) \
23186 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
23187 for flag in $(EXTRA_TARGET_FLAGS); do \
23188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23189 done; \
23190 (cd $(TARGET_SUBDIR)/newlib && \
23191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23193 "RANLIB=$${RANLIB}" \
23194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23195 dvi) \
23196 || exit 1
23198 @endif target-newlib
23200 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
23201 maybe-TAGS-target-newlib:
23202 @if target-newlib
23203 maybe-TAGS-target-newlib: TAGS-target-newlib
23205 TAGS-target-newlib: \
23206 configure-target-newlib
23207 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23208 r=`${PWD_COMMAND}`; export r; \
23209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23210 $(SET_LIB_PATH) \
23211 $(NORMAL_TARGET_EXPORTS) \
23212 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
23213 for flag in $(EXTRA_TARGET_FLAGS); do \
23214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23215 done; \
23216 (cd $(TARGET_SUBDIR)/newlib && \
23217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23219 "RANLIB=$${RANLIB}" \
23220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23221 TAGS) \
23222 || exit 1
23224 @endif target-newlib
23226 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
23227 maybe-install-info-target-newlib:
23228 @if target-newlib
23229 maybe-install-info-target-newlib: install-info-target-newlib
23231 install-info-target-newlib: \
23232 configure-target-newlib \
23233 info-target-newlib
23234 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23235 r=`${PWD_COMMAND}`; export r; \
23236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23237 $(SET_LIB_PATH) \
23238 $(NORMAL_TARGET_EXPORTS) \
23239 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
23240 for flag in $(EXTRA_TARGET_FLAGS); do \
23241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23242 done; \
23243 (cd $(TARGET_SUBDIR)/newlib && \
23244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23246 "RANLIB=$${RANLIB}" \
23247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23248 install-info) \
23249 || exit 1
23251 @endif target-newlib
23253 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
23254 maybe-installcheck-target-newlib:
23255 @if target-newlib
23256 maybe-installcheck-target-newlib: installcheck-target-newlib
23258 installcheck-target-newlib: \
23259 configure-target-newlib
23260 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23261 r=`${PWD_COMMAND}`; export r; \
23262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23263 $(SET_LIB_PATH) \
23264 $(NORMAL_TARGET_EXPORTS) \
23265 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
23266 for flag in $(EXTRA_TARGET_FLAGS); do \
23267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23268 done; \
23269 (cd $(TARGET_SUBDIR)/newlib && \
23270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23272 "RANLIB=$${RANLIB}" \
23273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23274 installcheck) \
23275 || exit 1
23277 @endif target-newlib
23279 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
23280 maybe-mostlyclean-target-newlib:
23281 @if target-newlib
23282 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
23284 mostlyclean-target-newlib:
23285 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23286 r=`${PWD_COMMAND}`; export r; \
23287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23288 $(SET_LIB_PATH) \
23289 $(NORMAL_TARGET_EXPORTS) \
23290 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
23291 for flag in $(EXTRA_TARGET_FLAGS); do \
23292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23293 done; \
23294 (cd $(TARGET_SUBDIR)/newlib && \
23295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23297 "RANLIB=$${RANLIB}" \
23298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23299 mostlyclean) \
23300 || exit 1
23302 @endif target-newlib
23304 .PHONY: maybe-clean-target-newlib clean-target-newlib
23305 maybe-clean-target-newlib:
23306 @if target-newlib
23307 maybe-clean-target-newlib: clean-target-newlib
23309 clean-target-newlib:
23310 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23311 r=`${PWD_COMMAND}`; export r; \
23312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23313 $(SET_LIB_PATH) \
23314 $(NORMAL_TARGET_EXPORTS) \
23315 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
23316 for flag in $(EXTRA_TARGET_FLAGS); do \
23317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23318 done; \
23319 (cd $(TARGET_SUBDIR)/newlib && \
23320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23322 "RANLIB=$${RANLIB}" \
23323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23324 clean) \
23325 || exit 1
23327 @endif target-newlib
23329 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
23330 maybe-distclean-target-newlib:
23331 @if target-newlib
23332 maybe-distclean-target-newlib: distclean-target-newlib
23334 distclean-target-newlib:
23335 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23336 r=`${PWD_COMMAND}`; export r; \
23337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23338 $(SET_LIB_PATH) \
23339 $(NORMAL_TARGET_EXPORTS) \
23340 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
23341 for flag in $(EXTRA_TARGET_FLAGS); do \
23342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23343 done; \
23344 (cd $(TARGET_SUBDIR)/newlib && \
23345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23347 "RANLIB=$${RANLIB}" \
23348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23349 distclean) \
23350 || exit 1
23352 @endif target-newlib
23354 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
23355 maybe-maintainer-clean-target-newlib:
23356 @if target-newlib
23357 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
23359 maintainer-clean-target-newlib:
23360 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23361 r=`${PWD_COMMAND}`; export r; \
23362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23363 $(SET_LIB_PATH) \
23364 $(NORMAL_TARGET_EXPORTS) \
23365 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
23366 for flag in $(EXTRA_TARGET_FLAGS); do \
23367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23368 done; \
23369 (cd $(TARGET_SUBDIR)/newlib && \
23370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23372 "RANLIB=$${RANLIB}" \
23373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23374 maintainer-clean) \
23375 || exit 1
23377 @endif target-newlib
23380 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
23381 maybe-configure-target-libgfortran:
23382 @if target-libgfortran
23383 maybe-configure-target-libgfortran: configure-target-libgfortran
23385 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23386 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
23387 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23388 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
23389 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
23391 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
23392 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
23393 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23394 r=`${PWD_COMMAND}`; export r; \
23395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23396 $(SET_LIB_PATH) \
23397 $(NORMAL_TARGET_EXPORTS) \
23398 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
23399 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
23400 case $(srcdir) in \
23401 /* | [A-Za-z]:[\\/]*) \
23402 topdir=$(srcdir) ;; \
23403 *) \
23404 case "$(TARGET_SUBDIR)" in \
23405 .) topdir="../$(srcdir)" ;; \
23406 *) topdir="../../$(srcdir)" ;; \
23407 esac ;; \
23408 esac; \
23409 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
23410 libsrcdir="$$s/libgfortran"; \
23411 rm -f no-such-file || : ; \
23412 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23413 $(TARGET_CONFIGARGS) $${srcdiroption} \
23414 --with-target-subdir="$(TARGET_SUBDIR)" \
23415 || exit 1
23416 @endif target-libgfortran
23418 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
23419 maybe-all-target-libgfortran:
23420 @if target-libgfortran
23421 TARGET-target-libgfortran=all
23422 maybe-all-target-libgfortran: all-target-libgfortran
23423 all-target-libgfortran: configure-target-libgfortran
23424 @r=`${PWD_COMMAND}`; export r; \
23425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23426 $(SET_LIB_PATH) \
23427 $(NORMAL_TARGET_EXPORTS) \
23428 (cd $(TARGET_SUBDIR)/libgfortran && \
23429 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
23430 @endif target-libgfortran
23432 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
23433 maybe-check-target-libgfortran:
23434 @if target-libgfortran
23435 maybe-check-target-libgfortran: check-target-libgfortran
23437 check-target-libgfortran:
23438 @r=`${PWD_COMMAND}`; export r; \
23439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23440 $(SET_LIB_PATH) \
23441 $(NORMAL_TARGET_EXPORTS) \
23442 (cd $(TARGET_SUBDIR)/libgfortran && \
23443 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23445 @endif target-libgfortran
23447 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23448 maybe-install-target-libgfortran:
23449 @if target-libgfortran
23450 maybe-install-target-libgfortran: install-target-libgfortran
23452 install-target-libgfortran: installdirs
23453 @r=`${PWD_COMMAND}`; export r; \
23454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23455 $(SET_LIB_PATH) \
23456 $(NORMAL_TARGET_EXPORTS) \
23457 (cd $(TARGET_SUBDIR)/libgfortran && \
23458 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23460 @endif target-libgfortran
23462 # Other targets (info, dvi, etc.)
23464 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23465 maybe-info-target-libgfortran:
23466 @if target-libgfortran
23467 maybe-info-target-libgfortran: info-target-libgfortran
23469 info-target-libgfortran: \
23470 configure-target-libgfortran
23471 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23472 r=`${PWD_COMMAND}`; export r; \
23473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23474 $(SET_LIB_PATH) \
23475 $(NORMAL_TARGET_EXPORTS) \
23476 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23477 for flag in $(EXTRA_TARGET_FLAGS); do \
23478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23479 done; \
23480 (cd $(TARGET_SUBDIR)/libgfortran && \
23481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23483 "RANLIB=$${RANLIB}" \
23484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23485 info) \
23486 || exit 1
23488 @endif target-libgfortran
23490 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23491 maybe-dvi-target-libgfortran:
23492 @if target-libgfortran
23493 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23495 dvi-target-libgfortran: \
23496 configure-target-libgfortran
23497 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23498 r=`${PWD_COMMAND}`; export r; \
23499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23500 $(SET_LIB_PATH) \
23501 $(NORMAL_TARGET_EXPORTS) \
23502 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23503 for flag in $(EXTRA_TARGET_FLAGS); do \
23504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23505 done; \
23506 (cd $(TARGET_SUBDIR)/libgfortran && \
23507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23509 "RANLIB=$${RANLIB}" \
23510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23511 dvi) \
23512 || exit 1
23514 @endif target-libgfortran
23516 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23517 maybe-TAGS-target-libgfortran:
23518 @if target-libgfortran
23519 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23521 TAGS-target-libgfortran: \
23522 configure-target-libgfortran
23523 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23524 r=`${PWD_COMMAND}`; export r; \
23525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23526 $(SET_LIB_PATH) \
23527 $(NORMAL_TARGET_EXPORTS) \
23528 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23529 for flag in $(EXTRA_TARGET_FLAGS); do \
23530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23531 done; \
23532 (cd $(TARGET_SUBDIR)/libgfortran && \
23533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23535 "RANLIB=$${RANLIB}" \
23536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23537 TAGS) \
23538 || exit 1
23540 @endif target-libgfortran
23542 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23543 maybe-install-info-target-libgfortran:
23544 @if target-libgfortran
23545 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23547 install-info-target-libgfortran: \
23548 configure-target-libgfortran \
23549 info-target-libgfortran
23550 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23551 r=`${PWD_COMMAND}`; export r; \
23552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23553 $(SET_LIB_PATH) \
23554 $(NORMAL_TARGET_EXPORTS) \
23555 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23556 for flag in $(EXTRA_TARGET_FLAGS); do \
23557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23558 done; \
23559 (cd $(TARGET_SUBDIR)/libgfortran && \
23560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23562 "RANLIB=$${RANLIB}" \
23563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23564 install-info) \
23565 || exit 1
23567 @endif target-libgfortran
23569 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23570 maybe-installcheck-target-libgfortran:
23571 @if target-libgfortran
23572 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23574 installcheck-target-libgfortran: \
23575 configure-target-libgfortran
23576 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23577 r=`${PWD_COMMAND}`; export r; \
23578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23579 $(SET_LIB_PATH) \
23580 $(NORMAL_TARGET_EXPORTS) \
23581 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23582 for flag in $(EXTRA_TARGET_FLAGS); do \
23583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23584 done; \
23585 (cd $(TARGET_SUBDIR)/libgfortran && \
23586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23588 "RANLIB=$${RANLIB}" \
23589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23590 installcheck) \
23591 || exit 1
23593 @endif target-libgfortran
23595 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23596 maybe-mostlyclean-target-libgfortran:
23597 @if target-libgfortran
23598 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23600 mostlyclean-target-libgfortran:
23601 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23602 r=`${PWD_COMMAND}`; export r; \
23603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23604 $(SET_LIB_PATH) \
23605 $(NORMAL_TARGET_EXPORTS) \
23606 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23607 for flag in $(EXTRA_TARGET_FLAGS); do \
23608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23609 done; \
23610 (cd $(TARGET_SUBDIR)/libgfortran && \
23611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23613 "RANLIB=$${RANLIB}" \
23614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23615 mostlyclean) \
23616 || exit 1
23618 @endif target-libgfortran
23620 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23621 maybe-clean-target-libgfortran:
23622 @if target-libgfortran
23623 maybe-clean-target-libgfortran: clean-target-libgfortran
23625 clean-target-libgfortran:
23626 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23627 r=`${PWD_COMMAND}`; export r; \
23628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23629 $(SET_LIB_PATH) \
23630 $(NORMAL_TARGET_EXPORTS) \
23631 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23632 for flag in $(EXTRA_TARGET_FLAGS); do \
23633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23634 done; \
23635 (cd $(TARGET_SUBDIR)/libgfortran && \
23636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23638 "RANLIB=$${RANLIB}" \
23639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23640 clean) \
23641 || exit 1
23643 @endif target-libgfortran
23645 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23646 maybe-distclean-target-libgfortran:
23647 @if target-libgfortran
23648 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23650 distclean-target-libgfortran:
23651 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23652 r=`${PWD_COMMAND}`; export r; \
23653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23654 $(SET_LIB_PATH) \
23655 $(NORMAL_TARGET_EXPORTS) \
23656 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23657 for flag in $(EXTRA_TARGET_FLAGS); do \
23658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23659 done; \
23660 (cd $(TARGET_SUBDIR)/libgfortran && \
23661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23663 "RANLIB=$${RANLIB}" \
23664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23665 distclean) \
23666 || exit 1
23668 @endif target-libgfortran
23670 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23671 maybe-maintainer-clean-target-libgfortran:
23672 @if target-libgfortran
23673 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23675 maintainer-clean-target-libgfortran:
23676 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23677 r=`${PWD_COMMAND}`; export r; \
23678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23679 $(SET_LIB_PATH) \
23680 $(NORMAL_TARGET_EXPORTS) \
23681 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23682 for flag in $(EXTRA_TARGET_FLAGS); do \
23683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23684 done; \
23685 (cd $(TARGET_SUBDIR)/libgfortran && \
23686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23688 "RANLIB=$${RANLIB}" \
23689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23690 maintainer-clean) \
23691 || exit 1
23693 @endif target-libgfortran
23696 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23697 maybe-configure-target-libobjc:
23698 @if target-libobjc
23699 maybe-configure-target-libobjc: configure-target-libobjc
23701 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23702 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23703 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23704 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23705 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23707 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23708 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23709 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23710 r=`${PWD_COMMAND}`; export r; \
23711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23712 $(SET_LIB_PATH) \
23713 $(NORMAL_TARGET_EXPORTS) \
23714 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23715 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23716 case $(srcdir) in \
23717 /* | [A-Za-z]:[\\/]*) \
23718 topdir=$(srcdir) ;; \
23719 *) \
23720 case "$(TARGET_SUBDIR)" in \
23721 .) topdir="../$(srcdir)" ;; \
23722 *) topdir="../../$(srcdir)" ;; \
23723 esac ;; \
23724 esac; \
23725 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23726 libsrcdir="$$s/libobjc"; \
23727 rm -f no-such-file || : ; \
23728 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23729 $(TARGET_CONFIGARGS) $${srcdiroption} \
23730 --with-target-subdir="$(TARGET_SUBDIR)" \
23731 || exit 1
23732 @endif target-libobjc
23734 .PHONY: all-target-libobjc maybe-all-target-libobjc
23735 maybe-all-target-libobjc:
23736 @if target-libobjc
23737 TARGET-target-libobjc=all
23738 maybe-all-target-libobjc: all-target-libobjc
23739 all-target-libobjc: configure-target-libobjc
23740 @r=`${PWD_COMMAND}`; export r; \
23741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23742 $(SET_LIB_PATH) \
23743 $(NORMAL_TARGET_EXPORTS) \
23744 (cd $(TARGET_SUBDIR)/libobjc && \
23745 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
23746 @endif target-libobjc
23748 .PHONY: check-target-libobjc maybe-check-target-libobjc
23749 maybe-check-target-libobjc:
23750 @if target-libobjc
23751 maybe-check-target-libobjc: check-target-libobjc
23753 check-target-libobjc:
23754 @r=`${PWD_COMMAND}`; export r; \
23755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23756 $(SET_LIB_PATH) \
23757 $(NORMAL_TARGET_EXPORTS) \
23758 (cd $(TARGET_SUBDIR)/libobjc && \
23759 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23761 @endif target-libobjc
23763 .PHONY: install-target-libobjc maybe-install-target-libobjc
23764 maybe-install-target-libobjc:
23765 @if target-libobjc
23766 maybe-install-target-libobjc: install-target-libobjc
23768 install-target-libobjc: installdirs
23769 @r=`${PWD_COMMAND}`; export r; \
23770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23771 $(SET_LIB_PATH) \
23772 $(NORMAL_TARGET_EXPORTS) \
23773 (cd $(TARGET_SUBDIR)/libobjc && \
23774 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23776 @endif target-libobjc
23778 # Other targets (info, dvi, etc.)
23780 .PHONY: maybe-info-target-libobjc info-target-libobjc
23781 maybe-info-target-libobjc:
23782 @if target-libobjc
23783 maybe-info-target-libobjc: info-target-libobjc
23785 info-target-libobjc: \
23786 configure-target-libobjc
23787 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23788 r=`${PWD_COMMAND}`; export r; \
23789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23790 $(SET_LIB_PATH) \
23791 $(NORMAL_TARGET_EXPORTS) \
23792 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23793 for flag in $(EXTRA_TARGET_FLAGS); do \
23794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23795 done; \
23796 (cd $(TARGET_SUBDIR)/libobjc && \
23797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23799 "RANLIB=$${RANLIB}" \
23800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23801 info) \
23802 || exit 1
23804 @endif target-libobjc
23806 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23807 maybe-dvi-target-libobjc:
23808 @if target-libobjc
23809 maybe-dvi-target-libobjc: dvi-target-libobjc
23811 dvi-target-libobjc: \
23812 configure-target-libobjc
23813 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23814 r=`${PWD_COMMAND}`; export r; \
23815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23816 $(SET_LIB_PATH) \
23817 $(NORMAL_TARGET_EXPORTS) \
23818 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23819 for flag in $(EXTRA_TARGET_FLAGS); do \
23820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23821 done; \
23822 (cd $(TARGET_SUBDIR)/libobjc && \
23823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23825 "RANLIB=$${RANLIB}" \
23826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23827 dvi) \
23828 || exit 1
23830 @endif target-libobjc
23832 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23833 maybe-TAGS-target-libobjc:
23834 @if target-libobjc
23835 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23837 TAGS-target-libobjc: \
23838 configure-target-libobjc
23839 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23840 r=`${PWD_COMMAND}`; export r; \
23841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23842 $(SET_LIB_PATH) \
23843 $(NORMAL_TARGET_EXPORTS) \
23844 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23845 for flag in $(EXTRA_TARGET_FLAGS); do \
23846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23847 done; \
23848 (cd $(TARGET_SUBDIR)/libobjc && \
23849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23851 "RANLIB=$${RANLIB}" \
23852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23853 TAGS) \
23854 || exit 1
23856 @endif target-libobjc
23858 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23859 maybe-install-info-target-libobjc:
23860 @if target-libobjc
23861 maybe-install-info-target-libobjc: install-info-target-libobjc
23863 install-info-target-libobjc: \
23864 configure-target-libobjc \
23865 info-target-libobjc
23866 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23867 r=`${PWD_COMMAND}`; export r; \
23868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23869 $(SET_LIB_PATH) \
23870 $(NORMAL_TARGET_EXPORTS) \
23871 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23872 for flag in $(EXTRA_TARGET_FLAGS); do \
23873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23874 done; \
23875 (cd $(TARGET_SUBDIR)/libobjc && \
23876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23878 "RANLIB=$${RANLIB}" \
23879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23880 install-info) \
23881 || exit 1
23883 @endif target-libobjc
23885 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23886 maybe-installcheck-target-libobjc:
23887 @if target-libobjc
23888 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23890 installcheck-target-libobjc: \
23891 configure-target-libobjc
23892 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23893 r=`${PWD_COMMAND}`; export r; \
23894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23895 $(SET_LIB_PATH) \
23896 $(NORMAL_TARGET_EXPORTS) \
23897 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23898 for flag in $(EXTRA_TARGET_FLAGS); do \
23899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23900 done; \
23901 (cd $(TARGET_SUBDIR)/libobjc && \
23902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23904 "RANLIB=$${RANLIB}" \
23905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23906 installcheck) \
23907 || exit 1
23909 @endif target-libobjc
23911 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23912 maybe-mostlyclean-target-libobjc:
23913 @if target-libobjc
23914 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23916 mostlyclean-target-libobjc:
23917 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23918 r=`${PWD_COMMAND}`; export r; \
23919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23920 $(SET_LIB_PATH) \
23921 $(NORMAL_TARGET_EXPORTS) \
23922 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23923 for flag in $(EXTRA_TARGET_FLAGS); do \
23924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23925 done; \
23926 (cd $(TARGET_SUBDIR)/libobjc && \
23927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23929 "RANLIB=$${RANLIB}" \
23930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23931 mostlyclean) \
23932 || exit 1
23934 @endif target-libobjc
23936 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23937 maybe-clean-target-libobjc:
23938 @if target-libobjc
23939 maybe-clean-target-libobjc: clean-target-libobjc
23941 clean-target-libobjc:
23942 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23943 r=`${PWD_COMMAND}`; export r; \
23944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23945 $(SET_LIB_PATH) \
23946 $(NORMAL_TARGET_EXPORTS) \
23947 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23948 for flag in $(EXTRA_TARGET_FLAGS); do \
23949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23950 done; \
23951 (cd $(TARGET_SUBDIR)/libobjc && \
23952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23954 "RANLIB=$${RANLIB}" \
23955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23956 clean) \
23957 || exit 1
23959 @endif target-libobjc
23961 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23962 maybe-distclean-target-libobjc:
23963 @if target-libobjc
23964 maybe-distclean-target-libobjc: distclean-target-libobjc
23966 distclean-target-libobjc:
23967 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23968 r=`${PWD_COMMAND}`; export r; \
23969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23970 $(SET_LIB_PATH) \
23971 $(NORMAL_TARGET_EXPORTS) \
23972 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23973 for flag in $(EXTRA_TARGET_FLAGS); do \
23974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23975 done; \
23976 (cd $(TARGET_SUBDIR)/libobjc && \
23977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23979 "RANLIB=$${RANLIB}" \
23980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23981 distclean) \
23982 || exit 1
23984 @endif target-libobjc
23986 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23987 maybe-maintainer-clean-target-libobjc:
23988 @if target-libobjc
23989 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23991 maintainer-clean-target-libobjc:
23992 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23993 r=`${PWD_COMMAND}`; export r; \
23994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23995 $(SET_LIB_PATH) \
23996 $(NORMAL_TARGET_EXPORTS) \
23997 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23998 for flag in $(EXTRA_TARGET_FLAGS); do \
23999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24000 done; \
24001 (cd $(TARGET_SUBDIR)/libobjc && \
24002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24004 "RANLIB=$${RANLIB}" \
24005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24006 maintainer-clean) \
24007 || exit 1
24009 @endif target-libobjc
24012 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
24013 maybe-configure-target-libtermcap:
24014 @if target-libtermcap
24015 maybe-configure-target-libtermcap: configure-target-libtermcap
24017 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24018 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
24019 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
24020 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
24021 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
24023 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
24024 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
24025 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
24026 r=`${PWD_COMMAND}`; export r; \
24027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24028 $(SET_LIB_PATH) \
24029 $(NORMAL_TARGET_EXPORTS) \
24030 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
24031 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
24032 case $(srcdir) in \
24033 /* | [A-Za-z]:[\\/]*) \
24034 topdir=$(srcdir) ;; \
24035 *) \
24036 case "$(TARGET_SUBDIR)" in \
24037 .) topdir="../$(srcdir)" ;; \
24038 *) topdir="../../$(srcdir)" ;; \
24039 esac ;; \
24040 esac; \
24041 if [ "$(srcdir)" = "." ] ; then \
24042 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
24043 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
24044 if [ -f Makefile ]; then \
24045 if $(MAKE) distclean; then \
24046 true; \
24047 else \
24048 exit 1; \
24049 fi; \
24050 else \
24051 true; \
24052 fi; \
24053 else \
24054 exit 1; \
24055 fi; \
24056 else \
24057 true; \
24058 fi; \
24059 srcdiroption="--srcdir=."; \
24060 libsrcdir="."; \
24061 else \
24062 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
24063 libsrcdir="$$s/libtermcap"; \
24064 fi; \
24065 rm -f no-such-file || : ; \
24066 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24067 $(TARGET_CONFIGARGS) $${srcdiroption} \
24068 --with-target-subdir="$(TARGET_SUBDIR)" \
24069 || exit 1
24070 @endif target-libtermcap
24072 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
24073 maybe-all-target-libtermcap:
24074 @if target-libtermcap
24075 TARGET-target-libtermcap=all
24076 maybe-all-target-libtermcap: all-target-libtermcap
24077 all-target-libtermcap: configure-target-libtermcap
24078 @r=`${PWD_COMMAND}`; export r; \
24079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24080 $(SET_LIB_PATH) \
24081 $(NORMAL_TARGET_EXPORTS) \
24082 (cd $(TARGET_SUBDIR)/libtermcap && \
24083 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
24084 @endif target-libtermcap
24086 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
24087 maybe-check-target-libtermcap:
24088 @if target-libtermcap
24089 maybe-check-target-libtermcap: check-target-libtermcap
24091 # Dummy target for uncheckable module.
24092 check-target-libtermcap:
24094 @endif target-libtermcap
24096 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
24097 maybe-install-target-libtermcap:
24098 @if target-libtermcap
24099 maybe-install-target-libtermcap: install-target-libtermcap
24101 install-target-libtermcap: installdirs
24102 @r=`${PWD_COMMAND}`; export r; \
24103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24104 $(SET_LIB_PATH) \
24105 $(NORMAL_TARGET_EXPORTS) \
24106 (cd $(TARGET_SUBDIR)/libtermcap && \
24107 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24109 @endif target-libtermcap
24111 # Other targets (info, dvi, etc.)
24113 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
24114 maybe-info-target-libtermcap:
24115 @if target-libtermcap
24116 maybe-info-target-libtermcap: info-target-libtermcap
24118 info-target-libtermcap: \
24119 configure-target-libtermcap
24120 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24121 r=`${PWD_COMMAND}`; export r; \
24122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24123 $(SET_LIB_PATH) \
24124 $(NORMAL_TARGET_EXPORTS) \
24125 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
24126 for flag in $(EXTRA_TARGET_FLAGS); do \
24127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24128 done; \
24129 (cd $(TARGET_SUBDIR)/libtermcap && \
24130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24132 "RANLIB=$${RANLIB}" \
24133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24134 info) \
24135 || exit 1
24137 @endif target-libtermcap
24139 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
24140 maybe-dvi-target-libtermcap:
24141 @if target-libtermcap
24142 maybe-dvi-target-libtermcap: dvi-target-libtermcap
24144 dvi-target-libtermcap: \
24145 configure-target-libtermcap
24146 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24147 r=`${PWD_COMMAND}`; export r; \
24148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24149 $(SET_LIB_PATH) \
24150 $(NORMAL_TARGET_EXPORTS) \
24151 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
24152 for flag in $(EXTRA_TARGET_FLAGS); do \
24153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24154 done; \
24155 (cd $(TARGET_SUBDIR)/libtermcap && \
24156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24158 "RANLIB=$${RANLIB}" \
24159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24160 dvi) \
24161 || exit 1
24163 @endif target-libtermcap
24165 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
24166 maybe-TAGS-target-libtermcap:
24167 @if target-libtermcap
24168 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
24170 TAGS-target-libtermcap: \
24171 configure-target-libtermcap
24172 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24173 r=`${PWD_COMMAND}`; export r; \
24174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24175 $(SET_LIB_PATH) \
24176 $(NORMAL_TARGET_EXPORTS) \
24177 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
24178 for flag in $(EXTRA_TARGET_FLAGS); do \
24179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24180 done; \
24181 (cd $(TARGET_SUBDIR)/libtermcap && \
24182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24184 "RANLIB=$${RANLIB}" \
24185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24186 TAGS) \
24187 || exit 1
24189 @endif target-libtermcap
24191 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
24192 maybe-install-info-target-libtermcap:
24193 @if target-libtermcap
24194 maybe-install-info-target-libtermcap: install-info-target-libtermcap
24196 install-info-target-libtermcap: \
24197 configure-target-libtermcap \
24198 info-target-libtermcap
24199 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24200 r=`${PWD_COMMAND}`; export r; \
24201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24202 $(SET_LIB_PATH) \
24203 $(NORMAL_TARGET_EXPORTS) \
24204 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
24205 for flag in $(EXTRA_TARGET_FLAGS); do \
24206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24207 done; \
24208 (cd $(TARGET_SUBDIR)/libtermcap && \
24209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24211 "RANLIB=$${RANLIB}" \
24212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24213 install-info) \
24214 || exit 1
24216 @endif target-libtermcap
24218 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
24219 maybe-installcheck-target-libtermcap:
24220 @if target-libtermcap
24221 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
24223 installcheck-target-libtermcap: \
24224 configure-target-libtermcap
24225 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24226 r=`${PWD_COMMAND}`; export r; \
24227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24228 $(SET_LIB_PATH) \
24229 $(NORMAL_TARGET_EXPORTS) \
24230 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
24231 for flag in $(EXTRA_TARGET_FLAGS); do \
24232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24233 done; \
24234 (cd $(TARGET_SUBDIR)/libtermcap && \
24235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24237 "RANLIB=$${RANLIB}" \
24238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24239 installcheck) \
24240 || exit 1
24242 @endif target-libtermcap
24244 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
24245 maybe-mostlyclean-target-libtermcap:
24246 @if target-libtermcap
24247 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
24249 # libtermcap doesn't support mostlyclean.
24250 mostlyclean-target-libtermcap:
24252 @endif target-libtermcap
24254 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
24255 maybe-clean-target-libtermcap:
24256 @if target-libtermcap
24257 maybe-clean-target-libtermcap: clean-target-libtermcap
24259 # libtermcap doesn't support clean.
24260 clean-target-libtermcap:
24262 @endif target-libtermcap
24264 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
24265 maybe-distclean-target-libtermcap:
24266 @if target-libtermcap
24267 maybe-distclean-target-libtermcap: distclean-target-libtermcap
24269 # libtermcap doesn't support distclean.
24270 distclean-target-libtermcap:
24272 @endif target-libtermcap
24274 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
24275 maybe-maintainer-clean-target-libtermcap:
24276 @if target-libtermcap
24277 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
24279 # libtermcap doesn't support maintainer-clean.
24280 maintainer-clean-target-libtermcap:
24282 @endif target-libtermcap
24285 .PHONY: configure-target-winsup maybe-configure-target-winsup
24286 maybe-configure-target-winsup:
24287 @if target-winsup
24288 maybe-configure-target-winsup: configure-target-winsup
24290 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24291 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
24292 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24293 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
24294 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
24296 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
24297 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
24298 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24299 r=`${PWD_COMMAND}`; export r; \
24300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24301 $(SET_LIB_PATH) \
24302 $(NORMAL_TARGET_EXPORTS) \
24303 echo Configuring in $(TARGET_SUBDIR)/winsup; \
24304 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
24305 case $(srcdir) in \
24306 /* | [A-Za-z]:[\\/]*) \
24307 topdir=$(srcdir) ;; \
24308 *) \
24309 case "$(TARGET_SUBDIR)" in \
24310 .) topdir="../$(srcdir)" ;; \
24311 *) topdir="../../$(srcdir)" ;; \
24312 esac ;; \
24313 esac; \
24314 srcdiroption="--srcdir=$${topdir}/winsup"; \
24315 libsrcdir="$$s/winsup"; \
24316 rm -f no-such-file || : ; \
24317 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24318 $(TARGET_CONFIGARGS) $${srcdiroption} \
24319 --with-target-subdir="$(TARGET_SUBDIR)" \
24320 || exit 1
24321 @endif target-winsup
24323 .PHONY: all-target-winsup maybe-all-target-winsup
24324 maybe-all-target-winsup:
24325 @if target-winsup
24326 TARGET-target-winsup=all
24327 maybe-all-target-winsup: all-target-winsup
24328 all-target-winsup: configure-target-winsup
24329 @r=`${PWD_COMMAND}`; export r; \
24330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24331 $(SET_LIB_PATH) \
24332 $(NORMAL_TARGET_EXPORTS) \
24333 (cd $(TARGET_SUBDIR)/winsup && \
24334 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
24335 @endif target-winsup
24337 .PHONY: check-target-winsup maybe-check-target-winsup
24338 maybe-check-target-winsup:
24339 @if target-winsup
24340 maybe-check-target-winsup: check-target-winsup
24342 check-target-winsup:
24343 @r=`${PWD_COMMAND}`; export r; \
24344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24345 $(SET_LIB_PATH) \
24346 $(NORMAL_TARGET_EXPORTS) \
24347 (cd $(TARGET_SUBDIR)/winsup && \
24348 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24350 @endif target-winsup
24352 .PHONY: install-target-winsup maybe-install-target-winsup
24353 maybe-install-target-winsup:
24354 @if target-winsup
24355 maybe-install-target-winsup: install-target-winsup
24357 install-target-winsup: installdirs
24358 @r=`${PWD_COMMAND}`; export r; \
24359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24360 $(SET_LIB_PATH) \
24361 $(NORMAL_TARGET_EXPORTS) \
24362 (cd $(TARGET_SUBDIR)/winsup && \
24363 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24365 @endif target-winsup
24367 # Other targets (info, dvi, etc.)
24369 .PHONY: maybe-info-target-winsup info-target-winsup
24370 maybe-info-target-winsup:
24371 @if target-winsup
24372 maybe-info-target-winsup: info-target-winsup
24374 info-target-winsup: \
24375 configure-target-winsup
24376 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24377 r=`${PWD_COMMAND}`; export r; \
24378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24379 $(SET_LIB_PATH) \
24380 $(NORMAL_TARGET_EXPORTS) \
24381 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
24382 for flag in $(EXTRA_TARGET_FLAGS); do \
24383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24384 done; \
24385 (cd $(TARGET_SUBDIR)/winsup && \
24386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24388 "RANLIB=$${RANLIB}" \
24389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24390 info) \
24391 || exit 1
24393 @endif target-winsup
24395 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
24396 maybe-dvi-target-winsup:
24397 @if target-winsup
24398 maybe-dvi-target-winsup: dvi-target-winsup
24400 dvi-target-winsup: \
24401 configure-target-winsup
24402 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24403 r=`${PWD_COMMAND}`; export r; \
24404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24405 $(SET_LIB_PATH) \
24406 $(NORMAL_TARGET_EXPORTS) \
24407 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
24408 for flag in $(EXTRA_TARGET_FLAGS); do \
24409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24410 done; \
24411 (cd $(TARGET_SUBDIR)/winsup && \
24412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24414 "RANLIB=$${RANLIB}" \
24415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24416 dvi) \
24417 || exit 1
24419 @endif target-winsup
24421 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
24422 maybe-TAGS-target-winsup:
24423 @if target-winsup
24424 maybe-TAGS-target-winsup: TAGS-target-winsup
24426 TAGS-target-winsup: \
24427 configure-target-winsup
24428 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24429 r=`${PWD_COMMAND}`; export r; \
24430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24431 $(SET_LIB_PATH) \
24432 $(NORMAL_TARGET_EXPORTS) \
24433 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
24434 for flag in $(EXTRA_TARGET_FLAGS); do \
24435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24436 done; \
24437 (cd $(TARGET_SUBDIR)/winsup && \
24438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24440 "RANLIB=$${RANLIB}" \
24441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24442 TAGS) \
24443 || exit 1
24445 @endif target-winsup
24447 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24448 maybe-install-info-target-winsup:
24449 @if target-winsup
24450 maybe-install-info-target-winsup: install-info-target-winsup
24452 install-info-target-winsup: \
24453 configure-target-winsup \
24454 info-target-winsup
24455 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24456 r=`${PWD_COMMAND}`; export r; \
24457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24458 $(SET_LIB_PATH) \
24459 $(NORMAL_TARGET_EXPORTS) \
24460 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24461 for flag in $(EXTRA_TARGET_FLAGS); do \
24462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24463 done; \
24464 (cd $(TARGET_SUBDIR)/winsup && \
24465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24467 "RANLIB=$${RANLIB}" \
24468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24469 install-info) \
24470 || exit 1
24472 @endif target-winsup
24474 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24475 maybe-installcheck-target-winsup:
24476 @if target-winsup
24477 maybe-installcheck-target-winsup: installcheck-target-winsup
24479 installcheck-target-winsup: \
24480 configure-target-winsup
24481 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24482 r=`${PWD_COMMAND}`; export r; \
24483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24484 $(SET_LIB_PATH) \
24485 $(NORMAL_TARGET_EXPORTS) \
24486 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24487 for flag in $(EXTRA_TARGET_FLAGS); do \
24488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24489 done; \
24490 (cd $(TARGET_SUBDIR)/winsup && \
24491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24493 "RANLIB=$${RANLIB}" \
24494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24495 installcheck) \
24496 || exit 1
24498 @endif target-winsup
24500 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24501 maybe-mostlyclean-target-winsup:
24502 @if target-winsup
24503 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24505 mostlyclean-target-winsup:
24506 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24507 r=`${PWD_COMMAND}`; export r; \
24508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24509 $(SET_LIB_PATH) \
24510 $(NORMAL_TARGET_EXPORTS) \
24511 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24512 for flag in $(EXTRA_TARGET_FLAGS); do \
24513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24514 done; \
24515 (cd $(TARGET_SUBDIR)/winsup && \
24516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24518 "RANLIB=$${RANLIB}" \
24519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24520 mostlyclean) \
24521 || exit 1
24523 @endif target-winsup
24525 .PHONY: maybe-clean-target-winsup clean-target-winsup
24526 maybe-clean-target-winsup:
24527 @if target-winsup
24528 maybe-clean-target-winsup: clean-target-winsup
24530 clean-target-winsup:
24531 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24532 r=`${PWD_COMMAND}`; export r; \
24533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24534 $(SET_LIB_PATH) \
24535 $(NORMAL_TARGET_EXPORTS) \
24536 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24537 for flag in $(EXTRA_TARGET_FLAGS); do \
24538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24539 done; \
24540 (cd $(TARGET_SUBDIR)/winsup && \
24541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24543 "RANLIB=$${RANLIB}" \
24544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24545 clean) \
24546 || exit 1
24548 @endif target-winsup
24550 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24551 maybe-distclean-target-winsup:
24552 @if target-winsup
24553 maybe-distclean-target-winsup: distclean-target-winsup
24555 distclean-target-winsup:
24556 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24557 r=`${PWD_COMMAND}`; export r; \
24558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24559 $(SET_LIB_PATH) \
24560 $(NORMAL_TARGET_EXPORTS) \
24561 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24562 for flag in $(EXTRA_TARGET_FLAGS); do \
24563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24564 done; \
24565 (cd $(TARGET_SUBDIR)/winsup && \
24566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24568 "RANLIB=$${RANLIB}" \
24569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24570 distclean) \
24571 || exit 1
24573 @endif target-winsup
24575 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24576 maybe-maintainer-clean-target-winsup:
24577 @if target-winsup
24578 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24580 maintainer-clean-target-winsup:
24581 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24582 r=`${PWD_COMMAND}`; export r; \
24583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24584 $(SET_LIB_PATH) \
24585 $(NORMAL_TARGET_EXPORTS) \
24586 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24587 for flag in $(EXTRA_TARGET_FLAGS); do \
24588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24589 done; \
24590 (cd $(TARGET_SUBDIR)/winsup && \
24591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24593 "RANLIB=$${RANLIB}" \
24594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24595 maintainer-clean) \
24596 || exit 1
24598 @endif target-winsup
24601 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24602 maybe-configure-target-libgloss:
24603 @if target-libgloss
24604 maybe-configure-target-libgloss: configure-target-libgloss
24606 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24607 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24608 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24609 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24610 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24612 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24613 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24614 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24615 r=`${PWD_COMMAND}`; export r; \
24616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24617 $(SET_LIB_PATH) \
24618 $(NORMAL_TARGET_EXPORTS) \
24619 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24620 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24621 case $(srcdir) in \
24622 /* | [A-Za-z]:[\\/]*) \
24623 topdir=$(srcdir) ;; \
24624 *) \
24625 case "$(TARGET_SUBDIR)" in \
24626 .) topdir="../$(srcdir)" ;; \
24627 *) topdir="../../$(srcdir)" ;; \
24628 esac ;; \
24629 esac; \
24630 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24631 libsrcdir="$$s/libgloss"; \
24632 rm -f no-such-file || : ; \
24633 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24634 $(TARGET_CONFIGARGS) $${srcdiroption} \
24635 --with-target-subdir="$(TARGET_SUBDIR)" \
24636 || exit 1
24637 @endif target-libgloss
24639 .PHONY: all-target-libgloss maybe-all-target-libgloss
24640 maybe-all-target-libgloss:
24641 @if target-libgloss
24642 TARGET-target-libgloss=all
24643 maybe-all-target-libgloss: all-target-libgloss
24644 all-target-libgloss: configure-target-libgloss
24645 @r=`${PWD_COMMAND}`; export r; \
24646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24647 $(SET_LIB_PATH) \
24648 $(NORMAL_TARGET_EXPORTS) \
24649 (cd $(TARGET_SUBDIR)/libgloss && \
24650 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
24651 @endif target-libgloss
24653 .PHONY: check-target-libgloss maybe-check-target-libgloss
24654 maybe-check-target-libgloss:
24655 @if target-libgloss
24656 maybe-check-target-libgloss: check-target-libgloss
24658 # Dummy target for uncheckable module.
24659 check-target-libgloss:
24661 @endif target-libgloss
24663 .PHONY: install-target-libgloss maybe-install-target-libgloss
24664 maybe-install-target-libgloss:
24665 @if target-libgloss
24666 maybe-install-target-libgloss: install-target-libgloss
24668 install-target-libgloss: installdirs
24669 @r=`${PWD_COMMAND}`; export r; \
24670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24671 $(SET_LIB_PATH) \
24672 $(NORMAL_TARGET_EXPORTS) \
24673 (cd $(TARGET_SUBDIR)/libgloss && \
24674 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24676 @endif target-libgloss
24678 # Other targets (info, dvi, etc.)
24680 .PHONY: maybe-info-target-libgloss info-target-libgloss
24681 maybe-info-target-libgloss:
24682 @if target-libgloss
24683 maybe-info-target-libgloss: info-target-libgloss
24685 info-target-libgloss: \
24686 configure-target-libgloss
24687 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24688 r=`${PWD_COMMAND}`; export r; \
24689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24690 $(SET_LIB_PATH) \
24691 $(NORMAL_TARGET_EXPORTS) \
24692 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24693 for flag in $(EXTRA_TARGET_FLAGS); do \
24694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24695 done; \
24696 (cd $(TARGET_SUBDIR)/libgloss && \
24697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24699 "RANLIB=$${RANLIB}" \
24700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24701 info) \
24702 || exit 1
24704 @endif target-libgloss
24706 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24707 maybe-dvi-target-libgloss:
24708 @if target-libgloss
24709 maybe-dvi-target-libgloss: dvi-target-libgloss
24711 dvi-target-libgloss: \
24712 configure-target-libgloss
24713 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24714 r=`${PWD_COMMAND}`; export r; \
24715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24716 $(SET_LIB_PATH) \
24717 $(NORMAL_TARGET_EXPORTS) \
24718 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24719 for flag in $(EXTRA_TARGET_FLAGS); do \
24720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24721 done; \
24722 (cd $(TARGET_SUBDIR)/libgloss && \
24723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24725 "RANLIB=$${RANLIB}" \
24726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24727 dvi) \
24728 || exit 1
24730 @endif target-libgloss
24732 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24733 maybe-TAGS-target-libgloss:
24734 @if target-libgloss
24735 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24737 TAGS-target-libgloss: \
24738 configure-target-libgloss
24739 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24740 r=`${PWD_COMMAND}`; export r; \
24741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24742 $(SET_LIB_PATH) \
24743 $(NORMAL_TARGET_EXPORTS) \
24744 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24745 for flag in $(EXTRA_TARGET_FLAGS); do \
24746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24747 done; \
24748 (cd $(TARGET_SUBDIR)/libgloss && \
24749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24751 "RANLIB=$${RANLIB}" \
24752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24753 TAGS) \
24754 || exit 1
24756 @endif target-libgloss
24758 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24759 maybe-install-info-target-libgloss:
24760 @if target-libgloss
24761 maybe-install-info-target-libgloss: install-info-target-libgloss
24763 install-info-target-libgloss: \
24764 configure-target-libgloss \
24765 info-target-libgloss
24766 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24767 r=`${PWD_COMMAND}`; export r; \
24768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24769 $(SET_LIB_PATH) \
24770 $(NORMAL_TARGET_EXPORTS) \
24771 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24772 for flag in $(EXTRA_TARGET_FLAGS); do \
24773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24774 done; \
24775 (cd $(TARGET_SUBDIR)/libgloss && \
24776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24778 "RANLIB=$${RANLIB}" \
24779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24780 install-info) \
24781 || exit 1
24783 @endif target-libgloss
24785 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24786 maybe-installcheck-target-libgloss:
24787 @if target-libgloss
24788 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24790 installcheck-target-libgloss: \
24791 configure-target-libgloss
24792 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24793 r=`${PWD_COMMAND}`; export r; \
24794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24795 $(SET_LIB_PATH) \
24796 $(NORMAL_TARGET_EXPORTS) \
24797 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24798 for flag in $(EXTRA_TARGET_FLAGS); do \
24799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24800 done; \
24801 (cd $(TARGET_SUBDIR)/libgloss && \
24802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24804 "RANLIB=$${RANLIB}" \
24805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24806 installcheck) \
24807 || exit 1
24809 @endif target-libgloss
24811 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24812 maybe-mostlyclean-target-libgloss:
24813 @if target-libgloss
24814 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24816 mostlyclean-target-libgloss:
24817 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24818 r=`${PWD_COMMAND}`; export r; \
24819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24820 $(SET_LIB_PATH) \
24821 $(NORMAL_TARGET_EXPORTS) \
24822 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24823 for flag in $(EXTRA_TARGET_FLAGS); do \
24824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24825 done; \
24826 (cd $(TARGET_SUBDIR)/libgloss && \
24827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24829 "RANLIB=$${RANLIB}" \
24830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24831 mostlyclean) \
24832 || exit 1
24834 @endif target-libgloss
24836 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24837 maybe-clean-target-libgloss:
24838 @if target-libgloss
24839 maybe-clean-target-libgloss: clean-target-libgloss
24841 clean-target-libgloss:
24842 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24843 r=`${PWD_COMMAND}`; export r; \
24844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24845 $(SET_LIB_PATH) \
24846 $(NORMAL_TARGET_EXPORTS) \
24847 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24848 for flag in $(EXTRA_TARGET_FLAGS); do \
24849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24850 done; \
24851 (cd $(TARGET_SUBDIR)/libgloss && \
24852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24854 "RANLIB=$${RANLIB}" \
24855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24856 clean) \
24857 || exit 1
24859 @endif target-libgloss
24861 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24862 maybe-distclean-target-libgloss:
24863 @if target-libgloss
24864 maybe-distclean-target-libgloss: distclean-target-libgloss
24866 distclean-target-libgloss:
24867 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24868 r=`${PWD_COMMAND}`; export r; \
24869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24870 $(SET_LIB_PATH) \
24871 $(NORMAL_TARGET_EXPORTS) \
24872 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24873 for flag in $(EXTRA_TARGET_FLAGS); do \
24874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24875 done; \
24876 (cd $(TARGET_SUBDIR)/libgloss && \
24877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24879 "RANLIB=$${RANLIB}" \
24880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24881 distclean) \
24882 || exit 1
24884 @endif target-libgloss
24886 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24887 maybe-maintainer-clean-target-libgloss:
24888 @if target-libgloss
24889 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24891 maintainer-clean-target-libgloss:
24892 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24893 r=`${PWD_COMMAND}`; export r; \
24894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24895 $(SET_LIB_PATH) \
24896 $(NORMAL_TARGET_EXPORTS) \
24897 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24898 for flag in $(EXTRA_TARGET_FLAGS); do \
24899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24900 done; \
24901 (cd $(TARGET_SUBDIR)/libgloss && \
24902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24904 "RANLIB=$${RANLIB}" \
24905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24906 maintainer-clean) \
24907 || exit 1
24909 @endif target-libgloss
24912 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24913 maybe-configure-target-libiberty:
24914 @if target-libiberty
24915 maybe-configure-target-libiberty: configure-target-libiberty
24917 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24918 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24919 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24920 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24921 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24923 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24924 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24925 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24926 r=`${PWD_COMMAND}`; export r; \
24927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24928 $(SET_LIB_PATH) \
24929 $(NORMAL_TARGET_EXPORTS) \
24930 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24931 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24932 case $(srcdir) in \
24933 /* | [A-Za-z]:[\\/]*) \
24934 topdir=$(srcdir) ;; \
24935 *) \
24936 case "$(TARGET_SUBDIR)" in \
24937 .) topdir="../$(srcdir)" ;; \
24938 *) topdir="../../$(srcdir)" ;; \
24939 esac ;; \
24940 esac; \
24941 srcdiroption="--srcdir=$${topdir}/libiberty"; \
24942 libsrcdir="$$s/libiberty"; \
24943 rm -f no-such-file || : ; \
24944 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24945 $(TARGET_CONFIGARGS) $${srcdiroption} \
24946 --with-target-subdir="$(TARGET_SUBDIR)" \
24947 || exit 1
24948 @endif target-libiberty
24950 .PHONY: all-target-libiberty maybe-all-target-libiberty
24951 maybe-all-target-libiberty:
24952 @if target-libiberty
24953 TARGET-target-libiberty=all
24954 maybe-all-target-libiberty: all-target-libiberty
24955 all-target-libiberty: configure-target-libiberty
24956 @r=`${PWD_COMMAND}`; export r; \
24957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24958 $(SET_LIB_PATH) \
24959 $(NORMAL_TARGET_EXPORTS) \
24960 (cd $(TARGET_SUBDIR)/libiberty && \
24961 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
24962 @endif target-libiberty
24964 .PHONY: check-target-libiberty maybe-check-target-libiberty
24965 maybe-check-target-libiberty:
24966 @if target-libiberty
24967 maybe-check-target-libiberty: check-target-libiberty
24969 check-target-libiberty:
24970 @r=`${PWD_COMMAND}`; export r; \
24971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24972 $(SET_LIB_PATH) \
24973 $(NORMAL_TARGET_EXPORTS) \
24974 (cd $(TARGET_SUBDIR)/libiberty && \
24975 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24977 @endif target-libiberty
24979 .PHONY: install-target-libiberty maybe-install-target-libiberty
24980 maybe-install-target-libiberty:
24981 @if target-libiberty
24982 maybe-install-target-libiberty: install-target-libiberty
24984 install-target-libiberty: installdirs
24985 @r=`${PWD_COMMAND}`; export r; \
24986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24987 $(SET_LIB_PATH) \
24988 $(NORMAL_TARGET_EXPORTS) \
24989 (cd $(TARGET_SUBDIR)/libiberty && \
24990 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24992 @endif target-libiberty
24994 # Other targets (info, dvi, etc.)
24996 .PHONY: maybe-info-target-libiberty info-target-libiberty
24997 maybe-info-target-libiberty:
24998 @if target-libiberty
24999 maybe-info-target-libiberty: info-target-libiberty
25001 info-target-libiberty: \
25002 configure-target-libiberty
25003 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25004 r=`${PWD_COMMAND}`; export r; \
25005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25006 $(SET_LIB_PATH) \
25007 $(NORMAL_TARGET_EXPORTS) \
25008 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
25009 for flag in $(EXTRA_TARGET_FLAGS); do \
25010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25011 done; \
25012 (cd $(TARGET_SUBDIR)/libiberty && \
25013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25015 "RANLIB=$${RANLIB}" \
25016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25017 info) \
25018 || exit 1
25020 @endif target-libiberty
25022 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
25023 maybe-dvi-target-libiberty:
25024 @if target-libiberty
25025 maybe-dvi-target-libiberty: dvi-target-libiberty
25027 dvi-target-libiberty: \
25028 configure-target-libiberty
25029 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25030 r=`${PWD_COMMAND}`; export r; \
25031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25032 $(SET_LIB_PATH) \
25033 $(NORMAL_TARGET_EXPORTS) \
25034 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
25035 for flag in $(EXTRA_TARGET_FLAGS); do \
25036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25037 done; \
25038 (cd $(TARGET_SUBDIR)/libiberty && \
25039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25041 "RANLIB=$${RANLIB}" \
25042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25043 dvi) \
25044 || exit 1
25046 @endif target-libiberty
25048 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
25049 maybe-TAGS-target-libiberty:
25050 @if target-libiberty
25051 maybe-TAGS-target-libiberty: TAGS-target-libiberty
25053 TAGS-target-libiberty: \
25054 configure-target-libiberty
25055 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25056 r=`${PWD_COMMAND}`; export r; \
25057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25058 $(SET_LIB_PATH) \
25059 $(NORMAL_TARGET_EXPORTS) \
25060 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
25061 for flag in $(EXTRA_TARGET_FLAGS); do \
25062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25063 done; \
25064 (cd $(TARGET_SUBDIR)/libiberty && \
25065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25067 "RANLIB=$${RANLIB}" \
25068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25069 TAGS) \
25070 || exit 1
25072 @endif target-libiberty
25074 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
25075 maybe-install-info-target-libiberty:
25076 @if target-libiberty
25077 maybe-install-info-target-libiberty: install-info-target-libiberty
25079 install-info-target-libiberty: \
25080 configure-target-libiberty \
25081 info-target-libiberty
25082 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25083 r=`${PWD_COMMAND}`; export r; \
25084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25085 $(SET_LIB_PATH) \
25086 $(NORMAL_TARGET_EXPORTS) \
25087 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
25088 for flag in $(EXTRA_TARGET_FLAGS); do \
25089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25090 done; \
25091 (cd $(TARGET_SUBDIR)/libiberty && \
25092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25094 "RANLIB=$${RANLIB}" \
25095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25096 install-info) \
25097 || exit 1
25099 @endif target-libiberty
25101 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
25102 maybe-installcheck-target-libiberty:
25103 @if target-libiberty
25104 maybe-installcheck-target-libiberty: installcheck-target-libiberty
25106 installcheck-target-libiberty: \
25107 configure-target-libiberty
25108 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25109 r=`${PWD_COMMAND}`; export r; \
25110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25111 $(SET_LIB_PATH) \
25112 $(NORMAL_TARGET_EXPORTS) \
25113 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
25114 for flag in $(EXTRA_TARGET_FLAGS); do \
25115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25116 done; \
25117 (cd $(TARGET_SUBDIR)/libiberty && \
25118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25120 "RANLIB=$${RANLIB}" \
25121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25122 installcheck) \
25123 || exit 1
25125 @endif target-libiberty
25127 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
25128 maybe-mostlyclean-target-libiberty:
25129 @if target-libiberty
25130 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
25132 mostlyclean-target-libiberty:
25133 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25134 r=`${PWD_COMMAND}`; export r; \
25135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25136 $(SET_LIB_PATH) \
25137 $(NORMAL_TARGET_EXPORTS) \
25138 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
25139 for flag in $(EXTRA_TARGET_FLAGS); do \
25140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25141 done; \
25142 (cd $(TARGET_SUBDIR)/libiberty && \
25143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25145 "RANLIB=$${RANLIB}" \
25146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25147 mostlyclean) \
25148 || exit 1
25150 @endif target-libiberty
25152 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
25153 maybe-clean-target-libiberty:
25154 @if target-libiberty
25155 maybe-clean-target-libiberty: clean-target-libiberty
25157 clean-target-libiberty:
25158 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25159 r=`${PWD_COMMAND}`; export r; \
25160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25161 $(SET_LIB_PATH) \
25162 $(NORMAL_TARGET_EXPORTS) \
25163 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
25164 for flag in $(EXTRA_TARGET_FLAGS); do \
25165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25166 done; \
25167 (cd $(TARGET_SUBDIR)/libiberty && \
25168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25170 "RANLIB=$${RANLIB}" \
25171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25172 clean) \
25173 || exit 1
25175 @endif target-libiberty
25177 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
25178 maybe-distclean-target-libiberty:
25179 @if target-libiberty
25180 maybe-distclean-target-libiberty: distclean-target-libiberty
25182 distclean-target-libiberty:
25183 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25184 r=`${PWD_COMMAND}`; export r; \
25185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25186 $(SET_LIB_PATH) \
25187 $(NORMAL_TARGET_EXPORTS) \
25188 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
25189 for flag in $(EXTRA_TARGET_FLAGS); do \
25190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25191 done; \
25192 (cd $(TARGET_SUBDIR)/libiberty && \
25193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25195 "RANLIB=$${RANLIB}" \
25196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25197 distclean) \
25198 || exit 1
25200 @endif target-libiberty
25202 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
25203 maybe-maintainer-clean-target-libiberty:
25204 @if target-libiberty
25205 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
25207 maintainer-clean-target-libiberty:
25208 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25209 r=`${PWD_COMMAND}`; export r; \
25210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25211 $(SET_LIB_PATH) \
25212 $(NORMAL_TARGET_EXPORTS) \
25213 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
25214 for flag in $(EXTRA_TARGET_FLAGS); do \
25215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25216 done; \
25217 (cd $(TARGET_SUBDIR)/libiberty && \
25218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25220 "RANLIB=$${RANLIB}" \
25221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25222 maintainer-clean) \
25223 || exit 1
25225 @endif target-libiberty
25228 .PHONY: configure-target-gperf maybe-configure-target-gperf
25229 maybe-configure-target-gperf:
25230 @if target-gperf
25231 maybe-configure-target-gperf: configure-target-gperf
25233 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25234 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
25235 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25236 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
25237 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
25239 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
25240 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
25241 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25242 r=`${PWD_COMMAND}`; export r; \
25243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25244 $(SET_LIB_PATH) \
25245 $(NORMAL_TARGET_EXPORTS) \
25246 echo Configuring in $(TARGET_SUBDIR)/gperf; \
25247 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
25248 case $(srcdir) in \
25249 /* | [A-Za-z]:[\\/]*) \
25250 topdir=$(srcdir) ;; \
25251 *) \
25252 case "$(TARGET_SUBDIR)" in \
25253 .) topdir="../$(srcdir)" ;; \
25254 *) topdir="../../$(srcdir)" ;; \
25255 esac ;; \
25256 esac; \
25257 srcdiroption="--srcdir=$${topdir}/gperf"; \
25258 libsrcdir="$$s/gperf"; \
25259 rm -f no-such-file || : ; \
25260 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25261 $(TARGET_CONFIGARGS) $${srcdiroption} \
25262 --with-target-subdir="$(TARGET_SUBDIR)" \
25263 || exit 1
25264 @endif target-gperf
25266 .PHONY: all-target-gperf maybe-all-target-gperf
25267 maybe-all-target-gperf:
25268 @if target-gperf
25269 TARGET-target-gperf=all
25270 maybe-all-target-gperf: all-target-gperf
25271 all-target-gperf: configure-target-gperf
25272 @r=`${PWD_COMMAND}`; export r; \
25273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25274 $(SET_LIB_PATH) \
25275 $(NORMAL_TARGET_EXPORTS) \
25276 (cd $(TARGET_SUBDIR)/gperf && \
25277 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
25278 @endif target-gperf
25280 .PHONY: check-target-gperf maybe-check-target-gperf
25281 maybe-check-target-gperf:
25282 @if target-gperf
25283 maybe-check-target-gperf: check-target-gperf
25285 check-target-gperf:
25286 @r=`${PWD_COMMAND}`; export r; \
25287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25288 $(SET_LIB_PATH) \
25289 $(NORMAL_TARGET_EXPORTS) \
25290 (cd $(TARGET_SUBDIR)/gperf && \
25291 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25293 @endif target-gperf
25295 .PHONY: install-target-gperf maybe-install-target-gperf
25296 maybe-install-target-gperf:
25297 @if target-gperf
25298 maybe-install-target-gperf: install-target-gperf
25300 install-target-gperf: installdirs
25301 @r=`${PWD_COMMAND}`; export r; \
25302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25303 $(SET_LIB_PATH) \
25304 $(NORMAL_TARGET_EXPORTS) \
25305 (cd $(TARGET_SUBDIR)/gperf && \
25306 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25308 @endif target-gperf
25310 # Other targets (info, dvi, etc.)
25312 .PHONY: maybe-info-target-gperf info-target-gperf
25313 maybe-info-target-gperf:
25314 @if target-gperf
25315 maybe-info-target-gperf: info-target-gperf
25317 info-target-gperf: \
25318 configure-target-gperf
25319 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25320 r=`${PWD_COMMAND}`; export r; \
25321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25322 $(SET_LIB_PATH) \
25323 $(NORMAL_TARGET_EXPORTS) \
25324 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
25325 for flag in $(EXTRA_TARGET_FLAGS); do \
25326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25327 done; \
25328 (cd $(TARGET_SUBDIR)/gperf && \
25329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25331 "RANLIB=$${RANLIB}" \
25332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25333 info) \
25334 || exit 1
25336 @endif target-gperf
25338 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
25339 maybe-dvi-target-gperf:
25340 @if target-gperf
25341 maybe-dvi-target-gperf: dvi-target-gperf
25343 dvi-target-gperf: \
25344 configure-target-gperf
25345 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25346 r=`${PWD_COMMAND}`; export r; \
25347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25348 $(SET_LIB_PATH) \
25349 $(NORMAL_TARGET_EXPORTS) \
25350 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
25351 for flag in $(EXTRA_TARGET_FLAGS); do \
25352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25353 done; \
25354 (cd $(TARGET_SUBDIR)/gperf && \
25355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25357 "RANLIB=$${RANLIB}" \
25358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25359 dvi) \
25360 || exit 1
25362 @endif target-gperf
25364 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
25365 maybe-TAGS-target-gperf:
25366 @if target-gperf
25367 maybe-TAGS-target-gperf: TAGS-target-gperf
25369 TAGS-target-gperf: \
25370 configure-target-gperf
25371 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25372 r=`${PWD_COMMAND}`; export r; \
25373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25374 $(SET_LIB_PATH) \
25375 $(NORMAL_TARGET_EXPORTS) \
25376 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
25377 for flag in $(EXTRA_TARGET_FLAGS); do \
25378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25379 done; \
25380 (cd $(TARGET_SUBDIR)/gperf && \
25381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25383 "RANLIB=$${RANLIB}" \
25384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25385 TAGS) \
25386 || exit 1
25388 @endif target-gperf
25390 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
25391 maybe-install-info-target-gperf:
25392 @if target-gperf
25393 maybe-install-info-target-gperf: install-info-target-gperf
25395 install-info-target-gperf: \
25396 configure-target-gperf \
25397 info-target-gperf
25398 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25399 r=`${PWD_COMMAND}`; export r; \
25400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25401 $(SET_LIB_PATH) \
25402 $(NORMAL_TARGET_EXPORTS) \
25403 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
25404 for flag in $(EXTRA_TARGET_FLAGS); do \
25405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25406 done; \
25407 (cd $(TARGET_SUBDIR)/gperf && \
25408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25410 "RANLIB=$${RANLIB}" \
25411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25412 install-info) \
25413 || exit 1
25415 @endif target-gperf
25417 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
25418 maybe-installcheck-target-gperf:
25419 @if target-gperf
25420 maybe-installcheck-target-gperf: installcheck-target-gperf
25422 installcheck-target-gperf: \
25423 configure-target-gperf
25424 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25425 r=`${PWD_COMMAND}`; export r; \
25426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25427 $(SET_LIB_PATH) \
25428 $(NORMAL_TARGET_EXPORTS) \
25429 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
25430 for flag in $(EXTRA_TARGET_FLAGS); do \
25431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25432 done; \
25433 (cd $(TARGET_SUBDIR)/gperf && \
25434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25436 "RANLIB=$${RANLIB}" \
25437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25438 installcheck) \
25439 || exit 1
25441 @endif target-gperf
25443 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25444 maybe-mostlyclean-target-gperf:
25445 @if target-gperf
25446 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25448 mostlyclean-target-gperf:
25449 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25450 r=`${PWD_COMMAND}`; export r; \
25451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25452 $(SET_LIB_PATH) \
25453 $(NORMAL_TARGET_EXPORTS) \
25454 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25455 for flag in $(EXTRA_TARGET_FLAGS); do \
25456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25457 done; \
25458 (cd $(TARGET_SUBDIR)/gperf && \
25459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25461 "RANLIB=$${RANLIB}" \
25462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25463 mostlyclean) \
25464 || exit 1
25466 @endif target-gperf
25468 .PHONY: maybe-clean-target-gperf clean-target-gperf
25469 maybe-clean-target-gperf:
25470 @if target-gperf
25471 maybe-clean-target-gperf: clean-target-gperf
25473 clean-target-gperf:
25474 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25475 r=`${PWD_COMMAND}`; export r; \
25476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25477 $(SET_LIB_PATH) \
25478 $(NORMAL_TARGET_EXPORTS) \
25479 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25480 for flag in $(EXTRA_TARGET_FLAGS); do \
25481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25482 done; \
25483 (cd $(TARGET_SUBDIR)/gperf && \
25484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25486 "RANLIB=$${RANLIB}" \
25487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25488 clean) \
25489 || exit 1
25491 @endif target-gperf
25493 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25494 maybe-distclean-target-gperf:
25495 @if target-gperf
25496 maybe-distclean-target-gperf: distclean-target-gperf
25498 distclean-target-gperf:
25499 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25500 r=`${PWD_COMMAND}`; export r; \
25501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25502 $(SET_LIB_PATH) \
25503 $(NORMAL_TARGET_EXPORTS) \
25504 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25505 for flag in $(EXTRA_TARGET_FLAGS); do \
25506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25507 done; \
25508 (cd $(TARGET_SUBDIR)/gperf && \
25509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25511 "RANLIB=$${RANLIB}" \
25512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25513 distclean) \
25514 || exit 1
25516 @endif target-gperf
25518 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25519 maybe-maintainer-clean-target-gperf:
25520 @if target-gperf
25521 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25523 maintainer-clean-target-gperf:
25524 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25525 r=`${PWD_COMMAND}`; export r; \
25526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25527 $(SET_LIB_PATH) \
25528 $(NORMAL_TARGET_EXPORTS) \
25529 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25530 for flag in $(EXTRA_TARGET_FLAGS); do \
25531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25532 done; \
25533 (cd $(TARGET_SUBDIR)/gperf && \
25534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25536 "RANLIB=$${RANLIB}" \
25537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25538 maintainer-clean) \
25539 || exit 1
25541 @endif target-gperf
25544 .PHONY: configure-target-examples maybe-configure-target-examples
25545 maybe-configure-target-examples:
25546 @if target-examples
25547 maybe-configure-target-examples: configure-target-examples
25549 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25550 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25551 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25552 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25553 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25555 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25556 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25557 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25558 r=`${PWD_COMMAND}`; export r; \
25559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25560 $(SET_LIB_PATH) \
25561 $(NORMAL_TARGET_EXPORTS) \
25562 echo Configuring in $(TARGET_SUBDIR)/examples; \
25563 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25564 case $(srcdir) in \
25565 /* | [A-Za-z]:[\\/]*) \
25566 topdir=$(srcdir) ;; \
25567 *) \
25568 case "$(TARGET_SUBDIR)" in \
25569 .) topdir="../$(srcdir)" ;; \
25570 *) topdir="../../$(srcdir)" ;; \
25571 esac ;; \
25572 esac; \
25573 srcdiroption="--srcdir=$${topdir}/examples"; \
25574 libsrcdir="$$s/examples"; \
25575 rm -f no-such-file || : ; \
25576 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25577 $(TARGET_CONFIGARGS) $${srcdiroption} \
25578 --with-target-subdir="$(TARGET_SUBDIR)" \
25579 || exit 1
25580 @endif target-examples
25582 .PHONY: all-target-examples maybe-all-target-examples
25583 maybe-all-target-examples:
25584 @if target-examples
25585 TARGET-target-examples=all
25586 maybe-all-target-examples: all-target-examples
25587 all-target-examples: configure-target-examples
25588 @r=`${PWD_COMMAND}`; export r; \
25589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25590 $(SET_LIB_PATH) \
25591 $(NORMAL_TARGET_EXPORTS) \
25592 (cd $(TARGET_SUBDIR)/examples && \
25593 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
25594 @endif target-examples
25596 .PHONY: check-target-examples maybe-check-target-examples
25597 maybe-check-target-examples:
25598 @if target-examples
25599 maybe-check-target-examples: check-target-examples
25601 # Dummy target for uncheckable module.
25602 check-target-examples:
25604 @endif target-examples
25606 .PHONY: install-target-examples maybe-install-target-examples
25607 maybe-install-target-examples:
25608 @if target-examples
25609 maybe-install-target-examples: install-target-examples
25611 # Dummy target for uninstallable.
25612 install-target-examples:
25614 @endif target-examples
25616 # Other targets (info, dvi, etc.)
25618 .PHONY: maybe-info-target-examples info-target-examples
25619 maybe-info-target-examples:
25620 @if target-examples
25621 maybe-info-target-examples: info-target-examples
25623 info-target-examples: \
25624 configure-target-examples
25625 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25626 r=`${PWD_COMMAND}`; export r; \
25627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25628 $(SET_LIB_PATH) \
25629 $(NORMAL_TARGET_EXPORTS) \
25630 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25631 for flag in $(EXTRA_TARGET_FLAGS); do \
25632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25633 done; \
25634 (cd $(TARGET_SUBDIR)/examples && \
25635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25637 "RANLIB=$${RANLIB}" \
25638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25639 info) \
25640 || exit 1
25642 @endif target-examples
25644 .PHONY: maybe-dvi-target-examples dvi-target-examples
25645 maybe-dvi-target-examples:
25646 @if target-examples
25647 maybe-dvi-target-examples: dvi-target-examples
25649 dvi-target-examples: \
25650 configure-target-examples
25651 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25652 r=`${PWD_COMMAND}`; export r; \
25653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25654 $(SET_LIB_PATH) \
25655 $(NORMAL_TARGET_EXPORTS) \
25656 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25657 for flag in $(EXTRA_TARGET_FLAGS); do \
25658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25659 done; \
25660 (cd $(TARGET_SUBDIR)/examples && \
25661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25663 "RANLIB=$${RANLIB}" \
25664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25665 dvi) \
25666 || exit 1
25668 @endif target-examples
25670 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25671 maybe-TAGS-target-examples:
25672 @if target-examples
25673 maybe-TAGS-target-examples: TAGS-target-examples
25675 TAGS-target-examples: \
25676 configure-target-examples
25677 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25678 r=`${PWD_COMMAND}`; export r; \
25679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25680 $(SET_LIB_PATH) \
25681 $(NORMAL_TARGET_EXPORTS) \
25682 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25683 for flag in $(EXTRA_TARGET_FLAGS); do \
25684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25685 done; \
25686 (cd $(TARGET_SUBDIR)/examples && \
25687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25689 "RANLIB=$${RANLIB}" \
25690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25691 TAGS) \
25692 || exit 1
25694 @endif target-examples
25696 .PHONY: maybe-install-info-target-examples install-info-target-examples
25697 maybe-install-info-target-examples:
25698 @if target-examples
25699 maybe-install-info-target-examples: install-info-target-examples
25701 install-info-target-examples: \
25702 configure-target-examples \
25703 info-target-examples
25704 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25705 r=`${PWD_COMMAND}`; export r; \
25706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25707 $(SET_LIB_PATH) \
25708 $(NORMAL_TARGET_EXPORTS) \
25709 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25710 for flag in $(EXTRA_TARGET_FLAGS); do \
25711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25712 done; \
25713 (cd $(TARGET_SUBDIR)/examples && \
25714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25716 "RANLIB=$${RANLIB}" \
25717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25718 install-info) \
25719 || exit 1
25721 @endif target-examples
25723 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25724 maybe-installcheck-target-examples:
25725 @if target-examples
25726 maybe-installcheck-target-examples: installcheck-target-examples
25728 installcheck-target-examples: \
25729 configure-target-examples
25730 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25731 r=`${PWD_COMMAND}`; export r; \
25732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25733 $(SET_LIB_PATH) \
25734 $(NORMAL_TARGET_EXPORTS) \
25735 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25736 for flag in $(EXTRA_TARGET_FLAGS); do \
25737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25738 done; \
25739 (cd $(TARGET_SUBDIR)/examples && \
25740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25742 "RANLIB=$${RANLIB}" \
25743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25744 installcheck) \
25745 || exit 1
25747 @endif target-examples
25749 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25750 maybe-mostlyclean-target-examples:
25751 @if target-examples
25752 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25754 mostlyclean-target-examples:
25755 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25756 r=`${PWD_COMMAND}`; export r; \
25757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25758 $(SET_LIB_PATH) \
25759 $(NORMAL_TARGET_EXPORTS) \
25760 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25761 for flag in $(EXTRA_TARGET_FLAGS); do \
25762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25763 done; \
25764 (cd $(TARGET_SUBDIR)/examples && \
25765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25767 "RANLIB=$${RANLIB}" \
25768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25769 mostlyclean) \
25770 || exit 1
25772 @endif target-examples
25774 .PHONY: maybe-clean-target-examples clean-target-examples
25775 maybe-clean-target-examples:
25776 @if target-examples
25777 maybe-clean-target-examples: clean-target-examples
25779 clean-target-examples:
25780 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25781 r=`${PWD_COMMAND}`; export r; \
25782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25783 $(SET_LIB_PATH) \
25784 $(NORMAL_TARGET_EXPORTS) \
25785 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25786 for flag in $(EXTRA_TARGET_FLAGS); do \
25787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25788 done; \
25789 (cd $(TARGET_SUBDIR)/examples && \
25790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25792 "RANLIB=$${RANLIB}" \
25793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25794 clean) \
25795 || exit 1
25797 @endif target-examples
25799 .PHONY: maybe-distclean-target-examples distclean-target-examples
25800 maybe-distclean-target-examples:
25801 @if target-examples
25802 maybe-distclean-target-examples: distclean-target-examples
25804 distclean-target-examples:
25805 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25806 r=`${PWD_COMMAND}`; export r; \
25807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25808 $(SET_LIB_PATH) \
25809 $(NORMAL_TARGET_EXPORTS) \
25810 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25811 for flag in $(EXTRA_TARGET_FLAGS); do \
25812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25813 done; \
25814 (cd $(TARGET_SUBDIR)/examples && \
25815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25817 "RANLIB=$${RANLIB}" \
25818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25819 distclean) \
25820 || exit 1
25822 @endif target-examples
25824 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25825 maybe-maintainer-clean-target-examples:
25826 @if target-examples
25827 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25829 maintainer-clean-target-examples:
25830 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25831 r=`${PWD_COMMAND}`; export r; \
25832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25833 $(SET_LIB_PATH) \
25834 $(NORMAL_TARGET_EXPORTS) \
25835 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25836 for flag in $(EXTRA_TARGET_FLAGS); do \
25837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25838 done; \
25839 (cd $(TARGET_SUBDIR)/examples && \
25840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25842 "RANLIB=$${RANLIB}" \
25843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25844 maintainer-clean) \
25845 || exit 1
25847 @endif target-examples
25850 .PHONY: configure-target-libffi maybe-configure-target-libffi
25851 maybe-configure-target-libffi:
25852 @if target-libffi
25853 maybe-configure-target-libffi: configure-target-libffi
25855 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25856 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25857 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25858 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25859 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25861 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25862 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25863 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25864 r=`${PWD_COMMAND}`; export r; \
25865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25866 $(SET_LIB_PATH) \
25867 $(NORMAL_TARGET_EXPORTS) \
25868 echo Configuring in $(TARGET_SUBDIR)/libffi; \
25869 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25870 case $(srcdir) in \
25871 /* | [A-Za-z]:[\\/]*) \
25872 topdir=$(srcdir) ;; \
25873 *) \
25874 case "$(TARGET_SUBDIR)" in \
25875 .) topdir="../$(srcdir)" ;; \
25876 *) topdir="../../$(srcdir)" ;; \
25877 esac ;; \
25878 esac; \
25879 srcdiroption="--srcdir=$${topdir}/libffi"; \
25880 libsrcdir="$$s/libffi"; \
25881 rm -f no-such-file || : ; \
25882 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25883 $(TARGET_CONFIGARGS) $${srcdiroption} \
25884 --with-target-subdir="$(TARGET_SUBDIR)" \
25885 || exit 1
25886 @endif target-libffi
25888 .PHONY: all-target-libffi maybe-all-target-libffi
25889 maybe-all-target-libffi:
25890 @if target-libffi
25891 TARGET-target-libffi=all
25892 maybe-all-target-libffi: all-target-libffi
25893 all-target-libffi: configure-target-libffi
25894 @r=`${PWD_COMMAND}`; export r; \
25895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25896 $(SET_LIB_PATH) \
25897 $(NORMAL_TARGET_EXPORTS) \
25898 (cd $(TARGET_SUBDIR)/libffi && \
25899 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
25900 @endif target-libffi
25902 .PHONY: check-target-libffi maybe-check-target-libffi
25903 maybe-check-target-libffi:
25904 @if target-libffi
25905 maybe-check-target-libffi: check-target-libffi
25907 check-target-libffi:
25908 @r=`${PWD_COMMAND}`; export r; \
25909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25910 $(SET_LIB_PATH) \
25911 $(NORMAL_TARGET_EXPORTS) \
25912 (cd $(TARGET_SUBDIR)/libffi && \
25913 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25915 @endif target-libffi
25917 .PHONY: install-target-libffi maybe-install-target-libffi
25918 maybe-install-target-libffi:
25919 @if target-libffi
25920 maybe-install-target-libffi: install-target-libffi
25922 install-target-libffi: installdirs
25923 @r=`${PWD_COMMAND}`; export r; \
25924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25925 $(SET_LIB_PATH) \
25926 $(NORMAL_TARGET_EXPORTS) \
25927 (cd $(TARGET_SUBDIR)/libffi && \
25928 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25930 @endif target-libffi
25932 # Other targets (info, dvi, etc.)
25934 .PHONY: maybe-info-target-libffi info-target-libffi
25935 maybe-info-target-libffi:
25936 @if target-libffi
25937 maybe-info-target-libffi: info-target-libffi
25939 info-target-libffi: \
25940 configure-target-libffi
25941 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25942 r=`${PWD_COMMAND}`; export r; \
25943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25944 $(SET_LIB_PATH) \
25945 $(NORMAL_TARGET_EXPORTS) \
25946 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25947 for flag in $(EXTRA_TARGET_FLAGS); do \
25948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25949 done; \
25950 (cd $(TARGET_SUBDIR)/libffi && \
25951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25953 "RANLIB=$${RANLIB}" \
25954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25955 info) \
25956 || exit 1
25958 @endif target-libffi
25960 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25961 maybe-dvi-target-libffi:
25962 @if target-libffi
25963 maybe-dvi-target-libffi: dvi-target-libffi
25965 dvi-target-libffi: \
25966 configure-target-libffi
25967 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25968 r=`${PWD_COMMAND}`; export r; \
25969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25970 $(SET_LIB_PATH) \
25971 $(NORMAL_TARGET_EXPORTS) \
25972 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25973 for flag in $(EXTRA_TARGET_FLAGS); do \
25974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25975 done; \
25976 (cd $(TARGET_SUBDIR)/libffi && \
25977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25979 "RANLIB=$${RANLIB}" \
25980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25981 dvi) \
25982 || exit 1
25984 @endif target-libffi
25986 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25987 maybe-TAGS-target-libffi:
25988 @if target-libffi
25989 maybe-TAGS-target-libffi: TAGS-target-libffi
25991 TAGS-target-libffi: \
25992 configure-target-libffi
25993 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25994 r=`${PWD_COMMAND}`; export r; \
25995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25996 $(SET_LIB_PATH) \
25997 $(NORMAL_TARGET_EXPORTS) \
25998 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25999 for flag in $(EXTRA_TARGET_FLAGS); do \
26000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26001 done; \
26002 (cd $(TARGET_SUBDIR)/libffi && \
26003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26005 "RANLIB=$${RANLIB}" \
26006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26007 TAGS) \
26008 || exit 1
26010 @endif target-libffi
26012 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
26013 maybe-install-info-target-libffi:
26014 @if target-libffi
26015 maybe-install-info-target-libffi: install-info-target-libffi
26017 install-info-target-libffi: \
26018 configure-target-libffi \
26019 info-target-libffi
26020 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26021 r=`${PWD_COMMAND}`; export r; \
26022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26023 $(SET_LIB_PATH) \
26024 $(NORMAL_TARGET_EXPORTS) \
26025 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
26026 for flag in $(EXTRA_TARGET_FLAGS); do \
26027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26028 done; \
26029 (cd $(TARGET_SUBDIR)/libffi && \
26030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26032 "RANLIB=$${RANLIB}" \
26033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26034 install-info) \
26035 || exit 1
26037 @endif target-libffi
26039 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
26040 maybe-installcheck-target-libffi:
26041 @if target-libffi
26042 maybe-installcheck-target-libffi: installcheck-target-libffi
26044 installcheck-target-libffi: \
26045 configure-target-libffi
26046 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26047 r=`${PWD_COMMAND}`; export r; \
26048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26049 $(SET_LIB_PATH) \
26050 $(NORMAL_TARGET_EXPORTS) \
26051 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
26052 for flag in $(EXTRA_TARGET_FLAGS); do \
26053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26054 done; \
26055 (cd $(TARGET_SUBDIR)/libffi && \
26056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26058 "RANLIB=$${RANLIB}" \
26059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26060 installcheck) \
26061 || exit 1
26063 @endif target-libffi
26065 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
26066 maybe-mostlyclean-target-libffi:
26067 @if target-libffi
26068 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
26070 mostlyclean-target-libffi:
26071 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26072 r=`${PWD_COMMAND}`; export r; \
26073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26074 $(SET_LIB_PATH) \
26075 $(NORMAL_TARGET_EXPORTS) \
26076 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
26077 for flag in $(EXTRA_TARGET_FLAGS); do \
26078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26079 done; \
26080 (cd $(TARGET_SUBDIR)/libffi && \
26081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26083 "RANLIB=$${RANLIB}" \
26084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26085 mostlyclean) \
26086 || exit 1
26088 @endif target-libffi
26090 .PHONY: maybe-clean-target-libffi clean-target-libffi
26091 maybe-clean-target-libffi:
26092 @if target-libffi
26093 maybe-clean-target-libffi: clean-target-libffi
26095 clean-target-libffi:
26096 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26097 r=`${PWD_COMMAND}`; export r; \
26098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26099 $(SET_LIB_PATH) \
26100 $(NORMAL_TARGET_EXPORTS) \
26101 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
26102 for flag in $(EXTRA_TARGET_FLAGS); do \
26103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26104 done; \
26105 (cd $(TARGET_SUBDIR)/libffi && \
26106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26108 "RANLIB=$${RANLIB}" \
26109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26110 clean) \
26111 || exit 1
26113 @endif target-libffi
26115 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
26116 maybe-distclean-target-libffi:
26117 @if target-libffi
26118 maybe-distclean-target-libffi: distclean-target-libffi
26120 distclean-target-libffi:
26121 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26122 r=`${PWD_COMMAND}`; export r; \
26123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26124 $(SET_LIB_PATH) \
26125 $(NORMAL_TARGET_EXPORTS) \
26126 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
26127 for flag in $(EXTRA_TARGET_FLAGS); do \
26128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26129 done; \
26130 (cd $(TARGET_SUBDIR)/libffi && \
26131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26133 "RANLIB=$${RANLIB}" \
26134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26135 distclean) \
26136 || exit 1
26138 @endif target-libffi
26140 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
26141 maybe-maintainer-clean-target-libffi:
26142 @if target-libffi
26143 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
26145 maintainer-clean-target-libffi:
26146 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26147 r=`${PWD_COMMAND}`; export r; \
26148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26149 $(SET_LIB_PATH) \
26150 $(NORMAL_TARGET_EXPORTS) \
26151 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
26152 for flag in $(EXTRA_TARGET_FLAGS); do \
26153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26154 done; \
26155 (cd $(TARGET_SUBDIR)/libffi && \
26156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26158 "RANLIB=$${RANLIB}" \
26159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26160 maintainer-clean) \
26161 || exit 1
26163 @endif target-libffi
26166 .PHONY: configure-target-libjava maybe-configure-target-libjava
26167 maybe-configure-target-libjava:
26168 @if target-libjava
26169 maybe-configure-target-libjava: configure-target-libjava
26171 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26172 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
26173 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26174 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
26175 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
26177 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
26178 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
26179 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26180 r=`${PWD_COMMAND}`; export r; \
26181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26182 $(SET_LIB_PATH) \
26183 $(RAW_CXX_TARGET_EXPORTS) \
26184 echo Configuring in $(TARGET_SUBDIR)/libjava; \
26185 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
26186 case $(srcdir) in \
26187 /* | [A-Za-z]:[\\/]*) \
26188 topdir=$(srcdir) ;; \
26189 *) \
26190 case "$(TARGET_SUBDIR)" in \
26191 .) topdir="../$(srcdir)" ;; \
26192 *) topdir="../../$(srcdir)" ;; \
26193 esac ;; \
26194 esac; \
26195 srcdiroption="--srcdir=$${topdir}/libjava"; \
26196 libsrcdir="$$s/libjava"; \
26197 rm -f no-such-file || : ; \
26198 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26199 $(TARGET_CONFIGARGS) $${srcdiroption} \
26200 --with-target-subdir="$(TARGET_SUBDIR)" \
26201 || exit 1
26202 @endif target-libjava
26204 .PHONY: all-target-libjava maybe-all-target-libjava
26205 maybe-all-target-libjava:
26206 @if target-libjava
26207 TARGET-target-libjava=all
26208 maybe-all-target-libjava: all-target-libjava
26209 all-target-libjava: configure-target-libjava
26210 @r=`${PWD_COMMAND}`; export r; \
26211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26212 $(SET_LIB_PATH) \
26213 $(RAW_CXX_TARGET_EXPORTS) \
26214 (cd $(TARGET_SUBDIR)/libjava && \
26215 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
26216 @endif target-libjava
26218 .PHONY: check-target-libjava maybe-check-target-libjava
26219 maybe-check-target-libjava:
26220 @if target-libjava
26221 maybe-check-target-libjava: check-target-libjava
26223 check-target-libjava:
26224 @r=`${PWD_COMMAND}`; export r; \
26225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26226 $(SET_LIB_PATH) \
26227 $(RAW_CXX_TARGET_EXPORTS) \
26228 (cd $(TARGET_SUBDIR)/libjava && \
26229 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
26231 @endif target-libjava
26233 .PHONY: install-target-libjava maybe-install-target-libjava
26234 maybe-install-target-libjava:
26235 @if target-libjava
26236 maybe-install-target-libjava: install-target-libjava
26238 install-target-libjava: installdirs
26239 @r=`${PWD_COMMAND}`; export r; \
26240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26241 $(SET_LIB_PATH) \
26242 $(RAW_CXX_TARGET_EXPORTS) \
26243 (cd $(TARGET_SUBDIR)/libjava && \
26244 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26246 @endif target-libjava
26248 # Other targets (info, dvi, etc.)
26250 .PHONY: maybe-info-target-libjava info-target-libjava
26251 maybe-info-target-libjava:
26252 @if target-libjava
26253 maybe-info-target-libjava: info-target-libjava
26255 info-target-libjava: \
26256 configure-target-libjava
26257 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26258 r=`${PWD_COMMAND}`; export r; \
26259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26260 $(SET_LIB_PATH) \
26261 $(RAW_CXX_TARGET_EXPORTS) \
26262 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
26263 for flag in $(EXTRA_TARGET_FLAGS); do \
26264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26265 done; \
26266 (cd $(TARGET_SUBDIR)/libjava && \
26267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26269 "RANLIB=$${RANLIB}" \
26270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26271 info) \
26272 || exit 1
26274 @endif target-libjava
26276 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
26277 maybe-dvi-target-libjava:
26278 @if target-libjava
26279 maybe-dvi-target-libjava: dvi-target-libjava
26281 dvi-target-libjava: \
26282 configure-target-libjava
26283 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26284 r=`${PWD_COMMAND}`; export r; \
26285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26286 $(SET_LIB_PATH) \
26287 $(RAW_CXX_TARGET_EXPORTS) \
26288 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
26289 for flag in $(EXTRA_TARGET_FLAGS); do \
26290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26291 done; \
26292 (cd $(TARGET_SUBDIR)/libjava && \
26293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26295 "RANLIB=$${RANLIB}" \
26296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26297 dvi) \
26298 || exit 1
26300 @endif target-libjava
26302 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
26303 maybe-TAGS-target-libjava:
26304 @if target-libjava
26305 maybe-TAGS-target-libjava: TAGS-target-libjava
26307 TAGS-target-libjava: \
26308 configure-target-libjava
26309 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26310 r=`${PWD_COMMAND}`; export r; \
26311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26312 $(SET_LIB_PATH) \
26313 $(RAW_CXX_TARGET_EXPORTS) \
26314 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
26315 for flag in $(EXTRA_TARGET_FLAGS); do \
26316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26317 done; \
26318 (cd $(TARGET_SUBDIR)/libjava && \
26319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26321 "RANLIB=$${RANLIB}" \
26322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26323 TAGS) \
26324 || exit 1
26326 @endif target-libjava
26328 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
26329 maybe-install-info-target-libjava:
26330 @if target-libjava
26331 maybe-install-info-target-libjava: install-info-target-libjava
26333 install-info-target-libjava: \
26334 configure-target-libjava \
26335 info-target-libjava
26336 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26337 r=`${PWD_COMMAND}`; export r; \
26338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26339 $(SET_LIB_PATH) \
26340 $(RAW_CXX_TARGET_EXPORTS) \
26341 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
26342 for flag in $(EXTRA_TARGET_FLAGS); do \
26343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26344 done; \
26345 (cd $(TARGET_SUBDIR)/libjava && \
26346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26348 "RANLIB=$${RANLIB}" \
26349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26350 install-info) \
26351 || exit 1
26353 @endif target-libjava
26355 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
26356 maybe-installcheck-target-libjava:
26357 @if target-libjava
26358 maybe-installcheck-target-libjava: installcheck-target-libjava
26360 installcheck-target-libjava: \
26361 configure-target-libjava
26362 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26363 r=`${PWD_COMMAND}`; export r; \
26364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26365 $(SET_LIB_PATH) \
26366 $(RAW_CXX_TARGET_EXPORTS) \
26367 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
26368 for flag in $(EXTRA_TARGET_FLAGS); do \
26369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26370 done; \
26371 (cd $(TARGET_SUBDIR)/libjava && \
26372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26374 "RANLIB=$${RANLIB}" \
26375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26376 installcheck) \
26377 || exit 1
26379 @endif target-libjava
26381 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
26382 maybe-mostlyclean-target-libjava:
26383 @if target-libjava
26384 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
26386 mostlyclean-target-libjava:
26387 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26388 r=`${PWD_COMMAND}`; export r; \
26389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26390 $(SET_LIB_PATH) \
26391 $(RAW_CXX_TARGET_EXPORTS) \
26392 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
26393 for flag in $(EXTRA_TARGET_FLAGS); do \
26394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26395 done; \
26396 (cd $(TARGET_SUBDIR)/libjava && \
26397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26399 "RANLIB=$${RANLIB}" \
26400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26401 mostlyclean) \
26402 || exit 1
26404 @endif target-libjava
26406 .PHONY: maybe-clean-target-libjava clean-target-libjava
26407 maybe-clean-target-libjava:
26408 @if target-libjava
26409 maybe-clean-target-libjava: clean-target-libjava
26411 clean-target-libjava:
26412 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26413 r=`${PWD_COMMAND}`; export r; \
26414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26415 $(SET_LIB_PATH) \
26416 $(RAW_CXX_TARGET_EXPORTS) \
26417 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
26418 for flag in $(EXTRA_TARGET_FLAGS); do \
26419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26420 done; \
26421 (cd $(TARGET_SUBDIR)/libjava && \
26422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26424 "RANLIB=$${RANLIB}" \
26425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26426 clean) \
26427 || exit 1
26429 @endif target-libjava
26431 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
26432 maybe-distclean-target-libjava:
26433 @if target-libjava
26434 maybe-distclean-target-libjava: distclean-target-libjava
26436 distclean-target-libjava:
26437 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26438 r=`${PWD_COMMAND}`; export r; \
26439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26440 $(SET_LIB_PATH) \
26441 $(RAW_CXX_TARGET_EXPORTS) \
26442 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
26443 for flag in $(EXTRA_TARGET_FLAGS); do \
26444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26445 done; \
26446 (cd $(TARGET_SUBDIR)/libjava && \
26447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26449 "RANLIB=$${RANLIB}" \
26450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26451 distclean) \
26452 || exit 1
26454 @endif target-libjava
26456 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26457 maybe-maintainer-clean-target-libjava:
26458 @if target-libjava
26459 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26461 maintainer-clean-target-libjava:
26462 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26463 r=`${PWD_COMMAND}`; export r; \
26464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26465 $(SET_LIB_PATH) \
26466 $(RAW_CXX_TARGET_EXPORTS) \
26467 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26468 for flag in $(EXTRA_TARGET_FLAGS); do \
26469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26470 done; \
26471 (cd $(TARGET_SUBDIR)/libjava && \
26472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26474 "RANLIB=$${RANLIB}" \
26475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26476 maintainer-clean) \
26477 || exit 1
26479 @endif target-libjava
26482 .PHONY: configure-target-zlib maybe-configure-target-zlib
26483 maybe-configure-target-zlib:
26484 @if target-zlib
26485 maybe-configure-target-zlib: configure-target-zlib
26487 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26488 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26489 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26490 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26491 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26493 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26494 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26495 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26496 r=`${PWD_COMMAND}`; export r; \
26497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26498 $(SET_LIB_PATH) \
26499 $(NORMAL_TARGET_EXPORTS) \
26500 echo Configuring in $(TARGET_SUBDIR)/zlib; \
26501 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26502 case $(srcdir) in \
26503 /* | [A-Za-z]:[\\/]*) \
26504 topdir=$(srcdir) ;; \
26505 *) \
26506 case "$(TARGET_SUBDIR)" in \
26507 .) topdir="../$(srcdir)" ;; \
26508 *) topdir="../../$(srcdir)" ;; \
26509 esac ;; \
26510 esac; \
26511 if [ "$(srcdir)" = "." ] ; then \
26512 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26513 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26514 if [ -f Makefile ]; then \
26515 if $(MAKE) distclean; then \
26516 true; \
26517 else \
26518 exit 1; \
26519 fi; \
26520 else \
26521 true; \
26522 fi; \
26523 else \
26524 exit 1; \
26525 fi; \
26526 else \
26527 true; \
26528 fi; \
26529 srcdiroption="--srcdir=."; \
26530 libsrcdir="."; \
26531 else \
26532 srcdiroption="--srcdir=$${topdir}/zlib"; \
26533 libsrcdir="$$s/zlib"; \
26534 fi; \
26535 rm -f no-such-file || : ; \
26536 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26537 $(TARGET_CONFIGARGS) $${srcdiroption} \
26538 --with-target-subdir="$(TARGET_SUBDIR)" \
26539 || exit 1
26540 @endif target-zlib
26542 .PHONY: all-target-zlib maybe-all-target-zlib
26543 maybe-all-target-zlib:
26544 @if target-zlib
26545 TARGET-target-zlib=all
26546 maybe-all-target-zlib: all-target-zlib
26547 all-target-zlib: configure-target-zlib
26548 @r=`${PWD_COMMAND}`; export r; \
26549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26550 $(SET_LIB_PATH) \
26551 $(NORMAL_TARGET_EXPORTS) \
26552 (cd $(TARGET_SUBDIR)/zlib && \
26553 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
26554 @endif target-zlib
26556 .PHONY: check-target-zlib maybe-check-target-zlib
26557 maybe-check-target-zlib:
26558 @if target-zlib
26559 maybe-check-target-zlib: check-target-zlib
26561 check-target-zlib:
26562 @r=`${PWD_COMMAND}`; export r; \
26563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26564 $(SET_LIB_PATH) \
26565 $(NORMAL_TARGET_EXPORTS) \
26566 (cd $(TARGET_SUBDIR)/zlib && \
26567 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26569 @endif target-zlib
26571 .PHONY: install-target-zlib maybe-install-target-zlib
26572 maybe-install-target-zlib:
26573 @if target-zlib
26574 maybe-install-target-zlib: install-target-zlib
26576 install-target-zlib: installdirs
26577 @r=`${PWD_COMMAND}`; export r; \
26578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26579 $(SET_LIB_PATH) \
26580 $(NORMAL_TARGET_EXPORTS) \
26581 (cd $(TARGET_SUBDIR)/zlib && \
26582 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26584 @endif target-zlib
26586 # Other targets (info, dvi, etc.)
26588 .PHONY: maybe-info-target-zlib info-target-zlib
26589 maybe-info-target-zlib:
26590 @if target-zlib
26591 maybe-info-target-zlib: info-target-zlib
26593 info-target-zlib: \
26594 configure-target-zlib
26595 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26596 r=`${PWD_COMMAND}`; export r; \
26597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26598 $(SET_LIB_PATH) \
26599 $(NORMAL_TARGET_EXPORTS) \
26600 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26601 for flag in $(EXTRA_TARGET_FLAGS); do \
26602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26603 done; \
26604 (cd $(TARGET_SUBDIR)/zlib && \
26605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26607 "RANLIB=$${RANLIB}" \
26608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26609 info) \
26610 || exit 1
26612 @endif target-zlib
26614 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26615 maybe-dvi-target-zlib:
26616 @if target-zlib
26617 maybe-dvi-target-zlib: dvi-target-zlib
26619 dvi-target-zlib: \
26620 configure-target-zlib
26621 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26622 r=`${PWD_COMMAND}`; export r; \
26623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26624 $(SET_LIB_PATH) \
26625 $(NORMAL_TARGET_EXPORTS) \
26626 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26627 for flag in $(EXTRA_TARGET_FLAGS); do \
26628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26629 done; \
26630 (cd $(TARGET_SUBDIR)/zlib && \
26631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26633 "RANLIB=$${RANLIB}" \
26634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26635 dvi) \
26636 || exit 1
26638 @endif target-zlib
26640 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26641 maybe-TAGS-target-zlib:
26642 @if target-zlib
26643 maybe-TAGS-target-zlib: TAGS-target-zlib
26645 TAGS-target-zlib: \
26646 configure-target-zlib
26647 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26648 r=`${PWD_COMMAND}`; export r; \
26649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26650 $(SET_LIB_PATH) \
26651 $(NORMAL_TARGET_EXPORTS) \
26652 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26653 for flag in $(EXTRA_TARGET_FLAGS); do \
26654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26655 done; \
26656 (cd $(TARGET_SUBDIR)/zlib && \
26657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26659 "RANLIB=$${RANLIB}" \
26660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26661 TAGS) \
26662 || exit 1
26664 @endif target-zlib
26666 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26667 maybe-install-info-target-zlib:
26668 @if target-zlib
26669 maybe-install-info-target-zlib: install-info-target-zlib
26671 install-info-target-zlib: \
26672 configure-target-zlib \
26673 info-target-zlib
26674 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26675 r=`${PWD_COMMAND}`; export r; \
26676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26677 $(SET_LIB_PATH) \
26678 $(NORMAL_TARGET_EXPORTS) \
26679 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26680 for flag in $(EXTRA_TARGET_FLAGS); do \
26681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26682 done; \
26683 (cd $(TARGET_SUBDIR)/zlib && \
26684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26686 "RANLIB=$${RANLIB}" \
26687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26688 install-info) \
26689 || exit 1
26691 @endif target-zlib
26693 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26694 maybe-installcheck-target-zlib:
26695 @if target-zlib
26696 maybe-installcheck-target-zlib: installcheck-target-zlib
26698 installcheck-target-zlib: \
26699 configure-target-zlib
26700 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26701 r=`${PWD_COMMAND}`; export r; \
26702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26703 $(SET_LIB_PATH) \
26704 $(NORMAL_TARGET_EXPORTS) \
26705 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26706 for flag in $(EXTRA_TARGET_FLAGS); do \
26707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26708 done; \
26709 (cd $(TARGET_SUBDIR)/zlib && \
26710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26712 "RANLIB=$${RANLIB}" \
26713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26714 installcheck) \
26715 || exit 1
26717 @endif target-zlib
26719 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26720 maybe-mostlyclean-target-zlib:
26721 @if target-zlib
26722 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26724 mostlyclean-target-zlib:
26725 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26726 r=`${PWD_COMMAND}`; export r; \
26727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26728 $(SET_LIB_PATH) \
26729 $(NORMAL_TARGET_EXPORTS) \
26730 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26731 for flag in $(EXTRA_TARGET_FLAGS); do \
26732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26733 done; \
26734 (cd $(TARGET_SUBDIR)/zlib && \
26735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26737 "RANLIB=$${RANLIB}" \
26738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26739 mostlyclean) \
26740 || exit 1
26742 @endif target-zlib
26744 .PHONY: maybe-clean-target-zlib clean-target-zlib
26745 maybe-clean-target-zlib:
26746 @if target-zlib
26747 maybe-clean-target-zlib: clean-target-zlib
26749 clean-target-zlib:
26750 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26751 r=`${PWD_COMMAND}`; export r; \
26752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26753 $(SET_LIB_PATH) \
26754 $(NORMAL_TARGET_EXPORTS) \
26755 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26756 for flag in $(EXTRA_TARGET_FLAGS); do \
26757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26758 done; \
26759 (cd $(TARGET_SUBDIR)/zlib && \
26760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26762 "RANLIB=$${RANLIB}" \
26763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26764 clean) \
26765 || exit 1
26767 @endif target-zlib
26769 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26770 maybe-distclean-target-zlib:
26771 @if target-zlib
26772 maybe-distclean-target-zlib: distclean-target-zlib
26774 distclean-target-zlib:
26775 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26776 r=`${PWD_COMMAND}`; export r; \
26777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26778 $(SET_LIB_PATH) \
26779 $(NORMAL_TARGET_EXPORTS) \
26780 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26781 for flag in $(EXTRA_TARGET_FLAGS); do \
26782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26783 done; \
26784 (cd $(TARGET_SUBDIR)/zlib && \
26785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26787 "RANLIB=$${RANLIB}" \
26788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26789 distclean) \
26790 || exit 1
26792 @endif target-zlib
26794 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26795 maybe-maintainer-clean-target-zlib:
26796 @if target-zlib
26797 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26799 maintainer-clean-target-zlib:
26800 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26801 r=`${PWD_COMMAND}`; export r; \
26802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26803 $(SET_LIB_PATH) \
26804 $(NORMAL_TARGET_EXPORTS) \
26805 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26806 for flag in $(EXTRA_TARGET_FLAGS); do \
26807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26808 done; \
26809 (cd $(TARGET_SUBDIR)/zlib && \
26810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26812 "RANLIB=$${RANLIB}" \
26813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26814 maintainer-clean) \
26815 || exit 1
26817 @endif target-zlib
26820 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26821 maybe-configure-target-boehm-gc:
26822 @if target-boehm-gc
26823 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26825 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26826 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26827 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26828 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26829 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26831 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26832 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26833 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26834 r=`${PWD_COMMAND}`; export r; \
26835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26836 $(SET_LIB_PATH) \
26837 $(NORMAL_TARGET_EXPORTS) \
26838 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26839 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26840 case $(srcdir) in \
26841 /* | [A-Za-z]:[\\/]*) \
26842 topdir=$(srcdir) ;; \
26843 *) \
26844 case "$(TARGET_SUBDIR)" in \
26845 .) topdir="../$(srcdir)" ;; \
26846 *) topdir="../../$(srcdir)" ;; \
26847 esac ;; \
26848 esac; \
26849 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26850 libsrcdir="$$s/boehm-gc"; \
26851 rm -f no-such-file || : ; \
26852 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26853 $(TARGET_CONFIGARGS) $${srcdiroption} \
26854 --with-target-subdir="$(TARGET_SUBDIR)" \
26855 || exit 1
26856 @endif target-boehm-gc
26858 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26859 maybe-all-target-boehm-gc:
26860 @if target-boehm-gc
26861 TARGET-target-boehm-gc=all
26862 maybe-all-target-boehm-gc: all-target-boehm-gc
26863 all-target-boehm-gc: configure-target-boehm-gc
26864 @r=`${PWD_COMMAND}`; export r; \
26865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26866 $(SET_LIB_PATH) \
26867 $(NORMAL_TARGET_EXPORTS) \
26868 (cd $(TARGET_SUBDIR)/boehm-gc && \
26869 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
26870 @endif target-boehm-gc
26872 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26873 maybe-check-target-boehm-gc:
26874 @if target-boehm-gc
26875 maybe-check-target-boehm-gc: check-target-boehm-gc
26877 check-target-boehm-gc:
26878 @r=`${PWD_COMMAND}`; export r; \
26879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26880 $(SET_LIB_PATH) \
26881 $(NORMAL_TARGET_EXPORTS) \
26882 (cd $(TARGET_SUBDIR)/boehm-gc && \
26883 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26885 @endif target-boehm-gc
26887 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26888 maybe-install-target-boehm-gc:
26889 @if target-boehm-gc
26890 maybe-install-target-boehm-gc: install-target-boehm-gc
26892 install-target-boehm-gc: installdirs
26893 @r=`${PWD_COMMAND}`; export r; \
26894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26895 $(SET_LIB_PATH) \
26896 $(NORMAL_TARGET_EXPORTS) \
26897 (cd $(TARGET_SUBDIR)/boehm-gc && \
26898 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26900 @endif target-boehm-gc
26902 # Other targets (info, dvi, etc.)
26904 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26905 maybe-info-target-boehm-gc:
26906 @if target-boehm-gc
26907 maybe-info-target-boehm-gc: info-target-boehm-gc
26909 info-target-boehm-gc: \
26910 configure-target-boehm-gc
26911 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26912 r=`${PWD_COMMAND}`; export r; \
26913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26914 $(SET_LIB_PATH) \
26915 $(NORMAL_TARGET_EXPORTS) \
26916 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26917 for flag in $(EXTRA_TARGET_FLAGS); do \
26918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26919 done; \
26920 (cd $(TARGET_SUBDIR)/boehm-gc && \
26921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26923 "RANLIB=$${RANLIB}" \
26924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26925 info) \
26926 || exit 1
26928 @endif target-boehm-gc
26930 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26931 maybe-dvi-target-boehm-gc:
26932 @if target-boehm-gc
26933 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26935 dvi-target-boehm-gc: \
26936 configure-target-boehm-gc
26937 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26938 r=`${PWD_COMMAND}`; export r; \
26939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26940 $(SET_LIB_PATH) \
26941 $(NORMAL_TARGET_EXPORTS) \
26942 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26943 for flag in $(EXTRA_TARGET_FLAGS); do \
26944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26945 done; \
26946 (cd $(TARGET_SUBDIR)/boehm-gc && \
26947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26949 "RANLIB=$${RANLIB}" \
26950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26951 dvi) \
26952 || exit 1
26954 @endif target-boehm-gc
26956 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26957 maybe-TAGS-target-boehm-gc:
26958 @if target-boehm-gc
26959 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26961 TAGS-target-boehm-gc: \
26962 configure-target-boehm-gc
26963 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26964 r=`${PWD_COMMAND}`; export r; \
26965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26966 $(SET_LIB_PATH) \
26967 $(NORMAL_TARGET_EXPORTS) \
26968 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26969 for flag in $(EXTRA_TARGET_FLAGS); do \
26970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26971 done; \
26972 (cd $(TARGET_SUBDIR)/boehm-gc && \
26973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26975 "RANLIB=$${RANLIB}" \
26976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26977 TAGS) \
26978 || exit 1
26980 @endif target-boehm-gc
26982 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26983 maybe-install-info-target-boehm-gc:
26984 @if target-boehm-gc
26985 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26987 install-info-target-boehm-gc: \
26988 configure-target-boehm-gc \
26989 info-target-boehm-gc
26990 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26991 r=`${PWD_COMMAND}`; export r; \
26992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26993 $(SET_LIB_PATH) \
26994 $(NORMAL_TARGET_EXPORTS) \
26995 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26996 for flag in $(EXTRA_TARGET_FLAGS); do \
26997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26998 done; \
26999 (cd $(TARGET_SUBDIR)/boehm-gc && \
27000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27002 "RANLIB=$${RANLIB}" \
27003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27004 install-info) \
27005 || exit 1
27007 @endif target-boehm-gc
27009 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
27010 maybe-installcheck-target-boehm-gc:
27011 @if target-boehm-gc
27012 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
27014 installcheck-target-boehm-gc: \
27015 configure-target-boehm-gc
27016 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27017 r=`${PWD_COMMAND}`; export r; \
27018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27019 $(SET_LIB_PATH) \
27020 $(NORMAL_TARGET_EXPORTS) \
27021 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
27022 for flag in $(EXTRA_TARGET_FLAGS); do \
27023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27024 done; \
27025 (cd $(TARGET_SUBDIR)/boehm-gc && \
27026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27028 "RANLIB=$${RANLIB}" \
27029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27030 installcheck) \
27031 || exit 1
27033 @endif target-boehm-gc
27035 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
27036 maybe-mostlyclean-target-boehm-gc:
27037 @if target-boehm-gc
27038 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
27040 mostlyclean-target-boehm-gc:
27041 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27042 r=`${PWD_COMMAND}`; export r; \
27043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27044 $(SET_LIB_PATH) \
27045 $(NORMAL_TARGET_EXPORTS) \
27046 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
27047 for flag in $(EXTRA_TARGET_FLAGS); do \
27048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27049 done; \
27050 (cd $(TARGET_SUBDIR)/boehm-gc && \
27051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27053 "RANLIB=$${RANLIB}" \
27054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27055 mostlyclean) \
27056 || exit 1
27058 @endif target-boehm-gc
27060 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
27061 maybe-clean-target-boehm-gc:
27062 @if target-boehm-gc
27063 maybe-clean-target-boehm-gc: clean-target-boehm-gc
27065 clean-target-boehm-gc:
27066 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27067 r=`${PWD_COMMAND}`; export r; \
27068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27069 $(SET_LIB_PATH) \
27070 $(NORMAL_TARGET_EXPORTS) \
27071 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
27072 for flag in $(EXTRA_TARGET_FLAGS); do \
27073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27074 done; \
27075 (cd $(TARGET_SUBDIR)/boehm-gc && \
27076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27078 "RANLIB=$${RANLIB}" \
27079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27080 clean) \
27081 || exit 1
27083 @endif target-boehm-gc
27085 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
27086 maybe-distclean-target-boehm-gc:
27087 @if target-boehm-gc
27088 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
27090 distclean-target-boehm-gc:
27091 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27092 r=`${PWD_COMMAND}`; export r; \
27093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27094 $(SET_LIB_PATH) \
27095 $(NORMAL_TARGET_EXPORTS) \
27096 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
27097 for flag in $(EXTRA_TARGET_FLAGS); do \
27098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27099 done; \
27100 (cd $(TARGET_SUBDIR)/boehm-gc && \
27101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27103 "RANLIB=$${RANLIB}" \
27104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27105 distclean) \
27106 || exit 1
27108 @endif target-boehm-gc
27110 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
27111 maybe-maintainer-clean-target-boehm-gc:
27112 @if target-boehm-gc
27113 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
27115 maintainer-clean-target-boehm-gc:
27116 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27117 r=`${PWD_COMMAND}`; export r; \
27118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27119 $(SET_LIB_PATH) \
27120 $(NORMAL_TARGET_EXPORTS) \
27121 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
27122 for flag in $(EXTRA_TARGET_FLAGS); do \
27123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27124 done; \
27125 (cd $(TARGET_SUBDIR)/boehm-gc && \
27126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27128 "RANLIB=$${RANLIB}" \
27129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27130 maintainer-clean) \
27131 || exit 1
27133 @endif target-boehm-gc
27136 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
27137 maybe-configure-target-qthreads:
27138 @if target-qthreads
27139 maybe-configure-target-qthreads: configure-target-qthreads
27141 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27142 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
27143 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27144 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
27145 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
27147 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
27148 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
27149 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27150 r=`${PWD_COMMAND}`; export r; \
27151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27152 $(SET_LIB_PATH) \
27153 $(NORMAL_TARGET_EXPORTS) \
27154 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
27155 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
27156 case $(srcdir) in \
27157 /* | [A-Za-z]:[\\/]*) \
27158 topdir=$(srcdir) ;; \
27159 *) \
27160 case "$(TARGET_SUBDIR)" in \
27161 .) topdir="../$(srcdir)" ;; \
27162 *) topdir="../../$(srcdir)" ;; \
27163 esac ;; \
27164 esac; \
27165 srcdiroption="--srcdir=$${topdir}/qthreads"; \
27166 libsrcdir="$$s/qthreads"; \
27167 rm -f no-such-file || : ; \
27168 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27169 $(TARGET_CONFIGARGS) $${srcdiroption} \
27170 --with-target-subdir="$(TARGET_SUBDIR)" \
27171 || exit 1
27172 @endif target-qthreads
27174 .PHONY: all-target-qthreads maybe-all-target-qthreads
27175 maybe-all-target-qthreads:
27176 @if target-qthreads
27177 TARGET-target-qthreads=all
27178 maybe-all-target-qthreads: all-target-qthreads
27179 all-target-qthreads: configure-target-qthreads
27180 @r=`${PWD_COMMAND}`; export r; \
27181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27182 $(SET_LIB_PATH) \
27183 $(NORMAL_TARGET_EXPORTS) \
27184 (cd $(TARGET_SUBDIR)/qthreads && \
27185 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
27186 @endif target-qthreads
27188 .PHONY: check-target-qthreads maybe-check-target-qthreads
27189 maybe-check-target-qthreads:
27190 @if target-qthreads
27191 maybe-check-target-qthreads: check-target-qthreads
27193 check-target-qthreads:
27194 @r=`${PWD_COMMAND}`; export r; \
27195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27196 $(SET_LIB_PATH) \
27197 $(NORMAL_TARGET_EXPORTS) \
27198 (cd $(TARGET_SUBDIR)/qthreads && \
27199 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27201 @endif target-qthreads
27203 .PHONY: install-target-qthreads maybe-install-target-qthreads
27204 maybe-install-target-qthreads:
27205 @if target-qthreads
27206 maybe-install-target-qthreads: install-target-qthreads
27208 install-target-qthreads: installdirs
27209 @r=`${PWD_COMMAND}`; export r; \
27210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27211 $(SET_LIB_PATH) \
27212 $(NORMAL_TARGET_EXPORTS) \
27213 (cd $(TARGET_SUBDIR)/qthreads && \
27214 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27216 @endif target-qthreads
27218 # Other targets (info, dvi, etc.)
27220 .PHONY: maybe-info-target-qthreads info-target-qthreads
27221 maybe-info-target-qthreads:
27222 @if target-qthreads
27223 maybe-info-target-qthreads: info-target-qthreads
27225 info-target-qthreads: \
27226 configure-target-qthreads
27227 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27228 r=`${PWD_COMMAND}`; export r; \
27229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27230 $(SET_LIB_PATH) \
27231 $(NORMAL_TARGET_EXPORTS) \
27232 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
27233 for flag in $(EXTRA_TARGET_FLAGS); do \
27234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27235 done; \
27236 (cd $(TARGET_SUBDIR)/qthreads && \
27237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27239 "RANLIB=$${RANLIB}" \
27240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27241 info) \
27242 || exit 1
27244 @endif target-qthreads
27246 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
27247 maybe-dvi-target-qthreads:
27248 @if target-qthreads
27249 maybe-dvi-target-qthreads: dvi-target-qthreads
27251 dvi-target-qthreads: \
27252 configure-target-qthreads
27253 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27254 r=`${PWD_COMMAND}`; export r; \
27255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27256 $(SET_LIB_PATH) \
27257 $(NORMAL_TARGET_EXPORTS) \
27258 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
27259 for flag in $(EXTRA_TARGET_FLAGS); do \
27260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27261 done; \
27262 (cd $(TARGET_SUBDIR)/qthreads && \
27263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27265 "RANLIB=$${RANLIB}" \
27266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27267 dvi) \
27268 || exit 1
27270 @endif target-qthreads
27272 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
27273 maybe-TAGS-target-qthreads:
27274 @if target-qthreads
27275 maybe-TAGS-target-qthreads: TAGS-target-qthreads
27277 TAGS-target-qthreads: \
27278 configure-target-qthreads
27279 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27280 r=`${PWD_COMMAND}`; export r; \
27281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27282 $(SET_LIB_PATH) \
27283 $(NORMAL_TARGET_EXPORTS) \
27284 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
27285 for flag in $(EXTRA_TARGET_FLAGS); do \
27286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27287 done; \
27288 (cd $(TARGET_SUBDIR)/qthreads && \
27289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27291 "RANLIB=$${RANLIB}" \
27292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27293 TAGS) \
27294 || exit 1
27296 @endif target-qthreads
27298 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
27299 maybe-install-info-target-qthreads:
27300 @if target-qthreads
27301 maybe-install-info-target-qthreads: install-info-target-qthreads
27303 install-info-target-qthreads: \
27304 configure-target-qthreads \
27305 info-target-qthreads
27306 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27307 r=`${PWD_COMMAND}`; export r; \
27308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27309 $(SET_LIB_PATH) \
27310 $(NORMAL_TARGET_EXPORTS) \
27311 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
27312 for flag in $(EXTRA_TARGET_FLAGS); do \
27313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27314 done; \
27315 (cd $(TARGET_SUBDIR)/qthreads && \
27316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27318 "RANLIB=$${RANLIB}" \
27319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27320 install-info) \
27321 || exit 1
27323 @endif target-qthreads
27325 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
27326 maybe-installcheck-target-qthreads:
27327 @if target-qthreads
27328 maybe-installcheck-target-qthreads: installcheck-target-qthreads
27330 installcheck-target-qthreads: \
27331 configure-target-qthreads
27332 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27333 r=`${PWD_COMMAND}`; export r; \
27334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27335 $(SET_LIB_PATH) \
27336 $(NORMAL_TARGET_EXPORTS) \
27337 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
27338 for flag in $(EXTRA_TARGET_FLAGS); do \
27339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27340 done; \
27341 (cd $(TARGET_SUBDIR)/qthreads && \
27342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27344 "RANLIB=$${RANLIB}" \
27345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27346 installcheck) \
27347 || exit 1
27349 @endif target-qthreads
27351 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
27352 maybe-mostlyclean-target-qthreads:
27353 @if target-qthreads
27354 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
27356 mostlyclean-target-qthreads:
27357 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27358 r=`${PWD_COMMAND}`; export r; \
27359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27360 $(SET_LIB_PATH) \
27361 $(NORMAL_TARGET_EXPORTS) \
27362 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
27363 for flag in $(EXTRA_TARGET_FLAGS); do \
27364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27365 done; \
27366 (cd $(TARGET_SUBDIR)/qthreads && \
27367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27369 "RANLIB=$${RANLIB}" \
27370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27371 mostlyclean) \
27372 || exit 1
27374 @endif target-qthreads
27376 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
27377 maybe-clean-target-qthreads:
27378 @if target-qthreads
27379 maybe-clean-target-qthreads: clean-target-qthreads
27381 clean-target-qthreads:
27382 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27383 r=`${PWD_COMMAND}`; export r; \
27384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27385 $(SET_LIB_PATH) \
27386 $(NORMAL_TARGET_EXPORTS) \
27387 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
27388 for flag in $(EXTRA_TARGET_FLAGS); do \
27389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27390 done; \
27391 (cd $(TARGET_SUBDIR)/qthreads && \
27392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27394 "RANLIB=$${RANLIB}" \
27395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27396 clean) \
27397 || exit 1
27399 @endif target-qthreads
27401 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
27402 maybe-distclean-target-qthreads:
27403 @if target-qthreads
27404 maybe-distclean-target-qthreads: distclean-target-qthreads
27406 distclean-target-qthreads:
27407 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27408 r=`${PWD_COMMAND}`; export r; \
27409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27410 $(SET_LIB_PATH) \
27411 $(NORMAL_TARGET_EXPORTS) \
27412 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
27413 for flag in $(EXTRA_TARGET_FLAGS); do \
27414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27415 done; \
27416 (cd $(TARGET_SUBDIR)/qthreads && \
27417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27419 "RANLIB=$${RANLIB}" \
27420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27421 distclean) \
27422 || exit 1
27424 @endif target-qthreads
27426 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
27427 maybe-maintainer-clean-target-qthreads:
27428 @if target-qthreads
27429 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
27431 maintainer-clean-target-qthreads:
27432 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27433 r=`${PWD_COMMAND}`; export r; \
27434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27435 $(SET_LIB_PATH) \
27436 $(NORMAL_TARGET_EXPORTS) \
27437 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
27438 for flag in $(EXTRA_TARGET_FLAGS); do \
27439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27440 done; \
27441 (cd $(TARGET_SUBDIR)/qthreads && \
27442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27444 "RANLIB=$${RANLIB}" \
27445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27446 maintainer-clean) \
27447 || exit 1
27449 @endif target-qthreads
27452 .PHONY: configure-target-rda maybe-configure-target-rda
27453 maybe-configure-target-rda:
27454 @if target-rda
27455 maybe-configure-target-rda: configure-target-rda
27457 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27458 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27459 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27460 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27461 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27463 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27464 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27465 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27466 r=`${PWD_COMMAND}`; export r; \
27467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27468 $(SET_LIB_PATH) \
27469 $(NORMAL_TARGET_EXPORTS) \
27470 echo Configuring in $(TARGET_SUBDIR)/rda; \
27471 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27472 case $(srcdir) in \
27473 /* | [A-Za-z]:[\\/]*) \
27474 topdir=$(srcdir) ;; \
27475 *) \
27476 case "$(TARGET_SUBDIR)" in \
27477 .) topdir="../$(srcdir)" ;; \
27478 *) topdir="../../$(srcdir)" ;; \
27479 esac ;; \
27480 esac; \
27481 srcdiroption="--srcdir=$${topdir}/rda"; \
27482 libsrcdir="$$s/rda"; \
27483 rm -f no-such-file || : ; \
27484 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27485 $(TARGET_CONFIGARGS) $${srcdiroption} \
27486 --with-target-subdir="$(TARGET_SUBDIR)" \
27487 || exit 1
27488 @endif target-rda
27490 .PHONY: all-target-rda maybe-all-target-rda
27491 maybe-all-target-rda:
27492 @if target-rda
27493 TARGET-target-rda=all
27494 maybe-all-target-rda: all-target-rda
27495 all-target-rda: configure-target-rda
27496 @r=`${PWD_COMMAND}`; export r; \
27497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27498 $(SET_LIB_PATH) \
27499 $(NORMAL_TARGET_EXPORTS) \
27500 (cd $(TARGET_SUBDIR)/rda && \
27501 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
27502 @endif target-rda
27504 .PHONY: check-target-rda maybe-check-target-rda
27505 maybe-check-target-rda:
27506 @if target-rda
27507 maybe-check-target-rda: check-target-rda
27509 check-target-rda:
27510 @r=`${PWD_COMMAND}`; export r; \
27511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27512 $(SET_LIB_PATH) \
27513 $(NORMAL_TARGET_EXPORTS) \
27514 (cd $(TARGET_SUBDIR)/rda && \
27515 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27517 @endif target-rda
27519 .PHONY: install-target-rda maybe-install-target-rda
27520 maybe-install-target-rda:
27521 @if target-rda
27522 maybe-install-target-rda: install-target-rda
27524 install-target-rda: installdirs
27525 @r=`${PWD_COMMAND}`; export r; \
27526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27527 $(SET_LIB_PATH) \
27528 $(NORMAL_TARGET_EXPORTS) \
27529 (cd $(TARGET_SUBDIR)/rda && \
27530 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27532 @endif target-rda
27534 # Other targets (info, dvi, etc.)
27536 .PHONY: maybe-info-target-rda info-target-rda
27537 maybe-info-target-rda:
27538 @if target-rda
27539 maybe-info-target-rda: info-target-rda
27541 info-target-rda: \
27542 configure-target-rda
27543 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27544 r=`${PWD_COMMAND}`; export r; \
27545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27546 $(SET_LIB_PATH) \
27547 $(NORMAL_TARGET_EXPORTS) \
27548 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27549 for flag in $(EXTRA_TARGET_FLAGS); do \
27550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27551 done; \
27552 (cd $(TARGET_SUBDIR)/rda && \
27553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27555 "RANLIB=$${RANLIB}" \
27556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27557 info) \
27558 || exit 1
27560 @endif target-rda
27562 .PHONY: maybe-dvi-target-rda dvi-target-rda
27563 maybe-dvi-target-rda:
27564 @if target-rda
27565 maybe-dvi-target-rda: dvi-target-rda
27567 dvi-target-rda: \
27568 configure-target-rda
27569 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27570 r=`${PWD_COMMAND}`; export r; \
27571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27572 $(SET_LIB_PATH) \
27573 $(NORMAL_TARGET_EXPORTS) \
27574 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27575 for flag in $(EXTRA_TARGET_FLAGS); do \
27576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27577 done; \
27578 (cd $(TARGET_SUBDIR)/rda && \
27579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27581 "RANLIB=$${RANLIB}" \
27582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27583 dvi) \
27584 || exit 1
27586 @endif target-rda
27588 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27589 maybe-TAGS-target-rda:
27590 @if target-rda
27591 maybe-TAGS-target-rda: TAGS-target-rda
27593 TAGS-target-rda: \
27594 configure-target-rda
27595 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27596 r=`${PWD_COMMAND}`; export r; \
27597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27598 $(SET_LIB_PATH) \
27599 $(NORMAL_TARGET_EXPORTS) \
27600 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27601 for flag in $(EXTRA_TARGET_FLAGS); do \
27602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27603 done; \
27604 (cd $(TARGET_SUBDIR)/rda && \
27605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27607 "RANLIB=$${RANLIB}" \
27608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27609 TAGS) \
27610 || exit 1
27612 @endif target-rda
27614 .PHONY: maybe-install-info-target-rda install-info-target-rda
27615 maybe-install-info-target-rda:
27616 @if target-rda
27617 maybe-install-info-target-rda: install-info-target-rda
27619 install-info-target-rda: \
27620 configure-target-rda \
27621 info-target-rda
27622 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27623 r=`${PWD_COMMAND}`; export r; \
27624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27625 $(SET_LIB_PATH) \
27626 $(NORMAL_TARGET_EXPORTS) \
27627 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27628 for flag in $(EXTRA_TARGET_FLAGS); do \
27629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27630 done; \
27631 (cd $(TARGET_SUBDIR)/rda && \
27632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27634 "RANLIB=$${RANLIB}" \
27635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27636 install-info) \
27637 || exit 1
27639 @endif target-rda
27641 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27642 maybe-installcheck-target-rda:
27643 @if target-rda
27644 maybe-installcheck-target-rda: installcheck-target-rda
27646 installcheck-target-rda: \
27647 configure-target-rda
27648 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27649 r=`${PWD_COMMAND}`; export r; \
27650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27651 $(SET_LIB_PATH) \
27652 $(NORMAL_TARGET_EXPORTS) \
27653 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27654 for flag in $(EXTRA_TARGET_FLAGS); do \
27655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27656 done; \
27657 (cd $(TARGET_SUBDIR)/rda && \
27658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27660 "RANLIB=$${RANLIB}" \
27661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27662 installcheck) \
27663 || exit 1
27665 @endif target-rda
27667 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27668 maybe-mostlyclean-target-rda:
27669 @if target-rda
27670 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27672 mostlyclean-target-rda:
27673 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27674 r=`${PWD_COMMAND}`; export r; \
27675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27676 $(SET_LIB_PATH) \
27677 $(NORMAL_TARGET_EXPORTS) \
27678 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27679 for flag in $(EXTRA_TARGET_FLAGS); do \
27680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27681 done; \
27682 (cd $(TARGET_SUBDIR)/rda && \
27683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27685 "RANLIB=$${RANLIB}" \
27686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27687 mostlyclean) \
27688 || exit 1
27690 @endif target-rda
27692 .PHONY: maybe-clean-target-rda clean-target-rda
27693 maybe-clean-target-rda:
27694 @if target-rda
27695 maybe-clean-target-rda: clean-target-rda
27697 clean-target-rda:
27698 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27699 r=`${PWD_COMMAND}`; export r; \
27700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27701 $(SET_LIB_PATH) \
27702 $(NORMAL_TARGET_EXPORTS) \
27703 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27704 for flag in $(EXTRA_TARGET_FLAGS); do \
27705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27706 done; \
27707 (cd $(TARGET_SUBDIR)/rda && \
27708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27710 "RANLIB=$${RANLIB}" \
27711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27712 clean) \
27713 || exit 1
27715 @endif target-rda
27717 .PHONY: maybe-distclean-target-rda distclean-target-rda
27718 maybe-distclean-target-rda:
27719 @if target-rda
27720 maybe-distclean-target-rda: distclean-target-rda
27722 distclean-target-rda:
27723 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27724 r=`${PWD_COMMAND}`; export r; \
27725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27726 $(SET_LIB_PATH) \
27727 $(NORMAL_TARGET_EXPORTS) \
27728 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27729 for flag in $(EXTRA_TARGET_FLAGS); do \
27730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27731 done; \
27732 (cd $(TARGET_SUBDIR)/rda && \
27733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27735 "RANLIB=$${RANLIB}" \
27736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27737 distclean) \
27738 || exit 1
27740 @endif target-rda
27742 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27743 maybe-maintainer-clean-target-rda:
27744 @if target-rda
27745 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27747 maintainer-clean-target-rda:
27748 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27749 r=`${PWD_COMMAND}`; export r; \
27750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27751 $(SET_LIB_PATH) \
27752 $(NORMAL_TARGET_EXPORTS) \
27753 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27754 for flag in $(EXTRA_TARGET_FLAGS); do \
27755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27756 done; \
27757 (cd $(TARGET_SUBDIR)/rda && \
27758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27760 "RANLIB=$${RANLIB}" \
27761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27762 maintainer-clean) \
27763 || exit 1
27765 @endif target-rda
27768 .PHONY: configure-target-libada maybe-configure-target-libada
27769 maybe-configure-target-libada:
27770 @if target-libada
27771 maybe-configure-target-libada: configure-target-libada
27773 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27774 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27775 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27776 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27777 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27779 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27780 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27781 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27782 r=`${PWD_COMMAND}`; export r; \
27783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27784 $(SET_LIB_PATH) \
27785 $(NORMAL_TARGET_EXPORTS) \
27786 echo Configuring in $(TARGET_SUBDIR)/libada; \
27787 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27788 case $(srcdir) in \
27789 /* | [A-Za-z]:[\\/]*) \
27790 topdir=$(srcdir) ;; \
27791 *) \
27792 case "$(TARGET_SUBDIR)" in \
27793 .) topdir="../$(srcdir)" ;; \
27794 *) topdir="../../$(srcdir)" ;; \
27795 esac ;; \
27796 esac; \
27797 srcdiroption="--srcdir=$${topdir}/libada"; \
27798 libsrcdir="$$s/libada"; \
27799 rm -f no-such-file || : ; \
27800 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27801 $(TARGET_CONFIGARGS) $${srcdiroption} \
27802 --with-target-subdir="$(TARGET_SUBDIR)" \
27803 || exit 1
27804 @endif target-libada
27806 .PHONY: all-target-libada maybe-all-target-libada
27807 maybe-all-target-libada:
27808 @if target-libada
27809 TARGET-target-libada=all
27810 maybe-all-target-libada: all-target-libada
27811 all-target-libada: configure-target-libada
27812 @r=`${PWD_COMMAND}`; export r; \
27813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27814 $(SET_LIB_PATH) \
27815 $(NORMAL_TARGET_EXPORTS) \
27816 (cd $(TARGET_SUBDIR)/libada && \
27817 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
27818 @endif target-libada
27820 .PHONY: check-target-libada maybe-check-target-libada
27821 maybe-check-target-libada:
27822 @if target-libada
27823 maybe-check-target-libada: check-target-libada
27825 check-target-libada:
27826 @r=`${PWD_COMMAND}`; export r; \
27827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27828 $(SET_LIB_PATH) \
27829 $(NORMAL_TARGET_EXPORTS) \
27830 (cd $(TARGET_SUBDIR)/libada && \
27831 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27833 @endif target-libada
27835 .PHONY: install-target-libada maybe-install-target-libada
27836 maybe-install-target-libada:
27837 @if target-libada
27838 maybe-install-target-libada: install-target-libada
27840 install-target-libada: installdirs
27841 @r=`${PWD_COMMAND}`; export r; \
27842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27843 $(SET_LIB_PATH) \
27844 $(NORMAL_TARGET_EXPORTS) \
27845 (cd $(TARGET_SUBDIR)/libada && \
27846 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27848 @endif target-libada
27850 # Other targets (info, dvi, etc.)
27852 .PHONY: maybe-info-target-libada info-target-libada
27853 maybe-info-target-libada:
27854 @if target-libada
27855 maybe-info-target-libada: info-target-libada
27857 info-target-libada: \
27858 configure-target-libada
27859 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27860 r=`${PWD_COMMAND}`; export r; \
27861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27862 $(SET_LIB_PATH) \
27863 $(NORMAL_TARGET_EXPORTS) \
27864 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27865 for flag in $(EXTRA_TARGET_FLAGS); do \
27866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27867 done; \
27868 (cd $(TARGET_SUBDIR)/libada && \
27869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27871 "RANLIB=$${RANLIB}" \
27872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27873 info) \
27874 || exit 1
27876 @endif target-libada
27878 .PHONY: maybe-dvi-target-libada dvi-target-libada
27879 maybe-dvi-target-libada:
27880 @if target-libada
27881 maybe-dvi-target-libada: dvi-target-libada
27883 dvi-target-libada: \
27884 configure-target-libada
27885 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27886 r=`${PWD_COMMAND}`; export r; \
27887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27888 $(SET_LIB_PATH) \
27889 $(NORMAL_TARGET_EXPORTS) \
27890 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27891 for flag in $(EXTRA_TARGET_FLAGS); do \
27892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27893 done; \
27894 (cd $(TARGET_SUBDIR)/libada && \
27895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27897 "RANLIB=$${RANLIB}" \
27898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27899 dvi) \
27900 || exit 1
27902 @endif target-libada
27904 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27905 maybe-TAGS-target-libada:
27906 @if target-libada
27907 maybe-TAGS-target-libada: TAGS-target-libada
27909 TAGS-target-libada: \
27910 configure-target-libada
27911 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27912 r=`${PWD_COMMAND}`; export r; \
27913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27914 $(SET_LIB_PATH) \
27915 $(NORMAL_TARGET_EXPORTS) \
27916 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27917 for flag in $(EXTRA_TARGET_FLAGS); do \
27918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27919 done; \
27920 (cd $(TARGET_SUBDIR)/libada && \
27921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27923 "RANLIB=$${RANLIB}" \
27924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27925 TAGS) \
27926 || exit 1
27928 @endif target-libada
27930 .PHONY: maybe-install-info-target-libada install-info-target-libada
27931 maybe-install-info-target-libada:
27932 @if target-libada
27933 maybe-install-info-target-libada: install-info-target-libada
27935 install-info-target-libada: \
27936 configure-target-libada \
27937 info-target-libada
27938 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27939 r=`${PWD_COMMAND}`; export r; \
27940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27941 $(SET_LIB_PATH) \
27942 $(NORMAL_TARGET_EXPORTS) \
27943 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27944 for flag in $(EXTRA_TARGET_FLAGS); do \
27945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27946 done; \
27947 (cd $(TARGET_SUBDIR)/libada && \
27948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27950 "RANLIB=$${RANLIB}" \
27951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27952 install-info) \
27953 || exit 1
27955 @endif target-libada
27957 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27958 maybe-installcheck-target-libada:
27959 @if target-libada
27960 maybe-installcheck-target-libada: installcheck-target-libada
27962 installcheck-target-libada: \
27963 configure-target-libada
27964 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27965 r=`${PWD_COMMAND}`; export r; \
27966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27967 $(SET_LIB_PATH) \
27968 $(NORMAL_TARGET_EXPORTS) \
27969 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27970 for flag in $(EXTRA_TARGET_FLAGS); do \
27971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27972 done; \
27973 (cd $(TARGET_SUBDIR)/libada && \
27974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27976 "RANLIB=$${RANLIB}" \
27977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27978 installcheck) \
27979 || exit 1
27981 @endif target-libada
27983 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27984 maybe-mostlyclean-target-libada:
27985 @if target-libada
27986 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27988 mostlyclean-target-libada:
27989 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27990 r=`${PWD_COMMAND}`; export r; \
27991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27992 $(SET_LIB_PATH) \
27993 $(NORMAL_TARGET_EXPORTS) \
27994 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27995 for flag in $(EXTRA_TARGET_FLAGS); do \
27996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27997 done; \
27998 (cd $(TARGET_SUBDIR)/libada && \
27999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28001 "RANLIB=$${RANLIB}" \
28002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28003 mostlyclean) \
28004 || exit 1
28006 @endif target-libada
28008 .PHONY: maybe-clean-target-libada clean-target-libada
28009 maybe-clean-target-libada:
28010 @if target-libada
28011 maybe-clean-target-libada: clean-target-libada
28013 clean-target-libada:
28014 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28015 r=`${PWD_COMMAND}`; export r; \
28016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28017 $(SET_LIB_PATH) \
28018 $(NORMAL_TARGET_EXPORTS) \
28019 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
28020 for flag in $(EXTRA_TARGET_FLAGS); do \
28021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28022 done; \
28023 (cd $(TARGET_SUBDIR)/libada && \
28024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28026 "RANLIB=$${RANLIB}" \
28027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28028 clean) \
28029 || exit 1
28031 @endif target-libada
28033 .PHONY: maybe-distclean-target-libada distclean-target-libada
28034 maybe-distclean-target-libada:
28035 @if target-libada
28036 maybe-distclean-target-libada: distclean-target-libada
28038 distclean-target-libada:
28039 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28040 r=`${PWD_COMMAND}`; export r; \
28041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28042 $(SET_LIB_PATH) \
28043 $(NORMAL_TARGET_EXPORTS) \
28044 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
28045 for flag in $(EXTRA_TARGET_FLAGS); do \
28046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28047 done; \
28048 (cd $(TARGET_SUBDIR)/libada && \
28049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28051 "RANLIB=$${RANLIB}" \
28052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28053 distclean) \
28054 || exit 1
28056 @endif target-libada
28058 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
28059 maybe-maintainer-clean-target-libada:
28060 @if target-libada
28061 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
28063 maintainer-clean-target-libada:
28064 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28065 r=`${PWD_COMMAND}`; export r; \
28066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28067 $(SET_LIB_PATH) \
28068 $(NORMAL_TARGET_EXPORTS) \
28069 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
28070 for flag in $(EXTRA_TARGET_FLAGS); do \
28071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28072 done; \
28073 (cd $(TARGET_SUBDIR)/libada && \
28074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28076 "RANLIB=$${RANLIB}" \
28077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28078 maintainer-clean) \
28079 || exit 1
28081 @endif target-libada
28085 # ----------
28086 # GCC module
28087 # ----------
28089 @if gcc-no-bootstrap
28090 # GCC has some more recursive targets, which trigger the old
28091 # (but still current, until the toplevel bootstrap project
28092 # is finished) compiler bootstrapping rules.
28094 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
28095 .PHONY: $(GCC_STRAP_TARGETS)
28096 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
28097 @r=`${PWD_COMMAND}`; export r; \
28098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28099 $(SET_LIB_PATH) \
28100 $(HOST_EXPORTS) \
28101 echo "Bootstrapping the compiler"; \
28102 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
28103 @r=`${PWD_COMMAND}`; export r; \
28104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28105 case "$@" in \
28106 *bootstrap4-lean ) \
28107 msg="Comparing stage3 and stage4 of the compiler"; \
28108 compare=compare3-lean ;; \
28109 *bootstrap4 ) \
28110 msg="Comparing stage3 and stage4 of the compiler"; \
28111 compare=compare3 ;; \
28112 *-lean ) \
28113 msg="Comparing stage2 and stage3 of the compiler"; \
28114 compare=compare-lean ;; \
28115 * ) \
28116 msg="Comparing stage2 and stage3 of the compiler"; \
28117 compare=compare ;; \
28118 esac; \
28119 $(SET_LIB_PATH) \
28120 $(HOST_EXPORTS) \
28121 echo "$$msg"; \
28122 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
28123 @r=`${PWD_COMMAND}`; export r; \
28124 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28125 $(SET_LIB_PATH) \
28126 echo "Building runtime libraries"; \
28127 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28129 profiledbootstrap: all-prebootstrap configure-gcc
28130 @r=`${PWD_COMMAND}`; export r; \
28131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28132 $(SET_LIB_PATH) \
28133 $(HOST_EXPORTS) \
28134 echo "Bootstrapping training compiler"; \
28135 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
28136 @r=`${PWD_COMMAND}`; export r; \
28137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28138 $(SET_LIB_PATH) \
28139 $(HOST_EXPORTS) \
28140 echo "Building feedback based compiler"; \
28141 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
28142 @r=`${PWD_COMMAND}`; export r; \
28143 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28144 $(SET_LIB_PATH) \
28145 echo "Building runtime libraries"; \
28146 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28148 .PHONY: cross
28149 cross: all-build all-gas all-ld
28150 @r=`${PWD_COMMAND}`; export r; \
28151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28152 $(SET_LIB_PATH) \
28153 $(HOST_EXPORTS) \
28154 echo "Building the C and C++ compiler"; \
28155 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
28156 @r=`${PWD_COMMAND}`; export r; \
28157 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28158 $(SET_LIB_PATH) \
28159 echo "Building runtime libraries"; \
28160 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
28161 @endif gcc-no-bootstrap
28163 @if gcc
28164 .PHONY: check-gcc-c++
28165 check-gcc-c++:
28166 @if [ -f ./gcc/Makefile ] ; then \
28167 r=`${PWD_COMMAND}`; export r; \
28168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28169 $(SET_LIB_PATH) \
28170 $(HOST_EXPORTS) \
28171 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
28172 else \
28173 true; \
28176 .PHONY: check-c++
28177 check-c++: check-target-libstdc++-v3 check-gcc-c++
28179 # Install the gcc headers files, but not the fixed include files,
28180 # which Cygnus is not allowed to distribute. This rule is very
28181 # dependent on the workings of the gcc Makefile.in.
28182 .PHONY: gcc-no-fixedincludes
28183 gcc-no-fixedincludes:
28184 @if [ -f ./gcc/Makefile ]; then \
28185 rm -rf gcc/tmp-include; \
28186 mv gcc/include gcc/tmp-include 2>/dev/null; \
28187 mkdir gcc/include; \
28188 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
28189 touch gcc/stmp-fixinc gcc/include/fixed; \
28190 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
28191 r=`${PWD_COMMAND}`; export r; \
28192 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28193 $(SET_LIB_PATH) \
28194 $(HOST_EXPORTS) \
28195 (cd ./gcc && \
28196 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
28197 rm -rf gcc/include; \
28198 mv gcc/tmp-include gcc/include 2>/dev/null; \
28199 else true; fi
28200 @endif gcc
28202 # ---------------------
28203 # GCC bootstrap support
28204 # ---------------------
28206 # We track the current stage (the one in 'gcc') in the stage_current file.
28207 # stage_last instead tracks the stage that was built last. These targets
28208 # are dummy when toplevel bootstrap is not active.
28210 .PHONY: unstage
28211 unstage:
28212 @if gcc-bootstrap
28213 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
28214 @endif gcc-bootstrap
28216 .PHONY: stage
28217 stage:
28218 @if gcc-bootstrap
28219 @$(MAKE) `cat stage_current`-end
28220 @endif gcc-bootstrap
28222 # We name the build directories for the various stages "stage1-gcc",
28223 # "stage2-gcc","stage3-gcc", etc.
28225 # Since the 'compare' process will fail (on debugging information) if any
28226 # directory names are different, we need to link the gcc directory for
28227 # the previous stage to a constant name ('gcc-prev'), and to make the name of
28228 # the build directories constant as well. For the latter, we use naked names
28229 # like 'gcc', because the scripts in that directory assume it. We use
28230 # mv on platforms where symlinks to directories do not work or are not
28231 # reliable.
28233 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
28234 # be kept, so that libraries can find it. Ick!
28236 # It would be best to preinstall gcc into a staging area (and in the
28237 # future, gather there all prebootstrap packages). This would allow
28238 # assemblers and linkers can be bootstrapped as well as the compiler
28239 # (both in a combined tree, or separately). This however requires some
28240 # change to the gcc driver, again in order to avoid comparison failures.
28242 # Bugs: This is crippled when doing parallel make, the `make all-host'
28243 # and `make all-target' phases can be parallelized.
28246 # 'touch' doesn't work right on some platforms.
28247 STAMP = echo timestamp >
28249 # Only build the C compiler for stage1, because that is the only one that
28250 # we can guarantee will build with the native compiler, and also it is the
28251 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
28252 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
28253 # overrideable (for a bootstrap build stage1 also builds gcc.info).
28255 STAGE1_CFLAGS=@stage1_cflags@
28256 STAGE1_LANGUAGES=@stage1_languages@
28258 # We only want to compare .o files, so set this!
28259 objext = .o
28261 # Flags to pass to stage2 and later makes.
28262 POSTSTAGE1_FLAGS_TO_PASS = \
28263 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
28264 STAGE_PREFIX=$$r/stage-gcc/ \
28265 CFLAGS="$(BOOT_CFLAGS)" \
28266 ADAC="\$$(CC)"
28268 # For stage 1:
28269 # * We force-disable intermodule optimizations, even if
28270 # --enable-intermodule was passed, since the installed compiler probably
28271 # can't handle them. Luckily, autoconf always respects
28272 # the last argument when conflicting --enable arguments are passed.
28273 # * Likewise, we force-disable coverage flags, since the installed compiler
28274 # probably has never heard of them.
28275 # * We build only C (and possibly Ada).
28278 .PHONY: stage1-start stage1-end
28280 stage1-start::
28281 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
28282 echo stage1 > stage_current ; \
28283 echo stage1 > stage_last
28284 @if bfd
28285 @[ -d stage1-bfd ] || mkdir stage1-bfd; \
28286 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
28287 @endif bfd
28288 @if opcodes
28289 @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
28290 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
28291 @endif opcodes
28292 @if binutils
28293 @[ -d stage1-binutils ] || mkdir stage1-binutils; \
28294 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
28295 @endif binutils
28296 @if gas
28297 @[ -d stage1-gas ] || mkdir stage1-gas; \
28298 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
28299 @endif gas
28300 @if gcc
28301 @[ -d stage1-gcc ] || mkdir stage1-gcc; \
28302 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
28303 @endif gcc
28304 @if intl
28305 @[ -d stage1-intl ] || mkdir stage1-intl; \
28306 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
28307 @endif intl
28308 @if ld
28309 @[ -d stage1-ld ] || mkdir stage1-ld; \
28310 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
28311 @endif ld
28312 @if libcpp
28313 @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
28314 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
28315 @endif libcpp
28316 @if libiberty
28317 @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
28318 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
28319 @endif libiberty
28320 @if zlib
28321 @[ -d stage1-zlib ] || mkdir stage1-zlib; \
28322 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
28323 @endif zlib
28325 stage1-end::
28326 @rm -f stage_current
28327 @if bfd
28328 @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
28329 @endif bfd
28330 @if opcodes
28331 @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
28332 @endif opcodes
28333 @if binutils
28334 @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
28335 @endif binutils
28336 @if gas
28337 @set gas stage1-gas ; @UNDO_LINK_TO_DIR@
28338 @endif gas
28339 @if gcc
28340 @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28341 @endif gcc
28342 @if intl
28343 @set intl stage1-intl ; @UNDO_LINK_TO_DIR@
28344 @endif intl
28345 @if ld
28346 @set ld stage1-ld ; @UNDO_LINK_TO_DIR@
28347 @endif ld
28348 @if libcpp
28349 @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
28350 @endif libcpp
28351 @if libiberty
28352 @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
28353 @endif libiberty
28354 @if zlib
28355 @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
28356 @endif zlib
28358 # Bubble a bugfix through all the stages up to stage 1. They
28359 # are remade, but not reconfigured. The next stage (if any) will not
28360 # be reconfigured as well.
28361 .PHONY: stage1-bubble
28362 stage1-bubble::
28363 @if test -f stage1-lean ; then \
28364 echo Skipping rebuild of stage1 ; \
28365 else \
28366 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
28369 .PHONY: all-stage1 clean-stage1
28370 all-stage1: \
28371 maybe-all-stage1-bfd \
28372 maybe-all-stage1-opcodes \
28373 maybe-all-stage1-binutils \
28374 maybe-all-stage1-gas \
28375 maybe-all-stage1-gcc \
28376 maybe-all-stage1-intl \
28377 maybe-all-stage1-ld \
28378 maybe-all-stage1-libcpp \
28379 maybe-all-stage1-libiberty \
28380 maybe-all-stage1-zlib
28382 do-clean: clean-stage1
28383 clean-stage1: \
28384 maybe-clean-stage1-bfd \
28385 maybe-clean-stage1-opcodes \
28386 maybe-clean-stage1-binutils \
28387 maybe-clean-stage1-gas \
28388 maybe-clean-stage1-gcc \
28389 maybe-clean-stage1-intl \
28390 maybe-clean-stage1-ld \
28391 maybe-clean-stage1-libcpp \
28392 maybe-clean-stage1-libiberty \
28393 maybe-clean-stage1-zlib
28396 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
28397 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
28398 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
28400 maybe-configure-stage1-bfd:
28401 maybe-all-stage1-bfd:
28402 maybe-clean-stage1-bfd:
28404 @if bfd-bootstrap
28405 maybe-configure-stage1-bfd: configure-stage1-bfd
28406 configure-stage1-bfd:
28407 @$(MAKE) stage1-start
28408 @[ -f bfd/Makefile ] && exit 0 || : ; \
28409 r=`${PWD_COMMAND}`; export r; \
28410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28411 $(HOST_EXPORTS) \
28412 echo Configuring stage 1 in bfd ; \
28413 cd bfd || exit 1; \
28414 case $(srcdir) in \
28415 \.) \
28416 srcdiroption="--srcdir=."; \
28417 libsrcdir=".";; \
28418 /* | [A-Za-z]:[\\/]*) \
28419 srcdiroption="--srcdir=$(srcdir)/bfd"; \
28420 libsrcdir="$$s/bfd";; \
28421 *) \
28422 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28423 libsrcdir="$$s/bfd";; \
28424 esac; \
28425 $(SHELL) $${libsrcdir}/configure \
28426 $(HOST_CONFIGARGS) $${srcdiroption} \
28427 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28429 maybe-all-stage1-bfd: all-stage1-bfd
28430 all-stage1-bfd: configure-stage1-bfd
28431 @$(MAKE) stage1-start
28432 @r=`${PWD_COMMAND}`; export r; \
28433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28434 $(HOST_EXPORTS) \
28435 cd bfd && \
28436 $(MAKE) $(FLAGS_TO_PASS) \
28437 CFLAGS="$(STAGE1_CFLAGS)"
28439 maybe-clean-stage1-bfd: clean-stage1-bfd
28440 clean-stage1-bfd:
28441 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
28442 || exit 0 ; \
28443 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
28444 cd bfd && \
28445 $(MAKE) $(FLAGS_TO_PASS) \
28446 CFLAGS="$(STAGE1_CFLAGS)" clean
28447 @endif bfd-bootstrap
28450 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
28451 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
28452 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
28454 maybe-configure-stage1-opcodes:
28455 maybe-all-stage1-opcodes:
28456 maybe-clean-stage1-opcodes:
28458 @if opcodes-bootstrap
28459 maybe-configure-stage1-opcodes: configure-stage1-opcodes
28460 configure-stage1-opcodes:
28461 @$(MAKE) stage1-start
28462 @[ -f opcodes/Makefile ] && exit 0 || : ; \
28463 r=`${PWD_COMMAND}`; export r; \
28464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28465 $(HOST_EXPORTS) \
28466 echo Configuring stage 1 in opcodes ; \
28467 cd opcodes || exit 1; \
28468 case $(srcdir) in \
28469 \.) \
28470 srcdiroption="--srcdir=."; \
28471 libsrcdir=".";; \
28472 /* | [A-Za-z]:[\\/]*) \
28473 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
28474 libsrcdir="$$s/opcodes";; \
28475 *) \
28476 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
28477 libsrcdir="$$s/opcodes";; \
28478 esac; \
28479 $(SHELL) $${libsrcdir}/configure \
28480 $(HOST_CONFIGARGS) $${srcdiroption} \
28481 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28483 maybe-all-stage1-opcodes: all-stage1-opcodes
28484 all-stage1-opcodes: configure-stage1-opcodes
28485 @$(MAKE) stage1-start
28486 @r=`${PWD_COMMAND}`; export r; \
28487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28488 $(HOST_EXPORTS) \
28489 cd opcodes && \
28490 $(MAKE) $(FLAGS_TO_PASS) \
28491 CFLAGS="$(STAGE1_CFLAGS)"
28493 maybe-clean-stage1-opcodes: clean-stage1-opcodes
28494 clean-stage1-opcodes:
28495 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
28496 || exit 0 ; \
28497 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
28498 cd opcodes && \
28499 $(MAKE) $(FLAGS_TO_PASS) \
28500 CFLAGS="$(STAGE1_CFLAGS)" clean
28501 @endif opcodes-bootstrap
28504 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
28505 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
28506 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
28508 maybe-configure-stage1-binutils:
28509 maybe-all-stage1-binutils:
28510 maybe-clean-stage1-binutils:
28512 @if binutils-bootstrap
28513 maybe-configure-stage1-binutils: configure-stage1-binutils
28514 configure-stage1-binutils:
28515 @$(MAKE) stage1-start
28516 @[ -f binutils/Makefile ] && exit 0 || : ; \
28517 r=`${PWD_COMMAND}`; export r; \
28518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28519 $(HOST_EXPORTS) \
28520 echo Configuring stage 1 in binutils ; \
28521 cd binutils || exit 1; \
28522 case $(srcdir) in \
28523 \.) \
28524 srcdiroption="--srcdir=."; \
28525 libsrcdir=".";; \
28526 /* | [A-Za-z]:[\\/]*) \
28527 srcdiroption="--srcdir=$(srcdir)/binutils"; \
28528 libsrcdir="$$s/binutils";; \
28529 *) \
28530 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
28531 libsrcdir="$$s/binutils";; \
28532 esac; \
28533 $(SHELL) $${libsrcdir}/configure \
28534 $(HOST_CONFIGARGS) $${srcdiroption} \
28535 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28537 maybe-all-stage1-binutils: all-stage1-binutils
28538 all-stage1-binutils: configure-stage1-binutils
28539 @$(MAKE) stage1-start
28540 @r=`${PWD_COMMAND}`; export r; \
28541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28542 $(HOST_EXPORTS) \
28543 cd binutils && \
28544 $(MAKE) $(FLAGS_TO_PASS) \
28545 CFLAGS="$(STAGE1_CFLAGS)"
28547 maybe-clean-stage1-binutils: clean-stage1-binutils
28548 clean-stage1-binutils:
28549 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
28550 || exit 0 ; \
28551 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
28552 cd binutils && \
28553 $(MAKE) $(FLAGS_TO_PASS) \
28554 CFLAGS="$(STAGE1_CFLAGS)" clean
28555 @endif binutils-bootstrap
28558 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
28559 .PHONY: all-stage1-gas maybe-all-stage1-gas
28560 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
28562 maybe-configure-stage1-gas:
28563 maybe-all-stage1-gas:
28564 maybe-clean-stage1-gas:
28566 @if gas-bootstrap
28567 maybe-configure-stage1-gas: configure-stage1-gas
28568 configure-stage1-gas:
28569 @$(MAKE) stage1-start
28570 @[ -f gas/Makefile ] && exit 0 || : ; \
28571 r=`${PWD_COMMAND}`; export r; \
28572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28573 $(HOST_EXPORTS) \
28574 echo Configuring stage 1 in gas ; \
28575 cd gas || exit 1; \
28576 case $(srcdir) in \
28577 \.) \
28578 srcdiroption="--srcdir=."; \
28579 libsrcdir=".";; \
28580 /* | [A-Za-z]:[\\/]*) \
28581 srcdiroption="--srcdir=$(srcdir)/gas"; \
28582 libsrcdir="$$s/gas";; \
28583 *) \
28584 srcdiroption="--srcdir=../$(srcdir)/gas"; \
28585 libsrcdir="$$s/gas";; \
28586 esac; \
28587 $(SHELL) $${libsrcdir}/configure \
28588 $(HOST_CONFIGARGS) $${srcdiroption} \
28589 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28591 maybe-all-stage1-gas: all-stage1-gas
28592 all-stage1-gas: configure-stage1-gas
28593 @$(MAKE) stage1-start
28594 @r=`${PWD_COMMAND}`; export r; \
28595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28596 $(HOST_EXPORTS) \
28597 cd gas && \
28598 $(MAKE) $(FLAGS_TO_PASS) \
28599 CFLAGS="$(STAGE1_CFLAGS)"
28601 maybe-clean-stage1-gas: clean-stage1-gas
28602 clean-stage1-gas:
28603 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
28604 || exit 0 ; \
28605 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
28606 cd gas && \
28607 $(MAKE) $(FLAGS_TO_PASS) \
28608 CFLAGS="$(STAGE1_CFLAGS)" clean
28609 @endif gas-bootstrap
28612 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
28613 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
28614 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
28616 maybe-configure-stage1-gcc:
28617 maybe-all-stage1-gcc:
28618 maybe-clean-stage1-gcc:
28620 @if gcc-bootstrap
28621 maybe-configure-stage1-gcc: configure-stage1-gcc
28622 configure-stage1-gcc:
28623 @$(MAKE) stage1-start
28624 @[ -f gcc/Makefile ] && exit 0 || : ; \
28625 r=`${PWD_COMMAND}`; export r; \
28626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28627 $(HOST_EXPORTS) \
28628 echo Configuring stage 1 in gcc ; \
28629 cd gcc || exit 1; \
28630 case $(srcdir) in \
28631 \.) \
28632 srcdiroption="--srcdir=."; \
28633 libsrcdir=".";; \
28634 /* | [A-Za-z]:[\\/]*) \
28635 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28636 libsrcdir="$$s/gcc";; \
28637 *) \
28638 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28639 libsrcdir="$$s/gcc";; \
28640 esac; \
28641 $(SHELL) $${libsrcdir}/configure \
28642 $(HOST_CONFIGARGS) $${srcdiroption} \
28643 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28645 maybe-all-stage1-gcc: all-stage1-gcc
28646 all-stage1-gcc: configure-stage1-gcc
28647 @$(MAKE) stage1-start
28648 @r=`${PWD_COMMAND}`; export r; \
28649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28650 $(HOST_EXPORTS) \
28651 cd gcc && \
28652 $(MAKE) $(FLAGS_TO_PASS) \
28653 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
28655 maybe-clean-stage1-gcc: clean-stage1-gcc
28656 clean-stage1-gcc:
28657 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
28658 || exit 0 ; \
28659 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
28660 cd gcc && \
28661 $(MAKE) $(FLAGS_TO_PASS) \
28662 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
28663 @endif gcc-bootstrap
28666 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
28667 .PHONY: all-stage1-intl maybe-all-stage1-intl
28668 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
28670 maybe-configure-stage1-intl:
28671 maybe-all-stage1-intl:
28672 maybe-clean-stage1-intl:
28674 @if intl-bootstrap
28675 maybe-configure-stage1-intl: configure-stage1-intl
28676 configure-stage1-intl:
28677 @$(MAKE) stage1-start
28678 @[ -f intl/Makefile ] && exit 0 || : ; \
28679 r=`${PWD_COMMAND}`; export r; \
28680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28681 $(HOST_EXPORTS) \
28682 echo Configuring stage 1 in intl ; \
28683 cd intl || exit 1; \
28684 case $(srcdir) in \
28685 \.) \
28686 srcdiroption="--srcdir=."; \
28687 libsrcdir=".";; \
28688 /* | [A-Za-z]:[\\/]*) \
28689 srcdiroption="--srcdir=$(srcdir)/intl"; \
28690 libsrcdir="$$s/intl";; \
28691 *) \
28692 srcdiroption="--srcdir=../$(srcdir)/intl"; \
28693 libsrcdir="$$s/intl";; \
28694 esac; \
28695 $(SHELL) $${libsrcdir}/configure \
28696 $(HOST_CONFIGARGS) $${srcdiroption} \
28697 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28699 maybe-all-stage1-intl: all-stage1-intl
28700 all-stage1-intl: configure-stage1-intl
28701 @$(MAKE) stage1-start
28702 @r=`${PWD_COMMAND}`; export r; \
28703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28704 $(HOST_EXPORTS) \
28705 cd intl && \
28706 $(MAKE) $(FLAGS_TO_PASS) \
28707 CFLAGS="$(STAGE1_CFLAGS)"
28709 maybe-clean-stage1-intl: clean-stage1-intl
28710 clean-stage1-intl:
28711 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
28712 || exit 0 ; \
28713 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
28714 cd intl && \
28715 $(MAKE) $(FLAGS_TO_PASS) \
28716 CFLAGS="$(STAGE1_CFLAGS)" clean
28717 @endif intl-bootstrap
28720 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
28721 .PHONY: all-stage1-ld maybe-all-stage1-ld
28722 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
28724 maybe-configure-stage1-ld:
28725 maybe-all-stage1-ld:
28726 maybe-clean-stage1-ld:
28728 @if ld-bootstrap
28729 maybe-configure-stage1-ld: configure-stage1-ld
28730 configure-stage1-ld:
28731 @$(MAKE) stage1-start
28732 @[ -f ld/Makefile ] && exit 0 || : ; \
28733 r=`${PWD_COMMAND}`; export r; \
28734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28735 $(HOST_EXPORTS) \
28736 echo Configuring stage 1 in ld ; \
28737 cd ld || exit 1; \
28738 case $(srcdir) in \
28739 \.) \
28740 srcdiroption="--srcdir=."; \
28741 libsrcdir=".";; \
28742 /* | [A-Za-z]:[\\/]*) \
28743 srcdiroption="--srcdir=$(srcdir)/ld"; \
28744 libsrcdir="$$s/ld";; \
28745 *) \
28746 srcdiroption="--srcdir=../$(srcdir)/ld"; \
28747 libsrcdir="$$s/ld";; \
28748 esac; \
28749 $(SHELL) $${libsrcdir}/configure \
28750 $(HOST_CONFIGARGS) $${srcdiroption} \
28751 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28753 maybe-all-stage1-ld: all-stage1-ld
28754 all-stage1-ld: configure-stage1-ld
28755 @$(MAKE) stage1-start
28756 @r=`${PWD_COMMAND}`; export r; \
28757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28758 $(HOST_EXPORTS) \
28759 cd ld && \
28760 $(MAKE) $(FLAGS_TO_PASS) \
28761 CFLAGS="$(STAGE1_CFLAGS)"
28763 maybe-clean-stage1-ld: clean-stage1-ld
28764 clean-stage1-ld:
28765 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
28766 || exit 0 ; \
28767 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
28768 cd ld && \
28769 $(MAKE) $(FLAGS_TO_PASS) \
28770 CFLAGS="$(STAGE1_CFLAGS)" clean
28771 @endif ld-bootstrap
28774 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
28775 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
28776 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
28778 maybe-configure-stage1-libcpp:
28779 maybe-all-stage1-libcpp:
28780 maybe-clean-stage1-libcpp:
28782 @if libcpp-bootstrap
28783 maybe-configure-stage1-libcpp: configure-stage1-libcpp
28784 configure-stage1-libcpp:
28785 @$(MAKE) stage1-start
28786 @[ -f libcpp/Makefile ] && exit 0 || : ; \
28787 r=`${PWD_COMMAND}`; export r; \
28788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28789 $(HOST_EXPORTS) \
28790 echo Configuring stage 1 in libcpp ; \
28791 cd libcpp || exit 1; \
28792 case $(srcdir) in \
28793 \.) \
28794 srcdiroption="--srcdir=."; \
28795 libsrcdir=".";; \
28796 /* | [A-Za-z]:[\\/]*) \
28797 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
28798 libsrcdir="$$s/libcpp";; \
28799 *) \
28800 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
28801 libsrcdir="$$s/libcpp";; \
28802 esac; \
28803 $(SHELL) $${libsrcdir}/configure \
28804 $(HOST_CONFIGARGS) $${srcdiroption} \
28805 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28807 maybe-all-stage1-libcpp: all-stage1-libcpp
28808 all-stage1-libcpp: configure-stage1-libcpp
28809 @$(MAKE) stage1-start
28810 @r=`${PWD_COMMAND}`; export r; \
28811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28812 $(HOST_EXPORTS) \
28813 cd libcpp && \
28814 $(MAKE) $(FLAGS_TO_PASS) \
28815 CFLAGS="$(STAGE1_CFLAGS)"
28817 maybe-clean-stage1-libcpp: clean-stage1-libcpp
28818 clean-stage1-libcpp:
28819 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
28820 || exit 0 ; \
28821 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
28822 cd libcpp && \
28823 $(MAKE) $(FLAGS_TO_PASS) \
28824 CFLAGS="$(STAGE1_CFLAGS)" clean
28825 @endif libcpp-bootstrap
28828 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
28829 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
28830 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
28832 maybe-configure-stage1-libiberty:
28833 maybe-all-stage1-libiberty:
28834 maybe-clean-stage1-libiberty:
28836 @if libiberty-bootstrap
28837 maybe-configure-stage1-libiberty: configure-stage1-libiberty
28838 configure-stage1-libiberty:
28839 @$(MAKE) stage1-start
28840 @[ -f libiberty/Makefile ] && exit 0 || : ; \
28841 r=`${PWD_COMMAND}`; export r; \
28842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28843 $(HOST_EXPORTS) \
28844 echo Configuring stage 1 in libiberty ; \
28845 cd libiberty || exit 1; \
28846 case $(srcdir) in \
28847 \.) \
28848 srcdiroption="--srcdir=."; \
28849 libsrcdir=".";; \
28850 /* | [A-Za-z]:[\\/]*) \
28851 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
28852 libsrcdir="$$s/libiberty";; \
28853 *) \
28854 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
28855 libsrcdir="$$s/libiberty";; \
28856 esac; \
28857 $(SHELL) $${libsrcdir}/configure \
28858 $(HOST_CONFIGARGS) $${srcdiroption} \
28859 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28861 maybe-all-stage1-libiberty: all-stage1-libiberty
28862 all-stage1-libiberty: configure-stage1-libiberty
28863 @$(MAKE) stage1-start
28864 @r=`${PWD_COMMAND}`; export r; \
28865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28866 $(HOST_EXPORTS) \
28867 cd libiberty && \
28868 $(MAKE) $(FLAGS_TO_PASS) \
28869 CFLAGS="$(STAGE1_CFLAGS)"
28871 maybe-clean-stage1-libiberty: clean-stage1-libiberty
28872 clean-stage1-libiberty:
28873 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
28874 || exit 0 ; \
28875 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
28876 cd libiberty && \
28877 $(MAKE) $(FLAGS_TO_PASS) \
28878 CFLAGS="$(STAGE1_CFLAGS)" clean
28879 @endif libiberty-bootstrap
28882 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
28883 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
28884 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
28886 maybe-configure-stage1-zlib:
28887 maybe-all-stage1-zlib:
28888 maybe-clean-stage1-zlib:
28890 @if zlib-bootstrap
28891 maybe-configure-stage1-zlib: configure-stage1-zlib
28892 configure-stage1-zlib:
28893 @$(MAKE) stage1-start
28894 @[ -f zlib/Makefile ] && exit 0 || : ; \
28895 r=`${PWD_COMMAND}`; export r; \
28896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28897 $(HOST_EXPORTS) \
28898 echo Configuring stage 1 in zlib ; \
28899 cd zlib || exit 1; \
28900 case $(srcdir) in \
28901 \.) \
28902 srcdiroption="--srcdir=."; \
28903 libsrcdir=".";; \
28904 /* | [A-Za-z]:[\\/]*) \
28905 srcdiroption="--srcdir=$(srcdir)/zlib"; \
28906 libsrcdir="$$s/zlib";; \
28907 *) \
28908 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
28909 libsrcdir="$$s/zlib";; \
28910 esac; \
28911 $(SHELL) $${libsrcdir}/configure \
28912 $(HOST_CONFIGARGS) $${srcdiroption} \
28913 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28915 maybe-all-stage1-zlib: all-stage1-zlib
28916 all-stage1-zlib: configure-stage1-zlib
28917 @$(MAKE) stage1-start
28918 @r=`${PWD_COMMAND}`; export r; \
28919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28920 $(HOST_EXPORTS) \
28921 cd zlib && \
28922 $(MAKE) $(FLAGS_TO_PASS) \
28923 CFLAGS="$(STAGE1_CFLAGS)"
28925 maybe-clean-stage1-zlib: clean-stage1-zlib
28926 clean-stage1-zlib:
28927 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
28928 || exit 0 ; \
28929 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
28930 cd zlib && \
28931 $(MAKE) $(FLAGS_TO_PASS) \
28932 CFLAGS="$(STAGE1_CFLAGS)" clean
28933 @endif zlib-bootstrap
28937 # FIXME: Will not need to be conditional when toplevel bootstrap is the
28938 # only possibility, but now it conflicts with no-bootstrap rules
28939 @if gcc-bootstrap
28944 # Rules to wipe a stage and all the following ones, also used for cleanstrap
28946 .PHONY: distclean-stage1
28947 distclean-stage1::
28948 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28949 rm -rf stage1-*
28952 @endif gcc-bootstrap
28955 .PHONY: stage2-start stage2-end
28957 stage2-start::
28958 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
28959 echo stage2 > stage_current ; \
28960 echo stage2 > stage_last
28961 @if bfd
28962 @[ -d stage2-bfd ] || mkdir stage2-bfd; \
28963 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
28964 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
28965 @endif bfd
28966 @if opcodes
28967 @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
28968 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
28969 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
28970 @endif opcodes
28971 @if binutils
28972 @[ -d stage2-binutils ] || mkdir stage2-binutils; \
28973 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
28974 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
28975 @endif binutils
28976 @if gas
28977 @[ -d stage2-gas ] || mkdir stage2-gas; \
28978 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
28979 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
28980 @endif gas
28981 @if gcc
28982 @[ -d stage2-gcc ] || mkdir stage2-gcc; \
28983 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28984 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28985 @endif gcc
28986 @if intl
28987 @[ -d stage2-intl ] || mkdir stage2-intl; \
28988 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
28989 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
28990 @endif intl
28991 @if ld
28992 @[ -d stage2-ld ] || mkdir stage2-ld; \
28993 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
28994 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
28995 @endif ld
28996 @if libcpp
28997 @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
28998 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
28999 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
29000 @endif libcpp
29001 @if libiberty
29002 @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
29003 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
29004 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
29005 @endif libiberty
29006 @if zlib
29007 @[ -d stage2-zlib ] || mkdir stage2-zlib; \
29008 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
29009 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
29010 @endif zlib
29012 stage2-end::
29013 @rm -f stage_current
29014 @if bfd
29015 @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
29016 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
29017 @endif bfd
29018 @if opcodes
29019 @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
29020 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
29021 @endif opcodes
29022 @if binutils
29023 @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
29024 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
29025 @endif binutils
29026 @if gas
29027 @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
29028 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
29029 @endif gas
29030 @if gcc
29031 @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
29032 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
29033 @endif gcc
29034 @if intl
29035 @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
29036 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
29037 @endif intl
29038 @if ld
29039 @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
29040 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
29041 @endif ld
29042 @if libcpp
29043 @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
29044 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
29045 @endif libcpp
29046 @if libiberty
29047 @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
29048 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
29049 @endif libiberty
29050 @if zlib
29051 @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
29052 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
29053 @endif zlib
29055 # Bubble a bugfix through all the stages up to stage 2. They
29056 # are remade, but not reconfigured. The next stage (if any) will not
29057 # be reconfigured as well.
29058 .PHONY: stage2-bubble
29059 stage2-bubble:: stage1-bubble
29060 @if test -f stage2-lean || test -f stage1-lean ; then \
29061 echo Skipping rebuild of stage2 ; \
29062 else \
29063 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
29066 .PHONY: all-stage2 clean-stage2
29067 all-stage2: \
29068 maybe-all-stage2-bfd \
29069 maybe-all-stage2-opcodes \
29070 maybe-all-stage2-binutils \
29071 maybe-all-stage2-gas \
29072 maybe-all-stage2-gcc \
29073 maybe-all-stage2-intl \
29074 maybe-all-stage2-ld \
29075 maybe-all-stage2-libcpp \
29076 maybe-all-stage2-libiberty \
29077 maybe-all-stage2-zlib
29079 do-clean: clean-stage2
29080 clean-stage2: \
29081 maybe-clean-stage2-bfd \
29082 maybe-clean-stage2-opcodes \
29083 maybe-clean-stage2-binutils \
29084 maybe-clean-stage2-gas \
29085 maybe-clean-stage2-gcc \
29086 maybe-clean-stage2-intl \
29087 maybe-clean-stage2-ld \
29088 maybe-clean-stage2-libcpp \
29089 maybe-clean-stage2-libiberty \
29090 maybe-clean-stage2-zlib
29093 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
29094 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
29095 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
29097 maybe-configure-stage2-bfd:
29098 maybe-all-stage2-bfd:
29099 maybe-clean-stage2-bfd:
29101 @if bfd-bootstrap
29102 maybe-configure-stage2-bfd: configure-stage2-bfd
29103 configure-stage2-bfd:
29104 @$(MAKE) stage2-start
29105 @[ -f bfd/Makefile ] && exit 0 || : ; \
29106 r=`${PWD_COMMAND}`; export r; \
29107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29108 $(STAGE_HOST_EXPORTS) \
29109 echo Configuring stage 2 in bfd ; \
29110 cd bfd || exit 1; \
29111 case $(srcdir) in \
29112 \.) \
29113 srcdiroption="--srcdir=."; \
29114 libsrcdir=".";; \
29115 /* | [A-Za-z]:[\\/]*) \
29116 srcdiroption="--srcdir=$(srcdir)/bfd"; \
29117 libsrcdir="$$s/bfd";; \
29118 *) \
29119 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
29120 libsrcdir="$$s/bfd";; \
29121 esac; \
29122 $(SHELL) $${libsrcdir}/configure \
29123 $(HOST_CONFIGARGS) $${srcdiroption} \
29124 @stage2_werror_flag@
29126 maybe-all-stage2-bfd: all-stage2-bfd
29127 all-stage2-bfd: configure-stage2-bfd
29128 @$(MAKE) stage2-start
29129 @r=`${PWD_COMMAND}`; export r; \
29130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29131 $(STAGE_HOST_EXPORTS) \
29132 cd bfd && \
29133 $(MAKE) $(FLAGS_TO_PASS) \
29134 $(POSTSTAGE1_FLAGS_TO_PASS) \
29137 maybe-clean-stage2-bfd: clean-stage2-bfd
29138 clean-stage2-bfd:
29139 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
29140 || exit 0 ; \
29141 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
29142 cd bfd && \
29143 $(MAKE) $(FLAGS_TO_PASS) \
29144 $(POSTSTAGE1_FLAGS_TO_PASS) \
29145 clean
29146 @endif bfd-bootstrap
29149 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
29150 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
29151 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
29153 maybe-configure-stage2-opcodes:
29154 maybe-all-stage2-opcodes:
29155 maybe-clean-stage2-opcodes:
29157 @if opcodes-bootstrap
29158 maybe-configure-stage2-opcodes: configure-stage2-opcodes
29159 configure-stage2-opcodes:
29160 @$(MAKE) stage2-start
29161 @[ -f opcodes/Makefile ] && exit 0 || : ; \
29162 r=`${PWD_COMMAND}`; export r; \
29163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29164 $(STAGE_HOST_EXPORTS) \
29165 echo Configuring stage 2 in opcodes ; \
29166 cd opcodes || exit 1; \
29167 case $(srcdir) in \
29168 \.) \
29169 srcdiroption="--srcdir=."; \
29170 libsrcdir=".";; \
29171 /* | [A-Za-z]:[\\/]*) \
29172 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
29173 libsrcdir="$$s/opcodes";; \
29174 *) \
29175 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
29176 libsrcdir="$$s/opcodes";; \
29177 esac; \
29178 $(SHELL) $${libsrcdir}/configure \
29179 $(HOST_CONFIGARGS) $${srcdiroption} \
29180 @stage2_werror_flag@
29182 maybe-all-stage2-opcodes: all-stage2-opcodes
29183 all-stage2-opcodes: configure-stage2-opcodes
29184 @$(MAKE) stage2-start
29185 @r=`${PWD_COMMAND}`; export r; \
29186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29187 $(STAGE_HOST_EXPORTS) \
29188 cd opcodes && \
29189 $(MAKE) $(FLAGS_TO_PASS) \
29190 $(POSTSTAGE1_FLAGS_TO_PASS) \
29193 maybe-clean-stage2-opcodes: clean-stage2-opcodes
29194 clean-stage2-opcodes:
29195 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
29196 || exit 0 ; \
29197 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
29198 cd opcodes && \
29199 $(MAKE) $(FLAGS_TO_PASS) \
29200 $(POSTSTAGE1_FLAGS_TO_PASS) \
29201 clean
29202 @endif opcodes-bootstrap
29205 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
29206 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
29207 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
29209 maybe-configure-stage2-binutils:
29210 maybe-all-stage2-binutils:
29211 maybe-clean-stage2-binutils:
29213 @if binutils-bootstrap
29214 maybe-configure-stage2-binutils: configure-stage2-binutils
29215 configure-stage2-binutils:
29216 @$(MAKE) stage2-start
29217 @[ -f binutils/Makefile ] && exit 0 || : ; \
29218 r=`${PWD_COMMAND}`; export r; \
29219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29220 $(STAGE_HOST_EXPORTS) \
29221 echo Configuring stage 2 in binutils ; \
29222 cd binutils || exit 1; \
29223 case $(srcdir) in \
29224 \.) \
29225 srcdiroption="--srcdir=."; \
29226 libsrcdir=".";; \
29227 /* | [A-Za-z]:[\\/]*) \
29228 srcdiroption="--srcdir=$(srcdir)/binutils"; \
29229 libsrcdir="$$s/binutils";; \
29230 *) \
29231 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
29232 libsrcdir="$$s/binutils";; \
29233 esac; \
29234 $(SHELL) $${libsrcdir}/configure \
29235 $(HOST_CONFIGARGS) $${srcdiroption} \
29236 @stage2_werror_flag@
29238 maybe-all-stage2-binutils: all-stage2-binutils
29239 all-stage2-binutils: configure-stage2-binutils
29240 @$(MAKE) stage2-start
29241 @r=`${PWD_COMMAND}`; export r; \
29242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29243 $(STAGE_HOST_EXPORTS) \
29244 cd binutils && \
29245 $(MAKE) $(FLAGS_TO_PASS) \
29246 $(POSTSTAGE1_FLAGS_TO_PASS) \
29249 maybe-clean-stage2-binutils: clean-stage2-binutils
29250 clean-stage2-binutils:
29251 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
29252 || exit 0 ; \
29253 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
29254 cd binutils && \
29255 $(MAKE) $(FLAGS_TO_PASS) \
29256 $(POSTSTAGE1_FLAGS_TO_PASS) \
29257 clean
29258 @endif binutils-bootstrap
29261 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
29262 .PHONY: all-stage2-gas maybe-all-stage2-gas
29263 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
29265 maybe-configure-stage2-gas:
29266 maybe-all-stage2-gas:
29267 maybe-clean-stage2-gas:
29269 @if gas-bootstrap
29270 maybe-configure-stage2-gas: configure-stage2-gas
29271 configure-stage2-gas:
29272 @$(MAKE) stage2-start
29273 @[ -f gas/Makefile ] && exit 0 || : ; \
29274 r=`${PWD_COMMAND}`; export r; \
29275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29276 $(STAGE_HOST_EXPORTS) \
29277 echo Configuring stage 2 in gas ; \
29278 cd gas || exit 1; \
29279 case $(srcdir) in \
29280 \.) \
29281 srcdiroption="--srcdir=."; \
29282 libsrcdir=".";; \
29283 /* | [A-Za-z]:[\\/]*) \
29284 srcdiroption="--srcdir=$(srcdir)/gas"; \
29285 libsrcdir="$$s/gas";; \
29286 *) \
29287 srcdiroption="--srcdir=../$(srcdir)/gas"; \
29288 libsrcdir="$$s/gas";; \
29289 esac; \
29290 $(SHELL) $${libsrcdir}/configure \
29291 $(HOST_CONFIGARGS) $${srcdiroption} \
29292 @stage2_werror_flag@
29294 maybe-all-stage2-gas: all-stage2-gas
29295 all-stage2-gas: configure-stage2-gas
29296 @$(MAKE) stage2-start
29297 @r=`${PWD_COMMAND}`; export r; \
29298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29299 $(STAGE_HOST_EXPORTS) \
29300 cd gas && \
29301 $(MAKE) $(FLAGS_TO_PASS) \
29302 $(POSTSTAGE1_FLAGS_TO_PASS) \
29305 maybe-clean-stage2-gas: clean-stage2-gas
29306 clean-stage2-gas:
29307 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
29308 || exit 0 ; \
29309 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
29310 cd gas && \
29311 $(MAKE) $(FLAGS_TO_PASS) \
29312 $(POSTSTAGE1_FLAGS_TO_PASS) \
29313 clean
29314 @endif gas-bootstrap
29317 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
29318 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
29319 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
29321 maybe-configure-stage2-gcc:
29322 maybe-all-stage2-gcc:
29323 maybe-clean-stage2-gcc:
29325 @if gcc-bootstrap
29326 maybe-configure-stage2-gcc: configure-stage2-gcc
29327 configure-stage2-gcc:
29328 @$(MAKE) stage2-start
29329 @[ -f gcc/Makefile ] && exit 0 || : ; \
29330 r=`${PWD_COMMAND}`; export r; \
29331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29332 $(STAGE_HOST_EXPORTS) \
29333 echo Configuring stage 2 in gcc ; \
29334 cd gcc || exit 1; \
29335 case $(srcdir) in \
29336 \.) \
29337 srcdiroption="--srcdir=."; \
29338 libsrcdir=".";; \
29339 /* | [A-Za-z]:[\\/]*) \
29340 srcdiroption="--srcdir=$(srcdir)/gcc"; \
29341 libsrcdir="$$s/gcc";; \
29342 *) \
29343 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29344 libsrcdir="$$s/gcc";; \
29345 esac; \
29346 $(SHELL) $${libsrcdir}/configure \
29347 $(HOST_CONFIGARGS) $${srcdiroption} \
29348 @stage2_werror_flag@
29350 maybe-all-stage2-gcc: all-stage2-gcc
29351 all-stage2-gcc: configure-stage2-gcc
29352 @$(MAKE) stage2-start
29353 @r=`${PWD_COMMAND}`; export r; \
29354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29355 $(STAGE_HOST_EXPORTS) \
29356 cd gcc && \
29357 $(MAKE) $(FLAGS_TO_PASS) \
29358 $(POSTSTAGE1_FLAGS_TO_PASS) \
29359 $(EXTRA_GCC_FLAGS)
29361 maybe-clean-stage2-gcc: clean-stage2-gcc
29362 clean-stage2-gcc:
29363 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
29364 || exit 0 ; \
29365 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
29366 cd gcc && \
29367 $(MAKE) $(FLAGS_TO_PASS) \
29368 $(POSTSTAGE1_FLAGS_TO_PASS) \
29369 $(EXTRA_GCC_FLAGS) clean
29370 @endif gcc-bootstrap
29373 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
29374 .PHONY: all-stage2-intl maybe-all-stage2-intl
29375 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
29377 maybe-configure-stage2-intl:
29378 maybe-all-stage2-intl:
29379 maybe-clean-stage2-intl:
29381 @if intl-bootstrap
29382 maybe-configure-stage2-intl: configure-stage2-intl
29383 configure-stage2-intl:
29384 @$(MAKE) stage2-start
29385 @[ -f intl/Makefile ] && exit 0 || : ; \
29386 r=`${PWD_COMMAND}`; export r; \
29387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29388 $(STAGE_HOST_EXPORTS) \
29389 echo Configuring stage 2 in intl ; \
29390 cd intl || exit 1; \
29391 case $(srcdir) in \
29392 \.) \
29393 srcdiroption="--srcdir=."; \
29394 libsrcdir=".";; \
29395 /* | [A-Za-z]:[\\/]*) \
29396 srcdiroption="--srcdir=$(srcdir)/intl"; \
29397 libsrcdir="$$s/intl";; \
29398 *) \
29399 srcdiroption="--srcdir=../$(srcdir)/intl"; \
29400 libsrcdir="$$s/intl";; \
29401 esac; \
29402 $(SHELL) $${libsrcdir}/configure \
29403 $(HOST_CONFIGARGS) $${srcdiroption} \
29404 @stage2_werror_flag@
29406 maybe-all-stage2-intl: all-stage2-intl
29407 all-stage2-intl: configure-stage2-intl
29408 @$(MAKE) stage2-start
29409 @r=`${PWD_COMMAND}`; export r; \
29410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29411 $(STAGE_HOST_EXPORTS) \
29412 cd intl && \
29413 $(MAKE) $(FLAGS_TO_PASS) \
29414 $(POSTSTAGE1_FLAGS_TO_PASS) \
29417 maybe-clean-stage2-intl: clean-stage2-intl
29418 clean-stage2-intl:
29419 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
29420 || exit 0 ; \
29421 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
29422 cd intl && \
29423 $(MAKE) $(FLAGS_TO_PASS) \
29424 $(POSTSTAGE1_FLAGS_TO_PASS) \
29425 clean
29426 @endif intl-bootstrap
29429 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
29430 .PHONY: all-stage2-ld maybe-all-stage2-ld
29431 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
29433 maybe-configure-stage2-ld:
29434 maybe-all-stage2-ld:
29435 maybe-clean-stage2-ld:
29437 @if ld-bootstrap
29438 maybe-configure-stage2-ld: configure-stage2-ld
29439 configure-stage2-ld:
29440 @$(MAKE) stage2-start
29441 @[ -f ld/Makefile ] && exit 0 || : ; \
29442 r=`${PWD_COMMAND}`; export r; \
29443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29444 $(STAGE_HOST_EXPORTS) \
29445 echo Configuring stage 2 in ld ; \
29446 cd ld || exit 1; \
29447 case $(srcdir) in \
29448 \.) \
29449 srcdiroption="--srcdir=."; \
29450 libsrcdir=".";; \
29451 /* | [A-Za-z]:[\\/]*) \
29452 srcdiroption="--srcdir=$(srcdir)/ld"; \
29453 libsrcdir="$$s/ld";; \
29454 *) \
29455 srcdiroption="--srcdir=../$(srcdir)/ld"; \
29456 libsrcdir="$$s/ld";; \
29457 esac; \
29458 $(SHELL) $${libsrcdir}/configure \
29459 $(HOST_CONFIGARGS) $${srcdiroption} \
29460 @stage2_werror_flag@
29462 maybe-all-stage2-ld: all-stage2-ld
29463 all-stage2-ld: configure-stage2-ld
29464 @$(MAKE) stage2-start
29465 @r=`${PWD_COMMAND}`; export r; \
29466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29467 $(STAGE_HOST_EXPORTS) \
29468 cd ld && \
29469 $(MAKE) $(FLAGS_TO_PASS) \
29470 $(POSTSTAGE1_FLAGS_TO_PASS) \
29473 maybe-clean-stage2-ld: clean-stage2-ld
29474 clean-stage2-ld:
29475 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
29476 || exit 0 ; \
29477 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
29478 cd ld && \
29479 $(MAKE) $(FLAGS_TO_PASS) \
29480 $(POSTSTAGE1_FLAGS_TO_PASS) \
29481 clean
29482 @endif ld-bootstrap
29485 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
29486 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
29487 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
29489 maybe-configure-stage2-libcpp:
29490 maybe-all-stage2-libcpp:
29491 maybe-clean-stage2-libcpp:
29493 @if libcpp-bootstrap
29494 maybe-configure-stage2-libcpp: configure-stage2-libcpp
29495 configure-stage2-libcpp:
29496 @$(MAKE) stage2-start
29497 @[ -f libcpp/Makefile ] && exit 0 || : ; \
29498 r=`${PWD_COMMAND}`; export r; \
29499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29500 $(STAGE_HOST_EXPORTS) \
29501 echo Configuring stage 2 in libcpp ; \
29502 cd libcpp || exit 1; \
29503 case $(srcdir) in \
29504 \.) \
29505 srcdiroption="--srcdir=."; \
29506 libsrcdir=".";; \
29507 /* | [A-Za-z]:[\\/]*) \
29508 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
29509 libsrcdir="$$s/libcpp";; \
29510 *) \
29511 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
29512 libsrcdir="$$s/libcpp";; \
29513 esac; \
29514 $(SHELL) $${libsrcdir}/configure \
29515 $(HOST_CONFIGARGS) $${srcdiroption} \
29516 @stage2_werror_flag@
29518 maybe-all-stage2-libcpp: all-stage2-libcpp
29519 all-stage2-libcpp: configure-stage2-libcpp
29520 @$(MAKE) stage2-start
29521 @r=`${PWD_COMMAND}`; export r; \
29522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29523 $(STAGE_HOST_EXPORTS) \
29524 cd libcpp && \
29525 $(MAKE) $(FLAGS_TO_PASS) \
29526 $(POSTSTAGE1_FLAGS_TO_PASS) \
29529 maybe-clean-stage2-libcpp: clean-stage2-libcpp
29530 clean-stage2-libcpp:
29531 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
29532 || exit 0 ; \
29533 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
29534 cd libcpp && \
29535 $(MAKE) $(FLAGS_TO_PASS) \
29536 $(POSTSTAGE1_FLAGS_TO_PASS) \
29537 clean
29538 @endif libcpp-bootstrap
29541 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
29542 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
29543 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
29545 maybe-configure-stage2-libiberty:
29546 maybe-all-stage2-libiberty:
29547 maybe-clean-stage2-libiberty:
29549 @if libiberty-bootstrap
29550 maybe-configure-stage2-libiberty: configure-stage2-libiberty
29551 configure-stage2-libiberty:
29552 @$(MAKE) stage2-start
29553 @[ -f libiberty/Makefile ] && exit 0 || : ; \
29554 r=`${PWD_COMMAND}`; export r; \
29555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29556 $(STAGE_HOST_EXPORTS) \
29557 echo Configuring stage 2 in libiberty ; \
29558 cd libiberty || exit 1; \
29559 case $(srcdir) in \
29560 \.) \
29561 srcdiroption="--srcdir=."; \
29562 libsrcdir=".";; \
29563 /* | [A-Za-z]:[\\/]*) \
29564 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
29565 libsrcdir="$$s/libiberty";; \
29566 *) \
29567 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
29568 libsrcdir="$$s/libiberty";; \
29569 esac; \
29570 $(SHELL) $${libsrcdir}/configure \
29571 $(HOST_CONFIGARGS) $${srcdiroption} \
29572 @stage2_werror_flag@
29574 maybe-all-stage2-libiberty: all-stage2-libiberty
29575 all-stage2-libiberty: configure-stage2-libiberty
29576 @$(MAKE) stage2-start
29577 @r=`${PWD_COMMAND}`; export r; \
29578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29579 $(STAGE_HOST_EXPORTS) \
29580 cd libiberty && \
29581 $(MAKE) $(FLAGS_TO_PASS) \
29582 $(POSTSTAGE1_FLAGS_TO_PASS) \
29585 maybe-clean-stage2-libiberty: clean-stage2-libiberty
29586 clean-stage2-libiberty:
29587 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
29588 || exit 0 ; \
29589 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
29590 cd libiberty && \
29591 $(MAKE) $(FLAGS_TO_PASS) \
29592 $(POSTSTAGE1_FLAGS_TO_PASS) \
29593 clean
29594 @endif libiberty-bootstrap
29597 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
29598 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
29599 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
29601 maybe-configure-stage2-zlib:
29602 maybe-all-stage2-zlib:
29603 maybe-clean-stage2-zlib:
29605 @if zlib-bootstrap
29606 maybe-configure-stage2-zlib: configure-stage2-zlib
29607 configure-stage2-zlib:
29608 @$(MAKE) stage2-start
29609 @[ -f zlib/Makefile ] && exit 0 || : ; \
29610 r=`${PWD_COMMAND}`; export r; \
29611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29612 $(STAGE_HOST_EXPORTS) \
29613 echo Configuring stage 2 in zlib ; \
29614 cd zlib || exit 1; \
29615 case $(srcdir) in \
29616 \.) \
29617 srcdiroption="--srcdir=."; \
29618 libsrcdir=".";; \
29619 /* | [A-Za-z]:[\\/]*) \
29620 srcdiroption="--srcdir=$(srcdir)/zlib"; \
29621 libsrcdir="$$s/zlib";; \
29622 *) \
29623 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
29624 libsrcdir="$$s/zlib";; \
29625 esac; \
29626 $(SHELL) $${libsrcdir}/configure \
29627 $(HOST_CONFIGARGS) $${srcdiroption} \
29628 @stage2_werror_flag@
29630 maybe-all-stage2-zlib: all-stage2-zlib
29631 all-stage2-zlib: configure-stage2-zlib
29632 @$(MAKE) stage2-start
29633 @r=`${PWD_COMMAND}`; export r; \
29634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29635 $(STAGE_HOST_EXPORTS) \
29636 cd zlib && \
29637 $(MAKE) $(FLAGS_TO_PASS) \
29638 $(POSTSTAGE1_FLAGS_TO_PASS) \
29641 maybe-clean-stage2-zlib: clean-stage2-zlib
29642 clean-stage2-zlib:
29643 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
29644 || exit 0 ; \
29645 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
29646 cd zlib && \
29647 $(MAKE) $(FLAGS_TO_PASS) \
29648 $(POSTSTAGE1_FLAGS_TO_PASS) \
29649 clean
29650 @endif zlib-bootstrap
29654 # FIXME: Will not need to be conditional when toplevel bootstrap is the
29655 # only possibility, but now it conflicts with no-bootstrap rules
29656 @if gcc-bootstrap
29660 .PHONY: bootstrap2
29661 bootstrap2: stage2-bubble all
29664 # Rules to wipe a stage and all the following ones, also used for cleanstrap
29665 distclean-stage1:: distclean-stage2
29666 .PHONY: distclean-stage2
29667 distclean-stage2::
29668 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29669 rm -rf stage2-*
29672 @endif gcc-bootstrap
29675 .PHONY: stage3-start stage3-end
29677 stage3-start::
29678 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
29679 echo stage3 > stage_current ; \
29680 echo stage3 > stage_last
29681 @if bfd
29682 @[ -d stage3-bfd ] || mkdir stage3-bfd; \
29683 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
29684 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
29685 @endif bfd
29686 @if opcodes
29687 @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
29688 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
29689 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
29690 @endif opcodes
29691 @if binutils
29692 @[ -d stage3-binutils ] || mkdir stage3-binutils; \
29693 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
29694 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
29695 @endif binutils
29696 @if gas
29697 @[ -d stage3-gas ] || mkdir stage3-gas; \
29698 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
29699 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
29700 @endif gas
29701 @if gcc
29702 @[ -d stage3-gcc ] || mkdir stage3-gcc; \
29703 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
29704 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
29705 @endif gcc
29706 @if intl
29707 @[ -d stage3-intl ] || mkdir stage3-intl; \
29708 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
29709 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
29710 @endif intl
29711 @if ld
29712 @[ -d stage3-ld ] || mkdir stage3-ld; \
29713 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
29714 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
29715 @endif ld
29716 @if libcpp
29717 @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
29718 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
29719 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
29720 @endif libcpp
29721 @if libiberty
29722 @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
29723 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
29724 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
29725 @endif libiberty
29726 @if zlib
29727 @[ -d stage3-zlib ] || mkdir stage3-zlib; \
29728 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
29729 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
29730 @endif zlib
29732 stage3-end::
29733 @rm -f stage_current
29734 @if bfd
29735 @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
29736 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
29737 @endif bfd
29738 @if opcodes
29739 @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
29740 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
29741 @endif opcodes
29742 @if binutils
29743 @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
29744 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
29745 @endif binutils
29746 @if gas
29747 @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
29748 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
29749 @endif gas
29750 @if gcc
29751 @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
29752 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
29753 @endif gcc
29754 @if intl
29755 @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
29756 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
29757 @endif intl
29758 @if ld
29759 @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
29760 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
29761 @endif ld
29762 @if libcpp
29763 @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
29764 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
29765 @endif libcpp
29766 @if libiberty
29767 @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
29768 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
29769 @endif libiberty
29770 @if zlib
29771 @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
29772 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
29773 @endif zlib
29775 # Bubble a bugfix through all the stages up to stage 3. They
29776 # are remade, but not reconfigured. The next stage (if any) will not
29777 # be reconfigured as well.
29778 .PHONY: stage3-bubble
29779 stage3-bubble:: stage2-bubble
29780 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
29781 @if test -f stage3-lean || test -f stage2-lean ; then \
29782 echo Skipping rebuild of stage3 ; \
29783 else \
29784 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
29787 .PHONY: all-stage3 clean-stage3
29788 all-stage3: \
29789 maybe-all-stage3-bfd \
29790 maybe-all-stage3-opcodes \
29791 maybe-all-stage3-binutils \
29792 maybe-all-stage3-gas \
29793 maybe-all-stage3-gcc \
29794 maybe-all-stage3-intl \
29795 maybe-all-stage3-ld \
29796 maybe-all-stage3-libcpp \
29797 maybe-all-stage3-libiberty \
29798 maybe-all-stage3-zlib
29800 do-clean: clean-stage3
29801 clean-stage3: \
29802 maybe-clean-stage3-bfd \
29803 maybe-clean-stage3-opcodes \
29804 maybe-clean-stage3-binutils \
29805 maybe-clean-stage3-gas \
29806 maybe-clean-stage3-gcc \
29807 maybe-clean-stage3-intl \
29808 maybe-clean-stage3-ld \
29809 maybe-clean-stage3-libcpp \
29810 maybe-clean-stage3-libiberty \
29811 maybe-clean-stage3-zlib
29814 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
29815 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
29816 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
29818 maybe-configure-stage3-bfd:
29819 maybe-all-stage3-bfd:
29820 maybe-clean-stage3-bfd:
29822 @if bfd-bootstrap
29823 maybe-configure-stage3-bfd: configure-stage3-bfd
29824 configure-stage3-bfd:
29825 @$(MAKE) stage3-start
29826 @[ -f bfd/Makefile ] && exit 0 || : ; \
29827 r=`${PWD_COMMAND}`; export r; \
29828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29829 $(STAGE_HOST_EXPORTS) \
29830 echo Configuring stage 3 in bfd ; \
29831 cd bfd || exit 1; \
29832 case $(srcdir) in \
29833 \.) \
29834 srcdiroption="--srcdir=."; \
29835 libsrcdir=".";; \
29836 /* | [A-Za-z]:[\\/]*) \
29837 srcdiroption="--srcdir=$(srcdir)/bfd"; \
29838 libsrcdir="$$s/bfd";; \
29839 *) \
29840 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
29841 libsrcdir="$$s/bfd";; \
29842 esac; \
29843 $(SHELL) $${libsrcdir}/configure \
29844 $(HOST_CONFIGARGS) $${srcdiroption} \
29845 @stage2_werror_flag@
29847 maybe-all-stage3-bfd: all-stage3-bfd
29848 all-stage3-bfd: configure-stage3-bfd
29849 @$(MAKE) stage3-start
29850 @r=`${PWD_COMMAND}`; export r; \
29851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29852 $(STAGE_HOST_EXPORTS) \
29853 cd bfd && \
29854 $(MAKE) $(FLAGS_TO_PASS) \
29855 $(POSTSTAGE1_FLAGS_TO_PASS) \
29858 maybe-clean-stage3-bfd: clean-stage3-bfd
29859 clean-stage3-bfd:
29860 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
29861 || exit 0 ; \
29862 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
29863 cd bfd && \
29864 $(MAKE) $(FLAGS_TO_PASS) \
29865 $(POSTSTAGE1_FLAGS_TO_PASS) \
29866 clean
29867 @endif bfd-bootstrap
29870 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
29871 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
29872 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
29874 maybe-configure-stage3-opcodes:
29875 maybe-all-stage3-opcodes:
29876 maybe-clean-stage3-opcodes:
29878 @if opcodes-bootstrap
29879 maybe-configure-stage3-opcodes: configure-stage3-opcodes
29880 configure-stage3-opcodes:
29881 @$(MAKE) stage3-start
29882 @[ -f opcodes/Makefile ] && exit 0 || : ; \
29883 r=`${PWD_COMMAND}`; export r; \
29884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29885 $(STAGE_HOST_EXPORTS) \
29886 echo Configuring stage 3 in opcodes ; \
29887 cd opcodes || exit 1; \
29888 case $(srcdir) in \
29889 \.) \
29890 srcdiroption="--srcdir=."; \
29891 libsrcdir=".";; \
29892 /* | [A-Za-z]:[\\/]*) \
29893 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
29894 libsrcdir="$$s/opcodes";; \
29895 *) \
29896 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
29897 libsrcdir="$$s/opcodes";; \
29898 esac; \
29899 $(SHELL) $${libsrcdir}/configure \
29900 $(HOST_CONFIGARGS) $${srcdiroption} \
29901 @stage2_werror_flag@
29903 maybe-all-stage3-opcodes: all-stage3-opcodes
29904 all-stage3-opcodes: configure-stage3-opcodes
29905 @$(MAKE) stage3-start
29906 @r=`${PWD_COMMAND}`; export r; \
29907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29908 $(STAGE_HOST_EXPORTS) \
29909 cd opcodes && \
29910 $(MAKE) $(FLAGS_TO_PASS) \
29911 $(POSTSTAGE1_FLAGS_TO_PASS) \
29914 maybe-clean-stage3-opcodes: clean-stage3-opcodes
29915 clean-stage3-opcodes:
29916 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
29917 || exit 0 ; \
29918 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
29919 cd opcodes && \
29920 $(MAKE) $(FLAGS_TO_PASS) \
29921 $(POSTSTAGE1_FLAGS_TO_PASS) \
29922 clean
29923 @endif opcodes-bootstrap
29926 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
29927 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
29928 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
29930 maybe-configure-stage3-binutils:
29931 maybe-all-stage3-binutils:
29932 maybe-clean-stage3-binutils:
29934 @if binutils-bootstrap
29935 maybe-configure-stage3-binutils: configure-stage3-binutils
29936 configure-stage3-binutils:
29937 @$(MAKE) stage3-start
29938 @[ -f binutils/Makefile ] && exit 0 || : ; \
29939 r=`${PWD_COMMAND}`; export r; \
29940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29941 $(STAGE_HOST_EXPORTS) \
29942 echo Configuring stage 3 in binutils ; \
29943 cd binutils || exit 1; \
29944 case $(srcdir) in \
29945 \.) \
29946 srcdiroption="--srcdir=."; \
29947 libsrcdir=".";; \
29948 /* | [A-Za-z]:[\\/]*) \
29949 srcdiroption="--srcdir=$(srcdir)/binutils"; \
29950 libsrcdir="$$s/binutils";; \
29951 *) \
29952 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
29953 libsrcdir="$$s/binutils";; \
29954 esac; \
29955 $(SHELL) $${libsrcdir}/configure \
29956 $(HOST_CONFIGARGS) $${srcdiroption} \
29957 @stage2_werror_flag@
29959 maybe-all-stage3-binutils: all-stage3-binutils
29960 all-stage3-binutils: configure-stage3-binutils
29961 @$(MAKE) stage3-start
29962 @r=`${PWD_COMMAND}`; export r; \
29963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29964 $(STAGE_HOST_EXPORTS) \
29965 cd binutils && \
29966 $(MAKE) $(FLAGS_TO_PASS) \
29967 $(POSTSTAGE1_FLAGS_TO_PASS) \
29970 maybe-clean-stage3-binutils: clean-stage3-binutils
29971 clean-stage3-binutils:
29972 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
29973 || exit 0 ; \
29974 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
29975 cd binutils && \
29976 $(MAKE) $(FLAGS_TO_PASS) \
29977 $(POSTSTAGE1_FLAGS_TO_PASS) \
29978 clean
29979 @endif binutils-bootstrap
29982 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
29983 .PHONY: all-stage3-gas maybe-all-stage3-gas
29984 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
29986 maybe-configure-stage3-gas:
29987 maybe-all-stage3-gas:
29988 maybe-clean-stage3-gas:
29990 @if gas-bootstrap
29991 maybe-configure-stage3-gas: configure-stage3-gas
29992 configure-stage3-gas:
29993 @$(MAKE) stage3-start
29994 @[ -f gas/Makefile ] && exit 0 || : ; \
29995 r=`${PWD_COMMAND}`; export r; \
29996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29997 $(STAGE_HOST_EXPORTS) \
29998 echo Configuring stage 3 in gas ; \
29999 cd gas || exit 1; \
30000 case $(srcdir) in \
30001 \.) \
30002 srcdiroption="--srcdir=."; \
30003 libsrcdir=".";; \
30004 /* | [A-Za-z]:[\\/]*) \
30005 srcdiroption="--srcdir=$(srcdir)/gas"; \
30006 libsrcdir="$$s/gas";; \
30007 *) \
30008 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30009 libsrcdir="$$s/gas";; \
30010 esac; \
30011 $(SHELL) $${libsrcdir}/configure \
30012 $(HOST_CONFIGARGS) $${srcdiroption} \
30013 @stage2_werror_flag@
30015 maybe-all-stage3-gas: all-stage3-gas
30016 all-stage3-gas: configure-stage3-gas
30017 @$(MAKE) stage3-start
30018 @r=`${PWD_COMMAND}`; export r; \
30019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30020 $(STAGE_HOST_EXPORTS) \
30021 cd gas && \
30022 $(MAKE) $(FLAGS_TO_PASS) \
30023 $(POSTSTAGE1_FLAGS_TO_PASS) \
30026 maybe-clean-stage3-gas: clean-stage3-gas
30027 clean-stage3-gas:
30028 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
30029 || exit 0 ; \
30030 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
30031 cd gas && \
30032 $(MAKE) $(FLAGS_TO_PASS) \
30033 $(POSTSTAGE1_FLAGS_TO_PASS) \
30034 clean
30035 @endif gas-bootstrap
30038 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
30039 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
30040 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
30042 maybe-configure-stage3-gcc:
30043 maybe-all-stage3-gcc:
30044 maybe-clean-stage3-gcc:
30046 @if gcc-bootstrap
30047 maybe-configure-stage3-gcc: configure-stage3-gcc
30048 configure-stage3-gcc:
30049 @$(MAKE) stage3-start
30050 @[ -f gcc/Makefile ] && exit 0 || : ; \
30051 r=`${PWD_COMMAND}`; export r; \
30052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30053 $(STAGE_HOST_EXPORTS) \
30054 echo Configuring stage 3 in gcc ; \
30055 cd gcc || exit 1; \
30056 case $(srcdir) in \
30057 \.) \
30058 srcdiroption="--srcdir=."; \
30059 libsrcdir=".";; \
30060 /* | [A-Za-z]:[\\/]*) \
30061 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30062 libsrcdir="$$s/gcc";; \
30063 *) \
30064 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30065 libsrcdir="$$s/gcc";; \
30066 esac; \
30067 $(SHELL) $${libsrcdir}/configure \
30068 $(HOST_CONFIGARGS) $${srcdiroption} \
30069 @stage2_werror_flag@
30071 maybe-all-stage3-gcc: all-stage3-gcc
30072 all-stage3-gcc: configure-stage3-gcc
30073 @$(MAKE) stage3-start
30074 @r=`${PWD_COMMAND}`; export r; \
30075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30076 $(STAGE_HOST_EXPORTS) \
30077 cd gcc && \
30078 $(MAKE) $(FLAGS_TO_PASS) \
30079 $(POSTSTAGE1_FLAGS_TO_PASS) \
30080 $(EXTRA_GCC_FLAGS)
30082 maybe-clean-stage3-gcc: clean-stage3-gcc
30083 clean-stage3-gcc:
30084 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
30085 || exit 0 ; \
30086 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
30087 cd gcc && \
30088 $(MAKE) $(FLAGS_TO_PASS) \
30089 $(POSTSTAGE1_FLAGS_TO_PASS) \
30090 $(EXTRA_GCC_FLAGS) clean
30091 @endif gcc-bootstrap
30094 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
30095 .PHONY: all-stage3-intl maybe-all-stage3-intl
30096 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
30098 maybe-configure-stage3-intl:
30099 maybe-all-stage3-intl:
30100 maybe-clean-stage3-intl:
30102 @if intl-bootstrap
30103 maybe-configure-stage3-intl: configure-stage3-intl
30104 configure-stage3-intl:
30105 @$(MAKE) stage3-start
30106 @[ -f intl/Makefile ] && exit 0 || : ; \
30107 r=`${PWD_COMMAND}`; export r; \
30108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30109 $(STAGE_HOST_EXPORTS) \
30110 echo Configuring stage 3 in intl ; \
30111 cd intl || exit 1; \
30112 case $(srcdir) in \
30113 \.) \
30114 srcdiroption="--srcdir=."; \
30115 libsrcdir=".";; \
30116 /* | [A-Za-z]:[\\/]*) \
30117 srcdiroption="--srcdir=$(srcdir)/intl"; \
30118 libsrcdir="$$s/intl";; \
30119 *) \
30120 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30121 libsrcdir="$$s/intl";; \
30122 esac; \
30123 $(SHELL) $${libsrcdir}/configure \
30124 $(HOST_CONFIGARGS) $${srcdiroption} \
30125 @stage2_werror_flag@
30127 maybe-all-stage3-intl: all-stage3-intl
30128 all-stage3-intl: configure-stage3-intl
30129 @$(MAKE) stage3-start
30130 @r=`${PWD_COMMAND}`; export r; \
30131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30132 $(STAGE_HOST_EXPORTS) \
30133 cd intl && \
30134 $(MAKE) $(FLAGS_TO_PASS) \
30135 $(POSTSTAGE1_FLAGS_TO_PASS) \
30138 maybe-clean-stage3-intl: clean-stage3-intl
30139 clean-stage3-intl:
30140 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
30141 || exit 0 ; \
30142 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
30143 cd intl && \
30144 $(MAKE) $(FLAGS_TO_PASS) \
30145 $(POSTSTAGE1_FLAGS_TO_PASS) \
30146 clean
30147 @endif intl-bootstrap
30150 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
30151 .PHONY: all-stage3-ld maybe-all-stage3-ld
30152 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
30154 maybe-configure-stage3-ld:
30155 maybe-all-stage3-ld:
30156 maybe-clean-stage3-ld:
30158 @if ld-bootstrap
30159 maybe-configure-stage3-ld: configure-stage3-ld
30160 configure-stage3-ld:
30161 @$(MAKE) stage3-start
30162 @[ -f ld/Makefile ] && exit 0 || : ; \
30163 r=`${PWD_COMMAND}`; export r; \
30164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30165 $(STAGE_HOST_EXPORTS) \
30166 echo Configuring stage 3 in ld ; \
30167 cd ld || exit 1; \
30168 case $(srcdir) in \
30169 \.) \
30170 srcdiroption="--srcdir=."; \
30171 libsrcdir=".";; \
30172 /* | [A-Za-z]:[\\/]*) \
30173 srcdiroption="--srcdir=$(srcdir)/ld"; \
30174 libsrcdir="$$s/ld";; \
30175 *) \
30176 srcdiroption="--srcdir=../$(srcdir)/ld"; \
30177 libsrcdir="$$s/ld";; \
30178 esac; \
30179 $(SHELL) $${libsrcdir}/configure \
30180 $(HOST_CONFIGARGS) $${srcdiroption} \
30181 @stage2_werror_flag@
30183 maybe-all-stage3-ld: all-stage3-ld
30184 all-stage3-ld: configure-stage3-ld
30185 @$(MAKE) stage3-start
30186 @r=`${PWD_COMMAND}`; export r; \
30187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30188 $(STAGE_HOST_EXPORTS) \
30189 cd ld && \
30190 $(MAKE) $(FLAGS_TO_PASS) \
30191 $(POSTSTAGE1_FLAGS_TO_PASS) \
30194 maybe-clean-stage3-ld: clean-stage3-ld
30195 clean-stage3-ld:
30196 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
30197 || exit 0 ; \
30198 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
30199 cd ld && \
30200 $(MAKE) $(FLAGS_TO_PASS) \
30201 $(POSTSTAGE1_FLAGS_TO_PASS) \
30202 clean
30203 @endif ld-bootstrap
30206 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
30207 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
30208 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
30210 maybe-configure-stage3-libcpp:
30211 maybe-all-stage3-libcpp:
30212 maybe-clean-stage3-libcpp:
30214 @if libcpp-bootstrap
30215 maybe-configure-stage3-libcpp: configure-stage3-libcpp
30216 configure-stage3-libcpp:
30217 @$(MAKE) stage3-start
30218 @[ -f libcpp/Makefile ] && exit 0 || : ; \
30219 r=`${PWD_COMMAND}`; export r; \
30220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30221 $(STAGE_HOST_EXPORTS) \
30222 echo Configuring stage 3 in libcpp ; \
30223 cd libcpp || exit 1; \
30224 case $(srcdir) in \
30225 \.) \
30226 srcdiroption="--srcdir=."; \
30227 libsrcdir=".";; \
30228 /* | [A-Za-z]:[\\/]*) \
30229 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
30230 libsrcdir="$$s/libcpp";; \
30231 *) \
30232 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
30233 libsrcdir="$$s/libcpp";; \
30234 esac; \
30235 $(SHELL) $${libsrcdir}/configure \
30236 $(HOST_CONFIGARGS) $${srcdiroption} \
30237 @stage2_werror_flag@
30239 maybe-all-stage3-libcpp: all-stage3-libcpp
30240 all-stage3-libcpp: configure-stage3-libcpp
30241 @$(MAKE) stage3-start
30242 @r=`${PWD_COMMAND}`; export r; \
30243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30244 $(STAGE_HOST_EXPORTS) \
30245 cd libcpp && \
30246 $(MAKE) $(FLAGS_TO_PASS) \
30247 $(POSTSTAGE1_FLAGS_TO_PASS) \
30250 maybe-clean-stage3-libcpp: clean-stage3-libcpp
30251 clean-stage3-libcpp:
30252 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
30253 || exit 0 ; \
30254 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
30255 cd libcpp && \
30256 $(MAKE) $(FLAGS_TO_PASS) \
30257 $(POSTSTAGE1_FLAGS_TO_PASS) \
30258 clean
30259 @endif libcpp-bootstrap
30262 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
30263 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
30264 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
30266 maybe-configure-stage3-libiberty:
30267 maybe-all-stage3-libiberty:
30268 maybe-clean-stage3-libiberty:
30270 @if libiberty-bootstrap
30271 maybe-configure-stage3-libiberty: configure-stage3-libiberty
30272 configure-stage3-libiberty:
30273 @$(MAKE) stage3-start
30274 @[ -f libiberty/Makefile ] && exit 0 || : ; \
30275 r=`${PWD_COMMAND}`; export r; \
30276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30277 $(STAGE_HOST_EXPORTS) \
30278 echo Configuring stage 3 in libiberty ; \
30279 cd libiberty || exit 1; \
30280 case $(srcdir) in \
30281 \.) \
30282 srcdiroption="--srcdir=."; \
30283 libsrcdir=".";; \
30284 /* | [A-Za-z]:[\\/]*) \
30285 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
30286 libsrcdir="$$s/libiberty";; \
30287 *) \
30288 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
30289 libsrcdir="$$s/libiberty";; \
30290 esac; \
30291 $(SHELL) $${libsrcdir}/configure \
30292 $(HOST_CONFIGARGS) $${srcdiroption} \
30293 @stage2_werror_flag@
30295 maybe-all-stage3-libiberty: all-stage3-libiberty
30296 all-stage3-libiberty: configure-stage3-libiberty
30297 @$(MAKE) stage3-start
30298 @r=`${PWD_COMMAND}`; export r; \
30299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30300 $(STAGE_HOST_EXPORTS) \
30301 cd libiberty && \
30302 $(MAKE) $(FLAGS_TO_PASS) \
30303 $(POSTSTAGE1_FLAGS_TO_PASS) \
30306 maybe-clean-stage3-libiberty: clean-stage3-libiberty
30307 clean-stage3-libiberty:
30308 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
30309 || exit 0 ; \
30310 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
30311 cd libiberty && \
30312 $(MAKE) $(FLAGS_TO_PASS) \
30313 $(POSTSTAGE1_FLAGS_TO_PASS) \
30314 clean
30315 @endif libiberty-bootstrap
30318 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
30319 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30320 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30322 maybe-configure-stage3-zlib:
30323 maybe-all-stage3-zlib:
30324 maybe-clean-stage3-zlib:
30326 @if zlib-bootstrap
30327 maybe-configure-stage3-zlib: configure-stage3-zlib
30328 configure-stage3-zlib:
30329 @$(MAKE) stage3-start
30330 @[ -f zlib/Makefile ] && exit 0 || : ; \
30331 r=`${PWD_COMMAND}`; export r; \
30332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30333 $(STAGE_HOST_EXPORTS) \
30334 echo Configuring stage 3 in zlib ; \
30335 cd zlib || exit 1; \
30336 case $(srcdir) in \
30337 \.) \
30338 srcdiroption="--srcdir=."; \
30339 libsrcdir=".";; \
30340 /* | [A-Za-z]:[\\/]*) \
30341 srcdiroption="--srcdir=$(srcdir)/zlib"; \
30342 libsrcdir="$$s/zlib";; \
30343 *) \
30344 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
30345 libsrcdir="$$s/zlib";; \
30346 esac; \
30347 $(SHELL) $${libsrcdir}/configure \
30348 $(HOST_CONFIGARGS) $${srcdiroption} \
30349 @stage2_werror_flag@
30351 maybe-all-stage3-zlib: all-stage3-zlib
30352 all-stage3-zlib: configure-stage3-zlib
30353 @$(MAKE) stage3-start
30354 @r=`${PWD_COMMAND}`; export r; \
30355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30356 $(STAGE_HOST_EXPORTS) \
30357 cd zlib && \
30358 $(MAKE) $(FLAGS_TO_PASS) \
30359 $(POSTSTAGE1_FLAGS_TO_PASS) \
30362 maybe-clean-stage3-zlib: clean-stage3-zlib
30363 clean-stage3-zlib:
30364 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
30365 || exit 0 ; \
30366 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
30367 cd zlib && \
30368 $(MAKE) $(FLAGS_TO_PASS) \
30369 $(POSTSTAGE1_FLAGS_TO_PASS) \
30370 clean
30371 @endif zlib-bootstrap
30375 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30376 # only possibility, but now it conflicts with no-bootstrap rules
30377 @if gcc-bootstrap
30379 compare:
30380 @if test -f stage2-lean; then \
30381 echo Cannot compare object files as stage 2 was deleted. ; \
30382 exit 0 ; \
30383 fi; \
30384 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30385 @r=`${PWD_COMMAND}`; export r; \
30386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30387 rm -f .bad_compare ; \
30388 cd stage3-gcc; \
30389 files=`find . -name "*$(objext)" -print` ; \
30390 cd .. ; \
30391 for file in $${files} ; do \
30392 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
30393 @do_compare@ > /dev/null 2>&1; \
30394 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30395 done ; \
30396 if [ -f .bad_compare ]; then \
30397 echo "Bootstrap comparison failure!"; \
30398 cat .bad_compare; \
30399 exit 1; \
30400 else \
30401 true; \
30402 fi ; \
30403 $(STAMP) compare
30404 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30408 .PHONY: bootstrap
30409 bootstrap: stage3-bubble compare all
30412 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30413 distclean-stage2:: distclean-stage3
30414 .PHONY: distclean-stage3
30415 distclean-stage3::
30416 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30417 rm -rf stage3-* compare
30420 .PHONY: cleanstrap
30421 cleanstrap: distclean bootstrap
30423 @endif gcc-bootstrap
30426 .PHONY: stage4-start stage4-end
30428 stage4-start::
30429 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30430 echo stage4 > stage_current ; \
30431 echo stage4 > stage_last
30432 @if bfd
30433 @[ -d stage4-bfd ] || mkdir stage4-bfd; \
30434 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
30435 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
30436 @endif bfd
30437 @if opcodes
30438 @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
30439 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
30440 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
30441 @endif opcodes
30442 @if binutils
30443 @[ -d stage4-binutils ] || mkdir stage4-binutils; \
30444 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
30445 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
30446 @endif binutils
30447 @if gas
30448 @[ -d stage4-gas ] || mkdir stage4-gas; \
30449 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
30450 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
30451 @endif gas
30452 @if gcc
30453 @[ -d stage4-gcc ] || mkdir stage4-gcc; \
30454 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
30455 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
30456 @endif gcc
30457 @if intl
30458 @[ -d stage4-intl ] || mkdir stage4-intl; \
30459 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
30460 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
30461 @endif intl
30462 @if ld
30463 @[ -d stage4-ld ] || mkdir stage4-ld; \
30464 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
30465 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
30466 @endif ld
30467 @if libcpp
30468 @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
30469 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
30470 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
30471 @endif libcpp
30472 @if libiberty
30473 @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
30474 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
30475 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
30476 @endif libiberty
30477 @if zlib
30478 @[ -d stage4-zlib ] || mkdir stage4-zlib; \
30479 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
30480 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
30481 @endif zlib
30483 stage4-end::
30484 @rm -f stage_current
30485 @if bfd
30486 @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
30487 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
30488 @endif bfd
30489 @if opcodes
30490 @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
30491 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
30492 @endif opcodes
30493 @if binutils
30494 @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
30495 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
30496 @endif binutils
30497 @if gas
30498 @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
30499 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
30500 @endif gas
30501 @if gcc
30502 @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
30503 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
30504 @endif gcc
30505 @if intl
30506 @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
30507 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
30508 @endif intl
30509 @if ld
30510 @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
30511 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
30512 @endif ld
30513 @if libcpp
30514 @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
30515 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
30516 @endif libcpp
30517 @if libiberty
30518 @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
30519 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
30520 @endif libiberty
30521 @if zlib
30522 @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
30523 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
30524 @endif zlib
30526 # Bubble a bugfix through all the stages up to stage 4. They
30527 # are remade, but not reconfigured. The next stage (if any) will not
30528 # be reconfigured as well.
30529 .PHONY: stage4-bubble
30530 stage4-bubble:: stage3-bubble
30531 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30532 @if test -f stage4-lean || test -f stage3-lean ; then \
30533 echo Skipping rebuild of stage4 ; \
30534 else \
30535 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
30538 .PHONY: all-stage4 clean-stage4
30539 all-stage4: \
30540 maybe-all-stage4-bfd \
30541 maybe-all-stage4-opcodes \
30542 maybe-all-stage4-binutils \
30543 maybe-all-stage4-gas \
30544 maybe-all-stage4-gcc \
30545 maybe-all-stage4-intl \
30546 maybe-all-stage4-ld \
30547 maybe-all-stage4-libcpp \
30548 maybe-all-stage4-libiberty \
30549 maybe-all-stage4-zlib
30551 do-clean: clean-stage4
30552 clean-stage4: \
30553 maybe-clean-stage4-bfd \
30554 maybe-clean-stage4-opcodes \
30555 maybe-clean-stage4-binutils \
30556 maybe-clean-stage4-gas \
30557 maybe-clean-stage4-gcc \
30558 maybe-clean-stage4-intl \
30559 maybe-clean-stage4-ld \
30560 maybe-clean-stage4-libcpp \
30561 maybe-clean-stage4-libiberty \
30562 maybe-clean-stage4-zlib
30565 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
30566 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
30567 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
30569 maybe-configure-stage4-bfd:
30570 maybe-all-stage4-bfd:
30571 maybe-clean-stage4-bfd:
30573 @if bfd-bootstrap
30574 maybe-configure-stage4-bfd: configure-stage4-bfd
30575 configure-stage4-bfd:
30576 @$(MAKE) stage4-start
30577 @[ -f bfd/Makefile ] && exit 0 || : ; \
30578 r=`${PWD_COMMAND}`; export r; \
30579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30580 $(STAGE_HOST_EXPORTS) \
30581 echo Configuring stage 4 in bfd ; \
30582 cd bfd || exit 1; \
30583 case $(srcdir) in \
30584 \.) \
30585 srcdiroption="--srcdir=."; \
30586 libsrcdir=".";; \
30587 /* | [A-Za-z]:[\\/]*) \
30588 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30589 libsrcdir="$$s/bfd";; \
30590 *) \
30591 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30592 libsrcdir="$$s/bfd";; \
30593 esac; \
30594 $(SHELL) $${libsrcdir}/configure \
30595 $(HOST_CONFIGARGS) $${srcdiroption} \
30596 @stage2_werror_flag@
30598 maybe-all-stage4-bfd: all-stage4-bfd
30599 all-stage4-bfd: configure-stage4-bfd
30600 @$(MAKE) stage4-start
30601 @r=`${PWD_COMMAND}`; export r; \
30602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30603 $(STAGE_HOST_EXPORTS) \
30604 cd bfd && \
30605 $(MAKE) $(FLAGS_TO_PASS) \
30606 $(POSTSTAGE1_FLAGS_TO_PASS) \
30609 maybe-clean-stage4-bfd: clean-stage4-bfd
30610 clean-stage4-bfd:
30611 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
30612 || exit 0 ; \
30613 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
30614 cd bfd && \
30615 $(MAKE) $(FLAGS_TO_PASS) \
30616 $(POSTSTAGE1_FLAGS_TO_PASS) \
30617 clean
30618 @endif bfd-bootstrap
30621 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
30622 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
30623 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
30625 maybe-configure-stage4-opcodes:
30626 maybe-all-stage4-opcodes:
30627 maybe-clean-stage4-opcodes:
30629 @if opcodes-bootstrap
30630 maybe-configure-stage4-opcodes: configure-stage4-opcodes
30631 configure-stage4-opcodes:
30632 @$(MAKE) stage4-start
30633 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30634 r=`${PWD_COMMAND}`; export r; \
30635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30636 $(STAGE_HOST_EXPORTS) \
30637 echo Configuring stage 4 in opcodes ; \
30638 cd opcodes || exit 1; \
30639 case $(srcdir) in \
30640 \.) \
30641 srcdiroption="--srcdir=."; \
30642 libsrcdir=".";; \
30643 /* | [A-Za-z]:[\\/]*) \
30644 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30645 libsrcdir="$$s/opcodes";; \
30646 *) \
30647 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30648 libsrcdir="$$s/opcodes";; \
30649 esac; \
30650 $(SHELL) $${libsrcdir}/configure \
30651 $(HOST_CONFIGARGS) $${srcdiroption} \
30652 @stage2_werror_flag@
30654 maybe-all-stage4-opcodes: all-stage4-opcodes
30655 all-stage4-opcodes: configure-stage4-opcodes
30656 @$(MAKE) stage4-start
30657 @r=`${PWD_COMMAND}`; export r; \
30658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30659 $(STAGE_HOST_EXPORTS) \
30660 cd opcodes && \
30661 $(MAKE) $(FLAGS_TO_PASS) \
30662 $(POSTSTAGE1_FLAGS_TO_PASS) \
30665 maybe-clean-stage4-opcodes: clean-stage4-opcodes
30666 clean-stage4-opcodes:
30667 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
30668 || exit 0 ; \
30669 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
30670 cd opcodes && \
30671 $(MAKE) $(FLAGS_TO_PASS) \
30672 $(POSTSTAGE1_FLAGS_TO_PASS) \
30673 clean
30674 @endif opcodes-bootstrap
30677 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
30678 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
30679 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
30681 maybe-configure-stage4-binutils:
30682 maybe-all-stage4-binutils:
30683 maybe-clean-stage4-binutils:
30685 @if binutils-bootstrap
30686 maybe-configure-stage4-binutils: configure-stage4-binutils
30687 configure-stage4-binutils:
30688 @$(MAKE) stage4-start
30689 @[ -f binutils/Makefile ] && exit 0 || : ; \
30690 r=`${PWD_COMMAND}`; export r; \
30691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30692 $(STAGE_HOST_EXPORTS) \
30693 echo Configuring stage 4 in binutils ; \
30694 cd binutils || exit 1; \
30695 case $(srcdir) in \
30696 \.) \
30697 srcdiroption="--srcdir=."; \
30698 libsrcdir=".";; \
30699 /* | [A-Za-z]:[\\/]*) \
30700 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30701 libsrcdir="$$s/binutils";; \
30702 *) \
30703 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30704 libsrcdir="$$s/binutils";; \
30705 esac; \
30706 $(SHELL) $${libsrcdir}/configure \
30707 $(HOST_CONFIGARGS) $${srcdiroption} \
30708 @stage2_werror_flag@
30710 maybe-all-stage4-binutils: all-stage4-binutils
30711 all-stage4-binutils: configure-stage4-binutils
30712 @$(MAKE) stage4-start
30713 @r=`${PWD_COMMAND}`; export r; \
30714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30715 $(STAGE_HOST_EXPORTS) \
30716 cd binutils && \
30717 $(MAKE) $(FLAGS_TO_PASS) \
30718 $(POSTSTAGE1_FLAGS_TO_PASS) \
30721 maybe-clean-stage4-binutils: clean-stage4-binutils
30722 clean-stage4-binutils:
30723 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
30724 || exit 0 ; \
30725 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
30726 cd binutils && \
30727 $(MAKE) $(FLAGS_TO_PASS) \
30728 $(POSTSTAGE1_FLAGS_TO_PASS) \
30729 clean
30730 @endif binutils-bootstrap
30733 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
30734 .PHONY: all-stage4-gas maybe-all-stage4-gas
30735 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
30737 maybe-configure-stage4-gas:
30738 maybe-all-stage4-gas:
30739 maybe-clean-stage4-gas:
30741 @if gas-bootstrap
30742 maybe-configure-stage4-gas: configure-stage4-gas
30743 configure-stage4-gas:
30744 @$(MAKE) stage4-start
30745 @[ -f gas/Makefile ] && exit 0 || : ; \
30746 r=`${PWD_COMMAND}`; export r; \
30747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30748 $(STAGE_HOST_EXPORTS) \
30749 echo Configuring stage 4 in gas ; \
30750 cd gas || exit 1; \
30751 case $(srcdir) in \
30752 \.) \
30753 srcdiroption="--srcdir=."; \
30754 libsrcdir=".";; \
30755 /* | [A-Za-z]:[\\/]*) \
30756 srcdiroption="--srcdir=$(srcdir)/gas"; \
30757 libsrcdir="$$s/gas";; \
30758 *) \
30759 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30760 libsrcdir="$$s/gas";; \
30761 esac; \
30762 $(SHELL) $${libsrcdir}/configure \
30763 $(HOST_CONFIGARGS) $${srcdiroption} \
30764 @stage2_werror_flag@
30766 maybe-all-stage4-gas: all-stage4-gas
30767 all-stage4-gas: configure-stage4-gas
30768 @$(MAKE) stage4-start
30769 @r=`${PWD_COMMAND}`; export r; \
30770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30771 $(STAGE_HOST_EXPORTS) \
30772 cd gas && \
30773 $(MAKE) $(FLAGS_TO_PASS) \
30774 $(POSTSTAGE1_FLAGS_TO_PASS) \
30777 maybe-clean-stage4-gas: clean-stage4-gas
30778 clean-stage4-gas:
30779 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
30780 || exit 0 ; \
30781 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
30782 cd gas && \
30783 $(MAKE) $(FLAGS_TO_PASS) \
30784 $(POSTSTAGE1_FLAGS_TO_PASS) \
30785 clean
30786 @endif gas-bootstrap
30789 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
30790 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
30791 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
30793 maybe-configure-stage4-gcc:
30794 maybe-all-stage4-gcc:
30795 maybe-clean-stage4-gcc:
30797 @if gcc-bootstrap
30798 maybe-configure-stage4-gcc: configure-stage4-gcc
30799 configure-stage4-gcc:
30800 @$(MAKE) stage4-start
30801 @[ -f gcc/Makefile ] && exit 0 || : ; \
30802 r=`${PWD_COMMAND}`; export r; \
30803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30804 $(STAGE_HOST_EXPORTS) \
30805 echo Configuring stage 4 in gcc ; \
30806 cd gcc || exit 1; \
30807 case $(srcdir) in \
30808 \.) \
30809 srcdiroption="--srcdir=."; \
30810 libsrcdir=".";; \
30811 /* | [A-Za-z]:[\\/]*) \
30812 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30813 libsrcdir="$$s/gcc";; \
30814 *) \
30815 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30816 libsrcdir="$$s/gcc";; \
30817 esac; \
30818 $(SHELL) $${libsrcdir}/configure \
30819 $(HOST_CONFIGARGS) $${srcdiroption} \
30820 @stage2_werror_flag@
30822 maybe-all-stage4-gcc: all-stage4-gcc
30823 all-stage4-gcc: configure-stage4-gcc
30824 @$(MAKE) stage4-start
30825 @r=`${PWD_COMMAND}`; export r; \
30826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30827 $(STAGE_HOST_EXPORTS) \
30828 cd gcc && \
30829 $(MAKE) $(FLAGS_TO_PASS) \
30830 $(POSTSTAGE1_FLAGS_TO_PASS) \
30831 $(EXTRA_GCC_FLAGS)
30833 maybe-clean-stage4-gcc: clean-stage4-gcc
30834 clean-stage4-gcc:
30835 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
30836 || exit 0 ; \
30837 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
30838 cd gcc && \
30839 $(MAKE) $(FLAGS_TO_PASS) \
30840 $(POSTSTAGE1_FLAGS_TO_PASS) \
30841 $(EXTRA_GCC_FLAGS) clean
30842 @endif gcc-bootstrap
30845 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
30846 .PHONY: all-stage4-intl maybe-all-stage4-intl
30847 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
30849 maybe-configure-stage4-intl:
30850 maybe-all-stage4-intl:
30851 maybe-clean-stage4-intl:
30853 @if intl-bootstrap
30854 maybe-configure-stage4-intl: configure-stage4-intl
30855 configure-stage4-intl:
30856 @$(MAKE) stage4-start
30857 @[ -f intl/Makefile ] && exit 0 || : ; \
30858 r=`${PWD_COMMAND}`; export r; \
30859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30860 $(STAGE_HOST_EXPORTS) \
30861 echo Configuring stage 4 in intl ; \
30862 cd intl || exit 1; \
30863 case $(srcdir) in \
30864 \.) \
30865 srcdiroption="--srcdir=."; \
30866 libsrcdir=".";; \
30867 /* | [A-Za-z]:[\\/]*) \
30868 srcdiroption="--srcdir=$(srcdir)/intl"; \
30869 libsrcdir="$$s/intl";; \
30870 *) \
30871 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30872 libsrcdir="$$s/intl";; \
30873 esac; \
30874 $(SHELL) $${libsrcdir}/configure \
30875 $(HOST_CONFIGARGS) $${srcdiroption} \
30876 @stage2_werror_flag@
30878 maybe-all-stage4-intl: all-stage4-intl
30879 all-stage4-intl: configure-stage4-intl
30880 @$(MAKE) stage4-start
30881 @r=`${PWD_COMMAND}`; export r; \
30882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30883 $(STAGE_HOST_EXPORTS) \
30884 cd intl && \
30885 $(MAKE) $(FLAGS_TO_PASS) \
30886 $(POSTSTAGE1_FLAGS_TO_PASS) \
30889 maybe-clean-stage4-intl: clean-stage4-intl
30890 clean-stage4-intl:
30891 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
30892 || exit 0 ; \
30893 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
30894 cd intl && \
30895 $(MAKE) $(FLAGS_TO_PASS) \
30896 $(POSTSTAGE1_FLAGS_TO_PASS) \
30897 clean
30898 @endif intl-bootstrap
30901 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
30902 .PHONY: all-stage4-ld maybe-all-stage4-ld
30903 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
30905 maybe-configure-stage4-ld:
30906 maybe-all-stage4-ld:
30907 maybe-clean-stage4-ld:
30909 @if ld-bootstrap
30910 maybe-configure-stage4-ld: configure-stage4-ld
30911 configure-stage4-ld:
30912 @$(MAKE) stage4-start
30913 @[ -f ld/Makefile ] && exit 0 || : ; \
30914 r=`${PWD_COMMAND}`; export r; \
30915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30916 $(STAGE_HOST_EXPORTS) \
30917 echo Configuring stage 4 in ld ; \
30918 cd ld || exit 1; \
30919 case $(srcdir) in \
30920 \.) \
30921 srcdiroption="--srcdir=."; \
30922 libsrcdir=".";; \
30923 /* | [A-Za-z]:[\\/]*) \
30924 srcdiroption="--srcdir=$(srcdir)/ld"; \
30925 libsrcdir="$$s/ld";; \
30926 *) \
30927 srcdiroption="--srcdir=../$(srcdir)/ld"; \
30928 libsrcdir="$$s/ld";; \
30929 esac; \
30930 $(SHELL) $${libsrcdir}/configure \
30931 $(HOST_CONFIGARGS) $${srcdiroption} \
30932 @stage2_werror_flag@
30934 maybe-all-stage4-ld: all-stage4-ld
30935 all-stage4-ld: configure-stage4-ld
30936 @$(MAKE) stage4-start
30937 @r=`${PWD_COMMAND}`; export r; \
30938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30939 $(STAGE_HOST_EXPORTS) \
30940 cd ld && \
30941 $(MAKE) $(FLAGS_TO_PASS) \
30942 $(POSTSTAGE1_FLAGS_TO_PASS) \
30945 maybe-clean-stage4-ld: clean-stage4-ld
30946 clean-stage4-ld:
30947 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
30948 || exit 0 ; \
30949 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
30950 cd ld && \
30951 $(MAKE) $(FLAGS_TO_PASS) \
30952 $(POSTSTAGE1_FLAGS_TO_PASS) \
30953 clean
30954 @endif ld-bootstrap
30957 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
30958 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
30959 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
30961 maybe-configure-stage4-libcpp:
30962 maybe-all-stage4-libcpp:
30963 maybe-clean-stage4-libcpp:
30965 @if libcpp-bootstrap
30966 maybe-configure-stage4-libcpp: configure-stage4-libcpp
30967 configure-stage4-libcpp:
30968 @$(MAKE) stage4-start
30969 @[ -f libcpp/Makefile ] && exit 0 || : ; \
30970 r=`${PWD_COMMAND}`; export r; \
30971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30972 $(STAGE_HOST_EXPORTS) \
30973 echo Configuring stage 4 in libcpp ; \
30974 cd libcpp || exit 1; \
30975 case $(srcdir) in \
30976 \.) \
30977 srcdiroption="--srcdir=."; \
30978 libsrcdir=".";; \
30979 /* | [A-Za-z]:[\\/]*) \
30980 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
30981 libsrcdir="$$s/libcpp";; \
30982 *) \
30983 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
30984 libsrcdir="$$s/libcpp";; \
30985 esac; \
30986 $(SHELL) $${libsrcdir}/configure \
30987 $(HOST_CONFIGARGS) $${srcdiroption} \
30988 @stage2_werror_flag@
30990 maybe-all-stage4-libcpp: all-stage4-libcpp
30991 all-stage4-libcpp: configure-stage4-libcpp
30992 @$(MAKE) stage4-start
30993 @r=`${PWD_COMMAND}`; export r; \
30994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30995 $(STAGE_HOST_EXPORTS) \
30996 cd libcpp && \
30997 $(MAKE) $(FLAGS_TO_PASS) \
30998 $(POSTSTAGE1_FLAGS_TO_PASS) \
31001 maybe-clean-stage4-libcpp: clean-stage4-libcpp
31002 clean-stage4-libcpp:
31003 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
31004 || exit 0 ; \
31005 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
31006 cd libcpp && \
31007 $(MAKE) $(FLAGS_TO_PASS) \
31008 $(POSTSTAGE1_FLAGS_TO_PASS) \
31009 clean
31010 @endif libcpp-bootstrap
31013 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
31014 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
31015 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
31017 maybe-configure-stage4-libiberty:
31018 maybe-all-stage4-libiberty:
31019 maybe-clean-stage4-libiberty:
31021 @if libiberty-bootstrap
31022 maybe-configure-stage4-libiberty: configure-stage4-libiberty
31023 configure-stage4-libiberty:
31024 @$(MAKE) stage4-start
31025 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31026 r=`${PWD_COMMAND}`; export r; \
31027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31028 $(STAGE_HOST_EXPORTS) \
31029 echo Configuring stage 4 in libiberty ; \
31030 cd libiberty || exit 1; \
31031 case $(srcdir) in \
31032 \.) \
31033 srcdiroption="--srcdir=."; \
31034 libsrcdir=".";; \
31035 /* | [A-Za-z]:[\\/]*) \
31036 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31037 libsrcdir="$$s/libiberty";; \
31038 *) \
31039 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31040 libsrcdir="$$s/libiberty";; \
31041 esac; \
31042 $(SHELL) $${libsrcdir}/configure \
31043 $(HOST_CONFIGARGS) $${srcdiroption} \
31044 @stage2_werror_flag@
31046 maybe-all-stage4-libiberty: all-stage4-libiberty
31047 all-stage4-libiberty: configure-stage4-libiberty
31048 @$(MAKE) stage4-start
31049 @r=`${PWD_COMMAND}`; export r; \
31050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31051 $(STAGE_HOST_EXPORTS) \
31052 cd libiberty && \
31053 $(MAKE) $(FLAGS_TO_PASS) \
31054 $(POSTSTAGE1_FLAGS_TO_PASS) \
31057 maybe-clean-stage4-libiberty: clean-stage4-libiberty
31058 clean-stage4-libiberty:
31059 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
31060 || exit 0 ; \
31061 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
31062 cd libiberty && \
31063 $(MAKE) $(FLAGS_TO_PASS) \
31064 $(POSTSTAGE1_FLAGS_TO_PASS) \
31065 clean
31066 @endif libiberty-bootstrap
31069 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
31070 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
31071 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
31073 maybe-configure-stage4-zlib:
31074 maybe-all-stage4-zlib:
31075 maybe-clean-stage4-zlib:
31077 @if zlib-bootstrap
31078 maybe-configure-stage4-zlib: configure-stage4-zlib
31079 configure-stage4-zlib:
31080 @$(MAKE) stage4-start
31081 @[ -f zlib/Makefile ] && exit 0 || : ; \
31082 r=`${PWD_COMMAND}`; export r; \
31083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31084 $(STAGE_HOST_EXPORTS) \
31085 echo Configuring stage 4 in zlib ; \
31086 cd zlib || exit 1; \
31087 case $(srcdir) in \
31088 \.) \
31089 srcdiroption="--srcdir=."; \
31090 libsrcdir=".";; \
31091 /* | [A-Za-z]:[\\/]*) \
31092 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31093 libsrcdir="$$s/zlib";; \
31094 *) \
31095 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31096 libsrcdir="$$s/zlib";; \
31097 esac; \
31098 $(SHELL) $${libsrcdir}/configure \
31099 $(HOST_CONFIGARGS) $${srcdiroption} \
31100 @stage2_werror_flag@
31102 maybe-all-stage4-zlib: all-stage4-zlib
31103 all-stage4-zlib: configure-stage4-zlib
31104 @$(MAKE) stage4-start
31105 @r=`${PWD_COMMAND}`; export r; \
31106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31107 $(STAGE_HOST_EXPORTS) \
31108 cd zlib && \
31109 $(MAKE) $(FLAGS_TO_PASS) \
31110 $(POSTSTAGE1_FLAGS_TO_PASS) \
31113 maybe-clean-stage4-zlib: clean-stage4-zlib
31114 clean-stage4-zlib:
31115 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
31116 || exit 0 ; \
31117 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
31118 cd zlib && \
31119 $(MAKE) $(FLAGS_TO_PASS) \
31120 $(POSTSTAGE1_FLAGS_TO_PASS) \
31121 clean
31122 @endif zlib-bootstrap
31126 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31127 # only possibility, but now it conflicts with no-bootstrap rules
31128 @if gcc-bootstrap
31130 compare3:
31131 @if test -f stage3-lean; then \
31132 echo Cannot compare object files as stage 3 was deleted. ; \
31133 exit 0 ; \
31134 fi; \
31135 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31136 @r=`${PWD_COMMAND}`; export r; \
31137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31138 rm -f .bad_compare ; \
31139 cd stage4-gcc; \
31140 files=`find . -name "*$(objext)" -print` ; \
31141 cd .. ; \
31142 for file in $${files} ; do \
31143 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
31144 @do_compare@ > /dev/null 2>&1; \
31145 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
31146 done ; \
31147 if [ -f .bad_compare ]; then \
31148 echo "Bootstrap comparison failure!"; \
31149 cat .bad_compare; \
31150 exit 1; \
31151 else \
31152 true; \
31153 fi ; \
31154 $(STAMP) compare3
31155 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
31159 .PHONY: bootstrap4
31160 bootstrap4: stage4-bubble compare3 all
31163 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31164 distclean-stage3:: distclean-stage4
31165 .PHONY: distclean-stage4
31166 distclean-stage4::
31167 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31168 rm -rf stage4-* compare3
31171 @endif gcc-bootstrap
31174 .PHONY: stageprofile-start stageprofile-end
31176 stageprofile-start::
31177 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31178 echo stageprofile > stage_current ; \
31179 echo stageprofile > stage_last
31180 @if bfd
31181 @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
31182 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31183 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31184 @endif bfd
31185 @if opcodes
31186 @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
31187 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31188 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31189 @endif opcodes
31190 @if binutils
31191 @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
31192 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31193 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31194 @endif binutils
31195 @if gas
31196 @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
31197 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31198 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31199 @endif gas
31200 @if gcc
31201 @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
31202 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31203 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31204 @endif gcc
31205 @if intl
31206 @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
31207 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31208 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31209 @endif intl
31210 @if ld
31211 @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
31212 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31213 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31214 @endif ld
31215 @if libcpp
31216 @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
31217 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31218 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31219 @endif libcpp
31220 @if libiberty
31221 @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
31222 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31223 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31224 @endif libiberty
31225 @if zlib
31226 @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
31227 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31228 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31229 @endif zlib
31231 stageprofile-end::
31232 @rm -f stage_current
31233 @if bfd
31234 @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
31235 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31236 @endif bfd
31237 @if opcodes
31238 @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31239 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31240 @endif opcodes
31241 @if binutils
31242 @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
31243 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31244 @endif binutils
31245 @if gas
31246 @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
31247 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31248 @endif gas
31249 @if gcc
31250 @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
31251 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31252 @endif gcc
31253 @if intl
31254 @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
31255 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31256 @endif intl
31257 @if ld
31258 @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
31259 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31260 @endif ld
31261 @if libcpp
31262 @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31263 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31264 @endif libcpp
31265 @if libiberty
31266 @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31267 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31268 @endif libiberty
31269 @if zlib
31270 @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
31271 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31272 @endif zlib
31274 # Bubble a bugfix through all the stages up to stage profile. They
31275 # are remade, but not reconfigured. The next stage (if any) will not
31276 # be reconfigured as well.
31277 .PHONY: stageprofile-bubble
31278 stageprofile-bubble:: stage1-bubble
31279 @if test -f stageprofile-lean || test -f stage1-lean ; then \
31280 echo Skipping rebuild of stageprofile ; \
31281 else \
31282 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
31285 .PHONY: all-stageprofile clean-stageprofile
31286 all-stageprofile: \
31287 maybe-all-stageprofile-bfd \
31288 maybe-all-stageprofile-opcodes \
31289 maybe-all-stageprofile-binutils \
31290 maybe-all-stageprofile-gas \
31291 maybe-all-stageprofile-gcc \
31292 maybe-all-stageprofile-intl \
31293 maybe-all-stageprofile-ld \
31294 maybe-all-stageprofile-libcpp \
31295 maybe-all-stageprofile-libiberty \
31296 maybe-all-stageprofile-zlib
31298 do-clean: clean-stageprofile
31299 clean-stageprofile: \
31300 maybe-clean-stageprofile-bfd \
31301 maybe-clean-stageprofile-opcodes \
31302 maybe-clean-stageprofile-binutils \
31303 maybe-clean-stageprofile-gas \
31304 maybe-clean-stageprofile-gcc \
31305 maybe-clean-stageprofile-intl \
31306 maybe-clean-stageprofile-ld \
31307 maybe-clean-stageprofile-libcpp \
31308 maybe-clean-stageprofile-libiberty \
31309 maybe-clean-stageprofile-zlib
31312 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
31313 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
31314 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
31316 maybe-configure-stageprofile-bfd:
31317 maybe-all-stageprofile-bfd:
31318 maybe-clean-stageprofile-bfd:
31320 @if bfd-bootstrap
31321 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
31322 configure-stageprofile-bfd:
31323 @$(MAKE) stageprofile-start
31324 @[ -f bfd/Makefile ] && exit 0 || : ; \
31325 r=`${PWD_COMMAND}`; export r; \
31326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31327 $(STAGE_HOST_EXPORTS) \
31328 echo Configuring stage profile in bfd ; \
31329 cd bfd || exit 1; \
31330 case $(srcdir) in \
31331 \.) \
31332 srcdiroption="--srcdir=."; \
31333 libsrcdir=".";; \
31334 /* | [A-Za-z]:[\\/]*) \
31335 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31336 libsrcdir="$$s/bfd";; \
31337 *) \
31338 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31339 libsrcdir="$$s/bfd";; \
31340 esac; \
31341 $(SHELL) $${libsrcdir}/configure \
31342 $(HOST_CONFIGARGS) $${srcdiroption} \
31343 @stage2_werror_flag@
31345 maybe-all-stageprofile-bfd: all-stageprofile-bfd
31346 all-stageprofile-bfd: configure-stageprofile-bfd
31347 @$(MAKE) stageprofile-start
31348 @r=`${PWD_COMMAND}`; export r; \
31349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31350 $(STAGE_HOST_EXPORTS) \
31351 cd bfd && \
31352 $(MAKE) $(FLAGS_TO_PASS) \
31353 $(POSTSTAGE1_FLAGS_TO_PASS) \
31354 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31356 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
31357 clean-stageprofile-bfd:
31358 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
31359 || exit 0 ; \
31360 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
31361 cd bfd && \
31362 $(MAKE) $(FLAGS_TO_PASS) \
31363 $(POSTSTAGE1_FLAGS_TO_PASS) \
31364 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31365 @endif bfd-bootstrap
31368 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
31369 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
31370 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
31372 maybe-configure-stageprofile-opcodes:
31373 maybe-all-stageprofile-opcodes:
31374 maybe-clean-stageprofile-opcodes:
31376 @if opcodes-bootstrap
31377 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
31378 configure-stageprofile-opcodes:
31379 @$(MAKE) stageprofile-start
31380 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31381 r=`${PWD_COMMAND}`; export r; \
31382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31383 $(STAGE_HOST_EXPORTS) \
31384 echo Configuring stage profile in opcodes ; \
31385 cd opcodes || exit 1; \
31386 case $(srcdir) in \
31387 \.) \
31388 srcdiroption="--srcdir=."; \
31389 libsrcdir=".";; \
31390 /* | [A-Za-z]:[\\/]*) \
31391 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31392 libsrcdir="$$s/opcodes";; \
31393 *) \
31394 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31395 libsrcdir="$$s/opcodes";; \
31396 esac; \
31397 $(SHELL) $${libsrcdir}/configure \
31398 $(HOST_CONFIGARGS) $${srcdiroption} \
31399 @stage2_werror_flag@
31401 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
31402 all-stageprofile-opcodes: configure-stageprofile-opcodes
31403 @$(MAKE) stageprofile-start
31404 @r=`${PWD_COMMAND}`; export r; \
31405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31406 $(STAGE_HOST_EXPORTS) \
31407 cd opcodes && \
31408 $(MAKE) $(FLAGS_TO_PASS) \
31409 $(POSTSTAGE1_FLAGS_TO_PASS) \
31410 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31412 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
31413 clean-stageprofile-opcodes:
31414 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
31415 || exit 0 ; \
31416 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
31417 cd opcodes && \
31418 $(MAKE) $(FLAGS_TO_PASS) \
31419 $(POSTSTAGE1_FLAGS_TO_PASS) \
31420 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31421 @endif opcodes-bootstrap
31424 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
31425 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
31426 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
31428 maybe-configure-stageprofile-binutils:
31429 maybe-all-stageprofile-binutils:
31430 maybe-clean-stageprofile-binutils:
31432 @if binutils-bootstrap
31433 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
31434 configure-stageprofile-binutils:
31435 @$(MAKE) stageprofile-start
31436 @[ -f binutils/Makefile ] && exit 0 || : ; \
31437 r=`${PWD_COMMAND}`; export r; \
31438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31439 $(STAGE_HOST_EXPORTS) \
31440 echo Configuring stage profile in binutils ; \
31441 cd binutils || exit 1; \
31442 case $(srcdir) in \
31443 \.) \
31444 srcdiroption="--srcdir=."; \
31445 libsrcdir=".";; \
31446 /* | [A-Za-z]:[\\/]*) \
31447 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31448 libsrcdir="$$s/binutils";; \
31449 *) \
31450 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31451 libsrcdir="$$s/binutils";; \
31452 esac; \
31453 $(SHELL) $${libsrcdir}/configure \
31454 $(HOST_CONFIGARGS) $${srcdiroption} \
31455 @stage2_werror_flag@
31457 maybe-all-stageprofile-binutils: all-stageprofile-binutils
31458 all-stageprofile-binutils: configure-stageprofile-binutils
31459 @$(MAKE) stageprofile-start
31460 @r=`${PWD_COMMAND}`; export r; \
31461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31462 $(STAGE_HOST_EXPORTS) \
31463 cd binutils && \
31464 $(MAKE) $(FLAGS_TO_PASS) \
31465 $(POSTSTAGE1_FLAGS_TO_PASS) \
31466 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31468 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
31469 clean-stageprofile-binutils:
31470 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
31471 || exit 0 ; \
31472 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
31473 cd binutils && \
31474 $(MAKE) $(FLAGS_TO_PASS) \
31475 $(POSTSTAGE1_FLAGS_TO_PASS) \
31476 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31477 @endif binutils-bootstrap
31480 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
31481 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
31482 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
31484 maybe-configure-stageprofile-gas:
31485 maybe-all-stageprofile-gas:
31486 maybe-clean-stageprofile-gas:
31488 @if gas-bootstrap
31489 maybe-configure-stageprofile-gas: configure-stageprofile-gas
31490 configure-stageprofile-gas:
31491 @$(MAKE) stageprofile-start
31492 @[ -f gas/Makefile ] && exit 0 || : ; \
31493 r=`${PWD_COMMAND}`; export r; \
31494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31495 $(STAGE_HOST_EXPORTS) \
31496 echo Configuring stage profile in gas ; \
31497 cd gas || exit 1; \
31498 case $(srcdir) in \
31499 \.) \
31500 srcdiroption="--srcdir=."; \
31501 libsrcdir=".";; \
31502 /* | [A-Za-z]:[\\/]*) \
31503 srcdiroption="--srcdir=$(srcdir)/gas"; \
31504 libsrcdir="$$s/gas";; \
31505 *) \
31506 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31507 libsrcdir="$$s/gas";; \
31508 esac; \
31509 $(SHELL) $${libsrcdir}/configure \
31510 $(HOST_CONFIGARGS) $${srcdiroption} \
31511 @stage2_werror_flag@
31513 maybe-all-stageprofile-gas: all-stageprofile-gas
31514 all-stageprofile-gas: configure-stageprofile-gas
31515 @$(MAKE) stageprofile-start
31516 @r=`${PWD_COMMAND}`; export r; \
31517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31518 $(STAGE_HOST_EXPORTS) \
31519 cd gas && \
31520 $(MAKE) $(FLAGS_TO_PASS) \
31521 $(POSTSTAGE1_FLAGS_TO_PASS) \
31522 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31524 maybe-clean-stageprofile-gas: clean-stageprofile-gas
31525 clean-stageprofile-gas:
31526 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
31527 || exit 0 ; \
31528 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
31529 cd gas && \
31530 $(MAKE) $(FLAGS_TO_PASS) \
31531 $(POSTSTAGE1_FLAGS_TO_PASS) \
31532 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31533 @endif gas-bootstrap
31536 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
31537 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
31538 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
31540 maybe-configure-stageprofile-gcc:
31541 maybe-all-stageprofile-gcc:
31542 maybe-clean-stageprofile-gcc:
31544 @if gcc-bootstrap
31545 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
31546 configure-stageprofile-gcc:
31547 @$(MAKE) stageprofile-start
31548 @[ -f gcc/Makefile ] && exit 0 || : ; \
31549 r=`${PWD_COMMAND}`; export r; \
31550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31551 $(STAGE_HOST_EXPORTS) \
31552 echo Configuring stage profile in gcc ; \
31553 cd gcc || exit 1; \
31554 case $(srcdir) in \
31555 \.) \
31556 srcdiroption="--srcdir=."; \
31557 libsrcdir=".";; \
31558 /* | [A-Za-z]:[\\/]*) \
31559 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31560 libsrcdir="$$s/gcc";; \
31561 *) \
31562 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31563 libsrcdir="$$s/gcc";; \
31564 esac; \
31565 $(SHELL) $${libsrcdir}/configure \
31566 $(HOST_CONFIGARGS) $${srcdiroption} \
31567 @stage2_werror_flag@
31569 maybe-all-stageprofile-gcc: all-stageprofile-gcc
31570 all-stageprofile-gcc: configure-stageprofile-gcc
31571 @$(MAKE) stageprofile-start
31572 @r=`${PWD_COMMAND}`; export r; \
31573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31574 $(STAGE_HOST_EXPORTS) \
31575 cd gcc && \
31576 $(MAKE) $(FLAGS_TO_PASS) \
31577 $(POSTSTAGE1_FLAGS_TO_PASS) \
31578 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
31580 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
31581 clean-stageprofile-gcc:
31582 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
31583 || exit 0 ; \
31584 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
31585 cd gcc && \
31586 $(MAKE) $(FLAGS_TO_PASS) \
31587 $(POSTSTAGE1_FLAGS_TO_PASS) \
31588 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
31589 @endif gcc-bootstrap
31592 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
31593 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
31594 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
31596 maybe-configure-stageprofile-intl:
31597 maybe-all-stageprofile-intl:
31598 maybe-clean-stageprofile-intl:
31600 @if intl-bootstrap
31601 maybe-configure-stageprofile-intl: configure-stageprofile-intl
31602 configure-stageprofile-intl:
31603 @$(MAKE) stageprofile-start
31604 @[ -f intl/Makefile ] && exit 0 || : ; \
31605 r=`${PWD_COMMAND}`; export r; \
31606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31607 $(STAGE_HOST_EXPORTS) \
31608 echo Configuring stage profile in intl ; \
31609 cd intl || exit 1; \
31610 case $(srcdir) in \
31611 \.) \
31612 srcdiroption="--srcdir=."; \
31613 libsrcdir=".";; \
31614 /* | [A-Za-z]:[\\/]*) \
31615 srcdiroption="--srcdir=$(srcdir)/intl"; \
31616 libsrcdir="$$s/intl";; \
31617 *) \
31618 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31619 libsrcdir="$$s/intl";; \
31620 esac; \
31621 $(SHELL) $${libsrcdir}/configure \
31622 $(HOST_CONFIGARGS) $${srcdiroption} \
31623 @stage2_werror_flag@
31625 maybe-all-stageprofile-intl: all-stageprofile-intl
31626 all-stageprofile-intl: configure-stageprofile-intl
31627 @$(MAKE) stageprofile-start
31628 @r=`${PWD_COMMAND}`; export r; \
31629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31630 $(STAGE_HOST_EXPORTS) \
31631 cd intl && \
31632 $(MAKE) $(FLAGS_TO_PASS) \
31633 $(POSTSTAGE1_FLAGS_TO_PASS) \
31634 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31636 maybe-clean-stageprofile-intl: clean-stageprofile-intl
31637 clean-stageprofile-intl:
31638 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
31639 || exit 0 ; \
31640 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
31641 cd intl && \
31642 $(MAKE) $(FLAGS_TO_PASS) \
31643 $(POSTSTAGE1_FLAGS_TO_PASS) \
31644 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31645 @endif intl-bootstrap
31648 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
31649 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
31650 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
31652 maybe-configure-stageprofile-ld:
31653 maybe-all-stageprofile-ld:
31654 maybe-clean-stageprofile-ld:
31656 @if ld-bootstrap
31657 maybe-configure-stageprofile-ld: configure-stageprofile-ld
31658 configure-stageprofile-ld:
31659 @$(MAKE) stageprofile-start
31660 @[ -f ld/Makefile ] && exit 0 || : ; \
31661 r=`${PWD_COMMAND}`; export r; \
31662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31663 $(STAGE_HOST_EXPORTS) \
31664 echo Configuring stage profile in ld ; \
31665 cd ld || exit 1; \
31666 case $(srcdir) in \
31667 \.) \
31668 srcdiroption="--srcdir=."; \
31669 libsrcdir=".";; \
31670 /* | [A-Za-z]:[\\/]*) \
31671 srcdiroption="--srcdir=$(srcdir)/ld"; \
31672 libsrcdir="$$s/ld";; \
31673 *) \
31674 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31675 libsrcdir="$$s/ld";; \
31676 esac; \
31677 $(SHELL) $${libsrcdir}/configure \
31678 $(HOST_CONFIGARGS) $${srcdiroption} \
31679 @stage2_werror_flag@
31681 maybe-all-stageprofile-ld: all-stageprofile-ld
31682 all-stageprofile-ld: configure-stageprofile-ld
31683 @$(MAKE) stageprofile-start
31684 @r=`${PWD_COMMAND}`; export r; \
31685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31686 $(STAGE_HOST_EXPORTS) \
31687 cd ld && \
31688 $(MAKE) $(FLAGS_TO_PASS) \
31689 $(POSTSTAGE1_FLAGS_TO_PASS) \
31690 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31692 maybe-clean-stageprofile-ld: clean-stageprofile-ld
31693 clean-stageprofile-ld:
31694 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
31695 || exit 0 ; \
31696 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
31697 cd ld && \
31698 $(MAKE) $(FLAGS_TO_PASS) \
31699 $(POSTSTAGE1_FLAGS_TO_PASS) \
31700 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31701 @endif ld-bootstrap
31704 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
31705 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
31706 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
31708 maybe-configure-stageprofile-libcpp:
31709 maybe-all-stageprofile-libcpp:
31710 maybe-clean-stageprofile-libcpp:
31712 @if libcpp-bootstrap
31713 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
31714 configure-stageprofile-libcpp:
31715 @$(MAKE) stageprofile-start
31716 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31717 r=`${PWD_COMMAND}`; export r; \
31718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31719 $(STAGE_HOST_EXPORTS) \
31720 echo Configuring stage profile in libcpp ; \
31721 cd libcpp || exit 1; \
31722 case $(srcdir) in \
31723 \.) \
31724 srcdiroption="--srcdir=."; \
31725 libsrcdir=".";; \
31726 /* | [A-Za-z]:[\\/]*) \
31727 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31728 libsrcdir="$$s/libcpp";; \
31729 *) \
31730 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31731 libsrcdir="$$s/libcpp";; \
31732 esac; \
31733 $(SHELL) $${libsrcdir}/configure \
31734 $(HOST_CONFIGARGS) $${srcdiroption} \
31735 @stage2_werror_flag@
31737 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
31738 all-stageprofile-libcpp: configure-stageprofile-libcpp
31739 @$(MAKE) stageprofile-start
31740 @r=`${PWD_COMMAND}`; export r; \
31741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31742 $(STAGE_HOST_EXPORTS) \
31743 cd libcpp && \
31744 $(MAKE) $(FLAGS_TO_PASS) \
31745 $(POSTSTAGE1_FLAGS_TO_PASS) \
31746 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31748 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
31749 clean-stageprofile-libcpp:
31750 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
31751 || exit 0 ; \
31752 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
31753 cd libcpp && \
31754 $(MAKE) $(FLAGS_TO_PASS) \
31755 $(POSTSTAGE1_FLAGS_TO_PASS) \
31756 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31757 @endif libcpp-bootstrap
31760 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
31761 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
31762 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
31764 maybe-configure-stageprofile-libiberty:
31765 maybe-all-stageprofile-libiberty:
31766 maybe-clean-stageprofile-libiberty:
31768 @if libiberty-bootstrap
31769 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
31770 configure-stageprofile-libiberty:
31771 @$(MAKE) stageprofile-start
31772 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31773 r=`${PWD_COMMAND}`; export r; \
31774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31775 $(STAGE_HOST_EXPORTS) \
31776 echo Configuring stage profile in libiberty ; \
31777 cd libiberty || exit 1; \
31778 case $(srcdir) in \
31779 \.) \
31780 srcdiroption="--srcdir=."; \
31781 libsrcdir=".";; \
31782 /* | [A-Za-z]:[\\/]*) \
31783 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31784 libsrcdir="$$s/libiberty";; \
31785 *) \
31786 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31787 libsrcdir="$$s/libiberty";; \
31788 esac; \
31789 $(SHELL) $${libsrcdir}/configure \
31790 $(HOST_CONFIGARGS) $${srcdiroption} \
31791 @stage2_werror_flag@
31793 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
31794 all-stageprofile-libiberty: configure-stageprofile-libiberty
31795 @$(MAKE) stageprofile-start
31796 @r=`${PWD_COMMAND}`; export r; \
31797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31798 $(STAGE_HOST_EXPORTS) \
31799 cd libiberty && \
31800 $(MAKE) $(FLAGS_TO_PASS) \
31801 $(POSTSTAGE1_FLAGS_TO_PASS) \
31802 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31804 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
31805 clean-stageprofile-libiberty:
31806 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
31807 || exit 0 ; \
31808 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
31809 cd libiberty && \
31810 $(MAKE) $(FLAGS_TO_PASS) \
31811 $(POSTSTAGE1_FLAGS_TO_PASS) \
31812 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31813 @endif libiberty-bootstrap
31816 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
31817 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
31818 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
31820 maybe-configure-stageprofile-zlib:
31821 maybe-all-stageprofile-zlib:
31822 maybe-clean-stageprofile-zlib:
31824 @if zlib-bootstrap
31825 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31826 configure-stageprofile-zlib:
31827 @$(MAKE) stageprofile-start
31828 @[ -f zlib/Makefile ] && exit 0 || : ; \
31829 r=`${PWD_COMMAND}`; export r; \
31830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31831 $(STAGE_HOST_EXPORTS) \
31832 echo Configuring stage profile in zlib ; \
31833 cd zlib || exit 1; \
31834 case $(srcdir) in \
31835 \.) \
31836 srcdiroption="--srcdir=."; \
31837 libsrcdir=".";; \
31838 /* | [A-Za-z]:[\\/]*) \
31839 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31840 libsrcdir="$$s/zlib";; \
31841 *) \
31842 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31843 libsrcdir="$$s/zlib";; \
31844 esac; \
31845 $(SHELL) $${libsrcdir}/configure \
31846 $(HOST_CONFIGARGS) $${srcdiroption} \
31847 @stage2_werror_flag@
31849 maybe-all-stageprofile-zlib: all-stageprofile-zlib
31850 all-stageprofile-zlib: configure-stageprofile-zlib
31851 @$(MAKE) stageprofile-start
31852 @r=`${PWD_COMMAND}`; export r; \
31853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31854 $(STAGE_HOST_EXPORTS) \
31855 cd zlib && \
31856 $(MAKE) $(FLAGS_TO_PASS) \
31857 $(POSTSTAGE1_FLAGS_TO_PASS) \
31858 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31860 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
31861 clean-stageprofile-zlib:
31862 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
31863 || exit 0 ; \
31864 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
31865 cd zlib && \
31866 $(MAKE) $(FLAGS_TO_PASS) \
31867 $(POSTSTAGE1_FLAGS_TO_PASS) \
31868 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31869 @endif zlib-bootstrap
31873 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31874 # only possibility, but now it conflicts with no-bootstrap rules
31875 @if gcc-bootstrap
31880 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31881 distclean-stage1:: distclean-stageprofile
31882 .PHONY: distclean-stageprofile
31883 distclean-stageprofile::
31884 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31885 rm -rf stageprofile-*
31888 @endif gcc-bootstrap
31891 .PHONY: stagefeedback-start stagefeedback-end
31893 stagefeedback-start::
31894 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31895 echo stagefeedback > stage_current ; \
31896 echo stagefeedback > stage_last
31897 @if bfd
31898 @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
31899 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31900 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31901 @endif bfd
31902 @if opcodes
31903 @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
31904 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31905 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31906 @endif opcodes
31907 @if binutils
31908 @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
31909 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31910 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31911 @endif binutils
31912 @if gas
31913 @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
31914 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31915 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31916 @endif gas
31917 @if gcc
31918 @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
31919 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31920 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31921 @endif gcc
31922 @if intl
31923 @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
31924 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31925 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31926 @endif intl
31927 @if ld
31928 @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
31929 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31930 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31931 @endif ld
31932 @if libcpp
31933 @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
31934 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31935 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31936 @endif libcpp
31937 @if libiberty
31938 @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
31939 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31940 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31941 @endif libiberty
31942 @if zlib
31943 @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
31944 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31945 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31946 @endif zlib
31948 stagefeedback-end::
31949 @rm -f stage_current
31950 @if bfd
31951 @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
31952 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31953 @endif bfd
31954 @if opcodes
31955 @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31956 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31957 @endif opcodes
31958 @if binutils
31959 @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
31960 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31961 @endif binutils
31962 @if gas
31963 @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
31964 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31965 @endif gas
31966 @if gcc
31967 @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
31968 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31969 @endif gcc
31970 @if intl
31971 @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
31972 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31973 @endif intl
31974 @if ld
31975 @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
31976 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31977 @endif ld
31978 @if libcpp
31979 @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31980 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31981 @endif libcpp
31982 @if libiberty
31983 @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31984 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31985 @endif libiberty
31986 @if zlib
31987 @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
31988 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31989 @endif zlib
31991 # Bubble a bugfix through all the stages up to stage feedback. They
31992 # are remade, but not reconfigured. The next stage (if any) will not
31993 # be reconfigured as well.
31994 .PHONY: stagefeedback-bubble
31995 stagefeedback-bubble:: stage1-bubble
31996 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
31997 echo Skipping rebuild of stagefeedback ; \
31998 else \
31999 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
32002 .PHONY: all-stagefeedback clean-stagefeedback
32003 all-stagefeedback: \
32004 maybe-all-stagefeedback-bfd \
32005 maybe-all-stagefeedback-opcodes \
32006 maybe-all-stagefeedback-binutils \
32007 maybe-all-stagefeedback-gas \
32008 maybe-all-stagefeedback-gcc \
32009 maybe-all-stagefeedback-intl \
32010 maybe-all-stagefeedback-ld \
32011 maybe-all-stagefeedback-libcpp \
32012 maybe-all-stagefeedback-libiberty \
32013 maybe-all-stagefeedback-zlib
32015 do-clean: clean-stagefeedback
32016 clean-stagefeedback: \
32017 maybe-clean-stagefeedback-bfd \
32018 maybe-clean-stagefeedback-opcodes \
32019 maybe-clean-stagefeedback-binutils \
32020 maybe-clean-stagefeedback-gas \
32021 maybe-clean-stagefeedback-gcc \
32022 maybe-clean-stagefeedback-intl \
32023 maybe-clean-stagefeedback-ld \
32024 maybe-clean-stagefeedback-libcpp \
32025 maybe-clean-stagefeedback-libiberty \
32026 maybe-clean-stagefeedback-zlib
32029 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
32030 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
32031 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
32033 maybe-configure-stagefeedback-bfd:
32034 maybe-all-stagefeedback-bfd:
32035 maybe-clean-stagefeedback-bfd:
32037 @if bfd-bootstrap
32038 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
32039 configure-stagefeedback-bfd:
32040 @$(MAKE) stagefeedback-start
32041 @[ -f bfd/Makefile ] && exit 0 || : ; \
32042 r=`${PWD_COMMAND}`; export r; \
32043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32044 $(STAGE_HOST_EXPORTS) \
32045 echo Configuring stage feedback in bfd ; \
32046 cd bfd || exit 1; \
32047 case $(srcdir) in \
32048 \.) \
32049 srcdiroption="--srcdir=."; \
32050 libsrcdir=".";; \
32051 /* | [A-Za-z]:[\\/]*) \
32052 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32053 libsrcdir="$$s/bfd";; \
32054 *) \
32055 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32056 libsrcdir="$$s/bfd";; \
32057 esac; \
32058 $(SHELL) $${libsrcdir}/configure \
32059 $(HOST_CONFIGARGS) $${srcdiroption} \
32060 @stage2_werror_flag@
32062 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
32063 all-stagefeedback-bfd: configure-stagefeedback-bfd
32064 @$(MAKE) stagefeedback-start
32065 @r=`${PWD_COMMAND}`; export r; \
32066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32067 $(STAGE_HOST_EXPORTS) \
32068 cd bfd && \
32069 $(MAKE) $(FLAGS_TO_PASS) \
32070 $(POSTSTAGE1_FLAGS_TO_PASS) \
32071 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32073 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
32074 clean-stagefeedback-bfd:
32075 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
32076 || exit 0 ; \
32077 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
32078 cd bfd && \
32079 $(MAKE) $(FLAGS_TO_PASS) \
32080 $(POSTSTAGE1_FLAGS_TO_PASS) \
32081 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32082 @endif bfd-bootstrap
32085 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
32086 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
32087 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
32089 maybe-configure-stagefeedback-opcodes:
32090 maybe-all-stagefeedback-opcodes:
32091 maybe-clean-stagefeedback-opcodes:
32093 @if opcodes-bootstrap
32094 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
32095 configure-stagefeedback-opcodes:
32096 @$(MAKE) stagefeedback-start
32097 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32098 r=`${PWD_COMMAND}`; export r; \
32099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32100 $(STAGE_HOST_EXPORTS) \
32101 echo Configuring stage feedback in opcodes ; \
32102 cd opcodes || exit 1; \
32103 case $(srcdir) in \
32104 \.) \
32105 srcdiroption="--srcdir=."; \
32106 libsrcdir=".";; \
32107 /* | [A-Za-z]:[\\/]*) \
32108 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32109 libsrcdir="$$s/opcodes";; \
32110 *) \
32111 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32112 libsrcdir="$$s/opcodes";; \
32113 esac; \
32114 $(SHELL) $${libsrcdir}/configure \
32115 $(HOST_CONFIGARGS) $${srcdiroption} \
32116 @stage2_werror_flag@
32118 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
32119 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
32120 @$(MAKE) stagefeedback-start
32121 @r=`${PWD_COMMAND}`; export r; \
32122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32123 $(STAGE_HOST_EXPORTS) \
32124 cd opcodes && \
32125 $(MAKE) $(FLAGS_TO_PASS) \
32126 $(POSTSTAGE1_FLAGS_TO_PASS) \
32127 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32129 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
32130 clean-stagefeedback-opcodes:
32131 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
32132 || exit 0 ; \
32133 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
32134 cd opcodes && \
32135 $(MAKE) $(FLAGS_TO_PASS) \
32136 $(POSTSTAGE1_FLAGS_TO_PASS) \
32137 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32138 @endif opcodes-bootstrap
32141 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
32142 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
32143 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
32145 maybe-configure-stagefeedback-binutils:
32146 maybe-all-stagefeedback-binutils:
32147 maybe-clean-stagefeedback-binutils:
32149 @if binutils-bootstrap
32150 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
32151 configure-stagefeedback-binutils:
32152 @$(MAKE) stagefeedback-start
32153 @[ -f binutils/Makefile ] && exit 0 || : ; \
32154 r=`${PWD_COMMAND}`; export r; \
32155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32156 $(STAGE_HOST_EXPORTS) \
32157 echo Configuring stage feedback in binutils ; \
32158 cd binutils || exit 1; \
32159 case $(srcdir) in \
32160 \.) \
32161 srcdiroption="--srcdir=."; \
32162 libsrcdir=".";; \
32163 /* | [A-Za-z]:[\\/]*) \
32164 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32165 libsrcdir="$$s/binutils";; \
32166 *) \
32167 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32168 libsrcdir="$$s/binutils";; \
32169 esac; \
32170 $(SHELL) $${libsrcdir}/configure \
32171 $(HOST_CONFIGARGS) $${srcdiroption} \
32172 @stage2_werror_flag@
32174 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
32175 all-stagefeedback-binutils: configure-stagefeedback-binutils
32176 @$(MAKE) stagefeedback-start
32177 @r=`${PWD_COMMAND}`; export r; \
32178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32179 $(STAGE_HOST_EXPORTS) \
32180 cd binutils && \
32181 $(MAKE) $(FLAGS_TO_PASS) \
32182 $(POSTSTAGE1_FLAGS_TO_PASS) \
32183 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32185 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
32186 clean-stagefeedback-binutils:
32187 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
32188 || exit 0 ; \
32189 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
32190 cd binutils && \
32191 $(MAKE) $(FLAGS_TO_PASS) \
32192 $(POSTSTAGE1_FLAGS_TO_PASS) \
32193 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32194 @endif binutils-bootstrap
32197 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
32198 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
32199 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
32201 maybe-configure-stagefeedback-gas:
32202 maybe-all-stagefeedback-gas:
32203 maybe-clean-stagefeedback-gas:
32205 @if gas-bootstrap
32206 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
32207 configure-stagefeedback-gas:
32208 @$(MAKE) stagefeedback-start
32209 @[ -f gas/Makefile ] && exit 0 || : ; \
32210 r=`${PWD_COMMAND}`; export r; \
32211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32212 $(STAGE_HOST_EXPORTS) \
32213 echo Configuring stage feedback in gas ; \
32214 cd gas || exit 1; \
32215 case $(srcdir) in \
32216 \.) \
32217 srcdiroption="--srcdir=."; \
32218 libsrcdir=".";; \
32219 /* | [A-Za-z]:[\\/]*) \
32220 srcdiroption="--srcdir=$(srcdir)/gas"; \
32221 libsrcdir="$$s/gas";; \
32222 *) \
32223 srcdiroption="--srcdir=../$(srcdir)/gas"; \
32224 libsrcdir="$$s/gas";; \
32225 esac; \
32226 $(SHELL) $${libsrcdir}/configure \
32227 $(HOST_CONFIGARGS) $${srcdiroption} \
32228 @stage2_werror_flag@
32230 maybe-all-stagefeedback-gas: all-stagefeedback-gas
32231 all-stagefeedback-gas: configure-stagefeedback-gas
32232 @$(MAKE) stagefeedback-start
32233 @r=`${PWD_COMMAND}`; export r; \
32234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32235 $(STAGE_HOST_EXPORTS) \
32236 cd gas && \
32237 $(MAKE) $(FLAGS_TO_PASS) \
32238 $(POSTSTAGE1_FLAGS_TO_PASS) \
32239 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32241 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
32242 clean-stagefeedback-gas:
32243 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
32244 || exit 0 ; \
32245 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
32246 cd gas && \
32247 $(MAKE) $(FLAGS_TO_PASS) \
32248 $(POSTSTAGE1_FLAGS_TO_PASS) \
32249 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32250 @endif gas-bootstrap
32253 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
32254 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
32255 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
32257 maybe-configure-stagefeedback-gcc:
32258 maybe-all-stagefeedback-gcc:
32259 maybe-clean-stagefeedback-gcc:
32261 @if gcc-bootstrap
32262 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
32263 configure-stagefeedback-gcc:
32264 @$(MAKE) stagefeedback-start
32265 @[ -f gcc/Makefile ] && exit 0 || : ; \
32266 r=`${PWD_COMMAND}`; export r; \
32267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32268 $(STAGE_HOST_EXPORTS) \
32269 echo Configuring stage feedback in gcc ; \
32270 cd gcc || exit 1; \
32271 case $(srcdir) in \
32272 \.) \
32273 srcdiroption="--srcdir=."; \
32274 libsrcdir=".";; \
32275 /* | [A-Za-z]:[\\/]*) \
32276 srcdiroption="--srcdir=$(srcdir)/gcc"; \
32277 libsrcdir="$$s/gcc";; \
32278 *) \
32279 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
32280 libsrcdir="$$s/gcc";; \
32281 esac; \
32282 $(SHELL) $${libsrcdir}/configure \
32283 $(HOST_CONFIGARGS) $${srcdiroption} \
32284 @stage2_werror_flag@
32286 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
32287 all-stagefeedback-gcc: configure-stagefeedback-gcc
32288 @$(MAKE) stagefeedback-start
32289 @r=`${PWD_COMMAND}`; export r; \
32290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32291 $(STAGE_HOST_EXPORTS) \
32292 cd gcc && \
32293 $(MAKE) $(FLAGS_TO_PASS) \
32294 $(POSTSTAGE1_FLAGS_TO_PASS) \
32295 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
32297 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
32298 clean-stagefeedback-gcc:
32299 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
32300 || exit 0 ; \
32301 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
32302 cd gcc && \
32303 $(MAKE) $(FLAGS_TO_PASS) \
32304 $(POSTSTAGE1_FLAGS_TO_PASS) \
32305 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
32306 @endif gcc-bootstrap
32309 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
32310 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
32311 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
32313 maybe-configure-stagefeedback-intl:
32314 maybe-all-stagefeedback-intl:
32315 maybe-clean-stagefeedback-intl:
32317 @if intl-bootstrap
32318 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
32319 configure-stagefeedback-intl:
32320 @$(MAKE) stagefeedback-start
32321 @[ -f intl/Makefile ] && exit 0 || : ; \
32322 r=`${PWD_COMMAND}`; export r; \
32323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32324 $(STAGE_HOST_EXPORTS) \
32325 echo Configuring stage feedback in intl ; \
32326 cd intl || exit 1; \
32327 case $(srcdir) in \
32328 \.) \
32329 srcdiroption="--srcdir=."; \
32330 libsrcdir=".";; \
32331 /* | [A-Za-z]:[\\/]*) \
32332 srcdiroption="--srcdir=$(srcdir)/intl"; \
32333 libsrcdir="$$s/intl";; \
32334 *) \
32335 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32336 libsrcdir="$$s/intl";; \
32337 esac; \
32338 $(SHELL) $${libsrcdir}/configure \
32339 $(HOST_CONFIGARGS) $${srcdiroption} \
32340 @stage2_werror_flag@
32342 maybe-all-stagefeedback-intl: all-stagefeedback-intl
32343 all-stagefeedback-intl: configure-stagefeedback-intl
32344 @$(MAKE) stagefeedback-start
32345 @r=`${PWD_COMMAND}`; export r; \
32346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32347 $(STAGE_HOST_EXPORTS) \
32348 cd intl && \
32349 $(MAKE) $(FLAGS_TO_PASS) \
32350 $(POSTSTAGE1_FLAGS_TO_PASS) \
32351 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32353 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
32354 clean-stagefeedback-intl:
32355 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
32356 || exit 0 ; \
32357 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
32358 cd intl && \
32359 $(MAKE) $(FLAGS_TO_PASS) \
32360 $(POSTSTAGE1_FLAGS_TO_PASS) \
32361 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32362 @endif intl-bootstrap
32365 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
32366 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
32367 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
32369 maybe-configure-stagefeedback-ld:
32370 maybe-all-stagefeedback-ld:
32371 maybe-clean-stagefeedback-ld:
32373 @if ld-bootstrap
32374 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
32375 configure-stagefeedback-ld:
32376 @$(MAKE) stagefeedback-start
32377 @[ -f ld/Makefile ] && exit 0 || : ; \
32378 r=`${PWD_COMMAND}`; export r; \
32379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32380 $(STAGE_HOST_EXPORTS) \
32381 echo Configuring stage feedback in ld ; \
32382 cd ld || exit 1; \
32383 case $(srcdir) in \
32384 \.) \
32385 srcdiroption="--srcdir=."; \
32386 libsrcdir=".";; \
32387 /* | [A-Za-z]:[\\/]*) \
32388 srcdiroption="--srcdir=$(srcdir)/ld"; \
32389 libsrcdir="$$s/ld";; \
32390 *) \
32391 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32392 libsrcdir="$$s/ld";; \
32393 esac; \
32394 $(SHELL) $${libsrcdir}/configure \
32395 $(HOST_CONFIGARGS) $${srcdiroption} \
32396 @stage2_werror_flag@
32398 maybe-all-stagefeedback-ld: all-stagefeedback-ld
32399 all-stagefeedback-ld: configure-stagefeedback-ld
32400 @$(MAKE) stagefeedback-start
32401 @r=`${PWD_COMMAND}`; export r; \
32402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32403 $(STAGE_HOST_EXPORTS) \
32404 cd ld && \
32405 $(MAKE) $(FLAGS_TO_PASS) \
32406 $(POSTSTAGE1_FLAGS_TO_PASS) \
32407 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32409 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
32410 clean-stagefeedback-ld:
32411 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
32412 || exit 0 ; \
32413 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
32414 cd ld && \
32415 $(MAKE) $(FLAGS_TO_PASS) \
32416 $(POSTSTAGE1_FLAGS_TO_PASS) \
32417 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32418 @endif ld-bootstrap
32421 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
32422 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
32423 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
32425 maybe-configure-stagefeedback-libcpp:
32426 maybe-all-stagefeedback-libcpp:
32427 maybe-clean-stagefeedback-libcpp:
32429 @if libcpp-bootstrap
32430 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
32431 configure-stagefeedback-libcpp:
32432 @$(MAKE) stagefeedback-start
32433 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32434 r=`${PWD_COMMAND}`; export r; \
32435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32436 $(STAGE_HOST_EXPORTS) \
32437 echo Configuring stage feedback in libcpp ; \
32438 cd libcpp || exit 1; \
32439 case $(srcdir) in \
32440 \.) \
32441 srcdiroption="--srcdir=."; \
32442 libsrcdir=".";; \
32443 /* | [A-Za-z]:[\\/]*) \
32444 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32445 libsrcdir="$$s/libcpp";; \
32446 *) \
32447 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32448 libsrcdir="$$s/libcpp";; \
32449 esac; \
32450 $(SHELL) $${libsrcdir}/configure \
32451 $(HOST_CONFIGARGS) $${srcdiroption} \
32452 @stage2_werror_flag@
32454 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
32455 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
32456 @$(MAKE) stagefeedback-start
32457 @r=`${PWD_COMMAND}`; export r; \
32458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32459 $(STAGE_HOST_EXPORTS) \
32460 cd libcpp && \
32461 $(MAKE) $(FLAGS_TO_PASS) \
32462 $(POSTSTAGE1_FLAGS_TO_PASS) \
32463 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32465 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
32466 clean-stagefeedback-libcpp:
32467 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
32468 || exit 0 ; \
32469 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
32470 cd libcpp && \
32471 $(MAKE) $(FLAGS_TO_PASS) \
32472 $(POSTSTAGE1_FLAGS_TO_PASS) \
32473 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32474 @endif libcpp-bootstrap
32477 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
32478 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
32479 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
32481 maybe-configure-stagefeedback-libiberty:
32482 maybe-all-stagefeedback-libiberty:
32483 maybe-clean-stagefeedback-libiberty:
32485 @if libiberty-bootstrap
32486 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
32487 configure-stagefeedback-libiberty:
32488 @$(MAKE) stagefeedback-start
32489 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32490 r=`${PWD_COMMAND}`; export r; \
32491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32492 $(STAGE_HOST_EXPORTS) \
32493 echo Configuring stage feedback in libiberty ; \
32494 cd libiberty || exit 1; \
32495 case $(srcdir) in \
32496 \.) \
32497 srcdiroption="--srcdir=."; \
32498 libsrcdir=".";; \
32499 /* | [A-Za-z]:[\\/]*) \
32500 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32501 libsrcdir="$$s/libiberty";; \
32502 *) \
32503 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32504 libsrcdir="$$s/libiberty";; \
32505 esac; \
32506 $(SHELL) $${libsrcdir}/configure \
32507 $(HOST_CONFIGARGS) $${srcdiroption} \
32508 @stage2_werror_flag@
32510 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
32511 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
32512 @$(MAKE) stagefeedback-start
32513 @r=`${PWD_COMMAND}`; export r; \
32514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32515 $(STAGE_HOST_EXPORTS) \
32516 cd libiberty && \
32517 $(MAKE) $(FLAGS_TO_PASS) \
32518 $(POSTSTAGE1_FLAGS_TO_PASS) \
32519 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32521 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
32522 clean-stagefeedback-libiberty:
32523 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
32524 || exit 0 ; \
32525 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
32526 cd libiberty && \
32527 $(MAKE) $(FLAGS_TO_PASS) \
32528 $(POSTSTAGE1_FLAGS_TO_PASS) \
32529 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32530 @endif libiberty-bootstrap
32533 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32534 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32535 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32537 maybe-configure-stagefeedback-zlib:
32538 maybe-all-stagefeedback-zlib:
32539 maybe-clean-stagefeedback-zlib:
32541 @if zlib-bootstrap
32542 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32543 configure-stagefeedback-zlib:
32544 @$(MAKE) stagefeedback-start
32545 @[ -f zlib/Makefile ] && exit 0 || : ; \
32546 r=`${PWD_COMMAND}`; export r; \
32547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32548 $(STAGE_HOST_EXPORTS) \
32549 echo Configuring stage feedback in zlib ; \
32550 cd zlib || exit 1; \
32551 case $(srcdir) in \
32552 \.) \
32553 srcdiroption="--srcdir=."; \
32554 libsrcdir=".";; \
32555 /* | [A-Za-z]:[\\/]*) \
32556 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32557 libsrcdir="$$s/zlib";; \
32558 *) \
32559 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32560 libsrcdir="$$s/zlib";; \
32561 esac; \
32562 $(SHELL) $${libsrcdir}/configure \
32563 $(HOST_CONFIGARGS) $${srcdiroption} \
32564 @stage2_werror_flag@
32566 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32567 all-stagefeedback-zlib: configure-stagefeedback-zlib
32568 @$(MAKE) stagefeedback-start
32569 @r=`${PWD_COMMAND}`; export r; \
32570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32571 $(STAGE_HOST_EXPORTS) \
32572 cd zlib && \
32573 $(MAKE) $(FLAGS_TO_PASS) \
32574 $(POSTSTAGE1_FLAGS_TO_PASS) \
32575 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32577 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32578 clean-stagefeedback-zlib:
32579 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
32580 || exit 0 ; \
32581 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
32582 cd zlib && \
32583 $(MAKE) $(FLAGS_TO_PASS) \
32584 $(POSTSTAGE1_FLAGS_TO_PASS) \
32585 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32586 @endif zlib-bootstrap
32590 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32591 # only possibility, but now it conflicts with no-bootstrap rules
32592 @if gcc-bootstrap
32597 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32598 distclean-stage1:: distclean-stagefeedback
32599 .PHONY: distclean-stagefeedback
32600 distclean-stagefeedback::
32601 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32602 rm -rf stagefeedback-*
32605 @endif gcc-bootstrap
32609 stagefeedback-start::
32610 @r=`${PWD_COMMAND}`; export r; \
32611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32612 cd stageprofile-gcc && \
32613 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
32614 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
32616 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32617 # only possibility, but now it conflicts with no-bootstrap rules
32618 @if gcc-bootstrap
32619 profiledbootstrap:
32620 @r=`${PWD_COMMAND}`; export r; \
32621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32622 $(SET_LIB_PATH) \
32623 $(HOST_EXPORTS) \
32624 echo "Bootstrapping the compiler"; \
32625 $(MAKE) stageprofile-bubble distclean-stagefeedback
32626 @r=`${PWD_COMMAND}`; export r; \
32627 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
32628 $(SET_LIB_PATH) \
32629 echo "Building runtime libraries and training compiler"; \
32630 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
32631 @r=`${PWD_COMMAND}`; export r; \
32632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32633 $(SET_LIB_PATH) \
32634 $(HOST_EXPORTS) \
32635 echo "Building feedback based compiler"; \
32636 $(MAKE) stagefeedback-bubble stagefeedback-end
32637 @endif gcc-bootstrap
32639 @if gcc-bootstrap
32640 NOTPARALLEL = .NOTPARALLEL
32641 $(NOTPARALLEL):
32642 do-distclean: distclean-stage1
32643 @endif gcc-bootstrap
32645 # --------------------------------------
32646 # Dependencies between different modules
32647 # --------------------------------------
32649 # Generic dependencies for target modules on host stuff, especially gcc
32651 configure-target-libstdc++-v3: maybe-all-gcc
32653 configure-target-libmudflap: maybe-all-gcc
32655 configure-target-newlib: maybe-all-gcc
32657 configure-target-libgfortran: maybe-all-gcc
32659 configure-target-libobjc: maybe-all-gcc
32661 configure-target-libtermcap: maybe-all-gcc
32663 configure-target-winsup: maybe-all-gcc
32665 configure-target-libgloss: maybe-all-gcc
32667 configure-target-libiberty: maybe-all-gcc
32669 configure-target-gperf: maybe-all-gcc
32671 configure-target-examples: maybe-all-gcc
32673 configure-target-libffi: maybe-all-gcc
32675 configure-target-libjava: maybe-all-gcc
32677 configure-target-zlib: maybe-all-gcc
32679 configure-target-boehm-gc: maybe-all-gcc
32681 configure-target-qthreads: maybe-all-gcc
32683 configure-target-rda: maybe-all-gcc
32685 configure-target-libada: maybe-all-gcc
32689 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
32691 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
32692 configure-target-gperf: maybe-all-target-libstdc++-v3
32694 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
32696 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
32698 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
32700 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
32701 configure-target-libjava: maybe-all-target-libstdc++-v3
32703 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
32705 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
32707 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
32709 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
32711 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
32713 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
32715 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
32717 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
32720 # There are two types of dependencies here: 'hard' dependencies, where one
32721 # module simply won't build without the other; and 'soft' dependencies, where
32722 # if the depended-on module is missing, the depending module will do without
32723 # or find a substitute somewhere (perhaps installed). Soft dependencies
32724 # are made here to depend on a 'maybe-' target. If you're not sure,
32725 # it's safer to use a soft dependency.
32731 # With all the machinery above in place, it is pretty easy to generate
32732 # dependencies. Host dependencies are a bit more complex because we have
32733 # to check for bootstrap/prebootstrap dependencies. To resolve
32734 # prebootstrap dependencies, prebootstrap modules are gathered in
32735 # a hash table.
32736 all-build-bison: maybe-all-build-texinfo
32737 all-build-byacc: maybe-all-build-texinfo
32738 all-build-flex: maybe-all-build-texinfo
32739 all-build-flex: maybe-all-build-bison
32740 all-build-flex: maybe-all-build-byacc
32741 all-build-flex: maybe-all-build-m4
32742 all-build-libiberty: maybe-all-build-texinfo
32743 all-build-m4: maybe-all-build-texinfo
32744 all-build-fixincludes: maybe-all-build-libiberty
32745 configure-gcc: maybe-configure-intl
32747 configure-stage1-gcc: maybe-configure-stage1-intl
32748 configure-stage2-gcc: maybe-configure-stage2-intl
32749 configure-stage3-gcc: maybe-configure-stage3-intl
32750 configure-stage4-gcc: maybe-configure-stage4-intl
32751 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
32752 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
32753 configure-gcc: maybe-configure-binutils
32755 configure-stage1-gcc: maybe-configure-stage1-binutils
32756 configure-stage2-gcc: maybe-configure-stage2-binutils
32757 configure-stage3-gcc: maybe-configure-stage3-binutils
32758 configure-stage4-gcc: maybe-configure-stage4-binutils
32759 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
32760 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
32761 configure-gcc: maybe-configure-gas
32763 configure-stage1-gcc: maybe-configure-stage1-gas
32764 configure-stage2-gcc: maybe-configure-stage2-gas
32765 configure-stage3-gcc: maybe-configure-stage3-gas
32766 configure-stage4-gcc: maybe-configure-stage4-gas
32767 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
32768 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
32769 configure-gcc: maybe-configure-ld
32771 configure-stage1-gcc: maybe-configure-stage1-ld
32772 configure-stage2-gcc: maybe-configure-stage2-ld
32773 configure-stage3-gcc: maybe-configure-stage3-ld
32774 configure-stage4-gcc: maybe-configure-stage4-ld
32775 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
32776 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
32777 all-gcc: all-libiberty
32779 all-stage1-gcc: all-stage1-libiberty
32780 all-stage2-gcc: all-stage2-libiberty
32781 all-stage3-gcc: all-stage3-libiberty
32782 all-stage4-gcc: all-stage4-libiberty
32783 all-stageprofile-gcc: all-stageprofile-libiberty
32784 all-stagefeedback-gcc: all-stagefeedback-libiberty
32785 all-gcc: maybe-all-intl
32787 all-stage1-gcc: maybe-all-stage1-intl
32788 all-stage2-gcc: maybe-all-stage2-intl
32789 all-stage3-gcc: maybe-all-stage3-intl
32790 all-stage4-gcc: maybe-all-stage4-intl
32791 all-stageprofile-gcc: maybe-all-stageprofile-intl
32792 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
32793 all-gcc: maybe-all-build-texinfo
32795 all-stage1-gcc: maybe-all-build-texinfo
32796 all-stage2-gcc: maybe-all-build-texinfo
32797 all-stage3-gcc: maybe-all-build-texinfo
32798 all-stage4-gcc: maybe-all-build-texinfo
32799 all-stageprofile-gcc: maybe-all-build-texinfo
32800 all-stagefeedback-gcc: maybe-all-build-texinfo
32801 all-prebootstrap: maybe-all-build-texinfo
32802 all-gcc: maybe-all-build-bison
32804 all-stage1-gcc: maybe-all-build-bison
32805 all-stage2-gcc: maybe-all-build-bison
32806 all-stage3-gcc: maybe-all-build-bison
32807 all-stage4-gcc: maybe-all-build-bison
32808 all-stageprofile-gcc: maybe-all-build-bison
32809 all-stagefeedback-gcc: maybe-all-build-bison
32810 all-prebootstrap: maybe-all-build-bison
32811 all-gcc: maybe-all-build-byacc
32813 all-stage1-gcc: maybe-all-build-byacc
32814 all-stage2-gcc: maybe-all-build-byacc
32815 all-stage3-gcc: maybe-all-build-byacc
32816 all-stage4-gcc: maybe-all-build-byacc
32817 all-stageprofile-gcc: maybe-all-build-byacc
32818 all-stagefeedback-gcc: maybe-all-build-byacc
32819 all-prebootstrap: maybe-all-build-byacc
32820 all-gcc: maybe-all-build-flex
32822 all-stage1-gcc: maybe-all-build-flex
32823 all-stage2-gcc: maybe-all-build-flex
32824 all-stage3-gcc: maybe-all-build-flex
32825 all-stage4-gcc: maybe-all-build-flex
32826 all-stageprofile-gcc: maybe-all-build-flex
32827 all-stagefeedback-gcc: maybe-all-build-flex
32828 all-prebootstrap: maybe-all-build-flex
32829 all-gcc: maybe-all-build-libiberty
32831 all-stage1-gcc: maybe-all-build-libiberty
32832 all-stage2-gcc: maybe-all-build-libiberty
32833 all-stage3-gcc: maybe-all-build-libiberty
32834 all-stage4-gcc: maybe-all-build-libiberty
32835 all-stageprofile-gcc: maybe-all-build-libiberty
32836 all-stagefeedback-gcc: maybe-all-build-libiberty
32837 all-prebootstrap: maybe-all-build-libiberty
32838 all-gcc: maybe-all-build-fixincludes
32840 all-stage1-gcc: maybe-all-build-fixincludes
32841 all-stage2-gcc: maybe-all-build-fixincludes
32842 all-stage3-gcc: maybe-all-build-fixincludes
32843 all-stage4-gcc: maybe-all-build-fixincludes
32844 all-stageprofile-gcc: maybe-all-build-fixincludes
32845 all-stagefeedback-gcc: maybe-all-build-fixincludes
32846 all-prebootstrap: maybe-all-build-fixincludes
32847 all-gcc: maybe-all-binutils
32849 all-stage1-gcc: maybe-all-stage1-binutils
32850 all-stage2-gcc: maybe-all-stage2-binutils
32851 all-stage3-gcc: maybe-all-stage3-binutils
32852 all-stage4-gcc: maybe-all-stage4-binutils
32853 all-stageprofile-gcc: maybe-all-stageprofile-binutils
32854 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
32855 all-gcc: maybe-all-gas
32857 all-stage1-gcc: maybe-all-stage1-gas
32858 all-stage2-gcc: maybe-all-stage2-gas
32859 all-stage3-gcc: maybe-all-stage3-gas
32860 all-stage4-gcc: maybe-all-stage4-gas
32861 all-stageprofile-gcc: maybe-all-stageprofile-gas
32862 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
32863 all-gcc: maybe-all-ld
32865 all-stage1-gcc: maybe-all-stage1-ld
32866 all-stage2-gcc: maybe-all-stage2-ld
32867 all-stage3-gcc: maybe-all-stage3-ld
32868 all-stage4-gcc: maybe-all-stage4-ld
32869 all-stageprofile-gcc: maybe-all-stageprofile-ld
32870 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
32871 all-gcc: maybe-all-zlib
32873 all-stage1-gcc: maybe-all-stage1-zlib
32874 all-stage2-gcc: maybe-all-stage2-zlib
32875 all-stage3-gcc: maybe-all-stage3-zlib
32876 all-stage4-gcc: maybe-all-stage4-zlib
32877 all-stageprofile-gcc: maybe-all-stageprofile-zlib
32878 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
32879 all-gcc: all-libcpp
32881 all-stage1-gcc: all-stage1-libcpp
32882 all-stage2-gcc: all-stage2-libcpp
32883 all-stage3-gcc: all-stage3-libcpp
32884 all-stage4-gcc: all-stage4-libcpp
32885 all-stageprofile-gcc: all-stageprofile-libcpp
32886 all-stagefeedback-gcc: all-stagefeedback-libcpp
32887 all-gcc: maybe-all-libiberty
32889 all-stage1-gcc: maybe-all-stage1-libiberty
32890 all-stage2-gcc: maybe-all-stage2-libiberty
32891 all-stage3-gcc: maybe-all-stage3-libiberty
32892 all-stage4-gcc: maybe-all-stage4-libiberty
32893 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
32894 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
32895 all-gcc: maybe-all-fixincludes
32897 all-stage1-gcc: maybe-all-stage1-fixincludes
32898 all-stage2-gcc: maybe-all-stage2-fixincludes
32899 all-stage3-gcc: maybe-all-stage3-fixincludes
32900 all-stage4-gcc: maybe-all-stage4-fixincludes
32901 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
32902 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
32903 configure-libcpp: configure-libiberty
32905 configure-stage1-libcpp: configure-stage1-libiberty
32906 configure-stage2-libcpp: configure-stage2-libiberty
32907 configure-stage3-libcpp: configure-stage3-libiberty
32908 configure-stage4-libcpp: configure-stage4-libiberty
32909 configure-stageprofile-libcpp: configure-stageprofile-libiberty
32910 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
32911 configure-libcpp: maybe-configure-intl
32913 configure-stage1-libcpp: maybe-configure-stage1-intl
32914 configure-stage2-libcpp: maybe-configure-stage2-intl
32915 configure-stage3-libcpp: maybe-configure-stage3-intl
32916 configure-stage4-libcpp: maybe-configure-stage4-intl
32917 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
32918 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
32919 all-libcpp: all-libiberty
32921 all-stage1-libcpp: all-stage1-libiberty
32922 all-stage2-libcpp: all-stage2-libiberty
32923 all-stage3-libcpp: all-stage3-libiberty
32924 all-stage4-libcpp: all-stage4-libiberty
32925 all-stageprofile-libcpp: all-stageprofile-libiberty
32926 all-stagefeedback-libcpp: all-stagefeedback-libiberty
32927 all-libcpp: maybe-all-intl
32929 all-stage1-libcpp: maybe-all-stage1-intl
32930 all-stage2-libcpp: maybe-all-stage2-intl
32931 all-stage3-libcpp: maybe-all-stage3-intl
32932 all-stage4-libcpp: maybe-all-stage4-intl
32933 all-stageprofile-libcpp: maybe-all-stageprofile-intl
32934 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
32935 all-fixincludes: maybe-all-libiberty
32936 configure-gdb: maybe-configure-itcl
32937 configure-gdb: maybe-configure-tcl
32938 configure-gdb: maybe-configure-tk
32939 configure-gdb: maybe-configure-sim
32940 all-gdb: maybe-all-libiberty
32941 all-gdb: maybe-all-opcodes
32942 all-gdb: maybe-all-bfd
32943 all-gdb: maybe-all-readline
32944 all-gdb: maybe-all-build-bison
32945 all-gdb: maybe-all-build-byacc
32946 all-gdb: maybe-all-sim
32947 install-gdb: maybe-install-tcl
32948 install-gdb: maybe-install-tk
32949 install-gdb: maybe-install-itcl
32950 install-gdb: maybe-install-libgui
32951 configure-libgui: maybe-configure-tcl
32952 configure-libgui: maybe-configure-tk
32953 all-libgui: maybe-all-tcl
32954 all-libgui: maybe-all-tk
32955 all-libgui: maybe-all-itcl
32956 configure-bfd: configure-libiberty
32958 configure-stage1-bfd: configure-stage1-libiberty
32959 configure-stage2-bfd: configure-stage2-libiberty
32960 configure-stage3-bfd: configure-stage3-libiberty
32961 configure-stage4-bfd: configure-stage4-libiberty
32962 configure-stageprofile-bfd: configure-stageprofile-libiberty
32963 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
32964 all-bfd: maybe-all-libiberty
32966 all-stage1-bfd: maybe-all-stage1-libiberty
32967 all-stage2-bfd: maybe-all-stage2-libiberty
32968 all-stage3-bfd: maybe-all-stage3-libiberty
32969 all-stage4-bfd: maybe-all-stage4-libiberty
32970 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
32971 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
32972 all-bfd: maybe-all-intl
32974 all-stage1-bfd: maybe-all-stage1-intl
32975 all-stage2-bfd: maybe-all-stage2-intl
32976 all-stage3-bfd: maybe-all-stage3-intl
32977 all-stage4-bfd: maybe-all-stage4-intl
32978 all-stageprofile-bfd: maybe-all-stageprofile-intl
32979 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
32980 all-binutils: maybe-all-libiberty
32982 all-stage1-binutils: maybe-all-stage1-libiberty
32983 all-stage2-binutils: maybe-all-stage2-libiberty
32984 all-stage3-binutils: maybe-all-stage3-libiberty
32985 all-stage4-binutils: maybe-all-stage4-libiberty
32986 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
32987 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
32988 all-binutils: maybe-all-opcodes
32990 all-stage1-binutils: maybe-all-stage1-opcodes
32991 all-stage2-binutils: maybe-all-stage2-opcodes
32992 all-stage3-binutils: maybe-all-stage3-opcodes
32993 all-stage4-binutils: maybe-all-stage4-opcodes
32994 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
32995 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
32996 all-binutils: maybe-all-bfd
32998 all-stage1-binutils: maybe-all-stage1-bfd
32999 all-stage2-binutils: maybe-all-stage2-bfd
33000 all-stage3-binutils: maybe-all-stage3-bfd
33001 all-stage4-binutils: maybe-all-stage4-bfd
33002 all-stageprofile-binutils: maybe-all-stageprofile-bfd
33003 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
33004 all-binutils: maybe-all-build-flex
33006 all-stage1-binutils: maybe-all-build-flex
33007 all-stage2-binutils: maybe-all-build-flex
33008 all-stage3-binutils: maybe-all-build-flex
33009 all-stage4-binutils: maybe-all-build-flex
33010 all-stageprofile-binutils: maybe-all-build-flex
33011 all-stagefeedback-binutils: maybe-all-build-flex
33012 all-prebootstrap: maybe-all-build-flex
33013 all-binutils: maybe-all-build-bison
33015 all-stage1-binutils: maybe-all-build-bison
33016 all-stage2-binutils: maybe-all-build-bison
33017 all-stage3-binutils: maybe-all-build-bison
33018 all-stage4-binutils: maybe-all-build-bison
33019 all-stageprofile-binutils: maybe-all-build-bison
33020 all-stagefeedback-binutils: maybe-all-build-bison
33021 all-prebootstrap: maybe-all-build-bison
33022 all-binutils: maybe-all-build-byacc
33024 all-stage1-binutils: maybe-all-build-byacc
33025 all-stage2-binutils: maybe-all-build-byacc
33026 all-stage3-binutils: maybe-all-build-byacc
33027 all-stage4-binutils: maybe-all-build-byacc
33028 all-stageprofile-binutils: maybe-all-build-byacc
33029 all-stagefeedback-binutils: maybe-all-build-byacc
33030 all-prebootstrap: maybe-all-build-byacc
33031 all-binutils: maybe-all-intl
33033 all-stage1-binutils: maybe-all-stage1-intl
33034 all-stage2-binutils: maybe-all-stage2-intl
33035 all-stage3-binutils: maybe-all-stage3-intl
33036 all-stage4-binutils: maybe-all-stage4-intl
33037 all-stageprofile-binutils: maybe-all-stageprofile-intl
33038 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
33039 install-binutils: maybe-install-opcodes
33040 install-opcodes: maybe-install-bfd
33041 all-gas: maybe-all-libiberty
33043 all-stage1-gas: maybe-all-stage1-libiberty
33044 all-stage2-gas: maybe-all-stage2-libiberty
33045 all-stage3-gas: maybe-all-stage3-libiberty
33046 all-stage4-gas: maybe-all-stage4-libiberty
33047 all-stageprofile-gas: maybe-all-stageprofile-libiberty
33048 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
33049 all-gas: maybe-all-opcodes
33051 all-stage1-gas: maybe-all-stage1-opcodes
33052 all-stage2-gas: maybe-all-stage2-opcodes
33053 all-stage3-gas: maybe-all-stage3-opcodes
33054 all-stage4-gas: maybe-all-stage4-opcodes
33055 all-stageprofile-gas: maybe-all-stageprofile-opcodes
33056 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
33057 all-gas: maybe-all-bfd
33059 all-stage1-gas: maybe-all-stage1-bfd
33060 all-stage2-gas: maybe-all-stage2-bfd
33061 all-stage3-gas: maybe-all-stage3-bfd
33062 all-stage4-gas: maybe-all-stage4-bfd
33063 all-stageprofile-gas: maybe-all-stageprofile-bfd
33064 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
33065 all-gas: maybe-all-intl
33067 all-stage1-gas: maybe-all-stage1-intl
33068 all-stage2-gas: maybe-all-stage2-intl
33069 all-stage3-gas: maybe-all-stage3-intl
33070 all-stage4-gas: maybe-all-stage4-intl
33071 all-stageprofile-gas: maybe-all-stageprofile-intl
33072 all-stagefeedback-gas: maybe-all-stagefeedback-intl
33073 all-gprof: maybe-all-libiberty
33074 all-gprof: maybe-all-bfd
33075 all-gprof: maybe-all-opcodes
33076 all-gprof: maybe-all-intl
33077 all-ld: maybe-all-libiberty
33079 all-stage1-ld: maybe-all-stage1-libiberty
33080 all-stage2-ld: maybe-all-stage2-libiberty
33081 all-stage3-ld: maybe-all-stage3-libiberty
33082 all-stage4-ld: maybe-all-stage4-libiberty
33083 all-stageprofile-ld: maybe-all-stageprofile-libiberty
33084 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
33085 all-ld: maybe-all-bfd
33087 all-stage1-ld: maybe-all-stage1-bfd
33088 all-stage2-ld: maybe-all-stage2-bfd
33089 all-stage3-ld: maybe-all-stage3-bfd
33090 all-stage4-ld: maybe-all-stage4-bfd
33091 all-stageprofile-ld: maybe-all-stageprofile-bfd
33092 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
33093 all-ld: maybe-all-opcodes
33095 all-stage1-ld: maybe-all-stage1-opcodes
33096 all-stage2-ld: maybe-all-stage2-opcodes
33097 all-stage3-ld: maybe-all-stage3-opcodes
33098 all-stage4-ld: maybe-all-stage4-opcodes
33099 all-stageprofile-ld: maybe-all-stageprofile-opcodes
33100 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
33101 all-ld: maybe-all-build-bison
33103 all-stage1-ld: maybe-all-build-bison
33104 all-stage2-ld: maybe-all-build-bison
33105 all-stage3-ld: maybe-all-build-bison
33106 all-stage4-ld: maybe-all-build-bison
33107 all-stageprofile-ld: maybe-all-build-bison
33108 all-stagefeedback-ld: maybe-all-build-bison
33109 all-prebootstrap: maybe-all-build-bison
33110 all-ld: maybe-all-build-byacc
33112 all-stage1-ld: maybe-all-build-byacc
33113 all-stage2-ld: maybe-all-build-byacc
33114 all-stage3-ld: maybe-all-build-byacc
33115 all-stage4-ld: maybe-all-build-byacc
33116 all-stageprofile-ld: maybe-all-build-byacc
33117 all-stagefeedback-ld: maybe-all-build-byacc
33118 all-prebootstrap: maybe-all-build-byacc
33119 all-ld: maybe-all-build-flex
33121 all-stage1-ld: maybe-all-build-flex
33122 all-stage2-ld: maybe-all-build-flex
33123 all-stage3-ld: maybe-all-build-flex
33124 all-stage4-ld: maybe-all-build-flex
33125 all-stageprofile-ld: maybe-all-build-flex
33126 all-stagefeedback-ld: maybe-all-build-flex
33127 all-prebootstrap: maybe-all-build-flex
33128 all-ld: maybe-all-intl
33130 all-stage1-ld: maybe-all-stage1-intl
33131 all-stage2-ld: maybe-all-stage2-intl
33132 all-stage3-ld: maybe-all-stage3-intl
33133 all-stage4-ld: maybe-all-stage4-intl
33134 all-stageprofile-ld: maybe-all-stageprofile-intl
33135 all-stagefeedback-ld: maybe-all-stagefeedback-intl
33136 all-opcodes: maybe-all-bfd
33138 all-stage1-opcodes: maybe-all-stage1-bfd
33139 all-stage2-opcodes: maybe-all-stage2-bfd
33140 all-stage3-opcodes: maybe-all-stage3-bfd
33141 all-stage4-opcodes: maybe-all-stage4-bfd
33142 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
33143 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
33144 all-opcodes: maybe-all-libiberty
33146 all-stage1-opcodes: maybe-all-stage1-libiberty
33147 all-stage2-opcodes: maybe-all-stage2-libiberty
33148 all-stage3-opcodes: maybe-all-stage3-libiberty
33149 all-stage4-opcodes: maybe-all-stage4-libiberty
33150 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
33151 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
33152 all-dejagnu: maybe-all-tcl
33153 all-dejagnu: maybe-all-expect
33154 all-dejagnu: maybe-all-tk
33155 configure-expect: maybe-configure-tcl
33156 configure-expect: maybe-configure-tk
33157 all-expect: maybe-all-tcl
33158 all-expect: maybe-all-tk
33159 configure-itcl: maybe-configure-tcl
33160 configure-itcl: maybe-configure-tk
33161 all-itcl: maybe-all-tcl
33162 all-itcl: maybe-all-tk
33163 install-itcl: maybe-install-tcl
33164 configure-tk: maybe-configure-tcl
33165 all-tk: maybe-all-tcl
33166 all-sid: maybe-all-libiberty
33167 all-sid: maybe-all-bfd
33168 all-sid: maybe-all-opcodes
33169 all-sid: maybe-all-tcl
33170 all-sid: maybe-all-tk
33171 install-sid: maybe-install-tcl
33172 install-sid: maybe-install-tk
33173 all-sim: maybe-all-libiberty
33174 all-sim: maybe-all-bfd
33175 all-sim: maybe-all-opcodes
33176 all-sim: maybe-all-readline
33177 all-sim: maybe-configure-gdb
33178 all-fastjar: maybe-all-zlib
33179 all-fastjar: maybe-all-build-texinfo
33180 all-fastjar: maybe-all-libiberty
33181 all-autoconf: maybe-all-m4
33182 all-autoconf: maybe-all-build-texinfo
33183 all-automake: maybe-all-m4
33184 all-automake: maybe-all-build-texinfo
33185 all-automake: maybe-all-autoconf
33186 all-bison: maybe-all-intl
33187 all-bison: maybe-all-build-texinfo
33188 all-diff: maybe-all-intl
33189 all-diff: maybe-all-build-texinfo
33190 all-fileutils: maybe-all-intl
33191 all-fileutils: maybe-all-build-texinfo
33192 all-flex: maybe-all-build-bison
33193 all-flex: maybe-all-build-byacc
33194 all-flex: maybe-all-intl
33195 all-flex: maybe-all-m4
33196 all-flex: maybe-all-build-texinfo
33197 all-gzip: maybe-all-intl
33198 all-gzip: maybe-all-zlib
33199 all-gzip: maybe-all-build-texinfo
33200 all-hello: maybe-all-intl
33201 all-hello: maybe-all-build-texinfo
33202 all-m4: maybe-all-intl
33203 all-m4: maybe-all-build-texinfo
33204 all-make: maybe-all-intl
33205 all-make: maybe-all-build-texinfo
33206 all-patch: maybe-all-build-texinfo
33207 all-make: maybe-all-build-texinfo
33208 all-prms: maybe-all-libiberty
33209 all-recode: maybe-all-build-texinfo
33210 all-sed: maybe-all-build-texinfo
33211 all-send-pr: maybe-all-prms
33212 all-tar: maybe-all-build-texinfo
33213 all-uudecode: maybe-all-build-texinfo
33214 configure-target-boehm-gc: maybe-configure-target-qthreads
33215 configure-target-fastjar: maybe-configure-target-zlib
33216 all-target-fastjar: maybe-all-target-zlib
33217 all-target-fastjar: maybe-all-target-libiberty
33218 configure-target-libjava: maybe-configure-target-zlib
33219 configure-target-libjava: maybe-configure-target-boehm-gc
33220 configure-target-libjava: maybe-configure-target-qthreads
33221 configure-target-libjava: maybe-configure-target-libffi
33222 all-target-libjava: maybe-all-fastjar
33223 all-target-libjava: maybe-all-target-zlib
33224 all-target-libjava: maybe-all-target-boehm-gc
33225 all-target-libjava: maybe-all-target-qthreads
33226 all-target-libjava: maybe-all-target-libffi
33227 all-target-libobjc: maybe-all-target-libiberty
33228 all-target-libstdc++-v3: maybe-all-target-libiberty
33229 all-target-libgloss: maybe-configure-target-newlib
33230 all-target-winsup: maybe-all-target-libiberty
33231 all-target-winsup: maybe-all-target-libtermcap
33234 # Non-toplevel bootstrap rules must depend on several packages, to be built
33235 # before gcc. Another wart that will go away, hopefully soon.
33236 @if gcc-no-bootstrap
33238 all-prebootstrap: maybe-all-bfd
33239 all-prebootstrap: maybe-all-opcodes
33240 all-prebootstrap: maybe-all-binutils
33241 all-prebootstrap: maybe-all-gas
33242 all-prebootstrap: maybe-all-intl
33243 all-prebootstrap: maybe-all-ld
33244 all-prebootstrap: maybe-all-libcpp
33245 all-prebootstrap: maybe-all-libiberty
33246 all-prebootstrap: maybe-all-zlib
33247 @endif gcc-no-bootstrap
33249 GDB_TK = @GDB_TK@
33250 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
33252 # Serialization dependencies. Host configures don't work well in parallel to
33253 # each other, due to contention over config.cache. Target configures and
33254 # build configures are similar.
33255 @serialization_dependencies@
33257 # --------------------------------
33258 # Regenerating top level configury
33259 # --------------------------------
33261 # Multilib.out tells target dirs what multilibs they should build.
33262 # There is really only one copy. We use the 'timestamp' method to
33263 # work around various timestamp bugs on some systems.
33264 # We use move-if-change so that it's only considered updated when it
33265 # actually changes, because it has to depend on a phony target.
33266 multilib.out: maybe-all-gcc
33267 @r=`${PWD_COMMAND}`; export r; \
33268 echo "Checking multilib configuration..."; \
33269 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
33270 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
33272 # Rebuilding Makefile.in, using autogen.
33273 AUTOGEN = autogen
33274 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
33275 cd $(srcdir) && $(AUTOGEN) Makefile.def
33277 # Rebuilding Makefile.
33278 Makefile: $(srcdir)/Makefile.in config.status
33279 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
33281 config.status: configure $(gcc_version_trigger)
33282 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
33284 # Rebuilding configure.
33285 AUTOCONF = autoconf
33286 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
33287 cd $(srcdir) && $(AUTOCONF)
33289 # ------------------------------
33290 # Special directives to GNU Make
33291 # ------------------------------
33293 # Don't pass command-line variables to submakes.
33294 .NOEXPORT:
33295 MAKEOVERRIDES=
33297 # end of Makefile.in