* tree-cfg.c (thread_jumps): Remove a duplicate check for
[official-gcc.git] / Makefile.in
blob26df74199aa08bf7b54a713546eec7e179872024
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-flex \
671 maybe-configure-gas \
672 maybe-configure-gcc \
673 maybe-configure-gawk \
674 maybe-configure-gettext \
675 maybe-configure-gnuserv \
676 maybe-configure-gprof \
677 maybe-configure-gzip \
678 maybe-configure-hello \
679 maybe-configure-indent \
680 maybe-configure-intl \
681 maybe-configure-tcl \
682 maybe-configure-itcl \
683 maybe-configure-ld \
684 maybe-configure-libcpp \
685 maybe-configure-libgui \
686 maybe-configure-libiberty \
687 maybe-configure-libtool \
688 maybe-configure-m4 \
689 maybe-configure-make \
690 maybe-configure-mmalloc \
691 maybe-configure-patch \
692 maybe-configure-perl \
693 maybe-configure-prms \
694 maybe-configure-rcs \
695 maybe-configure-readline \
696 maybe-configure-release \
697 maybe-configure-recode \
698 maybe-configure-sed \
699 maybe-configure-send-pr \
700 maybe-configure-shellutils \
701 maybe-configure-sid \
702 maybe-configure-sim \
703 maybe-configure-tar \
704 maybe-configure-texinfo \
705 maybe-configure-textutils \
706 maybe-configure-time \
707 maybe-configure-uudecode \
708 maybe-configure-wdiff \
709 maybe-configure-zip \
710 maybe-configure-zlib \
711 maybe-configure-gdb \
712 maybe-configure-expect \
713 maybe-configure-guile \
714 maybe-configure-tk \
715 maybe-configure-libtermcap \
716 maybe-configure-utils
717 .PHONY: configure-target
718 configure-target: \
719 maybe-configure-target-libstdc++-v3 \
720 maybe-configure-target-libmudflap \
721 maybe-configure-target-newlib \
722 maybe-configure-target-libgfortran \
723 maybe-configure-target-libobjc \
724 maybe-configure-target-libtermcap \
725 maybe-configure-target-winsup \
726 maybe-configure-target-libgloss \
727 maybe-configure-target-libiberty \
728 maybe-configure-target-gperf \
729 maybe-configure-target-examples \
730 maybe-configure-target-libffi \
731 maybe-configure-target-libjava \
732 maybe-configure-target-zlib \
733 maybe-configure-target-boehm-gc \
734 maybe-configure-target-qthreads \
735 maybe-configure-target-rda \
736 maybe-configure-target-libada
738 # The target built for a native non-bootstrap build.
739 .PHONY: all
740 all: unstage all-host all-target stage
742 .PHONY: all-build
743 all-build: \
744 maybe-all-build-libiberty \
745 maybe-all-build-bison \
746 maybe-all-build-byacc \
747 maybe-all-build-flex \
748 maybe-all-build-m4 \
749 maybe-all-build-texinfo \
750 maybe-all-build-fixincludes
751 .PHONY: all-host
752 all-host: \
753 maybe-all-ash \
754 maybe-all-autoconf \
755 maybe-all-automake \
756 maybe-all-bash \
757 maybe-all-bfd \
758 maybe-all-opcodes \
759 maybe-all-binutils \
760 maybe-all-bison \
761 maybe-all-byacc \
762 maybe-all-bzip2 \
763 maybe-all-dejagnu \
764 maybe-all-diff \
765 maybe-all-dosutils \
766 maybe-all-etc \
767 maybe-all-fastjar \
768 maybe-all-fileutils \
769 maybe-all-findutils \
770 maybe-all-find \
771 maybe-all-flex \
772 maybe-all-gas \
773 maybe-all-gcc \
774 maybe-all-gawk \
775 maybe-all-gettext \
776 maybe-all-gnuserv \
777 maybe-all-gprof \
778 maybe-all-gzip \
779 maybe-all-hello \
780 maybe-all-indent \
781 maybe-all-intl \
782 maybe-all-tcl \
783 maybe-all-itcl \
784 maybe-all-ld \
785 maybe-all-libcpp \
786 maybe-all-libgui \
787 maybe-all-libiberty \
788 maybe-all-libtool \
789 maybe-all-m4 \
790 maybe-all-make \
791 maybe-all-mmalloc \
792 maybe-all-patch \
793 maybe-all-perl \
794 maybe-all-prms \
795 maybe-all-rcs \
796 maybe-all-readline \
797 maybe-all-release \
798 maybe-all-recode \
799 maybe-all-sed \
800 maybe-all-send-pr \
801 maybe-all-shellutils \
802 maybe-all-sid \
803 maybe-all-sim \
804 maybe-all-tar \
805 maybe-all-texinfo \
806 maybe-all-textutils \
807 maybe-all-time \
808 maybe-all-uudecode \
809 maybe-all-wdiff \
810 maybe-all-zip \
811 maybe-all-zlib \
812 maybe-all-gdb \
813 maybe-all-expect \
814 maybe-all-guile \
815 maybe-all-tk \
816 maybe-all-libtermcap \
817 maybe-all-utils
818 .PHONY: all-target
819 all-target: \
820 maybe-all-target-libstdc++-v3 \
821 maybe-all-target-libmudflap \
822 maybe-all-target-newlib \
823 maybe-all-target-libgfortran \
824 maybe-all-target-libobjc \
825 maybe-all-target-libtermcap \
826 maybe-all-target-winsup \
827 maybe-all-target-libgloss \
828 maybe-all-target-libiberty \
829 maybe-all-target-gperf \
830 maybe-all-target-examples \
831 maybe-all-target-libffi \
832 maybe-all-target-libjava \
833 maybe-all-target-zlib \
834 maybe-all-target-boehm-gc \
835 maybe-all-target-qthreads \
836 maybe-all-target-rda \
837 maybe-all-target-libada
839 # Do a target for all the subdirectories. A ``make do-X'' will do a
840 # ``make X'' in all subdirectories (because, in general, there is a
841 # dependency (below) of X upon do-X, a ``make X'' will also do this,
842 # but it may do additional work as well).
844 .PHONY: do-info
845 do-info: unstage info-host info-target stage
847 .PHONY: info-host
848 info-host: \
849 maybe-info-ash \
850 maybe-info-autoconf \
851 maybe-info-automake \
852 maybe-info-bash \
853 maybe-info-bfd \
854 maybe-info-opcodes \
855 maybe-info-binutils \
856 maybe-info-bison \
857 maybe-info-byacc \
858 maybe-info-bzip2 \
859 maybe-info-dejagnu \
860 maybe-info-diff \
861 maybe-info-dosutils \
862 maybe-info-etc \
863 maybe-info-fastjar \
864 maybe-info-fileutils \
865 maybe-info-findutils \
866 maybe-info-find \
867 maybe-info-flex \
868 maybe-info-gas \
869 maybe-info-gcc \
870 maybe-info-gawk \
871 maybe-info-gettext \
872 maybe-info-gnuserv \
873 maybe-info-gprof \
874 maybe-info-gzip \
875 maybe-info-hello \
876 maybe-info-indent \
877 maybe-info-intl \
878 maybe-info-tcl \
879 maybe-info-itcl \
880 maybe-info-ld \
881 maybe-info-libcpp \
882 maybe-info-libgui \
883 maybe-info-libiberty \
884 maybe-info-libtool \
885 maybe-info-m4 \
886 maybe-info-make \
887 maybe-info-mmalloc \
888 maybe-info-patch \
889 maybe-info-perl \
890 maybe-info-prms \
891 maybe-info-rcs \
892 maybe-info-readline \
893 maybe-info-release \
894 maybe-info-recode \
895 maybe-info-sed \
896 maybe-info-send-pr \
897 maybe-info-shellutils \
898 maybe-info-sid \
899 maybe-info-sim \
900 maybe-info-tar \
901 maybe-info-texinfo \
902 maybe-info-textutils \
903 maybe-info-time \
904 maybe-info-uudecode \
905 maybe-info-wdiff \
906 maybe-info-zip \
907 maybe-info-zlib \
908 maybe-info-gdb \
909 maybe-info-expect \
910 maybe-info-guile \
911 maybe-info-tk \
912 maybe-info-libtermcap \
913 maybe-info-utils
915 .PHONY: info-target
916 info-target: \
917 maybe-info-target-libstdc++-v3 \
918 maybe-info-target-libmudflap \
919 maybe-info-target-newlib \
920 maybe-info-target-libgfortran \
921 maybe-info-target-libobjc \
922 maybe-info-target-libtermcap \
923 maybe-info-target-winsup \
924 maybe-info-target-libgloss \
925 maybe-info-target-libiberty \
926 maybe-info-target-gperf \
927 maybe-info-target-examples \
928 maybe-info-target-libffi \
929 maybe-info-target-libjava \
930 maybe-info-target-zlib \
931 maybe-info-target-boehm-gc \
932 maybe-info-target-qthreads \
933 maybe-info-target-rda \
934 maybe-info-target-libada
936 .PHONY: do-dvi
937 do-dvi: unstage dvi-host dvi-target stage
939 .PHONY: dvi-host
940 dvi-host: \
941 maybe-dvi-ash \
942 maybe-dvi-autoconf \
943 maybe-dvi-automake \
944 maybe-dvi-bash \
945 maybe-dvi-bfd \
946 maybe-dvi-opcodes \
947 maybe-dvi-binutils \
948 maybe-dvi-bison \
949 maybe-dvi-byacc \
950 maybe-dvi-bzip2 \
951 maybe-dvi-dejagnu \
952 maybe-dvi-diff \
953 maybe-dvi-dosutils \
954 maybe-dvi-etc \
955 maybe-dvi-fastjar \
956 maybe-dvi-fileutils \
957 maybe-dvi-findutils \
958 maybe-dvi-find \
959 maybe-dvi-flex \
960 maybe-dvi-gas \
961 maybe-dvi-gcc \
962 maybe-dvi-gawk \
963 maybe-dvi-gettext \
964 maybe-dvi-gnuserv \
965 maybe-dvi-gprof \
966 maybe-dvi-gzip \
967 maybe-dvi-hello \
968 maybe-dvi-indent \
969 maybe-dvi-intl \
970 maybe-dvi-tcl \
971 maybe-dvi-itcl \
972 maybe-dvi-ld \
973 maybe-dvi-libcpp \
974 maybe-dvi-libgui \
975 maybe-dvi-libiberty \
976 maybe-dvi-libtool \
977 maybe-dvi-m4 \
978 maybe-dvi-make \
979 maybe-dvi-mmalloc \
980 maybe-dvi-patch \
981 maybe-dvi-perl \
982 maybe-dvi-prms \
983 maybe-dvi-rcs \
984 maybe-dvi-readline \
985 maybe-dvi-release \
986 maybe-dvi-recode \
987 maybe-dvi-sed \
988 maybe-dvi-send-pr \
989 maybe-dvi-shellutils \
990 maybe-dvi-sid \
991 maybe-dvi-sim \
992 maybe-dvi-tar \
993 maybe-dvi-texinfo \
994 maybe-dvi-textutils \
995 maybe-dvi-time \
996 maybe-dvi-uudecode \
997 maybe-dvi-wdiff \
998 maybe-dvi-zip \
999 maybe-dvi-zlib \
1000 maybe-dvi-gdb \
1001 maybe-dvi-expect \
1002 maybe-dvi-guile \
1003 maybe-dvi-tk \
1004 maybe-dvi-libtermcap \
1005 maybe-dvi-utils
1007 .PHONY: dvi-target
1008 dvi-target: \
1009 maybe-dvi-target-libstdc++-v3 \
1010 maybe-dvi-target-libmudflap \
1011 maybe-dvi-target-newlib \
1012 maybe-dvi-target-libgfortran \
1013 maybe-dvi-target-libobjc \
1014 maybe-dvi-target-libtermcap \
1015 maybe-dvi-target-winsup \
1016 maybe-dvi-target-libgloss \
1017 maybe-dvi-target-libiberty \
1018 maybe-dvi-target-gperf \
1019 maybe-dvi-target-examples \
1020 maybe-dvi-target-libffi \
1021 maybe-dvi-target-libjava \
1022 maybe-dvi-target-zlib \
1023 maybe-dvi-target-boehm-gc \
1024 maybe-dvi-target-qthreads \
1025 maybe-dvi-target-rda \
1026 maybe-dvi-target-libada
1028 .PHONY: do-TAGS
1029 do-TAGS: unstage TAGS-host TAGS-target stage
1031 .PHONY: TAGS-host
1032 TAGS-host: \
1033 maybe-TAGS-ash \
1034 maybe-TAGS-autoconf \
1035 maybe-TAGS-automake \
1036 maybe-TAGS-bash \
1037 maybe-TAGS-bfd \
1038 maybe-TAGS-opcodes \
1039 maybe-TAGS-binutils \
1040 maybe-TAGS-bison \
1041 maybe-TAGS-byacc \
1042 maybe-TAGS-bzip2 \
1043 maybe-TAGS-dejagnu \
1044 maybe-TAGS-diff \
1045 maybe-TAGS-dosutils \
1046 maybe-TAGS-etc \
1047 maybe-TAGS-fastjar \
1048 maybe-TAGS-fileutils \
1049 maybe-TAGS-findutils \
1050 maybe-TAGS-find \
1051 maybe-TAGS-flex \
1052 maybe-TAGS-gas \
1053 maybe-TAGS-gcc \
1054 maybe-TAGS-gawk \
1055 maybe-TAGS-gettext \
1056 maybe-TAGS-gnuserv \
1057 maybe-TAGS-gprof \
1058 maybe-TAGS-gzip \
1059 maybe-TAGS-hello \
1060 maybe-TAGS-indent \
1061 maybe-TAGS-intl \
1062 maybe-TAGS-tcl \
1063 maybe-TAGS-itcl \
1064 maybe-TAGS-ld \
1065 maybe-TAGS-libcpp \
1066 maybe-TAGS-libgui \
1067 maybe-TAGS-libiberty \
1068 maybe-TAGS-libtool \
1069 maybe-TAGS-m4 \
1070 maybe-TAGS-make \
1071 maybe-TAGS-mmalloc \
1072 maybe-TAGS-patch \
1073 maybe-TAGS-perl \
1074 maybe-TAGS-prms \
1075 maybe-TAGS-rcs \
1076 maybe-TAGS-readline \
1077 maybe-TAGS-release \
1078 maybe-TAGS-recode \
1079 maybe-TAGS-sed \
1080 maybe-TAGS-send-pr \
1081 maybe-TAGS-shellutils \
1082 maybe-TAGS-sid \
1083 maybe-TAGS-sim \
1084 maybe-TAGS-tar \
1085 maybe-TAGS-texinfo \
1086 maybe-TAGS-textutils \
1087 maybe-TAGS-time \
1088 maybe-TAGS-uudecode \
1089 maybe-TAGS-wdiff \
1090 maybe-TAGS-zip \
1091 maybe-TAGS-zlib \
1092 maybe-TAGS-gdb \
1093 maybe-TAGS-expect \
1094 maybe-TAGS-guile \
1095 maybe-TAGS-tk \
1096 maybe-TAGS-libtermcap \
1097 maybe-TAGS-utils
1099 .PHONY: TAGS-target
1100 TAGS-target: \
1101 maybe-TAGS-target-libstdc++-v3 \
1102 maybe-TAGS-target-libmudflap \
1103 maybe-TAGS-target-newlib \
1104 maybe-TAGS-target-libgfortran \
1105 maybe-TAGS-target-libobjc \
1106 maybe-TAGS-target-libtermcap \
1107 maybe-TAGS-target-winsup \
1108 maybe-TAGS-target-libgloss \
1109 maybe-TAGS-target-libiberty \
1110 maybe-TAGS-target-gperf \
1111 maybe-TAGS-target-examples \
1112 maybe-TAGS-target-libffi \
1113 maybe-TAGS-target-libjava \
1114 maybe-TAGS-target-zlib \
1115 maybe-TAGS-target-boehm-gc \
1116 maybe-TAGS-target-qthreads \
1117 maybe-TAGS-target-rda \
1118 maybe-TAGS-target-libada
1120 .PHONY: do-install-info
1121 do-install-info: unstage install-info-host install-info-target stage
1123 .PHONY: install-info-host
1124 install-info-host: \
1125 maybe-install-info-ash \
1126 maybe-install-info-autoconf \
1127 maybe-install-info-automake \
1128 maybe-install-info-bash \
1129 maybe-install-info-bfd \
1130 maybe-install-info-opcodes \
1131 maybe-install-info-binutils \
1132 maybe-install-info-bison \
1133 maybe-install-info-byacc \
1134 maybe-install-info-bzip2 \
1135 maybe-install-info-dejagnu \
1136 maybe-install-info-diff \
1137 maybe-install-info-dosutils \
1138 maybe-install-info-etc \
1139 maybe-install-info-fastjar \
1140 maybe-install-info-fileutils \
1141 maybe-install-info-findutils \
1142 maybe-install-info-find \
1143 maybe-install-info-flex \
1144 maybe-install-info-gas \
1145 maybe-install-info-gcc \
1146 maybe-install-info-gawk \
1147 maybe-install-info-gettext \
1148 maybe-install-info-gnuserv \
1149 maybe-install-info-gprof \
1150 maybe-install-info-gzip \
1151 maybe-install-info-hello \
1152 maybe-install-info-indent \
1153 maybe-install-info-intl \
1154 maybe-install-info-tcl \
1155 maybe-install-info-itcl \
1156 maybe-install-info-ld \
1157 maybe-install-info-libcpp \
1158 maybe-install-info-libgui \
1159 maybe-install-info-libiberty \
1160 maybe-install-info-libtool \
1161 maybe-install-info-m4 \
1162 maybe-install-info-make \
1163 maybe-install-info-mmalloc \
1164 maybe-install-info-patch \
1165 maybe-install-info-perl \
1166 maybe-install-info-prms \
1167 maybe-install-info-rcs \
1168 maybe-install-info-readline \
1169 maybe-install-info-release \
1170 maybe-install-info-recode \
1171 maybe-install-info-sed \
1172 maybe-install-info-send-pr \
1173 maybe-install-info-shellutils \
1174 maybe-install-info-sid \
1175 maybe-install-info-sim \
1176 maybe-install-info-tar \
1177 maybe-install-info-texinfo \
1178 maybe-install-info-textutils \
1179 maybe-install-info-time \
1180 maybe-install-info-uudecode \
1181 maybe-install-info-wdiff \
1182 maybe-install-info-zip \
1183 maybe-install-info-zlib \
1184 maybe-install-info-gdb \
1185 maybe-install-info-expect \
1186 maybe-install-info-guile \
1187 maybe-install-info-tk \
1188 maybe-install-info-libtermcap \
1189 maybe-install-info-utils
1191 .PHONY: install-info-target
1192 install-info-target: \
1193 maybe-install-info-target-libstdc++-v3 \
1194 maybe-install-info-target-libmudflap \
1195 maybe-install-info-target-newlib \
1196 maybe-install-info-target-libgfortran \
1197 maybe-install-info-target-libobjc \
1198 maybe-install-info-target-libtermcap \
1199 maybe-install-info-target-winsup \
1200 maybe-install-info-target-libgloss \
1201 maybe-install-info-target-libiberty \
1202 maybe-install-info-target-gperf \
1203 maybe-install-info-target-examples \
1204 maybe-install-info-target-libffi \
1205 maybe-install-info-target-libjava \
1206 maybe-install-info-target-zlib \
1207 maybe-install-info-target-boehm-gc \
1208 maybe-install-info-target-qthreads \
1209 maybe-install-info-target-rda \
1210 maybe-install-info-target-libada
1212 .PHONY: do-installcheck
1213 do-installcheck: unstage installcheck-host installcheck-target stage
1215 .PHONY: installcheck-host
1216 installcheck-host: \
1217 maybe-installcheck-ash \
1218 maybe-installcheck-autoconf \
1219 maybe-installcheck-automake \
1220 maybe-installcheck-bash \
1221 maybe-installcheck-bfd \
1222 maybe-installcheck-opcodes \
1223 maybe-installcheck-binutils \
1224 maybe-installcheck-bison \
1225 maybe-installcheck-byacc \
1226 maybe-installcheck-bzip2 \
1227 maybe-installcheck-dejagnu \
1228 maybe-installcheck-diff \
1229 maybe-installcheck-dosutils \
1230 maybe-installcheck-etc \
1231 maybe-installcheck-fastjar \
1232 maybe-installcheck-fileutils \
1233 maybe-installcheck-findutils \
1234 maybe-installcheck-find \
1235 maybe-installcheck-flex \
1236 maybe-installcheck-gas \
1237 maybe-installcheck-gcc \
1238 maybe-installcheck-gawk \
1239 maybe-installcheck-gettext \
1240 maybe-installcheck-gnuserv \
1241 maybe-installcheck-gprof \
1242 maybe-installcheck-gzip \
1243 maybe-installcheck-hello \
1244 maybe-installcheck-indent \
1245 maybe-installcheck-intl \
1246 maybe-installcheck-tcl \
1247 maybe-installcheck-itcl \
1248 maybe-installcheck-ld \
1249 maybe-installcheck-libcpp \
1250 maybe-installcheck-libgui \
1251 maybe-installcheck-libiberty \
1252 maybe-installcheck-libtool \
1253 maybe-installcheck-m4 \
1254 maybe-installcheck-make \
1255 maybe-installcheck-mmalloc \
1256 maybe-installcheck-patch \
1257 maybe-installcheck-perl \
1258 maybe-installcheck-prms \
1259 maybe-installcheck-rcs \
1260 maybe-installcheck-readline \
1261 maybe-installcheck-release \
1262 maybe-installcheck-recode \
1263 maybe-installcheck-sed \
1264 maybe-installcheck-send-pr \
1265 maybe-installcheck-shellutils \
1266 maybe-installcheck-sid \
1267 maybe-installcheck-sim \
1268 maybe-installcheck-tar \
1269 maybe-installcheck-texinfo \
1270 maybe-installcheck-textutils \
1271 maybe-installcheck-time \
1272 maybe-installcheck-uudecode \
1273 maybe-installcheck-wdiff \
1274 maybe-installcheck-zip \
1275 maybe-installcheck-zlib \
1276 maybe-installcheck-gdb \
1277 maybe-installcheck-expect \
1278 maybe-installcheck-guile \
1279 maybe-installcheck-tk \
1280 maybe-installcheck-libtermcap \
1281 maybe-installcheck-utils
1283 .PHONY: installcheck-target
1284 installcheck-target: \
1285 maybe-installcheck-target-libstdc++-v3 \
1286 maybe-installcheck-target-libmudflap \
1287 maybe-installcheck-target-newlib \
1288 maybe-installcheck-target-libgfortran \
1289 maybe-installcheck-target-libobjc \
1290 maybe-installcheck-target-libtermcap \
1291 maybe-installcheck-target-winsup \
1292 maybe-installcheck-target-libgloss \
1293 maybe-installcheck-target-libiberty \
1294 maybe-installcheck-target-gperf \
1295 maybe-installcheck-target-examples \
1296 maybe-installcheck-target-libffi \
1297 maybe-installcheck-target-libjava \
1298 maybe-installcheck-target-zlib \
1299 maybe-installcheck-target-boehm-gc \
1300 maybe-installcheck-target-qthreads \
1301 maybe-installcheck-target-rda \
1302 maybe-installcheck-target-libada
1304 .PHONY: do-mostlyclean
1305 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1307 .PHONY: mostlyclean-host
1308 mostlyclean-host: \
1309 maybe-mostlyclean-ash \
1310 maybe-mostlyclean-autoconf \
1311 maybe-mostlyclean-automake \
1312 maybe-mostlyclean-bash \
1313 maybe-mostlyclean-bfd \
1314 maybe-mostlyclean-opcodes \
1315 maybe-mostlyclean-binutils \
1316 maybe-mostlyclean-bison \
1317 maybe-mostlyclean-byacc \
1318 maybe-mostlyclean-bzip2 \
1319 maybe-mostlyclean-dejagnu \
1320 maybe-mostlyclean-diff \
1321 maybe-mostlyclean-dosutils \
1322 maybe-mostlyclean-etc \
1323 maybe-mostlyclean-fastjar \
1324 maybe-mostlyclean-fileutils \
1325 maybe-mostlyclean-findutils \
1326 maybe-mostlyclean-find \
1327 maybe-mostlyclean-flex \
1328 maybe-mostlyclean-gas \
1329 maybe-mostlyclean-gcc \
1330 maybe-mostlyclean-gawk \
1331 maybe-mostlyclean-gettext \
1332 maybe-mostlyclean-gnuserv \
1333 maybe-mostlyclean-gprof \
1334 maybe-mostlyclean-gzip \
1335 maybe-mostlyclean-hello \
1336 maybe-mostlyclean-indent \
1337 maybe-mostlyclean-intl \
1338 maybe-mostlyclean-tcl \
1339 maybe-mostlyclean-itcl \
1340 maybe-mostlyclean-ld \
1341 maybe-mostlyclean-libcpp \
1342 maybe-mostlyclean-libgui \
1343 maybe-mostlyclean-libiberty \
1344 maybe-mostlyclean-libtool \
1345 maybe-mostlyclean-m4 \
1346 maybe-mostlyclean-make \
1347 maybe-mostlyclean-mmalloc \
1348 maybe-mostlyclean-patch \
1349 maybe-mostlyclean-perl \
1350 maybe-mostlyclean-prms \
1351 maybe-mostlyclean-rcs \
1352 maybe-mostlyclean-readline \
1353 maybe-mostlyclean-release \
1354 maybe-mostlyclean-recode \
1355 maybe-mostlyclean-sed \
1356 maybe-mostlyclean-send-pr \
1357 maybe-mostlyclean-shellutils \
1358 maybe-mostlyclean-sid \
1359 maybe-mostlyclean-sim \
1360 maybe-mostlyclean-tar \
1361 maybe-mostlyclean-texinfo \
1362 maybe-mostlyclean-textutils \
1363 maybe-mostlyclean-time \
1364 maybe-mostlyclean-uudecode \
1365 maybe-mostlyclean-wdiff \
1366 maybe-mostlyclean-zip \
1367 maybe-mostlyclean-zlib \
1368 maybe-mostlyclean-gdb \
1369 maybe-mostlyclean-expect \
1370 maybe-mostlyclean-guile \
1371 maybe-mostlyclean-tk \
1372 maybe-mostlyclean-libtermcap \
1373 maybe-mostlyclean-utils
1375 .PHONY: mostlyclean-target
1376 mostlyclean-target: \
1377 maybe-mostlyclean-target-libstdc++-v3 \
1378 maybe-mostlyclean-target-libmudflap \
1379 maybe-mostlyclean-target-newlib \
1380 maybe-mostlyclean-target-libgfortran \
1381 maybe-mostlyclean-target-libobjc \
1382 maybe-mostlyclean-target-libtermcap \
1383 maybe-mostlyclean-target-winsup \
1384 maybe-mostlyclean-target-libgloss \
1385 maybe-mostlyclean-target-libiberty \
1386 maybe-mostlyclean-target-gperf \
1387 maybe-mostlyclean-target-examples \
1388 maybe-mostlyclean-target-libffi \
1389 maybe-mostlyclean-target-libjava \
1390 maybe-mostlyclean-target-zlib \
1391 maybe-mostlyclean-target-boehm-gc \
1392 maybe-mostlyclean-target-qthreads \
1393 maybe-mostlyclean-target-rda \
1394 maybe-mostlyclean-target-libada
1396 .PHONY: do-clean
1397 do-clean: unstage clean-host clean-target stage
1399 .PHONY: clean-host
1400 clean-host: \
1401 maybe-clean-ash \
1402 maybe-clean-autoconf \
1403 maybe-clean-automake \
1404 maybe-clean-bash \
1405 maybe-clean-bfd \
1406 maybe-clean-opcodes \
1407 maybe-clean-binutils \
1408 maybe-clean-bison \
1409 maybe-clean-byacc \
1410 maybe-clean-bzip2 \
1411 maybe-clean-dejagnu \
1412 maybe-clean-diff \
1413 maybe-clean-dosutils \
1414 maybe-clean-etc \
1415 maybe-clean-fastjar \
1416 maybe-clean-fileutils \
1417 maybe-clean-findutils \
1418 maybe-clean-find \
1419 maybe-clean-flex \
1420 maybe-clean-gas \
1421 maybe-clean-gcc \
1422 maybe-clean-gawk \
1423 maybe-clean-gettext \
1424 maybe-clean-gnuserv \
1425 maybe-clean-gprof \
1426 maybe-clean-gzip \
1427 maybe-clean-hello \
1428 maybe-clean-indent \
1429 maybe-clean-intl \
1430 maybe-clean-tcl \
1431 maybe-clean-itcl \
1432 maybe-clean-ld \
1433 maybe-clean-libcpp \
1434 maybe-clean-libgui \
1435 maybe-clean-libiberty \
1436 maybe-clean-libtool \
1437 maybe-clean-m4 \
1438 maybe-clean-make \
1439 maybe-clean-mmalloc \
1440 maybe-clean-patch \
1441 maybe-clean-perl \
1442 maybe-clean-prms \
1443 maybe-clean-rcs \
1444 maybe-clean-readline \
1445 maybe-clean-release \
1446 maybe-clean-recode \
1447 maybe-clean-sed \
1448 maybe-clean-send-pr \
1449 maybe-clean-shellutils \
1450 maybe-clean-sid \
1451 maybe-clean-sim \
1452 maybe-clean-tar \
1453 maybe-clean-texinfo \
1454 maybe-clean-textutils \
1455 maybe-clean-time \
1456 maybe-clean-uudecode \
1457 maybe-clean-wdiff \
1458 maybe-clean-zip \
1459 maybe-clean-zlib \
1460 maybe-clean-gdb \
1461 maybe-clean-expect \
1462 maybe-clean-guile \
1463 maybe-clean-tk \
1464 maybe-clean-libtermcap \
1465 maybe-clean-utils
1467 .PHONY: clean-target
1468 clean-target: \
1469 maybe-clean-target-libstdc++-v3 \
1470 maybe-clean-target-libmudflap \
1471 maybe-clean-target-newlib \
1472 maybe-clean-target-libgfortran \
1473 maybe-clean-target-libobjc \
1474 maybe-clean-target-libtermcap \
1475 maybe-clean-target-winsup \
1476 maybe-clean-target-libgloss \
1477 maybe-clean-target-libiberty \
1478 maybe-clean-target-gperf \
1479 maybe-clean-target-examples \
1480 maybe-clean-target-libffi \
1481 maybe-clean-target-libjava \
1482 maybe-clean-target-zlib \
1483 maybe-clean-target-boehm-gc \
1484 maybe-clean-target-qthreads \
1485 maybe-clean-target-rda \
1486 maybe-clean-target-libada
1488 .PHONY: do-distclean
1489 do-distclean: unstage distclean-host distclean-target stage
1491 .PHONY: distclean-host
1492 distclean-host: \
1493 maybe-distclean-ash \
1494 maybe-distclean-autoconf \
1495 maybe-distclean-automake \
1496 maybe-distclean-bash \
1497 maybe-distclean-bfd \
1498 maybe-distclean-opcodes \
1499 maybe-distclean-binutils \
1500 maybe-distclean-bison \
1501 maybe-distclean-byacc \
1502 maybe-distclean-bzip2 \
1503 maybe-distclean-dejagnu \
1504 maybe-distclean-diff \
1505 maybe-distclean-dosutils \
1506 maybe-distclean-etc \
1507 maybe-distclean-fastjar \
1508 maybe-distclean-fileutils \
1509 maybe-distclean-findutils \
1510 maybe-distclean-find \
1511 maybe-distclean-flex \
1512 maybe-distclean-gas \
1513 maybe-distclean-gcc \
1514 maybe-distclean-gawk \
1515 maybe-distclean-gettext \
1516 maybe-distclean-gnuserv \
1517 maybe-distclean-gprof \
1518 maybe-distclean-gzip \
1519 maybe-distclean-hello \
1520 maybe-distclean-indent \
1521 maybe-distclean-intl \
1522 maybe-distclean-tcl \
1523 maybe-distclean-itcl \
1524 maybe-distclean-ld \
1525 maybe-distclean-libcpp \
1526 maybe-distclean-libgui \
1527 maybe-distclean-libiberty \
1528 maybe-distclean-libtool \
1529 maybe-distclean-m4 \
1530 maybe-distclean-make \
1531 maybe-distclean-mmalloc \
1532 maybe-distclean-patch \
1533 maybe-distclean-perl \
1534 maybe-distclean-prms \
1535 maybe-distclean-rcs \
1536 maybe-distclean-readline \
1537 maybe-distclean-release \
1538 maybe-distclean-recode \
1539 maybe-distclean-sed \
1540 maybe-distclean-send-pr \
1541 maybe-distclean-shellutils \
1542 maybe-distclean-sid \
1543 maybe-distclean-sim \
1544 maybe-distclean-tar \
1545 maybe-distclean-texinfo \
1546 maybe-distclean-textutils \
1547 maybe-distclean-time \
1548 maybe-distclean-uudecode \
1549 maybe-distclean-wdiff \
1550 maybe-distclean-zip \
1551 maybe-distclean-zlib \
1552 maybe-distclean-gdb \
1553 maybe-distclean-expect \
1554 maybe-distclean-guile \
1555 maybe-distclean-tk \
1556 maybe-distclean-libtermcap \
1557 maybe-distclean-utils
1559 .PHONY: distclean-target
1560 distclean-target: \
1561 maybe-distclean-target-libstdc++-v3 \
1562 maybe-distclean-target-libmudflap \
1563 maybe-distclean-target-newlib \
1564 maybe-distclean-target-libgfortran \
1565 maybe-distclean-target-libobjc \
1566 maybe-distclean-target-libtermcap \
1567 maybe-distclean-target-winsup \
1568 maybe-distclean-target-libgloss \
1569 maybe-distclean-target-libiberty \
1570 maybe-distclean-target-gperf \
1571 maybe-distclean-target-examples \
1572 maybe-distclean-target-libffi \
1573 maybe-distclean-target-libjava \
1574 maybe-distclean-target-zlib \
1575 maybe-distclean-target-boehm-gc \
1576 maybe-distclean-target-qthreads \
1577 maybe-distclean-target-rda \
1578 maybe-distclean-target-libada
1580 .PHONY: do-maintainer-clean
1581 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1583 .PHONY: maintainer-clean-host
1584 maintainer-clean-host: \
1585 maybe-maintainer-clean-ash \
1586 maybe-maintainer-clean-autoconf \
1587 maybe-maintainer-clean-automake \
1588 maybe-maintainer-clean-bash \
1589 maybe-maintainer-clean-bfd \
1590 maybe-maintainer-clean-opcodes \
1591 maybe-maintainer-clean-binutils \
1592 maybe-maintainer-clean-bison \
1593 maybe-maintainer-clean-byacc \
1594 maybe-maintainer-clean-bzip2 \
1595 maybe-maintainer-clean-dejagnu \
1596 maybe-maintainer-clean-diff \
1597 maybe-maintainer-clean-dosutils \
1598 maybe-maintainer-clean-etc \
1599 maybe-maintainer-clean-fastjar \
1600 maybe-maintainer-clean-fileutils \
1601 maybe-maintainer-clean-findutils \
1602 maybe-maintainer-clean-find \
1603 maybe-maintainer-clean-flex \
1604 maybe-maintainer-clean-gas \
1605 maybe-maintainer-clean-gcc \
1606 maybe-maintainer-clean-gawk \
1607 maybe-maintainer-clean-gettext \
1608 maybe-maintainer-clean-gnuserv \
1609 maybe-maintainer-clean-gprof \
1610 maybe-maintainer-clean-gzip \
1611 maybe-maintainer-clean-hello \
1612 maybe-maintainer-clean-indent \
1613 maybe-maintainer-clean-intl \
1614 maybe-maintainer-clean-tcl \
1615 maybe-maintainer-clean-itcl \
1616 maybe-maintainer-clean-ld \
1617 maybe-maintainer-clean-libcpp \
1618 maybe-maintainer-clean-libgui \
1619 maybe-maintainer-clean-libiberty \
1620 maybe-maintainer-clean-libtool \
1621 maybe-maintainer-clean-m4 \
1622 maybe-maintainer-clean-make \
1623 maybe-maintainer-clean-mmalloc \
1624 maybe-maintainer-clean-patch \
1625 maybe-maintainer-clean-perl \
1626 maybe-maintainer-clean-prms \
1627 maybe-maintainer-clean-rcs \
1628 maybe-maintainer-clean-readline \
1629 maybe-maintainer-clean-release \
1630 maybe-maintainer-clean-recode \
1631 maybe-maintainer-clean-sed \
1632 maybe-maintainer-clean-send-pr \
1633 maybe-maintainer-clean-shellutils \
1634 maybe-maintainer-clean-sid \
1635 maybe-maintainer-clean-sim \
1636 maybe-maintainer-clean-tar \
1637 maybe-maintainer-clean-texinfo \
1638 maybe-maintainer-clean-textutils \
1639 maybe-maintainer-clean-time \
1640 maybe-maintainer-clean-uudecode \
1641 maybe-maintainer-clean-wdiff \
1642 maybe-maintainer-clean-zip \
1643 maybe-maintainer-clean-zlib \
1644 maybe-maintainer-clean-gdb \
1645 maybe-maintainer-clean-expect \
1646 maybe-maintainer-clean-guile \
1647 maybe-maintainer-clean-tk \
1648 maybe-maintainer-clean-libtermcap \
1649 maybe-maintainer-clean-utils
1651 .PHONY: maintainer-clean-target
1652 maintainer-clean-target: \
1653 maybe-maintainer-clean-target-libstdc++-v3 \
1654 maybe-maintainer-clean-target-libmudflap \
1655 maybe-maintainer-clean-target-newlib \
1656 maybe-maintainer-clean-target-libgfortran \
1657 maybe-maintainer-clean-target-libobjc \
1658 maybe-maintainer-clean-target-libtermcap \
1659 maybe-maintainer-clean-target-winsup \
1660 maybe-maintainer-clean-target-libgloss \
1661 maybe-maintainer-clean-target-libiberty \
1662 maybe-maintainer-clean-target-gperf \
1663 maybe-maintainer-clean-target-examples \
1664 maybe-maintainer-clean-target-libffi \
1665 maybe-maintainer-clean-target-libjava \
1666 maybe-maintainer-clean-target-zlib \
1667 maybe-maintainer-clean-target-boehm-gc \
1668 maybe-maintainer-clean-target-qthreads \
1669 maybe-maintainer-clean-target-rda \
1670 maybe-maintainer-clean-target-libada
1673 # Here are the targets which correspond to the do-X targets.
1675 .PHONY: info installcheck dvi install-info
1676 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1677 .PHONY: local-clean local-distclean local-maintainer-clean
1678 info: do-info
1679 installcheck: do-installcheck
1680 dvi: do-dvi
1682 # Make sure makeinfo is built before we do a `make info', if we're
1683 # in fact building texinfo.
1684 do-info: maybe-all-texinfo
1686 install-info: do-install-info dir.info
1687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1688 if [ -f dir.info ] ; then \
1689 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1690 else true ; fi
1692 local-clean:
1693 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1695 local-distclean:
1696 -rm -f Makefile config.status config.cache mh-frag mt-frag
1697 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1698 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1699 rm -rf $(TARGET_SUBDIR); \
1700 else true; fi
1701 -rm -rf $(BUILD_SUBDIR)
1702 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1703 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1704 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1705 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1706 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1708 local-maintainer-clean:
1709 @echo "This command is intended for maintainers to use;"
1710 @echo "it deletes files that may require special tools to rebuild."
1712 clean: do-clean local-clean
1713 mostlyclean: do-mostlyclean local-clean
1714 distclean: do-distclean local-clean local-distclean
1715 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1716 maintainer-clean: local-distclean
1717 realclean: maintainer-clean
1719 # Extra dependency for clean-target, owing to the mixed nature of gcc
1720 clean-target: clean-target-libgcc
1721 clean-target-libgcc:
1722 test ! -d gcc/libgcc || \
1723 (cd gcc/libgcc && find . -type d -print) | \
1724 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1725 -rm -rf gcc/libgcc
1727 # Check target.
1729 .PHONY: check do-check
1730 check: do-check
1732 # Only include modules actually being configured and built.
1733 do-check: unstage \
1734 maybe-check-ash \
1735 maybe-check-autoconf \
1736 maybe-check-automake \
1737 maybe-check-bash \
1738 maybe-check-bfd \
1739 maybe-check-opcodes \
1740 maybe-check-binutils \
1741 maybe-check-bison \
1742 maybe-check-byacc \
1743 maybe-check-bzip2 \
1744 maybe-check-dejagnu \
1745 maybe-check-diff \
1746 maybe-check-dosutils \
1747 maybe-check-etc \
1748 maybe-check-fastjar \
1749 maybe-check-fileutils \
1750 maybe-check-findutils \
1751 maybe-check-find \
1752 maybe-check-flex \
1753 maybe-check-gas \
1754 maybe-check-gcc \
1755 maybe-check-gawk \
1756 maybe-check-gettext \
1757 maybe-check-gnuserv \
1758 maybe-check-gprof \
1759 maybe-check-gzip \
1760 maybe-check-hello \
1761 maybe-check-indent \
1762 maybe-check-intl \
1763 maybe-check-tcl \
1764 maybe-check-itcl \
1765 maybe-check-ld \
1766 maybe-check-libcpp \
1767 maybe-check-libgui \
1768 maybe-check-libiberty \
1769 maybe-check-libtool \
1770 maybe-check-m4 \
1771 maybe-check-make \
1772 maybe-check-mmalloc \
1773 maybe-check-patch \
1774 maybe-check-perl \
1775 maybe-check-prms \
1776 maybe-check-rcs \
1777 maybe-check-readline \
1778 maybe-check-release \
1779 maybe-check-recode \
1780 maybe-check-sed \
1781 maybe-check-send-pr \
1782 maybe-check-shellutils \
1783 maybe-check-sid \
1784 maybe-check-sim \
1785 maybe-check-tar \
1786 maybe-check-texinfo \
1787 maybe-check-textutils \
1788 maybe-check-time \
1789 maybe-check-uudecode \
1790 maybe-check-wdiff \
1791 maybe-check-zip \
1792 maybe-check-zlib \
1793 maybe-check-gdb \
1794 maybe-check-expect \
1795 maybe-check-guile \
1796 maybe-check-tk \
1797 maybe-check-libtermcap \
1798 maybe-check-utils \
1799 maybe-check-target-libstdc++-v3 \
1800 maybe-check-target-libmudflap \
1801 maybe-check-target-newlib \
1802 maybe-check-target-libgfortran \
1803 maybe-check-target-libobjc \
1804 maybe-check-target-libtermcap \
1805 maybe-check-target-winsup \
1806 maybe-check-target-libgloss \
1807 maybe-check-target-libiberty \
1808 maybe-check-target-gperf \
1809 maybe-check-target-examples \
1810 maybe-check-target-libffi \
1811 maybe-check-target-libjava \
1812 maybe-check-target-zlib \
1813 maybe-check-target-boehm-gc \
1814 maybe-check-target-qthreads \
1815 maybe-check-target-rda \
1816 maybe-check-target-libada stage
1818 # Automated reporting of test results.
1820 warning.log: build.log
1821 $(srcdir)/contrib/warn_summary build.log > $@
1823 mail-report.log:
1824 if test x'$(BOOT_CFLAGS)' != x''; then \
1825 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1826 fi; \
1827 $(srcdir)/contrib/test_summary -t >$@
1828 chmod +x $@
1829 echo If you really want to send e-mail, run ./$@ now
1831 mail-report-with-warnings.log: warning.log
1832 if test x'$(BOOT_CFLAGS)' != x''; then \
1833 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1834 fi; \
1835 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1836 chmod +x $@
1837 echo If you really want to send e-mail, run ./$@ now
1839 # Installation targets.
1841 .PHONY: install uninstall
1842 install: installdirs install-host install-target
1844 .PHONY: install-host-nogcc
1845 install-host-nogcc: \
1846 maybe-install-ash \
1847 maybe-install-autoconf \
1848 maybe-install-automake \
1849 maybe-install-bash \
1850 maybe-install-bfd \
1851 maybe-install-opcodes \
1852 maybe-install-binutils \
1853 maybe-install-bison \
1854 maybe-install-byacc \
1855 maybe-install-bzip2 \
1856 maybe-install-dejagnu \
1857 maybe-install-diff \
1858 maybe-install-dosutils \
1859 maybe-install-etc \
1860 maybe-install-fastjar \
1861 maybe-install-fileutils \
1862 maybe-install-findutils \
1863 maybe-install-find \
1864 maybe-install-flex \
1865 maybe-install-gas \
1866 maybe-install-gawk \
1867 maybe-install-gettext \
1868 maybe-install-gnuserv \
1869 maybe-install-gprof \
1870 maybe-install-gzip \
1871 maybe-install-hello \
1872 maybe-install-indent \
1873 maybe-install-intl \
1874 maybe-install-tcl \
1875 maybe-install-itcl \
1876 maybe-install-ld \
1877 maybe-install-libcpp \
1878 maybe-install-libgui \
1879 maybe-install-libiberty \
1880 maybe-install-libtool \
1881 maybe-install-m4 \
1882 maybe-install-make \
1883 maybe-install-mmalloc \
1884 maybe-install-patch \
1885 maybe-install-perl \
1886 maybe-install-prms \
1887 maybe-install-rcs \
1888 maybe-install-readline \
1889 maybe-install-release \
1890 maybe-install-recode \
1891 maybe-install-sed \
1892 maybe-install-send-pr \
1893 maybe-install-shellutils \
1894 maybe-install-sid \
1895 maybe-install-sim \
1896 maybe-install-tar \
1897 maybe-install-texinfo \
1898 maybe-install-textutils \
1899 maybe-install-time \
1900 maybe-install-uudecode \
1901 maybe-install-wdiff \
1902 maybe-install-zip \
1903 maybe-install-zlib \
1904 maybe-install-gdb \
1905 maybe-install-expect \
1906 maybe-install-guile \
1907 maybe-install-tk \
1908 maybe-install-libtermcap \
1909 maybe-install-utils
1911 .PHONY: install-host
1912 install-host: \
1913 maybe-install-ash \
1914 maybe-install-autoconf \
1915 maybe-install-automake \
1916 maybe-install-bash \
1917 maybe-install-bfd \
1918 maybe-install-opcodes \
1919 maybe-install-binutils \
1920 maybe-install-bison \
1921 maybe-install-byacc \
1922 maybe-install-bzip2 \
1923 maybe-install-dejagnu \
1924 maybe-install-diff \
1925 maybe-install-dosutils \
1926 maybe-install-etc \
1927 maybe-install-fastjar \
1928 maybe-install-fileutils \
1929 maybe-install-findutils \
1930 maybe-install-find \
1931 maybe-install-flex \
1932 maybe-install-gas \
1933 maybe-install-gcc \
1934 maybe-install-gawk \
1935 maybe-install-gettext \
1936 maybe-install-gnuserv \
1937 maybe-install-gprof \
1938 maybe-install-gzip \
1939 maybe-install-hello \
1940 maybe-install-indent \
1941 maybe-install-intl \
1942 maybe-install-tcl \
1943 maybe-install-itcl \
1944 maybe-install-ld \
1945 maybe-install-libcpp \
1946 maybe-install-libgui \
1947 maybe-install-libiberty \
1948 maybe-install-libtool \
1949 maybe-install-m4 \
1950 maybe-install-make \
1951 maybe-install-mmalloc \
1952 maybe-install-patch \
1953 maybe-install-perl \
1954 maybe-install-prms \
1955 maybe-install-rcs \
1956 maybe-install-readline \
1957 maybe-install-release \
1958 maybe-install-recode \
1959 maybe-install-sed \
1960 maybe-install-send-pr \
1961 maybe-install-shellutils \
1962 maybe-install-sid \
1963 maybe-install-sim \
1964 maybe-install-tar \
1965 maybe-install-texinfo \
1966 maybe-install-textutils \
1967 maybe-install-time \
1968 maybe-install-uudecode \
1969 maybe-install-wdiff \
1970 maybe-install-zip \
1971 maybe-install-zlib \
1972 maybe-install-gdb \
1973 maybe-install-expect \
1974 maybe-install-guile \
1975 maybe-install-tk \
1976 maybe-install-libtermcap \
1977 maybe-install-utils
1979 .PHONY: install-target
1980 install-target: \
1981 maybe-install-target-libstdc++-v3 \
1982 maybe-install-target-libmudflap \
1983 maybe-install-target-newlib \
1984 maybe-install-target-libgfortran \
1985 maybe-install-target-libobjc \
1986 maybe-install-target-libtermcap \
1987 maybe-install-target-winsup \
1988 maybe-install-target-libgloss \
1989 maybe-install-target-libiberty \
1990 maybe-install-target-gperf \
1991 maybe-install-target-examples \
1992 maybe-install-target-libffi \
1993 maybe-install-target-libjava \
1994 maybe-install-target-zlib \
1995 maybe-install-target-boehm-gc \
1996 maybe-install-target-qthreads \
1997 maybe-install-target-rda \
1998 maybe-install-target-libada
2000 uninstall:
2001 @echo "the uninstall target is not supported in this tree"
2003 .PHONY: install.all
2004 install.all: install-no-fixedincludes
2005 @if [ -f ./gcc/Makefile ] ; then \
2006 r=`${PWD_COMMAND}` ; export r ; \
2007 $(SET_LIB_PATH) \
2008 $(HOST_EXPORTS) \
2009 (cd ./gcc && \
2010 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2011 else \
2012 true ; \
2015 # install-no-fixedincludes is used because Cygnus can not distribute
2016 # the fixed header files.
2017 .PHONY: install-no-fixedincludes
2018 install-no-fixedincludes: installdirs install-host-nogcc \
2019 install-target gcc-no-fixedincludes
2021 ### other supporting targets
2023 MAKEDIRS= \
2024 $(DESTDIR)$(prefix) \
2025 $(DESTDIR)$(exec_prefix)
2026 .PHONY: installdirs
2027 installdirs: mkinstalldirs
2028 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2030 dir.info: do-install-info
2031 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2032 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2033 mv -f dir.info.new dir.info ; \
2034 else true ; \
2037 dist:
2038 @echo "Building a full distribution of this tree isn't done"
2039 @echo "via 'make dist'. Check out the etc/ subdirectory"
2041 etags tags: TAGS
2043 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2044 # ability to use several tags files at once, so there is probably no need
2045 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2046 # (if we felt like it) have this Makefile write a piece of elisp which
2047 # the user could load to tell emacs19 where all the TAGS files we just
2048 # built are.
2049 TAGS: do-TAGS
2051 # --------------------------------------
2052 # Modules which run on the build machine
2053 # --------------------------------------
2055 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2056 maybe-configure-build-libiberty:
2057 @if build-libiberty
2058 maybe-configure-build-libiberty: configure-build-libiberty
2059 configure-build-libiberty:
2060 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2061 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2062 r=`${PWD_COMMAND}`; export r; \
2063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2064 $(BUILD_EXPORTS) \
2065 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2066 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2067 case $(srcdir) in \
2068 /* | [A-Za-z]:[\\/]*) \
2069 topdir=$(srcdir) ;; \
2070 *) \
2071 case "$(BUILD_SUBDIR)" in \
2072 .) topdir="../$(srcdir)" ;; \
2073 *) topdir="../../$(srcdir)" ;; \
2074 esac ;; \
2075 esac; \
2076 if [ "$(srcdir)" = "." ] ; then \
2077 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2078 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2079 if [ -f Makefile ]; then \
2080 if $(MAKE) distclean; then \
2081 true; \
2082 else \
2083 exit 1; \
2084 fi; \
2085 else \
2086 true; \
2087 fi; \
2088 else \
2089 exit 1; \
2090 fi; \
2091 else \
2092 true; \
2093 fi; \
2094 srcdiroption="--srcdir=."; \
2095 libsrcdir="."; \
2096 else \
2097 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2098 libsrcdir="$$s/libiberty"; \
2099 fi; \
2100 rm -f no-such-file || : ; \
2101 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2102 $(BUILD_CONFIGARGS) $${srcdiroption} \
2103 --with-build-subdir="$(BUILD_SUBDIR)" \
2104 || exit 1
2105 @endif build-libiberty
2107 .PHONY: all-build-libiberty maybe-all-build-libiberty
2108 maybe-all-build-libiberty:
2109 @if build-libiberty
2110 TARGET-build-libiberty=all
2111 maybe-all-build-libiberty: all-build-libiberty
2112 all-build-libiberty: configure-build-libiberty
2113 @r=`${PWD_COMMAND}`; export r; \
2114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2115 $(BUILD_EXPORTS) \
2116 (cd $(BUILD_SUBDIR)/libiberty && \
2117 $(MAKE) $(TARGET-build-libiberty))
2118 @endif build-libiberty
2120 .PHONY: configure-build-bison maybe-configure-build-bison
2121 maybe-configure-build-bison:
2122 @if build-bison
2123 maybe-configure-build-bison: configure-build-bison
2124 configure-build-bison:
2125 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2126 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2127 r=`${PWD_COMMAND}`; export r; \
2128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2129 $(BUILD_EXPORTS) \
2130 echo Configuring in $(BUILD_SUBDIR)/bison; \
2131 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2132 case $(srcdir) in \
2133 /* | [A-Za-z]:[\\/]*) \
2134 topdir=$(srcdir) ;; \
2135 *) \
2136 case "$(BUILD_SUBDIR)" in \
2137 .) topdir="../$(srcdir)" ;; \
2138 *) topdir="../../$(srcdir)" ;; \
2139 esac ;; \
2140 esac; \
2141 if [ "$(srcdir)" = "." ] ; then \
2142 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2143 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2144 if [ -f Makefile ]; then \
2145 if $(MAKE) distclean; then \
2146 true; \
2147 else \
2148 exit 1; \
2149 fi; \
2150 else \
2151 true; \
2152 fi; \
2153 else \
2154 exit 1; \
2155 fi; \
2156 else \
2157 true; \
2158 fi; \
2159 srcdiroption="--srcdir=."; \
2160 libsrcdir="."; \
2161 else \
2162 srcdiroption="--srcdir=$${topdir}/bison"; \
2163 libsrcdir="$$s/bison"; \
2164 fi; \
2165 rm -f no-such-file || : ; \
2166 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2167 $(BUILD_CONFIGARGS) $${srcdiroption} \
2168 --with-build-subdir="$(BUILD_SUBDIR)" \
2169 || exit 1
2170 @endif build-bison
2172 .PHONY: all-build-bison maybe-all-build-bison
2173 maybe-all-build-bison:
2174 @if build-bison
2175 TARGET-build-bison=all
2176 maybe-all-build-bison: all-build-bison
2177 all-build-bison: configure-build-bison
2178 @r=`${PWD_COMMAND}`; export r; \
2179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2180 $(BUILD_EXPORTS) \
2181 (cd $(BUILD_SUBDIR)/bison && \
2182 $(MAKE) $(TARGET-build-bison))
2183 @endif build-bison
2185 .PHONY: configure-build-byacc maybe-configure-build-byacc
2186 maybe-configure-build-byacc:
2187 @if build-byacc
2188 maybe-configure-build-byacc: configure-build-byacc
2189 configure-build-byacc:
2190 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2191 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2192 r=`${PWD_COMMAND}`; export r; \
2193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2194 $(BUILD_EXPORTS) \
2195 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2196 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2197 case $(srcdir) in \
2198 /* | [A-Za-z]:[\\/]*) \
2199 topdir=$(srcdir) ;; \
2200 *) \
2201 case "$(BUILD_SUBDIR)" in \
2202 .) topdir="../$(srcdir)" ;; \
2203 *) topdir="../../$(srcdir)" ;; \
2204 esac ;; \
2205 esac; \
2206 if [ "$(srcdir)" = "." ] ; then \
2207 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2208 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2209 if [ -f Makefile ]; then \
2210 if $(MAKE) distclean; then \
2211 true; \
2212 else \
2213 exit 1; \
2214 fi; \
2215 else \
2216 true; \
2217 fi; \
2218 else \
2219 exit 1; \
2220 fi; \
2221 else \
2222 true; \
2223 fi; \
2224 srcdiroption="--srcdir=."; \
2225 libsrcdir="."; \
2226 else \
2227 srcdiroption="--srcdir=$${topdir}/byacc"; \
2228 libsrcdir="$$s/byacc"; \
2229 fi; \
2230 rm -f no-such-file || : ; \
2231 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2232 $(BUILD_CONFIGARGS) $${srcdiroption} \
2233 --with-build-subdir="$(BUILD_SUBDIR)" \
2234 || exit 1
2235 @endif build-byacc
2237 .PHONY: all-build-byacc maybe-all-build-byacc
2238 maybe-all-build-byacc:
2239 @if build-byacc
2240 TARGET-build-byacc=all
2241 maybe-all-build-byacc: all-build-byacc
2242 all-build-byacc: configure-build-byacc
2243 @r=`${PWD_COMMAND}`; export r; \
2244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2245 $(BUILD_EXPORTS) \
2246 (cd $(BUILD_SUBDIR)/byacc && \
2247 $(MAKE) $(TARGET-build-byacc))
2248 @endif build-byacc
2250 .PHONY: configure-build-flex maybe-configure-build-flex
2251 maybe-configure-build-flex:
2252 @if build-flex
2253 maybe-configure-build-flex: configure-build-flex
2254 configure-build-flex:
2255 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2256 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2257 r=`${PWD_COMMAND}`; export r; \
2258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2259 $(BUILD_EXPORTS) \
2260 echo Configuring in $(BUILD_SUBDIR)/flex; \
2261 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2262 case $(srcdir) in \
2263 /* | [A-Za-z]:[\\/]*) \
2264 topdir=$(srcdir) ;; \
2265 *) \
2266 case "$(BUILD_SUBDIR)" in \
2267 .) topdir="../$(srcdir)" ;; \
2268 *) topdir="../../$(srcdir)" ;; \
2269 esac ;; \
2270 esac; \
2271 if [ "$(srcdir)" = "." ] ; then \
2272 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2273 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2274 if [ -f Makefile ]; then \
2275 if $(MAKE) distclean; then \
2276 true; \
2277 else \
2278 exit 1; \
2279 fi; \
2280 else \
2281 true; \
2282 fi; \
2283 else \
2284 exit 1; \
2285 fi; \
2286 else \
2287 true; \
2288 fi; \
2289 srcdiroption="--srcdir=."; \
2290 libsrcdir="."; \
2291 else \
2292 srcdiroption="--srcdir=$${topdir}/flex"; \
2293 libsrcdir="$$s/flex"; \
2294 fi; \
2295 rm -f no-such-file || : ; \
2296 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2297 $(BUILD_CONFIGARGS) $${srcdiroption} \
2298 --with-build-subdir="$(BUILD_SUBDIR)" \
2299 || exit 1
2300 @endif build-flex
2302 .PHONY: all-build-flex maybe-all-build-flex
2303 maybe-all-build-flex:
2304 @if build-flex
2305 TARGET-build-flex=all
2306 maybe-all-build-flex: all-build-flex
2307 all-build-flex: configure-build-flex
2308 @r=`${PWD_COMMAND}`; export r; \
2309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2310 $(BUILD_EXPORTS) \
2311 (cd $(BUILD_SUBDIR)/flex && \
2312 $(MAKE) $(TARGET-build-flex))
2313 @endif build-flex
2315 .PHONY: configure-build-m4 maybe-configure-build-m4
2316 maybe-configure-build-m4:
2317 @if build-m4
2318 maybe-configure-build-m4: configure-build-m4
2319 configure-build-m4:
2320 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2321 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2322 r=`${PWD_COMMAND}`; export r; \
2323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2324 $(BUILD_EXPORTS) \
2325 echo Configuring in $(BUILD_SUBDIR)/m4; \
2326 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2327 case $(srcdir) in \
2328 /* | [A-Za-z]:[\\/]*) \
2329 topdir=$(srcdir) ;; \
2330 *) \
2331 case "$(BUILD_SUBDIR)" in \
2332 .) topdir="../$(srcdir)" ;; \
2333 *) topdir="../../$(srcdir)" ;; \
2334 esac ;; \
2335 esac; \
2336 if [ "$(srcdir)" = "." ] ; then \
2337 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2338 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2339 if [ -f Makefile ]; then \
2340 if $(MAKE) distclean; then \
2341 true; \
2342 else \
2343 exit 1; \
2344 fi; \
2345 else \
2346 true; \
2347 fi; \
2348 else \
2349 exit 1; \
2350 fi; \
2351 else \
2352 true; \
2353 fi; \
2354 srcdiroption="--srcdir=."; \
2355 libsrcdir="."; \
2356 else \
2357 srcdiroption="--srcdir=$${topdir}/m4"; \
2358 libsrcdir="$$s/m4"; \
2359 fi; \
2360 rm -f no-such-file || : ; \
2361 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2362 $(BUILD_CONFIGARGS) $${srcdiroption} \
2363 --with-build-subdir="$(BUILD_SUBDIR)" \
2364 || exit 1
2365 @endif build-m4
2367 .PHONY: all-build-m4 maybe-all-build-m4
2368 maybe-all-build-m4:
2369 @if build-m4
2370 TARGET-build-m4=all
2371 maybe-all-build-m4: all-build-m4
2372 all-build-m4: configure-build-m4
2373 @r=`${PWD_COMMAND}`; export r; \
2374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2375 $(BUILD_EXPORTS) \
2376 (cd $(BUILD_SUBDIR)/m4 && \
2377 $(MAKE) $(TARGET-build-m4))
2378 @endif build-m4
2380 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2381 maybe-configure-build-texinfo:
2382 @if build-texinfo
2383 maybe-configure-build-texinfo: configure-build-texinfo
2384 configure-build-texinfo:
2385 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2386 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2387 r=`${PWD_COMMAND}`; export r; \
2388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2389 $(BUILD_EXPORTS) \
2390 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2391 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2392 case $(srcdir) in \
2393 /* | [A-Za-z]:[\\/]*) \
2394 topdir=$(srcdir) ;; \
2395 *) \
2396 case "$(BUILD_SUBDIR)" in \
2397 .) topdir="../$(srcdir)" ;; \
2398 *) topdir="../../$(srcdir)" ;; \
2399 esac ;; \
2400 esac; \
2401 if [ "$(srcdir)" = "." ] ; then \
2402 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2403 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2404 if [ -f Makefile ]; then \
2405 if $(MAKE) distclean; then \
2406 true; \
2407 else \
2408 exit 1; \
2409 fi; \
2410 else \
2411 true; \
2412 fi; \
2413 else \
2414 exit 1; \
2415 fi; \
2416 else \
2417 true; \
2418 fi; \
2419 srcdiroption="--srcdir=."; \
2420 libsrcdir="."; \
2421 else \
2422 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2423 libsrcdir="$$s/texinfo"; \
2424 fi; \
2425 rm -f no-such-file || : ; \
2426 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2427 $(BUILD_CONFIGARGS) $${srcdiroption} \
2428 --with-build-subdir="$(BUILD_SUBDIR)" \
2429 || exit 1
2430 @endif build-texinfo
2432 .PHONY: all-build-texinfo maybe-all-build-texinfo
2433 maybe-all-build-texinfo:
2434 @if build-texinfo
2435 TARGET-build-texinfo=all
2436 maybe-all-build-texinfo: all-build-texinfo
2437 all-build-texinfo: configure-build-texinfo
2438 @r=`${PWD_COMMAND}`; export r; \
2439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2440 $(BUILD_EXPORTS) \
2441 (cd $(BUILD_SUBDIR)/texinfo && \
2442 $(MAKE) $(TARGET-build-texinfo))
2443 @endif build-texinfo
2445 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2446 maybe-configure-build-fixincludes:
2447 @if build-fixincludes
2448 maybe-configure-build-fixincludes: configure-build-fixincludes
2449 configure-build-fixincludes:
2450 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2451 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2452 r=`${PWD_COMMAND}`; export r; \
2453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2454 $(BUILD_EXPORTS) \
2455 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2456 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2457 case $(srcdir) in \
2458 /* | [A-Za-z]:[\\/]*) \
2459 topdir=$(srcdir) ;; \
2460 *) \
2461 case "$(BUILD_SUBDIR)" in \
2462 .) topdir="../$(srcdir)" ;; \
2463 *) topdir="../../$(srcdir)" ;; \
2464 esac ;; \
2465 esac; \
2466 if [ "$(srcdir)" = "." ] ; then \
2467 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2468 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2469 if [ -f Makefile ]; then \
2470 if $(MAKE) distclean; then \
2471 true; \
2472 else \
2473 exit 1; \
2474 fi; \
2475 else \
2476 true; \
2477 fi; \
2478 else \
2479 exit 1; \
2480 fi; \
2481 else \
2482 true; \
2483 fi; \
2484 srcdiroption="--srcdir=."; \
2485 libsrcdir="."; \
2486 else \
2487 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2488 libsrcdir="$$s/fixincludes"; \
2489 fi; \
2490 rm -f no-such-file || : ; \
2491 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2492 $(BUILD_CONFIGARGS) $${srcdiroption} \
2493 --with-build-subdir="$(BUILD_SUBDIR)" \
2494 || exit 1
2495 @endif build-fixincludes
2497 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2498 maybe-all-build-fixincludes:
2499 @if build-fixincludes
2500 TARGET-build-fixincludes=all
2501 maybe-all-build-fixincludes: all-build-fixincludes
2502 all-build-fixincludes: configure-build-fixincludes
2503 @r=`${PWD_COMMAND}`; export r; \
2504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2505 $(BUILD_EXPORTS) \
2506 (cd $(BUILD_SUBDIR)/fixincludes && \
2507 $(MAKE) $(TARGET-build-fixincludes))
2508 @endif build-fixincludes
2511 # --------------------------------------
2512 # Modules which run on the host machine
2513 # --------------------------------------
2515 .PHONY: configure-ash maybe-configure-ash
2516 maybe-configure-ash:
2517 @if ash
2518 maybe-configure-ash: configure-ash
2519 configure-ash:
2520 @test ! -f ash/Makefile || exit 0; \
2521 [ -d ash ] || mkdir ash; \
2522 r=`${PWD_COMMAND}`; export r; \
2523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2524 $(HOST_EXPORTS) \
2525 echo Configuring in ash; \
2526 cd ash || exit 1; \
2527 case $(srcdir) in \
2528 \.) \
2529 srcdiroption="--srcdir=."; \
2530 libsrcdir=".";; \
2531 /* | [A-Za-z]:[\\/]*) \
2532 srcdiroption="--srcdir=$(srcdir)/ash"; \
2533 libsrcdir="$$s/ash";; \
2534 *) \
2535 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2536 libsrcdir="$$s/ash";; \
2537 esac; \
2538 $(SHELL) $${libsrcdir}/configure \
2539 $(HOST_CONFIGARGS) $${srcdiroption} \
2540 || exit 1
2541 @endif ash
2543 .PHONY: all-ash maybe-all-ash
2544 maybe-all-ash:
2545 @if ash
2546 maybe-all-ash: all-ash
2547 all-ash: configure-ash
2548 @r=`${PWD_COMMAND}`; export r; \
2549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2550 $(SET_LIB_PATH) \
2551 $(HOST_EXPORTS) \
2552 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2553 @endif ash
2555 .PHONY: check-ash maybe-check-ash
2556 maybe-check-ash:
2557 @if ash
2558 maybe-check-ash: check-ash
2560 check-ash:
2561 @r=`${PWD_COMMAND}`; export r; \
2562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2563 $(SET_LIB_PATH) \
2564 $(HOST_EXPORTS) \
2565 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2567 @endif ash
2569 .PHONY: install-ash maybe-install-ash
2570 maybe-install-ash:
2571 @if ash
2572 maybe-install-ash: install-ash
2574 install-ash: installdirs
2575 @r=`${PWD_COMMAND}`; export r; \
2576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2577 $(SET_LIB_PATH) \
2578 $(HOST_EXPORTS) \
2579 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2581 @endif ash
2583 # Other targets (info, dvi, etc.)
2585 .PHONY: maybe-info-ash info-ash
2586 maybe-info-ash:
2587 @if ash
2588 maybe-info-ash: info-ash
2590 info-ash: \
2591 configure-ash
2592 @[ -f ./ash/Makefile ] || exit 0; \
2593 r=`${PWD_COMMAND}`; export r; \
2594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2595 $(SET_LIB_PATH) \
2596 $(HOST_EXPORTS) \
2597 for flag in $(EXTRA_HOST_FLAGS) ; do \
2598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2599 done; \
2600 echo "Doing info in ash" ; \
2601 (cd ash && \
2602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2604 "RANLIB=$${RANLIB}" \
2605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2606 info) \
2607 || exit 1
2609 @endif ash
2611 .PHONY: maybe-dvi-ash dvi-ash
2612 maybe-dvi-ash:
2613 @if ash
2614 maybe-dvi-ash: dvi-ash
2616 dvi-ash: \
2617 configure-ash
2618 @[ -f ./ash/Makefile ] || exit 0; \
2619 r=`${PWD_COMMAND}`; export r; \
2620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2621 $(SET_LIB_PATH) \
2622 $(HOST_EXPORTS) \
2623 for flag in $(EXTRA_HOST_FLAGS) ; do \
2624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2625 done; \
2626 echo "Doing dvi in ash" ; \
2627 (cd ash && \
2628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2630 "RANLIB=$${RANLIB}" \
2631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2632 dvi) \
2633 || exit 1
2635 @endif ash
2637 .PHONY: maybe-TAGS-ash TAGS-ash
2638 maybe-TAGS-ash:
2639 @if ash
2640 maybe-TAGS-ash: TAGS-ash
2642 TAGS-ash: \
2643 configure-ash
2644 @[ -f ./ash/Makefile ] || exit 0; \
2645 r=`${PWD_COMMAND}`; export r; \
2646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2647 $(SET_LIB_PATH) \
2648 $(HOST_EXPORTS) \
2649 for flag in $(EXTRA_HOST_FLAGS) ; do \
2650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2651 done; \
2652 echo "Doing TAGS in ash" ; \
2653 (cd ash && \
2654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2656 "RANLIB=$${RANLIB}" \
2657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2658 TAGS) \
2659 || exit 1
2661 @endif ash
2663 .PHONY: maybe-install-info-ash install-info-ash
2664 maybe-install-info-ash:
2665 @if ash
2666 maybe-install-info-ash: install-info-ash
2668 install-info-ash: \
2669 configure-ash \
2670 info-ash
2671 @[ -f ./ash/Makefile ] || exit 0; \
2672 r=`${PWD_COMMAND}`; export r; \
2673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2674 $(SET_LIB_PATH) \
2675 $(HOST_EXPORTS) \
2676 for flag in $(EXTRA_HOST_FLAGS) ; do \
2677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2678 done; \
2679 echo "Doing install-info in ash" ; \
2680 (cd ash && \
2681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2683 "RANLIB=$${RANLIB}" \
2684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2685 install-info) \
2686 || exit 1
2688 @endif ash
2690 .PHONY: maybe-installcheck-ash installcheck-ash
2691 maybe-installcheck-ash:
2692 @if ash
2693 maybe-installcheck-ash: installcheck-ash
2695 installcheck-ash: \
2696 configure-ash
2697 @[ -f ./ash/Makefile ] || exit 0; \
2698 r=`${PWD_COMMAND}`; export r; \
2699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2700 $(SET_LIB_PATH) \
2701 $(HOST_EXPORTS) \
2702 for flag in $(EXTRA_HOST_FLAGS) ; do \
2703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2704 done; \
2705 echo "Doing installcheck in ash" ; \
2706 (cd ash && \
2707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2709 "RANLIB=$${RANLIB}" \
2710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2711 installcheck) \
2712 || exit 1
2714 @endif ash
2716 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2717 maybe-mostlyclean-ash:
2718 @if ash
2719 maybe-mostlyclean-ash: mostlyclean-ash
2721 mostlyclean-ash:
2722 @[ -f ./ash/Makefile ] || exit 0; \
2723 r=`${PWD_COMMAND}`; export r; \
2724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2725 $(SET_LIB_PATH) \
2726 $(HOST_EXPORTS) \
2727 for flag in $(EXTRA_HOST_FLAGS) ; do \
2728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2729 done; \
2730 echo "Doing mostlyclean in ash" ; \
2731 (cd ash && \
2732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2734 "RANLIB=$${RANLIB}" \
2735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2736 mostlyclean) \
2737 || exit 1
2739 @endif ash
2741 .PHONY: maybe-clean-ash clean-ash
2742 maybe-clean-ash:
2743 @if ash
2744 maybe-clean-ash: clean-ash
2746 clean-ash:
2747 @[ -f ./ash/Makefile ] || exit 0; \
2748 r=`${PWD_COMMAND}`; export r; \
2749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2750 $(SET_LIB_PATH) \
2751 $(HOST_EXPORTS) \
2752 for flag in $(EXTRA_HOST_FLAGS) ; do \
2753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2754 done; \
2755 echo "Doing clean in ash" ; \
2756 (cd ash && \
2757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2759 "RANLIB=$${RANLIB}" \
2760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2761 clean) \
2762 || exit 1
2764 @endif ash
2766 .PHONY: maybe-distclean-ash distclean-ash
2767 maybe-distclean-ash:
2768 @if ash
2769 maybe-distclean-ash: distclean-ash
2771 distclean-ash:
2772 @[ -f ./ash/Makefile ] || exit 0; \
2773 r=`${PWD_COMMAND}`; export r; \
2774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2775 $(SET_LIB_PATH) \
2776 $(HOST_EXPORTS) \
2777 for flag in $(EXTRA_HOST_FLAGS) ; do \
2778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2779 done; \
2780 echo "Doing distclean in ash" ; \
2781 (cd ash && \
2782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2784 "RANLIB=$${RANLIB}" \
2785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2786 distclean) \
2787 || exit 1
2789 @endif ash
2791 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2792 maybe-maintainer-clean-ash:
2793 @if ash
2794 maybe-maintainer-clean-ash: maintainer-clean-ash
2796 maintainer-clean-ash:
2797 @[ -f ./ash/Makefile ] || exit 0; \
2798 r=`${PWD_COMMAND}`; export r; \
2799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2800 $(SET_LIB_PATH) \
2801 $(HOST_EXPORTS) \
2802 for flag in $(EXTRA_HOST_FLAGS) ; do \
2803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2804 done; \
2805 echo "Doing maintainer-clean in ash" ; \
2806 (cd ash && \
2807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2809 "RANLIB=$${RANLIB}" \
2810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2811 maintainer-clean) \
2812 || exit 1
2814 @endif ash
2817 .PHONY: configure-autoconf maybe-configure-autoconf
2818 maybe-configure-autoconf:
2819 @if autoconf
2820 maybe-configure-autoconf: configure-autoconf
2821 configure-autoconf:
2822 @test ! -f autoconf/Makefile || exit 0; \
2823 [ -d autoconf ] || mkdir autoconf; \
2824 r=`${PWD_COMMAND}`; export r; \
2825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2826 $(HOST_EXPORTS) \
2827 echo Configuring in autoconf; \
2828 cd autoconf || exit 1; \
2829 case $(srcdir) in \
2830 \.) \
2831 srcdiroption="--srcdir=."; \
2832 libsrcdir=".";; \
2833 /* | [A-Za-z]:[\\/]*) \
2834 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2835 libsrcdir="$$s/autoconf";; \
2836 *) \
2837 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2838 libsrcdir="$$s/autoconf";; \
2839 esac; \
2840 $(SHELL) $${libsrcdir}/configure \
2841 $(HOST_CONFIGARGS) $${srcdiroption} \
2842 || exit 1
2843 @endif autoconf
2845 .PHONY: all-autoconf maybe-all-autoconf
2846 maybe-all-autoconf:
2847 @if autoconf
2848 maybe-all-autoconf: all-autoconf
2849 all-autoconf: configure-autoconf
2850 @r=`${PWD_COMMAND}`; export r; \
2851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2852 $(SET_LIB_PATH) \
2853 $(HOST_EXPORTS) \
2854 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2855 @endif autoconf
2857 .PHONY: check-autoconf maybe-check-autoconf
2858 maybe-check-autoconf:
2859 @if autoconf
2860 maybe-check-autoconf: check-autoconf
2862 check-autoconf:
2863 @r=`${PWD_COMMAND}`; export r; \
2864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2865 $(SET_LIB_PATH) \
2866 $(HOST_EXPORTS) \
2867 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2869 @endif autoconf
2871 .PHONY: install-autoconf maybe-install-autoconf
2872 maybe-install-autoconf:
2873 @if autoconf
2874 maybe-install-autoconf: install-autoconf
2876 install-autoconf: installdirs
2877 @r=`${PWD_COMMAND}`; export r; \
2878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2879 $(SET_LIB_PATH) \
2880 $(HOST_EXPORTS) \
2881 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2883 @endif autoconf
2885 # Other targets (info, dvi, etc.)
2887 .PHONY: maybe-info-autoconf info-autoconf
2888 maybe-info-autoconf:
2889 @if autoconf
2890 maybe-info-autoconf: info-autoconf
2892 info-autoconf: \
2893 configure-autoconf
2894 @[ -f ./autoconf/Makefile ] || exit 0; \
2895 r=`${PWD_COMMAND}`; export r; \
2896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2897 $(SET_LIB_PATH) \
2898 $(HOST_EXPORTS) \
2899 for flag in $(EXTRA_HOST_FLAGS) ; do \
2900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2901 done; \
2902 echo "Doing info in autoconf" ; \
2903 (cd autoconf && \
2904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2906 "RANLIB=$${RANLIB}" \
2907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2908 info) \
2909 || exit 1
2911 @endif autoconf
2913 .PHONY: maybe-dvi-autoconf dvi-autoconf
2914 maybe-dvi-autoconf:
2915 @if autoconf
2916 maybe-dvi-autoconf: dvi-autoconf
2918 dvi-autoconf: \
2919 configure-autoconf
2920 @[ -f ./autoconf/Makefile ] || exit 0; \
2921 r=`${PWD_COMMAND}`; export r; \
2922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2923 $(SET_LIB_PATH) \
2924 $(HOST_EXPORTS) \
2925 for flag in $(EXTRA_HOST_FLAGS) ; do \
2926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2927 done; \
2928 echo "Doing dvi in autoconf" ; \
2929 (cd autoconf && \
2930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2932 "RANLIB=$${RANLIB}" \
2933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2934 dvi) \
2935 || exit 1
2937 @endif autoconf
2939 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2940 maybe-TAGS-autoconf:
2941 @if autoconf
2942 maybe-TAGS-autoconf: TAGS-autoconf
2944 TAGS-autoconf: \
2945 configure-autoconf
2946 @[ -f ./autoconf/Makefile ] || exit 0; \
2947 r=`${PWD_COMMAND}`; export r; \
2948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2949 $(SET_LIB_PATH) \
2950 $(HOST_EXPORTS) \
2951 for flag in $(EXTRA_HOST_FLAGS) ; do \
2952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2953 done; \
2954 echo "Doing TAGS in autoconf" ; \
2955 (cd autoconf && \
2956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2958 "RANLIB=$${RANLIB}" \
2959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2960 TAGS) \
2961 || exit 1
2963 @endif autoconf
2965 .PHONY: maybe-install-info-autoconf install-info-autoconf
2966 maybe-install-info-autoconf:
2967 @if autoconf
2968 maybe-install-info-autoconf: install-info-autoconf
2970 install-info-autoconf: \
2971 configure-autoconf \
2972 info-autoconf
2973 @[ -f ./autoconf/Makefile ] || exit 0; \
2974 r=`${PWD_COMMAND}`; export r; \
2975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2976 $(SET_LIB_PATH) \
2977 $(HOST_EXPORTS) \
2978 for flag in $(EXTRA_HOST_FLAGS) ; do \
2979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2980 done; \
2981 echo "Doing install-info in autoconf" ; \
2982 (cd autoconf && \
2983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2985 "RANLIB=$${RANLIB}" \
2986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2987 install-info) \
2988 || exit 1
2990 @endif autoconf
2992 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2993 maybe-installcheck-autoconf:
2994 @if autoconf
2995 maybe-installcheck-autoconf: installcheck-autoconf
2997 installcheck-autoconf: \
2998 configure-autoconf
2999 @[ -f ./autoconf/Makefile ] || exit 0; \
3000 r=`${PWD_COMMAND}`; export r; \
3001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3002 $(SET_LIB_PATH) \
3003 $(HOST_EXPORTS) \
3004 for flag in $(EXTRA_HOST_FLAGS) ; do \
3005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3006 done; \
3007 echo "Doing installcheck in autoconf" ; \
3008 (cd autoconf && \
3009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3011 "RANLIB=$${RANLIB}" \
3012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3013 installcheck) \
3014 || exit 1
3016 @endif autoconf
3018 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3019 maybe-mostlyclean-autoconf:
3020 @if autoconf
3021 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3023 mostlyclean-autoconf:
3024 @[ -f ./autoconf/Makefile ] || exit 0; \
3025 r=`${PWD_COMMAND}`; export r; \
3026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3027 $(SET_LIB_PATH) \
3028 $(HOST_EXPORTS) \
3029 for flag in $(EXTRA_HOST_FLAGS) ; do \
3030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3031 done; \
3032 echo "Doing mostlyclean in autoconf" ; \
3033 (cd autoconf && \
3034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3036 "RANLIB=$${RANLIB}" \
3037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3038 mostlyclean) \
3039 || exit 1
3041 @endif autoconf
3043 .PHONY: maybe-clean-autoconf clean-autoconf
3044 maybe-clean-autoconf:
3045 @if autoconf
3046 maybe-clean-autoconf: clean-autoconf
3048 clean-autoconf:
3049 @[ -f ./autoconf/Makefile ] || exit 0; \
3050 r=`${PWD_COMMAND}`; export r; \
3051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3052 $(SET_LIB_PATH) \
3053 $(HOST_EXPORTS) \
3054 for flag in $(EXTRA_HOST_FLAGS) ; do \
3055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3056 done; \
3057 echo "Doing clean in autoconf" ; \
3058 (cd autoconf && \
3059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3061 "RANLIB=$${RANLIB}" \
3062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3063 clean) \
3064 || exit 1
3066 @endif autoconf
3068 .PHONY: maybe-distclean-autoconf distclean-autoconf
3069 maybe-distclean-autoconf:
3070 @if autoconf
3071 maybe-distclean-autoconf: distclean-autoconf
3073 distclean-autoconf:
3074 @[ -f ./autoconf/Makefile ] || exit 0; \
3075 r=`${PWD_COMMAND}`; export r; \
3076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3077 $(SET_LIB_PATH) \
3078 $(HOST_EXPORTS) \
3079 for flag in $(EXTRA_HOST_FLAGS) ; do \
3080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3081 done; \
3082 echo "Doing distclean in autoconf" ; \
3083 (cd autoconf && \
3084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3086 "RANLIB=$${RANLIB}" \
3087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3088 distclean) \
3089 || exit 1
3091 @endif autoconf
3093 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3094 maybe-maintainer-clean-autoconf:
3095 @if autoconf
3096 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3098 maintainer-clean-autoconf:
3099 @[ -f ./autoconf/Makefile ] || exit 0; \
3100 r=`${PWD_COMMAND}`; export r; \
3101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3102 $(SET_LIB_PATH) \
3103 $(HOST_EXPORTS) \
3104 for flag in $(EXTRA_HOST_FLAGS) ; do \
3105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3106 done; \
3107 echo "Doing maintainer-clean in autoconf" ; \
3108 (cd autoconf && \
3109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3111 "RANLIB=$${RANLIB}" \
3112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3113 maintainer-clean) \
3114 || exit 1
3116 @endif autoconf
3119 .PHONY: configure-automake maybe-configure-automake
3120 maybe-configure-automake:
3121 @if automake
3122 maybe-configure-automake: configure-automake
3123 configure-automake:
3124 @test ! -f automake/Makefile || exit 0; \
3125 [ -d automake ] || mkdir automake; \
3126 r=`${PWD_COMMAND}`; export r; \
3127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3128 $(HOST_EXPORTS) \
3129 echo Configuring in automake; \
3130 cd automake || exit 1; \
3131 case $(srcdir) in \
3132 \.) \
3133 srcdiroption="--srcdir=."; \
3134 libsrcdir=".";; \
3135 /* | [A-Za-z]:[\\/]*) \
3136 srcdiroption="--srcdir=$(srcdir)/automake"; \
3137 libsrcdir="$$s/automake";; \
3138 *) \
3139 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3140 libsrcdir="$$s/automake";; \
3141 esac; \
3142 $(SHELL) $${libsrcdir}/configure \
3143 $(HOST_CONFIGARGS) $${srcdiroption} \
3144 || exit 1
3145 @endif automake
3147 .PHONY: all-automake maybe-all-automake
3148 maybe-all-automake:
3149 @if automake
3150 maybe-all-automake: all-automake
3151 all-automake: configure-automake
3152 @r=`${PWD_COMMAND}`; export r; \
3153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3154 $(SET_LIB_PATH) \
3155 $(HOST_EXPORTS) \
3156 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
3157 @endif automake
3159 .PHONY: check-automake maybe-check-automake
3160 maybe-check-automake:
3161 @if automake
3162 maybe-check-automake: check-automake
3164 check-automake:
3165 @r=`${PWD_COMMAND}`; export r; \
3166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3167 $(SET_LIB_PATH) \
3168 $(HOST_EXPORTS) \
3169 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3171 @endif automake
3173 .PHONY: install-automake maybe-install-automake
3174 maybe-install-automake:
3175 @if automake
3176 maybe-install-automake: install-automake
3178 install-automake: installdirs
3179 @r=`${PWD_COMMAND}`; export r; \
3180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3181 $(SET_LIB_PATH) \
3182 $(HOST_EXPORTS) \
3183 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3185 @endif automake
3187 # Other targets (info, dvi, etc.)
3189 .PHONY: maybe-info-automake info-automake
3190 maybe-info-automake:
3191 @if automake
3192 maybe-info-automake: info-automake
3194 info-automake: \
3195 configure-automake
3196 @[ -f ./automake/Makefile ] || exit 0; \
3197 r=`${PWD_COMMAND}`; export r; \
3198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3199 $(SET_LIB_PATH) \
3200 $(HOST_EXPORTS) \
3201 for flag in $(EXTRA_HOST_FLAGS) ; do \
3202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3203 done; \
3204 echo "Doing info in automake" ; \
3205 (cd automake && \
3206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3208 "RANLIB=$${RANLIB}" \
3209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3210 info) \
3211 || exit 1
3213 @endif automake
3215 .PHONY: maybe-dvi-automake dvi-automake
3216 maybe-dvi-automake:
3217 @if automake
3218 maybe-dvi-automake: dvi-automake
3220 dvi-automake: \
3221 configure-automake
3222 @[ -f ./automake/Makefile ] || exit 0; \
3223 r=`${PWD_COMMAND}`; export r; \
3224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3225 $(SET_LIB_PATH) \
3226 $(HOST_EXPORTS) \
3227 for flag in $(EXTRA_HOST_FLAGS) ; do \
3228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3229 done; \
3230 echo "Doing dvi in automake" ; \
3231 (cd automake && \
3232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3234 "RANLIB=$${RANLIB}" \
3235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3236 dvi) \
3237 || exit 1
3239 @endif automake
3241 .PHONY: maybe-TAGS-automake TAGS-automake
3242 maybe-TAGS-automake:
3243 @if automake
3244 maybe-TAGS-automake: TAGS-automake
3246 TAGS-automake: \
3247 configure-automake
3248 @[ -f ./automake/Makefile ] || exit 0; \
3249 r=`${PWD_COMMAND}`; export r; \
3250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3251 $(SET_LIB_PATH) \
3252 $(HOST_EXPORTS) \
3253 for flag in $(EXTRA_HOST_FLAGS) ; do \
3254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3255 done; \
3256 echo "Doing TAGS in automake" ; \
3257 (cd automake && \
3258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3260 "RANLIB=$${RANLIB}" \
3261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3262 TAGS) \
3263 || exit 1
3265 @endif automake
3267 .PHONY: maybe-install-info-automake install-info-automake
3268 maybe-install-info-automake:
3269 @if automake
3270 maybe-install-info-automake: install-info-automake
3272 install-info-automake: \
3273 configure-automake \
3274 info-automake
3275 @[ -f ./automake/Makefile ] || exit 0; \
3276 r=`${PWD_COMMAND}`; export r; \
3277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3278 $(SET_LIB_PATH) \
3279 $(HOST_EXPORTS) \
3280 for flag in $(EXTRA_HOST_FLAGS) ; do \
3281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3282 done; \
3283 echo "Doing install-info in automake" ; \
3284 (cd automake && \
3285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3287 "RANLIB=$${RANLIB}" \
3288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3289 install-info) \
3290 || exit 1
3292 @endif automake
3294 .PHONY: maybe-installcheck-automake installcheck-automake
3295 maybe-installcheck-automake:
3296 @if automake
3297 maybe-installcheck-automake: installcheck-automake
3299 installcheck-automake: \
3300 configure-automake
3301 @[ -f ./automake/Makefile ] || exit 0; \
3302 r=`${PWD_COMMAND}`; export r; \
3303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3304 $(SET_LIB_PATH) \
3305 $(HOST_EXPORTS) \
3306 for flag in $(EXTRA_HOST_FLAGS) ; do \
3307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3308 done; \
3309 echo "Doing installcheck in automake" ; \
3310 (cd automake && \
3311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3313 "RANLIB=$${RANLIB}" \
3314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3315 installcheck) \
3316 || exit 1
3318 @endif automake
3320 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3321 maybe-mostlyclean-automake:
3322 @if automake
3323 maybe-mostlyclean-automake: mostlyclean-automake
3325 mostlyclean-automake:
3326 @[ -f ./automake/Makefile ] || exit 0; \
3327 r=`${PWD_COMMAND}`; export r; \
3328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3329 $(SET_LIB_PATH) \
3330 $(HOST_EXPORTS) \
3331 for flag in $(EXTRA_HOST_FLAGS) ; do \
3332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3333 done; \
3334 echo "Doing mostlyclean in automake" ; \
3335 (cd automake && \
3336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3338 "RANLIB=$${RANLIB}" \
3339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3340 mostlyclean) \
3341 || exit 1
3343 @endif automake
3345 .PHONY: maybe-clean-automake clean-automake
3346 maybe-clean-automake:
3347 @if automake
3348 maybe-clean-automake: clean-automake
3350 clean-automake:
3351 @[ -f ./automake/Makefile ] || exit 0; \
3352 r=`${PWD_COMMAND}`; export r; \
3353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3354 $(SET_LIB_PATH) \
3355 $(HOST_EXPORTS) \
3356 for flag in $(EXTRA_HOST_FLAGS) ; do \
3357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3358 done; \
3359 echo "Doing clean in automake" ; \
3360 (cd automake && \
3361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3363 "RANLIB=$${RANLIB}" \
3364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3365 clean) \
3366 || exit 1
3368 @endif automake
3370 .PHONY: maybe-distclean-automake distclean-automake
3371 maybe-distclean-automake:
3372 @if automake
3373 maybe-distclean-automake: distclean-automake
3375 distclean-automake:
3376 @[ -f ./automake/Makefile ] || exit 0; \
3377 r=`${PWD_COMMAND}`; export r; \
3378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3379 $(SET_LIB_PATH) \
3380 $(HOST_EXPORTS) \
3381 for flag in $(EXTRA_HOST_FLAGS) ; do \
3382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3383 done; \
3384 echo "Doing distclean in automake" ; \
3385 (cd automake && \
3386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3388 "RANLIB=$${RANLIB}" \
3389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3390 distclean) \
3391 || exit 1
3393 @endif automake
3395 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3396 maybe-maintainer-clean-automake:
3397 @if automake
3398 maybe-maintainer-clean-automake: maintainer-clean-automake
3400 maintainer-clean-automake:
3401 @[ -f ./automake/Makefile ] || exit 0; \
3402 r=`${PWD_COMMAND}`; export r; \
3403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3404 $(SET_LIB_PATH) \
3405 $(HOST_EXPORTS) \
3406 for flag in $(EXTRA_HOST_FLAGS) ; do \
3407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3408 done; \
3409 echo "Doing maintainer-clean in automake" ; \
3410 (cd automake && \
3411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3413 "RANLIB=$${RANLIB}" \
3414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3415 maintainer-clean) \
3416 || exit 1
3418 @endif automake
3421 .PHONY: configure-bash maybe-configure-bash
3422 maybe-configure-bash:
3423 @if bash
3424 maybe-configure-bash: configure-bash
3425 configure-bash:
3426 @test ! -f bash/Makefile || exit 0; \
3427 [ -d bash ] || mkdir bash; \
3428 r=`${PWD_COMMAND}`; export r; \
3429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3430 $(HOST_EXPORTS) \
3431 echo Configuring in bash; \
3432 cd bash || exit 1; \
3433 case $(srcdir) in \
3434 \.) \
3435 srcdiroption="--srcdir=."; \
3436 libsrcdir=".";; \
3437 /* | [A-Za-z]:[\\/]*) \
3438 srcdiroption="--srcdir=$(srcdir)/bash"; \
3439 libsrcdir="$$s/bash";; \
3440 *) \
3441 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3442 libsrcdir="$$s/bash";; \
3443 esac; \
3444 $(SHELL) $${libsrcdir}/configure \
3445 $(HOST_CONFIGARGS) $${srcdiroption} \
3446 || exit 1
3447 @endif bash
3449 .PHONY: all-bash maybe-all-bash
3450 maybe-all-bash:
3451 @if bash
3452 maybe-all-bash: all-bash
3453 all-bash: configure-bash
3454 @r=`${PWD_COMMAND}`; export r; \
3455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3456 $(SET_LIB_PATH) \
3457 $(HOST_EXPORTS) \
3458 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3459 @endif bash
3461 .PHONY: check-bash maybe-check-bash
3462 maybe-check-bash:
3463 @if bash
3464 maybe-check-bash: check-bash
3466 check-bash:
3467 @r=`${PWD_COMMAND}`; export r; \
3468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3469 $(SET_LIB_PATH) \
3470 $(HOST_EXPORTS) \
3471 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3473 @endif bash
3475 .PHONY: install-bash maybe-install-bash
3476 maybe-install-bash:
3477 @if bash
3478 maybe-install-bash: install-bash
3480 install-bash: installdirs
3481 @r=`${PWD_COMMAND}`; export r; \
3482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3483 $(SET_LIB_PATH) \
3484 $(HOST_EXPORTS) \
3485 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3487 @endif bash
3489 # Other targets (info, dvi, etc.)
3491 .PHONY: maybe-info-bash info-bash
3492 maybe-info-bash:
3493 @if bash
3494 maybe-info-bash: info-bash
3496 info-bash: \
3497 configure-bash
3498 @[ -f ./bash/Makefile ] || exit 0; \
3499 r=`${PWD_COMMAND}`; export r; \
3500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3501 $(SET_LIB_PATH) \
3502 $(HOST_EXPORTS) \
3503 for flag in $(EXTRA_HOST_FLAGS) ; do \
3504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3505 done; \
3506 echo "Doing info in bash" ; \
3507 (cd bash && \
3508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3510 "RANLIB=$${RANLIB}" \
3511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3512 info) \
3513 || exit 1
3515 @endif bash
3517 .PHONY: maybe-dvi-bash dvi-bash
3518 maybe-dvi-bash:
3519 @if bash
3520 maybe-dvi-bash: dvi-bash
3522 dvi-bash: \
3523 configure-bash
3524 @[ -f ./bash/Makefile ] || exit 0; \
3525 r=`${PWD_COMMAND}`; export r; \
3526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3527 $(SET_LIB_PATH) \
3528 $(HOST_EXPORTS) \
3529 for flag in $(EXTRA_HOST_FLAGS) ; do \
3530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3531 done; \
3532 echo "Doing dvi in bash" ; \
3533 (cd bash && \
3534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3536 "RANLIB=$${RANLIB}" \
3537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3538 dvi) \
3539 || exit 1
3541 @endif bash
3543 .PHONY: maybe-TAGS-bash TAGS-bash
3544 maybe-TAGS-bash:
3545 @if bash
3546 maybe-TAGS-bash: TAGS-bash
3548 TAGS-bash: \
3549 configure-bash
3550 @[ -f ./bash/Makefile ] || exit 0; \
3551 r=`${PWD_COMMAND}`; export r; \
3552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3553 $(SET_LIB_PATH) \
3554 $(HOST_EXPORTS) \
3555 for flag in $(EXTRA_HOST_FLAGS) ; do \
3556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3557 done; \
3558 echo "Doing TAGS in bash" ; \
3559 (cd bash && \
3560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3562 "RANLIB=$${RANLIB}" \
3563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3564 TAGS) \
3565 || exit 1
3567 @endif bash
3569 .PHONY: maybe-install-info-bash install-info-bash
3570 maybe-install-info-bash:
3571 @if bash
3572 maybe-install-info-bash: install-info-bash
3574 install-info-bash: \
3575 configure-bash \
3576 info-bash
3577 @[ -f ./bash/Makefile ] || exit 0; \
3578 r=`${PWD_COMMAND}`; export r; \
3579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3580 $(SET_LIB_PATH) \
3581 $(HOST_EXPORTS) \
3582 for flag in $(EXTRA_HOST_FLAGS) ; do \
3583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3584 done; \
3585 echo "Doing install-info in bash" ; \
3586 (cd bash && \
3587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3589 "RANLIB=$${RANLIB}" \
3590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3591 install-info) \
3592 || exit 1
3594 @endif bash
3596 .PHONY: maybe-installcheck-bash installcheck-bash
3597 maybe-installcheck-bash:
3598 @if bash
3599 maybe-installcheck-bash: installcheck-bash
3601 installcheck-bash: \
3602 configure-bash
3603 @[ -f ./bash/Makefile ] || exit 0; \
3604 r=`${PWD_COMMAND}`; export r; \
3605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3606 $(SET_LIB_PATH) \
3607 $(HOST_EXPORTS) \
3608 for flag in $(EXTRA_HOST_FLAGS) ; do \
3609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3610 done; \
3611 echo "Doing installcheck in bash" ; \
3612 (cd bash && \
3613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3615 "RANLIB=$${RANLIB}" \
3616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3617 installcheck) \
3618 || exit 1
3620 @endif bash
3622 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3623 maybe-mostlyclean-bash:
3624 @if bash
3625 maybe-mostlyclean-bash: mostlyclean-bash
3627 mostlyclean-bash:
3628 @[ -f ./bash/Makefile ] || exit 0; \
3629 r=`${PWD_COMMAND}`; export r; \
3630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3631 $(SET_LIB_PATH) \
3632 $(HOST_EXPORTS) \
3633 for flag in $(EXTRA_HOST_FLAGS) ; do \
3634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3635 done; \
3636 echo "Doing mostlyclean in bash" ; \
3637 (cd bash && \
3638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3640 "RANLIB=$${RANLIB}" \
3641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3642 mostlyclean) \
3643 || exit 1
3645 @endif bash
3647 .PHONY: maybe-clean-bash clean-bash
3648 maybe-clean-bash:
3649 @if bash
3650 maybe-clean-bash: clean-bash
3652 clean-bash:
3653 @[ -f ./bash/Makefile ] || exit 0; \
3654 r=`${PWD_COMMAND}`; export r; \
3655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3656 $(SET_LIB_PATH) \
3657 $(HOST_EXPORTS) \
3658 for flag in $(EXTRA_HOST_FLAGS) ; do \
3659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3660 done; \
3661 echo "Doing clean in bash" ; \
3662 (cd bash && \
3663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3665 "RANLIB=$${RANLIB}" \
3666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3667 clean) \
3668 || exit 1
3670 @endif bash
3672 .PHONY: maybe-distclean-bash distclean-bash
3673 maybe-distclean-bash:
3674 @if bash
3675 maybe-distclean-bash: distclean-bash
3677 distclean-bash:
3678 @[ -f ./bash/Makefile ] || exit 0; \
3679 r=`${PWD_COMMAND}`; export r; \
3680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3681 $(SET_LIB_PATH) \
3682 $(HOST_EXPORTS) \
3683 for flag in $(EXTRA_HOST_FLAGS) ; do \
3684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3685 done; \
3686 echo "Doing distclean in bash" ; \
3687 (cd bash && \
3688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3690 "RANLIB=$${RANLIB}" \
3691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3692 distclean) \
3693 || exit 1
3695 @endif bash
3697 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3698 maybe-maintainer-clean-bash:
3699 @if bash
3700 maybe-maintainer-clean-bash: maintainer-clean-bash
3702 maintainer-clean-bash:
3703 @[ -f ./bash/Makefile ] || exit 0; \
3704 r=`${PWD_COMMAND}`; export r; \
3705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3706 $(SET_LIB_PATH) \
3707 $(HOST_EXPORTS) \
3708 for flag in $(EXTRA_HOST_FLAGS) ; do \
3709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3710 done; \
3711 echo "Doing maintainer-clean in bash" ; \
3712 (cd bash && \
3713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3715 "RANLIB=$${RANLIB}" \
3716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3717 maintainer-clean) \
3718 || exit 1
3720 @endif bash
3723 .PHONY: configure-bfd maybe-configure-bfd
3724 maybe-configure-bfd:
3725 @if bfd
3726 maybe-configure-bfd: configure-bfd
3727 configure-bfd:
3728 @test -f stage_last && exit 0; \
3729 test ! -f bfd/Makefile || exit 0; \
3730 [ -d bfd ] || mkdir bfd; \
3731 r=`${PWD_COMMAND}`; export r; \
3732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3733 $(HOST_EXPORTS) \
3734 echo Configuring in bfd; \
3735 cd bfd || exit 1; \
3736 case $(srcdir) in \
3737 \.) \
3738 srcdiroption="--srcdir=."; \
3739 libsrcdir=".";; \
3740 /* | [A-Za-z]:[\\/]*) \
3741 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3742 libsrcdir="$$s/bfd";; \
3743 *) \
3744 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3745 libsrcdir="$$s/bfd";; \
3746 esac; \
3747 $(SHELL) $${libsrcdir}/configure \
3748 $(HOST_CONFIGARGS) $${srcdiroption} \
3749 || exit 1
3750 @endif bfd
3752 .PHONY: all-bfd maybe-all-bfd
3753 maybe-all-bfd:
3754 @if bfd
3755 maybe-all-bfd: all-bfd
3756 all-bfd: configure-bfd
3757 @test -f stage_last && exit 0; \
3758 r=`${PWD_COMMAND}`; export r; \
3759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3760 $(SET_LIB_PATH) \
3761 $(HOST_EXPORTS) \
3762 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3763 @endif bfd
3765 .PHONY: check-bfd maybe-check-bfd
3766 maybe-check-bfd:
3767 @if bfd
3768 maybe-check-bfd: check-bfd
3770 check-bfd:
3771 @r=`${PWD_COMMAND}`; export r; \
3772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3773 $(SET_LIB_PATH) \
3774 $(HOST_EXPORTS) \
3775 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3777 @endif bfd
3779 .PHONY: install-bfd maybe-install-bfd
3780 maybe-install-bfd:
3781 @if bfd
3782 maybe-install-bfd: install-bfd
3784 install-bfd: installdirs
3785 @r=`${PWD_COMMAND}`; export r; \
3786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3787 $(SET_LIB_PATH) \
3788 $(HOST_EXPORTS) \
3789 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3791 @endif bfd
3793 # Other targets (info, dvi, etc.)
3795 .PHONY: maybe-info-bfd info-bfd
3796 maybe-info-bfd:
3797 @if bfd
3798 maybe-info-bfd: info-bfd
3800 info-bfd: \
3801 configure-bfd
3802 @[ -f ./bfd/Makefile ] || exit 0; \
3803 r=`${PWD_COMMAND}`; export r; \
3804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3805 $(SET_LIB_PATH) \
3806 $(HOST_EXPORTS) \
3807 for flag in $(EXTRA_HOST_FLAGS) ; do \
3808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3809 done; \
3810 echo "Doing info in bfd" ; \
3811 (cd bfd && \
3812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3814 "RANLIB=$${RANLIB}" \
3815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3816 info) \
3817 || exit 1
3819 @endif bfd
3821 .PHONY: maybe-dvi-bfd dvi-bfd
3822 maybe-dvi-bfd:
3823 @if bfd
3824 maybe-dvi-bfd: dvi-bfd
3826 dvi-bfd: \
3827 configure-bfd
3828 @[ -f ./bfd/Makefile ] || exit 0; \
3829 r=`${PWD_COMMAND}`; export r; \
3830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3831 $(SET_LIB_PATH) \
3832 $(HOST_EXPORTS) \
3833 for flag in $(EXTRA_HOST_FLAGS) ; do \
3834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3835 done; \
3836 echo "Doing dvi in bfd" ; \
3837 (cd bfd && \
3838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3840 "RANLIB=$${RANLIB}" \
3841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3842 dvi) \
3843 || exit 1
3845 @endif bfd
3847 .PHONY: maybe-TAGS-bfd TAGS-bfd
3848 maybe-TAGS-bfd:
3849 @if bfd
3850 maybe-TAGS-bfd: TAGS-bfd
3852 TAGS-bfd: \
3853 configure-bfd
3854 @[ -f ./bfd/Makefile ] || exit 0; \
3855 r=`${PWD_COMMAND}`; export r; \
3856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3857 $(SET_LIB_PATH) \
3858 $(HOST_EXPORTS) \
3859 for flag in $(EXTRA_HOST_FLAGS) ; do \
3860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3861 done; \
3862 echo "Doing TAGS in bfd" ; \
3863 (cd bfd && \
3864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3866 "RANLIB=$${RANLIB}" \
3867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3868 TAGS) \
3869 || exit 1
3871 @endif bfd
3873 .PHONY: maybe-install-info-bfd install-info-bfd
3874 maybe-install-info-bfd:
3875 @if bfd
3876 maybe-install-info-bfd: install-info-bfd
3878 install-info-bfd: \
3879 configure-bfd \
3880 info-bfd
3881 @[ -f ./bfd/Makefile ] || exit 0; \
3882 r=`${PWD_COMMAND}`; export r; \
3883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3884 $(SET_LIB_PATH) \
3885 $(HOST_EXPORTS) \
3886 for flag in $(EXTRA_HOST_FLAGS) ; do \
3887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3888 done; \
3889 echo "Doing install-info in bfd" ; \
3890 (cd bfd && \
3891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3893 "RANLIB=$${RANLIB}" \
3894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3895 install-info) \
3896 || exit 1
3898 @endif bfd
3900 .PHONY: maybe-installcheck-bfd installcheck-bfd
3901 maybe-installcheck-bfd:
3902 @if bfd
3903 maybe-installcheck-bfd: installcheck-bfd
3905 installcheck-bfd: \
3906 configure-bfd
3907 @[ -f ./bfd/Makefile ] || exit 0; \
3908 r=`${PWD_COMMAND}`; export r; \
3909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3910 $(SET_LIB_PATH) \
3911 $(HOST_EXPORTS) \
3912 for flag in $(EXTRA_HOST_FLAGS) ; do \
3913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3914 done; \
3915 echo "Doing installcheck in bfd" ; \
3916 (cd bfd && \
3917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3919 "RANLIB=$${RANLIB}" \
3920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3921 installcheck) \
3922 || exit 1
3924 @endif bfd
3926 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3927 maybe-mostlyclean-bfd:
3928 @if bfd
3929 maybe-mostlyclean-bfd: mostlyclean-bfd
3931 mostlyclean-bfd:
3932 @[ -f ./bfd/Makefile ] || exit 0; \
3933 r=`${PWD_COMMAND}`; export r; \
3934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3935 $(SET_LIB_PATH) \
3936 $(HOST_EXPORTS) \
3937 for flag in $(EXTRA_HOST_FLAGS) ; do \
3938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3939 done; \
3940 echo "Doing mostlyclean in bfd" ; \
3941 (cd bfd && \
3942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3944 "RANLIB=$${RANLIB}" \
3945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3946 mostlyclean) \
3947 || exit 1
3949 @endif bfd
3951 .PHONY: maybe-clean-bfd clean-bfd
3952 maybe-clean-bfd:
3953 @if bfd
3954 maybe-clean-bfd: clean-bfd
3956 clean-bfd:
3957 @[ -f ./bfd/Makefile ] || exit 0; \
3958 r=`${PWD_COMMAND}`; export r; \
3959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3960 $(SET_LIB_PATH) \
3961 $(HOST_EXPORTS) \
3962 for flag in $(EXTRA_HOST_FLAGS) ; do \
3963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3964 done; \
3965 echo "Doing clean in bfd" ; \
3966 (cd bfd && \
3967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3969 "RANLIB=$${RANLIB}" \
3970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3971 clean) \
3972 || exit 1
3974 @endif bfd
3976 .PHONY: maybe-distclean-bfd distclean-bfd
3977 maybe-distclean-bfd:
3978 @if bfd
3979 maybe-distclean-bfd: distclean-bfd
3981 distclean-bfd:
3982 @[ -f ./bfd/Makefile ] || exit 0; \
3983 r=`${PWD_COMMAND}`; export r; \
3984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3985 $(SET_LIB_PATH) \
3986 $(HOST_EXPORTS) \
3987 for flag in $(EXTRA_HOST_FLAGS) ; do \
3988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3989 done; \
3990 echo "Doing distclean in bfd" ; \
3991 (cd bfd && \
3992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3994 "RANLIB=$${RANLIB}" \
3995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3996 distclean) \
3997 || exit 1
3999 @endif bfd
4001 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4002 maybe-maintainer-clean-bfd:
4003 @if bfd
4004 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4006 maintainer-clean-bfd:
4007 @[ -f ./bfd/Makefile ] || exit 0; \
4008 r=`${PWD_COMMAND}`; export r; \
4009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4010 $(SET_LIB_PATH) \
4011 $(HOST_EXPORTS) \
4012 for flag in $(EXTRA_HOST_FLAGS) ; do \
4013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4014 done; \
4015 echo "Doing maintainer-clean in bfd" ; \
4016 (cd bfd && \
4017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4019 "RANLIB=$${RANLIB}" \
4020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4021 maintainer-clean) \
4022 || exit 1
4024 @endif bfd
4027 .PHONY: configure-opcodes maybe-configure-opcodes
4028 maybe-configure-opcodes:
4029 @if opcodes
4030 maybe-configure-opcodes: configure-opcodes
4031 configure-opcodes:
4032 @test -f stage_last && exit 0; \
4033 test ! -f opcodes/Makefile || exit 0; \
4034 [ -d opcodes ] || mkdir opcodes; \
4035 r=`${PWD_COMMAND}`; export r; \
4036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4037 $(HOST_EXPORTS) \
4038 echo Configuring in opcodes; \
4039 cd opcodes || exit 1; \
4040 case $(srcdir) in \
4041 \.) \
4042 srcdiroption="--srcdir=."; \
4043 libsrcdir=".";; \
4044 /* | [A-Za-z]:[\\/]*) \
4045 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4046 libsrcdir="$$s/opcodes";; \
4047 *) \
4048 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4049 libsrcdir="$$s/opcodes";; \
4050 esac; \
4051 $(SHELL) $${libsrcdir}/configure \
4052 $(HOST_CONFIGARGS) $${srcdiroption} \
4053 || exit 1
4054 @endif opcodes
4056 .PHONY: all-opcodes maybe-all-opcodes
4057 maybe-all-opcodes:
4058 @if opcodes
4059 maybe-all-opcodes: all-opcodes
4060 all-opcodes: configure-opcodes
4061 @test -f stage_last && exit 0; \
4062 r=`${PWD_COMMAND}`; export r; \
4063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4064 $(SET_LIB_PATH) \
4065 $(HOST_EXPORTS) \
4066 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
4067 @endif opcodes
4069 .PHONY: check-opcodes maybe-check-opcodes
4070 maybe-check-opcodes:
4071 @if opcodes
4072 maybe-check-opcodes: check-opcodes
4074 check-opcodes:
4075 @r=`${PWD_COMMAND}`; export r; \
4076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4077 $(SET_LIB_PATH) \
4078 $(HOST_EXPORTS) \
4079 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4081 @endif opcodes
4083 .PHONY: install-opcodes maybe-install-opcodes
4084 maybe-install-opcodes:
4085 @if opcodes
4086 maybe-install-opcodes: install-opcodes
4088 install-opcodes: installdirs
4089 @r=`${PWD_COMMAND}`; export r; \
4090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4091 $(SET_LIB_PATH) \
4092 $(HOST_EXPORTS) \
4093 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4095 @endif opcodes
4097 # Other targets (info, dvi, etc.)
4099 .PHONY: maybe-info-opcodes info-opcodes
4100 maybe-info-opcodes:
4101 @if opcodes
4102 maybe-info-opcodes: info-opcodes
4104 info-opcodes: \
4105 configure-opcodes
4106 @[ -f ./opcodes/Makefile ] || exit 0; \
4107 r=`${PWD_COMMAND}`; export r; \
4108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4109 $(SET_LIB_PATH) \
4110 $(HOST_EXPORTS) \
4111 for flag in $(EXTRA_HOST_FLAGS) ; do \
4112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4113 done; \
4114 echo "Doing info in opcodes" ; \
4115 (cd opcodes && \
4116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4118 "RANLIB=$${RANLIB}" \
4119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4120 info) \
4121 || exit 1
4123 @endif opcodes
4125 .PHONY: maybe-dvi-opcodes dvi-opcodes
4126 maybe-dvi-opcodes:
4127 @if opcodes
4128 maybe-dvi-opcodes: dvi-opcodes
4130 dvi-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 dvi 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 dvi) \
4147 || exit 1
4149 @endif opcodes
4151 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4152 maybe-TAGS-opcodes:
4153 @if opcodes
4154 maybe-TAGS-opcodes: TAGS-opcodes
4156 TAGS-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 TAGS 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 TAGS) \
4173 || exit 1
4175 @endif opcodes
4177 .PHONY: maybe-install-info-opcodes install-info-opcodes
4178 maybe-install-info-opcodes:
4179 @if opcodes
4180 maybe-install-info-opcodes: install-info-opcodes
4182 install-info-opcodes: \
4183 configure-opcodes \
4184 info-opcodes
4185 @[ -f ./opcodes/Makefile ] || exit 0; \
4186 r=`${PWD_COMMAND}`; export r; \
4187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4188 $(SET_LIB_PATH) \
4189 $(HOST_EXPORTS) \
4190 for flag in $(EXTRA_HOST_FLAGS) ; do \
4191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4192 done; \
4193 echo "Doing install-info in opcodes" ; \
4194 (cd opcodes && \
4195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4197 "RANLIB=$${RANLIB}" \
4198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4199 install-info) \
4200 || exit 1
4202 @endif opcodes
4204 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4205 maybe-installcheck-opcodes:
4206 @if opcodes
4207 maybe-installcheck-opcodes: installcheck-opcodes
4209 installcheck-opcodes: \
4210 configure-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 installcheck 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 installcheck) \
4226 || exit 1
4228 @endif opcodes
4230 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4231 maybe-mostlyclean-opcodes:
4232 @if opcodes
4233 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4235 mostlyclean-opcodes:
4236 @[ -f ./opcodes/Makefile ] || exit 0; \
4237 r=`${PWD_COMMAND}`; export r; \
4238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4239 $(SET_LIB_PATH) \
4240 $(HOST_EXPORTS) \
4241 for flag in $(EXTRA_HOST_FLAGS) ; do \
4242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4243 done; \
4244 echo "Doing mostlyclean in opcodes" ; \
4245 (cd opcodes && \
4246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4248 "RANLIB=$${RANLIB}" \
4249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4250 mostlyclean) \
4251 || exit 1
4253 @endif opcodes
4255 .PHONY: maybe-clean-opcodes clean-opcodes
4256 maybe-clean-opcodes:
4257 @if opcodes
4258 maybe-clean-opcodes: clean-opcodes
4260 clean-opcodes:
4261 @[ -f ./opcodes/Makefile ] || exit 0; \
4262 r=`${PWD_COMMAND}`; export r; \
4263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4264 $(SET_LIB_PATH) \
4265 $(HOST_EXPORTS) \
4266 for flag in $(EXTRA_HOST_FLAGS) ; do \
4267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4268 done; \
4269 echo "Doing clean in opcodes" ; \
4270 (cd opcodes && \
4271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4273 "RANLIB=$${RANLIB}" \
4274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4275 clean) \
4276 || exit 1
4278 @endif opcodes
4280 .PHONY: maybe-distclean-opcodes distclean-opcodes
4281 maybe-distclean-opcodes:
4282 @if opcodes
4283 maybe-distclean-opcodes: distclean-opcodes
4285 distclean-opcodes:
4286 @[ -f ./opcodes/Makefile ] || exit 0; \
4287 r=`${PWD_COMMAND}`; export r; \
4288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4289 $(SET_LIB_PATH) \
4290 $(HOST_EXPORTS) \
4291 for flag in $(EXTRA_HOST_FLAGS) ; do \
4292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4293 done; \
4294 echo "Doing distclean in opcodes" ; \
4295 (cd opcodes && \
4296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4298 "RANLIB=$${RANLIB}" \
4299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4300 distclean) \
4301 || exit 1
4303 @endif opcodes
4305 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4306 maybe-maintainer-clean-opcodes:
4307 @if opcodes
4308 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4310 maintainer-clean-opcodes:
4311 @[ -f ./opcodes/Makefile ] || exit 0; \
4312 r=`${PWD_COMMAND}`; export r; \
4313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4314 $(SET_LIB_PATH) \
4315 $(HOST_EXPORTS) \
4316 for flag in $(EXTRA_HOST_FLAGS) ; do \
4317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4318 done; \
4319 echo "Doing maintainer-clean in opcodes" ; \
4320 (cd opcodes && \
4321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4323 "RANLIB=$${RANLIB}" \
4324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4325 maintainer-clean) \
4326 || exit 1
4328 @endif opcodes
4331 .PHONY: configure-binutils maybe-configure-binutils
4332 maybe-configure-binutils:
4333 @if binutils
4334 maybe-configure-binutils: configure-binutils
4335 configure-binutils:
4336 @test -f stage_last && exit 0; \
4337 test ! -f binutils/Makefile || exit 0; \
4338 [ -d binutils ] || mkdir binutils; \
4339 r=`${PWD_COMMAND}`; export r; \
4340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4341 $(HOST_EXPORTS) \
4342 echo Configuring in binutils; \
4343 cd binutils || exit 1; \
4344 case $(srcdir) in \
4345 \.) \
4346 srcdiroption="--srcdir=."; \
4347 libsrcdir=".";; \
4348 /* | [A-Za-z]:[\\/]*) \
4349 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4350 libsrcdir="$$s/binutils";; \
4351 *) \
4352 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4353 libsrcdir="$$s/binutils";; \
4354 esac; \
4355 $(SHELL) $${libsrcdir}/configure \
4356 $(HOST_CONFIGARGS) $${srcdiroption} \
4357 || exit 1
4358 @endif binutils
4360 .PHONY: all-binutils maybe-all-binutils
4361 maybe-all-binutils:
4362 @if binutils
4363 maybe-all-binutils: all-binutils
4364 all-binutils: configure-binutils
4365 @test -f stage_last && exit 0; \
4366 r=`${PWD_COMMAND}`; export r; \
4367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4368 $(SET_LIB_PATH) \
4369 $(HOST_EXPORTS) \
4370 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
4371 @endif binutils
4373 .PHONY: check-binutils maybe-check-binutils
4374 maybe-check-binutils:
4375 @if binutils
4376 maybe-check-binutils: check-binutils
4378 check-binutils:
4379 @r=`${PWD_COMMAND}`; export r; \
4380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4381 $(SET_LIB_PATH) \
4382 $(HOST_EXPORTS) \
4383 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4385 @endif binutils
4387 .PHONY: install-binutils maybe-install-binutils
4388 maybe-install-binutils:
4389 @if binutils
4390 maybe-install-binutils: install-binutils
4392 install-binutils: installdirs
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) install)
4399 @endif binutils
4401 # Other targets (info, dvi, etc.)
4403 .PHONY: maybe-info-binutils info-binutils
4404 maybe-info-binutils:
4405 @if binutils
4406 maybe-info-binutils: info-binutils
4408 info-binutils: \
4409 configure-binutils
4410 @[ -f ./binutils/Makefile ] || exit 0; \
4411 r=`${PWD_COMMAND}`; export r; \
4412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4413 $(SET_LIB_PATH) \
4414 $(HOST_EXPORTS) \
4415 for flag in $(EXTRA_HOST_FLAGS) ; do \
4416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4417 done; \
4418 echo "Doing info in binutils" ; \
4419 (cd binutils && \
4420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4422 "RANLIB=$${RANLIB}" \
4423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4424 info) \
4425 || exit 1
4427 @endif binutils
4429 .PHONY: maybe-dvi-binutils dvi-binutils
4430 maybe-dvi-binutils:
4431 @if binutils
4432 maybe-dvi-binutils: dvi-binutils
4434 dvi-binutils: \
4435 configure-binutils
4436 @[ -f ./binutils/Makefile ] || exit 0; \
4437 r=`${PWD_COMMAND}`; export r; \
4438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4439 $(SET_LIB_PATH) \
4440 $(HOST_EXPORTS) \
4441 for flag in $(EXTRA_HOST_FLAGS) ; do \
4442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4443 done; \
4444 echo "Doing dvi in binutils" ; \
4445 (cd binutils && \
4446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4448 "RANLIB=$${RANLIB}" \
4449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4450 dvi) \
4451 || exit 1
4453 @endif binutils
4455 .PHONY: maybe-TAGS-binutils TAGS-binutils
4456 maybe-TAGS-binutils:
4457 @if binutils
4458 maybe-TAGS-binutils: TAGS-binutils
4460 TAGS-binutils: \
4461 configure-binutils
4462 @[ -f ./binutils/Makefile ] || exit 0; \
4463 r=`${PWD_COMMAND}`; export r; \
4464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4465 $(SET_LIB_PATH) \
4466 $(HOST_EXPORTS) \
4467 for flag in $(EXTRA_HOST_FLAGS) ; do \
4468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4469 done; \
4470 echo "Doing TAGS in binutils" ; \
4471 (cd binutils && \
4472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4474 "RANLIB=$${RANLIB}" \
4475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4476 TAGS) \
4477 || exit 1
4479 @endif binutils
4481 .PHONY: maybe-install-info-binutils install-info-binutils
4482 maybe-install-info-binutils:
4483 @if binutils
4484 maybe-install-info-binutils: install-info-binutils
4486 install-info-binutils: \
4487 configure-binutils \
4488 info-binutils
4489 @[ -f ./binutils/Makefile ] || exit 0; \
4490 r=`${PWD_COMMAND}`; export r; \
4491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4492 $(SET_LIB_PATH) \
4493 $(HOST_EXPORTS) \
4494 for flag in $(EXTRA_HOST_FLAGS) ; do \
4495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4496 done; \
4497 echo "Doing install-info in binutils" ; \
4498 (cd binutils && \
4499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4501 "RANLIB=$${RANLIB}" \
4502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4503 install-info) \
4504 || exit 1
4506 @endif binutils
4508 .PHONY: maybe-installcheck-binutils installcheck-binutils
4509 maybe-installcheck-binutils:
4510 @if binutils
4511 maybe-installcheck-binutils: installcheck-binutils
4513 installcheck-binutils: \
4514 configure-binutils
4515 @[ -f ./binutils/Makefile ] || exit 0; \
4516 r=`${PWD_COMMAND}`; export r; \
4517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4518 $(SET_LIB_PATH) \
4519 $(HOST_EXPORTS) \
4520 for flag in $(EXTRA_HOST_FLAGS) ; do \
4521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4522 done; \
4523 echo "Doing installcheck in binutils" ; \
4524 (cd binutils && \
4525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4527 "RANLIB=$${RANLIB}" \
4528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4529 installcheck) \
4530 || exit 1
4532 @endif binutils
4534 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4535 maybe-mostlyclean-binutils:
4536 @if binutils
4537 maybe-mostlyclean-binutils: mostlyclean-binutils
4539 mostlyclean-binutils:
4540 @[ -f ./binutils/Makefile ] || exit 0; \
4541 r=`${PWD_COMMAND}`; export r; \
4542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4543 $(SET_LIB_PATH) \
4544 $(HOST_EXPORTS) \
4545 for flag in $(EXTRA_HOST_FLAGS) ; do \
4546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4547 done; \
4548 echo "Doing mostlyclean in binutils" ; \
4549 (cd binutils && \
4550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4552 "RANLIB=$${RANLIB}" \
4553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4554 mostlyclean) \
4555 || exit 1
4557 @endif binutils
4559 .PHONY: maybe-clean-binutils clean-binutils
4560 maybe-clean-binutils:
4561 @if binutils
4562 maybe-clean-binutils: clean-binutils
4564 clean-binutils:
4565 @[ -f ./binutils/Makefile ] || exit 0; \
4566 r=`${PWD_COMMAND}`; export r; \
4567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4568 $(SET_LIB_PATH) \
4569 $(HOST_EXPORTS) \
4570 for flag in $(EXTRA_HOST_FLAGS) ; do \
4571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4572 done; \
4573 echo "Doing clean in binutils" ; \
4574 (cd binutils && \
4575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4577 "RANLIB=$${RANLIB}" \
4578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4579 clean) \
4580 || exit 1
4582 @endif binutils
4584 .PHONY: maybe-distclean-binutils distclean-binutils
4585 maybe-distclean-binutils:
4586 @if binutils
4587 maybe-distclean-binutils: distclean-binutils
4589 distclean-binutils:
4590 @[ -f ./binutils/Makefile ] || exit 0; \
4591 r=`${PWD_COMMAND}`; export r; \
4592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4593 $(SET_LIB_PATH) \
4594 $(HOST_EXPORTS) \
4595 for flag in $(EXTRA_HOST_FLAGS) ; do \
4596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4597 done; \
4598 echo "Doing distclean in binutils" ; \
4599 (cd binutils && \
4600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4602 "RANLIB=$${RANLIB}" \
4603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4604 distclean) \
4605 || exit 1
4607 @endif binutils
4609 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4610 maybe-maintainer-clean-binutils:
4611 @if binutils
4612 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4614 maintainer-clean-binutils:
4615 @[ -f ./binutils/Makefile ] || exit 0; \
4616 r=`${PWD_COMMAND}`; export r; \
4617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4618 $(SET_LIB_PATH) \
4619 $(HOST_EXPORTS) \
4620 for flag in $(EXTRA_HOST_FLAGS) ; do \
4621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4622 done; \
4623 echo "Doing maintainer-clean in binutils" ; \
4624 (cd binutils && \
4625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4627 "RANLIB=$${RANLIB}" \
4628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4629 maintainer-clean) \
4630 || exit 1
4632 @endif binutils
4635 .PHONY: configure-bison maybe-configure-bison
4636 maybe-configure-bison:
4637 @if bison
4638 maybe-configure-bison: configure-bison
4639 configure-bison:
4640 @test ! -f bison/Makefile || exit 0; \
4641 [ -d bison ] || mkdir bison; \
4642 r=`${PWD_COMMAND}`; export r; \
4643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4644 $(HOST_EXPORTS) \
4645 echo Configuring in bison; \
4646 cd bison || exit 1; \
4647 case $(srcdir) in \
4648 \.) \
4649 srcdiroption="--srcdir=."; \
4650 libsrcdir=".";; \
4651 /* | [A-Za-z]:[\\/]*) \
4652 srcdiroption="--srcdir=$(srcdir)/bison"; \
4653 libsrcdir="$$s/bison";; \
4654 *) \
4655 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4656 libsrcdir="$$s/bison";; \
4657 esac; \
4658 $(SHELL) $${libsrcdir}/configure \
4659 $(HOST_CONFIGARGS) $${srcdiroption} \
4660 || exit 1
4661 @endif bison
4663 .PHONY: all-bison maybe-all-bison
4664 maybe-all-bison:
4665 @if bison
4666 maybe-all-bison: all-bison
4667 all-bison: configure-bison
4668 @r=`${PWD_COMMAND}`; export r; \
4669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4670 $(SET_LIB_PATH) \
4671 $(HOST_EXPORTS) \
4672 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
4673 @endif bison
4675 .PHONY: check-bison maybe-check-bison
4676 maybe-check-bison:
4677 @if bison
4678 maybe-check-bison: check-bison
4680 # This module is only tested in a native toolchain.
4681 check-bison:
4682 @if [ '$(host)' = '$(target)' ] ; then \
4683 r=`${PWD_COMMAND}`; export r; \
4684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4685 $(SET_LIB_PATH) \
4686 $(HOST_EXPORTS) \
4687 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4690 @endif bison
4692 .PHONY: install-bison maybe-install-bison
4693 maybe-install-bison:
4694 @if bison
4695 maybe-install-bison: install-bison
4697 install-bison: installdirs
4698 @r=`${PWD_COMMAND}`; export r; \
4699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4700 $(SET_LIB_PATH) \
4701 $(HOST_EXPORTS) \
4702 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4704 @endif bison
4706 # Other targets (info, dvi, etc.)
4708 .PHONY: maybe-info-bison info-bison
4709 maybe-info-bison:
4710 @if bison
4711 maybe-info-bison: info-bison
4713 info-bison: \
4714 configure-bison
4715 @[ -f ./bison/Makefile ] || exit 0; \
4716 r=`${PWD_COMMAND}`; export r; \
4717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4718 $(SET_LIB_PATH) \
4719 $(HOST_EXPORTS) \
4720 for flag in $(EXTRA_HOST_FLAGS) ; do \
4721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4722 done; \
4723 echo "Doing info in bison" ; \
4724 (cd bison && \
4725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4727 "RANLIB=$${RANLIB}" \
4728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4729 info) \
4730 || exit 1
4732 @endif bison
4734 .PHONY: maybe-dvi-bison dvi-bison
4735 maybe-dvi-bison:
4736 @if bison
4737 maybe-dvi-bison: dvi-bison
4739 dvi-bison: \
4740 configure-bison
4741 @[ -f ./bison/Makefile ] || exit 0; \
4742 r=`${PWD_COMMAND}`; export r; \
4743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4744 $(SET_LIB_PATH) \
4745 $(HOST_EXPORTS) \
4746 for flag in $(EXTRA_HOST_FLAGS) ; do \
4747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4748 done; \
4749 echo "Doing dvi in bison" ; \
4750 (cd bison && \
4751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4753 "RANLIB=$${RANLIB}" \
4754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4755 dvi) \
4756 || exit 1
4758 @endif bison
4760 .PHONY: maybe-TAGS-bison TAGS-bison
4761 maybe-TAGS-bison:
4762 @if bison
4763 maybe-TAGS-bison: TAGS-bison
4765 TAGS-bison: \
4766 configure-bison
4767 @[ -f ./bison/Makefile ] || exit 0; \
4768 r=`${PWD_COMMAND}`; export r; \
4769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4770 $(SET_LIB_PATH) \
4771 $(HOST_EXPORTS) \
4772 for flag in $(EXTRA_HOST_FLAGS) ; do \
4773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4774 done; \
4775 echo "Doing TAGS in bison" ; \
4776 (cd bison && \
4777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4779 "RANLIB=$${RANLIB}" \
4780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4781 TAGS) \
4782 || exit 1
4784 @endif bison
4786 .PHONY: maybe-install-info-bison install-info-bison
4787 maybe-install-info-bison:
4788 @if bison
4789 maybe-install-info-bison: install-info-bison
4791 install-info-bison: \
4792 configure-bison \
4793 info-bison
4794 @[ -f ./bison/Makefile ] || exit 0; \
4795 r=`${PWD_COMMAND}`; export r; \
4796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4797 $(SET_LIB_PATH) \
4798 $(HOST_EXPORTS) \
4799 for flag in $(EXTRA_HOST_FLAGS) ; do \
4800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4801 done; \
4802 echo "Doing install-info in bison" ; \
4803 (cd bison && \
4804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4806 "RANLIB=$${RANLIB}" \
4807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4808 install-info) \
4809 || exit 1
4811 @endif bison
4813 .PHONY: maybe-installcheck-bison installcheck-bison
4814 maybe-installcheck-bison:
4815 @if bison
4816 maybe-installcheck-bison: installcheck-bison
4818 installcheck-bison: \
4819 configure-bison
4820 @[ -f ./bison/Makefile ] || exit 0; \
4821 r=`${PWD_COMMAND}`; export r; \
4822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4823 $(SET_LIB_PATH) \
4824 $(HOST_EXPORTS) \
4825 for flag in $(EXTRA_HOST_FLAGS) ; do \
4826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4827 done; \
4828 echo "Doing installcheck in bison" ; \
4829 (cd bison && \
4830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4832 "RANLIB=$${RANLIB}" \
4833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4834 installcheck) \
4835 || exit 1
4837 @endif bison
4839 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4840 maybe-mostlyclean-bison:
4841 @if bison
4842 maybe-mostlyclean-bison: mostlyclean-bison
4844 mostlyclean-bison:
4845 @[ -f ./bison/Makefile ] || exit 0; \
4846 r=`${PWD_COMMAND}`; export r; \
4847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4848 $(SET_LIB_PATH) \
4849 $(HOST_EXPORTS) \
4850 for flag in $(EXTRA_HOST_FLAGS) ; do \
4851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4852 done; \
4853 echo "Doing mostlyclean in bison" ; \
4854 (cd bison && \
4855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4857 "RANLIB=$${RANLIB}" \
4858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4859 mostlyclean) \
4860 || exit 1
4862 @endif bison
4864 .PHONY: maybe-clean-bison clean-bison
4865 maybe-clean-bison:
4866 @if bison
4867 maybe-clean-bison: clean-bison
4869 clean-bison:
4870 @[ -f ./bison/Makefile ] || exit 0; \
4871 r=`${PWD_COMMAND}`; export r; \
4872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4873 $(SET_LIB_PATH) \
4874 $(HOST_EXPORTS) \
4875 for flag in $(EXTRA_HOST_FLAGS) ; do \
4876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4877 done; \
4878 echo "Doing clean in bison" ; \
4879 (cd bison && \
4880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4882 "RANLIB=$${RANLIB}" \
4883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4884 clean) \
4885 || exit 1
4887 @endif bison
4889 .PHONY: maybe-distclean-bison distclean-bison
4890 maybe-distclean-bison:
4891 @if bison
4892 maybe-distclean-bison: distclean-bison
4894 distclean-bison:
4895 @[ -f ./bison/Makefile ] || exit 0; \
4896 r=`${PWD_COMMAND}`; export r; \
4897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4898 $(SET_LIB_PATH) \
4899 $(HOST_EXPORTS) \
4900 for flag in $(EXTRA_HOST_FLAGS) ; do \
4901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4902 done; \
4903 echo "Doing distclean in bison" ; \
4904 (cd bison && \
4905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4907 "RANLIB=$${RANLIB}" \
4908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4909 distclean) \
4910 || exit 1
4912 @endif bison
4914 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4915 maybe-maintainer-clean-bison:
4916 @if bison
4917 maybe-maintainer-clean-bison: maintainer-clean-bison
4919 maintainer-clean-bison:
4920 @[ -f ./bison/Makefile ] || exit 0; \
4921 r=`${PWD_COMMAND}`; export r; \
4922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4923 $(SET_LIB_PATH) \
4924 $(HOST_EXPORTS) \
4925 for flag in $(EXTRA_HOST_FLAGS) ; do \
4926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4927 done; \
4928 echo "Doing maintainer-clean in bison" ; \
4929 (cd bison && \
4930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4932 "RANLIB=$${RANLIB}" \
4933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4934 maintainer-clean) \
4935 || exit 1
4937 @endif bison
4940 .PHONY: configure-byacc maybe-configure-byacc
4941 maybe-configure-byacc:
4942 @if byacc
4943 maybe-configure-byacc: configure-byacc
4944 configure-byacc:
4945 @test ! -f byacc/Makefile || exit 0; \
4946 [ -d byacc ] || mkdir byacc; \
4947 r=`${PWD_COMMAND}`; export r; \
4948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4949 $(HOST_EXPORTS) \
4950 echo Configuring in byacc; \
4951 cd byacc || exit 1; \
4952 case $(srcdir) in \
4953 \.) \
4954 srcdiroption="--srcdir=."; \
4955 libsrcdir=".";; \
4956 /* | [A-Za-z]:[\\/]*) \
4957 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4958 libsrcdir="$$s/byacc";; \
4959 *) \
4960 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4961 libsrcdir="$$s/byacc";; \
4962 esac; \
4963 $(SHELL) $${libsrcdir}/configure \
4964 $(HOST_CONFIGARGS) $${srcdiroption} \
4965 || exit 1
4966 @endif byacc
4968 .PHONY: all-byacc maybe-all-byacc
4969 maybe-all-byacc:
4970 @if byacc
4971 maybe-all-byacc: all-byacc
4972 all-byacc: configure-byacc
4973 @r=`${PWD_COMMAND}`; export r; \
4974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4975 $(SET_LIB_PATH) \
4976 $(HOST_EXPORTS) \
4977 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4978 @endif byacc
4980 .PHONY: check-byacc maybe-check-byacc
4981 maybe-check-byacc:
4982 @if byacc
4983 maybe-check-byacc: check-byacc
4985 # This module is only tested in a native toolchain.
4986 check-byacc:
4987 @if [ '$(host)' = '$(target)' ] ; then \
4988 r=`${PWD_COMMAND}`; export r; \
4989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4990 $(SET_LIB_PATH) \
4991 $(HOST_EXPORTS) \
4992 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4995 @endif byacc
4997 .PHONY: install-byacc maybe-install-byacc
4998 maybe-install-byacc:
4999 @if byacc
5000 maybe-install-byacc: install-byacc
5002 install-byacc: installdirs
5003 @r=`${PWD_COMMAND}`; export r; \
5004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5005 $(SET_LIB_PATH) \
5006 $(HOST_EXPORTS) \
5007 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5009 @endif byacc
5011 # Other targets (info, dvi, etc.)
5013 .PHONY: maybe-info-byacc info-byacc
5014 maybe-info-byacc:
5015 @if byacc
5016 maybe-info-byacc: info-byacc
5018 info-byacc: \
5019 configure-byacc
5020 @[ -f ./byacc/Makefile ] || exit 0; \
5021 r=`${PWD_COMMAND}`; export r; \
5022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5023 $(SET_LIB_PATH) \
5024 $(HOST_EXPORTS) \
5025 for flag in $(EXTRA_HOST_FLAGS) ; do \
5026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5027 done; \
5028 echo "Doing info in byacc" ; \
5029 (cd byacc && \
5030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5032 "RANLIB=$${RANLIB}" \
5033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5034 info) \
5035 || exit 1
5037 @endif byacc
5039 .PHONY: maybe-dvi-byacc dvi-byacc
5040 maybe-dvi-byacc:
5041 @if byacc
5042 maybe-dvi-byacc: dvi-byacc
5044 dvi-byacc: \
5045 configure-byacc
5046 @[ -f ./byacc/Makefile ] || exit 0; \
5047 r=`${PWD_COMMAND}`; export r; \
5048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5049 $(SET_LIB_PATH) \
5050 $(HOST_EXPORTS) \
5051 for flag in $(EXTRA_HOST_FLAGS) ; do \
5052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5053 done; \
5054 echo "Doing dvi in byacc" ; \
5055 (cd byacc && \
5056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5058 "RANLIB=$${RANLIB}" \
5059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5060 dvi) \
5061 || exit 1
5063 @endif byacc
5065 .PHONY: maybe-TAGS-byacc TAGS-byacc
5066 maybe-TAGS-byacc:
5067 @if byacc
5068 maybe-TAGS-byacc: TAGS-byacc
5070 TAGS-byacc: \
5071 configure-byacc
5072 @[ -f ./byacc/Makefile ] || exit 0; \
5073 r=`${PWD_COMMAND}`; export r; \
5074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5075 $(SET_LIB_PATH) \
5076 $(HOST_EXPORTS) \
5077 for flag in $(EXTRA_HOST_FLAGS) ; do \
5078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5079 done; \
5080 echo "Doing TAGS in byacc" ; \
5081 (cd byacc && \
5082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5084 "RANLIB=$${RANLIB}" \
5085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5086 TAGS) \
5087 || exit 1
5089 @endif byacc
5091 .PHONY: maybe-install-info-byacc install-info-byacc
5092 maybe-install-info-byacc:
5093 @if byacc
5094 maybe-install-info-byacc: install-info-byacc
5096 install-info-byacc: \
5097 configure-byacc \
5098 info-byacc
5099 @[ -f ./byacc/Makefile ] || exit 0; \
5100 r=`${PWD_COMMAND}`; export r; \
5101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5102 $(SET_LIB_PATH) \
5103 $(HOST_EXPORTS) \
5104 for flag in $(EXTRA_HOST_FLAGS) ; do \
5105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5106 done; \
5107 echo "Doing install-info in byacc" ; \
5108 (cd byacc && \
5109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5111 "RANLIB=$${RANLIB}" \
5112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5113 install-info) \
5114 || exit 1
5116 @endif byacc
5118 .PHONY: maybe-installcheck-byacc installcheck-byacc
5119 maybe-installcheck-byacc:
5120 @if byacc
5121 maybe-installcheck-byacc: installcheck-byacc
5123 installcheck-byacc: \
5124 configure-byacc
5125 @[ -f ./byacc/Makefile ] || exit 0; \
5126 r=`${PWD_COMMAND}`; export r; \
5127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5128 $(SET_LIB_PATH) \
5129 $(HOST_EXPORTS) \
5130 for flag in $(EXTRA_HOST_FLAGS) ; do \
5131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5132 done; \
5133 echo "Doing installcheck in byacc" ; \
5134 (cd byacc && \
5135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5137 "RANLIB=$${RANLIB}" \
5138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5139 installcheck) \
5140 || exit 1
5142 @endif byacc
5144 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5145 maybe-mostlyclean-byacc:
5146 @if byacc
5147 maybe-mostlyclean-byacc: mostlyclean-byacc
5149 mostlyclean-byacc:
5150 @[ -f ./byacc/Makefile ] || exit 0; \
5151 r=`${PWD_COMMAND}`; export r; \
5152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5153 $(SET_LIB_PATH) \
5154 $(HOST_EXPORTS) \
5155 for flag in $(EXTRA_HOST_FLAGS) ; do \
5156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5157 done; \
5158 echo "Doing mostlyclean in byacc" ; \
5159 (cd byacc && \
5160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5162 "RANLIB=$${RANLIB}" \
5163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5164 mostlyclean) \
5165 || exit 1
5167 @endif byacc
5169 .PHONY: maybe-clean-byacc clean-byacc
5170 maybe-clean-byacc:
5171 @if byacc
5172 maybe-clean-byacc: clean-byacc
5174 clean-byacc:
5175 @[ -f ./byacc/Makefile ] || exit 0; \
5176 r=`${PWD_COMMAND}`; export r; \
5177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5178 $(SET_LIB_PATH) \
5179 $(HOST_EXPORTS) \
5180 for flag in $(EXTRA_HOST_FLAGS) ; do \
5181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5182 done; \
5183 echo "Doing clean in byacc" ; \
5184 (cd byacc && \
5185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5187 "RANLIB=$${RANLIB}" \
5188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5189 clean) \
5190 || exit 1
5192 @endif byacc
5194 .PHONY: maybe-distclean-byacc distclean-byacc
5195 maybe-distclean-byacc:
5196 @if byacc
5197 maybe-distclean-byacc: distclean-byacc
5199 distclean-byacc:
5200 @[ -f ./byacc/Makefile ] || exit 0; \
5201 r=`${PWD_COMMAND}`; export r; \
5202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5203 $(SET_LIB_PATH) \
5204 $(HOST_EXPORTS) \
5205 for flag in $(EXTRA_HOST_FLAGS) ; do \
5206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5207 done; \
5208 echo "Doing distclean in byacc" ; \
5209 (cd byacc && \
5210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5212 "RANLIB=$${RANLIB}" \
5213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5214 distclean) \
5215 || exit 1
5217 @endif byacc
5219 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5220 maybe-maintainer-clean-byacc:
5221 @if byacc
5222 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5224 maintainer-clean-byacc:
5225 @[ -f ./byacc/Makefile ] || exit 0; \
5226 r=`${PWD_COMMAND}`; export r; \
5227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5228 $(SET_LIB_PATH) \
5229 $(HOST_EXPORTS) \
5230 for flag in $(EXTRA_HOST_FLAGS) ; do \
5231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5232 done; \
5233 echo "Doing maintainer-clean in byacc" ; \
5234 (cd byacc && \
5235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5237 "RANLIB=$${RANLIB}" \
5238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5239 maintainer-clean) \
5240 || exit 1
5242 @endif byacc
5245 .PHONY: configure-bzip2 maybe-configure-bzip2
5246 maybe-configure-bzip2:
5247 @if bzip2
5248 maybe-configure-bzip2: configure-bzip2
5249 configure-bzip2:
5250 @test ! -f bzip2/Makefile || exit 0; \
5251 [ -d bzip2 ] || mkdir bzip2; \
5252 r=`${PWD_COMMAND}`; export r; \
5253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5254 $(HOST_EXPORTS) \
5255 echo Configuring in bzip2; \
5256 cd bzip2 || exit 1; \
5257 case $(srcdir) in \
5258 \.) \
5259 srcdiroption="--srcdir=."; \
5260 libsrcdir=".";; \
5261 /* | [A-Za-z]:[\\/]*) \
5262 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5263 libsrcdir="$$s/bzip2";; \
5264 *) \
5265 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5266 libsrcdir="$$s/bzip2";; \
5267 esac; \
5268 $(SHELL) $${libsrcdir}/configure \
5269 $(HOST_CONFIGARGS) $${srcdiroption} \
5270 || exit 1
5271 @endif bzip2
5273 .PHONY: all-bzip2 maybe-all-bzip2
5274 maybe-all-bzip2:
5275 @if bzip2
5276 maybe-all-bzip2: all-bzip2
5277 all-bzip2: configure-bzip2
5278 @r=`${PWD_COMMAND}`; export r; \
5279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5280 $(SET_LIB_PATH) \
5281 $(HOST_EXPORTS) \
5282 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
5283 @endif bzip2
5285 .PHONY: check-bzip2 maybe-check-bzip2
5286 maybe-check-bzip2:
5287 @if bzip2
5288 maybe-check-bzip2: check-bzip2
5290 check-bzip2:
5291 @r=`${PWD_COMMAND}`; export r; \
5292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5293 $(SET_LIB_PATH) \
5294 $(HOST_EXPORTS) \
5295 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5297 @endif bzip2
5299 .PHONY: install-bzip2 maybe-install-bzip2
5300 maybe-install-bzip2:
5301 @if bzip2
5302 maybe-install-bzip2: install-bzip2
5304 install-bzip2: installdirs
5305 @r=`${PWD_COMMAND}`; export r; \
5306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5307 $(SET_LIB_PATH) \
5308 $(HOST_EXPORTS) \
5309 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5311 @endif bzip2
5313 # Other targets (info, dvi, etc.)
5315 .PHONY: maybe-info-bzip2 info-bzip2
5316 maybe-info-bzip2:
5317 @if bzip2
5318 maybe-info-bzip2: info-bzip2
5320 info-bzip2: \
5321 configure-bzip2
5322 @[ -f ./bzip2/Makefile ] || exit 0; \
5323 r=`${PWD_COMMAND}`; export r; \
5324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5325 $(SET_LIB_PATH) \
5326 $(HOST_EXPORTS) \
5327 for flag in $(EXTRA_HOST_FLAGS) ; do \
5328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5329 done; \
5330 echo "Doing info in bzip2" ; \
5331 (cd bzip2 && \
5332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5334 "RANLIB=$${RANLIB}" \
5335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5336 info) \
5337 || exit 1
5339 @endif bzip2
5341 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5342 maybe-dvi-bzip2:
5343 @if bzip2
5344 maybe-dvi-bzip2: dvi-bzip2
5346 dvi-bzip2: \
5347 configure-bzip2
5348 @[ -f ./bzip2/Makefile ] || exit 0; \
5349 r=`${PWD_COMMAND}`; export r; \
5350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5351 $(SET_LIB_PATH) \
5352 $(HOST_EXPORTS) \
5353 for flag in $(EXTRA_HOST_FLAGS) ; do \
5354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5355 done; \
5356 echo "Doing dvi in bzip2" ; \
5357 (cd bzip2 && \
5358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5360 "RANLIB=$${RANLIB}" \
5361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5362 dvi) \
5363 || exit 1
5365 @endif bzip2
5367 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5368 maybe-TAGS-bzip2:
5369 @if bzip2
5370 maybe-TAGS-bzip2: TAGS-bzip2
5372 TAGS-bzip2: \
5373 configure-bzip2
5374 @[ -f ./bzip2/Makefile ] || exit 0; \
5375 r=`${PWD_COMMAND}`; export r; \
5376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5377 $(SET_LIB_PATH) \
5378 $(HOST_EXPORTS) \
5379 for flag in $(EXTRA_HOST_FLAGS) ; do \
5380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5381 done; \
5382 echo "Doing TAGS in bzip2" ; \
5383 (cd bzip2 && \
5384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5386 "RANLIB=$${RANLIB}" \
5387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5388 TAGS) \
5389 || exit 1
5391 @endif bzip2
5393 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5394 maybe-install-info-bzip2:
5395 @if bzip2
5396 maybe-install-info-bzip2: install-info-bzip2
5398 install-info-bzip2: \
5399 configure-bzip2 \
5400 info-bzip2
5401 @[ -f ./bzip2/Makefile ] || exit 0; \
5402 r=`${PWD_COMMAND}`; export r; \
5403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5404 $(SET_LIB_PATH) \
5405 $(HOST_EXPORTS) \
5406 for flag in $(EXTRA_HOST_FLAGS) ; do \
5407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5408 done; \
5409 echo "Doing install-info in bzip2" ; \
5410 (cd bzip2 && \
5411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5413 "RANLIB=$${RANLIB}" \
5414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5415 install-info) \
5416 || exit 1
5418 @endif bzip2
5420 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5421 maybe-installcheck-bzip2:
5422 @if bzip2
5423 maybe-installcheck-bzip2: installcheck-bzip2
5425 installcheck-bzip2: \
5426 configure-bzip2
5427 @[ -f ./bzip2/Makefile ] || exit 0; \
5428 r=`${PWD_COMMAND}`; export r; \
5429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5430 $(SET_LIB_PATH) \
5431 $(HOST_EXPORTS) \
5432 for flag in $(EXTRA_HOST_FLAGS) ; do \
5433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5434 done; \
5435 echo "Doing installcheck in bzip2" ; \
5436 (cd bzip2 && \
5437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5439 "RANLIB=$${RANLIB}" \
5440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5441 installcheck) \
5442 || exit 1
5444 @endif bzip2
5446 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5447 maybe-mostlyclean-bzip2:
5448 @if bzip2
5449 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5451 mostlyclean-bzip2:
5452 @[ -f ./bzip2/Makefile ] || exit 0; \
5453 r=`${PWD_COMMAND}`; export r; \
5454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5455 $(SET_LIB_PATH) \
5456 $(HOST_EXPORTS) \
5457 for flag in $(EXTRA_HOST_FLAGS) ; do \
5458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5459 done; \
5460 echo "Doing mostlyclean in bzip2" ; \
5461 (cd bzip2 && \
5462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5464 "RANLIB=$${RANLIB}" \
5465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5466 mostlyclean) \
5467 || exit 1
5469 @endif bzip2
5471 .PHONY: maybe-clean-bzip2 clean-bzip2
5472 maybe-clean-bzip2:
5473 @if bzip2
5474 maybe-clean-bzip2: clean-bzip2
5476 clean-bzip2:
5477 @[ -f ./bzip2/Makefile ] || exit 0; \
5478 r=`${PWD_COMMAND}`; export r; \
5479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5480 $(SET_LIB_PATH) \
5481 $(HOST_EXPORTS) \
5482 for flag in $(EXTRA_HOST_FLAGS) ; do \
5483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5484 done; \
5485 echo "Doing clean in bzip2" ; \
5486 (cd bzip2 && \
5487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5489 "RANLIB=$${RANLIB}" \
5490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5491 clean) \
5492 || exit 1
5494 @endif bzip2
5496 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5497 maybe-distclean-bzip2:
5498 @if bzip2
5499 maybe-distclean-bzip2: distclean-bzip2
5501 distclean-bzip2:
5502 @[ -f ./bzip2/Makefile ] || exit 0; \
5503 r=`${PWD_COMMAND}`; export r; \
5504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5505 $(SET_LIB_PATH) \
5506 $(HOST_EXPORTS) \
5507 for flag in $(EXTRA_HOST_FLAGS) ; do \
5508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5509 done; \
5510 echo "Doing distclean in bzip2" ; \
5511 (cd bzip2 && \
5512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5514 "RANLIB=$${RANLIB}" \
5515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5516 distclean) \
5517 || exit 1
5519 @endif bzip2
5521 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5522 maybe-maintainer-clean-bzip2:
5523 @if bzip2
5524 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5526 maintainer-clean-bzip2:
5527 @[ -f ./bzip2/Makefile ] || exit 0; \
5528 r=`${PWD_COMMAND}`; export r; \
5529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5530 $(SET_LIB_PATH) \
5531 $(HOST_EXPORTS) \
5532 for flag in $(EXTRA_HOST_FLAGS) ; do \
5533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5534 done; \
5535 echo "Doing maintainer-clean in bzip2" ; \
5536 (cd bzip2 && \
5537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5539 "RANLIB=$${RANLIB}" \
5540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5541 maintainer-clean) \
5542 || exit 1
5544 @endif bzip2
5547 .PHONY: configure-dejagnu maybe-configure-dejagnu
5548 maybe-configure-dejagnu:
5549 @if dejagnu
5550 maybe-configure-dejagnu: configure-dejagnu
5551 configure-dejagnu:
5552 @test ! -f dejagnu/Makefile || exit 0; \
5553 [ -d dejagnu ] || mkdir dejagnu; \
5554 r=`${PWD_COMMAND}`; export r; \
5555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5556 $(HOST_EXPORTS) \
5557 echo Configuring in dejagnu; \
5558 cd dejagnu || exit 1; \
5559 case $(srcdir) in \
5560 \.) \
5561 srcdiroption="--srcdir=."; \
5562 libsrcdir=".";; \
5563 /* | [A-Za-z]:[\\/]*) \
5564 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5565 libsrcdir="$$s/dejagnu";; \
5566 *) \
5567 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5568 libsrcdir="$$s/dejagnu";; \
5569 esac; \
5570 $(SHELL) $${libsrcdir}/configure \
5571 $(HOST_CONFIGARGS) $${srcdiroption} \
5572 || exit 1
5573 @endif dejagnu
5575 .PHONY: all-dejagnu maybe-all-dejagnu
5576 maybe-all-dejagnu:
5577 @if dejagnu
5578 maybe-all-dejagnu: all-dejagnu
5579 all-dejagnu: configure-dejagnu
5580 @r=`${PWD_COMMAND}`; export r; \
5581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5582 $(SET_LIB_PATH) \
5583 $(HOST_EXPORTS) \
5584 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
5585 @endif dejagnu
5587 .PHONY: check-dejagnu maybe-check-dejagnu
5588 maybe-check-dejagnu:
5589 @if dejagnu
5590 maybe-check-dejagnu: check-dejagnu
5592 check-dejagnu:
5593 @r=`${PWD_COMMAND}`; export r; \
5594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5595 $(SET_LIB_PATH) \
5596 $(HOST_EXPORTS) \
5597 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5599 @endif dejagnu
5601 .PHONY: install-dejagnu maybe-install-dejagnu
5602 maybe-install-dejagnu:
5603 @if dejagnu
5604 maybe-install-dejagnu: install-dejagnu
5606 install-dejagnu: installdirs
5607 @r=`${PWD_COMMAND}`; export r; \
5608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5609 $(SET_LIB_PATH) \
5610 $(HOST_EXPORTS) \
5611 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5613 @endif dejagnu
5615 # Other targets (info, dvi, etc.)
5617 .PHONY: maybe-info-dejagnu info-dejagnu
5618 maybe-info-dejagnu:
5619 @if dejagnu
5620 maybe-info-dejagnu: info-dejagnu
5622 info-dejagnu: \
5623 configure-dejagnu
5624 @[ -f ./dejagnu/Makefile ] || exit 0; \
5625 r=`${PWD_COMMAND}`; export r; \
5626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5627 $(SET_LIB_PATH) \
5628 $(HOST_EXPORTS) \
5629 for flag in $(EXTRA_HOST_FLAGS) ; do \
5630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5631 done; \
5632 echo "Doing info in dejagnu" ; \
5633 (cd dejagnu && \
5634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5636 "RANLIB=$${RANLIB}" \
5637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5638 info) \
5639 || exit 1
5641 @endif dejagnu
5643 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5644 maybe-dvi-dejagnu:
5645 @if dejagnu
5646 maybe-dvi-dejagnu: dvi-dejagnu
5648 dvi-dejagnu: \
5649 configure-dejagnu
5650 @[ -f ./dejagnu/Makefile ] || exit 0; \
5651 r=`${PWD_COMMAND}`; export r; \
5652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5653 $(SET_LIB_PATH) \
5654 $(HOST_EXPORTS) \
5655 for flag in $(EXTRA_HOST_FLAGS) ; do \
5656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5657 done; \
5658 echo "Doing dvi in dejagnu" ; \
5659 (cd dejagnu && \
5660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5662 "RANLIB=$${RANLIB}" \
5663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5664 dvi) \
5665 || exit 1
5667 @endif dejagnu
5669 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5670 maybe-TAGS-dejagnu:
5671 @if dejagnu
5672 maybe-TAGS-dejagnu: TAGS-dejagnu
5674 TAGS-dejagnu: \
5675 configure-dejagnu
5676 @[ -f ./dejagnu/Makefile ] || exit 0; \
5677 r=`${PWD_COMMAND}`; export r; \
5678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5679 $(SET_LIB_PATH) \
5680 $(HOST_EXPORTS) \
5681 for flag in $(EXTRA_HOST_FLAGS) ; do \
5682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5683 done; \
5684 echo "Doing TAGS in dejagnu" ; \
5685 (cd dejagnu && \
5686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5688 "RANLIB=$${RANLIB}" \
5689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5690 TAGS) \
5691 || exit 1
5693 @endif dejagnu
5695 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5696 maybe-install-info-dejagnu:
5697 @if dejagnu
5698 maybe-install-info-dejagnu: install-info-dejagnu
5700 install-info-dejagnu: \
5701 configure-dejagnu \
5702 info-dejagnu
5703 @[ -f ./dejagnu/Makefile ] || exit 0; \
5704 r=`${PWD_COMMAND}`; export r; \
5705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5706 $(SET_LIB_PATH) \
5707 $(HOST_EXPORTS) \
5708 for flag in $(EXTRA_HOST_FLAGS) ; do \
5709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5710 done; \
5711 echo "Doing install-info in dejagnu" ; \
5712 (cd dejagnu && \
5713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5715 "RANLIB=$${RANLIB}" \
5716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5717 install-info) \
5718 || exit 1
5720 @endif dejagnu
5722 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5723 maybe-installcheck-dejagnu:
5724 @if dejagnu
5725 maybe-installcheck-dejagnu: installcheck-dejagnu
5727 installcheck-dejagnu: \
5728 configure-dejagnu
5729 @[ -f ./dejagnu/Makefile ] || exit 0; \
5730 r=`${PWD_COMMAND}`; export r; \
5731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5732 $(SET_LIB_PATH) \
5733 $(HOST_EXPORTS) \
5734 for flag in $(EXTRA_HOST_FLAGS) ; do \
5735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5736 done; \
5737 echo "Doing installcheck in dejagnu" ; \
5738 (cd dejagnu && \
5739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5741 "RANLIB=$${RANLIB}" \
5742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5743 installcheck) \
5744 || exit 1
5746 @endif dejagnu
5748 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5749 maybe-mostlyclean-dejagnu:
5750 @if dejagnu
5751 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5753 mostlyclean-dejagnu:
5754 @[ -f ./dejagnu/Makefile ] || exit 0; \
5755 r=`${PWD_COMMAND}`; export r; \
5756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5757 $(SET_LIB_PATH) \
5758 $(HOST_EXPORTS) \
5759 for flag in $(EXTRA_HOST_FLAGS) ; do \
5760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5761 done; \
5762 echo "Doing mostlyclean in dejagnu" ; \
5763 (cd dejagnu && \
5764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5766 "RANLIB=$${RANLIB}" \
5767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5768 mostlyclean) \
5769 || exit 1
5771 @endif dejagnu
5773 .PHONY: maybe-clean-dejagnu clean-dejagnu
5774 maybe-clean-dejagnu:
5775 @if dejagnu
5776 maybe-clean-dejagnu: clean-dejagnu
5778 clean-dejagnu:
5779 @[ -f ./dejagnu/Makefile ] || exit 0; \
5780 r=`${PWD_COMMAND}`; export r; \
5781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5782 $(SET_LIB_PATH) \
5783 $(HOST_EXPORTS) \
5784 for flag in $(EXTRA_HOST_FLAGS) ; do \
5785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5786 done; \
5787 echo "Doing clean in dejagnu" ; \
5788 (cd dejagnu && \
5789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5791 "RANLIB=$${RANLIB}" \
5792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5793 clean) \
5794 || exit 1
5796 @endif dejagnu
5798 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5799 maybe-distclean-dejagnu:
5800 @if dejagnu
5801 maybe-distclean-dejagnu: distclean-dejagnu
5803 distclean-dejagnu:
5804 @[ -f ./dejagnu/Makefile ] || exit 0; \
5805 r=`${PWD_COMMAND}`; export r; \
5806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5807 $(SET_LIB_PATH) \
5808 $(HOST_EXPORTS) \
5809 for flag in $(EXTRA_HOST_FLAGS) ; do \
5810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5811 done; \
5812 echo "Doing distclean in dejagnu" ; \
5813 (cd dejagnu && \
5814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5816 "RANLIB=$${RANLIB}" \
5817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5818 distclean) \
5819 || exit 1
5821 @endif dejagnu
5823 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5824 maybe-maintainer-clean-dejagnu:
5825 @if dejagnu
5826 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5828 maintainer-clean-dejagnu:
5829 @[ -f ./dejagnu/Makefile ] || exit 0; \
5830 r=`${PWD_COMMAND}`; export r; \
5831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5832 $(SET_LIB_PATH) \
5833 $(HOST_EXPORTS) \
5834 for flag in $(EXTRA_HOST_FLAGS) ; do \
5835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5836 done; \
5837 echo "Doing maintainer-clean in dejagnu" ; \
5838 (cd dejagnu && \
5839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5841 "RANLIB=$${RANLIB}" \
5842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5843 maintainer-clean) \
5844 || exit 1
5846 @endif dejagnu
5849 .PHONY: configure-diff maybe-configure-diff
5850 maybe-configure-diff:
5851 @if diff
5852 maybe-configure-diff: configure-diff
5853 configure-diff:
5854 @test ! -f diff/Makefile || exit 0; \
5855 [ -d diff ] || mkdir diff; \
5856 r=`${PWD_COMMAND}`; export r; \
5857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5858 $(HOST_EXPORTS) \
5859 echo Configuring in diff; \
5860 cd diff || exit 1; \
5861 case $(srcdir) in \
5862 \.) \
5863 srcdiroption="--srcdir=."; \
5864 libsrcdir=".";; \
5865 /* | [A-Za-z]:[\\/]*) \
5866 srcdiroption="--srcdir=$(srcdir)/diff"; \
5867 libsrcdir="$$s/diff";; \
5868 *) \
5869 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5870 libsrcdir="$$s/diff";; \
5871 esac; \
5872 $(SHELL) $${libsrcdir}/configure \
5873 $(HOST_CONFIGARGS) $${srcdiroption} \
5874 || exit 1
5875 @endif diff
5877 .PHONY: all-diff maybe-all-diff
5878 maybe-all-diff:
5879 @if diff
5880 maybe-all-diff: all-diff
5881 all-diff: configure-diff
5882 @r=`${PWD_COMMAND}`; export r; \
5883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5884 $(SET_LIB_PATH) \
5885 $(HOST_EXPORTS) \
5886 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5887 @endif diff
5889 .PHONY: check-diff maybe-check-diff
5890 maybe-check-diff:
5891 @if diff
5892 maybe-check-diff: check-diff
5894 check-diff:
5895 @r=`${PWD_COMMAND}`; export r; \
5896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5897 $(SET_LIB_PATH) \
5898 $(HOST_EXPORTS) \
5899 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5901 @endif diff
5903 .PHONY: install-diff maybe-install-diff
5904 maybe-install-diff:
5905 @if diff
5906 maybe-install-diff: install-diff
5908 install-diff: installdirs
5909 @r=`${PWD_COMMAND}`; export r; \
5910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5911 $(SET_LIB_PATH) \
5912 $(HOST_EXPORTS) \
5913 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5915 @endif diff
5917 # Other targets (info, dvi, etc.)
5919 .PHONY: maybe-info-diff info-diff
5920 maybe-info-diff:
5921 @if diff
5922 maybe-info-diff: info-diff
5924 info-diff: \
5925 configure-diff
5926 @[ -f ./diff/Makefile ] || exit 0; \
5927 r=`${PWD_COMMAND}`; export r; \
5928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5929 $(SET_LIB_PATH) \
5930 $(HOST_EXPORTS) \
5931 for flag in $(EXTRA_HOST_FLAGS) ; do \
5932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5933 done; \
5934 echo "Doing info in diff" ; \
5935 (cd diff && \
5936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5938 "RANLIB=$${RANLIB}" \
5939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5940 info) \
5941 || exit 1
5943 @endif diff
5945 .PHONY: maybe-dvi-diff dvi-diff
5946 maybe-dvi-diff:
5947 @if diff
5948 maybe-dvi-diff: dvi-diff
5950 dvi-diff: \
5951 configure-diff
5952 @[ -f ./diff/Makefile ] || exit 0; \
5953 r=`${PWD_COMMAND}`; export r; \
5954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5955 $(SET_LIB_PATH) \
5956 $(HOST_EXPORTS) \
5957 for flag in $(EXTRA_HOST_FLAGS) ; do \
5958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5959 done; \
5960 echo "Doing dvi in diff" ; \
5961 (cd diff && \
5962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5964 "RANLIB=$${RANLIB}" \
5965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5966 dvi) \
5967 || exit 1
5969 @endif diff
5971 .PHONY: maybe-TAGS-diff TAGS-diff
5972 maybe-TAGS-diff:
5973 @if diff
5974 maybe-TAGS-diff: TAGS-diff
5976 TAGS-diff: \
5977 configure-diff
5978 @[ -f ./diff/Makefile ] || exit 0; \
5979 r=`${PWD_COMMAND}`; export r; \
5980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5981 $(SET_LIB_PATH) \
5982 $(HOST_EXPORTS) \
5983 for flag in $(EXTRA_HOST_FLAGS) ; do \
5984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5985 done; \
5986 echo "Doing TAGS in diff" ; \
5987 (cd diff && \
5988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5990 "RANLIB=$${RANLIB}" \
5991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5992 TAGS) \
5993 || exit 1
5995 @endif diff
5997 .PHONY: maybe-install-info-diff install-info-diff
5998 maybe-install-info-diff:
5999 @if diff
6000 maybe-install-info-diff: install-info-diff
6002 install-info-diff: \
6003 configure-diff \
6004 info-diff
6005 @[ -f ./diff/Makefile ] || exit 0; \
6006 r=`${PWD_COMMAND}`; export r; \
6007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6008 $(SET_LIB_PATH) \
6009 $(HOST_EXPORTS) \
6010 for flag in $(EXTRA_HOST_FLAGS) ; do \
6011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6012 done; \
6013 echo "Doing install-info in diff" ; \
6014 (cd diff && \
6015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6017 "RANLIB=$${RANLIB}" \
6018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6019 install-info) \
6020 || exit 1
6022 @endif diff
6024 .PHONY: maybe-installcheck-diff installcheck-diff
6025 maybe-installcheck-diff:
6026 @if diff
6027 maybe-installcheck-diff: installcheck-diff
6029 installcheck-diff: \
6030 configure-diff
6031 @[ -f ./diff/Makefile ] || exit 0; \
6032 r=`${PWD_COMMAND}`; export r; \
6033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6034 $(SET_LIB_PATH) \
6035 $(HOST_EXPORTS) \
6036 for flag in $(EXTRA_HOST_FLAGS) ; do \
6037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6038 done; \
6039 echo "Doing installcheck in diff" ; \
6040 (cd diff && \
6041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6043 "RANLIB=$${RANLIB}" \
6044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6045 installcheck) \
6046 || exit 1
6048 @endif diff
6050 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6051 maybe-mostlyclean-diff:
6052 @if diff
6053 maybe-mostlyclean-diff: mostlyclean-diff
6055 mostlyclean-diff:
6056 @[ -f ./diff/Makefile ] || exit 0; \
6057 r=`${PWD_COMMAND}`; export r; \
6058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6059 $(SET_LIB_PATH) \
6060 $(HOST_EXPORTS) \
6061 for flag in $(EXTRA_HOST_FLAGS) ; do \
6062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6063 done; \
6064 echo "Doing mostlyclean in diff" ; \
6065 (cd diff && \
6066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6068 "RANLIB=$${RANLIB}" \
6069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6070 mostlyclean) \
6071 || exit 1
6073 @endif diff
6075 .PHONY: maybe-clean-diff clean-diff
6076 maybe-clean-diff:
6077 @if diff
6078 maybe-clean-diff: clean-diff
6080 clean-diff:
6081 @[ -f ./diff/Makefile ] || exit 0; \
6082 r=`${PWD_COMMAND}`; export r; \
6083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6084 $(SET_LIB_PATH) \
6085 $(HOST_EXPORTS) \
6086 for flag in $(EXTRA_HOST_FLAGS) ; do \
6087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6088 done; \
6089 echo "Doing clean in diff" ; \
6090 (cd diff && \
6091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6093 "RANLIB=$${RANLIB}" \
6094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6095 clean) \
6096 || exit 1
6098 @endif diff
6100 .PHONY: maybe-distclean-diff distclean-diff
6101 maybe-distclean-diff:
6102 @if diff
6103 maybe-distclean-diff: distclean-diff
6105 distclean-diff:
6106 @[ -f ./diff/Makefile ] || exit 0; \
6107 r=`${PWD_COMMAND}`; export r; \
6108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6109 $(SET_LIB_PATH) \
6110 $(HOST_EXPORTS) \
6111 for flag in $(EXTRA_HOST_FLAGS) ; do \
6112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6113 done; \
6114 echo "Doing distclean in diff" ; \
6115 (cd diff && \
6116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6118 "RANLIB=$${RANLIB}" \
6119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6120 distclean) \
6121 || exit 1
6123 @endif diff
6125 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6126 maybe-maintainer-clean-diff:
6127 @if diff
6128 maybe-maintainer-clean-diff: maintainer-clean-diff
6130 maintainer-clean-diff:
6131 @[ -f ./diff/Makefile ] || exit 0; \
6132 r=`${PWD_COMMAND}`; export r; \
6133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6134 $(SET_LIB_PATH) \
6135 $(HOST_EXPORTS) \
6136 for flag in $(EXTRA_HOST_FLAGS) ; do \
6137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6138 done; \
6139 echo "Doing maintainer-clean in diff" ; \
6140 (cd diff && \
6141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6143 "RANLIB=$${RANLIB}" \
6144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6145 maintainer-clean) \
6146 || exit 1
6148 @endif diff
6151 .PHONY: configure-dosutils maybe-configure-dosutils
6152 maybe-configure-dosutils:
6153 @if dosutils
6154 maybe-configure-dosutils: configure-dosutils
6155 configure-dosutils:
6156 @test ! -f dosutils/Makefile || exit 0; \
6157 [ -d dosutils ] || mkdir dosutils; \
6158 r=`${PWD_COMMAND}`; export r; \
6159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6160 $(HOST_EXPORTS) \
6161 echo Configuring in dosutils; \
6162 cd dosutils || exit 1; \
6163 case $(srcdir) in \
6164 \.) \
6165 srcdiroption="--srcdir=."; \
6166 libsrcdir=".";; \
6167 /* | [A-Za-z]:[\\/]*) \
6168 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6169 libsrcdir="$$s/dosutils";; \
6170 *) \
6171 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6172 libsrcdir="$$s/dosutils";; \
6173 esac; \
6174 $(SHELL) $${libsrcdir}/configure \
6175 $(HOST_CONFIGARGS) $${srcdiroption} \
6176 || exit 1
6177 @endif dosutils
6179 .PHONY: all-dosutils maybe-all-dosutils
6180 maybe-all-dosutils:
6181 @if dosutils
6182 maybe-all-dosutils: all-dosutils
6183 all-dosutils: configure-dosutils
6184 @r=`${PWD_COMMAND}`; export r; \
6185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6186 $(SET_LIB_PATH) \
6187 $(HOST_EXPORTS) \
6188 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
6189 @endif dosutils
6191 .PHONY: check-dosutils maybe-check-dosutils
6192 maybe-check-dosutils:
6193 @if dosutils
6194 maybe-check-dosutils: check-dosutils
6196 check-dosutils:
6198 @endif dosutils
6200 .PHONY: install-dosutils maybe-install-dosutils
6201 maybe-install-dosutils:
6202 @if dosutils
6203 maybe-install-dosutils: install-dosutils
6205 install-dosutils: installdirs
6206 @r=`${PWD_COMMAND}`; export r; \
6207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6208 $(SET_LIB_PATH) \
6209 $(HOST_EXPORTS) \
6210 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6212 @endif dosutils
6214 # Other targets (info, dvi, etc.)
6216 .PHONY: maybe-info-dosutils info-dosutils
6217 maybe-info-dosutils:
6218 @if dosutils
6219 maybe-info-dosutils: info-dosutils
6221 info-dosutils: \
6222 configure-dosutils
6223 @[ -f ./dosutils/Makefile ] || exit 0; \
6224 r=`${PWD_COMMAND}`; export r; \
6225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6226 $(SET_LIB_PATH) \
6227 $(HOST_EXPORTS) \
6228 for flag in $(EXTRA_HOST_FLAGS) ; do \
6229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6230 done; \
6231 echo "Doing info in dosutils" ; \
6232 (cd dosutils && \
6233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6235 "RANLIB=$${RANLIB}" \
6236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6237 info) \
6238 || exit 1
6240 @endif dosutils
6242 .PHONY: maybe-dvi-dosutils dvi-dosutils
6243 maybe-dvi-dosutils:
6244 @if dosutils
6245 maybe-dvi-dosutils: dvi-dosutils
6247 dvi-dosutils: \
6248 configure-dosutils
6249 @[ -f ./dosutils/Makefile ] || exit 0; \
6250 r=`${PWD_COMMAND}`; export r; \
6251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6252 $(SET_LIB_PATH) \
6253 $(HOST_EXPORTS) \
6254 for flag in $(EXTRA_HOST_FLAGS) ; do \
6255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6256 done; \
6257 echo "Doing dvi in dosutils" ; \
6258 (cd dosutils && \
6259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6261 "RANLIB=$${RANLIB}" \
6262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6263 dvi) \
6264 || exit 1
6266 @endif dosutils
6268 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6269 maybe-TAGS-dosutils:
6270 @if dosutils
6271 maybe-TAGS-dosutils: TAGS-dosutils
6273 TAGS-dosutils: \
6274 configure-dosutils
6275 @[ -f ./dosutils/Makefile ] || exit 0; \
6276 r=`${PWD_COMMAND}`; export r; \
6277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6278 $(SET_LIB_PATH) \
6279 $(HOST_EXPORTS) \
6280 for flag in $(EXTRA_HOST_FLAGS) ; do \
6281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6282 done; \
6283 echo "Doing TAGS in dosutils" ; \
6284 (cd dosutils && \
6285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6287 "RANLIB=$${RANLIB}" \
6288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6289 TAGS) \
6290 || exit 1
6292 @endif dosutils
6294 .PHONY: maybe-install-info-dosutils install-info-dosutils
6295 maybe-install-info-dosutils:
6296 @if dosutils
6297 maybe-install-info-dosutils: install-info-dosutils
6299 install-info-dosutils: \
6300 configure-dosutils \
6301 info-dosutils
6302 @[ -f ./dosutils/Makefile ] || exit 0; \
6303 r=`${PWD_COMMAND}`; export r; \
6304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6305 $(SET_LIB_PATH) \
6306 $(HOST_EXPORTS) \
6307 for flag in $(EXTRA_HOST_FLAGS) ; do \
6308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6309 done; \
6310 echo "Doing install-info in dosutils" ; \
6311 (cd dosutils && \
6312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6314 "RANLIB=$${RANLIB}" \
6315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6316 install-info) \
6317 || exit 1
6319 @endif dosutils
6321 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6322 maybe-installcheck-dosutils:
6323 @if dosutils
6324 maybe-installcheck-dosutils: installcheck-dosutils
6326 installcheck-dosutils: \
6327 configure-dosutils
6328 @[ -f ./dosutils/Makefile ] || exit 0; \
6329 r=`${PWD_COMMAND}`; export r; \
6330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6331 $(SET_LIB_PATH) \
6332 $(HOST_EXPORTS) \
6333 for flag in $(EXTRA_HOST_FLAGS) ; do \
6334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6335 done; \
6336 echo "Doing installcheck in dosutils" ; \
6337 (cd dosutils && \
6338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6340 "RANLIB=$${RANLIB}" \
6341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6342 installcheck) \
6343 || exit 1
6345 @endif dosutils
6347 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6348 maybe-mostlyclean-dosutils:
6349 @if dosutils
6350 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6352 mostlyclean-dosutils:
6353 @[ -f ./dosutils/Makefile ] || exit 0; \
6354 r=`${PWD_COMMAND}`; export r; \
6355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6356 $(SET_LIB_PATH) \
6357 $(HOST_EXPORTS) \
6358 for flag in $(EXTRA_HOST_FLAGS) ; do \
6359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6360 done; \
6361 echo "Doing mostlyclean in dosutils" ; \
6362 (cd dosutils && \
6363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6365 "RANLIB=$${RANLIB}" \
6366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6367 mostlyclean) \
6368 || exit 1
6370 @endif dosutils
6372 .PHONY: maybe-clean-dosutils clean-dosutils
6373 maybe-clean-dosutils:
6374 @if dosutils
6375 maybe-clean-dosutils: clean-dosutils
6377 clean-dosutils:
6378 @[ -f ./dosutils/Makefile ] || exit 0; \
6379 r=`${PWD_COMMAND}`; export r; \
6380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6381 $(SET_LIB_PATH) \
6382 $(HOST_EXPORTS) \
6383 for flag in $(EXTRA_HOST_FLAGS) ; do \
6384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6385 done; \
6386 echo "Doing clean in dosutils" ; \
6387 (cd dosutils && \
6388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6390 "RANLIB=$${RANLIB}" \
6391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6392 clean) \
6393 || exit 1
6395 @endif dosutils
6397 .PHONY: maybe-distclean-dosutils distclean-dosutils
6398 maybe-distclean-dosutils:
6399 @if dosutils
6400 maybe-distclean-dosutils: distclean-dosutils
6402 distclean-dosutils:
6403 @[ -f ./dosutils/Makefile ] || exit 0; \
6404 r=`${PWD_COMMAND}`; export r; \
6405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6406 $(SET_LIB_PATH) \
6407 $(HOST_EXPORTS) \
6408 for flag in $(EXTRA_HOST_FLAGS) ; do \
6409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6410 done; \
6411 echo "Doing distclean in dosutils" ; \
6412 (cd dosutils && \
6413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6415 "RANLIB=$${RANLIB}" \
6416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6417 distclean) \
6418 || exit 1
6420 @endif dosutils
6422 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6423 maybe-maintainer-clean-dosutils:
6424 @if dosutils
6425 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6427 maintainer-clean-dosutils:
6428 @[ -f ./dosutils/Makefile ] || exit 0; \
6429 r=`${PWD_COMMAND}`; export r; \
6430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6431 $(SET_LIB_PATH) \
6432 $(HOST_EXPORTS) \
6433 for flag in $(EXTRA_HOST_FLAGS) ; do \
6434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6435 done; \
6436 echo "Doing maintainer-clean in dosutils" ; \
6437 (cd dosutils && \
6438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6440 "RANLIB=$${RANLIB}" \
6441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6442 maintainer-clean) \
6443 || exit 1
6445 @endif dosutils
6448 .PHONY: configure-etc maybe-configure-etc
6449 maybe-configure-etc:
6450 @if etc
6451 maybe-configure-etc: configure-etc
6452 configure-etc:
6453 @test ! -f etc/Makefile || exit 0; \
6454 [ -d etc ] || mkdir etc; \
6455 r=`${PWD_COMMAND}`; export r; \
6456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6457 $(HOST_EXPORTS) \
6458 echo Configuring in etc; \
6459 cd etc || exit 1; \
6460 case $(srcdir) in \
6461 \.) \
6462 srcdiroption="--srcdir=."; \
6463 libsrcdir=".";; \
6464 /* | [A-Za-z]:[\\/]*) \
6465 srcdiroption="--srcdir=$(srcdir)/etc"; \
6466 libsrcdir="$$s/etc";; \
6467 *) \
6468 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6469 libsrcdir="$$s/etc";; \
6470 esac; \
6471 $(SHELL) $${libsrcdir}/configure \
6472 $(HOST_CONFIGARGS) $${srcdiroption} \
6473 || exit 1
6474 @endif etc
6476 .PHONY: all-etc maybe-all-etc
6477 maybe-all-etc:
6478 @if etc
6479 maybe-all-etc: all-etc
6480 all-etc: configure-etc
6481 @r=`${PWD_COMMAND}`; export r; \
6482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6483 $(SET_LIB_PATH) \
6484 $(HOST_EXPORTS) \
6485 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
6486 @endif etc
6488 .PHONY: check-etc maybe-check-etc
6489 maybe-check-etc:
6490 @if etc
6491 maybe-check-etc: check-etc
6493 check-etc:
6494 @r=`${PWD_COMMAND}`; export r; \
6495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6496 $(SET_LIB_PATH) \
6497 $(HOST_EXPORTS) \
6498 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6500 @endif etc
6502 .PHONY: install-etc maybe-install-etc
6503 maybe-install-etc:
6504 @if etc
6505 maybe-install-etc: install-etc
6507 install-etc: installdirs
6508 @r=`${PWD_COMMAND}`; export r; \
6509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6510 $(SET_LIB_PATH) \
6511 $(HOST_EXPORTS) \
6512 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6514 @endif etc
6516 # Other targets (info, dvi, etc.)
6518 .PHONY: maybe-info-etc info-etc
6519 maybe-info-etc:
6520 @if etc
6521 maybe-info-etc: info-etc
6523 info-etc: \
6524 configure-etc
6525 @[ -f ./etc/Makefile ] || exit 0; \
6526 r=`${PWD_COMMAND}`; export r; \
6527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6528 $(SET_LIB_PATH) \
6529 $(HOST_EXPORTS) \
6530 for flag in $(EXTRA_HOST_FLAGS) ; do \
6531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6532 done; \
6533 echo "Doing info in etc" ; \
6534 (cd etc && \
6535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6537 "RANLIB=$${RANLIB}" \
6538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6539 info) \
6540 || exit 1
6542 @endif etc
6544 .PHONY: maybe-dvi-etc dvi-etc
6545 maybe-dvi-etc:
6546 @if etc
6547 maybe-dvi-etc: dvi-etc
6549 dvi-etc: \
6550 configure-etc
6551 @[ -f ./etc/Makefile ] || exit 0; \
6552 r=`${PWD_COMMAND}`; export r; \
6553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6554 $(SET_LIB_PATH) \
6555 $(HOST_EXPORTS) \
6556 for flag in $(EXTRA_HOST_FLAGS) ; do \
6557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6558 done; \
6559 echo "Doing dvi in etc" ; \
6560 (cd etc && \
6561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6563 "RANLIB=$${RANLIB}" \
6564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6565 dvi) \
6566 || exit 1
6568 @endif etc
6570 .PHONY: maybe-TAGS-etc TAGS-etc
6571 maybe-TAGS-etc:
6572 @if etc
6573 maybe-TAGS-etc: TAGS-etc
6575 TAGS-etc: \
6576 configure-etc
6577 @[ -f ./etc/Makefile ] || exit 0; \
6578 r=`${PWD_COMMAND}`; export r; \
6579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6580 $(SET_LIB_PATH) \
6581 $(HOST_EXPORTS) \
6582 for flag in $(EXTRA_HOST_FLAGS) ; do \
6583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6584 done; \
6585 echo "Doing TAGS in etc" ; \
6586 (cd etc && \
6587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6589 "RANLIB=$${RANLIB}" \
6590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6591 TAGS) \
6592 || exit 1
6594 @endif etc
6596 .PHONY: maybe-install-info-etc install-info-etc
6597 maybe-install-info-etc:
6598 @if etc
6599 maybe-install-info-etc: install-info-etc
6601 install-info-etc: \
6602 configure-etc \
6603 info-etc
6604 @[ -f ./etc/Makefile ] || exit 0; \
6605 r=`${PWD_COMMAND}`; export r; \
6606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6607 $(SET_LIB_PATH) \
6608 $(HOST_EXPORTS) \
6609 for flag in $(EXTRA_HOST_FLAGS) ; do \
6610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6611 done; \
6612 echo "Doing install-info in etc" ; \
6613 (cd etc && \
6614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6616 "RANLIB=$${RANLIB}" \
6617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6618 install-info) \
6619 || exit 1
6621 @endif etc
6623 .PHONY: maybe-installcheck-etc installcheck-etc
6624 maybe-installcheck-etc:
6625 @if etc
6626 maybe-installcheck-etc: installcheck-etc
6628 installcheck-etc: \
6629 configure-etc
6630 @[ -f ./etc/Makefile ] || exit 0; \
6631 r=`${PWD_COMMAND}`; export r; \
6632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6633 $(SET_LIB_PATH) \
6634 $(HOST_EXPORTS) \
6635 for flag in $(EXTRA_HOST_FLAGS) ; do \
6636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6637 done; \
6638 echo "Doing installcheck in etc" ; \
6639 (cd etc && \
6640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6642 "RANLIB=$${RANLIB}" \
6643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6644 installcheck) \
6645 || exit 1
6647 @endif etc
6649 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6650 maybe-mostlyclean-etc:
6651 @if etc
6652 maybe-mostlyclean-etc: mostlyclean-etc
6654 mostlyclean-etc:
6655 @[ -f ./etc/Makefile ] || exit 0; \
6656 r=`${PWD_COMMAND}`; export r; \
6657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6658 $(SET_LIB_PATH) \
6659 $(HOST_EXPORTS) \
6660 for flag in $(EXTRA_HOST_FLAGS) ; do \
6661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6662 done; \
6663 echo "Doing mostlyclean in etc" ; \
6664 (cd etc && \
6665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6667 "RANLIB=$${RANLIB}" \
6668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6669 mostlyclean) \
6670 || exit 1
6672 @endif etc
6674 .PHONY: maybe-clean-etc clean-etc
6675 maybe-clean-etc:
6676 @if etc
6677 maybe-clean-etc: clean-etc
6679 clean-etc:
6680 @[ -f ./etc/Makefile ] || exit 0; \
6681 r=`${PWD_COMMAND}`; export r; \
6682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6683 $(SET_LIB_PATH) \
6684 $(HOST_EXPORTS) \
6685 for flag in $(EXTRA_HOST_FLAGS) ; do \
6686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6687 done; \
6688 echo "Doing clean in etc" ; \
6689 (cd etc && \
6690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6692 "RANLIB=$${RANLIB}" \
6693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6694 clean) \
6695 || exit 1
6697 @endif etc
6699 .PHONY: maybe-distclean-etc distclean-etc
6700 maybe-distclean-etc:
6701 @if etc
6702 maybe-distclean-etc: distclean-etc
6704 distclean-etc:
6705 @[ -f ./etc/Makefile ] || exit 0; \
6706 r=`${PWD_COMMAND}`; export r; \
6707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6708 $(SET_LIB_PATH) \
6709 $(HOST_EXPORTS) \
6710 for flag in $(EXTRA_HOST_FLAGS) ; do \
6711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6712 done; \
6713 echo "Doing distclean in etc" ; \
6714 (cd etc && \
6715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6717 "RANLIB=$${RANLIB}" \
6718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6719 distclean) \
6720 || exit 1
6722 @endif etc
6724 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6725 maybe-maintainer-clean-etc:
6726 @if etc
6727 maybe-maintainer-clean-etc: maintainer-clean-etc
6729 maintainer-clean-etc:
6730 @[ -f ./etc/Makefile ] || exit 0; \
6731 r=`${PWD_COMMAND}`; export r; \
6732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6733 $(SET_LIB_PATH) \
6734 $(HOST_EXPORTS) \
6735 for flag in $(EXTRA_HOST_FLAGS) ; do \
6736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6737 done; \
6738 echo "Doing maintainer-clean in etc" ; \
6739 (cd etc && \
6740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6742 "RANLIB=$${RANLIB}" \
6743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6744 maintainer-clean) \
6745 || exit 1
6747 @endif etc
6750 .PHONY: configure-fastjar maybe-configure-fastjar
6751 maybe-configure-fastjar:
6752 @if fastjar
6753 maybe-configure-fastjar: configure-fastjar
6754 configure-fastjar:
6755 @test ! -f fastjar/Makefile || exit 0; \
6756 [ -d fastjar ] || mkdir fastjar; \
6757 r=`${PWD_COMMAND}`; export r; \
6758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6759 $(HOST_EXPORTS) \
6760 echo Configuring in fastjar; \
6761 cd fastjar || exit 1; \
6762 case $(srcdir) in \
6763 \.) \
6764 srcdiroption="--srcdir=."; \
6765 libsrcdir=".";; \
6766 /* | [A-Za-z]:[\\/]*) \
6767 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6768 libsrcdir="$$s/fastjar";; \
6769 *) \
6770 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6771 libsrcdir="$$s/fastjar";; \
6772 esac; \
6773 $(SHELL) $${libsrcdir}/configure \
6774 $(HOST_CONFIGARGS) $${srcdiroption} \
6775 || exit 1
6776 @endif fastjar
6778 .PHONY: all-fastjar maybe-all-fastjar
6779 maybe-all-fastjar:
6780 @if fastjar
6781 maybe-all-fastjar: all-fastjar
6782 all-fastjar: configure-fastjar
6783 @r=`${PWD_COMMAND}`; export r; \
6784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6785 $(SET_LIB_PATH) \
6786 $(HOST_EXPORTS) \
6787 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
6788 @endif fastjar
6790 .PHONY: check-fastjar maybe-check-fastjar
6791 maybe-check-fastjar:
6792 @if fastjar
6793 maybe-check-fastjar: check-fastjar
6795 # This module is only tested in a native toolchain.
6796 check-fastjar:
6797 @if [ '$(host)' = '$(target)' ] ; then \
6798 r=`${PWD_COMMAND}`; export r; \
6799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6800 $(SET_LIB_PATH) \
6801 $(HOST_EXPORTS) \
6802 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6805 @endif fastjar
6807 .PHONY: install-fastjar maybe-install-fastjar
6808 maybe-install-fastjar:
6809 @if fastjar
6810 maybe-install-fastjar: install-fastjar
6812 install-fastjar: installdirs
6813 @r=`${PWD_COMMAND}`; export r; \
6814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6815 $(SET_LIB_PATH) \
6816 $(HOST_EXPORTS) \
6817 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6819 @endif fastjar
6821 # Other targets (info, dvi, etc.)
6823 .PHONY: maybe-info-fastjar info-fastjar
6824 maybe-info-fastjar:
6825 @if fastjar
6826 maybe-info-fastjar: info-fastjar
6828 info-fastjar: \
6829 configure-fastjar
6830 @[ -f ./fastjar/Makefile ] || exit 0; \
6831 r=`${PWD_COMMAND}`; export r; \
6832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6833 $(SET_LIB_PATH) \
6834 $(HOST_EXPORTS) \
6835 for flag in $(EXTRA_HOST_FLAGS) ; do \
6836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6837 done; \
6838 echo "Doing info in fastjar" ; \
6839 (cd fastjar && \
6840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6842 "RANLIB=$${RANLIB}" \
6843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6844 info) \
6845 || exit 1
6847 @endif fastjar
6849 .PHONY: maybe-dvi-fastjar dvi-fastjar
6850 maybe-dvi-fastjar:
6851 @if fastjar
6852 maybe-dvi-fastjar: dvi-fastjar
6854 dvi-fastjar: \
6855 configure-fastjar
6856 @[ -f ./fastjar/Makefile ] || exit 0; \
6857 r=`${PWD_COMMAND}`; export r; \
6858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6859 $(SET_LIB_PATH) \
6860 $(HOST_EXPORTS) \
6861 for flag in $(EXTRA_HOST_FLAGS) ; do \
6862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6863 done; \
6864 echo "Doing dvi in fastjar" ; \
6865 (cd fastjar && \
6866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6868 "RANLIB=$${RANLIB}" \
6869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6870 dvi) \
6871 || exit 1
6873 @endif fastjar
6875 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6876 maybe-TAGS-fastjar:
6877 @if fastjar
6878 maybe-TAGS-fastjar: TAGS-fastjar
6880 TAGS-fastjar: \
6881 configure-fastjar
6882 @[ -f ./fastjar/Makefile ] || exit 0; \
6883 r=`${PWD_COMMAND}`; export r; \
6884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6885 $(SET_LIB_PATH) \
6886 $(HOST_EXPORTS) \
6887 for flag in $(EXTRA_HOST_FLAGS) ; do \
6888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6889 done; \
6890 echo "Doing TAGS in fastjar" ; \
6891 (cd fastjar && \
6892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6894 "RANLIB=$${RANLIB}" \
6895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6896 TAGS) \
6897 || exit 1
6899 @endif fastjar
6901 .PHONY: maybe-install-info-fastjar install-info-fastjar
6902 maybe-install-info-fastjar:
6903 @if fastjar
6904 maybe-install-info-fastjar: install-info-fastjar
6906 install-info-fastjar: \
6907 configure-fastjar \
6908 info-fastjar
6909 @[ -f ./fastjar/Makefile ] || exit 0; \
6910 r=`${PWD_COMMAND}`; export r; \
6911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6912 $(SET_LIB_PATH) \
6913 $(HOST_EXPORTS) \
6914 for flag in $(EXTRA_HOST_FLAGS) ; do \
6915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6916 done; \
6917 echo "Doing install-info in fastjar" ; \
6918 (cd fastjar && \
6919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6921 "RANLIB=$${RANLIB}" \
6922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6923 install-info) \
6924 || exit 1
6926 @endif fastjar
6928 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6929 maybe-installcheck-fastjar:
6930 @if fastjar
6931 maybe-installcheck-fastjar: installcheck-fastjar
6933 installcheck-fastjar: \
6934 configure-fastjar
6935 @[ -f ./fastjar/Makefile ] || exit 0; \
6936 r=`${PWD_COMMAND}`; export r; \
6937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6938 $(SET_LIB_PATH) \
6939 $(HOST_EXPORTS) \
6940 for flag in $(EXTRA_HOST_FLAGS) ; do \
6941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6942 done; \
6943 echo "Doing installcheck in fastjar" ; \
6944 (cd fastjar && \
6945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6947 "RANLIB=$${RANLIB}" \
6948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6949 installcheck) \
6950 || exit 1
6952 @endif fastjar
6954 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6955 maybe-mostlyclean-fastjar:
6956 @if fastjar
6957 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6959 mostlyclean-fastjar:
6960 @[ -f ./fastjar/Makefile ] || exit 0; \
6961 r=`${PWD_COMMAND}`; export r; \
6962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6963 $(SET_LIB_PATH) \
6964 $(HOST_EXPORTS) \
6965 for flag in $(EXTRA_HOST_FLAGS) ; do \
6966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6967 done; \
6968 echo "Doing mostlyclean in fastjar" ; \
6969 (cd fastjar && \
6970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6972 "RANLIB=$${RANLIB}" \
6973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6974 mostlyclean) \
6975 || exit 1
6977 @endif fastjar
6979 .PHONY: maybe-clean-fastjar clean-fastjar
6980 maybe-clean-fastjar:
6981 @if fastjar
6982 maybe-clean-fastjar: clean-fastjar
6984 clean-fastjar:
6985 @[ -f ./fastjar/Makefile ] || exit 0; \
6986 r=`${PWD_COMMAND}`; export r; \
6987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6988 $(SET_LIB_PATH) \
6989 $(HOST_EXPORTS) \
6990 for flag in $(EXTRA_HOST_FLAGS) ; do \
6991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6992 done; \
6993 echo "Doing clean in fastjar" ; \
6994 (cd fastjar && \
6995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6997 "RANLIB=$${RANLIB}" \
6998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6999 clean) \
7000 || exit 1
7002 @endif fastjar
7004 .PHONY: maybe-distclean-fastjar distclean-fastjar
7005 maybe-distclean-fastjar:
7006 @if fastjar
7007 maybe-distclean-fastjar: distclean-fastjar
7009 distclean-fastjar:
7010 @[ -f ./fastjar/Makefile ] || exit 0; \
7011 r=`${PWD_COMMAND}`; export r; \
7012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7013 $(SET_LIB_PATH) \
7014 $(HOST_EXPORTS) \
7015 for flag in $(EXTRA_HOST_FLAGS) ; do \
7016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7017 done; \
7018 echo "Doing distclean in fastjar" ; \
7019 (cd fastjar && \
7020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7022 "RANLIB=$${RANLIB}" \
7023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7024 distclean) \
7025 || exit 1
7027 @endif fastjar
7029 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7030 maybe-maintainer-clean-fastjar:
7031 @if fastjar
7032 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7034 maintainer-clean-fastjar:
7035 @[ -f ./fastjar/Makefile ] || exit 0; \
7036 r=`${PWD_COMMAND}`; export r; \
7037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7038 $(SET_LIB_PATH) \
7039 $(HOST_EXPORTS) \
7040 for flag in $(EXTRA_HOST_FLAGS) ; do \
7041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7042 done; \
7043 echo "Doing maintainer-clean in fastjar" ; \
7044 (cd fastjar && \
7045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7047 "RANLIB=$${RANLIB}" \
7048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7049 maintainer-clean) \
7050 || exit 1
7052 @endif fastjar
7055 .PHONY: configure-fileutils maybe-configure-fileutils
7056 maybe-configure-fileutils:
7057 @if fileutils
7058 maybe-configure-fileutils: configure-fileutils
7059 configure-fileutils:
7060 @test ! -f fileutils/Makefile || exit 0; \
7061 [ -d fileutils ] || mkdir fileutils; \
7062 r=`${PWD_COMMAND}`; export r; \
7063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7064 $(HOST_EXPORTS) \
7065 echo Configuring in fileutils; \
7066 cd fileutils || exit 1; \
7067 case $(srcdir) in \
7068 \.) \
7069 srcdiroption="--srcdir=."; \
7070 libsrcdir=".";; \
7071 /* | [A-Za-z]:[\\/]*) \
7072 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7073 libsrcdir="$$s/fileutils";; \
7074 *) \
7075 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7076 libsrcdir="$$s/fileutils";; \
7077 esac; \
7078 $(SHELL) $${libsrcdir}/configure \
7079 $(HOST_CONFIGARGS) $${srcdiroption} \
7080 || exit 1
7081 @endif fileutils
7083 .PHONY: all-fileutils maybe-all-fileutils
7084 maybe-all-fileutils:
7085 @if fileutils
7086 maybe-all-fileutils: all-fileutils
7087 all-fileutils: configure-fileutils
7088 @r=`${PWD_COMMAND}`; export r; \
7089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7090 $(SET_LIB_PATH) \
7091 $(HOST_EXPORTS) \
7092 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
7093 @endif fileutils
7095 .PHONY: check-fileutils maybe-check-fileutils
7096 maybe-check-fileutils:
7097 @if fileutils
7098 maybe-check-fileutils: check-fileutils
7100 check-fileutils:
7101 @r=`${PWD_COMMAND}`; export r; \
7102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7103 $(SET_LIB_PATH) \
7104 $(HOST_EXPORTS) \
7105 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7107 @endif fileutils
7109 .PHONY: install-fileutils maybe-install-fileutils
7110 maybe-install-fileutils:
7111 @if fileutils
7112 maybe-install-fileutils: install-fileutils
7114 install-fileutils: installdirs
7115 @r=`${PWD_COMMAND}`; export r; \
7116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7117 $(SET_LIB_PATH) \
7118 $(HOST_EXPORTS) \
7119 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7121 @endif fileutils
7123 # Other targets (info, dvi, etc.)
7125 .PHONY: maybe-info-fileutils info-fileutils
7126 maybe-info-fileutils:
7127 @if fileutils
7128 maybe-info-fileutils: info-fileutils
7130 info-fileutils: \
7131 configure-fileutils
7132 @[ -f ./fileutils/Makefile ] || exit 0; \
7133 r=`${PWD_COMMAND}`; export r; \
7134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7135 $(SET_LIB_PATH) \
7136 $(HOST_EXPORTS) \
7137 for flag in $(EXTRA_HOST_FLAGS) ; do \
7138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7139 done; \
7140 echo "Doing info in fileutils" ; \
7141 (cd fileutils && \
7142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7144 "RANLIB=$${RANLIB}" \
7145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7146 info) \
7147 || exit 1
7149 @endif fileutils
7151 .PHONY: maybe-dvi-fileutils dvi-fileutils
7152 maybe-dvi-fileutils:
7153 @if fileutils
7154 maybe-dvi-fileutils: dvi-fileutils
7156 dvi-fileutils: \
7157 configure-fileutils
7158 @[ -f ./fileutils/Makefile ] || exit 0; \
7159 r=`${PWD_COMMAND}`; export r; \
7160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7161 $(SET_LIB_PATH) \
7162 $(HOST_EXPORTS) \
7163 for flag in $(EXTRA_HOST_FLAGS) ; do \
7164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7165 done; \
7166 echo "Doing dvi in fileutils" ; \
7167 (cd fileutils && \
7168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7170 "RANLIB=$${RANLIB}" \
7171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7172 dvi) \
7173 || exit 1
7175 @endif fileutils
7177 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7178 maybe-TAGS-fileutils:
7179 @if fileutils
7180 maybe-TAGS-fileutils: TAGS-fileutils
7182 TAGS-fileutils: \
7183 configure-fileutils
7184 @[ -f ./fileutils/Makefile ] || exit 0; \
7185 r=`${PWD_COMMAND}`; export r; \
7186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7187 $(SET_LIB_PATH) \
7188 $(HOST_EXPORTS) \
7189 for flag in $(EXTRA_HOST_FLAGS) ; do \
7190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7191 done; \
7192 echo "Doing TAGS in fileutils" ; \
7193 (cd fileutils && \
7194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7196 "RANLIB=$${RANLIB}" \
7197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7198 TAGS) \
7199 || exit 1
7201 @endif fileutils
7203 .PHONY: maybe-install-info-fileutils install-info-fileutils
7204 maybe-install-info-fileutils:
7205 @if fileutils
7206 maybe-install-info-fileutils: install-info-fileutils
7208 install-info-fileutils: \
7209 configure-fileutils \
7210 info-fileutils
7211 @[ -f ./fileutils/Makefile ] || exit 0; \
7212 r=`${PWD_COMMAND}`; export r; \
7213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7214 $(SET_LIB_PATH) \
7215 $(HOST_EXPORTS) \
7216 for flag in $(EXTRA_HOST_FLAGS) ; do \
7217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7218 done; \
7219 echo "Doing install-info in fileutils" ; \
7220 (cd fileutils && \
7221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7223 "RANLIB=$${RANLIB}" \
7224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7225 install-info) \
7226 || exit 1
7228 @endif fileutils
7230 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7231 maybe-installcheck-fileutils:
7232 @if fileutils
7233 maybe-installcheck-fileutils: installcheck-fileutils
7235 installcheck-fileutils: \
7236 configure-fileutils
7237 @[ -f ./fileutils/Makefile ] || exit 0; \
7238 r=`${PWD_COMMAND}`; export r; \
7239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7240 $(SET_LIB_PATH) \
7241 $(HOST_EXPORTS) \
7242 for flag in $(EXTRA_HOST_FLAGS) ; do \
7243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7244 done; \
7245 echo "Doing installcheck in fileutils" ; \
7246 (cd fileutils && \
7247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7249 "RANLIB=$${RANLIB}" \
7250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7251 installcheck) \
7252 || exit 1
7254 @endif fileutils
7256 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7257 maybe-mostlyclean-fileutils:
7258 @if fileutils
7259 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7261 mostlyclean-fileutils:
7262 @[ -f ./fileutils/Makefile ] || exit 0; \
7263 r=`${PWD_COMMAND}`; export r; \
7264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7265 $(SET_LIB_PATH) \
7266 $(HOST_EXPORTS) \
7267 for flag in $(EXTRA_HOST_FLAGS) ; do \
7268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7269 done; \
7270 echo "Doing mostlyclean in fileutils" ; \
7271 (cd fileutils && \
7272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7274 "RANLIB=$${RANLIB}" \
7275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7276 mostlyclean) \
7277 || exit 1
7279 @endif fileutils
7281 .PHONY: maybe-clean-fileutils clean-fileutils
7282 maybe-clean-fileutils:
7283 @if fileutils
7284 maybe-clean-fileutils: clean-fileutils
7286 clean-fileutils:
7287 @[ -f ./fileutils/Makefile ] || exit 0; \
7288 r=`${PWD_COMMAND}`; export r; \
7289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7290 $(SET_LIB_PATH) \
7291 $(HOST_EXPORTS) \
7292 for flag in $(EXTRA_HOST_FLAGS) ; do \
7293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7294 done; \
7295 echo "Doing clean in fileutils" ; \
7296 (cd fileutils && \
7297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7299 "RANLIB=$${RANLIB}" \
7300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7301 clean) \
7302 || exit 1
7304 @endif fileutils
7306 .PHONY: maybe-distclean-fileutils distclean-fileutils
7307 maybe-distclean-fileutils:
7308 @if fileutils
7309 maybe-distclean-fileutils: distclean-fileutils
7311 distclean-fileutils:
7312 @[ -f ./fileutils/Makefile ] || exit 0; \
7313 r=`${PWD_COMMAND}`; export r; \
7314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7315 $(SET_LIB_PATH) \
7316 $(HOST_EXPORTS) \
7317 for flag in $(EXTRA_HOST_FLAGS) ; do \
7318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7319 done; \
7320 echo "Doing distclean in fileutils" ; \
7321 (cd fileutils && \
7322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7324 "RANLIB=$${RANLIB}" \
7325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7326 distclean) \
7327 || exit 1
7329 @endif fileutils
7331 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7332 maybe-maintainer-clean-fileutils:
7333 @if fileutils
7334 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7336 maintainer-clean-fileutils:
7337 @[ -f ./fileutils/Makefile ] || exit 0; \
7338 r=`${PWD_COMMAND}`; export r; \
7339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7340 $(SET_LIB_PATH) \
7341 $(HOST_EXPORTS) \
7342 for flag in $(EXTRA_HOST_FLAGS) ; do \
7343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7344 done; \
7345 echo "Doing maintainer-clean in fileutils" ; \
7346 (cd fileutils && \
7347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7349 "RANLIB=$${RANLIB}" \
7350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7351 maintainer-clean) \
7352 || exit 1
7354 @endif fileutils
7357 .PHONY: configure-findutils maybe-configure-findutils
7358 maybe-configure-findutils:
7359 @if findutils
7360 maybe-configure-findutils: configure-findutils
7361 configure-findutils:
7362 @test ! -f findutils/Makefile || exit 0; \
7363 [ -d findutils ] || mkdir findutils; \
7364 r=`${PWD_COMMAND}`; export r; \
7365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7366 $(HOST_EXPORTS) \
7367 echo Configuring in findutils; \
7368 cd findutils || exit 1; \
7369 case $(srcdir) in \
7370 \.) \
7371 srcdiroption="--srcdir=."; \
7372 libsrcdir=".";; \
7373 /* | [A-Za-z]:[\\/]*) \
7374 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7375 libsrcdir="$$s/findutils";; \
7376 *) \
7377 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7378 libsrcdir="$$s/findutils";; \
7379 esac; \
7380 $(SHELL) $${libsrcdir}/configure \
7381 $(HOST_CONFIGARGS) $${srcdiroption} \
7382 || exit 1
7383 @endif findutils
7385 .PHONY: all-findutils maybe-all-findutils
7386 maybe-all-findutils:
7387 @if findutils
7388 maybe-all-findutils: all-findutils
7389 all-findutils: configure-findutils
7390 @r=`${PWD_COMMAND}`; export r; \
7391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7392 $(SET_LIB_PATH) \
7393 $(HOST_EXPORTS) \
7394 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
7395 @endif findutils
7397 .PHONY: check-findutils maybe-check-findutils
7398 maybe-check-findutils:
7399 @if findutils
7400 maybe-check-findutils: check-findutils
7402 check-findutils:
7403 @r=`${PWD_COMMAND}`; export r; \
7404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7405 $(SET_LIB_PATH) \
7406 $(HOST_EXPORTS) \
7407 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7409 @endif findutils
7411 .PHONY: install-findutils maybe-install-findutils
7412 maybe-install-findutils:
7413 @if findutils
7414 maybe-install-findutils: install-findutils
7416 install-findutils: installdirs
7417 @r=`${PWD_COMMAND}`; export r; \
7418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7419 $(SET_LIB_PATH) \
7420 $(HOST_EXPORTS) \
7421 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7423 @endif findutils
7425 # Other targets (info, dvi, etc.)
7427 .PHONY: maybe-info-findutils info-findutils
7428 maybe-info-findutils:
7429 @if findutils
7430 maybe-info-findutils: info-findutils
7432 info-findutils: \
7433 configure-findutils
7434 @[ -f ./findutils/Makefile ] || exit 0; \
7435 r=`${PWD_COMMAND}`; export r; \
7436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7437 $(SET_LIB_PATH) \
7438 $(HOST_EXPORTS) \
7439 for flag in $(EXTRA_HOST_FLAGS) ; do \
7440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7441 done; \
7442 echo "Doing info in findutils" ; \
7443 (cd findutils && \
7444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7446 "RANLIB=$${RANLIB}" \
7447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7448 info) \
7449 || exit 1
7451 @endif findutils
7453 .PHONY: maybe-dvi-findutils dvi-findutils
7454 maybe-dvi-findutils:
7455 @if findutils
7456 maybe-dvi-findutils: dvi-findutils
7458 dvi-findutils: \
7459 configure-findutils
7460 @[ -f ./findutils/Makefile ] || exit 0; \
7461 r=`${PWD_COMMAND}`; export r; \
7462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7463 $(SET_LIB_PATH) \
7464 $(HOST_EXPORTS) \
7465 for flag in $(EXTRA_HOST_FLAGS) ; do \
7466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7467 done; \
7468 echo "Doing dvi in findutils" ; \
7469 (cd findutils && \
7470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7472 "RANLIB=$${RANLIB}" \
7473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7474 dvi) \
7475 || exit 1
7477 @endif findutils
7479 .PHONY: maybe-TAGS-findutils TAGS-findutils
7480 maybe-TAGS-findutils:
7481 @if findutils
7482 maybe-TAGS-findutils: TAGS-findutils
7484 TAGS-findutils: \
7485 configure-findutils
7486 @[ -f ./findutils/Makefile ] || exit 0; \
7487 r=`${PWD_COMMAND}`; export r; \
7488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7489 $(SET_LIB_PATH) \
7490 $(HOST_EXPORTS) \
7491 for flag in $(EXTRA_HOST_FLAGS) ; do \
7492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7493 done; \
7494 echo "Doing TAGS in findutils" ; \
7495 (cd findutils && \
7496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7498 "RANLIB=$${RANLIB}" \
7499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7500 TAGS) \
7501 || exit 1
7503 @endif findutils
7505 .PHONY: maybe-install-info-findutils install-info-findutils
7506 maybe-install-info-findutils:
7507 @if findutils
7508 maybe-install-info-findutils: install-info-findutils
7510 install-info-findutils: \
7511 configure-findutils \
7512 info-findutils
7513 @[ -f ./findutils/Makefile ] || exit 0; \
7514 r=`${PWD_COMMAND}`; export r; \
7515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7516 $(SET_LIB_PATH) \
7517 $(HOST_EXPORTS) \
7518 for flag in $(EXTRA_HOST_FLAGS) ; do \
7519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7520 done; \
7521 echo "Doing install-info in findutils" ; \
7522 (cd findutils && \
7523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7525 "RANLIB=$${RANLIB}" \
7526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7527 install-info) \
7528 || exit 1
7530 @endif findutils
7532 .PHONY: maybe-installcheck-findutils installcheck-findutils
7533 maybe-installcheck-findutils:
7534 @if findutils
7535 maybe-installcheck-findutils: installcheck-findutils
7537 installcheck-findutils: \
7538 configure-findutils
7539 @[ -f ./findutils/Makefile ] || exit 0; \
7540 r=`${PWD_COMMAND}`; export r; \
7541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7542 $(SET_LIB_PATH) \
7543 $(HOST_EXPORTS) \
7544 for flag in $(EXTRA_HOST_FLAGS) ; do \
7545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7546 done; \
7547 echo "Doing installcheck in findutils" ; \
7548 (cd findutils && \
7549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7551 "RANLIB=$${RANLIB}" \
7552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7553 installcheck) \
7554 || exit 1
7556 @endif findutils
7558 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7559 maybe-mostlyclean-findutils:
7560 @if findutils
7561 maybe-mostlyclean-findutils: mostlyclean-findutils
7563 mostlyclean-findutils:
7564 @[ -f ./findutils/Makefile ] || exit 0; \
7565 r=`${PWD_COMMAND}`; export r; \
7566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7567 $(SET_LIB_PATH) \
7568 $(HOST_EXPORTS) \
7569 for flag in $(EXTRA_HOST_FLAGS) ; do \
7570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7571 done; \
7572 echo "Doing mostlyclean in findutils" ; \
7573 (cd findutils && \
7574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7576 "RANLIB=$${RANLIB}" \
7577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7578 mostlyclean) \
7579 || exit 1
7581 @endif findutils
7583 .PHONY: maybe-clean-findutils clean-findutils
7584 maybe-clean-findutils:
7585 @if findutils
7586 maybe-clean-findutils: clean-findutils
7588 clean-findutils:
7589 @[ -f ./findutils/Makefile ] || exit 0; \
7590 r=`${PWD_COMMAND}`; export r; \
7591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7592 $(SET_LIB_PATH) \
7593 $(HOST_EXPORTS) \
7594 for flag in $(EXTRA_HOST_FLAGS) ; do \
7595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7596 done; \
7597 echo "Doing clean in findutils" ; \
7598 (cd findutils && \
7599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7601 "RANLIB=$${RANLIB}" \
7602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7603 clean) \
7604 || exit 1
7606 @endif findutils
7608 .PHONY: maybe-distclean-findutils distclean-findutils
7609 maybe-distclean-findutils:
7610 @if findutils
7611 maybe-distclean-findutils: distclean-findutils
7613 distclean-findutils:
7614 @[ -f ./findutils/Makefile ] || exit 0; \
7615 r=`${PWD_COMMAND}`; export r; \
7616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7617 $(SET_LIB_PATH) \
7618 $(HOST_EXPORTS) \
7619 for flag in $(EXTRA_HOST_FLAGS) ; do \
7620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7621 done; \
7622 echo "Doing distclean in findutils" ; \
7623 (cd findutils && \
7624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7626 "RANLIB=$${RANLIB}" \
7627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7628 distclean) \
7629 || exit 1
7631 @endif findutils
7633 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7634 maybe-maintainer-clean-findutils:
7635 @if findutils
7636 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7638 maintainer-clean-findutils:
7639 @[ -f ./findutils/Makefile ] || exit 0; \
7640 r=`${PWD_COMMAND}`; export r; \
7641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7642 $(SET_LIB_PATH) \
7643 $(HOST_EXPORTS) \
7644 for flag in $(EXTRA_HOST_FLAGS) ; do \
7645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7646 done; \
7647 echo "Doing maintainer-clean in findutils" ; \
7648 (cd findutils && \
7649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7651 "RANLIB=$${RANLIB}" \
7652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7653 maintainer-clean) \
7654 || exit 1
7656 @endif findutils
7659 .PHONY: configure-find maybe-configure-find
7660 maybe-configure-find:
7661 @if find
7662 maybe-configure-find: configure-find
7663 configure-find:
7664 @test ! -f find/Makefile || exit 0; \
7665 [ -d find ] || mkdir find; \
7666 r=`${PWD_COMMAND}`; export r; \
7667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7668 $(HOST_EXPORTS) \
7669 echo Configuring in find; \
7670 cd find || exit 1; \
7671 case $(srcdir) in \
7672 \.) \
7673 srcdiroption="--srcdir=."; \
7674 libsrcdir=".";; \
7675 /* | [A-Za-z]:[\\/]*) \
7676 srcdiroption="--srcdir=$(srcdir)/find"; \
7677 libsrcdir="$$s/find";; \
7678 *) \
7679 srcdiroption="--srcdir=../$(srcdir)/find"; \
7680 libsrcdir="$$s/find";; \
7681 esac; \
7682 $(SHELL) $${libsrcdir}/configure \
7683 $(HOST_CONFIGARGS) $${srcdiroption} \
7684 || exit 1
7685 @endif find
7687 .PHONY: all-find maybe-all-find
7688 maybe-all-find:
7689 @if find
7690 maybe-all-find: all-find
7691 all-find: configure-find
7692 @r=`${PWD_COMMAND}`; export r; \
7693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7694 $(SET_LIB_PATH) \
7695 $(HOST_EXPORTS) \
7696 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
7697 @endif find
7699 .PHONY: check-find maybe-check-find
7700 maybe-check-find:
7701 @if find
7702 maybe-check-find: check-find
7704 check-find:
7705 @r=`${PWD_COMMAND}`; export r; \
7706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7707 $(SET_LIB_PATH) \
7708 $(HOST_EXPORTS) \
7709 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7711 @endif find
7713 .PHONY: install-find maybe-install-find
7714 maybe-install-find:
7715 @if find
7716 maybe-install-find: install-find
7718 install-find: installdirs
7719 @r=`${PWD_COMMAND}`; export r; \
7720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7721 $(SET_LIB_PATH) \
7722 $(HOST_EXPORTS) \
7723 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7725 @endif find
7727 # Other targets (info, dvi, etc.)
7729 .PHONY: maybe-info-find info-find
7730 maybe-info-find:
7731 @if find
7732 maybe-info-find: info-find
7734 info-find: \
7735 configure-find
7736 @[ -f ./find/Makefile ] || exit 0; \
7737 r=`${PWD_COMMAND}`; export r; \
7738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7739 $(SET_LIB_PATH) \
7740 $(HOST_EXPORTS) \
7741 for flag in $(EXTRA_HOST_FLAGS) ; do \
7742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7743 done; \
7744 echo "Doing info in find" ; \
7745 (cd find && \
7746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7748 "RANLIB=$${RANLIB}" \
7749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7750 info) \
7751 || exit 1
7753 @endif find
7755 .PHONY: maybe-dvi-find dvi-find
7756 maybe-dvi-find:
7757 @if find
7758 maybe-dvi-find: dvi-find
7760 dvi-find: \
7761 configure-find
7762 @[ -f ./find/Makefile ] || exit 0; \
7763 r=`${PWD_COMMAND}`; export r; \
7764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7765 $(SET_LIB_PATH) \
7766 $(HOST_EXPORTS) \
7767 for flag in $(EXTRA_HOST_FLAGS) ; do \
7768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7769 done; \
7770 echo "Doing dvi in find" ; \
7771 (cd find && \
7772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7774 "RANLIB=$${RANLIB}" \
7775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7776 dvi) \
7777 || exit 1
7779 @endif find
7781 .PHONY: maybe-TAGS-find TAGS-find
7782 maybe-TAGS-find:
7783 @if find
7784 maybe-TAGS-find: TAGS-find
7786 TAGS-find: \
7787 configure-find
7788 @[ -f ./find/Makefile ] || exit 0; \
7789 r=`${PWD_COMMAND}`; export r; \
7790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7791 $(SET_LIB_PATH) \
7792 $(HOST_EXPORTS) \
7793 for flag in $(EXTRA_HOST_FLAGS) ; do \
7794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7795 done; \
7796 echo "Doing TAGS in find" ; \
7797 (cd find && \
7798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7800 "RANLIB=$${RANLIB}" \
7801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7802 TAGS) \
7803 || exit 1
7805 @endif find
7807 .PHONY: maybe-install-info-find install-info-find
7808 maybe-install-info-find:
7809 @if find
7810 maybe-install-info-find: install-info-find
7812 install-info-find: \
7813 configure-find \
7814 info-find
7815 @[ -f ./find/Makefile ] || exit 0; \
7816 r=`${PWD_COMMAND}`; export r; \
7817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7818 $(SET_LIB_PATH) \
7819 $(HOST_EXPORTS) \
7820 for flag in $(EXTRA_HOST_FLAGS) ; do \
7821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7822 done; \
7823 echo "Doing install-info in find" ; \
7824 (cd find && \
7825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7827 "RANLIB=$${RANLIB}" \
7828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7829 install-info) \
7830 || exit 1
7832 @endif find
7834 .PHONY: maybe-installcheck-find installcheck-find
7835 maybe-installcheck-find:
7836 @if find
7837 maybe-installcheck-find: installcheck-find
7839 installcheck-find: \
7840 configure-find
7841 @[ -f ./find/Makefile ] || exit 0; \
7842 r=`${PWD_COMMAND}`; export r; \
7843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7844 $(SET_LIB_PATH) \
7845 $(HOST_EXPORTS) \
7846 for flag in $(EXTRA_HOST_FLAGS) ; do \
7847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7848 done; \
7849 echo "Doing installcheck in find" ; \
7850 (cd find && \
7851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7853 "RANLIB=$${RANLIB}" \
7854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7855 installcheck) \
7856 || exit 1
7858 @endif find
7860 .PHONY: maybe-mostlyclean-find mostlyclean-find
7861 maybe-mostlyclean-find:
7862 @if find
7863 maybe-mostlyclean-find: mostlyclean-find
7865 mostlyclean-find:
7866 @[ -f ./find/Makefile ] || exit 0; \
7867 r=`${PWD_COMMAND}`; export r; \
7868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7869 $(SET_LIB_PATH) \
7870 $(HOST_EXPORTS) \
7871 for flag in $(EXTRA_HOST_FLAGS) ; do \
7872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7873 done; \
7874 echo "Doing mostlyclean in find" ; \
7875 (cd find && \
7876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7878 "RANLIB=$${RANLIB}" \
7879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7880 mostlyclean) \
7881 || exit 1
7883 @endif find
7885 .PHONY: maybe-clean-find clean-find
7886 maybe-clean-find:
7887 @if find
7888 maybe-clean-find: clean-find
7890 clean-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 clean 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 clean) \
7906 || exit 1
7908 @endif find
7910 .PHONY: maybe-distclean-find distclean-find
7911 maybe-distclean-find:
7912 @if find
7913 maybe-distclean-find: distclean-find
7915 distclean-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 distclean 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 distclean) \
7931 || exit 1
7933 @endif find
7935 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7936 maybe-maintainer-clean-find:
7937 @if find
7938 maybe-maintainer-clean-find: maintainer-clean-find
7940 maintainer-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 maintainer-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 maintainer-clean) \
7956 || exit 1
7958 @endif find
7961 .PHONY: configure-flex maybe-configure-flex
7962 maybe-configure-flex:
7963 @if flex
7964 maybe-configure-flex: configure-flex
7965 configure-flex:
7966 @test ! -f flex/Makefile || exit 0; \
7967 [ -d flex ] || mkdir flex; \
7968 r=`${PWD_COMMAND}`; export r; \
7969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7970 $(HOST_EXPORTS) \
7971 echo Configuring in flex; \
7972 cd flex || exit 1; \
7973 case $(srcdir) in \
7974 \.) \
7975 srcdiroption="--srcdir=."; \
7976 libsrcdir=".";; \
7977 /* | [A-Za-z]:[\\/]*) \
7978 srcdiroption="--srcdir=$(srcdir)/flex"; \
7979 libsrcdir="$$s/flex";; \
7980 *) \
7981 srcdiroption="--srcdir=../$(srcdir)/flex"; \
7982 libsrcdir="$$s/flex";; \
7983 esac; \
7984 $(SHELL) $${libsrcdir}/configure \
7985 $(HOST_CONFIGARGS) $${srcdiroption} \
7986 || exit 1
7987 @endif flex
7989 .PHONY: all-flex maybe-all-flex
7990 maybe-all-flex:
7991 @if flex
7992 maybe-all-flex: all-flex
7993 all-flex: configure-flex
7994 @r=`${PWD_COMMAND}`; export r; \
7995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7996 $(SET_LIB_PATH) \
7997 $(HOST_EXPORTS) \
7998 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
7999 @endif flex
8001 .PHONY: check-flex maybe-check-flex
8002 maybe-check-flex:
8003 @if flex
8004 maybe-check-flex: check-flex
8006 # This module is only tested in a native toolchain.
8007 check-flex:
8008 @if [ '$(host)' = '$(target)' ] ; then \
8009 r=`${PWD_COMMAND}`; export r; \
8010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8011 $(SET_LIB_PATH) \
8012 $(HOST_EXPORTS) \
8013 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8016 @endif flex
8018 .PHONY: install-flex maybe-install-flex
8019 maybe-install-flex:
8020 @if flex
8021 maybe-install-flex: install-flex
8023 install-flex: installdirs
8024 @r=`${PWD_COMMAND}`; export r; \
8025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8026 $(SET_LIB_PATH) \
8027 $(HOST_EXPORTS) \
8028 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8030 @endif flex
8032 # Other targets (info, dvi, etc.)
8034 .PHONY: maybe-info-flex info-flex
8035 maybe-info-flex:
8036 @if flex
8037 maybe-info-flex: info-flex
8039 info-flex: \
8040 configure-flex
8041 @[ -f ./flex/Makefile ] || exit 0; \
8042 r=`${PWD_COMMAND}`; export r; \
8043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8044 $(SET_LIB_PATH) \
8045 $(HOST_EXPORTS) \
8046 for flag in $(EXTRA_HOST_FLAGS) ; do \
8047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8048 done; \
8049 echo "Doing info in flex" ; \
8050 (cd flex && \
8051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8053 "RANLIB=$${RANLIB}" \
8054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8055 info) \
8056 || exit 1
8058 @endif flex
8060 .PHONY: maybe-dvi-flex dvi-flex
8061 maybe-dvi-flex:
8062 @if flex
8063 maybe-dvi-flex: dvi-flex
8065 dvi-flex: \
8066 configure-flex
8067 @[ -f ./flex/Makefile ] || exit 0; \
8068 r=`${PWD_COMMAND}`; export r; \
8069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8070 $(SET_LIB_PATH) \
8071 $(HOST_EXPORTS) \
8072 for flag in $(EXTRA_HOST_FLAGS) ; do \
8073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8074 done; \
8075 echo "Doing dvi in flex" ; \
8076 (cd flex && \
8077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8079 "RANLIB=$${RANLIB}" \
8080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8081 dvi) \
8082 || exit 1
8084 @endif flex
8086 .PHONY: maybe-TAGS-flex TAGS-flex
8087 maybe-TAGS-flex:
8088 @if flex
8089 maybe-TAGS-flex: TAGS-flex
8091 TAGS-flex: \
8092 configure-flex
8093 @[ -f ./flex/Makefile ] || exit 0; \
8094 r=`${PWD_COMMAND}`; export r; \
8095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8096 $(SET_LIB_PATH) \
8097 $(HOST_EXPORTS) \
8098 for flag in $(EXTRA_HOST_FLAGS) ; do \
8099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8100 done; \
8101 echo "Doing TAGS in flex" ; \
8102 (cd flex && \
8103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8105 "RANLIB=$${RANLIB}" \
8106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8107 TAGS) \
8108 || exit 1
8110 @endif flex
8112 .PHONY: maybe-install-info-flex install-info-flex
8113 maybe-install-info-flex:
8114 @if flex
8115 maybe-install-info-flex: install-info-flex
8117 install-info-flex: \
8118 configure-flex \
8119 info-flex
8120 @[ -f ./flex/Makefile ] || exit 0; \
8121 r=`${PWD_COMMAND}`; export r; \
8122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8123 $(SET_LIB_PATH) \
8124 $(HOST_EXPORTS) \
8125 for flag in $(EXTRA_HOST_FLAGS) ; do \
8126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8127 done; \
8128 echo "Doing install-info in flex" ; \
8129 (cd flex && \
8130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8132 "RANLIB=$${RANLIB}" \
8133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8134 install-info) \
8135 || exit 1
8137 @endif flex
8139 .PHONY: maybe-installcheck-flex installcheck-flex
8140 maybe-installcheck-flex:
8141 @if flex
8142 maybe-installcheck-flex: installcheck-flex
8144 installcheck-flex: \
8145 configure-flex
8146 @[ -f ./flex/Makefile ] || exit 0; \
8147 r=`${PWD_COMMAND}`; export r; \
8148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8149 $(SET_LIB_PATH) \
8150 $(HOST_EXPORTS) \
8151 for flag in $(EXTRA_HOST_FLAGS) ; do \
8152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8153 done; \
8154 echo "Doing installcheck in flex" ; \
8155 (cd flex && \
8156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8158 "RANLIB=$${RANLIB}" \
8159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8160 installcheck) \
8161 || exit 1
8163 @endif flex
8165 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8166 maybe-mostlyclean-flex:
8167 @if flex
8168 maybe-mostlyclean-flex: mostlyclean-flex
8170 mostlyclean-flex:
8171 @[ -f ./flex/Makefile ] || exit 0; \
8172 r=`${PWD_COMMAND}`; export r; \
8173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8174 $(SET_LIB_PATH) \
8175 $(HOST_EXPORTS) \
8176 for flag in $(EXTRA_HOST_FLAGS) ; do \
8177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8178 done; \
8179 echo "Doing mostlyclean in flex" ; \
8180 (cd flex && \
8181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8183 "RANLIB=$${RANLIB}" \
8184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8185 mostlyclean) \
8186 || exit 1
8188 @endif flex
8190 .PHONY: maybe-clean-flex clean-flex
8191 maybe-clean-flex:
8192 @if flex
8193 maybe-clean-flex: clean-flex
8195 clean-flex:
8196 @[ -f ./flex/Makefile ] || exit 0; \
8197 r=`${PWD_COMMAND}`; export r; \
8198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8199 $(SET_LIB_PATH) \
8200 $(HOST_EXPORTS) \
8201 for flag in $(EXTRA_HOST_FLAGS) ; do \
8202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8203 done; \
8204 echo "Doing clean in flex" ; \
8205 (cd flex && \
8206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8208 "RANLIB=$${RANLIB}" \
8209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8210 clean) \
8211 || exit 1
8213 @endif flex
8215 .PHONY: maybe-distclean-flex distclean-flex
8216 maybe-distclean-flex:
8217 @if flex
8218 maybe-distclean-flex: distclean-flex
8220 distclean-flex:
8221 @[ -f ./flex/Makefile ] || exit 0; \
8222 r=`${PWD_COMMAND}`; export r; \
8223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8224 $(SET_LIB_PATH) \
8225 $(HOST_EXPORTS) \
8226 for flag in $(EXTRA_HOST_FLAGS) ; do \
8227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8228 done; \
8229 echo "Doing distclean in flex" ; \
8230 (cd flex && \
8231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8233 "RANLIB=$${RANLIB}" \
8234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8235 distclean) \
8236 || exit 1
8238 @endif flex
8240 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8241 maybe-maintainer-clean-flex:
8242 @if flex
8243 maybe-maintainer-clean-flex: maintainer-clean-flex
8245 maintainer-clean-flex:
8246 @[ -f ./flex/Makefile ] || exit 0; \
8247 r=`${PWD_COMMAND}`; export r; \
8248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8249 $(SET_LIB_PATH) \
8250 $(HOST_EXPORTS) \
8251 for flag in $(EXTRA_HOST_FLAGS) ; do \
8252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8253 done; \
8254 echo "Doing maintainer-clean in flex" ; \
8255 (cd flex && \
8256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8258 "RANLIB=$${RANLIB}" \
8259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8260 maintainer-clean) \
8261 || exit 1
8263 @endif flex
8266 .PHONY: configure-gas maybe-configure-gas
8267 maybe-configure-gas:
8268 @if gas
8269 maybe-configure-gas: configure-gas
8270 configure-gas:
8271 @test -f stage_last && exit 0; \
8272 test ! -f gas/Makefile || exit 0; \
8273 [ -d gas ] || mkdir gas; \
8274 r=`${PWD_COMMAND}`; export r; \
8275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8276 $(HOST_EXPORTS) \
8277 echo Configuring in gas; \
8278 cd gas || exit 1; \
8279 case $(srcdir) in \
8280 \.) \
8281 srcdiroption="--srcdir=."; \
8282 libsrcdir=".";; \
8283 /* | [A-Za-z]:[\\/]*) \
8284 srcdiroption="--srcdir=$(srcdir)/gas"; \
8285 libsrcdir="$$s/gas";; \
8286 *) \
8287 srcdiroption="--srcdir=../$(srcdir)/gas"; \
8288 libsrcdir="$$s/gas";; \
8289 esac; \
8290 $(SHELL) $${libsrcdir}/configure \
8291 $(HOST_CONFIGARGS) $${srcdiroption} \
8292 || exit 1
8293 @endif gas
8295 .PHONY: all-gas maybe-all-gas
8296 maybe-all-gas:
8297 @if gas
8298 maybe-all-gas: all-gas
8299 all-gas: configure-gas
8300 @test -f stage_last && exit 0; \
8301 r=`${PWD_COMMAND}`; export r; \
8302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8303 $(SET_LIB_PATH) \
8304 $(HOST_EXPORTS) \
8305 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
8306 @endif gas
8308 .PHONY: check-gas maybe-check-gas
8309 maybe-check-gas:
8310 @if gas
8311 maybe-check-gas: check-gas
8313 check-gas:
8314 @r=`${PWD_COMMAND}`; export r; \
8315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8316 $(SET_LIB_PATH) \
8317 $(HOST_EXPORTS) \
8318 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
8320 @endif gas
8322 .PHONY: install-gas maybe-install-gas
8323 maybe-install-gas:
8324 @if gas
8325 maybe-install-gas: install-gas
8327 install-gas: installdirs
8328 @r=`${PWD_COMMAND}`; export r; \
8329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8330 $(SET_LIB_PATH) \
8331 $(HOST_EXPORTS) \
8332 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
8334 @endif gas
8336 # Other targets (info, dvi, etc.)
8338 .PHONY: maybe-info-gas info-gas
8339 maybe-info-gas:
8340 @if gas
8341 maybe-info-gas: info-gas
8343 info-gas: \
8344 configure-gas
8345 @[ -f ./gas/Makefile ] || exit 0; \
8346 r=`${PWD_COMMAND}`; export r; \
8347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8348 $(SET_LIB_PATH) \
8349 $(HOST_EXPORTS) \
8350 for flag in $(EXTRA_HOST_FLAGS) ; do \
8351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8352 done; \
8353 echo "Doing info in gas" ; \
8354 (cd gas && \
8355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8357 "RANLIB=$${RANLIB}" \
8358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8359 info) \
8360 || exit 1
8362 @endif gas
8364 .PHONY: maybe-dvi-gas dvi-gas
8365 maybe-dvi-gas:
8366 @if gas
8367 maybe-dvi-gas: dvi-gas
8369 dvi-gas: \
8370 configure-gas
8371 @[ -f ./gas/Makefile ] || exit 0; \
8372 r=`${PWD_COMMAND}`; export r; \
8373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8374 $(SET_LIB_PATH) \
8375 $(HOST_EXPORTS) \
8376 for flag in $(EXTRA_HOST_FLAGS) ; do \
8377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8378 done; \
8379 echo "Doing dvi in gas" ; \
8380 (cd gas && \
8381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8383 "RANLIB=$${RANLIB}" \
8384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8385 dvi) \
8386 || exit 1
8388 @endif gas
8390 .PHONY: maybe-TAGS-gas TAGS-gas
8391 maybe-TAGS-gas:
8392 @if gas
8393 maybe-TAGS-gas: TAGS-gas
8395 TAGS-gas: \
8396 configure-gas
8397 @[ -f ./gas/Makefile ] || exit 0; \
8398 r=`${PWD_COMMAND}`; export r; \
8399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8400 $(SET_LIB_PATH) \
8401 $(HOST_EXPORTS) \
8402 for flag in $(EXTRA_HOST_FLAGS) ; do \
8403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8404 done; \
8405 echo "Doing TAGS in gas" ; \
8406 (cd gas && \
8407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8409 "RANLIB=$${RANLIB}" \
8410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8411 TAGS) \
8412 || exit 1
8414 @endif gas
8416 .PHONY: maybe-install-info-gas install-info-gas
8417 maybe-install-info-gas:
8418 @if gas
8419 maybe-install-info-gas: install-info-gas
8421 install-info-gas: \
8422 configure-gas \
8423 info-gas
8424 @[ -f ./gas/Makefile ] || exit 0; \
8425 r=`${PWD_COMMAND}`; export r; \
8426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8427 $(SET_LIB_PATH) \
8428 $(HOST_EXPORTS) \
8429 for flag in $(EXTRA_HOST_FLAGS) ; do \
8430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8431 done; \
8432 echo "Doing install-info in gas" ; \
8433 (cd gas && \
8434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8436 "RANLIB=$${RANLIB}" \
8437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8438 install-info) \
8439 || exit 1
8441 @endif gas
8443 .PHONY: maybe-installcheck-gas installcheck-gas
8444 maybe-installcheck-gas:
8445 @if gas
8446 maybe-installcheck-gas: installcheck-gas
8448 installcheck-gas: \
8449 configure-gas
8450 @[ -f ./gas/Makefile ] || exit 0; \
8451 r=`${PWD_COMMAND}`; export r; \
8452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8453 $(SET_LIB_PATH) \
8454 $(HOST_EXPORTS) \
8455 for flag in $(EXTRA_HOST_FLAGS) ; do \
8456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8457 done; \
8458 echo "Doing installcheck in gas" ; \
8459 (cd gas && \
8460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8462 "RANLIB=$${RANLIB}" \
8463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8464 installcheck) \
8465 || exit 1
8467 @endif gas
8469 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8470 maybe-mostlyclean-gas:
8471 @if gas
8472 maybe-mostlyclean-gas: mostlyclean-gas
8474 mostlyclean-gas:
8475 @[ -f ./gas/Makefile ] || exit 0; \
8476 r=`${PWD_COMMAND}`; export r; \
8477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8478 $(SET_LIB_PATH) \
8479 $(HOST_EXPORTS) \
8480 for flag in $(EXTRA_HOST_FLAGS) ; do \
8481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8482 done; \
8483 echo "Doing mostlyclean in gas" ; \
8484 (cd gas && \
8485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8487 "RANLIB=$${RANLIB}" \
8488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8489 mostlyclean) \
8490 || exit 1
8492 @endif gas
8494 .PHONY: maybe-clean-gas clean-gas
8495 maybe-clean-gas:
8496 @if gas
8497 maybe-clean-gas: clean-gas
8499 clean-gas:
8500 @[ -f ./gas/Makefile ] || exit 0; \
8501 r=`${PWD_COMMAND}`; export r; \
8502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8503 $(SET_LIB_PATH) \
8504 $(HOST_EXPORTS) \
8505 for flag in $(EXTRA_HOST_FLAGS) ; do \
8506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8507 done; \
8508 echo "Doing clean in gas" ; \
8509 (cd gas && \
8510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8512 "RANLIB=$${RANLIB}" \
8513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8514 clean) \
8515 || exit 1
8517 @endif gas
8519 .PHONY: maybe-distclean-gas distclean-gas
8520 maybe-distclean-gas:
8521 @if gas
8522 maybe-distclean-gas: distclean-gas
8524 distclean-gas:
8525 @[ -f ./gas/Makefile ] || exit 0; \
8526 r=`${PWD_COMMAND}`; export r; \
8527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8528 $(SET_LIB_PATH) \
8529 $(HOST_EXPORTS) \
8530 for flag in $(EXTRA_HOST_FLAGS) ; do \
8531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8532 done; \
8533 echo "Doing distclean in gas" ; \
8534 (cd gas && \
8535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8537 "RANLIB=$${RANLIB}" \
8538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8539 distclean) \
8540 || exit 1
8542 @endif gas
8544 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8545 maybe-maintainer-clean-gas:
8546 @if gas
8547 maybe-maintainer-clean-gas: maintainer-clean-gas
8549 maintainer-clean-gas:
8550 @[ -f ./gas/Makefile ] || exit 0; \
8551 r=`${PWD_COMMAND}`; export r; \
8552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8553 $(SET_LIB_PATH) \
8554 $(HOST_EXPORTS) \
8555 for flag in $(EXTRA_HOST_FLAGS) ; do \
8556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8557 done; \
8558 echo "Doing maintainer-clean in gas" ; \
8559 (cd gas && \
8560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8562 "RANLIB=$${RANLIB}" \
8563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8564 maintainer-clean) \
8565 || exit 1
8567 @endif gas
8570 .PHONY: configure-gcc maybe-configure-gcc
8571 maybe-configure-gcc:
8572 @if gcc
8573 maybe-configure-gcc: configure-gcc
8574 configure-gcc:
8575 @test -f stage_last && exit 0; \
8576 test ! -f gcc/Makefile || exit 0; \
8577 [ -d gcc ] || mkdir gcc; \
8578 r=`${PWD_COMMAND}`; export r; \
8579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8580 $(HOST_EXPORTS) \
8581 echo Configuring in gcc; \
8582 cd gcc || exit 1; \
8583 case $(srcdir) in \
8584 \.) \
8585 srcdiroption="--srcdir=."; \
8586 libsrcdir=".";; \
8587 /* | [A-Za-z]:[\\/]*) \
8588 srcdiroption="--srcdir=$(srcdir)/gcc"; \
8589 libsrcdir="$$s/gcc";; \
8590 *) \
8591 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
8592 libsrcdir="$$s/gcc";; \
8593 esac; \
8594 $(SHELL) $${libsrcdir}/configure \
8595 $(HOST_CONFIGARGS) $${srcdiroption} \
8596 || exit 1
8597 @endif gcc
8599 .PHONY: all-gcc maybe-all-gcc
8600 maybe-all-gcc:
8601 @if gcc
8602 maybe-all-gcc: all-gcc
8603 all-gcc: configure-gcc
8604 @test -f stage_last && exit 0; \
8605 r=`${PWD_COMMAND}`; export r; \
8606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8607 $(SET_LIB_PATH) \
8608 $(HOST_EXPORTS) \
8609 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
8610 `if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi` )
8611 @endif gcc
8613 .PHONY: check-gcc maybe-check-gcc
8614 maybe-check-gcc:
8615 @if gcc
8616 maybe-check-gcc: check-gcc
8618 check-gcc:
8619 @r=`${PWD_COMMAND}`; export r; \
8620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8621 $(SET_LIB_PATH) \
8622 $(HOST_EXPORTS) \
8623 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
8625 @endif gcc
8627 .PHONY: install-gcc maybe-install-gcc
8628 maybe-install-gcc:
8629 @if gcc
8630 maybe-install-gcc: install-gcc
8632 install-gcc: installdirs
8633 @r=`${PWD_COMMAND}`; export r; \
8634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8635 $(SET_LIB_PATH) \
8636 $(HOST_EXPORTS) \
8637 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
8639 @endif gcc
8641 # Other targets (info, dvi, etc.)
8643 .PHONY: maybe-info-gcc info-gcc
8644 maybe-info-gcc:
8645 @if gcc
8646 maybe-info-gcc: info-gcc
8648 info-gcc: \
8649 configure-gcc
8650 @[ -f ./gcc/Makefile ] || exit 0; \
8651 r=`${PWD_COMMAND}`; export r; \
8652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8653 $(SET_LIB_PATH) \
8654 $(HOST_EXPORTS) \
8655 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8657 done; \
8658 echo "Doing info in gcc" ; \
8659 (cd gcc && \
8660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8662 "RANLIB=$${RANLIB}" \
8663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8664 info) \
8665 || exit 1
8667 @endif gcc
8669 .PHONY: maybe-dvi-gcc dvi-gcc
8670 maybe-dvi-gcc:
8671 @if gcc
8672 maybe-dvi-gcc: dvi-gcc
8674 dvi-gcc: \
8675 configure-gcc
8676 @[ -f ./gcc/Makefile ] || exit 0; \
8677 r=`${PWD_COMMAND}`; export r; \
8678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8679 $(SET_LIB_PATH) \
8680 $(HOST_EXPORTS) \
8681 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8683 done; \
8684 echo "Doing dvi in gcc" ; \
8685 (cd gcc && \
8686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8688 "RANLIB=$${RANLIB}" \
8689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8690 dvi) \
8691 || exit 1
8693 @endif gcc
8695 .PHONY: maybe-TAGS-gcc TAGS-gcc
8696 maybe-TAGS-gcc:
8697 @if gcc
8698 maybe-TAGS-gcc: TAGS-gcc
8700 TAGS-gcc: \
8701 configure-gcc
8702 @[ -f ./gcc/Makefile ] || exit 0; \
8703 r=`${PWD_COMMAND}`; export r; \
8704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8705 $(SET_LIB_PATH) \
8706 $(HOST_EXPORTS) \
8707 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8709 done; \
8710 echo "Doing TAGS in gcc" ; \
8711 (cd gcc && \
8712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8714 "RANLIB=$${RANLIB}" \
8715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8716 TAGS) \
8717 || exit 1
8719 @endif gcc
8721 .PHONY: maybe-install-info-gcc install-info-gcc
8722 maybe-install-info-gcc:
8723 @if gcc
8724 maybe-install-info-gcc: install-info-gcc
8726 install-info-gcc: \
8727 configure-gcc \
8728 info-gcc
8729 @[ -f ./gcc/Makefile ] || exit 0; \
8730 r=`${PWD_COMMAND}`; export r; \
8731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8732 $(SET_LIB_PATH) \
8733 $(HOST_EXPORTS) \
8734 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8736 done; \
8737 echo "Doing install-info in gcc" ; \
8738 (cd gcc && \
8739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8741 "RANLIB=$${RANLIB}" \
8742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8743 install-info) \
8744 || exit 1
8746 @endif gcc
8748 .PHONY: maybe-installcheck-gcc installcheck-gcc
8749 maybe-installcheck-gcc:
8750 @if gcc
8751 maybe-installcheck-gcc: installcheck-gcc
8753 installcheck-gcc: \
8754 configure-gcc
8755 @[ -f ./gcc/Makefile ] || exit 0; \
8756 r=`${PWD_COMMAND}`; export r; \
8757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8758 $(SET_LIB_PATH) \
8759 $(HOST_EXPORTS) \
8760 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8762 done; \
8763 echo "Doing installcheck in gcc" ; \
8764 (cd gcc && \
8765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8767 "RANLIB=$${RANLIB}" \
8768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8769 installcheck) \
8770 || exit 1
8772 @endif gcc
8774 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
8775 maybe-mostlyclean-gcc:
8776 @if gcc
8777 maybe-mostlyclean-gcc: mostlyclean-gcc
8779 mostlyclean-gcc:
8780 @[ -f ./gcc/Makefile ] || exit 0; \
8781 r=`${PWD_COMMAND}`; export r; \
8782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8783 $(SET_LIB_PATH) \
8784 $(HOST_EXPORTS) \
8785 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8787 done; \
8788 echo "Doing mostlyclean in gcc" ; \
8789 (cd gcc && \
8790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8792 "RANLIB=$${RANLIB}" \
8793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8794 mostlyclean) \
8795 || exit 1
8797 @endif gcc
8799 .PHONY: maybe-clean-gcc clean-gcc
8800 maybe-clean-gcc:
8801 @if gcc
8802 maybe-clean-gcc: clean-gcc
8804 clean-gcc:
8805 @[ -f ./gcc/Makefile ] || exit 0; \
8806 r=`${PWD_COMMAND}`; export r; \
8807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8808 $(SET_LIB_PATH) \
8809 $(HOST_EXPORTS) \
8810 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8812 done; \
8813 echo "Doing clean in gcc" ; \
8814 (cd gcc && \
8815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8817 "RANLIB=$${RANLIB}" \
8818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8819 clean) \
8820 || exit 1
8822 @endif gcc
8824 .PHONY: maybe-distclean-gcc distclean-gcc
8825 maybe-distclean-gcc:
8826 @if gcc
8827 maybe-distclean-gcc: distclean-gcc
8829 distclean-gcc:
8830 @[ -f ./gcc/Makefile ] || exit 0; \
8831 r=`${PWD_COMMAND}`; export r; \
8832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8833 $(SET_LIB_PATH) \
8834 $(HOST_EXPORTS) \
8835 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8837 done; \
8838 echo "Doing distclean in gcc" ; \
8839 (cd gcc && \
8840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8842 "RANLIB=$${RANLIB}" \
8843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8844 distclean) \
8845 || exit 1
8847 @endif gcc
8849 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
8850 maybe-maintainer-clean-gcc:
8851 @if gcc
8852 maybe-maintainer-clean-gcc: maintainer-clean-gcc
8854 maintainer-clean-gcc:
8855 @[ -f ./gcc/Makefile ] || exit 0; \
8856 r=`${PWD_COMMAND}`; export r; \
8857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8858 $(SET_LIB_PATH) \
8859 $(HOST_EXPORTS) \
8860 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8862 done; \
8863 echo "Doing maintainer-clean in gcc" ; \
8864 (cd gcc && \
8865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8867 "RANLIB=$${RANLIB}" \
8868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8869 maintainer-clean) \
8870 || exit 1
8872 @endif gcc
8875 .PHONY: configure-gawk maybe-configure-gawk
8876 maybe-configure-gawk:
8877 @if gawk
8878 maybe-configure-gawk: configure-gawk
8879 configure-gawk:
8880 @test ! -f gawk/Makefile || exit 0; \
8881 [ -d gawk ] || mkdir gawk; \
8882 r=`${PWD_COMMAND}`; export r; \
8883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8884 $(HOST_EXPORTS) \
8885 echo Configuring in gawk; \
8886 cd gawk || exit 1; \
8887 case $(srcdir) in \
8888 \.) \
8889 srcdiroption="--srcdir=."; \
8890 libsrcdir=".";; \
8891 /* | [A-Za-z]:[\\/]*) \
8892 srcdiroption="--srcdir=$(srcdir)/gawk"; \
8893 libsrcdir="$$s/gawk";; \
8894 *) \
8895 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8896 libsrcdir="$$s/gawk";; \
8897 esac; \
8898 $(SHELL) $${libsrcdir}/configure \
8899 $(HOST_CONFIGARGS) $${srcdiroption} \
8900 || exit 1
8901 @endif gawk
8903 .PHONY: all-gawk maybe-all-gawk
8904 maybe-all-gawk:
8905 @if gawk
8906 maybe-all-gawk: all-gawk
8907 all-gawk: configure-gawk
8908 @r=`${PWD_COMMAND}`; export r; \
8909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8910 $(SET_LIB_PATH) \
8911 $(HOST_EXPORTS) \
8912 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
8913 @endif gawk
8915 .PHONY: check-gawk maybe-check-gawk
8916 maybe-check-gawk:
8917 @if gawk
8918 maybe-check-gawk: check-gawk
8920 check-gawk:
8921 @r=`${PWD_COMMAND}`; export r; \
8922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8923 $(SET_LIB_PATH) \
8924 $(HOST_EXPORTS) \
8925 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8927 @endif gawk
8929 .PHONY: install-gawk maybe-install-gawk
8930 maybe-install-gawk:
8931 @if gawk
8932 maybe-install-gawk: install-gawk
8934 install-gawk: installdirs
8935 @r=`${PWD_COMMAND}`; export r; \
8936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8937 $(SET_LIB_PATH) \
8938 $(HOST_EXPORTS) \
8939 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8941 @endif gawk
8943 # Other targets (info, dvi, etc.)
8945 .PHONY: maybe-info-gawk info-gawk
8946 maybe-info-gawk:
8947 @if gawk
8948 maybe-info-gawk: info-gawk
8950 info-gawk: \
8951 configure-gawk
8952 @[ -f ./gawk/Makefile ] || exit 0; \
8953 r=`${PWD_COMMAND}`; export r; \
8954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8955 $(SET_LIB_PATH) \
8956 $(HOST_EXPORTS) \
8957 for flag in $(EXTRA_HOST_FLAGS) ; do \
8958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8959 done; \
8960 echo "Doing info in gawk" ; \
8961 (cd gawk && \
8962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8964 "RANLIB=$${RANLIB}" \
8965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8966 info) \
8967 || exit 1
8969 @endif gawk
8971 .PHONY: maybe-dvi-gawk dvi-gawk
8972 maybe-dvi-gawk:
8973 @if gawk
8974 maybe-dvi-gawk: dvi-gawk
8976 dvi-gawk: \
8977 configure-gawk
8978 @[ -f ./gawk/Makefile ] || exit 0; \
8979 r=`${PWD_COMMAND}`; export r; \
8980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8981 $(SET_LIB_PATH) \
8982 $(HOST_EXPORTS) \
8983 for flag in $(EXTRA_HOST_FLAGS) ; do \
8984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8985 done; \
8986 echo "Doing dvi in gawk" ; \
8987 (cd gawk && \
8988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8990 "RANLIB=$${RANLIB}" \
8991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8992 dvi) \
8993 || exit 1
8995 @endif gawk
8997 .PHONY: maybe-TAGS-gawk TAGS-gawk
8998 maybe-TAGS-gawk:
8999 @if gawk
9000 maybe-TAGS-gawk: TAGS-gawk
9002 TAGS-gawk: \
9003 configure-gawk
9004 @[ -f ./gawk/Makefile ] || exit 0; \
9005 r=`${PWD_COMMAND}`; export r; \
9006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9007 $(SET_LIB_PATH) \
9008 $(HOST_EXPORTS) \
9009 for flag in $(EXTRA_HOST_FLAGS) ; do \
9010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9011 done; \
9012 echo "Doing TAGS in gawk" ; \
9013 (cd gawk && \
9014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9016 "RANLIB=$${RANLIB}" \
9017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9018 TAGS) \
9019 || exit 1
9021 @endif gawk
9023 .PHONY: maybe-install-info-gawk install-info-gawk
9024 maybe-install-info-gawk:
9025 @if gawk
9026 maybe-install-info-gawk: install-info-gawk
9028 install-info-gawk: \
9029 configure-gawk \
9030 info-gawk
9031 @[ -f ./gawk/Makefile ] || exit 0; \
9032 r=`${PWD_COMMAND}`; export r; \
9033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9034 $(SET_LIB_PATH) \
9035 $(HOST_EXPORTS) \
9036 for flag in $(EXTRA_HOST_FLAGS) ; do \
9037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9038 done; \
9039 echo "Doing install-info in gawk" ; \
9040 (cd gawk && \
9041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9043 "RANLIB=$${RANLIB}" \
9044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9045 install-info) \
9046 || exit 1
9048 @endif gawk
9050 .PHONY: maybe-installcheck-gawk installcheck-gawk
9051 maybe-installcheck-gawk:
9052 @if gawk
9053 maybe-installcheck-gawk: installcheck-gawk
9055 installcheck-gawk: \
9056 configure-gawk
9057 @[ -f ./gawk/Makefile ] || exit 0; \
9058 r=`${PWD_COMMAND}`; export r; \
9059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9060 $(SET_LIB_PATH) \
9061 $(HOST_EXPORTS) \
9062 for flag in $(EXTRA_HOST_FLAGS) ; do \
9063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9064 done; \
9065 echo "Doing installcheck in gawk" ; \
9066 (cd gawk && \
9067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9069 "RANLIB=$${RANLIB}" \
9070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9071 installcheck) \
9072 || exit 1
9074 @endif gawk
9076 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9077 maybe-mostlyclean-gawk:
9078 @if gawk
9079 maybe-mostlyclean-gawk: mostlyclean-gawk
9081 mostlyclean-gawk:
9082 @[ -f ./gawk/Makefile ] || exit 0; \
9083 r=`${PWD_COMMAND}`; export r; \
9084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9085 $(SET_LIB_PATH) \
9086 $(HOST_EXPORTS) \
9087 for flag in $(EXTRA_HOST_FLAGS) ; do \
9088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9089 done; \
9090 echo "Doing mostlyclean in gawk" ; \
9091 (cd gawk && \
9092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9094 "RANLIB=$${RANLIB}" \
9095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9096 mostlyclean) \
9097 || exit 1
9099 @endif gawk
9101 .PHONY: maybe-clean-gawk clean-gawk
9102 maybe-clean-gawk:
9103 @if gawk
9104 maybe-clean-gawk: clean-gawk
9106 clean-gawk:
9107 @[ -f ./gawk/Makefile ] || exit 0; \
9108 r=`${PWD_COMMAND}`; export r; \
9109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9110 $(SET_LIB_PATH) \
9111 $(HOST_EXPORTS) \
9112 for flag in $(EXTRA_HOST_FLAGS) ; do \
9113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9114 done; \
9115 echo "Doing clean in gawk" ; \
9116 (cd gawk && \
9117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9119 "RANLIB=$${RANLIB}" \
9120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9121 clean) \
9122 || exit 1
9124 @endif gawk
9126 .PHONY: maybe-distclean-gawk distclean-gawk
9127 maybe-distclean-gawk:
9128 @if gawk
9129 maybe-distclean-gawk: distclean-gawk
9131 distclean-gawk:
9132 @[ -f ./gawk/Makefile ] || exit 0; \
9133 r=`${PWD_COMMAND}`; export r; \
9134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9135 $(SET_LIB_PATH) \
9136 $(HOST_EXPORTS) \
9137 for flag in $(EXTRA_HOST_FLAGS) ; do \
9138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9139 done; \
9140 echo "Doing distclean in gawk" ; \
9141 (cd gawk && \
9142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9144 "RANLIB=$${RANLIB}" \
9145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9146 distclean) \
9147 || exit 1
9149 @endif gawk
9151 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9152 maybe-maintainer-clean-gawk:
9153 @if gawk
9154 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9156 maintainer-clean-gawk:
9157 @[ -f ./gawk/Makefile ] || exit 0; \
9158 r=`${PWD_COMMAND}`; export r; \
9159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9160 $(SET_LIB_PATH) \
9161 $(HOST_EXPORTS) \
9162 for flag in $(EXTRA_HOST_FLAGS) ; do \
9163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9164 done; \
9165 echo "Doing maintainer-clean in gawk" ; \
9166 (cd gawk && \
9167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9169 "RANLIB=$${RANLIB}" \
9170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9171 maintainer-clean) \
9172 || exit 1
9174 @endif gawk
9177 .PHONY: configure-gettext maybe-configure-gettext
9178 maybe-configure-gettext:
9179 @if gettext
9180 maybe-configure-gettext: configure-gettext
9181 configure-gettext:
9182 @test ! -f gettext/Makefile || exit 0; \
9183 [ -d gettext ] || mkdir gettext; \
9184 r=`${PWD_COMMAND}`; export r; \
9185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9186 $(HOST_EXPORTS) \
9187 echo Configuring in gettext; \
9188 cd gettext || exit 1; \
9189 case $(srcdir) in \
9190 \.) \
9191 srcdiroption="--srcdir=."; \
9192 libsrcdir=".";; \
9193 /* | [A-Za-z]:[\\/]*) \
9194 srcdiroption="--srcdir=$(srcdir)/gettext"; \
9195 libsrcdir="$$s/gettext";; \
9196 *) \
9197 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
9198 libsrcdir="$$s/gettext";; \
9199 esac; \
9200 $(SHELL) $${libsrcdir}/configure \
9201 $(HOST_CONFIGARGS) $${srcdiroption} \
9202 || exit 1
9203 @endif gettext
9205 .PHONY: all-gettext maybe-all-gettext
9206 maybe-all-gettext:
9207 @if gettext
9208 maybe-all-gettext: all-gettext
9209 all-gettext: configure-gettext
9210 @r=`${PWD_COMMAND}`; export r; \
9211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9212 $(SET_LIB_PATH) \
9213 $(HOST_EXPORTS) \
9214 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
9215 @endif gettext
9217 .PHONY: check-gettext maybe-check-gettext
9218 maybe-check-gettext:
9219 @if gettext
9220 maybe-check-gettext: check-gettext
9222 check-gettext:
9223 @r=`${PWD_COMMAND}`; export r; \
9224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9225 $(SET_LIB_PATH) \
9226 $(HOST_EXPORTS) \
9227 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
9229 @endif gettext
9231 .PHONY: install-gettext maybe-install-gettext
9232 maybe-install-gettext:
9233 @if gettext
9234 maybe-install-gettext: install-gettext
9236 install-gettext: installdirs
9237 @r=`${PWD_COMMAND}`; export r; \
9238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9239 $(SET_LIB_PATH) \
9240 $(HOST_EXPORTS) \
9241 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
9243 @endif gettext
9245 # Other targets (info, dvi, etc.)
9247 .PHONY: maybe-info-gettext info-gettext
9248 maybe-info-gettext:
9249 @if gettext
9250 maybe-info-gettext: info-gettext
9252 info-gettext: \
9253 configure-gettext
9254 @[ -f ./gettext/Makefile ] || exit 0; \
9255 r=`${PWD_COMMAND}`; export r; \
9256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9257 $(SET_LIB_PATH) \
9258 $(HOST_EXPORTS) \
9259 for flag in $(EXTRA_HOST_FLAGS) ; do \
9260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9261 done; \
9262 echo "Doing info in gettext" ; \
9263 (cd gettext && \
9264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9266 "RANLIB=$${RANLIB}" \
9267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9268 info) \
9269 || exit 1
9271 @endif gettext
9273 .PHONY: maybe-dvi-gettext dvi-gettext
9274 maybe-dvi-gettext:
9275 @if gettext
9276 maybe-dvi-gettext: dvi-gettext
9278 dvi-gettext: \
9279 configure-gettext
9280 @[ -f ./gettext/Makefile ] || exit 0; \
9281 r=`${PWD_COMMAND}`; export r; \
9282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9283 $(SET_LIB_PATH) \
9284 $(HOST_EXPORTS) \
9285 for flag in $(EXTRA_HOST_FLAGS) ; do \
9286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9287 done; \
9288 echo "Doing dvi in gettext" ; \
9289 (cd gettext && \
9290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9292 "RANLIB=$${RANLIB}" \
9293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9294 dvi) \
9295 || exit 1
9297 @endif gettext
9299 .PHONY: maybe-TAGS-gettext TAGS-gettext
9300 maybe-TAGS-gettext:
9301 @if gettext
9302 maybe-TAGS-gettext: TAGS-gettext
9304 TAGS-gettext: \
9305 configure-gettext
9306 @[ -f ./gettext/Makefile ] || exit 0; \
9307 r=`${PWD_COMMAND}`; export r; \
9308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9309 $(SET_LIB_PATH) \
9310 $(HOST_EXPORTS) \
9311 for flag in $(EXTRA_HOST_FLAGS) ; do \
9312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9313 done; \
9314 echo "Doing TAGS in gettext" ; \
9315 (cd gettext && \
9316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9318 "RANLIB=$${RANLIB}" \
9319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9320 TAGS) \
9321 || exit 1
9323 @endif gettext
9325 .PHONY: maybe-install-info-gettext install-info-gettext
9326 maybe-install-info-gettext:
9327 @if gettext
9328 maybe-install-info-gettext: install-info-gettext
9330 install-info-gettext: \
9331 configure-gettext \
9332 info-gettext
9333 @[ -f ./gettext/Makefile ] || exit 0; \
9334 r=`${PWD_COMMAND}`; export r; \
9335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9336 $(SET_LIB_PATH) \
9337 $(HOST_EXPORTS) \
9338 for flag in $(EXTRA_HOST_FLAGS) ; do \
9339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9340 done; \
9341 echo "Doing install-info in gettext" ; \
9342 (cd gettext && \
9343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9345 "RANLIB=$${RANLIB}" \
9346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9347 install-info) \
9348 || exit 1
9350 @endif gettext
9352 .PHONY: maybe-installcheck-gettext installcheck-gettext
9353 maybe-installcheck-gettext:
9354 @if gettext
9355 maybe-installcheck-gettext: installcheck-gettext
9357 installcheck-gettext: \
9358 configure-gettext
9359 @[ -f ./gettext/Makefile ] || exit 0; \
9360 r=`${PWD_COMMAND}`; export r; \
9361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9362 $(SET_LIB_PATH) \
9363 $(HOST_EXPORTS) \
9364 for flag in $(EXTRA_HOST_FLAGS) ; do \
9365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9366 done; \
9367 echo "Doing installcheck in gettext" ; \
9368 (cd gettext && \
9369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9371 "RANLIB=$${RANLIB}" \
9372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9373 installcheck) \
9374 || exit 1
9376 @endif gettext
9378 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9379 maybe-mostlyclean-gettext:
9380 @if gettext
9381 maybe-mostlyclean-gettext: mostlyclean-gettext
9383 mostlyclean-gettext:
9384 @[ -f ./gettext/Makefile ] || exit 0; \
9385 r=`${PWD_COMMAND}`; export r; \
9386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9387 $(SET_LIB_PATH) \
9388 $(HOST_EXPORTS) \
9389 for flag in $(EXTRA_HOST_FLAGS) ; do \
9390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9391 done; \
9392 echo "Doing mostlyclean in gettext" ; \
9393 (cd gettext && \
9394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9396 "RANLIB=$${RANLIB}" \
9397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9398 mostlyclean) \
9399 || exit 1
9401 @endif gettext
9403 .PHONY: maybe-clean-gettext clean-gettext
9404 maybe-clean-gettext:
9405 @if gettext
9406 maybe-clean-gettext: clean-gettext
9408 clean-gettext:
9409 @[ -f ./gettext/Makefile ] || exit 0; \
9410 r=`${PWD_COMMAND}`; export r; \
9411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9412 $(SET_LIB_PATH) \
9413 $(HOST_EXPORTS) \
9414 for flag in $(EXTRA_HOST_FLAGS) ; do \
9415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9416 done; \
9417 echo "Doing clean in gettext" ; \
9418 (cd gettext && \
9419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9421 "RANLIB=$${RANLIB}" \
9422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9423 clean) \
9424 || exit 1
9426 @endif gettext
9428 .PHONY: maybe-distclean-gettext distclean-gettext
9429 maybe-distclean-gettext:
9430 @if gettext
9431 maybe-distclean-gettext: distclean-gettext
9433 distclean-gettext:
9434 @[ -f ./gettext/Makefile ] || exit 0; \
9435 r=`${PWD_COMMAND}`; export r; \
9436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9437 $(SET_LIB_PATH) \
9438 $(HOST_EXPORTS) \
9439 for flag in $(EXTRA_HOST_FLAGS) ; do \
9440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9441 done; \
9442 echo "Doing distclean in gettext" ; \
9443 (cd gettext && \
9444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9446 "RANLIB=$${RANLIB}" \
9447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9448 distclean) \
9449 || exit 1
9451 @endif gettext
9453 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9454 maybe-maintainer-clean-gettext:
9455 @if gettext
9456 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9458 maintainer-clean-gettext:
9459 @[ -f ./gettext/Makefile ] || exit 0; \
9460 r=`${PWD_COMMAND}`; export r; \
9461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9462 $(SET_LIB_PATH) \
9463 $(HOST_EXPORTS) \
9464 for flag in $(EXTRA_HOST_FLAGS) ; do \
9465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9466 done; \
9467 echo "Doing maintainer-clean in gettext" ; \
9468 (cd gettext && \
9469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9471 "RANLIB=$${RANLIB}" \
9472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9473 maintainer-clean) \
9474 || exit 1
9476 @endif gettext
9479 .PHONY: configure-gnuserv maybe-configure-gnuserv
9480 maybe-configure-gnuserv:
9481 @if gnuserv
9482 maybe-configure-gnuserv: configure-gnuserv
9483 configure-gnuserv:
9484 @test ! -f gnuserv/Makefile || exit 0; \
9485 [ -d gnuserv ] || mkdir gnuserv; \
9486 r=`${PWD_COMMAND}`; export r; \
9487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9488 $(HOST_EXPORTS) \
9489 echo Configuring in gnuserv; \
9490 cd gnuserv || exit 1; \
9491 case $(srcdir) in \
9492 \.) \
9493 srcdiroption="--srcdir=."; \
9494 libsrcdir=".";; \
9495 /* | [A-Za-z]:[\\/]*) \
9496 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
9497 libsrcdir="$$s/gnuserv";; \
9498 *) \
9499 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
9500 libsrcdir="$$s/gnuserv";; \
9501 esac; \
9502 $(SHELL) $${libsrcdir}/configure \
9503 $(HOST_CONFIGARGS) $${srcdiroption} \
9504 || exit 1
9505 @endif gnuserv
9507 .PHONY: all-gnuserv maybe-all-gnuserv
9508 maybe-all-gnuserv:
9509 @if gnuserv
9510 maybe-all-gnuserv: all-gnuserv
9511 all-gnuserv: configure-gnuserv
9512 @r=`${PWD_COMMAND}`; export r; \
9513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9514 $(SET_LIB_PATH) \
9515 $(HOST_EXPORTS) \
9516 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
9517 @endif gnuserv
9519 .PHONY: check-gnuserv maybe-check-gnuserv
9520 maybe-check-gnuserv:
9521 @if gnuserv
9522 maybe-check-gnuserv: check-gnuserv
9524 check-gnuserv:
9525 @r=`${PWD_COMMAND}`; export r; \
9526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9527 $(SET_LIB_PATH) \
9528 $(HOST_EXPORTS) \
9529 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
9531 @endif gnuserv
9533 .PHONY: install-gnuserv maybe-install-gnuserv
9534 maybe-install-gnuserv:
9535 @if gnuserv
9536 maybe-install-gnuserv: install-gnuserv
9538 install-gnuserv: installdirs
9539 @r=`${PWD_COMMAND}`; export r; \
9540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9541 $(SET_LIB_PATH) \
9542 $(HOST_EXPORTS) \
9543 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
9545 @endif gnuserv
9547 # Other targets (info, dvi, etc.)
9549 .PHONY: maybe-info-gnuserv info-gnuserv
9550 maybe-info-gnuserv:
9551 @if gnuserv
9552 maybe-info-gnuserv: info-gnuserv
9554 info-gnuserv: \
9555 configure-gnuserv
9556 @[ -f ./gnuserv/Makefile ] || exit 0; \
9557 r=`${PWD_COMMAND}`; export r; \
9558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9559 $(SET_LIB_PATH) \
9560 $(HOST_EXPORTS) \
9561 for flag in $(EXTRA_HOST_FLAGS) ; do \
9562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9563 done; \
9564 echo "Doing info in gnuserv" ; \
9565 (cd gnuserv && \
9566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9568 "RANLIB=$${RANLIB}" \
9569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9570 info) \
9571 || exit 1
9573 @endif gnuserv
9575 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
9576 maybe-dvi-gnuserv:
9577 @if gnuserv
9578 maybe-dvi-gnuserv: dvi-gnuserv
9580 dvi-gnuserv: \
9581 configure-gnuserv
9582 @[ -f ./gnuserv/Makefile ] || exit 0; \
9583 r=`${PWD_COMMAND}`; export r; \
9584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9585 $(SET_LIB_PATH) \
9586 $(HOST_EXPORTS) \
9587 for flag in $(EXTRA_HOST_FLAGS) ; do \
9588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9589 done; \
9590 echo "Doing dvi in gnuserv" ; \
9591 (cd gnuserv && \
9592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9594 "RANLIB=$${RANLIB}" \
9595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9596 dvi) \
9597 || exit 1
9599 @endif gnuserv
9601 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
9602 maybe-TAGS-gnuserv:
9603 @if gnuserv
9604 maybe-TAGS-gnuserv: TAGS-gnuserv
9606 TAGS-gnuserv: \
9607 configure-gnuserv
9608 @[ -f ./gnuserv/Makefile ] || exit 0; \
9609 r=`${PWD_COMMAND}`; export r; \
9610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9611 $(SET_LIB_PATH) \
9612 $(HOST_EXPORTS) \
9613 for flag in $(EXTRA_HOST_FLAGS) ; do \
9614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9615 done; \
9616 echo "Doing TAGS in gnuserv" ; \
9617 (cd gnuserv && \
9618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9620 "RANLIB=$${RANLIB}" \
9621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9622 TAGS) \
9623 || exit 1
9625 @endif gnuserv
9627 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
9628 maybe-install-info-gnuserv:
9629 @if gnuserv
9630 maybe-install-info-gnuserv: install-info-gnuserv
9632 install-info-gnuserv: \
9633 configure-gnuserv \
9634 info-gnuserv
9635 @[ -f ./gnuserv/Makefile ] || exit 0; \
9636 r=`${PWD_COMMAND}`; export r; \
9637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9638 $(SET_LIB_PATH) \
9639 $(HOST_EXPORTS) \
9640 for flag in $(EXTRA_HOST_FLAGS) ; do \
9641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9642 done; \
9643 echo "Doing install-info in gnuserv" ; \
9644 (cd gnuserv && \
9645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9647 "RANLIB=$${RANLIB}" \
9648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9649 install-info) \
9650 || exit 1
9652 @endif gnuserv
9654 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
9655 maybe-installcheck-gnuserv:
9656 @if gnuserv
9657 maybe-installcheck-gnuserv: installcheck-gnuserv
9659 installcheck-gnuserv: \
9660 configure-gnuserv
9661 @[ -f ./gnuserv/Makefile ] || exit 0; \
9662 r=`${PWD_COMMAND}`; export r; \
9663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9664 $(SET_LIB_PATH) \
9665 $(HOST_EXPORTS) \
9666 for flag in $(EXTRA_HOST_FLAGS) ; do \
9667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9668 done; \
9669 echo "Doing installcheck in gnuserv" ; \
9670 (cd gnuserv && \
9671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9673 "RANLIB=$${RANLIB}" \
9674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9675 installcheck) \
9676 || exit 1
9678 @endif gnuserv
9680 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9681 maybe-mostlyclean-gnuserv:
9682 @if gnuserv
9683 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9685 mostlyclean-gnuserv:
9686 @[ -f ./gnuserv/Makefile ] || exit 0; \
9687 r=`${PWD_COMMAND}`; export r; \
9688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9689 $(SET_LIB_PATH) \
9690 $(HOST_EXPORTS) \
9691 for flag in $(EXTRA_HOST_FLAGS) ; do \
9692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9693 done; \
9694 echo "Doing mostlyclean in gnuserv" ; \
9695 (cd gnuserv && \
9696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9698 "RANLIB=$${RANLIB}" \
9699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9700 mostlyclean) \
9701 || exit 1
9703 @endif gnuserv
9705 .PHONY: maybe-clean-gnuserv clean-gnuserv
9706 maybe-clean-gnuserv:
9707 @if gnuserv
9708 maybe-clean-gnuserv: clean-gnuserv
9710 clean-gnuserv:
9711 @[ -f ./gnuserv/Makefile ] || exit 0; \
9712 r=`${PWD_COMMAND}`; export r; \
9713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9714 $(SET_LIB_PATH) \
9715 $(HOST_EXPORTS) \
9716 for flag in $(EXTRA_HOST_FLAGS) ; do \
9717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9718 done; \
9719 echo "Doing clean in gnuserv" ; \
9720 (cd gnuserv && \
9721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9723 "RANLIB=$${RANLIB}" \
9724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9725 clean) \
9726 || exit 1
9728 @endif gnuserv
9730 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9731 maybe-distclean-gnuserv:
9732 @if gnuserv
9733 maybe-distclean-gnuserv: distclean-gnuserv
9735 distclean-gnuserv:
9736 @[ -f ./gnuserv/Makefile ] || exit 0; \
9737 r=`${PWD_COMMAND}`; export r; \
9738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9739 $(SET_LIB_PATH) \
9740 $(HOST_EXPORTS) \
9741 for flag in $(EXTRA_HOST_FLAGS) ; do \
9742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9743 done; \
9744 echo "Doing distclean in gnuserv" ; \
9745 (cd gnuserv && \
9746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9748 "RANLIB=$${RANLIB}" \
9749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9750 distclean) \
9751 || exit 1
9753 @endif gnuserv
9755 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9756 maybe-maintainer-clean-gnuserv:
9757 @if gnuserv
9758 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9760 maintainer-clean-gnuserv:
9761 @[ -f ./gnuserv/Makefile ] || exit 0; \
9762 r=`${PWD_COMMAND}`; export r; \
9763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9764 $(SET_LIB_PATH) \
9765 $(HOST_EXPORTS) \
9766 for flag in $(EXTRA_HOST_FLAGS) ; do \
9767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9768 done; \
9769 echo "Doing maintainer-clean in gnuserv" ; \
9770 (cd gnuserv && \
9771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9773 "RANLIB=$${RANLIB}" \
9774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9775 maintainer-clean) \
9776 || exit 1
9778 @endif gnuserv
9781 .PHONY: configure-gprof maybe-configure-gprof
9782 maybe-configure-gprof:
9783 @if gprof
9784 maybe-configure-gprof: configure-gprof
9785 configure-gprof:
9786 @test ! -f gprof/Makefile || exit 0; \
9787 [ -d gprof ] || mkdir gprof; \
9788 r=`${PWD_COMMAND}`; export r; \
9789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9790 $(HOST_EXPORTS) \
9791 echo Configuring in gprof; \
9792 cd gprof || exit 1; \
9793 case $(srcdir) in \
9794 \.) \
9795 srcdiroption="--srcdir=."; \
9796 libsrcdir=".";; \
9797 /* | [A-Za-z]:[\\/]*) \
9798 srcdiroption="--srcdir=$(srcdir)/gprof"; \
9799 libsrcdir="$$s/gprof";; \
9800 *) \
9801 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9802 libsrcdir="$$s/gprof";; \
9803 esac; \
9804 $(SHELL) $${libsrcdir}/configure \
9805 $(HOST_CONFIGARGS) $${srcdiroption} \
9806 || exit 1
9807 @endif gprof
9809 .PHONY: all-gprof maybe-all-gprof
9810 maybe-all-gprof:
9811 @if gprof
9812 maybe-all-gprof: all-gprof
9813 all-gprof: configure-gprof
9814 @r=`${PWD_COMMAND}`; export r; \
9815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9816 $(SET_LIB_PATH) \
9817 $(HOST_EXPORTS) \
9818 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
9819 @endif gprof
9821 .PHONY: check-gprof maybe-check-gprof
9822 maybe-check-gprof:
9823 @if gprof
9824 maybe-check-gprof: check-gprof
9826 check-gprof:
9827 @r=`${PWD_COMMAND}`; export r; \
9828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9829 $(SET_LIB_PATH) \
9830 $(HOST_EXPORTS) \
9831 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9833 @endif gprof
9835 .PHONY: install-gprof maybe-install-gprof
9836 maybe-install-gprof:
9837 @if gprof
9838 maybe-install-gprof: install-gprof
9840 install-gprof: installdirs
9841 @r=`${PWD_COMMAND}`; export r; \
9842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9843 $(SET_LIB_PATH) \
9844 $(HOST_EXPORTS) \
9845 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9847 @endif gprof
9849 # Other targets (info, dvi, etc.)
9851 .PHONY: maybe-info-gprof info-gprof
9852 maybe-info-gprof:
9853 @if gprof
9854 maybe-info-gprof: info-gprof
9856 info-gprof: \
9857 configure-gprof
9858 @[ -f ./gprof/Makefile ] || exit 0; \
9859 r=`${PWD_COMMAND}`; export r; \
9860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9861 $(SET_LIB_PATH) \
9862 $(HOST_EXPORTS) \
9863 for flag in $(EXTRA_HOST_FLAGS) ; do \
9864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9865 done; \
9866 echo "Doing info in gprof" ; \
9867 (cd gprof && \
9868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9870 "RANLIB=$${RANLIB}" \
9871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9872 info) \
9873 || exit 1
9875 @endif gprof
9877 .PHONY: maybe-dvi-gprof dvi-gprof
9878 maybe-dvi-gprof:
9879 @if gprof
9880 maybe-dvi-gprof: dvi-gprof
9882 dvi-gprof: \
9883 configure-gprof
9884 @[ -f ./gprof/Makefile ] || exit 0; \
9885 r=`${PWD_COMMAND}`; export r; \
9886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9887 $(SET_LIB_PATH) \
9888 $(HOST_EXPORTS) \
9889 for flag in $(EXTRA_HOST_FLAGS) ; do \
9890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9891 done; \
9892 echo "Doing dvi in gprof" ; \
9893 (cd gprof && \
9894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9896 "RANLIB=$${RANLIB}" \
9897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9898 dvi) \
9899 || exit 1
9901 @endif gprof
9903 .PHONY: maybe-TAGS-gprof TAGS-gprof
9904 maybe-TAGS-gprof:
9905 @if gprof
9906 maybe-TAGS-gprof: TAGS-gprof
9908 TAGS-gprof: \
9909 configure-gprof
9910 @[ -f ./gprof/Makefile ] || exit 0; \
9911 r=`${PWD_COMMAND}`; export r; \
9912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9913 $(SET_LIB_PATH) \
9914 $(HOST_EXPORTS) \
9915 for flag in $(EXTRA_HOST_FLAGS) ; do \
9916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9917 done; \
9918 echo "Doing TAGS in gprof" ; \
9919 (cd gprof && \
9920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9922 "RANLIB=$${RANLIB}" \
9923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9924 TAGS) \
9925 || exit 1
9927 @endif gprof
9929 .PHONY: maybe-install-info-gprof install-info-gprof
9930 maybe-install-info-gprof:
9931 @if gprof
9932 maybe-install-info-gprof: install-info-gprof
9934 install-info-gprof: \
9935 configure-gprof \
9936 info-gprof
9937 @[ -f ./gprof/Makefile ] || exit 0; \
9938 r=`${PWD_COMMAND}`; export r; \
9939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9940 $(SET_LIB_PATH) \
9941 $(HOST_EXPORTS) \
9942 for flag in $(EXTRA_HOST_FLAGS) ; do \
9943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9944 done; \
9945 echo "Doing install-info in gprof" ; \
9946 (cd gprof && \
9947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9949 "RANLIB=$${RANLIB}" \
9950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9951 install-info) \
9952 || exit 1
9954 @endif gprof
9956 .PHONY: maybe-installcheck-gprof installcheck-gprof
9957 maybe-installcheck-gprof:
9958 @if gprof
9959 maybe-installcheck-gprof: installcheck-gprof
9961 installcheck-gprof: \
9962 configure-gprof
9963 @[ -f ./gprof/Makefile ] || exit 0; \
9964 r=`${PWD_COMMAND}`; export r; \
9965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9966 $(SET_LIB_PATH) \
9967 $(HOST_EXPORTS) \
9968 for flag in $(EXTRA_HOST_FLAGS) ; do \
9969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9970 done; \
9971 echo "Doing installcheck in gprof" ; \
9972 (cd gprof && \
9973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9975 "RANLIB=$${RANLIB}" \
9976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9977 installcheck) \
9978 || exit 1
9980 @endif gprof
9982 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9983 maybe-mostlyclean-gprof:
9984 @if gprof
9985 maybe-mostlyclean-gprof: mostlyclean-gprof
9987 mostlyclean-gprof:
9988 @[ -f ./gprof/Makefile ] || exit 0; \
9989 r=`${PWD_COMMAND}`; export r; \
9990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9991 $(SET_LIB_PATH) \
9992 $(HOST_EXPORTS) \
9993 for flag in $(EXTRA_HOST_FLAGS) ; do \
9994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9995 done; \
9996 echo "Doing mostlyclean in gprof" ; \
9997 (cd gprof && \
9998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10000 "RANLIB=$${RANLIB}" \
10001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10002 mostlyclean) \
10003 || exit 1
10005 @endif gprof
10007 .PHONY: maybe-clean-gprof clean-gprof
10008 maybe-clean-gprof:
10009 @if gprof
10010 maybe-clean-gprof: clean-gprof
10012 clean-gprof:
10013 @[ -f ./gprof/Makefile ] || exit 0; \
10014 r=`${PWD_COMMAND}`; export r; \
10015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10016 $(SET_LIB_PATH) \
10017 $(HOST_EXPORTS) \
10018 for flag in $(EXTRA_HOST_FLAGS) ; do \
10019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10020 done; \
10021 echo "Doing clean in gprof" ; \
10022 (cd gprof && \
10023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10025 "RANLIB=$${RANLIB}" \
10026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10027 clean) \
10028 || exit 1
10030 @endif gprof
10032 .PHONY: maybe-distclean-gprof distclean-gprof
10033 maybe-distclean-gprof:
10034 @if gprof
10035 maybe-distclean-gprof: distclean-gprof
10037 distclean-gprof:
10038 @[ -f ./gprof/Makefile ] || exit 0; \
10039 r=`${PWD_COMMAND}`; export r; \
10040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10041 $(SET_LIB_PATH) \
10042 $(HOST_EXPORTS) \
10043 for flag in $(EXTRA_HOST_FLAGS) ; do \
10044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10045 done; \
10046 echo "Doing distclean in gprof" ; \
10047 (cd gprof && \
10048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10050 "RANLIB=$${RANLIB}" \
10051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10052 distclean) \
10053 || exit 1
10055 @endif gprof
10057 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10058 maybe-maintainer-clean-gprof:
10059 @if gprof
10060 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10062 maintainer-clean-gprof:
10063 @[ -f ./gprof/Makefile ] || exit 0; \
10064 r=`${PWD_COMMAND}`; export r; \
10065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10066 $(SET_LIB_PATH) \
10067 $(HOST_EXPORTS) \
10068 for flag in $(EXTRA_HOST_FLAGS) ; do \
10069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10070 done; \
10071 echo "Doing maintainer-clean in gprof" ; \
10072 (cd gprof && \
10073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10075 "RANLIB=$${RANLIB}" \
10076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10077 maintainer-clean) \
10078 || exit 1
10080 @endif gprof
10083 .PHONY: configure-gzip maybe-configure-gzip
10084 maybe-configure-gzip:
10085 @if gzip
10086 maybe-configure-gzip: configure-gzip
10087 configure-gzip:
10088 @test ! -f gzip/Makefile || exit 0; \
10089 [ -d gzip ] || mkdir gzip; \
10090 r=`${PWD_COMMAND}`; export r; \
10091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10092 $(HOST_EXPORTS) \
10093 echo Configuring in gzip; \
10094 cd gzip || exit 1; \
10095 case $(srcdir) in \
10096 \.) \
10097 srcdiroption="--srcdir=."; \
10098 libsrcdir=".";; \
10099 /* | [A-Za-z]:[\\/]*) \
10100 srcdiroption="--srcdir=$(srcdir)/gzip"; \
10101 libsrcdir="$$s/gzip";; \
10102 *) \
10103 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
10104 libsrcdir="$$s/gzip";; \
10105 esac; \
10106 $(SHELL) $${libsrcdir}/configure \
10107 $(HOST_CONFIGARGS) $${srcdiroption} \
10108 || exit 1
10109 @endif gzip
10111 .PHONY: all-gzip maybe-all-gzip
10112 maybe-all-gzip:
10113 @if gzip
10114 maybe-all-gzip: all-gzip
10115 all-gzip: configure-gzip
10116 @r=`${PWD_COMMAND}`; export r; \
10117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10118 $(SET_LIB_PATH) \
10119 $(HOST_EXPORTS) \
10120 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
10121 @endif gzip
10123 .PHONY: check-gzip maybe-check-gzip
10124 maybe-check-gzip:
10125 @if gzip
10126 maybe-check-gzip: check-gzip
10128 check-gzip:
10129 @r=`${PWD_COMMAND}`; export r; \
10130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10131 $(SET_LIB_PATH) \
10132 $(HOST_EXPORTS) \
10133 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
10135 @endif gzip
10137 .PHONY: install-gzip maybe-install-gzip
10138 maybe-install-gzip:
10139 @if gzip
10140 maybe-install-gzip: install-gzip
10142 install-gzip: installdirs
10143 @r=`${PWD_COMMAND}`; export r; \
10144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10145 $(SET_LIB_PATH) \
10146 $(HOST_EXPORTS) \
10147 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
10149 @endif gzip
10151 # Other targets (info, dvi, etc.)
10153 .PHONY: maybe-info-gzip info-gzip
10154 maybe-info-gzip:
10155 @if gzip
10156 maybe-info-gzip: info-gzip
10158 info-gzip: \
10159 configure-gzip
10160 @[ -f ./gzip/Makefile ] || exit 0; \
10161 r=`${PWD_COMMAND}`; export r; \
10162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10163 $(SET_LIB_PATH) \
10164 $(HOST_EXPORTS) \
10165 for flag in $(EXTRA_HOST_FLAGS) ; do \
10166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10167 done; \
10168 echo "Doing info in gzip" ; \
10169 (cd gzip && \
10170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10172 "RANLIB=$${RANLIB}" \
10173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10174 info) \
10175 || exit 1
10177 @endif gzip
10179 .PHONY: maybe-dvi-gzip dvi-gzip
10180 maybe-dvi-gzip:
10181 @if gzip
10182 maybe-dvi-gzip: dvi-gzip
10184 dvi-gzip: \
10185 configure-gzip
10186 @[ -f ./gzip/Makefile ] || exit 0; \
10187 r=`${PWD_COMMAND}`; export r; \
10188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10189 $(SET_LIB_PATH) \
10190 $(HOST_EXPORTS) \
10191 for flag in $(EXTRA_HOST_FLAGS) ; do \
10192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10193 done; \
10194 echo "Doing dvi in gzip" ; \
10195 (cd gzip && \
10196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10198 "RANLIB=$${RANLIB}" \
10199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10200 dvi) \
10201 || exit 1
10203 @endif gzip
10205 .PHONY: maybe-TAGS-gzip TAGS-gzip
10206 maybe-TAGS-gzip:
10207 @if gzip
10208 maybe-TAGS-gzip: TAGS-gzip
10210 TAGS-gzip: \
10211 configure-gzip
10212 @[ -f ./gzip/Makefile ] || exit 0; \
10213 r=`${PWD_COMMAND}`; export r; \
10214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10215 $(SET_LIB_PATH) \
10216 $(HOST_EXPORTS) \
10217 for flag in $(EXTRA_HOST_FLAGS) ; do \
10218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10219 done; \
10220 echo "Doing TAGS in gzip" ; \
10221 (cd gzip && \
10222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10224 "RANLIB=$${RANLIB}" \
10225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10226 TAGS) \
10227 || exit 1
10229 @endif gzip
10231 .PHONY: maybe-install-info-gzip install-info-gzip
10232 maybe-install-info-gzip:
10233 @if gzip
10234 maybe-install-info-gzip: install-info-gzip
10236 install-info-gzip: \
10237 configure-gzip \
10238 info-gzip
10239 @[ -f ./gzip/Makefile ] || exit 0; \
10240 r=`${PWD_COMMAND}`; export r; \
10241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10242 $(SET_LIB_PATH) \
10243 $(HOST_EXPORTS) \
10244 for flag in $(EXTRA_HOST_FLAGS) ; do \
10245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10246 done; \
10247 echo "Doing install-info in gzip" ; \
10248 (cd gzip && \
10249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10251 "RANLIB=$${RANLIB}" \
10252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10253 install-info) \
10254 || exit 1
10256 @endif gzip
10258 .PHONY: maybe-installcheck-gzip installcheck-gzip
10259 maybe-installcheck-gzip:
10260 @if gzip
10261 maybe-installcheck-gzip: installcheck-gzip
10263 installcheck-gzip: \
10264 configure-gzip
10265 @[ -f ./gzip/Makefile ] || exit 0; \
10266 r=`${PWD_COMMAND}`; export r; \
10267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10268 $(SET_LIB_PATH) \
10269 $(HOST_EXPORTS) \
10270 for flag in $(EXTRA_HOST_FLAGS) ; do \
10271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10272 done; \
10273 echo "Doing installcheck in gzip" ; \
10274 (cd gzip && \
10275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10277 "RANLIB=$${RANLIB}" \
10278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10279 installcheck) \
10280 || exit 1
10282 @endif gzip
10284 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10285 maybe-mostlyclean-gzip:
10286 @if gzip
10287 maybe-mostlyclean-gzip: mostlyclean-gzip
10289 mostlyclean-gzip:
10290 @[ -f ./gzip/Makefile ] || exit 0; \
10291 r=`${PWD_COMMAND}`; export r; \
10292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10293 $(SET_LIB_PATH) \
10294 $(HOST_EXPORTS) \
10295 for flag in $(EXTRA_HOST_FLAGS) ; do \
10296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10297 done; \
10298 echo "Doing mostlyclean in gzip" ; \
10299 (cd gzip && \
10300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10302 "RANLIB=$${RANLIB}" \
10303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10304 mostlyclean) \
10305 || exit 1
10307 @endif gzip
10309 .PHONY: maybe-clean-gzip clean-gzip
10310 maybe-clean-gzip:
10311 @if gzip
10312 maybe-clean-gzip: clean-gzip
10314 clean-gzip:
10315 @[ -f ./gzip/Makefile ] || exit 0; \
10316 r=`${PWD_COMMAND}`; export r; \
10317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10318 $(SET_LIB_PATH) \
10319 $(HOST_EXPORTS) \
10320 for flag in $(EXTRA_HOST_FLAGS) ; do \
10321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10322 done; \
10323 echo "Doing clean in gzip" ; \
10324 (cd gzip && \
10325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10327 "RANLIB=$${RANLIB}" \
10328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10329 clean) \
10330 || exit 1
10332 @endif gzip
10334 .PHONY: maybe-distclean-gzip distclean-gzip
10335 maybe-distclean-gzip:
10336 @if gzip
10337 maybe-distclean-gzip: distclean-gzip
10339 distclean-gzip:
10340 @[ -f ./gzip/Makefile ] || exit 0; \
10341 r=`${PWD_COMMAND}`; export r; \
10342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10343 $(SET_LIB_PATH) \
10344 $(HOST_EXPORTS) \
10345 for flag in $(EXTRA_HOST_FLAGS) ; do \
10346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10347 done; \
10348 echo "Doing distclean in gzip" ; \
10349 (cd gzip && \
10350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10352 "RANLIB=$${RANLIB}" \
10353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10354 distclean) \
10355 || exit 1
10357 @endif gzip
10359 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10360 maybe-maintainer-clean-gzip:
10361 @if gzip
10362 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10364 maintainer-clean-gzip:
10365 @[ -f ./gzip/Makefile ] || exit 0; \
10366 r=`${PWD_COMMAND}`; export r; \
10367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10368 $(SET_LIB_PATH) \
10369 $(HOST_EXPORTS) \
10370 for flag in $(EXTRA_HOST_FLAGS) ; do \
10371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10372 done; \
10373 echo "Doing maintainer-clean in gzip" ; \
10374 (cd gzip && \
10375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10377 "RANLIB=$${RANLIB}" \
10378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10379 maintainer-clean) \
10380 || exit 1
10382 @endif gzip
10385 .PHONY: configure-hello maybe-configure-hello
10386 maybe-configure-hello:
10387 @if hello
10388 maybe-configure-hello: configure-hello
10389 configure-hello:
10390 @test ! -f hello/Makefile || exit 0; \
10391 [ -d hello ] || mkdir hello; \
10392 r=`${PWD_COMMAND}`; export r; \
10393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10394 $(HOST_EXPORTS) \
10395 echo Configuring in hello; \
10396 cd hello || exit 1; \
10397 case $(srcdir) in \
10398 \.) \
10399 srcdiroption="--srcdir=."; \
10400 libsrcdir=".";; \
10401 /* | [A-Za-z]:[\\/]*) \
10402 srcdiroption="--srcdir=$(srcdir)/hello"; \
10403 libsrcdir="$$s/hello";; \
10404 *) \
10405 srcdiroption="--srcdir=../$(srcdir)/hello"; \
10406 libsrcdir="$$s/hello";; \
10407 esac; \
10408 $(SHELL) $${libsrcdir}/configure \
10409 $(HOST_CONFIGARGS) $${srcdiroption} \
10410 || exit 1
10411 @endif hello
10413 .PHONY: all-hello maybe-all-hello
10414 maybe-all-hello:
10415 @if hello
10416 maybe-all-hello: all-hello
10417 all-hello: configure-hello
10418 @r=`${PWD_COMMAND}`; export r; \
10419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10420 $(SET_LIB_PATH) \
10421 $(HOST_EXPORTS) \
10422 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
10423 @endif hello
10425 .PHONY: check-hello maybe-check-hello
10426 maybe-check-hello:
10427 @if hello
10428 maybe-check-hello: check-hello
10430 check-hello:
10431 @r=`${PWD_COMMAND}`; export r; \
10432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10433 $(SET_LIB_PATH) \
10434 $(HOST_EXPORTS) \
10435 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
10437 @endif hello
10439 .PHONY: install-hello maybe-install-hello
10440 maybe-install-hello:
10441 @if hello
10442 maybe-install-hello: install-hello
10444 install-hello: installdirs
10445 @r=`${PWD_COMMAND}`; export r; \
10446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10447 $(SET_LIB_PATH) \
10448 $(HOST_EXPORTS) \
10449 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
10451 @endif hello
10453 # Other targets (info, dvi, etc.)
10455 .PHONY: maybe-info-hello info-hello
10456 maybe-info-hello:
10457 @if hello
10458 maybe-info-hello: info-hello
10460 info-hello: \
10461 configure-hello
10462 @[ -f ./hello/Makefile ] || exit 0; \
10463 r=`${PWD_COMMAND}`; export r; \
10464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10465 $(SET_LIB_PATH) \
10466 $(HOST_EXPORTS) \
10467 for flag in $(EXTRA_HOST_FLAGS) ; do \
10468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10469 done; \
10470 echo "Doing info in hello" ; \
10471 (cd hello && \
10472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10474 "RANLIB=$${RANLIB}" \
10475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10476 info) \
10477 || exit 1
10479 @endif hello
10481 .PHONY: maybe-dvi-hello dvi-hello
10482 maybe-dvi-hello:
10483 @if hello
10484 maybe-dvi-hello: dvi-hello
10486 dvi-hello: \
10487 configure-hello
10488 @[ -f ./hello/Makefile ] || exit 0; \
10489 r=`${PWD_COMMAND}`; export r; \
10490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10491 $(SET_LIB_PATH) \
10492 $(HOST_EXPORTS) \
10493 for flag in $(EXTRA_HOST_FLAGS) ; do \
10494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10495 done; \
10496 echo "Doing dvi in hello" ; \
10497 (cd hello && \
10498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10500 "RANLIB=$${RANLIB}" \
10501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10502 dvi) \
10503 || exit 1
10505 @endif hello
10507 .PHONY: maybe-TAGS-hello TAGS-hello
10508 maybe-TAGS-hello:
10509 @if hello
10510 maybe-TAGS-hello: TAGS-hello
10512 TAGS-hello: \
10513 configure-hello
10514 @[ -f ./hello/Makefile ] || exit 0; \
10515 r=`${PWD_COMMAND}`; export r; \
10516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10517 $(SET_LIB_PATH) \
10518 $(HOST_EXPORTS) \
10519 for flag in $(EXTRA_HOST_FLAGS) ; do \
10520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10521 done; \
10522 echo "Doing TAGS in hello" ; \
10523 (cd hello && \
10524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10526 "RANLIB=$${RANLIB}" \
10527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10528 TAGS) \
10529 || exit 1
10531 @endif hello
10533 .PHONY: maybe-install-info-hello install-info-hello
10534 maybe-install-info-hello:
10535 @if hello
10536 maybe-install-info-hello: install-info-hello
10538 install-info-hello: \
10539 configure-hello \
10540 info-hello
10541 @[ -f ./hello/Makefile ] || exit 0; \
10542 r=`${PWD_COMMAND}`; export r; \
10543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10544 $(SET_LIB_PATH) \
10545 $(HOST_EXPORTS) \
10546 for flag in $(EXTRA_HOST_FLAGS) ; do \
10547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10548 done; \
10549 echo "Doing install-info in hello" ; \
10550 (cd hello && \
10551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10553 "RANLIB=$${RANLIB}" \
10554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10555 install-info) \
10556 || exit 1
10558 @endif hello
10560 .PHONY: maybe-installcheck-hello installcheck-hello
10561 maybe-installcheck-hello:
10562 @if hello
10563 maybe-installcheck-hello: installcheck-hello
10565 installcheck-hello: \
10566 configure-hello
10567 @[ -f ./hello/Makefile ] || exit 0; \
10568 r=`${PWD_COMMAND}`; export r; \
10569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10570 $(SET_LIB_PATH) \
10571 $(HOST_EXPORTS) \
10572 for flag in $(EXTRA_HOST_FLAGS) ; do \
10573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10574 done; \
10575 echo "Doing installcheck in hello" ; \
10576 (cd hello && \
10577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10579 "RANLIB=$${RANLIB}" \
10580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10581 installcheck) \
10582 || exit 1
10584 @endif hello
10586 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10587 maybe-mostlyclean-hello:
10588 @if hello
10589 maybe-mostlyclean-hello: mostlyclean-hello
10591 mostlyclean-hello:
10592 @[ -f ./hello/Makefile ] || exit 0; \
10593 r=`${PWD_COMMAND}`; export r; \
10594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10595 $(SET_LIB_PATH) \
10596 $(HOST_EXPORTS) \
10597 for flag in $(EXTRA_HOST_FLAGS) ; do \
10598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10599 done; \
10600 echo "Doing mostlyclean in hello" ; \
10601 (cd hello && \
10602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10604 "RANLIB=$${RANLIB}" \
10605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10606 mostlyclean) \
10607 || exit 1
10609 @endif hello
10611 .PHONY: maybe-clean-hello clean-hello
10612 maybe-clean-hello:
10613 @if hello
10614 maybe-clean-hello: clean-hello
10616 clean-hello:
10617 @[ -f ./hello/Makefile ] || exit 0; \
10618 r=`${PWD_COMMAND}`; export r; \
10619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10620 $(SET_LIB_PATH) \
10621 $(HOST_EXPORTS) \
10622 for flag in $(EXTRA_HOST_FLAGS) ; do \
10623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10624 done; \
10625 echo "Doing clean in hello" ; \
10626 (cd hello && \
10627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10629 "RANLIB=$${RANLIB}" \
10630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10631 clean) \
10632 || exit 1
10634 @endif hello
10636 .PHONY: maybe-distclean-hello distclean-hello
10637 maybe-distclean-hello:
10638 @if hello
10639 maybe-distclean-hello: distclean-hello
10641 distclean-hello:
10642 @[ -f ./hello/Makefile ] || exit 0; \
10643 r=`${PWD_COMMAND}`; export r; \
10644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10645 $(SET_LIB_PATH) \
10646 $(HOST_EXPORTS) \
10647 for flag in $(EXTRA_HOST_FLAGS) ; do \
10648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10649 done; \
10650 echo "Doing distclean in hello" ; \
10651 (cd hello && \
10652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10654 "RANLIB=$${RANLIB}" \
10655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10656 distclean) \
10657 || exit 1
10659 @endif hello
10661 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10662 maybe-maintainer-clean-hello:
10663 @if hello
10664 maybe-maintainer-clean-hello: maintainer-clean-hello
10666 maintainer-clean-hello:
10667 @[ -f ./hello/Makefile ] || exit 0; \
10668 r=`${PWD_COMMAND}`; export r; \
10669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10670 $(SET_LIB_PATH) \
10671 $(HOST_EXPORTS) \
10672 for flag in $(EXTRA_HOST_FLAGS) ; do \
10673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10674 done; \
10675 echo "Doing maintainer-clean in hello" ; \
10676 (cd hello && \
10677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10679 "RANLIB=$${RANLIB}" \
10680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10681 maintainer-clean) \
10682 || exit 1
10684 @endif hello
10687 .PHONY: configure-indent maybe-configure-indent
10688 maybe-configure-indent:
10689 @if indent
10690 maybe-configure-indent: configure-indent
10691 configure-indent:
10692 @test ! -f indent/Makefile || exit 0; \
10693 [ -d indent ] || mkdir indent; \
10694 r=`${PWD_COMMAND}`; export r; \
10695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10696 $(HOST_EXPORTS) \
10697 echo Configuring in indent; \
10698 cd indent || exit 1; \
10699 case $(srcdir) in \
10700 \.) \
10701 srcdiroption="--srcdir=."; \
10702 libsrcdir=".";; \
10703 /* | [A-Za-z]:[\\/]*) \
10704 srcdiroption="--srcdir=$(srcdir)/indent"; \
10705 libsrcdir="$$s/indent";; \
10706 *) \
10707 srcdiroption="--srcdir=../$(srcdir)/indent"; \
10708 libsrcdir="$$s/indent";; \
10709 esac; \
10710 $(SHELL) $${libsrcdir}/configure \
10711 $(HOST_CONFIGARGS) $${srcdiroption} \
10712 || exit 1
10713 @endif indent
10715 .PHONY: all-indent maybe-all-indent
10716 maybe-all-indent:
10717 @if indent
10718 maybe-all-indent: all-indent
10719 all-indent: configure-indent
10720 @r=`${PWD_COMMAND}`; export r; \
10721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10722 $(SET_LIB_PATH) \
10723 $(HOST_EXPORTS) \
10724 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
10725 @endif indent
10727 .PHONY: check-indent maybe-check-indent
10728 maybe-check-indent:
10729 @if indent
10730 maybe-check-indent: check-indent
10732 check-indent:
10733 @r=`${PWD_COMMAND}`; export r; \
10734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10735 $(SET_LIB_PATH) \
10736 $(HOST_EXPORTS) \
10737 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10739 @endif indent
10741 .PHONY: install-indent maybe-install-indent
10742 maybe-install-indent:
10743 @if indent
10744 maybe-install-indent: install-indent
10746 install-indent: installdirs
10747 @r=`${PWD_COMMAND}`; export r; \
10748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10749 $(SET_LIB_PATH) \
10750 $(HOST_EXPORTS) \
10751 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10753 @endif indent
10755 # Other targets (info, dvi, etc.)
10757 .PHONY: maybe-info-indent info-indent
10758 maybe-info-indent:
10759 @if indent
10760 maybe-info-indent: info-indent
10762 info-indent: \
10763 configure-indent
10764 @[ -f ./indent/Makefile ] || exit 0; \
10765 r=`${PWD_COMMAND}`; export r; \
10766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10767 $(SET_LIB_PATH) \
10768 $(HOST_EXPORTS) \
10769 for flag in $(EXTRA_HOST_FLAGS) ; do \
10770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10771 done; \
10772 echo "Doing info in indent" ; \
10773 (cd indent && \
10774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10776 "RANLIB=$${RANLIB}" \
10777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10778 info) \
10779 || exit 1
10781 @endif indent
10783 .PHONY: maybe-dvi-indent dvi-indent
10784 maybe-dvi-indent:
10785 @if indent
10786 maybe-dvi-indent: dvi-indent
10788 dvi-indent: \
10789 configure-indent
10790 @[ -f ./indent/Makefile ] || exit 0; \
10791 r=`${PWD_COMMAND}`; export r; \
10792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10793 $(SET_LIB_PATH) \
10794 $(HOST_EXPORTS) \
10795 for flag in $(EXTRA_HOST_FLAGS) ; do \
10796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10797 done; \
10798 echo "Doing dvi in indent" ; \
10799 (cd indent && \
10800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10802 "RANLIB=$${RANLIB}" \
10803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10804 dvi) \
10805 || exit 1
10807 @endif indent
10809 .PHONY: maybe-TAGS-indent TAGS-indent
10810 maybe-TAGS-indent:
10811 @if indent
10812 maybe-TAGS-indent: TAGS-indent
10814 TAGS-indent: \
10815 configure-indent
10816 @[ -f ./indent/Makefile ] || exit 0; \
10817 r=`${PWD_COMMAND}`; export r; \
10818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10819 $(SET_LIB_PATH) \
10820 $(HOST_EXPORTS) \
10821 for flag in $(EXTRA_HOST_FLAGS) ; do \
10822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10823 done; \
10824 echo "Doing TAGS in indent" ; \
10825 (cd indent && \
10826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10828 "RANLIB=$${RANLIB}" \
10829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10830 TAGS) \
10831 || exit 1
10833 @endif indent
10835 .PHONY: maybe-install-info-indent install-info-indent
10836 maybe-install-info-indent:
10837 @if indent
10838 maybe-install-info-indent: install-info-indent
10840 install-info-indent: \
10841 configure-indent \
10842 info-indent
10843 @[ -f ./indent/Makefile ] || exit 0; \
10844 r=`${PWD_COMMAND}`; export r; \
10845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10846 $(SET_LIB_PATH) \
10847 $(HOST_EXPORTS) \
10848 for flag in $(EXTRA_HOST_FLAGS) ; do \
10849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10850 done; \
10851 echo "Doing install-info in indent" ; \
10852 (cd indent && \
10853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10855 "RANLIB=$${RANLIB}" \
10856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10857 install-info) \
10858 || exit 1
10860 @endif indent
10862 .PHONY: maybe-installcheck-indent installcheck-indent
10863 maybe-installcheck-indent:
10864 @if indent
10865 maybe-installcheck-indent: installcheck-indent
10867 installcheck-indent: \
10868 configure-indent
10869 @[ -f ./indent/Makefile ] || exit 0; \
10870 r=`${PWD_COMMAND}`; export r; \
10871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10872 $(SET_LIB_PATH) \
10873 $(HOST_EXPORTS) \
10874 for flag in $(EXTRA_HOST_FLAGS) ; do \
10875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10876 done; \
10877 echo "Doing installcheck in indent" ; \
10878 (cd indent && \
10879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10881 "RANLIB=$${RANLIB}" \
10882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10883 installcheck) \
10884 || exit 1
10886 @endif indent
10888 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10889 maybe-mostlyclean-indent:
10890 @if indent
10891 maybe-mostlyclean-indent: mostlyclean-indent
10893 mostlyclean-indent:
10894 @[ -f ./indent/Makefile ] || exit 0; \
10895 r=`${PWD_COMMAND}`; export r; \
10896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10897 $(SET_LIB_PATH) \
10898 $(HOST_EXPORTS) \
10899 for flag in $(EXTRA_HOST_FLAGS) ; do \
10900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10901 done; \
10902 echo "Doing mostlyclean in indent" ; \
10903 (cd indent && \
10904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10906 "RANLIB=$${RANLIB}" \
10907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10908 mostlyclean) \
10909 || exit 1
10911 @endif indent
10913 .PHONY: maybe-clean-indent clean-indent
10914 maybe-clean-indent:
10915 @if indent
10916 maybe-clean-indent: clean-indent
10918 clean-indent:
10919 @[ -f ./indent/Makefile ] || exit 0; \
10920 r=`${PWD_COMMAND}`; export r; \
10921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10922 $(SET_LIB_PATH) \
10923 $(HOST_EXPORTS) \
10924 for flag in $(EXTRA_HOST_FLAGS) ; do \
10925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10926 done; \
10927 echo "Doing clean in indent" ; \
10928 (cd indent && \
10929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10931 "RANLIB=$${RANLIB}" \
10932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10933 clean) \
10934 || exit 1
10936 @endif indent
10938 .PHONY: maybe-distclean-indent distclean-indent
10939 maybe-distclean-indent:
10940 @if indent
10941 maybe-distclean-indent: distclean-indent
10943 distclean-indent:
10944 @[ -f ./indent/Makefile ] || exit 0; \
10945 r=`${PWD_COMMAND}`; export r; \
10946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10947 $(SET_LIB_PATH) \
10948 $(HOST_EXPORTS) \
10949 for flag in $(EXTRA_HOST_FLAGS) ; do \
10950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10951 done; \
10952 echo "Doing distclean in indent" ; \
10953 (cd indent && \
10954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10956 "RANLIB=$${RANLIB}" \
10957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10958 distclean) \
10959 || exit 1
10961 @endif indent
10963 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10964 maybe-maintainer-clean-indent:
10965 @if indent
10966 maybe-maintainer-clean-indent: maintainer-clean-indent
10968 maintainer-clean-indent:
10969 @[ -f ./indent/Makefile ] || exit 0; \
10970 r=`${PWD_COMMAND}`; export r; \
10971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10972 $(SET_LIB_PATH) \
10973 $(HOST_EXPORTS) \
10974 for flag in $(EXTRA_HOST_FLAGS) ; do \
10975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10976 done; \
10977 echo "Doing maintainer-clean in indent" ; \
10978 (cd indent && \
10979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10981 "RANLIB=$${RANLIB}" \
10982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10983 maintainer-clean) \
10984 || exit 1
10986 @endif indent
10989 .PHONY: configure-intl maybe-configure-intl
10990 maybe-configure-intl:
10991 @if intl
10992 maybe-configure-intl: configure-intl
10993 configure-intl:
10994 @test -f stage_last && exit 0; \
10995 test ! -f intl/Makefile || exit 0; \
10996 [ -d intl ] || mkdir intl; \
10997 r=`${PWD_COMMAND}`; export r; \
10998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10999 $(HOST_EXPORTS) \
11000 echo Configuring in intl; \
11001 cd intl || exit 1; \
11002 case $(srcdir) in \
11003 \.) \
11004 srcdiroption="--srcdir=."; \
11005 libsrcdir=".";; \
11006 /* | [A-Za-z]:[\\/]*) \
11007 srcdiroption="--srcdir=$(srcdir)/intl"; \
11008 libsrcdir="$$s/intl";; \
11009 *) \
11010 srcdiroption="--srcdir=../$(srcdir)/intl"; \
11011 libsrcdir="$$s/intl";; \
11012 esac; \
11013 $(SHELL) $${libsrcdir}/configure \
11014 $(HOST_CONFIGARGS) $${srcdiroption} \
11015 || exit 1
11016 @endif intl
11018 .PHONY: all-intl maybe-all-intl
11019 maybe-all-intl:
11020 @if intl
11021 maybe-all-intl: all-intl
11022 all-intl: configure-intl
11023 @test -f stage_last && exit 0; \
11024 r=`${PWD_COMMAND}`; export r; \
11025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11026 $(SET_LIB_PATH) \
11027 $(HOST_EXPORTS) \
11028 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
11029 @endif intl
11031 .PHONY: check-intl maybe-check-intl
11032 maybe-check-intl:
11033 @if intl
11034 maybe-check-intl: check-intl
11036 check-intl:
11037 @r=`${PWD_COMMAND}`; export r; \
11038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11039 $(SET_LIB_PATH) \
11040 $(HOST_EXPORTS) \
11041 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
11043 @endif intl
11045 .PHONY: install-intl maybe-install-intl
11046 maybe-install-intl:
11047 @if intl
11048 maybe-install-intl: install-intl
11050 install-intl: installdirs
11051 @r=`${PWD_COMMAND}`; export r; \
11052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11053 $(SET_LIB_PATH) \
11054 $(HOST_EXPORTS) \
11055 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
11057 @endif intl
11059 # Other targets (info, dvi, etc.)
11061 .PHONY: maybe-info-intl info-intl
11062 maybe-info-intl:
11063 @if intl
11064 maybe-info-intl: info-intl
11066 info-intl: \
11067 configure-intl
11068 @[ -f ./intl/Makefile ] || exit 0; \
11069 r=`${PWD_COMMAND}`; export r; \
11070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11071 $(SET_LIB_PATH) \
11072 $(HOST_EXPORTS) \
11073 for flag in $(EXTRA_HOST_FLAGS) ; do \
11074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11075 done; \
11076 echo "Doing info in intl" ; \
11077 (cd intl && \
11078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11080 "RANLIB=$${RANLIB}" \
11081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11082 info) \
11083 || exit 1
11085 @endif intl
11087 .PHONY: maybe-dvi-intl dvi-intl
11088 maybe-dvi-intl:
11089 @if intl
11090 maybe-dvi-intl: dvi-intl
11092 dvi-intl: \
11093 configure-intl
11094 @[ -f ./intl/Makefile ] || exit 0; \
11095 r=`${PWD_COMMAND}`; export r; \
11096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11097 $(SET_LIB_PATH) \
11098 $(HOST_EXPORTS) \
11099 for flag in $(EXTRA_HOST_FLAGS) ; do \
11100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11101 done; \
11102 echo "Doing dvi in intl" ; \
11103 (cd intl && \
11104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11106 "RANLIB=$${RANLIB}" \
11107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11108 dvi) \
11109 || exit 1
11111 @endif intl
11113 .PHONY: maybe-TAGS-intl TAGS-intl
11114 maybe-TAGS-intl:
11115 @if intl
11116 maybe-TAGS-intl: TAGS-intl
11118 TAGS-intl: \
11119 configure-intl
11120 @[ -f ./intl/Makefile ] || exit 0; \
11121 r=`${PWD_COMMAND}`; export r; \
11122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11123 $(SET_LIB_PATH) \
11124 $(HOST_EXPORTS) \
11125 for flag in $(EXTRA_HOST_FLAGS) ; do \
11126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11127 done; \
11128 echo "Doing TAGS in intl" ; \
11129 (cd intl && \
11130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11132 "RANLIB=$${RANLIB}" \
11133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11134 TAGS) \
11135 || exit 1
11137 @endif intl
11139 .PHONY: maybe-install-info-intl install-info-intl
11140 maybe-install-info-intl:
11141 @if intl
11142 maybe-install-info-intl: install-info-intl
11144 install-info-intl: \
11145 configure-intl \
11146 info-intl
11147 @[ -f ./intl/Makefile ] || exit 0; \
11148 r=`${PWD_COMMAND}`; export r; \
11149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11150 $(SET_LIB_PATH) \
11151 $(HOST_EXPORTS) \
11152 for flag in $(EXTRA_HOST_FLAGS) ; do \
11153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11154 done; \
11155 echo "Doing install-info in intl" ; \
11156 (cd intl && \
11157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11159 "RANLIB=$${RANLIB}" \
11160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11161 install-info) \
11162 || exit 1
11164 @endif intl
11166 .PHONY: maybe-installcheck-intl installcheck-intl
11167 maybe-installcheck-intl:
11168 @if intl
11169 maybe-installcheck-intl: installcheck-intl
11171 installcheck-intl: \
11172 configure-intl
11173 @[ -f ./intl/Makefile ] || exit 0; \
11174 r=`${PWD_COMMAND}`; export r; \
11175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11176 $(SET_LIB_PATH) \
11177 $(HOST_EXPORTS) \
11178 for flag in $(EXTRA_HOST_FLAGS) ; do \
11179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11180 done; \
11181 echo "Doing installcheck in intl" ; \
11182 (cd intl && \
11183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11185 "RANLIB=$${RANLIB}" \
11186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11187 installcheck) \
11188 || exit 1
11190 @endif intl
11192 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11193 maybe-mostlyclean-intl:
11194 @if intl
11195 maybe-mostlyclean-intl: mostlyclean-intl
11197 mostlyclean-intl:
11198 @[ -f ./intl/Makefile ] || exit 0; \
11199 r=`${PWD_COMMAND}`; export r; \
11200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11201 $(SET_LIB_PATH) \
11202 $(HOST_EXPORTS) \
11203 for flag in $(EXTRA_HOST_FLAGS) ; do \
11204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11205 done; \
11206 echo "Doing mostlyclean in intl" ; \
11207 (cd intl && \
11208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11210 "RANLIB=$${RANLIB}" \
11211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11212 mostlyclean) \
11213 || exit 1
11215 @endif intl
11217 .PHONY: maybe-clean-intl clean-intl
11218 maybe-clean-intl:
11219 @if intl
11220 maybe-clean-intl: clean-intl
11222 clean-intl:
11223 @[ -f ./intl/Makefile ] || exit 0; \
11224 r=`${PWD_COMMAND}`; export r; \
11225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11226 $(SET_LIB_PATH) \
11227 $(HOST_EXPORTS) \
11228 for flag in $(EXTRA_HOST_FLAGS) ; do \
11229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11230 done; \
11231 echo "Doing clean in intl" ; \
11232 (cd intl && \
11233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11235 "RANLIB=$${RANLIB}" \
11236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11237 clean) \
11238 || exit 1
11240 @endif intl
11242 .PHONY: maybe-distclean-intl distclean-intl
11243 maybe-distclean-intl:
11244 @if intl
11245 maybe-distclean-intl: distclean-intl
11247 distclean-intl:
11248 @[ -f ./intl/Makefile ] || exit 0; \
11249 r=`${PWD_COMMAND}`; export r; \
11250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11251 $(SET_LIB_PATH) \
11252 $(HOST_EXPORTS) \
11253 for flag in $(EXTRA_HOST_FLAGS) ; do \
11254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11255 done; \
11256 echo "Doing distclean in intl" ; \
11257 (cd intl && \
11258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11260 "RANLIB=$${RANLIB}" \
11261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11262 distclean) \
11263 || exit 1
11265 @endif intl
11267 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11268 maybe-maintainer-clean-intl:
11269 @if intl
11270 maybe-maintainer-clean-intl: maintainer-clean-intl
11272 maintainer-clean-intl:
11273 @[ -f ./intl/Makefile ] || exit 0; \
11274 r=`${PWD_COMMAND}`; export r; \
11275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11276 $(SET_LIB_PATH) \
11277 $(HOST_EXPORTS) \
11278 for flag in $(EXTRA_HOST_FLAGS) ; do \
11279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11280 done; \
11281 echo "Doing maintainer-clean in intl" ; \
11282 (cd intl && \
11283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11285 "RANLIB=$${RANLIB}" \
11286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11287 maintainer-clean) \
11288 || exit 1
11290 @endif intl
11293 .PHONY: configure-tcl maybe-configure-tcl
11294 maybe-configure-tcl:
11295 @if tcl
11296 maybe-configure-tcl: configure-tcl
11297 configure-tcl:
11298 @test ! -f tcl/Makefile || exit 0; \
11299 [ -d tcl ] || mkdir tcl; \
11300 r=`${PWD_COMMAND}`; export r; \
11301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11302 $(HOST_EXPORTS) \
11303 echo Configuring in tcl; \
11304 cd tcl || exit 1; \
11305 case $(srcdir) in \
11306 \.) \
11307 srcdiroption="--srcdir=."; \
11308 libsrcdir=".";; \
11309 /* | [A-Za-z]:[\\/]*) \
11310 srcdiroption="--srcdir=$(srcdir)/tcl"; \
11311 libsrcdir="$$s/tcl";; \
11312 *) \
11313 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
11314 libsrcdir="$$s/tcl";; \
11315 esac; \
11316 $(SHELL) $${libsrcdir}/configure \
11317 $(HOST_CONFIGARGS) $${srcdiroption} \
11318 || exit 1
11319 @endif tcl
11321 .PHONY: all-tcl maybe-all-tcl
11322 maybe-all-tcl:
11323 @if tcl
11324 maybe-all-tcl: all-tcl
11325 all-tcl: configure-tcl
11326 @r=`${PWD_COMMAND}`; export r; \
11327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11328 $(SET_LIB_PATH) \
11329 $(HOST_EXPORTS) \
11330 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
11331 @endif tcl
11333 .PHONY: check-tcl maybe-check-tcl
11334 maybe-check-tcl:
11335 @if tcl
11336 maybe-check-tcl: check-tcl
11338 check-tcl:
11339 @r=`${PWD_COMMAND}`; export r; \
11340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11341 $(SET_LIB_PATH) \
11342 $(HOST_EXPORTS) \
11343 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
11345 @endif tcl
11347 .PHONY: install-tcl maybe-install-tcl
11348 maybe-install-tcl:
11349 @if tcl
11350 maybe-install-tcl: install-tcl
11352 install-tcl: installdirs
11353 @r=`${PWD_COMMAND}`; export r; \
11354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11355 $(SET_LIB_PATH) \
11356 $(HOST_EXPORTS) \
11357 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
11359 @endif tcl
11361 # Other targets (info, dvi, etc.)
11363 .PHONY: maybe-info-tcl info-tcl
11364 maybe-info-tcl:
11365 @if tcl
11366 maybe-info-tcl: info-tcl
11368 info-tcl: \
11369 configure-tcl
11370 @[ -f ./tcl/Makefile ] || exit 0; \
11371 r=`${PWD_COMMAND}`; export r; \
11372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11373 $(SET_LIB_PATH) \
11374 $(HOST_EXPORTS) \
11375 for flag in $(EXTRA_HOST_FLAGS) ; do \
11376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11377 done; \
11378 echo "Doing info in tcl" ; \
11379 (cd tcl && \
11380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11382 "RANLIB=$${RANLIB}" \
11383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11384 info) \
11385 || exit 1
11387 @endif tcl
11389 .PHONY: maybe-dvi-tcl dvi-tcl
11390 maybe-dvi-tcl:
11391 @if tcl
11392 maybe-dvi-tcl: dvi-tcl
11394 dvi-tcl: \
11395 configure-tcl
11396 @[ -f ./tcl/Makefile ] || exit 0; \
11397 r=`${PWD_COMMAND}`; export r; \
11398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11399 $(SET_LIB_PATH) \
11400 $(HOST_EXPORTS) \
11401 for flag in $(EXTRA_HOST_FLAGS) ; do \
11402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11403 done; \
11404 echo "Doing dvi in tcl" ; \
11405 (cd tcl && \
11406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11408 "RANLIB=$${RANLIB}" \
11409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11410 dvi) \
11411 || exit 1
11413 @endif tcl
11415 .PHONY: maybe-TAGS-tcl TAGS-tcl
11416 maybe-TAGS-tcl:
11417 @if tcl
11418 maybe-TAGS-tcl: TAGS-tcl
11420 TAGS-tcl: \
11421 configure-tcl
11422 @[ -f ./tcl/Makefile ] || exit 0; \
11423 r=`${PWD_COMMAND}`; export r; \
11424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11425 $(SET_LIB_PATH) \
11426 $(HOST_EXPORTS) \
11427 for flag in $(EXTRA_HOST_FLAGS) ; do \
11428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11429 done; \
11430 echo "Doing TAGS in tcl" ; \
11431 (cd tcl && \
11432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11434 "RANLIB=$${RANLIB}" \
11435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11436 TAGS) \
11437 || exit 1
11439 @endif tcl
11441 .PHONY: maybe-install-info-tcl install-info-tcl
11442 maybe-install-info-tcl:
11443 @if tcl
11444 maybe-install-info-tcl: install-info-tcl
11446 install-info-tcl: \
11447 configure-tcl \
11448 info-tcl
11449 @[ -f ./tcl/Makefile ] || exit 0; \
11450 r=`${PWD_COMMAND}`; export r; \
11451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11452 $(SET_LIB_PATH) \
11453 $(HOST_EXPORTS) \
11454 for flag in $(EXTRA_HOST_FLAGS) ; do \
11455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11456 done; \
11457 echo "Doing install-info in tcl" ; \
11458 (cd tcl && \
11459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11461 "RANLIB=$${RANLIB}" \
11462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11463 install-info) \
11464 || exit 1
11466 @endif tcl
11468 .PHONY: maybe-installcheck-tcl installcheck-tcl
11469 maybe-installcheck-tcl:
11470 @if tcl
11471 maybe-installcheck-tcl: installcheck-tcl
11473 installcheck-tcl: \
11474 configure-tcl
11475 @[ -f ./tcl/Makefile ] || exit 0; \
11476 r=`${PWD_COMMAND}`; export r; \
11477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11478 $(SET_LIB_PATH) \
11479 $(HOST_EXPORTS) \
11480 for flag in $(EXTRA_HOST_FLAGS) ; do \
11481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11482 done; \
11483 echo "Doing installcheck in tcl" ; \
11484 (cd tcl && \
11485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11487 "RANLIB=$${RANLIB}" \
11488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11489 installcheck) \
11490 || exit 1
11492 @endif tcl
11494 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
11495 maybe-mostlyclean-tcl:
11496 @if tcl
11497 maybe-mostlyclean-tcl: mostlyclean-tcl
11499 # tcl doesn't support mostlyclean.
11500 mostlyclean-tcl:
11502 @endif tcl
11504 .PHONY: maybe-clean-tcl clean-tcl
11505 maybe-clean-tcl:
11506 @if tcl
11507 maybe-clean-tcl: clean-tcl
11509 clean-tcl:
11510 @[ -f ./tcl/Makefile ] || exit 0; \
11511 r=`${PWD_COMMAND}`; export r; \
11512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11513 $(SET_LIB_PATH) \
11514 $(HOST_EXPORTS) \
11515 for flag in $(EXTRA_HOST_FLAGS) ; do \
11516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11517 done; \
11518 echo "Doing clean in tcl" ; \
11519 (cd tcl && \
11520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11522 "RANLIB=$${RANLIB}" \
11523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11524 clean) \
11525 || exit 1
11527 @endif tcl
11529 .PHONY: maybe-distclean-tcl distclean-tcl
11530 maybe-distclean-tcl:
11531 @if tcl
11532 maybe-distclean-tcl: distclean-tcl
11534 distclean-tcl:
11535 @[ -f ./tcl/Makefile ] || exit 0; \
11536 r=`${PWD_COMMAND}`; export r; \
11537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11538 $(SET_LIB_PATH) \
11539 $(HOST_EXPORTS) \
11540 for flag in $(EXTRA_HOST_FLAGS) ; do \
11541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11542 done; \
11543 echo "Doing distclean in tcl" ; \
11544 (cd tcl && \
11545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11547 "RANLIB=$${RANLIB}" \
11548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11549 distclean) \
11550 || exit 1
11552 @endif tcl
11554 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
11555 maybe-maintainer-clean-tcl:
11556 @if tcl
11557 maybe-maintainer-clean-tcl: maintainer-clean-tcl
11559 maintainer-clean-tcl:
11560 @[ -f ./tcl/Makefile ] || exit 0; \
11561 r=`${PWD_COMMAND}`; export r; \
11562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11563 $(SET_LIB_PATH) \
11564 $(HOST_EXPORTS) \
11565 for flag in $(EXTRA_HOST_FLAGS) ; do \
11566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11567 done; \
11568 echo "Doing maintainer-clean in tcl" ; \
11569 (cd tcl && \
11570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11572 "RANLIB=$${RANLIB}" \
11573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11574 maintainer-clean) \
11575 || exit 1
11577 @endif tcl
11580 .PHONY: configure-itcl maybe-configure-itcl
11581 maybe-configure-itcl:
11582 @if itcl
11583 maybe-configure-itcl: configure-itcl
11584 configure-itcl:
11585 @test ! -f itcl/Makefile || exit 0; \
11586 [ -d itcl ] || mkdir itcl; \
11587 r=`${PWD_COMMAND}`; export r; \
11588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11589 $(HOST_EXPORTS) \
11590 echo Configuring in itcl; \
11591 cd itcl || exit 1; \
11592 case $(srcdir) in \
11593 \.) \
11594 srcdiroption="--srcdir=."; \
11595 libsrcdir=".";; \
11596 /* | [A-Za-z]:[\\/]*) \
11597 srcdiroption="--srcdir=$(srcdir)/itcl"; \
11598 libsrcdir="$$s/itcl";; \
11599 *) \
11600 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
11601 libsrcdir="$$s/itcl";; \
11602 esac; \
11603 $(SHELL) $${libsrcdir}/configure \
11604 $(HOST_CONFIGARGS) $${srcdiroption} \
11605 || exit 1
11606 @endif itcl
11608 .PHONY: all-itcl maybe-all-itcl
11609 maybe-all-itcl:
11610 @if itcl
11611 maybe-all-itcl: all-itcl
11612 all-itcl: configure-itcl
11613 @r=`${PWD_COMMAND}`; export r; \
11614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11615 $(SET_LIB_PATH) \
11616 $(HOST_EXPORTS) \
11617 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
11618 @endif itcl
11620 .PHONY: check-itcl maybe-check-itcl
11621 maybe-check-itcl:
11622 @if itcl
11623 maybe-check-itcl: check-itcl
11625 check-itcl:
11626 @r=`${PWD_COMMAND}`; export r; \
11627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11628 $(SET_LIB_PATH) \
11629 $(HOST_EXPORTS) \
11630 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
11632 @endif itcl
11634 .PHONY: install-itcl maybe-install-itcl
11635 maybe-install-itcl:
11636 @if itcl
11637 maybe-install-itcl: install-itcl
11639 install-itcl: installdirs
11640 @r=`${PWD_COMMAND}`; export r; \
11641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11642 $(SET_LIB_PATH) \
11643 $(HOST_EXPORTS) \
11644 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
11646 @endif itcl
11648 # Other targets (info, dvi, etc.)
11650 .PHONY: maybe-info-itcl info-itcl
11651 maybe-info-itcl:
11652 @if itcl
11653 maybe-info-itcl: info-itcl
11655 info-itcl: \
11656 configure-itcl
11657 @[ -f ./itcl/Makefile ] || exit 0; \
11658 r=`${PWD_COMMAND}`; export r; \
11659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11660 $(SET_LIB_PATH) \
11661 $(HOST_EXPORTS) \
11662 for flag in $(EXTRA_HOST_FLAGS) ; do \
11663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11664 done; \
11665 echo "Doing info in itcl" ; \
11666 (cd itcl && \
11667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11669 "RANLIB=$${RANLIB}" \
11670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11671 info) \
11672 || exit 1
11674 @endif itcl
11676 .PHONY: maybe-dvi-itcl dvi-itcl
11677 maybe-dvi-itcl:
11678 @if itcl
11679 maybe-dvi-itcl: dvi-itcl
11681 dvi-itcl: \
11682 configure-itcl
11683 @[ -f ./itcl/Makefile ] || exit 0; \
11684 r=`${PWD_COMMAND}`; export r; \
11685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11686 $(SET_LIB_PATH) \
11687 $(HOST_EXPORTS) \
11688 for flag in $(EXTRA_HOST_FLAGS) ; do \
11689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11690 done; \
11691 echo "Doing dvi in itcl" ; \
11692 (cd itcl && \
11693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11695 "RANLIB=$${RANLIB}" \
11696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11697 dvi) \
11698 || exit 1
11700 @endif itcl
11702 .PHONY: maybe-TAGS-itcl TAGS-itcl
11703 maybe-TAGS-itcl:
11704 @if itcl
11705 maybe-TAGS-itcl: TAGS-itcl
11707 TAGS-itcl: \
11708 configure-itcl
11709 @[ -f ./itcl/Makefile ] || exit 0; \
11710 r=`${PWD_COMMAND}`; export r; \
11711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11712 $(SET_LIB_PATH) \
11713 $(HOST_EXPORTS) \
11714 for flag in $(EXTRA_HOST_FLAGS) ; do \
11715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11716 done; \
11717 echo "Doing TAGS in itcl" ; \
11718 (cd itcl && \
11719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11721 "RANLIB=$${RANLIB}" \
11722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11723 TAGS) \
11724 || exit 1
11726 @endif itcl
11728 .PHONY: maybe-install-info-itcl install-info-itcl
11729 maybe-install-info-itcl:
11730 @if itcl
11731 maybe-install-info-itcl: install-info-itcl
11733 install-info-itcl: \
11734 configure-itcl \
11735 info-itcl
11736 @[ -f ./itcl/Makefile ] || exit 0; \
11737 r=`${PWD_COMMAND}`; export r; \
11738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11739 $(SET_LIB_PATH) \
11740 $(HOST_EXPORTS) \
11741 for flag in $(EXTRA_HOST_FLAGS) ; do \
11742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11743 done; \
11744 echo "Doing install-info in itcl" ; \
11745 (cd itcl && \
11746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11748 "RANLIB=$${RANLIB}" \
11749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11750 install-info) \
11751 || exit 1
11753 @endif itcl
11755 .PHONY: maybe-installcheck-itcl installcheck-itcl
11756 maybe-installcheck-itcl:
11757 @if itcl
11758 maybe-installcheck-itcl: installcheck-itcl
11760 installcheck-itcl: \
11761 configure-itcl
11762 @[ -f ./itcl/Makefile ] || exit 0; \
11763 r=`${PWD_COMMAND}`; export r; \
11764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11765 $(SET_LIB_PATH) \
11766 $(HOST_EXPORTS) \
11767 for flag in $(EXTRA_HOST_FLAGS) ; do \
11768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11769 done; \
11770 echo "Doing installcheck in itcl" ; \
11771 (cd itcl && \
11772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11774 "RANLIB=$${RANLIB}" \
11775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11776 installcheck) \
11777 || exit 1
11779 @endif itcl
11781 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11782 maybe-mostlyclean-itcl:
11783 @if itcl
11784 maybe-mostlyclean-itcl: mostlyclean-itcl
11786 mostlyclean-itcl:
11787 @[ -f ./itcl/Makefile ] || exit 0; \
11788 r=`${PWD_COMMAND}`; export r; \
11789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11790 $(SET_LIB_PATH) \
11791 $(HOST_EXPORTS) \
11792 for flag in $(EXTRA_HOST_FLAGS) ; do \
11793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11794 done; \
11795 echo "Doing mostlyclean in itcl" ; \
11796 (cd itcl && \
11797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11799 "RANLIB=$${RANLIB}" \
11800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11801 mostlyclean) \
11802 || exit 1
11804 @endif itcl
11806 .PHONY: maybe-clean-itcl clean-itcl
11807 maybe-clean-itcl:
11808 @if itcl
11809 maybe-clean-itcl: clean-itcl
11811 clean-itcl:
11812 @[ -f ./itcl/Makefile ] || exit 0; \
11813 r=`${PWD_COMMAND}`; export r; \
11814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11815 $(SET_LIB_PATH) \
11816 $(HOST_EXPORTS) \
11817 for flag in $(EXTRA_HOST_FLAGS) ; do \
11818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11819 done; \
11820 echo "Doing clean in itcl" ; \
11821 (cd itcl && \
11822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11824 "RANLIB=$${RANLIB}" \
11825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11826 clean) \
11827 || exit 1
11829 @endif itcl
11831 .PHONY: maybe-distclean-itcl distclean-itcl
11832 maybe-distclean-itcl:
11833 @if itcl
11834 maybe-distclean-itcl: distclean-itcl
11836 distclean-itcl:
11837 @[ -f ./itcl/Makefile ] || exit 0; \
11838 r=`${PWD_COMMAND}`; export r; \
11839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11840 $(SET_LIB_PATH) \
11841 $(HOST_EXPORTS) \
11842 for flag in $(EXTRA_HOST_FLAGS) ; do \
11843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11844 done; \
11845 echo "Doing distclean in itcl" ; \
11846 (cd itcl && \
11847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11849 "RANLIB=$${RANLIB}" \
11850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11851 distclean) \
11852 || exit 1
11854 @endif itcl
11856 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11857 maybe-maintainer-clean-itcl:
11858 @if itcl
11859 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11861 maintainer-clean-itcl:
11862 @[ -f ./itcl/Makefile ] || exit 0; \
11863 r=`${PWD_COMMAND}`; export r; \
11864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11865 $(SET_LIB_PATH) \
11866 $(HOST_EXPORTS) \
11867 for flag in $(EXTRA_HOST_FLAGS) ; do \
11868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11869 done; \
11870 echo "Doing maintainer-clean in itcl" ; \
11871 (cd itcl && \
11872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11874 "RANLIB=$${RANLIB}" \
11875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11876 maintainer-clean) \
11877 || exit 1
11879 @endif itcl
11882 .PHONY: configure-ld maybe-configure-ld
11883 maybe-configure-ld:
11884 @if ld
11885 maybe-configure-ld: configure-ld
11886 configure-ld:
11887 @test -f stage_last && exit 0; \
11888 test ! -f ld/Makefile || exit 0; \
11889 [ -d ld ] || mkdir ld; \
11890 r=`${PWD_COMMAND}`; export r; \
11891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11892 $(HOST_EXPORTS) \
11893 echo Configuring in ld; \
11894 cd ld || exit 1; \
11895 case $(srcdir) in \
11896 \.) \
11897 srcdiroption="--srcdir=."; \
11898 libsrcdir=".";; \
11899 /* | [A-Za-z]:[\\/]*) \
11900 srcdiroption="--srcdir=$(srcdir)/ld"; \
11901 libsrcdir="$$s/ld";; \
11902 *) \
11903 srcdiroption="--srcdir=../$(srcdir)/ld"; \
11904 libsrcdir="$$s/ld";; \
11905 esac; \
11906 $(SHELL) $${libsrcdir}/configure \
11907 $(HOST_CONFIGARGS) $${srcdiroption} \
11908 || exit 1
11909 @endif ld
11911 .PHONY: all-ld maybe-all-ld
11912 maybe-all-ld:
11913 @if ld
11914 maybe-all-ld: all-ld
11915 all-ld: configure-ld
11916 @test -f stage_last && exit 0; \
11917 r=`${PWD_COMMAND}`; export r; \
11918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11919 $(SET_LIB_PATH) \
11920 $(HOST_EXPORTS) \
11921 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
11922 @endif ld
11924 .PHONY: check-ld maybe-check-ld
11925 maybe-check-ld:
11926 @if ld
11927 maybe-check-ld: check-ld
11929 check-ld:
11930 @r=`${PWD_COMMAND}`; export r; \
11931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11932 $(SET_LIB_PATH) \
11933 $(HOST_EXPORTS) \
11934 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11936 @endif ld
11938 .PHONY: install-ld maybe-install-ld
11939 maybe-install-ld:
11940 @if ld
11941 maybe-install-ld: install-ld
11943 install-ld: installdirs
11944 @r=`${PWD_COMMAND}`; export r; \
11945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11946 $(SET_LIB_PATH) \
11947 $(HOST_EXPORTS) \
11948 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
11950 @endif ld
11952 # Other targets (info, dvi, etc.)
11954 .PHONY: maybe-info-ld info-ld
11955 maybe-info-ld:
11956 @if ld
11957 maybe-info-ld: info-ld
11959 info-ld: \
11960 configure-ld
11961 @[ -f ./ld/Makefile ] || exit 0; \
11962 r=`${PWD_COMMAND}`; export r; \
11963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11964 $(SET_LIB_PATH) \
11965 $(HOST_EXPORTS) \
11966 for flag in $(EXTRA_HOST_FLAGS) ; do \
11967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11968 done; \
11969 echo "Doing info in ld" ; \
11970 (cd ld && \
11971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11973 "RANLIB=$${RANLIB}" \
11974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11975 info) \
11976 || exit 1
11978 @endif ld
11980 .PHONY: maybe-dvi-ld dvi-ld
11981 maybe-dvi-ld:
11982 @if ld
11983 maybe-dvi-ld: dvi-ld
11985 dvi-ld: \
11986 configure-ld
11987 @[ -f ./ld/Makefile ] || exit 0; \
11988 r=`${PWD_COMMAND}`; export r; \
11989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11990 $(SET_LIB_PATH) \
11991 $(HOST_EXPORTS) \
11992 for flag in $(EXTRA_HOST_FLAGS) ; do \
11993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11994 done; \
11995 echo "Doing dvi in ld" ; \
11996 (cd ld && \
11997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11999 "RANLIB=$${RANLIB}" \
12000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12001 dvi) \
12002 || exit 1
12004 @endif ld
12006 .PHONY: maybe-TAGS-ld TAGS-ld
12007 maybe-TAGS-ld:
12008 @if ld
12009 maybe-TAGS-ld: TAGS-ld
12011 TAGS-ld: \
12012 configure-ld
12013 @[ -f ./ld/Makefile ] || exit 0; \
12014 r=`${PWD_COMMAND}`; export r; \
12015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12016 $(SET_LIB_PATH) \
12017 $(HOST_EXPORTS) \
12018 for flag in $(EXTRA_HOST_FLAGS) ; do \
12019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12020 done; \
12021 echo "Doing TAGS in ld" ; \
12022 (cd ld && \
12023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12025 "RANLIB=$${RANLIB}" \
12026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12027 TAGS) \
12028 || exit 1
12030 @endif ld
12032 .PHONY: maybe-install-info-ld install-info-ld
12033 maybe-install-info-ld:
12034 @if ld
12035 maybe-install-info-ld: install-info-ld
12037 install-info-ld: \
12038 configure-ld \
12039 info-ld
12040 @[ -f ./ld/Makefile ] || exit 0; \
12041 r=`${PWD_COMMAND}`; export r; \
12042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12043 $(SET_LIB_PATH) \
12044 $(HOST_EXPORTS) \
12045 for flag in $(EXTRA_HOST_FLAGS) ; do \
12046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12047 done; \
12048 echo "Doing install-info in ld" ; \
12049 (cd ld && \
12050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12052 "RANLIB=$${RANLIB}" \
12053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12054 install-info) \
12055 || exit 1
12057 @endif ld
12059 .PHONY: maybe-installcheck-ld installcheck-ld
12060 maybe-installcheck-ld:
12061 @if ld
12062 maybe-installcheck-ld: installcheck-ld
12064 installcheck-ld: \
12065 configure-ld
12066 @[ -f ./ld/Makefile ] || exit 0; \
12067 r=`${PWD_COMMAND}`; export r; \
12068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12069 $(SET_LIB_PATH) \
12070 $(HOST_EXPORTS) \
12071 for flag in $(EXTRA_HOST_FLAGS) ; do \
12072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12073 done; \
12074 echo "Doing installcheck in ld" ; \
12075 (cd ld && \
12076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12078 "RANLIB=$${RANLIB}" \
12079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12080 installcheck) \
12081 || exit 1
12083 @endif ld
12085 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12086 maybe-mostlyclean-ld:
12087 @if ld
12088 maybe-mostlyclean-ld: mostlyclean-ld
12090 mostlyclean-ld:
12091 @[ -f ./ld/Makefile ] || exit 0; \
12092 r=`${PWD_COMMAND}`; export r; \
12093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12094 $(SET_LIB_PATH) \
12095 $(HOST_EXPORTS) \
12096 for flag in $(EXTRA_HOST_FLAGS) ; do \
12097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12098 done; \
12099 echo "Doing mostlyclean in ld" ; \
12100 (cd ld && \
12101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12103 "RANLIB=$${RANLIB}" \
12104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12105 mostlyclean) \
12106 || exit 1
12108 @endif ld
12110 .PHONY: maybe-clean-ld clean-ld
12111 maybe-clean-ld:
12112 @if ld
12113 maybe-clean-ld: clean-ld
12115 clean-ld:
12116 @[ -f ./ld/Makefile ] || exit 0; \
12117 r=`${PWD_COMMAND}`; export r; \
12118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12119 $(SET_LIB_PATH) \
12120 $(HOST_EXPORTS) \
12121 for flag in $(EXTRA_HOST_FLAGS) ; do \
12122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12123 done; \
12124 echo "Doing clean in ld" ; \
12125 (cd ld && \
12126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12128 "RANLIB=$${RANLIB}" \
12129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12130 clean) \
12131 || exit 1
12133 @endif ld
12135 .PHONY: maybe-distclean-ld distclean-ld
12136 maybe-distclean-ld:
12137 @if ld
12138 maybe-distclean-ld: distclean-ld
12140 distclean-ld:
12141 @[ -f ./ld/Makefile ] || exit 0; \
12142 r=`${PWD_COMMAND}`; export r; \
12143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12144 $(SET_LIB_PATH) \
12145 $(HOST_EXPORTS) \
12146 for flag in $(EXTRA_HOST_FLAGS) ; do \
12147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12148 done; \
12149 echo "Doing distclean in ld" ; \
12150 (cd ld && \
12151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12153 "RANLIB=$${RANLIB}" \
12154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12155 distclean) \
12156 || exit 1
12158 @endif ld
12160 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12161 maybe-maintainer-clean-ld:
12162 @if ld
12163 maybe-maintainer-clean-ld: maintainer-clean-ld
12165 maintainer-clean-ld:
12166 @[ -f ./ld/Makefile ] || exit 0; \
12167 r=`${PWD_COMMAND}`; export r; \
12168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12169 $(SET_LIB_PATH) \
12170 $(HOST_EXPORTS) \
12171 for flag in $(EXTRA_HOST_FLAGS) ; do \
12172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12173 done; \
12174 echo "Doing maintainer-clean in ld" ; \
12175 (cd ld && \
12176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12178 "RANLIB=$${RANLIB}" \
12179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12180 maintainer-clean) \
12181 || exit 1
12183 @endif ld
12186 .PHONY: configure-libcpp maybe-configure-libcpp
12187 maybe-configure-libcpp:
12188 @if libcpp
12189 maybe-configure-libcpp: configure-libcpp
12190 configure-libcpp:
12191 @test -f stage_last && exit 0; \
12192 test ! -f libcpp/Makefile || exit 0; \
12193 [ -d libcpp ] || mkdir libcpp; \
12194 r=`${PWD_COMMAND}`; export r; \
12195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12196 $(HOST_EXPORTS) \
12197 echo Configuring in libcpp; \
12198 cd libcpp || exit 1; \
12199 case $(srcdir) in \
12200 \.) \
12201 srcdiroption="--srcdir=."; \
12202 libsrcdir=".";; \
12203 /* | [A-Za-z]:[\\/]*) \
12204 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
12205 libsrcdir="$$s/libcpp";; \
12206 *) \
12207 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
12208 libsrcdir="$$s/libcpp";; \
12209 esac; \
12210 $(SHELL) $${libsrcdir}/configure \
12211 $(HOST_CONFIGARGS) $${srcdiroption} \
12212 || exit 1
12213 @endif libcpp
12215 .PHONY: all-libcpp maybe-all-libcpp
12216 maybe-all-libcpp:
12217 @if libcpp
12218 maybe-all-libcpp: all-libcpp
12219 all-libcpp: configure-libcpp
12220 @test -f stage_last && exit 0; \
12221 r=`${PWD_COMMAND}`; export r; \
12222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12223 $(SET_LIB_PATH) \
12224 $(HOST_EXPORTS) \
12225 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) all)
12226 @endif libcpp
12228 .PHONY: check-libcpp maybe-check-libcpp
12229 maybe-check-libcpp:
12230 @if libcpp
12231 maybe-check-libcpp: check-libcpp
12233 check-libcpp:
12234 @r=`${PWD_COMMAND}`; export r; \
12235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12236 $(SET_LIB_PATH) \
12237 $(HOST_EXPORTS) \
12238 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
12240 @endif libcpp
12242 .PHONY: install-libcpp maybe-install-libcpp
12243 maybe-install-libcpp:
12244 @if libcpp
12245 maybe-install-libcpp: install-libcpp
12247 install-libcpp: installdirs
12248 @r=`${PWD_COMMAND}`; export r; \
12249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12250 $(SET_LIB_PATH) \
12251 $(HOST_EXPORTS) \
12252 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
12254 @endif libcpp
12256 # Other targets (info, dvi, etc.)
12258 .PHONY: maybe-info-libcpp info-libcpp
12259 maybe-info-libcpp:
12260 @if libcpp
12261 maybe-info-libcpp: info-libcpp
12263 info-libcpp: \
12264 configure-libcpp
12265 @[ -f ./libcpp/Makefile ] || exit 0; \
12266 r=`${PWD_COMMAND}`; export r; \
12267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12268 $(SET_LIB_PATH) \
12269 $(HOST_EXPORTS) \
12270 for flag in $(EXTRA_HOST_FLAGS) ; do \
12271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12272 done; \
12273 echo "Doing info in libcpp" ; \
12274 (cd libcpp && \
12275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12277 "RANLIB=$${RANLIB}" \
12278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12279 info) \
12280 || exit 1
12282 @endif libcpp
12284 .PHONY: maybe-dvi-libcpp dvi-libcpp
12285 maybe-dvi-libcpp:
12286 @if libcpp
12287 maybe-dvi-libcpp: dvi-libcpp
12289 dvi-libcpp: \
12290 configure-libcpp
12291 @[ -f ./libcpp/Makefile ] || exit 0; \
12292 r=`${PWD_COMMAND}`; export r; \
12293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12294 $(SET_LIB_PATH) \
12295 $(HOST_EXPORTS) \
12296 for flag in $(EXTRA_HOST_FLAGS) ; do \
12297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12298 done; \
12299 echo "Doing dvi in libcpp" ; \
12300 (cd libcpp && \
12301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12303 "RANLIB=$${RANLIB}" \
12304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12305 dvi) \
12306 || exit 1
12308 @endif libcpp
12310 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
12311 maybe-TAGS-libcpp:
12312 @if libcpp
12313 maybe-TAGS-libcpp: TAGS-libcpp
12315 TAGS-libcpp: \
12316 configure-libcpp
12317 @[ -f ./libcpp/Makefile ] || exit 0; \
12318 r=`${PWD_COMMAND}`; export r; \
12319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12320 $(SET_LIB_PATH) \
12321 $(HOST_EXPORTS) \
12322 for flag in $(EXTRA_HOST_FLAGS) ; do \
12323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12324 done; \
12325 echo "Doing TAGS in libcpp" ; \
12326 (cd libcpp && \
12327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12329 "RANLIB=$${RANLIB}" \
12330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12331 TAGS) \
12332 || exit 1
12334 @endif libcpp
12336 .PHONY: maybe-install-info-libcpp install-info-libcpp
12337 maybe-install-info-libcpp:
12338 @if libcpp
12339 maybe-install-info-libcpp: install-info-libcpp
12341 install-info-libcpp: \
12342 configure-libcpp \
12343 info-libcpp
12344 @[ -f ./libcpp/Makefile ] || exit 0; \
12345 r=`${PWD_COMMAND}`; export r; \
12346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12347 $(SET_LIB_PATH) \
12348 $(HOST_EXPORTS) \
12349 for flag in $(EXTRA_HOST_FLAGS) ; do \
12350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12351 done; \
12352 echo "Doing install-info in libcpp" ; \
12353 (cd libcpp && \
12354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12356 "RANLIB=$${RANLIB}" \
12357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12358 install-info) \
12359 || exit 1
12361 @endif libcpp
12363 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12364 maybe-installcheck-libcpp:
12365 @if libcpp
12366 maybe-installcheck-libcpp: installcheck-libcpp
12368 installcheck-libcpp: \
12369 configure-libcpp
12370 @[ -f ./libcpp/Makefile ] || exit 0; \
12371 r=`${PWD_COMMAND}`; export r; \
12372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12373 $(SET_LIB_PATH) \
12374 $(HOST_EXPORTS) \
12375 for flag in $(EXTRA_HOST_FLAGS) ; do \
12376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12377 done; \
12378 echo "Doing installcheck in libcpp" ; \
12379 (cd libcpp && \
12380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12382 "RANLIB=$${RANLIB}" \
12383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12384 installcheck) \
12385 || exit 1
12387 @endif libcpp
12389 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
12390 maybe-mostlyclean-libcpp:
12391 @if libcpp
12392 maybe-mostlyclean-libcpp: mostlyclean-libcpp
12394 mostlyclean-libcpp:
12395 @[ -f ./libcpp/Makefile ] || exit 0; \
12396 r=`${PWD_COMMAND}`; export r; \
12397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12398 $(SET_LIB_PATH) \
12399 $(HOST_EXPORTS) \
12400 for flag in $(EXTRA_HOST_FLAGS) ; do \
12401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12402 done; \
12403 echo "Doing mostlyclean in libcpp" ; \
12404 (cd libcpp && \
12405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12407 "RANLIB=$${RANLIB}" \
12408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12409 mostlyclean) \
12410 || exit 1
12412 @endif libcpp
12414 .PHONY: maybe-clean-libcpp clean-libcpp
12415 maybe-clean-libcpp:
12416 @if libcpp
12417 maybe-clean-libcpp: clean-libcpp
12419 clean-libcpp:
12420 @[ -f ./libcpp/Makefile ] || exit 0; \
12421 r=`${PWD_COMMAND}`; export r; \
12422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12423 $(SET_LIB_PATH) \
12424 $(HOST_EXPORTS) \
12425 for flag in $(EXTRA_HOST_FLAGS) ; do \
12426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12427 done; \
12428 echo "Doing clean in libcpp" ; \
12429 (cd libcpp && \
12430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12432 "RANLIB=$${RANLIB}" \
12433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12434 clean) \
12435 || exit 1
12437 @endif libcpp
12439 .PHONY: maybe-distclean-libcpp distclean-libcpp
12440 maybe-distclean-libcpp:
12441 @if libcpp
12442 maybe-distclean-libcpp: distclean-libcpp
12444 distclean-libcpp:
12445 @[ -f ./libcpp/Makefile ] || exit 0; \
12446 r=`${PWD_COMMAND}`; export r; \
12447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12448 $(SET_LIB_PATH) \
12449 $(HOST_EXPORTS) \
12450 for flag in $(EXTRA_HOST_FLAGS) ; do \
12451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12452 done; \
12453 echo "Doing distclean in libcpp" ; \
12454 (cd libcpp && \
12455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12457 "RANLIB=$${RANLIB}" \
12458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12459 distclean) \
12460 || exit 1
12462 @endif libcpp
12464 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
12465 maybe-maintainer-clean-libcpp:
12466 @if libcpp
12467 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
12469 maintainer-clean-libcpp:
12470 @[ -f ./libcpp/Makefile ] || exit 0; \
12471 r=`${PWD_COMMAND}`; export r; \
12472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12473 $(SET_LIB_PATH) \
12474 $(HOST_EXPORTS) \
12475 for flag in $(EXTRA_HOST_FLAGS) ; do \
12476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12477 done; \
12478 echo "Doing maintainer-clean in libcpp" ; \
12479 (cd libcpp && \
12480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12482 "RANLIB=$${RANLIB}" \
12483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12484 maintainer-clean) \
12485 || exit 1
12487 @endif libcpp
12490 .PHONY: configure-libgui maybe-configure-libgui
12491 maybe-configure-libgui:
12492 @if libgui
12493 maybe-configure-libgui: configure-libgui
12494 configure-libgui:
12495 @test ! -f libgui/Makefile || exit 0; \
12496 [ -d libgui ] || mkdir libgui; \
12497 r=`${PWD_COMMAND}`; export r; \
12498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12499 $(HOST_EXPORTS) \
12500 echo Configuring in libgui; \
12501 cd libgui || exit 1; \
12502 case $(srcdir) in \
12503 \.) \
12504 srcdiroption="--srcdir=."; \
12505 libsrcdir=".";; \
12506 /* | [A-Za-z]:[\\/]*) \
12507 srcdiroption="--srcdir=$(srcdir)/libgui"; \
12508 libsrcdir="$$s/libgui";; \
12509 *) \
12510 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
12511 libsrcdir="$$s/libgui";; \
12512 esac; \
12513 $(SHELL) $${libsrcdir}/configure \
12514 $(HOST_CONFIGARGS) $${srcdiroption} \
12515 || exit 1
12516 @endif libgui
12518 .PHONY: all-libgui maybe-all-libgui
12519 maybe-all-libgui:
12520 @if libgui
12521 maybe-all-libgui: all-libgui
12522 all-libgui: configure-libgui
12523 @r=`${PWD_COMMAND}`; export r; \
12524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12525 $(SET_LIB_PATH) \
12526 $(HOST_EXPORTS) \
12527 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
12528 @endif libgui
12530 .PHONY: check-libgui maybe-check-libgui
12531 maybe-check-libgui:
12532 @if libgui
12533 maybe-check-libgui: check-libgui
12535 check-libgui:
12536 @r=`${PWD_COMMAND}`; export r; \
12537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12538 $(SET_LIB_PATH) \
12539 $(HOST_EXPORTS) \
12540 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
12542 @endif libgui
12544 .PHONY: install-libgui maybe-install-libgui
12545 maybe-install-libgui:
12546 @if libgui
12547 maybe-install-libgui: install-libgui
12549 install-libgui: installdirs
12550 @r=`${PWD_COMMAND}`; export r; \
12551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12552 $(SET_LIB_PATH) \
12553 $(HOST_EXPORTS) \
12554 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
12556 @endif libgui
12558 # Other targets (info, dvi, etc.)
12560 .PHONY: maybe-info-libgui info-libgui
12561 maybe-info-libgui:
12562 @if libgui
12563 maybe-info-libgui: info-libgui
12565 info-libgui: \
12566 configure-libgui
12567 @[ -f ./libgui/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 libgui" ; \
12576 (cd libgui && \
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 libgui
12586 .PHONY: maybe-dvi-libgui dvi-libgui
12587 maybe-dvi-libgui:
12588 @if libgui
12589 maybe-dvi-libgui: dvi-libgui
12591 dvi-libgui: \
12592 configure-libgui
12593 @[ -f ./libgui/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 libgui" ; \
12602 (cd libgui && \
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 libgui
12612 .PHONY: maybe-TAGS-libgui TAGS-libgui
12613 maybe-TAGS-libgui:
12614 @if libgui
12615 maybe-TAGS-libgui: TAGS-libgui
12617 TAGS-libgui: \
12618 configure-libgui
12619 @[ -f ./libgui/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 libgui" ; \
12628 (cd libgui && \
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 libgui
12638 .PHONY: maybe-install-info-libgui install-info-libgui
12639 maybe-install-info-libgui:
12640 @if libgui
12641 maybe-install-info-libgui: install-info-libgui
12643 install-info-libgui: \
12644 configure-libgui \
12645 info-libgui
12646 @[ -f ./libgui/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 libgui" ; \
12655 (cd libgui && \
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 libgui
12665 .PHONY: maybe-installcheck-libgui installcheck-libgui
12666 maybe-installcheck-libgui:
12667 @if libgui
12668 maybe-installcheck-libgui: installcheck-libgui
12670 installcheck-libgui: \
12671 configure-libgui
12672 @[ -f ./libgui/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 libgui" ; \
12681 (cd libgui && \
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 libgui
12691 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12692 maybe-mostlyclean-libgui:
12693 @if libgui
12694 maybe-mostlyclean-libgui: mostlyclean-libgui
12696 mostlyclean-libgui:
12697 @[ -f ./libgui/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 libgui" ; \
12706 (cd libgui && \
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 libgui
12716 .PHONY: maybe-clean-libgui clean-libgui
12717 maybe-clean-libgui:
12718 @if libgui
12719 maybe-clean-libgui: clean-libgui
12721 clean-libgui:
12722 @[ -f ./libgui/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 libgui" ; \
12731 (cd libgui && \
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 libgui
12741 .PHONY: maybe-distclean-libgui distclean-libgui
12742 maybe-distclean-libgui:
12743 @if libgui
12744 maybe-distclean-libgui: distclean-libgui
12746 distclean-libgui:
12747 @[ -f ./libgui/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 libgui" ; \
12756 (cd libgui && \
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 libgui
12766 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12767 maybe-maintainer-clean-libgui:
12768 @if libgui
12769 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12771 maintainer-clean-libgui:
12772 @[ -f ./libgui/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 libgui" ; \
12781 (cd libgui && \
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 libgui
12792 .PHONY: configure-libiberty maybe-configure-libiberty
12793 maybe-configure-libiberty:
12794 @if libiberty
12795 maybe-configure-libiberty: configure-libiberty
12796 configure-libiberty:
12797 @test -f stage_last && exit 0; \
12798 test ! -f libiberty/Makefile || exit 0; \
12799 [ -d libiberty ] || mkdir libiberty; \
12800 r=`${PWD_COMMAND}`; export r; \
12801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12802 $(HOST_EXPORTS) \
12803 echo Configuring in libiberty; \
12804 cd libiberty || exit 1; \
12805 case $(srcdir) in \
12806 \.) \
12807 srcdiroption="--srcdir=."; \
12808 libsrcdir=".";; \
12809 /* | [A-Za-z]:[\\/]*) \
12810 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
12811 libsrcdir="$$s/libiberty";; \
12812 *) \
12813 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
12814 libsrcdir="$$s/libiberty";; \
12815 esac; \
12816 $(SHELL) $${libsrcdir}/configure \
12817 $(HOST_CONFIGARGS) $${srcdiroption} \
12818 || exit 1
12819 @endif libiberty
12821 .PHONY: all-libiberty maybe-all-libiberty
12822 maybe-all-libiberty:
12823 @if libiberty
12824 maybe-all-libiberty: all-libiberty
12825 all-libiberty: configure-libiberty
12826 @test -f stage_last && exit 0; \
12827 r=`${PWD_COMMAND}`; export r; \
12828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12829 $(SET_LIB_PATH) \
12830 $(HOST_EXPORTS) \
12831 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
12832 @endif libiberty
12834 .PHONY: check-libiberty maybe-check-libiberty
12835 maybe-check-libiberty:
12836 @if libiberty
12837 maybe-check-libiberty: check-libiberty
12839 check-libiberty:
12840 @r=`${PWD_COMMAND}`; export r; \
12841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12842 $(SET_LIB_PATH) \
12843 $(HOST_EXPORTS) \
12844 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
12846 @endif libiberty
12848 .PHONY: install-libiberty maybe-install-libiberty
12849 maybe-install-libiberty:
12850 @if libiberty
12851 maybe-install-libiberty: install-libiberty
12853 install-libiberty: installdirs
12854 @r=`${PWD_COMMAND}`; export r; \
12855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12856 $(SET_LIB_PATH) \
12857 $(HOST_EXPORTS) \
12858 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
12860 @endif libiberty
12862 # Other targets (info, dvi, etc.)
12864 .PHONY: maybe-info-libiberty info-libiberty
12865 maybe-info-libiberty:
12866 @if libiberty
12867 maybe-info-libiberty: info-libiberty
12869 info-libiberty: \
12870 configure-libiberty
12871 @[ -f ./libiberty/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 libiberty" ; \
12880 (cd libiberty && \
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 libiberty
12890 .PHONY: maybe-dvi-libiberty dvi-libiberty
12891 maybe-dvi-libiberty:
12892 @if libiberty
12893 maybe-dvi-libiberty: dvi-libiberty
12895 dvi-libiberty: \
12896 configure-libiberty
12897 @[ -f ./libiberty/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 libiberty" ; \
12906 (cd libiberty && \
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 libiberty
12916 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
12917 maybe-TAGS-libiberty:
12918 @if libiberty
12919 maybe-TAGS-libiberty: TAGS-libiberty
12921 TAGS-libiberty: \
12922 configure-libiberty
12923 @[ -f ./libiberty/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 libiberty" ; \
12932 (cd libiberty && \
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 libiberty
12942 .PHONY: maybe-install-info-libiberty install-info-libiberty
12943 maybe-install-info-libiberty:
12944 @if libiberty
12945 maybe-install-info-libiberty: install-info-libiberty
12947 install-info-libiberty: \
12948 configure-libiberty \
12949 info-libiberty
12950 @[ -f ./libiberty/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 libiberty" ; \
12959 (cd libiberty && \
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 libiberty
12969 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
12970 maybe-installcheck-libiberty:
12971 @if libiberty
12972 maybe-installcheck-libiberty: installcheck-libiberty
12974 installcheck-libiberty: \
12975 configure-libiberty
12976 @[ -f ./libiberty/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 libiberty" ; \
12985 (cd libiberty && \
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 libiberty
12995 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
12996 maybe-mostlyclean-libiberty:
12997 @if libiberty
12998 maybe-mostlyclean-libiberty: mostlyclean-libiberty
13000 mostlyclean-libiberty:
13001 @[ -f ./libiberty/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 libiberty" ; \
13010 (cd libiberty && \
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 libiberty
13020 .PHONY: maybe-clean-libiberty clean-libiberty
13021 maybe-clean-libiberty:
13022 @if libiberty
13023 maybe-clean-libiberty: clean-libiberty
13025 clean-libiberty:
13026 @[ -f ./libiberty/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 libiberty" ; \
13035 (cd libiberty && \
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 libiberty
13045 .PHONY: maybe-distclean-libiberty distclean-libiberty
13046 maybe-distclean-libiberty:
13047 @if libiberty
13048 maybe-distclean-libiberty: distclean-libiberty
13050 distclean-libiberty:
13051 @[ -f ./libiberty/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 libiberty" ; \
13060 (cd libiberty && \
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 libiberty
13070 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13071 maybe-maintainer-clean-libiberty:
13072 @if libiberty
13073 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13075 maintainer-clean-libiberty:
13076 @[ -f ./libiberty/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 libiberty" ; \
13085 (cd libiberty && \
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 libiberty
13096 .PHONY: configure-libtool maybe-configure-libtool
13097 maybe-configure-libtool:
13098 @if libtool
13099 maybe-configure-libtool: configure-libtool
13100 configure-libtool:
13101 @test ! -f libtool/Makefile || exit 0; \
13102 [ -d libtool ] || mkdir libtool; \
13103 r=`${PWD_COMMAND}`; export r; \
13104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13105 $(HOST_EXPORTS) \
13106 echo Configuring in libtool; \
13107 cd libtool || exit 1; \
13108 case $(srcdir) in \
13109 \.) \
13110 srcdiroption="--srcdir=."; \
13111 libsrcdir=".";; \
13112 /* | [A-Za-z]:[\\/]*) \
13113 srcdiroption="--srcdir=$(srcdir)/libtool"; \
13114 libsrcdir="$$s/libtool";; \
13115 *) \
13116 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
13117 libsrcdir="$$s/libtool";; \
13118 esac; \
13119 $(SHELL) $${libsrcdir}/configure \
13120 $(HOST_CONFIGARGS) $${srcdiroption} \
13121 || exit 1
13122 @endif libtool
13124 .PHONY: all-libtool maybe-all-libtool
13125 maybe-all-libtool:
13126 @if libtool
13127 maybe-all-libtool: all-libtool
13128 all-libtool: configure-libtool
13129 @r=`${PWD_COMMAND}`; export r; \
13130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13131 $(SET_LIB_PATH) \
13132 $(HOST_EXPORTS) \
13133 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
13134 @endif libtool
13136 .PHONY: check-libtool maybe-check-libtool
13137 maybe-check-libtool:
13138 @if libtool
13139 maybe-check-libtool: check-libtool
13141 check-libtool:
13142 @r=`${PWD_COMMAND}`; export r; \
13143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13144 $(SET_LIB_PATH) \
13145 $(HOST_EXPORTS) \
13146 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
13148 @endif libtool
13150 .PHONY: install-libtool maybe-install-libtool
13151 maybe-install-libtool:
13152 @if libtool
13153 maybe-install-libtool: install-libtool
13155 install-libtool: installdirs
13156 @r=`${PWD_COMMAND}`; export r; \
13157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13158 $(SET_LIB_PATH) \
13159 $(HOST_EXPORTS) \
13160 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
13162 @endif libtool
13164 # Other targets (info, dvi, etc.)
13166 .PHONY: maybe-info-libtool info-libtool
13167 maybe-info-libtool:
13168 @if libtool
13169 maybe-info-libtool: info-libtool
13171 info-libtool: \
13172 configure-libtool
13173 @[ -f ./libtool/Makefile ] || exit 0; \
13174 r=`${PWD_COMMAND}`; export r; \
13175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13176 $(SET_LIB_PATH) \
13177 $(HOST_EXPORTS) \
13178 for flag in $(EXTRA_HOST_FLAGS) ; do \
13179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13180 done; \
13181 echo "Doing info in libtool" ; \
13182 (cd libtool && \
13183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13185 "RANLIB=$${RANLIB}" \
13186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13187 info) \
13188 || exit 1
13190 @endif libtool
13192 .PHONY: maybe-dvi-libtool dvi-libtool
13193 maybe-dvi-libtool:
13194 @if libtool
13195 maybe-dvi-libtool: dvi-libtool
13197 dvi-libtool: \
13198 configure-libtool
13199 @[ -f ./libtool/Makefile ] || exit 0; \
13200 r=`${PWD_COMMAND}`; export r; \
13201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13202 $(SET_LIB_PATH) \
13203 $(HOST_EXPORTS) \
13204 for flag in $(EXTRA_HOST_FLAGS) ; do \
13205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13206 done; \
13207 echo "Doing dvi in libtool" ; \
13208 (cd libtool && \
13209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13211 "RANLIB=$${RANLIB}" \
13212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13213 dvi) \
13214 || exit 1
13216 @endif libtool
13218 .PHONY: maybe-TAGS-libtool TAGS-libtool
13219 maybe-TAGS-libtool:
13220 @if libtool
13221 maybe-TAGS-libtool: TAGS-libtool
13223 TAGS-libtool: \
13224 configure-libtool
13225 @[ -f ./libtool/Makefile ] || exit 0; \
13226 r=`${PWD_COMMAND}`; export r; \
13227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13228 $(SET_LIB_PATH) \
13229 $(HOST_EXPORTS) \
13230 for flag in $(EXTRA_HOST_FLAGS) ; do \
13231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13232 done; \
13233 echo "Doing TAGS in libtool" ; \
13234 (cd libtool && \
13235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13237 "RANLIB=$${RANLIB}" \
13238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13239 TAGS) \
13240 || exit 1
13242 @endif libtool
13244 .PHONY: maybe-install-info-libtool install-info-libtool
13245 maybe-install-info-libtool:
13246 @if libtool
13247 maybe-install-info-libtool: install-info-libtool
13249 install-info-libtool: \
13250 configure-libtool \
13251 info-libtool
13252 @[ -f ./libtool/Makefile ] || exit 0; \
13253 r=`${PWD_COMMAND}`; export r; \
13254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13255 $(SET_LIB_PATH) \
13256 $(HOST_EXPORTS) \
13257 for flag in $(EXTRA_HOST_FLAGS) ; do \
13258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13259 done; \
13260 echo "Doing install-info in libtool" ; \
13261 (cd libtool && \
13262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13264 "RANLIB=$${RANLIB}" \
13265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13266 install-info) \
13267 || exit 1
13269 @endif libtool
13271 .PHONY: maybe-installcheck-libtool installcheck-libtool
13272 maybe-installcheck-libtool:
13273 @if libtool
13274 maybe-installcheck-libtool: installcheck-libtool
13276 installcheck-libtool: \
13277 configure-libtool
13278 @[ -f ./libtool/Makefile ] || exit 0; \
13279 r=`${PWD_COMMAND}`; export r; \
13280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13281 $(SET_LIB_PATH) \
13282 $(HOST_EXPORTS) \
13283 for flag in $(EXTRA_HOST_FLAGS) ; do \
13284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13285 done; \
13286 echo "Doing installcheck in libtool" ; \
13287 (cd libtool && \
13288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13290 "RANLIB=$${RANLIB}" \
13291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13292 installcheck) \
13293 || exit 1
13295 @endif libtool
13297 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13298 maybe-mostlyclean-libtool:
13299 @if libtool
13300 maybe-mostlyclean-libtool: mostlyclean-libtool
13302 mostlyclean-libtool:
13303 @[ -f ./libtool/Makefile ] || exit 0; \
13304 r=`${PWD_COMMAND}`; export r; \
13305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13306 $(SET_LIB_PATH) \
13307 $(HOST_EXPORTS) \
13308 for flag in $(EXTRA_HOST_FLAGS) ; do \
13309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13310 done; \
13311 echo "Doing mostlyclean in libtool" ; \
13312 (cd libtool && \
13313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13315 "RANLIB=$${RANLIB}" \
13316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13317 mostlyclean) \
13318 || exit 1
13320 @endif libtool
13322 .PHONY: maybe-clean-libtool clean-libtool
13323 maybe-clean-libtool:
13324 @if libtool
13325 maybe-clean-libtool: clean-libtool
13327 clean-libtool:
13328 @[ -f ./libtool/Makefile ] || exit 0; \
13329 r=`${PWD_COMMAND}`; export r; \
13330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13331 $(SET_LIB_PATH) \
13332 $(HOST_EXPORTS) \
13333 for flag in $(EXTRA_HOST_FLAGS) ; do \
13334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13335 done; \
13336 echo "Doing clean in libtool" ; \
13337 (cd libtool && \
13338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13340 "RANLIB=$${RANLIB}" \
13341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13342 clean) \
13343 || exit 1
13345 @endif libtool
13347 .PHONY: maybe-distclean-libtool distclean-libtool
13348 maybe-distclean-libtool:
13349 @if libtool
13350 maybe-distclean-libtool: distclean-libtool
13352 distclean-libtool:
13353 @[ -f ./libtool/Makefile ] || exit 0; \
13354 r=`${PWD_COMMAND}`; export r; \
13355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13356 $(SET_LIB_PATH) \
13357 $(HOST_EXPORTS) \
13358 for flag in $(EXTRA_HOST_FLAGS) ; do \
13359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13360 done; \
13361 echo "Doing distclean in libtool" ; \
13362 (cd libtool && \
13363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13365 "RANLIB=$${RANLIB}" \
13366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13367 distclean) \
13368 || exit 1
13370 @endif libtool
13372 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13373 maybe-maintainer-clean-libtool:
13374 @if libtool
13375 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13377 maintainer-clean-libtool:
13378 @[ -f ./libtool/Makefile ] || exit 0; \
13379 r=`${PWD_COMMAND}`; export r; \
13380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13381 $(SET_LIB_PATH) \
13382 $(HOST_EXPORTS) \
13383 for flag in $(EXTRA_HOST_FLAGS) ; do \
13384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13385 done; \
13386 echo "Doing maintainer-clean in libtool" ; \
13387 (cd libtool && \
13388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13390 "RANLIB=$${RANLIB}" \
13391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13392 maintainer-clean) \
13393 || exit 1
13395 @endif libtool
13398 .PHONY: configure-m4 maybe-configure-m4
13399 maybe-configure-m4:
13400 @if m4
13401 maybe-configure-m4: configure-m4
13402 configure-m4:
13403 @test ! -f m4/Makefile || exit 0; \
13404 [ -d m4 ] || mkdir m4; \
13405 r=`${PWD_COMMAND}`; export r; \
13406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13407 $(HOST_EXPORTS) \
13408 echo Configuring in m4; \
13409 cd m4 || exit 1; \
13410 case $(srcdir) in \
13411 \.) \
13412 srcdiroption="--srcdir=."; \
13413 libsrcdir=".";; \
13414 /* | [A-Za-z]:[\\/]*) \
13415 srcdiroption="--srcdir=$(srcdir)/m4"; \
13416 libsrcdir="$$s/m4";; \
13417 *) \
13418 srcdiroption="--srcdir=../$(srcdir)/m4"; \
13419 libsrcdir="$$s/m4";; \
13420 esac; \
13421 $(SHELL) $${libsrcdir}/configure \
13422 $(HOST_CONFIGARGS) $${srcdiroption} \
13423 || exit 1
13424 @endif m4
13426 .PHONY: all-m4 maybe-all-m4
13427 maybe-all-m4:
13428 @if m4
13429 maybe-all-m4: all-m4
13430 all-m4: configure-m4
13431 @r=`${PWD_COMMAND}`; export r; \
13432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13433 $(SET_LIB_PATH) \
13434 $(HOST_EXPORTS) \
13435 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
13436 @endif m4
13438 .PHONY: check-m4 maybe-check-m4
13439 maybe-check-m4:
13440 @if m4
13441 maybe-check-m4: check-m4
13443 check-m4:
13444 @r=`${PWD_COMMAND}`; export r; \
13445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13446 $(SET_LIB_PATH) \
13447 $(HOST_EXPORTS) \
13448 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13450 @endif m4
13452 .PHONY: install-m4 maybe-install-m4
13453 maybe-install-m4:
13454 @if m4
13455 maybe-install-m4: install-m4
13457 install-m4: installdirs
13458 @r=`${PWD_COMMAND}`; export r; \
13459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13460 $(SET_LIB_PATH) \
13461 $(HOST_EXPORTS) \
13462 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13464 @endif m4
13466 # Other targets (info, dvi, etc.)
13468 .PHONY: maybe-info-m4 info-m4
13469 maybe-info-m4:
13470 @if m4
13471 maybe-info-m4: info-m4
13473 info-m4: \
13474 configure-m4
13475 @[ -f ./m4/Makefile ] || exit 0; \
13476 r=`${PWD_COMMAND}`; export r; \
13477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13478 $(SET_LIB_PATH) \
13479 $(HOST_EXPORTS) \
13480 for flag in $(EXTRA_HOST_FLAGS) ; do \
13481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13482 done; \
13483 echo "Doing info in m4" ; \
13484 (cd m4 && \
13485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13487 "RANLIB=$${RANLIB}" \
13488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13489 info) \
13490 || exit 1
13492 @endif m4
13494 .PHONY: maybe-dvi-m4 dvi-m4
13495 maybe-dvi-m4:
13496 @if m4
13497 maybe-dvi-m4: dvi-m4
13499 dvi-m4: \
13500 configure-m4
13501 @[ -f ./m4/Makefile ] || exit 0; \
13502 r=`${PWD_COMMAND}`; export r; \
13503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13504 $(SET_LIB_PATH) \
13505 $(HOST_EXPORTS) \
13506 for flag in $(EXTRA_HOST_FLAGS) ; do \
13507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13508 done; \
13509 echo "Doing dvi in m4" ; \
13510 (cd m4 && \
13511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13513 "RANLIB=$${RANLIB}" \
13514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13515 dvi) \
13516 || exit 1
13518 @endif m4
13520 .PHONY: maybe-TAGS-m4 TAGS-m4
13521 maybe-TAGS-m4:
13522 @if m4
13523 maybe-TAGS-m4: TAGS-m4
13525 TAGS-m4: \
13526 configure-m4
13527 @[ -f ./m4/Makefile ] || exit 0; \
13528 r=`${PWD_COMMAND}`; export r; \
13529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13530 $(SET_LIB_PATH) \
13531 $(HOST_EXPORTS) \
13532 for flag in $(EXTRA_HOST_FLAGS) ; do \
13533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13534 done; \
13535 echo "Doing TAGS in m4" ; \
13536 (cd m4 && \
13537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13539 "RANLIB=$${RANLIB}" \
13540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13541 TAGS) \
13542 || exit 1
13544 @endif m4
13546 .PHONY: maybe-install-info-m4 install-info-m4
13547 maybe-install-info-m4:
13548 @if m4
13549 maybe-install-info-m4: install-info-m4
13551 install-info-m4: \
13552 configure-m4 \
13553 info-m4
13554 @[ -f ./m4/Makefile ] || exit 0; \
13555 r=`${PWD_COMMAND}`; export r; \
13556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13557 $(SET_LIB_PATH) \
13558 $(HOST_EXPORTS) \
13559 for flag in $(EXTRA_HOST_FLAGS) ; do \
13560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13561 done; \
13562 echo "Doing install-info in m4" ; \
13563 (cd m4 && \
13564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13566 "RANLIB=$${RANLIB}" \
13567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13568 install-info) \
13569 || exit 1
13571 @endif m4
13573 .PHONY: maybe-installcheck-m4 installcheck-m4
13574 maybe-installcheck-m4:
13575 @if m4
13576 maybe-installcheck-m4: installcheck-m4
13578 installcheck-m4: \
13579 configure-m4
13580 @[ -f ./m4/Makefile ] || exit 0; \
13581 r=`${PWD_COMMAND}`; export r; \
13582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13583 $(SET_LIB_PATH) \
13584 $(HOST_EXPORTS) \
13585 for flag in $(EXTRA_HOST_FLAGS) ; do \
13586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13587 done; \
13588 echo "Doing installcheck in m4" ; \
13589 (cd m4 && \
13590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13592 "RANLIB=$${RANLIB}" \
13593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13594 installcheck) \
13595 || exit 1
13597 @endif m4
13599 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13600 maybe-mostlyclean-m4:
13601 @if m4
13602 maybe-mostlyclean-m4: mostlyclean-m4
13604 mostlyclean-m4:
13605 @[ -f ./m4/Makefile ] || exit 0; \
13606 r=`${PWD_COMMAND}`; export r; \
13607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13608 $(SET_LIB_PATH) \
13609 $(HOST_EXPORTS) \
13610 for flag in $(EXTRA_HOST_FLAGS) ; do \
13611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13612 done; \
13613 echo "Doing mostlyclean in m4" ; \
13614 (cd m4 && \
13615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13617 "RANLIB=$${RANLIB}" \
13618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13619 mostlyclean) \
13620 || exit 1
13622 @endif m4
13624 .PHONY: maybe-clean-m4 clean-m4
13625 maybe-clean-m4:
13626 @if m4
13627 maybe-clean-m4: clean-m4
13629 clean-m4:
13630 @[ -f ./m4/Makefile ] || exit 0; \
13631 r=`${PWD_COMMAND}`; export r; \
13632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13633 $(SET_LIB_PATH) \
13634 $(HOST_EXPORTS) \
13635 for flag in $(EXTRA_HOST_FLAGS) ; do \
13636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13637 done; \
13638 echo "Doing clean in m4" ; \
13639 (cd m4 && \
13640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13642 "RANLIB=$${RANLIB}" \
13643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13644 clean) \
13645 || exit 1
13647 @endif m4
13649 .PHONY: maybe-distclean-m4 distclean-m4
13650 maybe-distclean-m4:
13651 @if m4
13652 maybe-distclean-m4: distclean-m4
13654 distclean-m4:
13655 @[ -f ./m4/Makefile ] || exit 0; \
13656 r=`${PWD_COMMAND}`; export r; \
13657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13658 $(SET_LIB_PATH) \
13659 $(HOST_EXPORTS) \
13660 for flag in $(EXTRA_HOST_FLAGS) ; do \
13661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13662 done; \
13663 echo "Doing distclean in m4" ; \
13664 (cd m4 && \
13665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13667 "RANLIB=$${RANLIB}" \
13668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13669 distclean) \
13670 || exit 1
13672 @endif m4
13674 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13675 maybe-maintainer-clean-m4:
13676 @if m4
13677 maybe-maintainer-clean-m4: maintainer-clean-m4
13679 maintainer-clean-m4:
13680 @[ -f ./m4/Makefile ] || exit 0; \
13681 r=`${PWD_COMMAND}`; export r; \
13682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13683 $(SET_LIB_PATH) \
13684 $(HOST_EXPORTS) \
13685 for flag in $(EXTRA_HOST_FLAGS) ; do \
13686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13687 done; \
13688 echo "Doing maintainer-clean in m4" ; \
13689 (cd m4 && \
13690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13692 "RANLIB=$${RANLIB}" \
13693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13694 maintainer-clean) \
13695 || exit 1
13697 @endif m4
13700 .PHONY: configure-make maybe-configure-make
13701 maybe-configure-make:
13702 @if make
13703 maybe-configure-make: configure-make
13704 configure-make:
13705 @test ! -f make/Makefile || exit 0; \
13706 [ -d make ] || mkdir make; \
13707 r=`${PWD_COMMAND}`; export r; \
13708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13709 $(HOST_EXPORTS) \
13710 echo Configuring in make; \
13711 cd make || exit 1; \
13712 case $(srcdir) in \
13713 \.) \
13714 srcdiroption="--srcdir=."; \
13715 libsrcdir=".";; \
13716 /* | [A-Za-z]:[\\/]*) \
13717 srcdiroption="--srcdir=$(srcdir)/make"; \
13718 libsrcdir="$$s/make";; \
13719 *) \
13720 srcdiroption="--srcdir=../$(srcdir)/make"; \
13721 libsrcdir="$$s/make";; \
13722 esac; \
13723 $(SHELL) $${libsrcdir}/configure \
13724 $(HOST_CONFIGARGS) $${srcdiroption} \
13725 || exit 1
13726 @endif make
13728 .PHONY: all-make maybe-all-make
13729 maybe-all-make:
13730 @if make
13731 maybe-all-make: all-make
13732 all-make: configure-make
13733 @r=`${PWD_COMMAND}`; export r; \
13734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13735 $(SET_LIB_PATH) \
13736 $(HOST_EXPORTS) \
13737 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
13738 @endif make
13740 .PHONY: check-make maybe-check-make
13741 maybe-check-make:
13742 @if make
13743 maybe-check-make: check-make
13745 check-make:
13746 @r=`${PWD_COMMAND}`; export r; \
13747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13748 $(SET_LIB_PATH) \
13749 $(HOST_EXPORTS) \
13750 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
13752 @endif make
13754 .PHONY: install-make maybe-install-make
13755 maybe-install-make:
13756 @if make
13757 maybe-install-make: install-make
13759 install-make: installdirs
13760 @r=`${PWD_COMMAND}`; export r; \
13761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13762 $(SET_LIB_PATH) \
13763 $(HOST_EXPORTS) \
13764 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
13766 @endif make
13768 # Other targets (info, dvi, etc.)
13770 .PHONY: maybe-info-make info-make
13771 maybe-info-make:
13772 @if make
13773 maybe-info-make: info-make
13775 info-make: \
13776 configure-make
13777 @[ -f ./make/Makefile ] || exit 0; \
13778 r=`${PWD_COMMAND}`; export r; \
13779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13780 $(SET_LIB_PATH) \
13781 $(HOST_EXPORTS) \
13782 for flag in $(EXTRA_HOST_FLAGS) ; do \
13783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13784 done; \
13785 echo "Doing info in make" ; \
13786 (cd make && \
13787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13789 "RANLIB=$${RANLIB}" \
13790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13791 info) \
13792 || exit 1
13794 @endif make
13796 .PHONY: maybe-dvi-make dvi-make
13797 maybe-dvi-make:
13798 @if make
13799 maybe-dvi-make: dvi-make
13801 dvi-make: \
13802 configure-make
13803 @[ -f ./make/Makefile ] || exit 0; \
13804 r=`${PWD_COMMAND}`; export r; \
13805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13806 $(SET_LIB_PATH) \
13807 $(HOST_EXPORTS) \
13808 for flag in $(EXTRA_HOST_FLAGS) ; do \
13809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13810 done; \
13811 echo "Doing dvi in make" ; \
13812 (cd make && \
13813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13815 "RANLIB=$${RANLIB}" \
13816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13817 dvi) \
13818 || exit 1
13820 @endif make
13822 .PHONY: maybe-TAGS-make TAGS-make
13823 maybe-TAGS-make:
13824 @if make
13825 maybe-TAGS-make: TAGS-make
13827 TAGS-make: \
13828 configure-make
13829 @[ -f ./make/Makefile ] || exit 0; \
13830 r=`${PWD_COMMAND}`; export r; \
13831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13832 $(SET_LIB_PATH) \
13833 $(HOST_EXPORTS) \
13834 for flag in $(EXTRA_HOST_FLAGS) ; do \
13835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13836 done; \
13837 echo "Doing TAGS in make" ; \
13838 (cd make && \
13839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13841 "RANLIB=$${RANLIB}" \
13842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13843 TAGS) \
13844 || exit 1
13846 @endif make
13848 .PHONY: maybe-install-info-make install-info-make
13849 maybe-install-info-make:
13850 @if make
13851 maybe-install-info-make: install-info-make
13853 install-info-make: \
13854 configure-make \
13855 info-make
13856 @[ -f ./make/Makefile ] || exit 0; \
13857 r=`${PWD_COMMAND}`; export r; \
13858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13859 $(SET_LIB_PATH) \
13860 $(HOST_EXPORTS) \
13861 for flag in $(EXTRA_HOST_FLAGS) ; do \
13862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13863 done; \
13864 echo "Doing install-info in make" ; \
13865 (cd make && \
13866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13868 "RANLIB=$${RANLIB}" \
13869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13870 install-info) \
13871 || exit 1
13873 @endif make
13875 .PHONY: maybe-installcheck-make installcheck-make
13876 maybe-installcheck-make:
13877 @if make
13878 maybe-installcheck-make: installcheck-make
13880 installcheck-make: \
13881 configure-make
13882 @[ -f ./make/Makefile ] || exit 0; \
13883 r=`${PWD_COMMAND}`; export r; \
13884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13885 $(SET_LIB_PATH) \
13886 $(HOST_EXPORTS) \
13887 for flag in $(EXTRA_HOST_FLAGS) ; do \
13888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13889 done; \
13890 echo "Doing installcheck in make" ; \
13891 (cd make && \
13892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13894 "RANLIB=$${RANLIB}" \
13895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13896 installcheck) \
13897 || exit 1
13899 @endif make
13901 .PHONY: maybe-mostlyclean-make mostlyclean-make
13902 maybe-mostlyclean-make:
13903 @if make
13904 maybe-mostlyclean-make: mostlyclean-make
13906 mostlyclean-make:
13907 @[ -f ./make/Makefile ] || exit 0; \
13908 r=`${PWD_COMMAND}`; export r; \
13909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13910 $(SET_LIB_PATH) \
13911 $(HOST_EXPORTS) \
13912 for flag in $(EXTRA_HOST_FLAGS) ; do \
13913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13914 done; \
13915 echo "Doing mostlyclean in make" ; \
13916 (cd make && \
13917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13919 "RANLIB=$${RANLIB}" \
13920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13921 mostlyclean) \
13922 || exit 1
13924 @endif make
13926 .PHONY: maybe-clean-make clean-make
13927 maybe-clean-make:
13928 @if make
13929 maybe-clean-make: clean-make
13931 clean-make:
13932 @[ -f ./make/Makefile ] || exit 0; \
13933 r=`${PWD_COMMAND}`; export r; \
13934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13935 $(SET_LIB_PATH) \
13936 $(HOST_EXPORTS) \
13937 for flag in $(EXTRA_HOST_FLAGS) ; do \
13938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13939 done; \
13940 echo "Doing clean in make" ; \
13941 (cd make && \
13942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13944 "RANLIB=$${RANLIB}" \
13945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13946 clean) \
13947 || exit 1
13949 @endif make
13951 .PHONY: maybe-distclean-make distclean-make
13952 maybe-distclean-make:
13953 @if make
13954 maybe-distclean-make: distclean-make
13956 distclean-make:
13957 @[ -f ./make/Makefile ] || exit 0; \
13958 r=`${PWD_COMMAND}`; export r; \
13959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13960 $(SET_LIB_PATH) \
13961 $(HOST_EXPORTS) \
13962 for flag in $(EXTRA_HOST_FLAGS) ; do \
13963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13964 done; \
13965 echo "Doing distclean in make" ; \
13966 (cd make && \
13967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13969 "RANLIB=$${RANLIB}" \
13970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13971 distclean) \
13972 || exit 1
13974 @endif make
13976 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
13977 maybe-maintainer-clean-make:
13978 @if make
13979 maybe-maintainer-clean-make: maintainer-clean-make
13981 maintainer-clean-make:
13982 @[ -f ./make/Makefile ] || exit 0; \
13983 r=`${PWD_COMMAND}`; export r; \
13984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13985 $(SET_LIB_PATH) \
13986 $(HOST_EXPORTS) \
13987 for flag in $(EXTRA_HOST_FLAGS) ; do \
13988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13989 done; \
13990 echo "Doing maintainer-clean in make" ; \
13991 (cd make && \
13992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13994 "RANLIB=$${RANLIB}" \
13995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13996 maintainer-clean) \
13997 || exit 1
13999 @endif make
14002 .PHONY: configure-mmalloc maybe-configure-mmalloc
14003 maybe-configure-mmalloc:
14004 @if mmalloc
14005 maybe-configure-mmalloc: configure-mmalloc
14006 configure-mmalloc:
14007 @test ! -f mmalloc/Makefile || exit 0; \
14008 [ -d mmalloc ] || mkdir mmalloc; \
14009 r=`${PWD_COMMAND}`; export r; \
14010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14011 $(HOST_EXPORTS) \
14012 echo Configuring in mmalloc; \
14013 cd mmalloc || exit 1; \
14014 case $(srcdir) in \
14015 \.) \
14016 srcdiroption="--srcdir=."; \
14017 libsrcdir=".";; \
14018 /* | [A-Za-z]:[\\/]*) \
14019 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
14020 libsrcdir="$$s/mmalloc";; \
14021 *) \
14022 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
14023 libsrcdir="$$s/mmalloc";; \
14024 esac; \
14025 $(SHELL) $${libsrcdir}/configure \
14026 $(HOST_CONFIGARGS) $${srcdiroption} \
14027 || exit 1
14028 @endif mmalloc
14030 .PHONY: all-mmalloc maybe-all-mmalloc
14031 maybe-all-mmalloc:
14032 @if mmalloc
14033 maybe-all-mmalloc: all-mmalloc
14034 all-mmalloc: configure-mmalloc
14035 @r=`${PWD_COMMAND}`; export r; \
14036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14037 $(SET_LIB_PATH) \
14038 $(HOST_EXPORTS) \
14039 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
14040 @endif mmalloc
14042 .PHONY: check-mmalloc maybe-check-mmalloc
14043 maybe-check-mmalloc:
14044 @if mmalloc
14045 maybe-check-mmalloc: check-mmalloc
14047 check-mmalloc:
14049 @endif mmalloc
14051 .PHONY: install-mmalloc maybe-install-mmalloc
14052 maybe-install-mmalloc:
14053 @if mmalloc
14054 maybe-install-mmalloc: install-mmalloc
14056 install-mmalloc: installdirs
14057 @r=`${PWD_COMMAND}`; export r; \
14058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14059 $(SET_LIB_PATH) \
14060 $(HOST_EXPORTS) \
14061 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
14063 @endif mmalloc
14065 # Other targets (info, dvi, etc.)
14067 .PHONY: maybe-info-mmalloc info-mmalloc
14068 maybe-info-mmalloc:
14069 @if mmalloc
14070 maybe-info-mmalloc: info-mmalloc
14072 info-mmalloc: \
14073 configure-mmalloc
14074 @[ -f ./mmalloc/Makefile ] || exit 0; \
14075 r=`${PWD_COMMAND}`; export r; \
14076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14077 $(SET_LIB_PATH) \
14078 $(HOST_EXPORTS) \
14079 for flag in $(EXTRA_HOST_FLAGS) ; do \
14080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14081 done; \
14082 echo "Doing info in mmalloc" ; \
14083 (cd mmalloc && \
14084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14086 "RANLIB=$${RANLIB}" \
14087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14088 info) \
14089 || exit 1
14091 @endif mmalloc
14093 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14094 maybe-dvi-mmalloc:
14095 @if mmalloc
14096 maybe-dvi-mmalloc: dvi-mmalloc
14098 dvi-mmalloc: \
14099 configure-mmalloc
14100 @[ -f ./mmalloc/Makefile ] || exit 0; \
14101 r=`${PWD_COMMAND}`; export r; \
14102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14103 $(SET_LIB_PATH) \
14104 $(HOST_EXPORTS) \
14105 for flag in $(EXTRA_HOST_FLAGS) ; do \
14106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14107 done; \
14108 echo "Doing dvi in mmalloc" ; \
14109 (cd mmalloc && \
14110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14112 "RANLIB=$${RANLIB}" \
14113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14114 dvi) \
14115 || exit 1
14117 @endif mmalloc
14119 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14120 maybe-TAGS-mmalloc:
14121 @if mmalloc
14122 maybe-TAGS-mmalloc: TAGS-mmalloc
14124 TAGS-mmalloc: \
14125 configure-mmalloc
14126 @[ -f ./mmalloc/Makefile ] || exit 0; \
14127 r=`${PWD_COMMAND}`; export r; \
14128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14129 $(SET_LIB_PATH) \
14130 $(HOST_EXPORTS) \
14131 for flag in $(EXTRA_HOST_FLAGS) ; do \
14132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14133 done; \
14134 echo "Doing TAGS in mmalloc" ; \
14135 (cd mmalloc && \
14136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14138 "RANLIB=$${RANLIB}" \
14139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14140 TAGS) \
14141 || exit 1
14143 @endif mmalloc
14145 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14146 maybe-install-info-mmalloc:
14147 @if mmalloc
14148 maybe-install-info-mmalloc: install-info-mmalloc
14150 install-info-mmalloc: \
14151 configure-mmalloc \
14152 info-mmalloc
14153 @[ -f ./mmalloc/Makefile ] || exit 0; \
14154 r=`${PWD_COMMAND}`; export r; \
14155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14156 $(SET_LIB_PATH) \
14157 $(HOST_EXPORTS) \
14158 for flag in $(EXTRA_HOST_FLAGS) ; do \
14159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14160 done; \
14161 echo "Doing install-info in mmalloc" ; \
14162 (cd mmalloc && \
14163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14165 "RANLIB=$${RANLIB}" \
14166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14167 install-info) \
14168 || exit 1
14170 @endif mmalloc
14172 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14173 maybe-installcheck-mmalloc:
14174 @if mmalloc
14175 maybe-installcheck-mmalloc: installcheck-mmalloc
14177 installcheck-mmalloc: \
14178 configure-mmalloc
14179 @[ -f ./mmalloc/Makefile ] || exit 0; \
14180 r=`${PWD_COMMAND}`; export r; \
14181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14182 $(SET_LIB_PATH) \
14183 $(HOST_EXPORTS) \
14184 for flag in $(EXTRA_HOST_FLAGS) ; do \
14185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14186 done; \
14187 echo "Doing installcheck in mmalloc" ; \
14188 (cd mmalloc && \
14189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14191 "RANLIB=$${RANLIB}" \
14192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14193 installcheck) \
14194 || exit 1
14196 @endif mmalloc
14198 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14199 maybe-mostlyclean-mmalloc:
14200 @if mmalloc
14201 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14203 mostlyclean-mmalloc:
14204 @[ -f ./mmalloc/Makefile ] || exit 0; \
14205 r=`${PWD_COMMAND}`; export r; \
14206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14207 $(SET_LIB_PATH) \
14208 $(HOST_EXPORTS) \
14209 for flag in $(EXTRA_HOST_FLAGS) ; do \
14210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14211 done; \
14212 echo "Doing mostlyclean in mmalloc" ; \
14213 (cd mmalloc && \
14214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14216 "RANLIB=$${RANLIB}" \
14217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14218 mostlyclean) \
14219 || exit 1
14221 @endif mmalloc
14223 .PHONY: maybe-clean-mmalloc clean-mmalloc
14224 maybe-clean-mmalloc:
14225 @if mmalloc
14226 maybe-clean-mmalloc: clean-mmalloc
14228 clean-mmalloc:
14229 @[ -f ./mmalloc/Makefile ] || exit 0; \
14230 r=`${PWD_COMMAND}`; export r; \
14231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14232 $(SET_LIB_PATH) \
14233 $(HOST_EXPORTS) \
14234 for flag in $(EXTRA_HOST_FLAGS) ; do \
14235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14236 done; \
14237 echo "Doing clean in mmalloc" ; \
14238 (cd mmalloc && \
14239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14241 "RANLIB=$${RANLIB}" \
14242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14243 clean) \
14244 || exit 1
14246 @endif mmalloc
14248 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14249 maybe-distclean-mmalloc:
14250 @if mmalloc
14251 maybe-distclean-mmalloc: distclean-mmalloc
14253 distclean-mmalloc:
14254 @[ -f ./mmalloc/Makefile ] || exit 0; \
14255 r=`${PWD_COMMAND}`; export r; \
14256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14257 $(SET_LIB_PATH) \
14258 $(HOST_EXPORTS) \
14259 for flag in $(EXTRA_HOST_FLAGS) ; do \
14260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14261 done; \
14262 echo "Doing distclean in mmalloc" ; \
14263 (cd mmalloc && \
14264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14266 "RANLIB=$${RANLIB}" \
14267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14268 distclean) \
14269 || exit 1
14271 @endif mmalloc
14273 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14274 maybe-maintainer-clean-mmalloc:
14275 @if mmalloc
14276 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14278 maintainer-clean-mmalloc:
14279 @[ -f ./mmalloc/Makefile ] || exit 0; \
14280 r=`${PWD_COMMAND}`; export r; \
14281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14282 $(SET_LIB_PATH) \
14283 $(HOST_EXPORTS) \
14284 for flag in $(EXTRA_HOST_FLAGS) ; do \
14285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14286 done; \
14287 echo "Doing maintainer-clean in mmalloc" ; \
14288 (cd mmalloc && \
14289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14291 "RANLIB=$${RANLIB}" \
14292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14293 maintainer-clean) \
14294 || exit 1
14296 @endif mmalloc
14299 .PHONY: configure-patch maybe-configure-patch
14300 maybe-configure-patch:
14301 @if patch
14302 maybe-configure-patch: configure-patch
14303 configure-patch:
14304 @test ! -f patch/Makefile || exit 0; \
14305 [ -d patch ] || mkdir patch; \
14306 r=`${PWD_COMMAND}`; export r; \
14307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14308 $(HOST_EXPORTS) \
14309 echo Configuring in patch; \
14310 cd patch || exit 1; \
14311 case $(srcdir) in \
14312 \.) \
14313 srcdiroption="--srcdir=."; \
14314 libsrcdir=".";; \
14315 /* | [A-Za-z]:[\\/]*) \
14316 srcdiroption="--srcdir=$(srcdir)/patch"; \
14317 libsrcdir="$$s/patch";; \
14318 *) \
14319 srcdiroption="--srcdir=../$(srcdir)/patch"; \
14320 libsrcdir="$$s/patch";; \
14321 esac; \
14322 $(SHELL) $${libsrcdir}/configure \
14323 $(HOST_CONFIGARGS) $${srcdiroption} \
14324 || exit 1
14325 @endif patch
14327 .PHONY: all-patch maybe-all-patch
14328 maybe-all-patch:
14329 @if patch
14330 maybe-all-patch: all-patch
14331 all-patch: configure-patch
14332 @r=`${PWD_COMMAND}`; export r; \
14333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14334 $(SET_LIB_PATH) \
14335 $(HOST_EXPORTS) \
14336 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
14337 @endif patch
14339 .PHONY: check-patch maybe-check-patch
14340 maybe-check-patch:
14341 @if patch
14342 maybe-check-patch: check-patch
14344 check-patch:
14345 @r=`${PWD_COMMAND}`; export r; \
14346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14347 $(SET_LIB_PATH) \
14348 $(HOST_EXPORTS) \
14349 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
14351 @endif patch
14353 .PHONY: install-patch maybe-install-patch
14354 maybe-install-patch:
14355 @if patch
14356 maybe-install-patch: install-patch
14358 install-patch: installdirs
14359 @r=`${PWD_COMMAND}`; export r; \
14360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14361 $(SET_LIB_PATH) \
14362 $(HOST_EXPORTS) \
14363 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
14365 @endif patch
14367 # Other targets (info, dvi, etc.)
14369 .PHONY: maybe-info-patch info-patch
14370 maybe-info-patch:
14371 @if patch
14372 maybe-info-patch: info-patch
14374 info-patch: \
14375 configure-patch
14376 @[ -f ./patch/Makefile ] || exit 0; \
14377 r=`${PWD_COMMAND}`; export r; \
14378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14379 $(SET_LIB_PATH) \
14380 $(HOST_EXPORTS) \
14381 for flag in $(EXTRA_HOST_FLAGS) ; do \
14382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14383 done; \
14384 echo "Doing info in patch" ; \
14385 (cd patch && \
14386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14388 "RANLIB=$${RANLIB}" \
14389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14390 info) \
14391 || exit 1
14393 @endif patch
14395 .PHONY: maybe-dvi-patch dvi-patch
14396 maybe-dvi-patch:
14397 @if patch
14398 maybe-dvi-patch: dvi-patch
14400 dvi-patch: \
14401 configure-patch
14402 @[ -f ./patch/Makefile ] || exit 0; \
14403 r=`${PWD_COMMAND}`; export r; \
14404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14405 $(SET_LIB_PATH) \
14406 $(HOST_EXPORTS) \
14407 for flag in $(EXTRA_HOST_FLAGS) ; do \
14408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14409 done; \
14410 echo "Doing dvi in patch" ; \
14411 (cd patch && \
14412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14414 "RANLIB=$${RANLIB}" \
14415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14416 dvi) \
14417 || exit 1
14419 @endif patch
14421 .PHONY: maybe-TAGS-patch TAGS-patch
14422 maybe-TAGS-patch:
14423 @if patch
14424 maybe-TAGS-patch: TAGS-patch
14426 TAGS-patch: \
14427 configure-patch
14428 @[ -f ./patch/Makefile ] || exit 0; \
14429 r=`${PWD_COMMAND}`; export r; \
14430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14431 $(SET_LIB_PATH) \
14432 $(HOST_EXPORTS) \
14433 for flag in $(EXTRA_HOST_FLAGS) ; do \
14434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14435 done; \
14436 echo "Doing TAGS in patch" ; \
14437 (cd patch && \
14438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14440 "RANLIB=$${RANLIB}" \
14441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14442 TAGS) \
14443 || exit 1
14445 @endif patch
14447 .PHONY: maybe-install-info-patch install-info-patch
14448 maybe-install-info-patch:
14449 @if patch
14450 maybe-install-info-patch: install-info-patch
14452 install-info-patch: \
14453 configure-patch \
14454 info-patch
14455 @[ -f ./patch/Makefile ] || exit 0; \
14456 r=`${PWD_COMMAND}`; export r; \
14457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14458 $(SET_LIB_PATH) \
14459 $(HOST_EXPORTS) \
14460 for flag in $(EXTRA_HOST_FLAGS) ; do \
14461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14462 done; \
14463 echo "Doing install-info in patch" ; \
14464 (cd patch && \
14465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14467 "RANLIB=$${RANLIB}" \
14468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14469 install-info) \
14470 || exit 1
14472 @endif patch
14474 .PHONY: maybe-installcheck-patch installcheck-patch
14475 maybe-installcheck-patch:
14476 @if patch
14477 maybe-installcheck-patch: installcheck-patch
14479 installcheck-patch: \
14480 configure-patch
14481 @[ -f ./patch/Makefile ] || exit 0; \
14482 r=`${PWD_COMMAND}`; export r; \
14483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14484 $(SET_LIB_PATH) \
14485 $(HOST_EXPORTS) \
14486 for flag in $(EXTRA_HOST_FLAGS) ; do \
14487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14488 done; \
14489 echo "Doing installcheck in patch" ; \
14490 (cd patch && \
14491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14493 "RANLIB=$${RANLIB}" \
14494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14495 installcheck) \
14496 || exit 1
14498 @endif patch
14500 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14501 maybe-mostlyclean-patch:
14502 @if patch
14503 maybe-mostlyclean-patch: mostlyclean-patch
14505 mostlyclean-patch:
14506 @[ -f ./patch/Makefile ] || exit 0; \
14507 r=`${PWD_COMMAND}`; export r; \
14508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14509 $(SET_LIB_PATH) \
14510 $(HOST_EXPORTS) \
14511 for flag in $(EXTRA_HOST_FLAGS) ; do \
14512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14513 done; \
14514 echo "Doing mostlyclean in patch" ; \
14515 (cd patch && \
14516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14518 "RANLIB=$${RANLIB}" \
14519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14520 mostlyclean) \
14521 || exit 1
14523 @endif patch
14525 .PHONY: maybe-clean-patch clean-patch
14526 maybe-clean-patch:
14527 @if patch
14528 maybe-clean-patch: clean-patch
14530 clean-patch:
14531 @[ -f ./patch/Makefile ] || exit 0; \
14532 r=`${PWD_COMMAND}`; export r; \
14533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14534 $(SET_LIB_PATH) \
14535 $(HOST_EXPORTS) \
14536 for flag in $(EXTRA_HOST_FLAGS) ; do \
14537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14538 done; \
14539 echo "Doing clean in patch" ; \
14540 (cd patch && \
14541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14543 "RANLIB=$${RANLIB}" \
14544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14545 clean) \
14546 || exit 1
14548 @endif patch
14550 .PHONY: maybe-distclean-patch distclean-patch
14551 maybe-distclean-patch:
14552 @if patch
14553 maybe-distclean-patch: distclean-patch
14555 distclean-patch:
14556 @[ -f ./patch/Makefile ] || exit 0; \
14557 r=`${PWD_COMMAND}`; export r; \
14558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14559 $(SET_LIB_PATH) \
14560 $(HOST_EXPORTS) \
14561 for flag in $(EXTRA_HOST_FLAGS) ; do \
14562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14563 done; \
14564 echo "Doing distclean in patch" ; \
14565 (cd patch && \
14566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14568 "RANLIB=$${RANLIB}" \
14569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14570 distclean) \
14571 || exit 1
14573 @endif patch
14575 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14576 maybe-maintainer-clean-patch:
14577 @if patch
14578 maybe-maintainer-clean-patch: maintainer-clean-patch
14580 maintainer-clean-patch:
14581 @[ -f ./patch/Makefile ] || exit 0; \
14582 r=`${PWD_COMMAND}`; export r; \
14583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14584 $(SET_LIB_PATH) \
14585 $(HOST_EXPORTS) \
14586 for flag in $(EXTRA_HOST_FLAGS) ; do \
14587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14588 done; \
14589 echo "Doing maintainer-clean in patch" ; \
14590 (cd patch && \
14591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14593 "RANLIB=$${RANLIB}" \
14594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14595 maintainer-clean) \
14596 || exit 1
14598 @endif patch
14601 .PHONY: configure-perl maybe-configure-perl
14602 maybe-configure-perl:
14603 @if perl
14604 maybe-configure-perl: configure-perl
14605 configure-perl:
14606 @test ! -f perl/Makefile || exit 0; \
14607 [ -d perl ] || mkdir perl; \
14608 r=`${PWD_COMMAND}`; export r; \
14609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14610 $(HOST_EXPORTS) \
14611 echo Configuring in perl; \
14612 cd perl || exit 1; \
14613 case $(srcdir) in \
14614 \.) \
14615 srcdiroption="--srcdir=."; \
14616 libsrcdir=".";; \
14617 /* | [A-Za-z]:[\\/]*) \
14618 srcdiroption="--srcdir=$(srcdir)/perl"; \
14619 libsrcdir="$$s/perl";; \
14620 *) \
14621 srcdiroption="--srcdir=../$(srcdir)/perl"; \
14622 libsrcdir="$$s/perl";; \
14623 esac; \
14624 $(SHELL) $${libsrcdir}/configure \
14625 $(HOST_CONFIGARGS) $${srcdiroption} \
14626 || exit 1
14627 @endif perl
14629 .PHONY: all-perl maybe-all-perl
14630 maybe-all-perl:
14631 @if perl
14632 maybe-all-perl: all-perl
14633 all-perl: configure-perl
14634 @r=`${PWD_COMMAND}`; export r; \
14635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14636 $(SET_LIB_PATH) \
14637 $(HOST_EXPORTS) \
14638 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
14639 @endif perl
14641 .PHONY: check-perl maybe-check-perl
14642 maybe-check-perl:
14643 @if perl
14644 maybe-check-perl: check-perl
14646 check-perl:
14647 @r=`${PWD_COMMAND}`; export r; \
14648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14649 $(SET_LIB_PATH) \
14650 $(HOST_EXPORTS) \
14651 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14653 @endif perl
14655 .PHONY: install-perl maybe-install-perl
14656 maybe-install-perl:
14657 @if perl
14658 maybe-install-perl: install-perl
14660 install-perl: installdirs
14661 @r=`${PWD_COMMAND}`; export r; \
14662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14663 $(SET_LIB_PATH) \
14664 $(HOST_EXPORTS) \
14665 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14667 @endif perl
14669 # Other targets (info, dvi, etc.)
14671 .PHONY: maybe-info-perl info-perl
14672 maybe-info-perl:
14673 @if perl
14674 maybe-info-perl: info-perl
14676 info-perl: \
14677 configure-perl
14678 @[ -f ./perl/Makefile ] || exit 0; \
14679 r=`${PWD_COMMAND}`; export r; \
14680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14681 $(SET_LIB_PATH) \
14682 $(HOST_EXPORTS) \
14683 for flag in $(EXTRA_HOST_FLAGS) ; do \
14684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14685 done; \
14686 echo "Doing info in perl" ; \
14687 (cd perl && \
14688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14690 "RANLIB=$${RANLIB}" \
14691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14692 info) \
14693 || exit 1
14695 @endif perl
14697 .PHONY: maybe-dvi-perl dvi-perl
14698 maybe-dvi-perl:
14699 @if perl
14700 maybe-dvi-perl: dvi-perl
14702 dvi-perl: \
14703 configure-perl
14704 @[ -f ./perl/Makefile ] || exit 0; \
14705 r=`${PWD_COMMAND}`; export r; \
14706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14707 $(SET_LIB_PATH) \
14708 $(HOST_EXPORTS) \
14709 for flag in $(EXTRA_HOST_FLAGS) ; do \
14710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14711 done; \
14712 echo "Doing dvi in perl" ; \
14713 (cd perl && \
14714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14716 "RANLIB=$${RANLIB}" \
14717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14718 dvi) \
14719 || exit 1
14721 @endif perl
14723 .PHONY: maybe-TAGS-perl TAGS-perl
14724 maybe-TAGS-perl:
14725 @if perl
14726 maybe-TAGS-perl: TAGS-perl
14728 TAGS-perl: \
14729 configure-perl
14730 @[ -f ./perl/Makefile ] || exit 0; \
14731 r=`${PWD_COMMAND}`; export r; \
14732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14733 $(SET_LIB_PATH) \
14734 $(HOST_EXPORTS) \
14735 for flag in $(EXTRA_HOST_FLAGS) ; do \
14736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14737 done; \
14738 echo "Doing TAGS in perl" ; \
14739 (cd perl && \
14740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14742 "RANLIB=$${RANLIB}" \
14743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14744 TAGS) \
14745 || exit 1
14747 @endif perl
14749 .PHONY: maybe-install-info-perl install-info-perl
14750 maybe-install-info-perl:
14751 @if perl
14752 maybe-install-info-perl: install-info-perl
14754 install-info-perl: \
14755 configure-perl \
14756 info-perl
14757 @[ -f ./perl/Makefile ] || exit 0; \
14758 r=`${PWD_COMMAND}`; export r; \
14759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14760 $(SET_LIB_PATH) \
14761 $(HOST_EXPORTS) \
14762 for flag in $(EXTRA_HOST_FLAGS) ; do \
14763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14764 done; \
14765 echo "Doing install-info in perl" ; \
14766 (cd perl && \
14767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14769 "RANLIB=$${RANLIB}" \
14770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14771 install-info) \
14772 || exit 1
14774 @endif perl
14776 .PHONY: maybe-installcheck-perl installcheck-perl
14777 maybe-installcheck-perl:
14778 @if perl
14779 maybe-installcheck-perl: installcheck-perl
14781 installcheck-perl: \
14782 configure-perl
14783 @[ -f ./perl/Makefile ] || exit 0; \
14784 r=`${PWD_COMMAND}`; export r; \
14785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14786 $(SET_LIB_PATH) \
14787 $(HOST_EXPORTS) \
14788 for flag in $(EXTRA_HOST_FLAGS) ; do \
14789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14790 done; \
14791 echo "Doing installcheck in perl" ; \
14792 (cd perl && \
14793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14795 "RANLIB=$${RANLIB}" \
14796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14797 installcheck) \
14798 || exit 1
14800 @endif perl
14802 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
14803 maybe-mostlyclean-perl:
14804 @if perl
14805 maybe-mostlyclean-perl: mostlyclean-perl
14807 mostlyclean-perl:
14808 @[ -f ./perl/Makefile ] || exit 0; \
14809 r=`${PWD_COMMAND}`; export r; \
14810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14811 $(SET_LIB_PATH) \
14812 $(HOST_EXPORTS) \
14813 for flag in $(EXTRA_HOST_FLAGS) ; do \
14814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14815 done; \
14816 echo "Doing mostlyclean in perl" ; \
14817 (cd perl && \
14818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14820 "RANLIB=$${RANLIB}" \
14821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14822 mostlyclean) \
14823 || exit 1
14825 @endif perl
14827 .PHONY: maybe-clean-perl clean-perl
14828 maybe-clean-perl:
14829 @if perl
14830 maybe-clean-perl: clean-perl
14832 clean-perl:
14833 @[ -f ./perl/Makefile ] || exit 0; \
14834 r=`${PWD_COMMAND}`; export r; \
14835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14836 $(SET_LIB_PATH) \
14837 $(HOST_EXPORTS) \
14838 for flag in $(EXTRA_HOST_FLAGS) ; do \
14839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14840 done; \
14841 echo "Doing clean in perl" ; \
14842 (cd perl && \
14843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14845 "RANLIB=$${RANLIB}" \
14846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14847 clean) \
14848 || exit 1
14850 @endif perl
14852 .PHONY: maybe-distclean-perl distclean-perl
14853 maybe-distclean-perl:
14854 @if perl
14855 maybe-distclean-perl: distclean-perl
14857 distclean-perl:
14858 @[ -f ./perl/Makefile ] || exit 0; \
14859 r=`${PWD_COMMAND}`; export r; \
14860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14861 $(SET_LIB_PATH) \
14862 $(HOST_EXPORTS) \
14863 for flag in $(EXTRA_HOST_FLAGS) ; do \
14864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14865 done; \
14866 echo "Doing distclean in perl" ; \
14867 (cd perl && \
14868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14870 "RANLIB=$${RANLIB}" \
14871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14872 distclean) \
14873 || exit 1
14875 @endif perl
14877 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
14878 maybe-maintainer-clean-perl:
14879 @if perl
14880 maybe-maintainer-clean-perl: maintainer-clean-perl
14882 maintainer-clean-perl:
14883 @[ -f ./perl/Makefile ] || exit 0; \
14884 r=`${PWD_COMMAND}`; export r; \
14885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14886 $(SET_LIB_PATH) \
14887 $(HOST_EXPORTS) \
14888 for flag in $(EXTRA_HOST_FLAGS) ; do \
14889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14890 done; \
14891 echo "Doing maintainer-clean in perl" ; \
14892 (cd perl && \
14893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14895 "RANLIB=$${RANLIB}" \
14896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14897 maintainer-clean) \
14898 || exit 1
14900 @endif perl
14903 .PHONY: configure-prms maybe-configure-prms
14904 maybe-configure-prms:
14905 @if prms
14906 maybe-configure-prms: configure-prms
14907 configure-prms:
14908 @test ! -f prms/Makefile || exit 0; \
14909 [ -d prms ] || mkdir prms; \
14910 r=`${PWD_COMMAND}`; export r; \
14911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14912 $(HOST_EXPORTS) \
14913 echo Configuring in prms; \
14914 cd prms || exit 1; \
14915 case $(srcdir) in \
14916 \.) \
14917 srcdiroption="--srcdir=."; \
14918 libsrcdir=".";; \
14919 /* | [A-Za-z]:[\\/]*) \
14920 srcdiroption="--srcdir=$(srcdir)/prms"; \
14921 libsrcdir="$$s/prms";; \
14922 *) \
14923 srcdiroption="--srcdir=../$(srcdir)/prms"; \
14924 libsrcdir="$$s/prms";; \
14925 esac; \
14926 $(SHELL) $${libsrcdir}/configure \
14927 $(HOST_CONFIGARGS) $${srcdiroption} \
14928 || exit 1
14929 @endif prms
14931 .PHONY: all-prms maybe-all-prms
14932 maybe-all-prms:
14933 @if prms
14934 maybe-all-prms: all-prms
14935 all-prms: configure-prms
14936 @r=`${PWD_COMMAND}`; export r; \
14937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14938 $(SET_LIB_PATH) \
14939 $(HOST_EXPORTS) \
14940 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
14941 @endif prms
14943 .PHONY: check-prms maybe-check-prms
14944 maybe-check-prms:
14945 @if prms
14946 maybe-check-prms: check-prms
14948 check-prms:
14949 @r=`${PWD_COMMAND}`; export r; \
14950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14951 $(SET_LIB_PATH) \
14952 $(HOST_EXPORTS) \
14953 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
14955 @endif prms
14957 .PHONY: install-prms maybe-install-prms
14958 maybe-install-prms:
14959 @if prms
14960 maybe-install-prms: install-prms
14962 install-prms: installdirs
14963 @r=`${PWD_COMMAND}`; export r; \
14964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14965 $(SET_LIB_PATH) \
14966 $(HOST_EXPORTS) \
14967 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
14969 @endif prms
14971 # Other targets (info, dvi, etc.)
14973 .PHONY: maybe-info-prms info-prms
14974 maybe-info-prms:
14975 @if prms
14976 maybe-info-prms: info-prms
14978 info-prms: \
14979 configure-prms
14980 @[ -f ./prms/Makefile ] || exit 0; \
14981 r=`${PWD_COMMAND}`; export r; \
14982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14983 $(SET_LIB_PATH) \
14984 $(HOST_EXPORTS) \
14985 for flag in $(EXTRA_HOST_FLAGS) ; do \
14986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14987 done; \
14988 echo "Doing info in prms" ; \
14989 (cd prms && \
14990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14992 "RANLIB=$${RANLIB}" \
14993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14994 info) \
14995 || exit 1
14997 @endif prms
14999 .PHONY: maybe-dvi-prms dvi-prms
15000 maybe-dvi-prms:
15001 @if prms
15002 maybe-dvi-prms: dvi-prms
15004 dvi-prms: \
15005 configure-prms
15006 @[ -f ./prms/Makefile ] || exit 0; \
15007 r=`${PWD_COMMAND}`; export r; \
15008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15009 $(SET_LIB_PATH) \
15010 $(HOST_EXPORTS) \
15011 for flag in $(EXTRA_HOST_FLAGS) ; do \
15012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15013 done; \
15014 echo "Doing dvi in prms" ; \
15015 (cd prms && \
15016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15018 "RANLIB=$${RANLIB}" \
15019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15020 dvi) \
15021 || exit 1
15023 @endif prms
15025 .PHONY: maybe-TAGS-prms TAGS-prms
15026 maybe-TAGS-prms:
15027 @if prms
15028 maybe-TAGS-prms: TAGS-prms
15030 TAGS-prms: \
15031 configure-prms
15032 @[ -f ./prms/Makefile ] || exit 0; \
15033 r=`${PWD_COMMAND}`; export r; \
15034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15035 $(SET_LIB_PATH) \
15036 $(HOST_EXPORTS) \
15037 for flag in $(EXTRA_HOST_FLAGS) ; do \
15038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15039 done; \
15040 echo "Doing TAGS in prms" ; \
15041 (cd prms && \
15042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15044 "RANLIB=$${RANLIB}" \
15045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15046 TAGS) \
15047 || exit 1
15049 @endif prms
15051 .PHONY: maybe-install-info-prms install-info-prms
15052 maybe-install-info-prms:
15053 @if prms
15054 maybe-install-info-prms: install-info-prms
15056 install-info-prms: \
15057 configure-prms \
15058 info-prms
15059 @[ -f ./prms/Makefile ] || exit 0; \
15060 r=`${PWD_COMMAND}`; export r; \
15061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15062 $(SET_LIB_PATH) \
15063 $(HOST_EXPORTS) \
15064 for flag in $(EXTRA_HOST_FLAGS) ; do \
15065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15066 done; \
15067 echo "Doing install-info in prms" ; \
15068 (cd prms && \
15069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15071 "RANLIB=$${RANLIB}" \
15072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15073 install-info) \
15074 || exit 1
15076 @endif prms
15078 .PHONY: maybe-installcheck-prms installcheck-prms
15079 maybe-installcheck-prms:
15080 @if prms
15081 maybe-installcheck-prms: installcheck-prms
15083 installcheck-prms: \
15084 configure-prms
15085 @[ -f ./prms/Makefile ] || exit 0; \
15086 r=`${PWD_COMMAND}`; export r; \
15087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15088 $(SET_LIB_PATH) \
15089 $(HOST_EXPORTS) \
15090 for flag in $(EXTRA_HOST_FLAGS) ; do \
15091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15092 done; \
15093 echo "Doing installcheck in prms" ; \
15094 (cd prms && \
15095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15097 "RANLIB=$${RANLIB}" \
15098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15099 installcheck) \
15100 || exit 1
15102 @endif prms
15104 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15105 maybe-mostlyclean-prms:
15106 @if prms
15107 maybe-mostlyclean-prms: mostlyclean-prms
15109 mostlyclean-prms:
15110 @[ -f ./prms/Makefile ] || exit 0; \
15111 r=`${PWD_COMMAND}`; export r; \
15112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15113 $(SET_LIB_PATH) \
15114 $(HOST_EXPORTS) \
15115 for flag in $(EXTRA_HOST_FLAGS) ; do \
15116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15117 done; \
15118 echo "Doing mostlyclean in prms" ; \
15119 (cd prms && \
15120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15122 "RANLIB=$${RANLIB}" \
15123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15124 mostlyclean) \
15125 || exit 1
15127 @endif prms
15129 .PHONY: maybe-clean-prms clean-prms
15130 maybe-clean-prms:
15131 @if prms
15132 maybe-clean-prms: clean-prms
15134 clean-prms:
15135 @[ -f ./prms/Makefile ] || exit 0; \
15136 r=`${PWD_COMMAND}`; export r; \
15137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15138 $(SET_LIB_PATH) \
15139 $(HOST_EXPORTS) \
15140 for flag in $(EXTRA_HOST_FLAGS) ; do \
15141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15142 done; \
15143 echo "Doing clean in prms" ; \
15144 (cd prms && \
15145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15147 "RANLIB=$${RANLIB}" \
15148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15149 clean) \
15150 || exit 1
15152 @endif prms
15154 .PHONY: maybe-distclean-prms distclean-prms
15155 maybe-distclean-prms:
15156 @if prms
15157 maybe-distclean-prms: distclean-prms
15159 distclean-prms:
15160 @[ -f ./prms/Makefile ] || exit 0; \
15161 r=`${PWD_COMMAND}`; export r; \
15162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15163 $(SET_LIB_PATH) \
15164 $(HOST_EXPORTS) \
15165 for flag in $(EXTRA_HOST_FLAGS) ; do \
15166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15167 done; \
15168 echo "Doing distclean in prms" ; \
15169 (cd prms && \
15170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15172 "RANLIB=$${RANLIB}" \
15173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15174 distclean) \
15175 || exit 1
15177 @endif prms
15179 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15180 maybe-maintainer-clean-prms:
15181 @if prms
15182 maybe-maintainer-clean-prms: maintainer-clean-prms
15184 maintainer-clean-prms:
15185 @[ -f ./prms/Makefile ] || exit 0; \
15186 r=`${PWD_COMMAND}`; export r; \
15187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15188 $(SET_LIB_PATH) \
15189 $(HOST_EXPORTS) \
15190 for flag in $(EXTRA_HOST_FLAGS) ; do \
15191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15192 done; \
15193 echo "Doing maintainer-clean in prms" ; \
15194 (cd prms && \
15195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15197 "RANLIB=$${RANLIB}" \
15198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15199 maintainer-clean) \
15200 || exit 1
15202 @endif prms
15205 .PHONY: configure-rcs maybe-configure-rcs
15206 maybe-configure-rcs:
15207 @if rcs
15208 maybe-configure-rcs: configure-rcs
15209 configure-rcs:
15210 @test ! -f rcs/Makefile || exit 0; \
15211 [ -d rcs ] || mkdir rcs; \
15212 r=`${PWD_COMMAND}`; export r; \
15213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15214 $(HOST_EXPORTS) \
15215 echo Configuring in rcs; \
15216 cd rcs || exit 1; \
15217 case $(srcdir) in \
15218 \.) \
15219 srcdiroption="--srcdir=."; \
15220 libsrcdir=".";; \
15221 /* | [A-Za-z]:[\\/]*) \
15222 srcdiroption="--srcdir=$(srcdir)/rcs"; \
15223 libsrcdir="$$s/rcs";; \
15224 *) \
15225 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
15226 libsrcdir="$$s/rcs";; \
15227 esac; \
15228 $(SHELL) $${libsrcdir}/configure \
15229 $(HOST_CONFIGARGS) $${srcdiroption} \
15230 || exit 1
15231 @endif rcs
15233 .PHONY: all-rcs maybe-all-rcs
15234 maybe-all-rcs:
15235 @if rcs
15236 maybe-all-rcs: all-rcs
15237 all-rcs: configure-rcs
15238 @r=`${PWD_COMMAND}`; export r; \
15239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15240 $(SET_LIB_PATH) \
15241 $(HOST_EXPORTS) \
15242 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
15243 @endif rcs
15245 .PHONY: check-rcs maybe-check-rcs
15246 maybe-check-rcs:
15247 @if rcs
15248 maybe-check-rcs: check-rcs
15250 check-rcs:
15251 @r=`${PWD_COMMAND}`; export r; \
15252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15253 $(SET_LIB_PATH) \
15254 $(HOST_EXPORTS) \
15255 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
15257 @endif rcs
15259 .PHONY: install-rcs maybe-install-rcs
15260 maybe-install-rcs:
15261 @if rcs
15262 maybe-install-rcs: install-rcs
15264 install-rcs: installdirs
15265 @r=`${PWD_COMMAND}`; export r; \
15266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15267 $(SET_LIB_PATH) \
15268 $(HOST_EXPORTS) \
15269 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
15271 @endif rcs
15273 # Other targets (info, dvi, etc.)
15275 .PHONY: maybe-info-rcs info-rcs
15276 maybe-info-rcs:
15277 @if rcs
15278 maybe-info-rcs: info-rcs
15280 info-rcs: \
15281 configure-rcs
15282 @[ -f ./rcs/Makefile ] || exit 0; \
15283 r=`${PWD_COMMAND}`; export r; \
15284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15285 $(SET_LIB_PATH) \
15286 $(HOST_EXPORTS) \
15287 for flag in $(EXTRA_HOST_FLAGS) ; do \
15288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15289 done; \
15290 echo "Doing info in rcs" ; \
15291 (cd rcs && \
15292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15294 "RANLIB=$${RANLIB}" \
15295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15296 info) \
15297 || exit 1
15299 @endif rcs
15301 .PHONY: maybe-dvi-rcs dvi-rcs
15302 maybe-dvi-rcs:
15303 @if rcs
15304 maybe-dvi-rcs: dvi-rcs
15306 dvi-rcs: \
15307 configure-rcs
15308 @[ -f ./rcs/Makefile ] || exit 0; \
15309 r=`${PWD_COMMAND}`; export r; \
15310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15311 $(SET_LIB_PATH) \
15312 $(HOST_EXPORTS) \
15313 for flag in $(EXTRA_HOST_FLAGS) ; do \
15314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15315 done; \
15316 echo "Doing dvi in rcs" ; \
15317 (cd rcs && \
15318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15320 "RANLIB=$${RANLIB}" \
15321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15322 dvi) \
15323 || exit 1
15325 @endif rcs
15327 .PHONY: maybe-TAGS-rcs TAGS-rcs
15328 maybe-TAGS-rcs:
15329 @if rcs
15330 maybe-TAGS-rcs: TAGS-rcs
15332 TAGS-rcs: \
15333 configure-rcs
15334 @[ -f ./rcs/Makefile ] || exit 0; \
15335 r=`${PWD_COMMAND}`; export r; \
15336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15337 $(SET_LIB_PATH) \
15338 $(HOST_EXPORTS) \
15339 for flag in $(EXTRA_HOST_FLAGS) ; do \
15340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15341 done; \
15342 echo "Doing TAGS in rcs" ; \
15343 (cd rcs && \
15344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15346 "RANLIB=$${RANLIB}" \
15347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15348 TAGS) \
15349 || exit 1
15351 @endif rcs
15353 .PHONY: maybe-install-info-rcs install-info-rcs
15354 maybe-install-info-rcs:
15355 @if rcs
15356 maybe-install-info-rcs: install-info-rcs
15358 install-info-rcs: \
15359 configure-rcs \
15360 info-rcs
15361 @[ -f ./rcs/Makefile ] || exit 0; \
15362 r=`${PWD_COMMAND}`; export r; \
15363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15364 $(SET_LIB_PATH) \
15365 $(HOST_EXPORTS) \
15366 for flag in $(EXTRA_HOST_FLAGS) ; do \
15367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15368 done; \
15369 echo "Doing install-info in rcs" ; \
15370 (cd rcs && \
15371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15373 "RANLIB=$${RANLIB}" \
15374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15375 install-info) \
15376 || exit 1
15378 @endif rcs
15380 .PHONY: maybe-installcheck-rcs installcheck-rcs
15381 maybe-installcheck-rcs:
15382 @if rcs
15383 maybe-installcheck-rcs: installcheck-rcs
15385 installcheck-rcs: \
15386 configure-rcs
15387 @[ -f ./rcs/Makefile ] || exit 0; \
15388 r=`${PWD_COMMAND}`; export r; \
15389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15390 $(SET_LIB_PATH) \
15391 $(HOST_EXPORTS) \
15392 for flag in $(EXTRA_HOST_FLAGS) ; do \
15393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15394 done; \
15395 echo "Doing installcheck in rcs" ; \
15396 (cd rcs && \
15397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15399 "RANLIB=$${RANLIB}" \
15400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15401 installcheck) \
15402 || exit 1
15404 @endif rcs
15406 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15407 maybe-mostlyclean-rcs:
15408 @if rcs
15409 maybe-mostlyclean-rcs: mostlyclean-rcs
15411 mostlyclean-rcs:
15412 @[ -f ./rcs/Makefile ] || exit 0; \
15413 r=`${PWD_COMMAND}`; export r; \
15414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15415 $(SET_LIB_PATH) \
15416 $(HOST_EXPORTS) \
15417 for flag in $(EXTRA_HOST_FLAGS) ; do \
15418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15419 done; \
15420 echo "Doing mostlyclean in rcs" ; \
15421 (cd rcs && \
15422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15424 "RANLIB=$${RANLIB}" \
15425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15426 mostlyclean) \
15427 || exit 1
15429 @endif rcs
15431 .PHONY: maybe-clean-rcs clean-rcs
15432 maybe-clean-rcs:
15433 @if rcs
15434 maybe-clean-rcs: clean-rcs
15436 clean-rcs:
15437 @[ -f ./rcs/Makefile ] || exit 0; \
15438 r=`${PWD_COMMAND}`; export r; \
15439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15440 $(SET_LIB_PATH) \
15441 $(HOST_EXPORTS) \
15442 for flag in $(EXTRA_HOST_FLAGS) ; do \
15443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15444 done; \
15445 echo "Doing clean in rcs" ; \
15446 (cd rcs && \
15447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15449 "RANLIB=$${RANLIB}" \
15450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15451 clean) \
15452 || exit 1
15454 @endif rcs
15456 .PHONY: maybe-distclean-rcs distclean-rcs
15457 maybe-distclean-rcs:
15458 @if rcs
15459 maybe-distclean-rcs: distclean-rcs
15461 distclean-rcs:
15462 @[ -f ./rcs/Makefile ] || exit 0; \
15463 r=`${PWD_COMMAND}`; export r; \
15464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15465 $(SET_LIB_PATH) \
15466 $(HOST_EXPORTS) \
15467 for flag in $(EXTRA_HOST_FLAGS) ; do \
15468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15469 done; \
15470 echo "Doing distclean in rcs" ; \
15471 (cd rcs && \
15472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15474 "RANLIB=$${RANLIB}" \
15475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15476 distclean) \
15477 || exit 1
15479 @endif rcs
15481 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15482 maybe-maintainer-clean-rcs:
15483 @if rcs
15484 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15486 maintainer-clean-rcs:
15487 @[ -f ./rcs/Makefile ] || exit 0; \
15488 r=`${PWD_COMMAND}`; export r; \
15489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15490 $(SET_LIB_PATH) \
15491 $(HOST_EXPORTS) \
15492 for flag in $(EXTRA_HOST_FLAGS) ; do \
15493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15494 done; \
15495 echo "Doing maintainer-clean in rcs" ; \
15496 (cd rcs && \
15497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15499 "RANLIB=$${RANLIB}" \
15500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15501 maintainer-clean) \
15502 || exit 1
15504 @endif rcs
15507 .PHONY: configure-readline maybe-configure-readline
15508 maybe-configure-readline:
15509 @if readline
15510 maybe-configure-readline: configure-readline
15511 configure-readline:
15512 @test ! -f readline/Makefile || exit 0; \
15513 [ -d readline ] || mkdir readline; \
15514 r=`${PWD_COMMAND}`; export r; \
15515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15516 $(HOST_EXPORTS) \
15517 echo Configuring in readline; \
15518 cd readline || exit 1; \
15519 case $(srcdir) in \
15520 \.) \
15521 srcdiroption="--srcdir=."; \
15522 libsrcdir=".";; \
15523 /* | [A-Za-z]:[\\/]*) \
15524 srcdiroption="--srcdir=$(srcdir)/readline"; \
15525 libsrcdir="$$s/readline";; \
15526 *) \
15527 srcdiroption="--srcdir=../$(srcdir)/readline"; \
15528 libsrcdir="$$s/readline";; \
15529 esac; \
15530 $(SHELL) $${libsrcdir}/configure \
15531 $(HOST_CONFIGARGS) $${srcdiroption} \
15532 || exit 1
15533 @endif readline
15535 .PHONY: all-readline maybe-all-readline
15536 maybe-all-readline:
15537 @if readline
15538 maybe-all-readline: all-readline
15539 all-readline: configure-readline
15540 @r=`${PWD_COMMAND}`; export r; \
15541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15542 $(SET_LIB_PATH) \
15543 $(HOST_EXPORTS) \
15544 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
15545 @endif readline
15547 .PHONY: check-readline maybe-check-readline
15548 maybe-check-readline:
15549 @if readline
15550 maybe-check-readline: check-readline
15552 check-readline:
15553 @r=`${PWD_COMMAND}`; export r; \
15554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15555 $(SET_LIB_PATH) \
15556 $(HOST_EXPORTS) \
15557 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15559 @endif readline
15561 .PHONY: install-readline maybe-install-readline
15562 maybe-install-readline:
15563 @if readline
15564 maybe-install-readline: install-readline
15566 install-readline: installdirs
15567 @r=`${PWD_COMMAND}`; export r; \
15568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15569 $(SET_LIB_PATH) \
15570 $(HOST_EXPORTS) \
15571 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15573 @endif readline
15575 # Other targets (info, dvi, etc.)
15577 .PHONY: maybe-info-readline info-readline
15578 maybe-info-readline:
15579 @if readline
15580 maybe-info-readline: info-readline
15582 info-readline: \
15583 configure-readline
15584 @[ -f ./readline/Makefile ] || exit 0; \
15585 r=`${PWD_COMMAND}`; export r; \
15586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15587 $(SET_LIB_PATH) \
15588 $(HOST_EXPORTS) \
15589 for flag in $(EXTRA_HOST_FLAGS) ; do \
15590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15591 done; \
15592 echo "Doing info in readline" ; \
15593 (cd readline && \
15594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15596 "RANLIB=$${RANLIB}" \
15597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15598 info) \
15599 || exit 1
15601 @endif readline
15603 .PHONY: maybe-dvi-readline dvi-readline
15604 maybe-dvi-readline:
15605 @if readline
15606 maybe-dvi-readline: dvi-readline
15608 dvi-readline: \
15609 configure-readline
15610 @[ -f ./readline/Makefile ] || exit 0; \
15611 r=`${PWD_COMMAND}`; export r; \
15612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15613 $(SET_LIB_PATH) \
15614 $(HOST_EXPORTS) \
15615 for flag in $(EXTRA_HOST_FLAGS) ; do \
15616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15617 done; \
15618 echo "Doing dvi in readline" ; \
15619 (cd readline && \
15620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15622 "RANLIB=$${RANLIB}" \
15623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15624 dvi) \
15625 || exit 1
15627 @endif readline
15629 .PHONY: maybe-TAGS-readline TAGS-readline
15630 maybe-TAGS-readline:
15631 @if readline
15632 maybe-TAGS-readline: TAGS-readline
15634 TAGS-readline: \
15635 configure-readline
15636 @[ -f ./readline/Makefile ] || exit 0; \
15637 r=`${PWD_COMMAND}`; export r; \
15638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15639 $(SET_LIB_PATH) \
15640 $(HOST_EXPORTS) \
15641 for flag in $(EXTRA_HOST_FLAGS) ; do \
15642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15643 done; \
15644 echo "Doing TAGS in readline" ; \
15645 (cd readline && \
15646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15648 "RANLIB=$${RANLIB}" \
15649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15650 TAGS) \
15651 || exit 1
15653 @endif readline
15655 .PHONY: maybe-install-info-readline install-info-readline
15656 maybe-install-info-readline:
15657 @if readline
15658 maybe-install-info-readline: install-info-readline
15660 install-info-readline: \
15661 configure-readline \
15662 info-readline
15663 @[ -f ./readline/Makefile ] || exit 0; \
15664 r=`${PWD_COMMAND}`; export r; \
15665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15666 $(SET_LIB_PATH) \
15667 $(HOST_EXPORTS) \
15668 for flag in $(EXTRA_HOST_FLAGS) ; do \
15669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15670 done; \
15671 echo "Doing install-info in readline" ; \
15672 (cd readline && \
15673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15675 "RANLIB=$${RANLIB}" \
15676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15677 install-info) \
15678 || exit 1
15680 @endif readline
15682 .PHONY: maybe-installcheck-readline installcheck-readline
15683 maybe-installcheck-readline:
15684 @if readline
15685 maybe-installcheck-readline: installcheck-readline
15687 installcheck-readline: \
15688 configure-readline
15689 @[ -f ./readline/Makefile ] || exit 0; \
15690 r=`${PWD_COMMAND}`; export r; \
15691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15692 $(SET_LIB_PATH) \
15693 $(HOST_EXPORTS) \
15694 for flag in $(EXTRA_HOST_FLAGS) ; do \
15695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15696 done; \
15697 echo "Doing installcheck in readline" ; \
15698 (cd readline && \
15699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15701 "RANLIB=$${RANLIB}" \
15702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15703 installcheck) \
15704 || exit 1
15706 @endif readline
15708 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
15709 maybe-mostlyclean-readline:
15710 @if readline
15711 maybe-mostlyclean-readline: mostlyclean-readline
15713 mostlyclean-readline:
15714 @[ -f ./readline/Makefile ] || exit 0; \
15715 r=`${PWD_COMMAND}`; export r; \
15716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15717 $(SET_LIB_PATH) \
15718 $(HOST_EXPORTS) \
15719 for flag in $(EXTRA_HOST_FLAGS) ; do \
15720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15721 done; \
15722 echo "Doing mostlyclean in readline" ; \
15723 (cd readline && \
15724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15726 "RANLIB=$${RANLIB}" \
15727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15728 mostlyclean) \
15729 || exit 1
15731 @endif readline
15733 .PHONY: maybe-clean-readline clean-readline
15734 maybe-clean-readline:
15735 @if readline
15736 maybe-clean-readline: clean-readline
15738 clean-readline:
15739 @[ -f ./readline/Makefile ] || exit 0; \
15740 r=`${PWD_COMMAND}`; export r; \
15741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15742 $(SET_LIB_PATH) \
15743 $(HOST_EXPORTS) \
15744 for flag in $(EXTRA_HOST_FLAGS) ; do \
15745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15746 done; \
15747 echo "Doing clean in readline" ; \
15748 (cd readline && \
15749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15751 "RANLIB=$${RANLIB}" \
15752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15753 clean) \
15754 || exit 1
15756 @endif readline
15758 .PHONY: maybe-distclean-readline distclean-readline
15759 maybe-distclean-readline:
15760 @if readline
15761 maybe-distclean-readline: distclean-readline
15763 distclean-readline:
15764 @[ -f ./readline/Makefile ] || exit 0; \
15765 r=`${PWD_COMMAND}`; export r; \
15766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15767 $(SET_LIB_PATH) \
15768 $(HOST_EXPORTS) \
15769 for flag in $(EXTRA_HOST_FLAGS) ; do \
15770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15771 done; \
15772 echo "Doing distclean in readline" ; \
15773 (cd readline && \
15774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15776 "RANLIB=$${RANLIB}" \
15777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15778 distclean) \
15779 || exit 1
15781 @endif readline
15783 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
15784 maybe-maintainer-clean-readline:
15785 @if readline
15786 maybe-maintainer-clean-readline: maintainer-clean-readline
15788 maintainer-clean-readline:
15789 @[ -f ./readline/Makefile ] || exit 0; \
15790 r=`${PWD_COMMAND}`; export r; \
15791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15792 $(SET_LIB_PATH) \
15793 $(HOST_EXPORTS) \
15794 for flag in $(EXTRA_HOST_FLAGS) ; do \
15795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15796 done; \
15797 echo "Doing maintainer-clean in readline" ; \
15798 (cd readline && \
15799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15801 "RANLIB=$${RANLIB}" \
15802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15803 maintainer-clean) \
15804 || exit 1
15806 @endif readline
15809 .PHONY: configure-release maybe-configure-release
15810 maybe-configure-release:
15811 @if release
15812 maybe-configure-release: configure-release
15813 configure-release:
15814 @test ! -f release/Makefile || exit 0; \
15815 [ -d release ] || mkdir release; \
15816 r=`${PWD_COMMAND}`; export r; \
15817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15818 $(HOST_EXPORTS) \
15819 echo Configuring in release; \
15820 cd release || exit 1; \
15821 case $(srcdir) in \
15822 \.) \
15823 srcdiroption="--srcdir=."; \
15824 libsrcdir=".";; \
15825 /* | [A-Za-z]:[\\/]*) \
15826 srcdiroption="--srcdir=$(srcdir)/release"; \
15827 libsrcdir="$$s/release";; \
15828 *) \
15829 srcdiroption="--srcdir=../$(srcdir)/release"; \
15830 libsrcdir="$$s/release";; \
15831 esac; \
15832 $(SHELL) $${libsrcdir}/configure \
15833 $(HOST_CONFIGARGS) $${srcdiroption} \
15834 || exit 1
15835 @endif release
15837 .PHONY: all-release maybe-all-release
15838 maybe-all-release:
15839 @if release
15840 maybe-all-release: all-release
15841 all-release: configure-release
15842 @r=`${PWD_COMMAND}`; export r; \
15843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15844 $(SET_LIB_PATH) \
15845 $(HOST_EXPORTS) \
15846 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
15847 @endif release
15849 .PHONY: check-release maybe-check-release
15850 maybe-check-release:
15851 @if release
15852 maybe-check-release: check-release
15854 check-release:
15856 @endif release
15858 .PHONY: install-release maybe-install-release
15859 maybe-install-release:
15860 @if release
15861 maybe-install-release: install-release
15863 install-release:
15865 @endif release
15867 # Other targets (info, dvi, etc.)
15869 .PHONY: maybe-info-release info-release
15870 maybe-info-release:
15871 @if release
15872 maybe-info-release: info-release
15874 info-release: \
15875 configure-release
15876 @[ -f ./release/Makefile ] || exit 0; \
15877 r=`${PWD_COMMAND}`; export r; \
15878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15879 $(SET_LIB_PATH) \
15880 $(HOST_EXPORTS) \
15881 for flag in $(EXTRA_HOST_FLAGS) ; do \
15882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15883 done; \
15884 echo "Doing info in release" ; \
15885 (cd release && \
15886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15888 "RANLIB=$${RANLIB}" \
15889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15890 info) \
15891 || exit 1
15893 @endif release
15895 .PHONY: maybe-dvi-release dvi-release
15896 maybe-dvi-release:
15897 @if release
15898 maybe-dvi-release: dvi-release
15900 dvi-release: \
15901 configure-release
15902 @[ -f ./release/Makefile ] || exit 0; \
15903 r=`${PWD_COMMAND}`; export r; \
15904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15905 $(SET_LIB_PATH) \
15906 $(HOST_EXPORTS) \
15907 for flag in $(EXTRA_HOST_FLAGS) ; do \
15908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15909 done; \
15910 echo "Doing dvi in release" ; \
15911 (cd release && \
15912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15914 "RANLIB=$${RANLIB}" \
15915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15916 dvi) \
15917 || exit 1
15919 @endif release
15921 .PHONY: maybe-TAGS-release TAGS-release
15922 maybe-TAGS-release:
15923 @if release
15924 maybe-TAGS-release: TAGS-release
15926 TAGS-release: \
15927 configure-release
15928 @[ -f ./release/Makefile ] || exit 0; \
15929 r=`${PWD_COMMAND}`; export r; \
15930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15931 $(SET_LIB_PATH) \
15932 $(HOST_EXPORTS) \
15933 for flag in $(EXTRA_HOST_FLAGS) ; do \
15934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15935 done; \
15936 echo "Doing TAGS in release" ; \
15937 (cd release && \
15938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15940 "RANLIB=$${RANLIB}" \
15941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15942 TAGS) \
15943 || exit 1
15945 @endif release
15947 .PHONY: maybe-install-info-release install-info-release
15948 maybe-install-info-release:
15949 @if release
15950 maybe-install-info-release: install-info-release
15952 install-info-release: \
15953 configure-release \
15954 info-release
15955 @[ -f ./release/Makefile ] || exit 0; \
15956 r=`${PWD_COMMAND}`; export r; \
15957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15958 $(SET_LIB_PATH) \
15959 $(HOST_EXPORTS) \
15960 for flag in $(EXTRA_HOST_FLAGS) ; do \
15961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15962 done; \
15963 echo "Doing install-info in release" ; \
15964 (cd release && \
15965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15967 "RANLIB=$${RANLIB}" \
15968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15969 install-info) \
15970 || exit 1
15972 @endif release
15974 .PHONY: maybe-installcheck-release installcheck-release
15975 maybe-installcheck-release:
15976 @if release
15977 maybe-installcheck-release: installcheck-release
15979 installcheck-release: \
15980 configure-release
15981 @[ -f ./release/Makefile ] || exit 0; \
15982 r=`${PWD_COMMAND}`; export r; \
15983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15984 $(SET_LIB_PATH) \
15985 $(HOST_EXPORTS) \
15986 for flag in $(EXTRA_HOST_FLAGS) ; do \
15987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15988 done; \
15989 echo "Doing installcheck in release" ; \
15990 (cd release && \
15991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15993 "RANLIB=$${RANLIB}" \
15994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15995 installcheck) \
15996 || exit 1
15998 @endif release
16000 .PHONY: maybe-mostlyclean-release mostlyclean-release
16001 maybe-mostlyclean-release:
16002 @if release
16003 maybe-mostlyclean-release: mostlyclean-release
16005 mostlyclean-release:
16006 @[ -f ./release/Makefile ] || exit 0; \
16007 r=`${PWD_COMMAND}`; export r; \
16008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16009 $(SET_LIB_PATH) \
16010 $(HOST_EXPORTS) \
16011 for flag in $(EXTRA_HOST_FLAGS) ; do \
16012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16013 done; \
16014 echo "Doing mostlyclean in release" ; \
16015 (cd release && \
16016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16018 "RANLIB=$${RANLIB}" \
16019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16020 mostlyclean) \
16021 || exit 1
16023 @endif release
16025 .PHONY: maybe-clean-release clean-release
16026 maybe-clean-release:
16027 @if release
16028 maybe-clean-release: clean-release
16030 clean-release:
16031 @[ -f ./release/Makefile ] || exit 0; \
16032 r=`${PWD_COMMAND}`; export r; \
16033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16034 $(SET_LIB_PATH) \
16035 $(HOST_EXPORTS) \
16036 for flag in $(EXTRA_HOST_FLAGS) ; do \
16037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16038 done; \
16039 echo "Doing clean in release" ; \
16040 (cd release && \
16041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16043 "RANLIB=$${RANLIB}" \
16044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16045 clean) \
16046 || exit 1
16048 @endif release
16050 .PHONY: maybe-distclean-release distclean-release
16051 maybe-distclean-release:
16052 @if release
16053 maybe-distclean-release: distclean-release
16055 distclean-release:
16056 @[ -f ./release/Makefile ] || exit 0; \
16057 r=`${PWD_COMMAND}`; export r; \
16058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16059 $(SET_LIB_PATH) \
16060 $(HOST_EXPORTS) \
16061 for flag in $(EXTRA_HOST_FLAGS) ; do \
16062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16063 done; \
16064 echo "Doing distclean in release" ; \
16065 (cd release && \
16066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16068 "RANLIB=$${RANLIB}" \
16069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16070 distclean) \
16071 || exit 1
16073 @endif release
16075 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16076 maybe-maintainer-clean-release:
16077 @if release
16078 maybe-maintainer-clean-release: maintainer-clean-release
16080 maintainer-clean-release:
16081 @[ -f ./release/Makefile ] || exit 0; \
16082 r=`${PWD_COMMAND}`; export r; \
16083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16084 $(SET_LIB_PATH) \
16085 $(HOST_EXPORTS) \
16086 for flag in $(EXTRA_HOST_FLAGS) ; do \
16087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16088 done; \
16089 echo "Doing maintainer-clean in release" ; \
16090 (cd release && \
16091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16093 "RANLIB=$${RANLIB}" \
16094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16095 maintainer-clean) \
16096 || exit 1
16098 @endif release
16101 .PHONY: configure-recode maybe-configure-recode
16102 maybe-configure-recode:
16103 @if recode
16104 maybe-configure-recode: configure-recode
16105 configure-recode:
16106 @test ! -f recode/Makefile || exit 0; \
16107 [ -d recode ] || mkdir recode; \
16108 r=`${PWD_COMMAND}`; export r; \
16109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16110 $(HOST_EXPORTS) \
16111 echo Configuring in recode; \
16112 cd recode || exit 1; \
16113 case $(srcdir) in \
16114 \.) \
16115 srcdiroption="--srcdir=."; \
16116 libsrcdir=".";; \
16117 /* | [A-Za-z]:[\\/]*) \
16118 srcdiroption="--srcdir=$(srcdir)/recode"; \
16119 libsrcdir="$$s/recode";; \
16120 *) \
16121 srcdiroption="--srcdir=../$(srcdir)/recode"; \
16122 libsrcdir="$$s/recode";; \
16123 esac; \
16124 $(SHELL) $${libsrcdir}/configure \
16125 $(HOST_CONFIGARGS) $${srcdiroption} \
16126 || exit 1
16127 @endif recode
16129 .PHONY: all-recode maybe-all-recode
16130 maybe-all-recode:
16131 @if recode
16132 maybe-all-recode: all-recode
16133 all-recode: configure-recode
16134 @r=`${PWD_COMMAND}`; export r; \
16135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16136 $(SET_LIB_PATH) \
16137 $(HOST_EXPORTS) \
16138 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
16139 @endif recode
16141 .PHONY: check-recode maybe-check-recode
16142 maybe-check-recode:
16143 @if recode
16144 maybe-check-recode: check-recode
16146 check-recode:
16147 @r=`${PWD_COMMAND}`; export r; \
16148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16149 $(SET_LIB_PATH) \
16150 $(HOST_EXPORTS) \
16151 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
16153 @endif recode
16155 .PHONY: install-recode maybe-install-recode
16156 maybe-install-recode:
16157 @if recode
16158 maybe-install-recode: install-recode
16160 install-recode: installdirs
16161 @r=`${PWD_COMMAND}`; export r; \
16162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16163 $(SET_LIB_PATH) \
16164 $(HOST_EXPORTS) \
16165 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
16167 @endif recode
16169 # Other targets (info, dvi, etc.)
16171 .PHONY: maybe-info-recode info-recode
16172 maybe-info-recode:
16173 @if recode
16174 maybe-info-recode: info-recode
16176 info-recode: \
16177 configure-recode
16178 @[ -f ./recode/Makefile ] || exit 0; \
16179 r=`${PWD_COMMAND}`; export r; \
16180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16181 $(SET_LIB_PATH) \
16182 $(HOST_EXPORTS) \
16183 for flag in $(EXTRA_HOST_FLAGS) ; do \
16184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16185 done; \
16186 echo "Doing info in recode" ; \
16187 (cd recode && \
16188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16190 "RANLIB=$${RANLIB}" \
16191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16192 info) \
16193 || exit 1
16195 @endif recode
16197 .PHONY: maybe-dvi-recode dvi-recode
16198 maybe-dvi-recode:
16199 @if recode
16200 maybe-dvi-recode: dvi-recode
16202 dvi-recode: \
16203 configure-recode
16204 @[ -f ./recode/Makefile ] || exit 0; \
16205 r=`${PWD_COMMAND}`; export r; \
16206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16207 $(SET_LIB_PATH) \
16208 $(HOST_EXPORTS) \
16209 for flag in $(EXTRA_HOST_FLAGS) ; do \
16210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16211 done; \
16212 echo "Doing dvi in recode" ; \
16213 (cd recode && \
16214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16216 "RANLIB=$${RANLIB}" \
16217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16218 dvi) \
16219 || exit 1
16221 @endif recode
16223 .PHONY: maybe-TAGS-recode TAGS-recode
16224 maybe-TAGS-recode:
16225 @if recode
16226 maybe-TAGS-recode: TAGS-recode
16228 TAGS-recode: \
16229 configure-recode
16230 @[ -f ./recode/Makefile ] || exit 0; \
16231 r=`${PWD_COMMAND}`; export r; \
16232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16233 $(SET_LIB_PATH) \
16234 $(HOST_EXPORTS) \
16235 for flag in $(EXTRA_HOST_FLAGS) ; do \
16236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16237 done; \
16238 echo "Doing TAGS in recode" ; \
16239 (cd recode && \
16240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16242 "RANLIB=$${RANLIB}" \
16243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16244 TAGS) \
16245 || exit 1
16247 @endif recode
16249 .PHONY: maybe-install-info-recode install-info-recode
16250 maybe-install-info-recode:
16251 @if recode
16252 maybe-install-info-recode: install-info-recode
16254 install-info-recode: \
16255 configure-recode \
16256 info-recode
16257 @[ -f ./recode/Makefile ] || exit 0; \
16258 r=`${PWD_COMMAND}`; export r; \
16259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16260 $(SET_LIB_PATH) \
16261 $(HOST_EXPORTS) \
16262 for flag in $(EXTRA_HOST_FLAGS) ; do \
16263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16264 done; \
16265 echo "Doing install-info in recode" ; \
16266 (cd recode && \
16267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16269 "RANLIB=$${RANLIB}" \
16270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16271 install-info) \
16272 || exit 1
16274 @endif recode
16276 .PHONY: maybe-installcheck-recode installcheck-recode
16277 maybe-installcheck-recode:
16278 @if recode
16279 maybe-installcheck-recode: installcheck-recode
16281 installcheck-recode: \
16282 configure-recode
16283 @[ -f ./recode/Makefile ] || exit 0; \
16284 r=`${PWD_COMMAND}`; export r; \
16285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16286 $(SET_LIB_PATH) \
16287 $(HOST_EXPORTS) \
16288 for flag in $(EXTRA_HOST_FLAGS) ; do \
16289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16290 done; \
16291 echo "Doing installcheck in recode" ; \
16292 (cd recode && \
16293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16295 "RANLIB=$${RANLIB}" \
16296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16297 installcheck) \
16298 || exit 1
16300 @endif recode
16302 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
16303 maybe-mostlyclean-recode:
16304 @if recode
16305 maybe-mostlyclean-recode: mostlyclean-recode
16307 mostlyclean-recode:
16308 @[ -f ./recode/Makefile ] || exit 0; \
16309 r=`${PWD_COMMAND}`; export r; \
16310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16311 $(SET_LIB_PATH) \
16312 $(HOST_EXPORTS) \
16313 for flag in $(EXTRA_HOST_FLAGS) ; do \
16314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16315 done; \
16316 echo "Doing mostlyclean in recode" ; \
16317 (cd recode && \
16318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16320 "RANLIB=$${RANLIB}" \
16321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16322 mostlyclean) \
16323 || exit 1
16325 @endif recode
16327 .PHONY: maybe-clean-recode clean-recode
16328 maybe-clean-recode:
16329 @if recode
16330 maybe-clean-recode: clean-recode
16332 clean-recode:
16333 @[ -f ./recode/Makefile ] || exit 0; \
16334 r=`${PWD_COMMAND}`; export r; \
16335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16336 $(SET_LIB_PATH) \
16337 $(HOST_EXPORTS) \
16338 for flag in $(EXTRA_HOST_FLAGS) ; do \
16339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16340 done; \
16341 echo "Doing clean in recode" ; \
16342 (cd recode && \
16343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16345 "RANLIB=$${RANLIB}" \
16346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16347 clean) \
16348 || exit 1
16350 @endif recode
16352 .PHONY: maybe-distclean-recode distclean-recode
16353 maybe-distclean-recode:
16354 @if recode
16355 maybe-distclean-recode: distclean-recode
16357 distclean-recode:
16358 @[ -f ./recode/Makefile ] || exit 0; \
16359 r=`${PWD_COMMAND}`; export r; \
16360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16361 $(SET_LIB_PATH) \
16362 $(HOST_EXPORTS) \
16363 for flag in $(EXTRA_HOST_FLAGS) ; do \
16364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16365 done; \
16366 echo "Doing distclean in recode" ; \
16367 (cd recode && \
16368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16370 "RANLIB=$${RANLIB}" \
16371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16372 distclean) \
16373 || exit 1
16375 @endif recode
16377 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16378 maybe-maintainer-clean-recode:
16379 @if recode
16380 maybe-maintainer-clean-recode: maintainer-clean-recode
16382 maintainer-clean-recode:
16383 @[ -f ./recode/Makefile ] || exit 0; \
16384 r=`${PWD_COMMAND}`; export r; \
16385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16386 $(SET_LIB_PATH) \
16387 $(HOST_EXPORTS) \
16388 for flag in $(EXTRA_HOST_FLAGS) ; do \
16389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16390 done; \
16391 echo "Doing maintainer-clean in recode" ; \
16392 (cd recode && \
16393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16395 "RANLIB=$${RANLIB}" \
16396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16397 maintainer-clean) \
16398 || exit 1
16400 @endif recode
16403 .PHONY: configure-sed maybe-configure-sed
16404 maybe-configure-sed:
16405 @if sed
16406 maybe-configure-sed: configure-sed
16407 configure-sed:
16408 @test ! -f sed/Makefile || exit 0; \
16409 [ -d sed ] || mkdir sed; \
16410 r=`${PWD_COMMAND}`; export r; \
16411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16412 $(HOST_EXPORTS) \
16413 echo Configuring in sed; \
16414 cd sed || exit 1; \
16415 case $(srcdir) in \
16416 \.) \
16417 srcdiroption="--srcdir=."; \
16418 libsrcdir=".";; \
16419 /* | [A-Za-z]:[\\/]*) \
16420 srcdiroption="--srcdir=$(srcdir)/sed"; \
16421 libsrcdir="$$s/sed";; \
16422 *) \
16423 srcdiroption="--srcdir=../$(srcdir)/sed"; \
16424 libsrcdir="$$s/sed";; \
16425 esac; \
16426 $(SHELL) $${libsrcdir}/configure \
16427 $(HOST_CONFIGARGS) $${srcdiroption} \
16428 || exit 1
16429 @endif sed
16431 .PHONY: all-sed maybe-all-sed
16432 maybe-all-sed:
16433 @if sed
16434 maybe-all-sed: all-sed
16435 all-sed: configure-sed
16436 @r=`${PWD_COMMAND}`; export r; \
16437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16438 $(SET_LIB_PATH) \
16439 $(HOST_EXPORTS) \
16440 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
16441 @endif sed
16443 .PHONY: check-sed maybe-check-sed
16444 maybe-check-sed:
16445 @if sed
16446 maybe-check-sed: check-sed
16448 check-sed:
16449 @r=`${PWD_COMMAND}`; export r; \
16450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16451 $(SET_LIB_PATH) \
16452 $(HOST_EXPORTS) \
16453 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16455 @endif sed
16457 .PHONY: install-sed maybe-install-sed
16458 maybe-install-sed:
16459 @if sed
16460 maybe-install-sed: install-sed
16462 install-sed: installdirs
16463 @r=`${PWD_COMMAND}`; export r; \
16464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16465 $(SET_LIB_PATH) \
16466 $(HOST_EXPORTS) \
16467 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16469 @endif sed
16471 # Other targets (info, dvi, etc.)
16473 .PHONY: maybe-info-sed info-sed
16474 maybe-info-sed:
16475 @if sed
16476 maybe-info-sed: info-sed
16478 info-sed: \
16479 configure-sed
16480 @[ -f ./sed/Makefile ] || exit 0; \
16481 r=`${PWD_COMMAND}`; export r; \
16482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16483 $(SET_LIB_PATH) \
16484 $(HOST_EXPORTS) \
16485 for flag in $(EXTRA_HOST_FLAGS) ; do \
16486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16487 done; \
16488 echo "Doing info in sed" ; \
16489 (cd sed && \
16490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16492 "RANLIB=$${RANLIB}" \
16493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16494 info) \
16495 || exit 1
16497 @endif sed
16499 .PHONY: maybe-dvi-sed dvi-sed
16500 maybe-dvi-sed:
16501 @if sed
16502 maybe-dvi-sed: dvi-sed
16504 dvi-sed: \
16505 configure-sed
16506 @[ -f ./sed/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 dvi in sed" ; \
16515 (cd sed && \
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 dvi) \
16521 || exit 1
16523 @endif sed
16525 .PHONY: maybe-TAGS-sed TAGS-sed
16526 maybe-TAGS-sed:
16527 @if sed
16528 maybe-TAGS-sed: TAGS-sed
16530 TAGS-sed: \
16531 configure-sed
16532 @[ -f ./sed/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 TAGS in sed" ; \
16541 (cd sed && \
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 TAGS) \
16547 || exit 1
16549 @endif sed
16551 .PHONY: maybe-install-info-sed install-info-sed
16552 maybe-install-info-sed:
16553 @if sed
16554 maybe-install-info-sed: install-info-sed
16556 install-info-sed: \
16557 configure-sed \
16558 info-sed
16559 @[ -f ./sed/Makefile ] || exit 0; \
16560 r=`${PWD_COMMAND}`; export r; \
16561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16562 $(SET_LIB_PATH) \
16563 $(HOST_EXPORTS) \
16564 for flag in $(EXTRA_HOST_FLAGS) ; do \
16565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16566 done; \
16567 echo "Doing install-info in sed" ; \
16568 (cd sed && \
16569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16571 "RANLIB=$${RANLIB}" \
16572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16573 install-info) \
16574 || exit 1
16576 @endif sed
16578 .PHONY: maybe-installcheck-sed installcheck-sed
16579 maybe-installcheck-sed:
16580 @if sed
16581 maybe-installcheck-sed: installcheck-sed
16583 installcheck-sed: \
16584 configure-sed
16585 @[ -f ./sed/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 installcheck in sed" ; \
16594 (cd sed && \
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 installcheck) \
16600 || exit 1
16602 @endif sed
16604 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16605 maybe-mostlyclean-sed:
16606 @if sed
16607 maybe-mostlyclean-sed: mostlyclean-sed
16609 mostlyclean-sed:
16610 @[ -f ./sed/Makefile ] || exit 0; \
16611 r=`${PWD_COMMAND}`; export r; \
16612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16613 $(SET_LIB_PATH) \
16614 $(HOST_EXPORTS) \
16615 for flag in $(EXTRA_HOST_FLAGS) ; do \
16616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16617 done; \
16618 echo "Doing mostlyclean in sed" ; \
16619 (cd sed && \
16620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16622 "RANLIB=$${RANLIB}" \
16623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16624 mostlyclean) \
16625 || exit 1
16627 @endif sed
16629 .PHONY: maybe-clean-sed clean-sed
16630 maybe-clean-sed:
16631 @if sed
16632 maybe-clean-sed: clean-sed
16634 clean-sed:
16635 @[ -f ./sed/Makefile ] || exit 0; \
16636 r=`${PWD_COMMAND}`; export r; \
16637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16638 $(SET_LIB_PATH) \
16639 $(HOST_EXPORTS) \
16640 for flag in $(EXTRA_HOST_FLAGS) ; do \
16641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16642 done; \
16643 echo "Doing clean in sed" ; \
16644 (cd sed && \
16645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16647 "RANLIB=$${RANLIB}" \
16648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16649 clean) \
16650 || exit 1
16652 @endif sed
16654 .PHONY: maybe-distclean-sed distclean-sed
16655 maybe-distclean-sed:
16656 @if sed
16657 maybe-distclean-sed: distclean-sed
16659 distclean-sed:
16660 @[ -f ./sed/Makefile ] || exit 0; \
16661 r=`${PWD_COMMAND}`; export r; \
16662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16663 $(SET_LIB_PATH) \
16664 $(HOST_EXPORTS) \
16665 for flag in $(EXTRA_HOST_FLAGS) ; do \
16666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16667 done; \
16668 echo "Doing distclean in sed" ; \
16669 (cd sed && \
16670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16672 "RANLIB=$${RANLIB}" \
16673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16674 distclean) \
16675 || exit 1
16677 @endif sed
16679 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16680 maybe-maintainer-clean-sed:
16681 @if sed
16682 maybe-maintainer-clean-sed: maintainer-clean-sed
16684 maintainer-clean-sed:
16685 @[ -f ./sed/Makefile ] || exit 0; \
16686 r=`${PWD_COMMAND}`; export r; \
16687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16688 $(SET_LIB_PATH) \
16689 $(HOST_EXPORTS) \
16690 for flag in $(EXTRA_HOST_FLAGS) ; do \
16691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16692 done; \
16693 echo "Doing maintainer-clean in sed" ; \
16694 (cd sed && \
16695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16697 "RANLIB=$${RANLIB}" \
16698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16699 maintainer-clean) \
16700 || exit 1
16702 @endif sed
16705 .PHONY: configure-send-pr maybe-configure-send-pr
16706 maybe-configure-send-pr:
16707 @if send-pr
16708 maybe-configure-send-pr: configure-send-pr
16709 configure-send-pr:
16710 @test ! -f send-pr/Makefile || exit 0; \
16711 [ -d send-pr ] || mkdir send-pr; \
16712 r=`${PWD_COMMAND}`; export r; \
16713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16714 $(HOST_EXPORTS) \
16715 echo Configuring in send-pr; \
16716 cd send-pr || exit 1; \
16717 case $(srcdir) in \
16718 \.) \
16719 srcdiroption="--srcdir=."; \
16720 libsrcdir=".";; \
16721 /* | [A-Za-z]:[\\/]*) \
16722 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
16723 libsrcdir="$$s/send-pr";; \
16724 *) \
16725 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
16726 libsrcdir="$$s/send-pr";; \
16727 esac; \
16728 $(SHELL) $${libsrcdir}/configure \
16729 $(HOST_CONFIGARGS) $${srcdiroption} \
16730 || exit 1
16731 @endif send-pr
16733 .PHONY: all-send-pr maybe-all-send-pr
16734 maybe-all-send-pr:
16735 @if send-pr
16736 maybe-all-send-pr: all-send-pr
16737 all-send-pr: configure-send-pr
16738 @r=`${PWD_COMMAND}`; export r; \
16739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16740 $(SET_LIB_PATH) \
16741 $(HOST_EXPORTS) \
16742 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
16743 @endif send-pr
16745 .PHONY: check-send-pr maybe-check-send-pr
16746 maybe-check-send-pr:
16747 @if send-pr
16748 maybe-check-send-pr: check-send-pr
16750 check-send-pr:
16751 @r=`${PWD_COMMAND}`; export r; \
16752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16753 $(SET_LIB_PATH) \
16754 $(HOST_EXPORTS) \
16755 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
16757 @endif send-pr
16759 .PHONY: install-send-pr maybe-install-send-pr
16760 maybe-install-send-pr:
16761 @if send-pr
16762 maybe-install-send-pr: install-send-pr
16764 install-send-pr: installdirs
16765 @r=`${PWD_COMMAND}`; export r; \
16766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16767 $(SET_LIB_PATH) \
16768 $(HOST_EXPORTS) \
16769 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
16771 @endif send-pr
16773 # Other targets (info, dvi, etc.)
16775 .PHONY: maybe-info-send-pr info-send-pr
16776 maybe-info-send-pr:
16777 @if send-pr
16778 maybe-info-send-pr: info-send-pr
16780 info-send-pr: \
16781 configure-send-pr
16782 @[ -f ./send-pr/Makefile ] || exit 0; \
16783 r=`${PWD_COMMAND}`; export r; \
16784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16785 $(SET_LIB_PATH) \
16786 $(HOST_EXPORTS) \
16787 for flag in $(EXTRA_HOST_FLAGS) ; do \
16788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16789 done; \
16790 echo "Doing info in send-pr" ; \
16791 (cd send-pr && \
16792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16794 "RANLIB=$${RANLIB}" \
16795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16796 info) \
16797 || exit 1
16799 @endif send-pr
16801 .PHONY: maybe-dvi-send-pr dvi-send-pr
16802 maybe-dvi-send-pr:
16803 @if send-pr
16804 maybe-dvi-send-pr: dvi-send-pr
16806 dvi-send-pr: \
16807 configure-send-pr
16808 @[ -f ./send-pr/Makefile ] || exit 0; \
16809 r=`${PWD_COMMAND}`; export r; \
16810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16811 $(SET_LIB_PATH) \
16812 $(HOST_EXPORTS) \
16813 for flag in $(EXTRA_HOST_FLAGS) ; do \
16814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16815 done; \
16816 echo "Doing dvi in send-pr" ; \
16817 (cd send-pr && \
16818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16820 "RANLIB=$${RANLIB}" \
16821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16822 dvi) \
16823 || exit 1
16825 @endif send-pr
16827 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
16828 maybe-TAGS-send-pr:
16829 @if send-pr
16830 maybe-TAGS-send-pr: TAGS-send-pr
16832 TAGS-send-pr: \
16833 configure-send-pr
16834 @[ -f ./send-pr/Makefile ] || exit 0; \
16835 r=`${PWD_COMMAND}`; export r; \
16836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16837 $(SET_LIB_PATH) \
16838 $(HOST_EXPORTS) \
16839 for flag in $(EXTRA_HOST_FLAGS) ; do \
16840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16841 done; \
16842 echo "Doing TAGS in send-pr" ; \
16843 (cd send-pr && \
16844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16846 "RANLIB=$${RANLIB}" \
16847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16848 TAGS) \
16849 || exit 1
16851 @endif send-pr
16853 .PHONY: maybe-install-info-send-pr install-info-send-pr
16854 maybe-install-info-send-pr:
16855 @if send-pr
16856 maybe-install-info-send-pr: install-info-send-pr
16858 install-info-send-pr: \
16859 configure-send-pr \
16860 info-send-pr
16861 @[ -f ./send-pr/Makefile ] || exit 0; \
16862 r=`${PWD_COMMAND}`; export r; \
16863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16864 $(SET_LIB_PATH) \
16865 $(HOST_EXPORTS) \
16866 for flag in $(EXTRA_HOST_FLAGS) ; do \
16867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16868 done; \
16869 echo "Doing install-info in send-pr" ; \
16870 (cd send-pr && \
16871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16873 "RANLIB=$${RANLIB}" \
16874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16875 install-info) \
16876 || exit 1
16878 @endif send-pr
16880 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
16881 maybe-installcheck-send-pr:
16882 @if send-pr
16883 maybe-installcheck-send-pr: installcheck-send-pr
16885 installcheck-send-pr: \
16886 configure-send-pr
16887 @[ -f ./send-pr/Makefile ] || exit 0; \
16888 r=`${PWD_COMMAND}`; export r; \
16889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16890 $(SET_LIB_PATH) \
16891 $(HOST_EXPORTS) \
16892 for flag in $(EXTRA_HOST_FLAGS) ; do \
16893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16894 done; \
16895 echo "Doing installcheck in send-pr" ; \
16896 (cd send-pr && \
16897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16899 "RANLIB=$${RANLIB}" \
16900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16901 installcheck) \
16902 || exit 1
16904 @endif send-pr
16906 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
16907 maybe-mostlyclean-send-pr:
16908 @if send-pr
16909 maybe-mostlyclean-send-pr: mostlyclean-send-pr
16911 mostlyclean-send-pr:
16912 @[ -f ./send-pr/Makefile ] || exit 0; \
16913 r=`${PWD_COMMAND}`; export r; \
16914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16915 $(SET_LIB_PATH) \
16916 $(HOST_EXPORTS) \
16917 for flag in $(EXTRA_HOST_FLAGS) ; do \
16918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16919 done; \
16920 echo "Doing mostlyclean in send-pr" ; \
16921 (cd send-pr && \
16922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16924 "RANLIB=$${RANLIB}" \
16925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16926 mostlyclean) \
16927 || exit 1
16929 @endif send-pr
16931 .PHONY: maybe-clean-send-pr clean-send-pr
16932 maybe-clean-send-pr:
16933 @if send-pr
16934 maybe-clean-send-pr: clean-send-pr
16936 clean-send-pr:
16937 @[ -f ./send-pr/Makefile ] || exit 0; \
16938 r=`${PWD_COMMAND}`; export r; \
16939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16940 $(SET_LIB_PATH) \
16941 $(HOST_EXPORTS) \
16942 for flag in $(EXTRA_HOST_FLAGS) ; do \
16943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16944 done; \
16945 echo "Doing clean in send-pr" ; \
16946 (cd send-pr && \
16947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16949 "RANLIB=$${RANLIB}" \
16950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16951 clean) \
16952 || exit 1
16954 @endif send-pr
16956 .PHONY: maybe-distclean-send-pr distclean-send-pr
16957 maybe-distclean-send-pr:
16958 @if send-pr
16959 maybe-distclean-send-pr: distclean-send-pr
16961 distclean-send-pr:
16962 @[ -f ./send-pr/Makefile ] || exit 0; \
16963 r=`${PWD_COMMAND}`; export r; \
16964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16965 $(SET_LIB_PATH) \
16966 $(HOST_EXPORTS) \
16967 for flag in $(EXTRA_HOST_FLAGS) ; do \
16968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16969 done; \
16970 echo "Doing distclean in send-pr" ; \
16971 (cd send-pr && \
16972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16974 "RANLIB=$${RANLIB}" \
16975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16976 distclean) \
16977 || exit 1
16979 @endif send-pr
16981 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16982 maybe-maintainer-clean-send-pr:
16983 @if send-pr
16984 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
16986 maintainer-clean-send-pr:
16987 @[ -f ./send-pr/Makefile ] || exit 0; \
16988 r=`${PWD_COMMAND}`; export r; \
16989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16990 $(SET_LIB_PATH) \
16991 $(HOST_EXPORTS) \
16992 for flag in $(EXTRA_HOST_FLAGS) ; do \
16993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16994 done; \
16995 echo "Doing maintainer-clean in send-pr" ; \
16996 (cd send-pr && \
16997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16999 "RANLIB=$${RANLIB}" \
17000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17001 maintainer-clean) \
17002 || exit 1
17004 @endif send-pr
17007 .PHONY: configure-shellutils maybe-configure-shellutils
17008 maybe-configure-shellutils:
17009 @if shellutils
17010 maybe-configure-shellutils: configure-shellutils
17011 configure-shellutils:
17012 @test ! -f shellutils/Makefile || exit 0; \
17013 [ -d shellutils ] || mkdir shellutils; \
17014 r=`${PWD_COMMAND}`; export r; \
17015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17016 $(HOST_EXPORTS) \
17017 echo Configuring in shellutils; \
17018 cd shellutils || exit 1; \
17019 case $(srcdir) in \
17020 \.) \
17021 srcdiroption="--srcdir=."; \
17022 libsrcdir=".";; \
17023 /* | [A-Za-z]:[\\/]*) \
17024 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
17025 libsrcdir="$$s/shellutils";; \
17026 *) \
17027 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
17028 libsrcdir="$$s/shellutils";; \
17029 esac; \
17030 $(SHELL) $${libsrcdir}/configure \
17031 $(HOST_CONFIGARGS) $${srcdiroption} \
17032 || exit 1
17033 @endif shellutils
17035 .PHONY: all-shellutils maybe-all-shellutils
17036 maybe-all-shellutils:
17037 @if shellutils
17038 maybe-all-shellutils: all-shellutils
17039 all-shellutils: configure-shellutils
17040 @r=`${PWD_COMMAND}`; export r; \
17041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17042 $(SET_LIB_PATH) \
17043 $(HOST_EXPORTS) \
17044 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
17045 @endif shellutils
17047 .PHONY: check-shellutils maybe-check-shellutils
17048 maybe-check-shellutils:
17049 @if shellutils
17050 maybe-check-shellutils: check-shellutils
17052 check-shellutils:
17053 @r=`${PWD_COMMAND}`; export r; \
17054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17055 $(SET_LIB_PATH) \
17056 $(HOST_EXPORTS) \
17057 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
17059 @endif shellutils
17061 .PHONY: install-shellutils maybe-install-shellutils
17062 maybe-install-shellutils:
17063 @if shellutils
17064 maybe-install-shellutils: install-shellutils
17066 install-shellutils: installdirs
17067 @r=`${PWD_COMMAND}`; export r; \
17068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17069 $(SET_LIB_PATH) \
17070 $(HOST_EXPORTS) \
17071 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
17073 @endif shellutils
17075 # Other targets (info, dvi, etc.)
17077 .PHONY: maybe-info-shellutils info-shellutils
17078 maybe-info-shellutils:
17079 @if shellutils
17080 maybe-info-shellutils: info-shellutils
17082 info-shellutils: \
17083 configure-shellutils
17084 @[ -f ./shellutils/Makefile ] || exit 0; \
17085 r=`${PWD_COMMAND}`; export r; \
17086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17087 $(SET_LIB_PATH) \
17088 $(HOST_EXPORTS) \
17089 for flag in $(EXTRA_HOST_FLAGS) ; do \
17090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17091 done; \
17092 echo "Doing info in shellutils" ; \
17093 (cd shellutils && \
17094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17096 "RANLIB=$${RANLIB}" \
17097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17098 info) \
17099 || exit 1
17101 @endif shellutils
17103 .PHONY: maybe-dvi-shellutils dvi-shellutils
17104 maybe-dvi-shellutils:
17105 @if shellutils
17106 maybe-dvi-shellutils: dvi-shellutils
17108 dvi-shellutils: \
17109 configure-shellutils
17110 @[ -f ./shellutils/Makefile ] || exit 0; \
17111 r=`${PWD_COMMAND}`; export r; \
17112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17113 $(SET_LIB_PATH) \
17114 $(HOST_EXPORTS) \
17115 for flag in $(EXTRA_HOST_FLAGS) ; do \
17116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17117 done; \
17118 echo "Doing dvi in shellutils" ; \
17119 (cd shellutils && \
17120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17122 "RANLIB=$${RANLIB}" \
17123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17124 dvi) \
17125 || exit 1
17127 @endif shellutils
17129 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17130 maybe-TAGS-shellutils:
17131 @if shellutils
17132 maybe-TAGS-shellutils: TAGS-shellutils
17134 TAGS-shellutils: \
17135 configure-shellutils
17136 @[ -f ./shellutils/Makefile ] || exit 0; \
17137 r=`${PWD_COMMAND}`; export r; \
17138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17139 $(SET_LIB_PATH) \
17140 $(HOST_EXPORTS) \
17141 for flag in $(EXTRA_HOST_FLAGS) ; do \
17142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17143 done; \
17144 echo "Doing TAGS in shellutils" ; \
17145 (cd shellutils && \
17146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17148 "RANLIB=$${RANLIB}" \
17149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17150 TAGS) \
17151 || exit 1
17153 @endif shellutils
17155 .PHONY: maybe-install-info-shellutils install-info-shellutils
17156 maybe-install-info-shellutils:
17157 @if shellutils
17158 maybe-install-info-shellutils: install-info-shellutils
17160 install-info-shellutils: \
17161 configure-shellutils \
17162 info-shellutils
17163 @[ -f ./shellutils/Makefile ] || exit 0; \
17164 r=`${PWD_COMMAND}`; export r; \
17165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17166 $(SET_LIB_PATH) \
17167 $(HOST_EXPORTS) \
17168 for flag in $(EXTRA_HOST_FLAGS) ; do \
17169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17170 done; \
17171 echo "Doing install-info in shellutils" ; \
17172 (cd shellutils && \
17173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17175 "RANLIB=$${RANLIB}" \
17176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17177 install-info) \
17178 || exit 1
17180 @endif shellutils
17182 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
17183 maybe-installcheck-shellutils:
17184 @if shellutils
17185 maybe-installcheck-shellutils: installcheck-shellutils
17187 installcheck-shellutils: \
17188 configure-shellutils
17189 @[ -f ./shellutils/Makefile ] || exit 0; \
17190 r=`${PWD_COMMAND}`; export r; \
17191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17192 $(SET_LIB_PATH) \
17193 $(HOST_EXPORTS) \
17194 for flag in $(EXTRA_HOST_FLAGS) ; do \
17195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17196 done; \
17197 echo "Doing installcheck in shellutils" ; \
17198 (cd shellutils && \
17199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17201 "RANLIB=$${RANLIB}" \
17202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17203 installcheck) \
17204 || exit 1
17206 @endif shellutils
17208 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
17209 maybe-mostlyclean-shellutils:
17210 @if shellutils
17211 maybe-mostlyclean-shellutils: mostlyclean-shellutils
17213 mostlyclean-shellutils:
17214 @[ -f ./shellutils/Makefile ] || exit 0; \
17215 r=`${PWD_COMMAND}`; export r; \
17216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17217 $(SET_LIB_PATH) \
17218 $(HOST_EXPORTS) \
17219 for flag in $(EXTRA_HOST_FLAGS) ; do \
17220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17221 done; \
17222 echo "Doing mostlyclean in shellutils" ; \
17223 (cd shellutils && \
17224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17226 "RANLIB=$${RANLIB}" \
17227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17228 mostlyclean) \
17229 || exit 1
17231 @endif shellutils
17233 .PHONY: maybe-clean-shellutils clean-shellutils
17234 maybe-clean-shellutils:
17235 @if shellutils
17236 maybe-clean-shellutils: clean-shellutils
17238 clean-shellutils:
17239 @[ -f ./shellutils/Makefile ] || exit 0; \
17240 r=`${PWD_COMMAND}`; export r; \
17241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17242 $(SET_LIB_PATH) \
17243 $(HOST_EXPORTS) \
17244 for flag in $(EXTRA_HOST_FLAGS) ; do \
17245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17246 done; \
17247 echo "Doing clean in shellutils" ; \
17248 (cd shellutils && \
17249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17251 "RANLIB=$${RANLIB}" \
17252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17253 clean) \
17254 || exit 1
17256 @endif shellutils
17258 .PHONY: maybe-distclean-shellutils distclean-shellutils
17259 maybe-distclean-shellutils:
17260 @if shellutils
17261 maybe-distclean-shellutils: distclean-shellutils
17263 distclean-shellutils:
17264 @[ -f ./shellutils/Makefile ] || exit 0; \
17265 r=`${PWD_COMMAND}`; export r; \
17266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17267 $(SET_LIB_PATH) \
17268 $(HOST_EXPORTS) \
17269 for flag in $(EXTRA_HOST_FLAGS) ; do \
17270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17271 done; \
17272 echo "Doing distclean in shellutils" ; \
17273 (cd shellutils && \
17274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17276 "RANLIB=$${RANLIB}" \
17277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17278 distclean) \
17279 || exit 1
17281 @endif shellutils
17283 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
17284 maybe-maintainer-clean-shellutils:
17285 @if shellutils
17286 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
17288 maintainer-clean-shellutils:
17289 @[ -f ./shellutils/Makefile ] || exit 0; \
17290 r=`${PWD_COMMAND}`; export r; \
17291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17292 $(SET_LIB_PATH) \
17293 $(HOST_EXPORTS) \
17294 for flag in $(EXTRA_HOST_FLAGS) ; do \
17295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17296 done; \
17297 echo "Doing maintainer-clean in shellutils" ; \
17298 (cd shellutils && \
17299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17301 "RANLIB=$${RANLIB}" \
17302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17303 maintainer-clean) \
17304 || exit 1
17306 @endif shellutils
17309 .PHONY: configure-sid maybe-configure-sid
17310 maybe-configure-sid:
17311 @if sid
17312 maybe-configure-sid: configure-sid
17313 configure-sid:
17314 @test ! -f sid/Makefile || exit 0; \
17315 [ -d sid ] || mkdir sid; \
17316 r=`${PWD_COMMAND}`; export r; \
17317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17318 $(HOST_EXPORTS) \
17319 echo Configuring in sid; \
17320 cd sid || exit 1; \
17321 case $(srcdir) in \
17322 \.) \
17323 srcdiroption="--srcdir=."; \
17324 libsrcdir=".";; \
17325 /* | [A-Za-z]:[\\/]*) \
17326 srcdiroption="--srcdir=$(srcdir)/sid"; \
17327 libsrcdir="$$s/sid";; \
17328 *) \
17329 srcdiroption="--srcdir=../$(srcdir)/sid"; \
17330 libsrcdir="$$s/sid";; \
17331 esac; \
17332 $(SHELL) $${libsrcdir}/configure \
17333 $(HOST_CONFIGARGS) $${srcdiroption} \
17334 || exit 1
17335 @endif sid
17337 .PHONY: all-sid maybe-all-sid
17338 maybe-all-sid:
17339 @if sid
17340 maybe-all-sid: all-sid
17341 all-sid: configure-sid
17342 @r=`${PWD_COMMAND}`; export r; \
17343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17344 $(SET_LIB_PATH) \
17345 $(HOST_EXPORTS) \
17346 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
17347 @endif sid
17349 .PHONY: check-sid maybe-check-sid
17350 maybe-check-sid:
17351 @if sid
17352 maybe-check-sid: check-sid
17354 check-sid:
17355 @r=`${PWD_COMMAND}`; export r; \
17356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17357 $(SET_LIB_PATH) \
17358 $(HOST_EXPORTS) \
17359 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
17361 @endif sid
17363 .PHONY: install-sid maybe-install-sid
17364 maybe-install-sid:
17365 @if sid
17366 maybe-install-sid: install-sid
17368 install-sid: installdirs
17369 @r=`${PWD_COMMAND}`; export r; \
17370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17371 $(SET_LIB_PATH) \
17372 $(HOST_EXPORTS) \
17373 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17375 @endif sid
17377 # Other targets (info, dvi, etc.)
17379 .PHONY: maybe-info-sid info-sid
17380 maybe-info-sid:
17381 @if sid
17382 maybe-info-sid: info-sid
17384 info-sid: \
17385 configure-sid
17386 @[ -f ./sid/Makefile ] || exit 0; \
17387 r=`${PWD_COMMAND}`; export r; \
17388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17389 $(SET_LIB_PATH) \
17390 $(HOST_EXPORTS) \
17391 for flag in $(EXTRA_HOST_FLAGS) ; do \
17392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17393 done; \
17394 echo "Doing info in sid" ; \
17395 (cd sid && \
17396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17398 "RANLIB=$${RANLIB}" \
17399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17400 info) \
17401 || exit 1
17403 @endif sid
17405 .PHONY: maybe-dvi-sid dvi-sid
17406 maybe-dvi-sid:
17407 @if sid
17408 maybe-dvi-sid: dvi-sid
17410 dvi-sid: \
17411 configure-sid
17412 @[ -f ./sid/Makefile ] || exit 0; \
17413 r=`${PWD_COMMAND}`; export r; \
17414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17415 $(SET_LIB_PATH) \
17416 $(HOST_EXPORTS) \
17417 for flag in $(EXTRA_HOST_FLAGS) ; do \
17418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17419 done; \
17420 echo "Doing dvi in sid" ; \
17421 (cd sid && \
17422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17424 "RANLIB=$${RANLIB}" \
17425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17426 dvi) \
17427 || exit 1
17429 @endif sid
17431 .PHONY: maybe-TAGS-sid TAGS-sid
17432 maybe-TAGS-sid:
17433 @if sid
17434 maybe-TAGS-sid: TAGS-sid
17436 TAGS-sid: \
17437 configure-sid
17438 @[ -f ./sid/Makefile ] || exit 0; \
17439 r=`${PWD_COMMAND}`; export r; \
17440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17441 $(SET_LIB_PATH) \
17442 $(HOST_EXPORTS) \
17443 for flag in $(EXTRA_HOST_FLAGS) ; do \
17444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17445 done; \
17446 echo "Doing TAGS in sid" ; \
17447 (cd sid && \
17448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17450 "RANLIB=$${RANLIB}" \
17451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17452 TAGS) \
17453 || exit 1
17455 @endif sid
17457 .PHONY: maybe-install-info-sid install-info-sid
17458 maybe-install-info-sid:
17459 @if sid
17460 maybe-install-info-sid: install-info-sid
17462 install-info-sid: \
17463 configure-sid \
17464 info-sid
17465 @[ -f ./sid/Makefile ] || exit 0; \
17466 r=`${PWD_COMMAND}`; export r; \
17467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17468 $(SET_LIB_PATH) \
17469 $(HOST_EXPORTS) \
17470 for flag in $(EXTRA_HOST_FLAGS) ; do \
17471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17472 done; \
17473 echo "Doing install-info in sid" ; \
17474 (cd sid && \
17475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17477 "RANLIB=$${RANLIB}" \
17478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17479 install-info) \
17480 || exit 1
17482 @endif sid
17484 .PHONY: maybe-installcheck-sid installcheck-sid
17485 maybe-installcheck-sid:
17486 @if sid
17487 maybe-installcheck-sid: installcheck-sid
17489 installcheck-sid: \
17490 configure-sid
17491 @[ -f ./sid/Makefile ] || exit 0; \
17492 r=`${PWD_COMMAND}`; export r; \
17493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17494 $(SET_LIB_PATH) \
17495 $(HOST_EXPORTS) \
17496 for flag in $(EXTRA_HOST_FLAGS) ; do \
17497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17498 done; \
17499 echo "Doing installcheck in sid" ; \
17500 (cd sid && \
17501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17503 "RANLIB=$${RANLIB}" \
17504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17505 installcheck) \
17506 || exit 1
17508 @endif sid
17510 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17511 maybe-mostlyclean-sid:
17512 @if sid
17513 maybe-mostlyclean-sid: mostlyclean-sid
17515 mostlyclean-sid:
17516 @[ -f ./sid/Makefile ] || exit 0; \
17517 r=`${PWD_COMMAND}`; export r; \
17518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17519 $(SET_LIB_PATH) \
17520 $(HOST_EXPORTS) \
17521 for flag in $(EXTRA_HOST_FLAGS) ; do \
17522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17523 done; \
17524 echo "Doing mostlyclean in sid" ; \
17525 (cd sid && \
17526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17528 "RANLIB=$${RANLIB}" \
17529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17530 mostlyclean) \
17531 || exit 1
17533 @endif sid
17535 .PHONY: maybe-clean-sid clean-sid
17536 maybe-clean-sid:
17537 @if sid
17538 maybe-clean-sid: clean-sid
17540 clean-sid:
17541 @[ -f ./sid/Makefile ] || exit 0; \
17542 r=`${PWD_COMMAND}`; export r; \
17543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17544 $(SET_LIB_PATH) \
17545 $(HOST_EXPORTS) \
17546 for flag in $(EXTRA_HOST_FLAGS) ; do \
17547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17548 done; \
17549 echo "Doing clean in sid" ; \
17550 (cd sid && \
17551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17553 "RANLIB=$${RANLIB}" \
17554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17555 clean) \
17556 || exit 1
17558 @endif sid
17560 .PHONY: maybe-distclean-sid distclean-sid
17561 maybe-distclean-sid:
17562 @if sid
17563 maybe-distclean-sid: distclean-sid
17565 distclean-sid:
17566 @[ -f ./sid/Makefile ] || exit 0; \
17567 r=`${PWD_COMMAND}`; export r; \
17568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17569 $(SET_LIB_PATH) \
17570 $(HOST_EXPORTS) \
17571 for flag in $(EXTRA_HOST_FLAGS) ; do \
17572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17573 done; \
17574 echo "Doing distclean in sid" ; \
17575 (cd sid && \
17576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17578 "RANLIB=$${RANLIB}" \
17579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17580 distclean) \
17581 || exit 1
17583 @endif sid
17585 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17586 maybe-maintainer-clean-sid:
17587 @if sid
17588 maybe-maintainer-clean-sid: maintainer-clean-sid
17590 maintainer-clean-sid:
17591 @[ -f ./sid/Makefile ] || exit 0; \
17592 r=`${PWD_COMMAND}`; export r; \
17593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17594 $(SET_LIB_PATH) \
17595 $(HOST_EXPORTS) \
17596 for flag in $(EXTRA_HOST_FLAGS) ; do \
17597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17598 done; \
17599 echo "Doing maintainer-clean in sid" ; \
17600 (cd sid && \
17601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17603 "RANLIB=$${RANLIB}" \
17604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17605 maintainer-clean) \
17606 || exit 1
17608 @endif sid
17611 .PHONY: configure-sim maybe-configure-sim
17612 maybe-configure-sim:
17613 @if sim
17614 maybe-configure-sim: configure-sim
17615 configure-sim:
17616 @test ! -f sim/Makefile || exit 0; \
17617 [ -d sim ] || mkdir sim; \
17618 r=`${PWD_COMMAND}`; export r; \
17619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17620 $(HOST_EXPORTS) \
17621 echo Configuring in sim; \
17622 cd sim || exit 1; \
17623 case $(srcdir) in \
17624 \.) \
17625 srcdiroption="--srcdir=."; \
17626 libsrcdir=".";; \
17627 /* | [A-Za-z]:[\\/]*) \
17628 srcdiroption="--srcdir=$(srcdir)/sim"; \
17629 libsrcdir="$$s/sim";; \
17630 *) \
17631 srcdiroption="--srcdir=../$(srcdir)/sim"; \
17632 libsrcdir="$$s/sim";; \
17633 esac; \
17634 $(SHELL) $${libsrcdir}/configure \
17635 $(HOST_CONFIGARGS) $${srcdiroption} \
17636 || exit 1
17637 @endif sim
17639 .PHONY: all-sim maybe-all-sim
17640 maybe-all-sim:
17641 @if sim
17642 maybe-all-sim: all-sim
17643 all-sim: configure-sim
17644 @r=`${PWD_COMMAND}`; export r; \
17645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17646 $(SET_LIB_PATH) \
17647 $(HOST_EXPORTS) \
17648 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
17649 @endif sim
17651 .PHONY: check-sim maybe-check-sim
17652 maybe-check-sim:
17653 @if sim
17654 maybe-check-sim: check-sim
17656 check-sim:
17657 @r=`${PWD_COMMAND}`; export r; \
17658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17659 $(SET_LIB_PATH) \
17660 $(HOST_EXPORTS) \
17661 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17663 @endif sim
17665 .PHONY: install-sim maybe-install-sim
17666 maybe-install-sim:
17667 @if sim
17668 maybe-install-sim: install-sim
17670 install-sim: installdirs
17671 @r=`${PWD_COMMAND}`; export r; \
17672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17673 $(SET_LIB_PATH) \
17674 $(HOST_EXPORTS) \
17675 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17677 @endif sim
17679 # Other targets (info, dvi, etc.)
17681 .PHONY: maybe-info-sim info-sim
17682 maybe-info-sim:
17683 @if sim
17684 maybe-info-sim: info-sim
17686 info-sim: \
17687 configure-sim
17688 @[ -f ./sim/Makefile ] || exit 0; \
17689 r=`${PWD_COMMAND}`; export r; \
17690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17691 $(SET_LIB_PATH) \
17692 $(HOST_EXPORTS) \
17693 for flag in $(EXTRA_HOST_FLAGS) ; do \
17694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17695 done; \
17696 echo "Doing info in sim" ; \
17697 (cd sim && \
17698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17700 "RANLIB=$${RANLIB}" \
17701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17702 info) \
17703 || exit 1
17705 @endif sim
17707 .PHONY: maybe-dvi-sim dvi-sim
17708 maybe-dvi-sim:
17709 @if sim
17710 maybe-dvi-sim: dvi-sim
17712 dvi-sim: \
17713 configure-sim
17714 @[ -f ./sim/Makefile ] || exit 0; \
17715 r=`${PWD_COMMAND}`; export r; \
17716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17717 $(SET_LIB_PATH) \
17718 $(HOST_EXPORTS) \
17719 for flag in $(EXTRA_HOST_FLAGS) ; do \
17720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17721 done; \
17722 echo "Doing dvi in sim" ; \
17723 (cd sim && \
17724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17726 "RANLIB=$${RANLIB}" \
17727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17728 dvi) \
17729 || exit 1
17731 @endif sim
17733 .PHONY: maybe-TAGS-sim TAGS-sim
17734 maybe-TAGS-sim:
17735 @if sim
17736 maybe-TAGS-sim: TAGS-sim
17738 TAGS-sim: \
17739 configure-sim
17740 @[ -f ./sim/Makefile ] || exit 0; \
17741 r=`${PWD_COMMAND}`; export r; \
17742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17743 $(SET_LIB_PATH) \
17744 $(HOST_EXPORTS) \
17745 for flag in $(EXTRA_HOST_FLAGS) ; do \
17746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17747 done; \
17748 echo "Doing TAGS in sim" ; \
17749 (cd sim && \
17750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17752 "RANLIB=$${RANLIB}" \
17753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17754 TAGS) \
17755 || exit 1
17757 @endif sim
17759 .PHONY: maybe-install-info-sim install-info-sim
17760 maybe-install-info-sim:
17761 @if sim
17762 maybe-install-info-sim: install-info-sim
17764 install-info-sim: \
17765 configure-sim \
17766 info-sim
17767 @[ -f ./sim/Makefile ] || exit 0; \
17768 r=`${PWD_COMMAND}`; export r; \
17769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17770 $(SET_LIB_PATH) \
17771 $(HOST_EXPORTS) \
17772 for flag in $(EXTRA_HOST_FLAGS) ; do \
17773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17774 done; \
17775 echo "Doing install-info in sim" ; \
17776 (cd sim && \
17777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17779 "RANLIB=$${RANLIB}" \
17780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17781 install-info) \
17782 || exit 1
17784 @endif sim
17786 .PHONY: maybe-installcheck-sim installcheck-sim
17787 maybe-installcheck-sim:
17788 @if sim
17789 maybe-installcheck-sim: installcheck-sim
17791 installcheck-sim: \
17792 configure-sim
17793 @[ -f ./sim/Makefile ] || exit 0; \
17794 r=`${PWD_COMMAND}`; export r; \
17795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17796 $(SET_LIB_PATH) \
17797 $(HOST_EXPORTS) \
17798 for flag in $(EXTRA_HOST_FLAGS) ; do \
17799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17800 done; \
17801 echo "Doing installcheck in sim" ; \
17802 (cd sim && \
17803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17805 "RANLIB=$${RANLIB}" \
17806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17807 installcheck) \
17808 || exit 1
17810 @endif sim
17812 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
17813 maybe-mostlyclean-sim:
17814 @if sim
17815 maybe-mostlyclean-sim: mostlyclean-sim
17817 mostlyclean-sim:
17818 @[ -f ./sim/Makefile ] || exit 0; \
17819 r=`${PWD_COMMAND}`; export r; \
17820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17821 $(SET_LIB_PATH) \
17822 $(HOST_EXPORTS) \
17823 for flag in $(EXTRA_HOST_FLAGS) ; do \
17824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17825 done; \
17826 echo "Doing mostlyclean in sim" ; \
17827 (cd sim && \
17828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17830 "RANLIB=$${RANLIB}" \
17831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17832 mostlyclean) \
17833 || exit 1
17835 @endif sim
17837 .PHONY: maybe-clean-sim clean-sim
17838 maybe-clean-sim:
17839 @if sim
17840 maybe-clean-sim: clean-sim
17842 clean-sim:
17843 @[ -f ./sim/Makefile ] || exit 0; \
17844 r=`${PWD_COMMAND}`; export r; \
17845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17846 $(SET_LIB_PATH) \
17847 $(HOST_EXPORTS) \
17848 for flag in $(EXTRA_HOST_FLAGS) ; do \
17849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17850 done; \
17851 echo "Doing clean in sim" ; \
17852 (cd sim && \
17853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17855 "RANLIB=$${RANLIB}" \
17856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17857 clean) \
17858 || exit 1
17860 @endif sim
17862 .PHONY: maybe-distclean-sim distclean-sim
17863 maybe-distclean-sim:
17864 @if sim
17865 maybe-distclean-sim: distclean-sim
17867 distclean-sim:
17868 @[ -f ./sim/Makefile ] || exit 0; \
17869 r=`${PWD_COMMAND}`; export r; \
17870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17871 $(SET_LIB_PATH) \
17872 $(HOST_EXPORTS) \
17873 for flag in $(EXTRA_HOST_FLAGS) ; do \
17874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17875 done; \
17876 echo "Doing distclean in sim" ; \
17877 (cd sim && \
17878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17880 "RANLIB=$${RANLIB}" \
17881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17882 distclean) \
17883 || exit 1
17885 @endif sim
17887 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
17888 maybe-maintainer-clean-sim:
17889 @if sim
17890 maybe-maintainer-clean-sim: maintainer-clean-sim
17892 maintainer-clean-sim:
17893 @[ -f ./sim/Makefile ] || exit 0; \
17894 r=`${PWD_COMMAND}`; export r; \
17895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17896 $(SET_LIB_PATH) \
17897 $(HOST_EXPORTS) \
17898 for flag in $(EXTRA_HOST_FLAGS) ; do \
17899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17900 done; \
17901 echo "Doing maintainer-clean in sim" ; \
17902 (cd sim && \
17903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17905 "RANLIB=$${RANLIB}" \
17906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17907 maintainer-clean) \
17908 || exit 1
17910 @endif sim
17913 .PHONY: configure-tar maybe-configure-tar
17914 maybe-configure-tar:
17915 @if tar
17916 maybe-configure-tar: configure-tar
17917 configure-tar:
17918 @test ! -f tar/Makefile || exit 0; \
17919 [ -d tar ] || mkdir tar; \
17920 r=`${PWD_COMMAND}`; export r; \
17921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17922 $(HOST_EXPORTS) \
17923 echo Configuring in tar; \
17924 cd tar || exit 1; \
17925 case $(srcdir) in \
17926 \.) \
17927 srcdiroption="--srcdir=."; \
17928 libsrcdir=".";; \
17929 /* | [A-Za-z]:[\\/]*) \
17930 srcdiroption="--srcdir=$(srcdir)/tar"; \
17931 libsrcdir="$$s/tar";; \
17932 *) \
17933 srcdiroption="--srcdir=../$(srcdir)/tar"; \
17934 libsrcdir="$$s/tar";; \
17935 esac; \
17936 $(SHELL) $${libsrcdir}/configure \
17937 $(HOST_CONFIGARGS) $${srcdiroption} \
17938 || exit 1
17939 @endif tar
17941 .PHONY: all-tar maybe-all-tar
17942 maybe-all-tar:
17943 @if tar
17944 maybe-all-tar: all-tar
17945 all-tar: configure-tar
17946 @r=`${PWD_COMMAND}`; export r; \
17947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17948 $(SET_LIB_PATH) \
17949 $(HOST_EXPORTS) \
17950 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
17951 @endif tar
17953 .PHONY: check-tar maybe-check-tar
17954 maybe-check-tar:
17955 @if tar
17956 maybe-check-tar: check-tar
17958 check-tar:
17959 @r=`${PWD_COMMAND}`; export r; \
17960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17961 $(SET_LIB_PATH) \
17962 $(HOST_EXPORTS) \
17963 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
17965 @endif tar
17967 .PHONY: install-tar maybe-install-tar
17968 maybe-install-tar:
17969 @if tar
17970 maybe-install-tar: install-tar
17972 install-tar: installdirs
17973 @r=`${PWD_COMMAND}`; export r; \
17974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17975 $(SET_LIB_PATH) \
17976 $(HOST_EXPORTS) \
17977 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
17979 @endif tar
17981 # Other targets (info, dvi, etc.)
17983 .PHONY: maybe-info-tar info-tar
17984 maybe-info-tar:
17985 @if tar
17986 maybe-info-tar: info-tar
17988 info-tar: \
17989 configure-tar
17990 @[ -f ./tar/Makefile ] || exit 0; \
17991 r=`${PWD_COMMAND}`; export r; \
17992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17993 $(SET_LIB_PATH) \
17994 $(HOST_EXPORTS) \
17995 for flag in $(EXTRA_HOST_FLAGS) ; do \
17996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17997 done; \
17998 echo "Doing info in tar" ; \
17999 (cd tar && \
18000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18002 "RANLIB=$${RANLIB}" \
18003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18004 info) \
18005 || exit 1
18007 @endif tar
18009 .PHONY: maybe-dvi-tar dvi-tar
18010 maybe-dvi-tar:
18011 @if tar
18012 maybe-dvi-tar: dvi-tar
18014 dvi-tar: \
18015 configure-tar
18016 @[ -f ./tar/Makefile ] || exit 0; \
18017 r=`${PWD_COMMAND}`; export r; \
18018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18019 $(SET_LIB_PATH) \
18020 $(HOST_EXPORTS) \
18021 for flag in $(EXTRA_HOST_FLAGS) ; do \
18022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18023 done; \
18024 echo "Doing dvi in tar" ; \
18025 (cd tar && \
18026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18028 "RANLIB=$${RANLIB}" \
18029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18030 dvi) \
18031 || exit 1
18033 @endif tar
18035 .PHONY: maybe-TAGS-tar TAGS-tar
18036 maybe-TAGS-tar:
18037 @if tar
18038 maybe-TAGS-tar: TAGS-tar
18040 TAGS-tar: \
18041 configure-tar
18042 @[ -f ./tar/Makefile ] || exit 0; \
18043 r=`${PWD_COMMAND}`; export r; \
18044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18045 $(SET_LIB_PATH) \
18046 $(HOST_EXPORTS) \
18047 for flag in $(EXTRA_HOST_FLAGS) ; do \
18048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18049 done; \
18050 echo "Doing TAGS in tar" ; \
18051 (cd tar && \
18052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18054 "RANLIB=$${RANLIB}" \
18055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18056 TAGS) \
18057 || exit 1
18059 @endif tar
18061 .PHONY: maybe-install-info-tar install-info-tar
18062 maybe-install-info-tar:
18063 @if tar
18064 maybe-install-info-tar: install-info-tar
18066 install-info-tar: \
18067 configure-tar \
18068 info-tar
18069 @[ -f ./tar/Makefile ] || exit 0; \
18070 r=`${PWD_COMMAND}`; export r; \
18071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18072 $(SET_LIB_PATH) \
18073 $(HOST_EXPORTS) \
18074 for flag in $(EXTRA_HOST_FLAGS) ; do \
18075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18076 done; \
18077 echo "Doing install-info in tar" ; \
18078 (cd tar && \
18079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18081 "RANLIB=$${RANLIB}" \
18082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18083 install-info) \
18084 || exit 1
18086 @endif tar
18088 .PHONY: maybe-installcheck-tar installcheck-tar
18089 maybe-installcheck-tar:
18090 @if tar
18091 maybe-installcheck-tar: installcheck-tar
18093 installcheck-tar: \
18094 configure-tar
18095 @[ -f ./tar/Makefile ] || exit 0; \
18096 r=`${PWD_COMMAND}`; export r; \
18097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18098 $(SET_LIB_PATH) \
18099 $(HOST_EXPORTS) \
18100 for flag in $(EXTRA_HOST_FLAGS) ; do \
18101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18102 done; \
18103 echo "Doing installcheck in tar" ; \
18104 (cd tar && \
18105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18107 "RANLIB=$${RANLIB}" \
18108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18109 installcheck) \
18110 || exit 1
18112 @endif tar
18114 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18115 maybe-mostlyclean-tar:
18116 @if tar
18117 maybe-mostlyclean-tar: mostlyclean-tar
18119 mostlyclean-tar:
18120 @[ -f ./tar/Makefile ] || exit 0; \
18121 r=`${PWD_COMMAND}`; export r; \
18122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18123 $(SET_LIB_PATH) \
18124 $(HOST_EXPORTS) \
18125 for flag in $(EXTRA_HOST_FLAGS) ; do \
18126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18127 done; \
18128 echo "Doing mostlyclean in tar" ; \
18129 (cd tar && \
18130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18132 "RANLIB=$${RANLIB}" \
18133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18134 mostlyclean) \
18135 || exit 1
18137 @endif tar
18139 .PHONY: maybe-clean-tar clean-tar
18140 maybe-clean-tar:
18141 @if tar
18142 maybe-clean-tar: clean-tar
18144 clean-tar:
18145 @[ -f ./tar/Makefile ] || exit 0; \
18146 r=`${PWD_COMMAND}`; export r; \
18147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18148 $(SET_LIB_PATH) \
18149 $(HOST_EXPORTS) \
18150 for flag in $(EXTRA_HOST_FLAGS) ; do \
18151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18152 done; \
18153 echo "Doing clean in tar" ; \
18154 (cd tar && \
18155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18157 "RANLIB=$${RANLIB}" \
18158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18159 clean) \
18160 || exit 1
18162 @endif tar
18164 .PHONY: maybe-distclean-tar distclean-tar
18165 maybe-distclean-tar:
18166 @if tar
18167 maybe-distclean-tar: distclean-tar
18169 distclean-tar:
18170 @[ -f ./tar/Makefile ] || exit 0; \
18171 r=`${PWD_COMMAND}`; export r; \
18172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18173 $(SET_LIB_PATH) \
18174 $(HOST_EXPORTS) \
18175 for flag in $(EXTRA_HOST_FLAGS) ; do \
18176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18177 done; \
18178 echo "Doing distclean in tar" ; \
18179 (cd tar && \
18180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18182 "RANLIB=$${RANLIB}" \
18183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18184 distclean) \
18185 || exit 1
18187 @endif tar
18189 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
18190 maybe-maintainer-clean-tar:
18191 @if tar
18192 maybe-maintainer-clean-tar: maintainer-clean-tar
18194 maintainer-clean-tar:
18195 @[ -f ./tar/Makefile ] || exit 0; \
18196 r=`${PWD_COMMAND}`; export r; \
18197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18198 $(SET_LIB_PATH) \
18199 $(HOST_EXPORTS) \
18200 for flag in $(EXTRA_HOST_FLAGS) ; do \
18201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18202 done; \
18203 echo "Doing maintainer-clean in tar" ; \
18204 (cd tar && \
18205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18207 "RANLIB=$${RANLIB}" \
18208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18209 maintainer-clean) \
18210 || exit 1
18212 @endif tar
18215 .PHONY: configure-texinfo maybe-configure-texinfo
18216 maybe-configure-texinfo:
18217 @if texinfo
18218 maybe-configure-texinfo: configure-texinfo
18219 configure-texinfo:
18220 @test ! -f texinfo/Makefile || exit 0; \
18221 [ -d texinfo ] || mkdir texinfo; \
18222 r=`${PWD_COMMAND}`; export r; \
18223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18224 $(HOST_EXPORTS) \
18225 echo Configuring in texinfo; \
18226 cd texinfo || exit 1; \
18227 case $(srcdir) in \
18228 \.) \
18229 srcdiroption="--srcdir=."; \
18230 libsrcdir=".";; \
18231 /* | [A-Za-z]:[\\/]*) \
18232 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
18233 libsrcdir="$$s/texinfo";; \
18234 *) \
18235 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
18236 libsrcdir="$$s/texinfo";; \
18237 esac; \
18238 $(SHELL) $${libsrcdir}/configure \
18239 $(HOST_CONFIGARGS) $${srcdiroption} \
18240 || exit 1
18241 @endif texinfo
18243 .PHONY: all-texinfo maybe-all-texinfo
18244 maybe-all-texinfo:
18245 @if texinfo
18246 maybe-all-texinfo: all-texinfo
18247 all-texinfo: configure-texinfo
18248 @r=`${PWD_COMMAND}`; export r; \
18249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18250 $(SET_LIB_PATH) \
18251 $(HOST_EXPORTS) \
18252 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
18253 @endif texinfo
18255 .PHONY: check-texinfo maybe-check-texinfo
18256 maybe-check-texinfo:
18257 @if texinfo
18258 maybe-check-texinfo: check-texinfo
18260 check-texinfo:
18261 @r=`${PWD_COMMAND}`; export r; \
18262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18263 $(SET_LIB_PATH) \
18264 $(HOST_EXPORTS) \
18265 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
18267 @endif texinfo
18269 .PHONY: install-texinfo maybe-install-texinfo
18270 maybe-install-texinfo:
18271 @if texinfo
18272 maybe-install-texinfo: install-texinfo
18274 install-texinfo:
18276 @endif texinfo
18278 # Other targets (info, dvi, etc.)
18280 .PHONY: maybe-info-texinfo info-texinfo
18281 maybe-info-texinfo:
18282 @if texinfo
18283 maybe-info-texinfo: info-texinfo
18285 info-texinfo: \
18286 configure-texinfo
18287 @[ -f ./texinfo/Makefile ] || exit 0; \
18288 r=`${PWD_COMMAND}`; export r; \
18289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18290 $(SET_LIB_PATH) \
18291 $(HOST_EXPORTS) \
18292 for flag in $(EXTRA_HOST_FLAGS) ; do \
18293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18294 done; \
18295 echo "Doing info in texinfo" ; \
18296 (cd texinfo && \
18297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18299 "RANLIB=$${RANLIB}" \
18300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18301 info) \
18302 || exit 1
18304 @endif texinfo
18306 .PHONY: maybe-dvi-texinfo dvi-texinfo
18307 maybe-dvi-texinfo:
18308 @if texinfo
18309 maybe-dvi-texinfo: dvi-texinfo
18311 dvi-texinfo: \
18312 configure-texinfo
18313 @[ -f ./texinfo/Makefile ] || exit 0; \
18314 r=`${PWD_COMMAND}`; export r; \
18315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18316 $(SET_LIB_PATH) \
18317 $(HOST_EXPORTS) \
18318 for flag in $(EXTRA_HOST_FLAGS) ; do \
18319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18320 done; \
18321 echo "Doing dvi in texinfo" ; \
18322 (cd texinfo && \
18323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18325 "RANLIB=$${RANLIB}" \
18326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18327 dvi) \
18328 || exit 1
18330 @endif texinfo
18332 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
18333 maybe-TAGS-texinfo:
18334 @if texinfo
18335 maybe-TAGS-texinfo: TAGS-texinfo
18337 TAGS-texinfo: \
18338 configure-texinfo
18339 @[ -f ./texinfo/Makefile ] || exit 0; \
18340 r=`${PWD_COMMAND}`; export r; \
18341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18342 $(SET_LIB_PATH) \
18343 $(HOST_EXPORTS) \
18344 for flag in $(EXTRA_HOST_FLAGS) ; do \
18345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18346 done; \
18347 echo "Doing TAGS in texinfo" ; \
18348 (cd texinfo && \
18349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18351 "RANLIB=$${RANLIB}" \
18352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18353 TAGS) \
18354 || exit 1
18356 @endif texinfo
18358 .PHONY: maybe-install-info-texinfo install-info-texinfo
18359 maybe-install-info-texinfo:
18360 @if texinfo
18361 maybe-install-info-texinfo: install-info-texinfo
18363 install-info-texinfo: \
18364 configure-texinfo \
18365 info-texinfo
18366 @[ -f ./texinfo/Makefile ] || exit 0; \
18367 r=`${PWD_COMMAND}`; export r; \
18368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18369 $(SET_LIB_PATH) \
18370 $(HOST_EXPORTS) \
18371 for flag in $(EXTRA_HOST_FLAGS) ; do \
18372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18373 done; \
18374 echo "Doing install-info in texinfo" ; \
18375 (cd texinfo && \
18376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18378 "RANLIB=$${RANLIB}" \
18379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18380 install-info) \
18381 || exit 1
18383 @endif texinfo
18385 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18386 maybe-installcheck-texinfo:
18387 @if texinfo
18388 maybe-installcheck-texinfo: installcheck-texinfo
18390 installcheck-texinfo: \
18391 configure-texinfo
18392 @[ -f ./texinfo/Makefile ] || exit 0; \
18393 r=`${PWD_COMMAND}`; export r; \
18394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18395 $(SET_LIB_PATH) \
18396 $(HOST_EXPORTS) \
18397 for flag in $(EXTRA_HOST_FLAGS) ; do \
18398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18399 done; \
18400 echo "Doing installcheck in texinfo" ; \
18401 (cd texinfo && \
18402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18404 "RANLIB=$${RANLIB}" \
18405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18406 installcheck) \
18407 || exit 1
18409 @endif texinfo
18411 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18412 maybe-mostlyclean-texinfo:
18413 @if texinfo
18414 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18416 mostlyclean-texinfo:
18417 @[ -f ./texinfo/Makefile ] || exit 0; \
18418 r=`${PWD_COMMAND}`; export r; \
18419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18420 $(SET_LIB_PATH) \
18421 $(HOST_EXPORTS) \
18422 for flag in $(EXTRA_HOST_FLAGS) ; do \
18423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18424 done; \
18425 echo "Doing mostlyclean in texinfo" ; \
18426 (cd texinfo && \
18427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18429 "RANLIB=$${RANLIB}" \
18430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18431 mostlyclean) \
18432 || exit 1
18434 @endif texinfo
18436 .PHONY: maybe-clean-texinfo clean-texinfo
18437 maybe-clean-texinfo:
18438 @if texinfo
18439 maybe-clean-texinfo: clean-texinfo
18441 clean-texinfo:
18442 @[ -f ./texinfo/Makefile ] || exit 0; \
18443 r=`${PWD_COMMAND}`; export r; \
18444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18445 $(SET_LIB_PATH) \
18446 $(HOST_EXPORTS) \
18447 for flag in $(EXTRA_HOST_FLAGS) ; do \
18448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18449 done; \
18450 echo "Doing clean in texinfo" ; \
18451 (cd texinfo && \
18452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18454 "RANLIB=$${RANLIB}" \
18455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18456 clean) \
18457 || exit 1
18459 @endif texinfo
18461 .PHONY: maybe-distclean-texinfo distclean-texinfo
18462 maybe-distclean-texinfo:
18463 @if texinfo
18464 maybe-distclean-texinfo: distclean-texinfo
18466 distclean-texinfo:
18467 @[ -f ./texinfo/Makefile ] || exit 0; \
18468 r=`${PWD_COMMAND}`; export r; \
18469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18470 $(SET_LIB_PATH) \
18471 $(HOST_EXPORTS) \
18472 for flag in $(EXTRA_HOST_FLAGS) ; do \
18473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18474 done; \
18475 echo "Doing distclean in texinfo" ; \
18476 (cd texinfo && \
18477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18479 "RANLIB=$${RANLIB}" \
18480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18481 distclean) \
18482 || exit 1
18484 @endif texinfo
18486 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18487 maybe-maintainer-clean-texinfo:
18488 @if texinfo
18489 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18491 maintainer-clean-texinfo:
18492 @[ -f ./texinfo/Makefile ] || exit 0; \
18493 r=`${PWD_COMMAND}`; export r; \
18494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18495 $(SET_LIB_PATH) \
18496 $(HOST_EXPORTS) \
18497 for flag in $(EXTRA_HOST_FLAGS) ; do \
18498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18499 done; \
18500 echo "Doing maintainer-clean in texinfo" ; \
18501 (cd texinfo && \
18502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18504 "RANLIB=$${RANLIB}" \
18505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18506 maintainer-clean) \
18507 || exit 1
18509 @endif texinfo
18512 .PHONY: configure-textutils maybe-configure-textutils
18513 maybe-configure-textutils:
18514 @if textutils
18515 maybe-configure-textutils: configure-textutils
18516 configure-textutils:
18517 @test ! -f textutils/Makefile || exit 0; \
18518 [ -d textutils ] || mkdir textutils; \
18519 r=`${PWD_COMMAND}`; export r; \
18520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18521 $(HOST_EXPORTS) \
18522 echo Configuring in textutils; \
18523 cd textutils || exit 1; \
18524 case $(srcdir) in \
18525 \.) \
18526 srcdiroption="--srcdir=."; \
18527 libsrcdir=".";; \
18528 /* | [A-Za-z]:[\\/]*) \
18529 srcdiroption="--srcdir=$(srcdir)/textutils"; \
18530 libsrcdir="$$s/textutils";; \
18531 *) \
18532 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18533 libsrcdir="$$s/textutils";; \
18534 esac; \
18535 $(SHELL) $${libsrcdir}/configure \
18536 $(HOST_CONFIGARGS) $${srcdiroption} \
18537 || exit 1
18538 @endif textutils
18540 .PHONY: all-textutils maybe-all-textutils
18541 maybe-all-textutils:
18542 @if textutils
18543 maybe-all-textutils: all-textutils
18544 all-textutils: configure-textutils
18545 @r=`${PWD_COMMAND}`; export r; \
18546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18547 $(SET_LIB_PATH) \
18548 $(HOST_EXPORTS) \
18549 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
18550 @endif textutils
18552 .PHONY: check-textutils maybe-check-textutils
18553 maybe-check-textutils:
18554 @if textutils
18555 maybe-check-textutils: check-textutils
18557 check-textutils:
18558 @r=`${PWD_COMMAND}`; export r; \
18559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18560 $(SET_LIB_PATH) \
18561 $(HOST_EXPORTS) \
18562 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18564 @endif textutils
18566 .PHONY: install-textutils maybe-install-textutils
18567 maybe-install-textutils:
18568 @if textutils
18569 maybe-install-textutils: install-textutils
18571 install-textutils: installdirs
18572 @r=`${PWD_COMMAND}`; export r; \
18573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18574 $(SET_LIB_PATH) \
18575 $(HOST_EXPORTS) \
18576 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18578 @endif textutils
18580 # Other targets (info, dvi, etc.)
18582 .PHONY: maybe-info-textutils info-textutils
18583 maybe-info-textutils:
18584 @if textutils
18585 maybe-info-textutils: info-textutils
18587 info-textutils: \
18588 configure-textutils
18589 @[ -f ./textutils/Makefile ] || exit 0; \
18590 r=`${PWD_COMMAND}`; export r; \
18591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18592 $(SET_LIB_PATH) \
18593 $(HOST_EXPORTS) \
18594 for flag in $(EXTRA_HOST_FLAGS) ; do \
18595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18596 done; \
18597 echo "Doing info in textutils" ; \
18598 (cd textutils && \
18599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18601 "RANLIB=$${RANLIB}" \
18602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18603 info) \
18604 || exit 1
18606 @endif textutils
18608 .PHONY: maybe-dvi-textutils dvi-textutils
18609 maybe-dvi-textutils:
18610 @if textutils
18611 maybe-dvi-textutils: dvi-textutils
18613 dvi-textutils: \
18614 configure-textutils
18615 @[ -f ./textutils/Makefile ] || exit 0; \
18616 r=`${PWD_COMMAND}`; export r; \
18617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18618 $(SET_LIB_PATH) \
18619 $(HOST_EXPORTS) \
18620 for flag in $(EXTRA_HOST_FLAGS) ; do \
18621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18622 done; \
18623 echo "Doing dvi in textutils" ; \
18624 (cd textutils && \
18625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18627 "RANLIB=$${RANLIB}" \
18628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18629 dvi) \
18630 || exit 1
18632 @endif textutils
18634 .PHONY: maybe-TAGS-textutils TAGS-textutils
18635 maybe-TAGS-textutils:
18636 @if textutils
18637 maybe-TAGS-textutils: TAGS-textutils
18639 TAGS-textutils: \
18640 configure-textutils
18641 @[ -f ./textutils/Makefile ] || exit 0; \
18642 r=`${PWD_COMMAND}`; export r; \
18643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18644 $(SET_LIB_PATH) \
18645 $(HOST_EXPORTS) \
18646 for flag in $(EXTRA_HOST_FLAGS) ; do \
18647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18648 done; \
18649 echo "Doing TAGS in textutils" ; \
18650 (cd textutils && \
18651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18653 "RANLIB=$${RANLIB}" \
18654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18655 TAGS) \
18656 || exit 1
18658 @endif textutils
18660 .PHONY: maybe-install-info-textutils install-info-textutils
18661 maybe-install-info-textutils:
18662 @if textutils
18663 maybe-install-info-textutils: install-info-textutils
18665 install-info-textutils: \
18666 configure-textutils \
18667 info-textutils
18668 @[ -f ./textutils/Makefile ] || exit 0; \
18669 r=`${PWD_COMMAND}`; export r; \
18670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18671 $(SET_LIB_PATH) \
18672 $(HOST_EXPORTS) \
18673 for flag in $(EXTRA_HOST_FLAGS) ; do \
18674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18675 done; \
18676 echo "Doing install-info in textutils" ; \
18677 (cd textutils && \
18678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18680 "RANLIB=$${RANLIB}" \
18681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18682 install-info) \
18683 || exit 1
18685 @endif textutils
18687 .PHONY: maybe-installcheck-textutils installcheck-textutils
18688 maybe-installcheck-textutils:
18689 @if textutils
18690 maybe-installcheck-textutils: installcheck-textutils
18692 installcheck-textutils: \
18693 configure-textutils
18694 @[ -f ./textutils/Makefile ] || exit 0; \
18695 r=`${PWD_COMMAND}`; export r; \
18696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18697 $(SET_LIB_PATH) \
18698 $(HOST_EXPORTS) \
18699 for flag in $(EXTRA_HOST_FLAGS) ; do \
18700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18701 done; \
18702 echo "Doing installcheck in textutils" ; \
18703 (cd textutils && \
18704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18706 "RANLIB=$${RANLIB}" \
18707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18708 installcheck) \
18709 || exit 1
18711 @endif textutils
18713 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
18714 maybe-mostlyclean-textutils:
18715 @if textutils
18716 maybe-mostlyclean-textutils: mostlyclean-textutils
18718 mostlyclean-textutils:
18719 @[ -f ./textutils/Makefile ] || exit 0; \
18720 r=`${PWD_COMMAND}`; export r; \
18721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18722 $(SET_LIB_PATH) \
18723 $(HOST_EXPORTS) \
18724 for flag in $(EXTRA_HOST_FLAGS) ; do \
18725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18726 done; \
18727 echo "Doing mostlyclean in textutils" ; \
18728 (cd textutils && \
18729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18731 "RANLIB=$${RANLIB}" \
18732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18733 mostlyclean) \
18734 || exit 1
18736 @endif textutils
18738 .PHONY: maybe-clean-textutils clean-textutils
18739 maybe-clean-textutils:
18740 @if textutils
18741 maybe-clean-textutils: clean-textutils
18743 clean-textutils:
18744 @[ -f ./textutils/Makefile ] || exit 0; \
18745 r=`${PWD_COMMAND}`; export r; \
18746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18747 $(SET_LIB_PATH) \
18748 $(HOST_EXPORTS) \
18749 for flag in $(EXTRA_HOST_FLAGS) ; do \
18750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18751 done; \
18752 echo "Doing clean in textutils" ; \
18753 (cd textutils && \
18754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18756 "RANLIB=$${RANLIB}" \
18757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18758 clean) \
18759 || exit 1
18761 @endif textutils
18763 .PHONY: maybe-distclean-textutils distclean-textutils
18764 maybe-distclean-textutils:
18765 @if textutils
18766 maybe-distclean-textutils: distclean-textutils
18768 distclean-textutils:
18769 @[ -f ./textutils/Makefile ] || exit 0; \
18770 r=`${PWD_COMMAND}`; export r; \
18771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18772 $(SET_LIB_PATH) \
18773 $(HOST_EXPORTS) \
18774 for flag in $(EXTRA_HOST_FLAGS) ; do \
18775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18776 done; \
18777 echo "Doing distclean in textutils" ; \
18778 (cd textutils && \
18779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18781 "RANLIB=$${RANLIB}" \
18782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18783 distclean) \
18784 || exit 1
18786 @endif textutils
18788 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
18789 maybe-maintainer-clean-textutils:
18790 @if textutils
18791 maybe-maintainer-clean-textutils: maintainer-clean-textutils
18793 maintainer-clean-textutils:
18794 @[ -f ./textutils/Makefile ] || exit 0; \
18795 r=`${PWD_COMMAND}`; export r; \
18796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18797 $(SET_LIB_PATH) \
18798 $(HOST_EXPORTS) \
18799 for flag in $(EXTRA_HOST_FLAGS) ; do \
18800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18801 done; \
18802 echo "Doing maintainer-clean in textutils" ; \
18803 (cd textutils && \
18804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18806 "RANLIB=$${RANLIB}" \
18807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18808 maintainer-clean) \
18809 || exit 1
18811 @endif textutils
18814 .PHONY: configure-time maybe-configure-time
18815 maybe-configure-time:
18816 @if time
18817 maybe-configure-time: configure-time
18818 configure-time:
18819 @test ! -f time/Makefile || exit 0; \
18820 [ -d time ] || mkdir time; \
18821 r=`${PWD_COMMAND}`; export r; \
18822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18823 $(HOST_EXPORTS) \
18824 echo Configuring in time; \
18825 cd time || exit 1; \
18826 case $(srcdir) in \
18827 \.) \
18828 srcdiroption="--srcdir=."; \
18829 libsrcdir=".";; \
18830 /* | [A-Za-z]:[\\/]*) \
18831 srcdiroption="--srcdir=$(srcdir)/time"; \
18832 libsrcdir="$$s/time";; \
18833 *) \
18834 srcdiroption="--srcdir=../$(srcdir)/time"; \
18835 libsrcdir="$$s/time";; \
18836 esac; \
18837 $(SHELL) $${libsrcdir}/configure \
18838 $(HOST_CONFIGARGS) $${srcdiroption} \
18839 || exit 1
18840 @endif time
18842 .PHONY: all-time maybe-all-time
18843 maybe-all-time:
18844 @if time
18845 maybe-all-time: all-time
18846 all-time: configure-time
18847 @r=`${PWD_COMMAND}`; export r; \
18848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18849 $(SET_LIB_PATH) \
18850 $(HOST_EXPORTS) \
18851 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
18852 @endif time
18854 .PHONY: check-time maybe-check-time
18855 maybe-check-time:
18856 @if time
18857 maybe-check-time: check-time
18859 check-time:
18860 @r=`${PWD_COMMAND}`; export r; \
18861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18862 $(SET_LIB_PATH) \
18863 $(HOST_EXPORTS) \
18864 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
18866 @endif time
18868 .PHONY: install-time maybe-install-time
18869 maybe-install-time:
18870 @if time
18871 maybe-install-time: install-time
18873 install-time: installdirs
18874 @r=`${PWD_COMMAND}`; export r; \
18875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18876 $(SET_LIB_PATH) \
18877 $(HOST_EXPORTS) \
18878 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
18880 @endif time
18882 # Other targets (info, dvi, etc.)
18884 .PHONY: maybe-info-time info-time
18885 maybe-info-time:
18886 @if time
18887 maybe-info-time: info-time
18889 info-time: \
18890 configure-time
18891 @[ -f ./time/Makefile ] || exit 0; \
18892 r=`${PWD_COMMAND}`; export r; \
18893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18894 $(SET_LIB_PATH) \
18895 $(HOST_EXPORTS) \
18896 for flag in $(EXTRA_HOST_FLAGS) ; do \
18897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18898 done; \
18899 echo "Doing info in time" ; \
18900 (cd time && \
18901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18903 "RANLIB=$${RANLIB}" \
18904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18905 info) \
18906 || exit 1
18908 @endif time
18910 .PHONY: maybe-dvi-time dvi-time
18911 maybe-dvi-time:
18912 @if time
18913 maybe-dvi-time: dvi-time
18915 dvi-time: \
18916 configure-time
18917 @[ -f ./time/Makefile ] || exit 0; \
18918 r=`${PWD_COMMAND}`; export r; \
18919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18920 $(SET_LIB_PATH) \
18921 $(HOST_EXPORTS) \
18922 for flag in $(EXTRA_HOST_FLAGS) ; do \
18923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18924 done; \
18925 echo "Doing dvi in time" ; \
18926 (cd time && \
18927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18929 "RANLIB=$${RANLIB}" \
18930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18931 dvi) \
18932 || exit 1
18934 @endif time
18936 .PHONY: maybe-TAGS-time TAGS-time
18937 maybe-TAGS-time:
18938 @if time
18939 maybe-TAGS-time: TAGS-time
18941 TAGS-time: \
18942 configure-time
18943 @[ -f ./time/Makefile ] || exit 0; \
18944 r=`${PWD_COMMAND}`; export r; \
18945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18946 $(SET_LIB_PATH) \
18947 $(HOST_EXPORTS) \
18948 for flag in $(EXTRA_HOST_FLAGS) ; do \
18949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18950 done; \
18951 echo "Doing TAGS in time" ; \
18952 (cd time && \
18953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18955 "RANLIB=$${RANLIB}" \
18956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18957 TAGS) \
18958 || exit 1
18960 @endif time
18962 .PHONY: maybe-install-info-time install-info-time
18963 maybe-install-info-time:
18964 @if time
18965 maybe-install-info-time: install-info-time
18967 install-info-time: \
18968 configure-time \
18969 info-time
18970 @[ -f ./time/Makefile ] || exit 0; \
18971 r=`${PWD_COMMAND}`; export r; \
18972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18973 $(SET_LIB_PATH) \
18974 $(HOST_EXPORTS) \
18975 for flag in $(EXTRA_HOST_FLAGS) ; do \
18976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18977 done; \
18978 echo "Doing install-info in time" ; \
18979 (cd time && \
18980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18982 "RANLIB=$${RANLIB}" \
18983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18984 install-info) \
18985 || exit 1
18987 @endif time
18989 .PHONY: maybe-installcheck-time installcheck-time
18990 maybe-installcheck-time:
18991 @if time
18992 maybe-installcheck-time: installcheck-time
18994 installcheck-time: \
18995 configure-time
18996 @[ -f ./time/Makefile ] || exit 0; \
18997 r=`${PWD_COMMAND}`; export r; \
18998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18999 $(SET_LIB_PATH) \
19000 $(HOST_EXPORTS) \
19001 for flag in $(EXTRA_HOST_FLAGS) ; do \
19002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19003 done; \
19004 echo "Doing installcheck in time" ; \
19005 (cd time && \
19006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19008 "RANLIB=$${RANLIB}" \
19009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19010 installcheck) \
19011 || exit 1
19013 @endif time
19015 .PHONY: maybe-mostlyclean-time mostlyclean-time
19016 maybe-mostlyclean-time:
19017 @if time
19018 maybe-mostlyclean-time: mostlyclean-time
19020 mostlyclean-time:
19021 @[ -f ./time/Makefile ] || exit 0; \
19022 r=`${PWD_COMMAND}`; export r; \
19023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19024 $(SET_LIB_PATH) \
19025 $(HOST_EXPORTS) \
19026 for flag in $(EXTRA_HOST_FLAGS) ; do \
19027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19028 done; \
19029 echo "Doing mostlyclean in time" ; \
19030 (cd time && \
19031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19033 "RANLIB=$${RANLIB}" \
19034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19035 mostlyclean) \
19036 || exit 1
19038 @endif time
19040 .PHONY: maybe-clean-time clean-time
19041 maybe-clean-time:
19042 @if time
19043 maybe-clean-time: clean-time
19045 clean-time:
19046 @[ -f ./time/Makefile ] || exit 0; \
19047 r=`${PWD_COMMAND}`; export r; \
19048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19049 $(SET_LIB_PATH) \
19050 $(HOST_EXPORTS) \
19051 for flag in $(EXTRA_HOST_FLAGS) ; do \
19052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19053 done; \
19054 echo "Doing clean in time" ; \
19055 (cd time && \
19056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19058 "RANLIB=$${RANLIB}" \
19059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19060 clean) \
19061 || exit 1
19063 @endif time
19065 .PHONY: maybe-distclean-time distclean-time
19066 maybe-distclean-time:
19067 @if time
19068 maybe-distclean-time: distclean-time
19070 distclean-time:
19071 @[ -f ./time/Makefile ] || exit 0; \
19072 r=`${PWD_COMMAND}`; export r; \
19073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19074 $(SET_LIB_PATH) \
19075 $(HOST_EXPORTS) \
19076 for flag in $(EXTRA_HOST_FLAGS) ; do \
19077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19078 done; \
19079 echo "Doing distclean in time" ; \
19080 (cd time && \
19081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19083 "RANLIB=$${RANLIB}" \
19084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19085 distclean) \
19086 || exit 1
19088 @endif time
19090 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
19091 maybe-maintainer-clean-time:
19092 @if time
19093 maybe-maintainer-clean-time: maintainer-clean-time
19095 maintainer-clean-time:
19096 @[ -f ./time/Makefile ] || exit 0; \
19097 r=`${PWD_COMMAND}`; export r; \
19098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19099 $(SET_LIB_PATH) \
19100 $(HOST_EXPORTS) \
19101 for flag in $(EXTRA_HOST_FLAGS) ; do \
19102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19103 done; \
19104 echo "Doing maintainer-clean in time" ; \
19105 (cd time && \
19106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19108 "RANLIB=$${RANLIB}" \
19109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19110 maintainer-clean) \
19111 || exit 1
19113 @endif time
19116 .PHONY: configure-uudecode maybe-configure-uudecode
19117 maybe-configure-uudecode:
19118 @if uudecode
19119 maybe-configure-uudecode: configure-uudecode
19120 configure-uudecode:
19121 @test ! -f uudecode/Makefile || exit 0; \
19122 [ -d uudecode ] || mkdir uudecode; \
19123 r=`${PWD_COMMAND}`; export r; \
19124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19125 $(HOST_EXPORTS) \
19126 echo Configuring in uudecode; \
19127 cd uudecode || exit 1; \
19128 case $(srcdir) in \
19129 \.) \
19130 srcdiroption="--srcdir=."; \
19131 libsrcdir=".";; \
19132 /* | [A-Za-z]:[\\/]*) \
19133 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
19134 libsrcdir="$$s/uudecode";; \
19135 *) \
19136 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
19137 libsrcdir="$$s/uudecode";; \
19138 esac; \
19139 $(SHELL) $${libsrcdir}/configure \
19140 $(HOST_CONFIGARGS) $${srcdiroption} \
19141 || exit 1
19142 @endif uudecode
19144 .PHONY: all-uudecode maybe-all-uudecode
19145 maybe-all-uudecode:
19146 @if uudecode
19147 maybe-all-uudecode: all-uudecode
19148 all-uudecode: configure-uudecode
19149 @r=`${PWD_COMMAND}`; export r; \
19150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19151 $(SET_LIB_PATH) \
19152 $(HOST_EXPORTS) \
19153 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
19154 @endif uudecode
19156 .PHONY: check-uudecode maybe-check-uudecode
19157 maybe-check-uudecode:
19158 @if uudecode
19159 maybe-check-uudecode: check-uudecode
19161 check-uudecode:
19162 @r=`${PWD_COMMAND}`; export r; \
19163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19164 $(SET_LIB_PATH) \
19165 $(HOST_EXPORTS) \
19166 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
19168 @endif uudecode
19170 .PHONY: install-uudecode maybe-install-uudecode
19171 maybe-install-uudecode:
19172 @if uudecode
19173 maybe-install-uudecode: install-uudecode
19175 install-uudecode: installdirs
19176 @r=`${PWD_COMMAND}`; export r; \
19177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19178 $(SET_LIB_PATH) \
19179 $(HOST_EXPORTS) \
19180 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
19182 @endif uudecode
19184 # Other targets (info, dvi, etc.)
19186 .PHONY: maybe-info-uudecode info-uudecode
19187 maybe-info-uudecode:
19188 @if uudecode
19189 maybe-info-uudecode: info-uudecode
19191 info-uudecode: \
19192 configure-uudecode
19193 @[ -f ./uudecode/Makefile ] || exit 0; \
19194 r=`${PWD_COMMAND}`; export r; \
19195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19196 $(SET_LIB_PATH) \
19197 $(HOST_EXPORTS) \
19198 for flag in $(EXTRA_HOST_FLAGS) ; do \
19199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19200 done; \
19201 echo "Doing info in uudecode" ; \
19202 (cd uudecode && \
19203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19205 "RANLIB=$${RANLIB}" \
19206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19207 info) \
19208 || exit 1
19210 @endif uudecode
19212 .PHONY: maybe-dvi-uudecode dvi-uudecode
19213 maybe-dvi-uudecode:
19214 @if uudecode
19215 maybe-dvi-uudecode: dvi-uudecode
19217 dvi-uudecode: \
19218 configure-uudecode
19219 @[ -f ./uudecode/Makefile ] || exit 0; \
19220 r=`${PWD_COMMAND}`; export r; \
19221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19222 $(SET_LIB_PATH) \
19223 $(HOST_EXPORTS) \
19224 for flag in $(EXTRA_HOST_FLAGS) ; do \
19225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19226 done; \
19227 echo "Doing dvi in uudecode" ; \
19228 (cd uudecode && \
19229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19231 "RANLIB=$${RANLIB}" \
19232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19233 dvi) \
19234 || exit 1
19236 @endif uudecode
19238 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
19239 maybe-TAGS-uudecode:
19240 @if uudecode
19241 maybe-TAGS-uudecode: TAGS-uudecode
19243 TAGS-uudecode: \
19244 configure-uudecode
19245 @[ -f ./uudecode/Makefile ] || exit 0; \
19246 r=`${PWD_COMMAND}`; export r; \
19247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19248 $(SET_LIB_PATH) \
19249 $(HOST_EXPORTS) \
19250 for flag in $(EXTRA_HOST_FLAGS) ; do \
19251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19252 done; \
19253 echo "Doing TAGS in uudecode" ; \
19254 (cd uudecode && \
19255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19257 "RANLIB=$${RANLIB}" \
19258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19259 TAGS) \
19260 || exit 1
19262 @endif uudecode
19264 .PHONY: maybe-install-info-uudecode install-info-uudecode
19265 maybe-install-info-uudecode:
19266 @if uudecode
19267 maybe-install-info-uudecode: install-info-uudecode
19269 install-info-uudecode: \
19270 configure-uudecode \
19271 info-uudecode
19272 @[ -f ./uudecode/Makefile ] || exit 0; \
19273 r=`${PWD_COMMAND}`; export r; \
19274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19275 $(SET_LIB_PATH) \
19276 $(HOST_EXPORTS) \
19277 for flag in $(EXTRA_HOST_FLAGS) ; do \
19278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19279 done; \
19280 echo "Doing install-info in uudecode" ; \
19281 (cd uudecode && \
19282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19284 "RANLIB=$${RANLIB}" \
19285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19286 install-info) \
19287 || exit 1
19289 @endif uudecode
19291 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
19292 maybe-installcheck-uudecode:
19293 @if uudecode
19294 maybe-installcheck-uudecode: installcheck-uudecode
19296 installcheck-uudecode: \
19297 configure-uudecode
19298 @[ -f ./uudecode/Makefile ] || exit 0; \
19299 r=`${PWD_COMMAND}`; export r; \
19300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19301 $(SET_LIB_PATH) \
19302 $(HOST_EXPORTS) \
19303 for flag in $(EXTRA_HOST_FLAGS) ; do \
19304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19305 done; \
19306 echo "Doing installcheck in uudecode" ; \
19307 (cd uudecode && \
19308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19310 "RANLIB=$${RANLIB}" \
19311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19312 installcheck) \
19313 || exit 1
19315 @endif uudecode
19317 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
19318 maybe-mostlyclean-uudecode:
19319 @if uudecode
19320 maybe-mostlyclean-uudecode: mostlyclean-uudecode
19322 mostlyclean-uudecode:
19323 @[ -f ./uudecode/Makefile ] || exit 0; \
19324 r=`${PWD_COMMAND}`; export r; \
19325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19326 $(SET_LIB_PATH) \
19327 $(HOST_EXPORTS) \
19328 for flag in $(EXTRA_HOST_FLAGS) ; do \
19329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19330 done; \
19331 echo "Doing mostlyclean in uudecode" ; \
19332 (cd uudecode && \
19333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19335 "RANLIB=$${RANLIB}" \
19336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19337 mostlyclean) \
19338 || exit 1
19340 @endif uudecode
19342 .PHONY: maybe-clean-uudecode clean-uudecode
19343 maybe-clean-uudecode:
19344 @if uudecode
19345 maybe-clean-uudecode: clean-uudecode
19347 clean-uudecode:
19348 @[ -f ./uudecode/Makefile ] || exit 0; \
19349 r=`${PWD_COMMAND}`; export r; \
19350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19351 $(SET_LIB_PATH) \
19352 $(HOST_EXPORTS) \
19353 for flag in $(EXTRA_HOST_FLAGS) ; do \
19354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19355 done; \
19356 echo "Doing clean in uudecode" ; \
19357 (cd uudecode && \
19358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19360 "RANLIB=$${RANLIB}" \
19361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19362 clean) \
19363 || exit 1
19365 @endif uudecode
19367 .PHONY: maybe-distclean-uudecode distclean-uudecode
19368 maybe-distclean-uudecode:
19369 @if uudecode
19370 maybe-distclean-uudecode: distclean-uudecode
19372 distclean-uudecode:
19373 @[ -f ./uudecode/Makefile ] || exit 0; \
19374 r=`${PWD_COMMAND}`; export r; \
19375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19376 $(SET_LIB_PATH) \
19377 $(HOST_EXPORTS) \
19378 for flag in $(EXTRA_HOST_FLAGS) ; do \
19379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19380 done; \
19381 echo "Doing distclean in uudecode" ; \
19382 (cd uudecode && \
19383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19385 "RANLIB=$${RANLIB}" \
19386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19387 distclean) \
19388 || exit 1
19390 @endif uudecode
19392 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19393 maybe-maintainer-clean-uudecode:
19394 @if uudecode
19395 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19397 maintainer-clean-uudecode:
19398 @[ -f ./uudecode/Makefile ] || exit 0; \
19399 r=`${PWD_COMMAND}`; export r; \
19400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19401 $(SET_LIB_PATH) \
19402 $(HOST_EXPORTS) \
19403 for flag in $(EXTRA_HOST_FLAGS) ; do \
19404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19405 done; \
19406 echo "Doing maintainer-clean in uudecode" ; \
19407 (cd uudecode && \
19408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19410 "RANLIB=$${RANLIB}" \
19411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19412 maintainer-clean) \
19413 || exit 1
19415 @endif uudecode
19418 .PHONY: configure-wdiff maybe-configure-wdiff
19419 maybe-configure-wdiff:
19420 @if wdiff
19421 maybe-configure-wdiff: configure-wdiff
19422 configure-wdiff:
19423 @test ! -f wdiff/Makefile || exit 0; \
19424 [ -d wdiff ] || mkdir wdiff; \
19425 r=`${PWD_COMMAND}`; export r; \
19426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19427 $(HOST_EXPORTS) \
19428 echo Configuring in wdiff; \
19429 cd wdiff || exit 1; \
19430 case $(srcdir) in \
19431 \.) \
19432 srcdiroption="--srcdir=."; \
19433 libsrcdir=".";; \
19434 /* | [A-Za-z]:[\\/]*) \
19435 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19436 libsrcdir="$$s/wdiff";; \
19437 *) \
19438 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19439 libsrcdir="$$s/wdiff";; \
19440 esac; \
19441 $(SHELL) $${libsrcdir}/configure \
19442 $(HOST_CONFIGARGS) $${srcdiroption} \
19443 || exit 1
19444 @endif wdiff
19446 .PHONY: all-wdiff maybe-all-wdiff
19447 maybe-all-wdiff:
19448 @if wdiff
19449 maybe-all-wdiff: all-wdiff
19450 all-wdiff: configure-wdiff
19451 @r=`${PWD_COMMAND}`; export r; \
19452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19453 $(SET_LIB_PATH) \
19454 $(HOST_EXPORTS) \
19455 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
19456 @endif wdiff
19458 .PHONY: check-wdiff maybe-check-wdiff
19459 maybe-check-wdiff:
19460 @if wdiff
19461 maybe-check-wdiff: check-wdiff
19463 check-wdiff:
19464 @r=`${PWD_COMMAND}`; export r; \
19465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19466 $(SET_LIB_PATH) \
19467 $(HOST_EXPORTS) \
19468 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19470 @endif wdiff
19472 .PHONY: install-wdiff maybe-install-wdiff
19473 maybe-install-wdiff:
19474 @if wdiff
19475 maybe-install-wdiff: install-wdiff
19477 install-wdiff: installdirs
19478 @r=`${PWD_COMMAND}`; export r; \
19479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19480 $(SET_LIB_PATH) \
19481 $(HOST_EXPORTS) \
19482 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19484 @endif wdiff
19486 # Other targets (info, dvi, etc.)
19488 .PHONY: maybe-info-wdiff info-wdiff
19489 maybe-info-wdiff:
19490 @if wdiff
19491 maybe-info-wdiff: info-wdiff
19493 info-wdiff: \
19494 configure-wdiff
19495 @[ -f ./wdiff/Makefile ] || exit 0; \
19496 r=`${PWD_COMMAND}`; export r; \
19497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19498 $(SET_LIB_PATH) \
19499 $(HOST_EXPORTS) \
19500 for flag in $(EXTRA_HOST_FLAGS) ; do \
19501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19502 done; \
19503 echo "Doing info in wdiff" ; \
19504 (cd wdiff && \
19505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19507 "RANLIB=$${RANLIB}" \
19508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19509 info) \
19510 || exit 1
19512 @endif wdiff
19514 .PHONY: maybe-dvi-wdiff dvi-wdiff
19515 maybe-dvi-wdiff:
19516 @if wdiff
19517 maybe-dvi-wdiff: dvi-wdiff
19519 dvi-wdiff: \
19520 configure-wdiff
19521 @[ -f ./wdiff/Makefile ] || exit 0; \
19522 r=`${PWD_COMMAND}`; export r; \
19523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19524 $(SET_LIB_PATH) \
19525 $(HOST_EXPORTS) \
19526 for flag in $(EXTRA_HOST_FLAGS) ; do \
19527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19528 done; \
19529 echo "Doing dvi in wdiff" ; \
19530 (cd wdiff && \
19531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19533 "RANLIB=$${RANLIB}" \
19534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19535 dvi) \
19536 || exit 1
19538 @endif wdiff
19540 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19541 maybe-TAGS-wdiff:
19542 @if wdiff
19543 maybe-TAGS-wdiff: TAGS-wdiff
19545 TAGS-wdiff: \
19546 configure-wdiff
19547 @[ -f ./wdiff/Makefile ] || exit 0; \
19548 r=`${PWD_COMMAND}`; export r; \
19549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19550 $(SET_LIB_PATH) \
19551 $(HOST_EXPORTS) \
19552 for flag in $(EXTRA_HOST_FLAGS) ; do \
19553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19554 done; \
19555 echo "Doing TAGS in wdiff" ; \
19556 (cd wdiff && \
19557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19559 "RANLIB=$${RANLIB}" \
19560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19561 TAGS) \
19562 || exit 1
19564 @endif wdiff
19566 .PHONY: maybe-install-info-wdiff install-info-wdiff
19567 maybe-install-info-wdiff:
19568 @if wdiff
19569 maybe-install-info-wdiff: install-info-wdiff
19571 install-info-wdiff: \
19572 configure-wdiff \
19573 info-wdiff
19574 @[ -f ./wdiff/Makefile ] || exit 0; \
19575 r=`${PWD_COMMAND}`; export r; \
19576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19577 $(SET_LIB_PATH) \
19578 $(HOST_EXPORTS) \
19579 for flag in $(EXTRA_HOST_FLAGS) ; do \
19580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19581 done; \
19582 echo "Doing install-info in wdiff" ; \
19583 (cd wdiff && \
19584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19586 "RANLIB=$${RANLIB}" \
19587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19588 install-info) \
19589 || exit 1
19591 @endif wdiff
19593 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19594 maybe-installcheck-wdiff:
19595 @if wdiff
19596 maybe-installcheck-wdiff: installcheck-wdiff
19598 installcheck-wdiff: \
19599 configure-wdiff
19600 @[ -f ./wdiff/Makefile ] || exit 0; \
19601 r=`${PWD_COMMAND}`; export r; \
19602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19603 $(SET_LIB_PATH) \
19604 $(HOST_EXPORTS) \
19605 for flag in $(EXTRA_HOST_FLAGS) ; do \
19606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19607 done; \
19608 echo "Doing installcheck in wdiff" ; \
19609 (cd wdiff && \
19610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19612 "RANLIB=$${RANLIB}" \
19613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19614 installcheck) \
19615 || exit 1
19617 @endif wdiff
19619 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19620 maybe-mostlyclean-wdiff:
19621 @if wdiff
19622 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19624 mostlyclean-wdiff:
19625 @[ -f ./wdiff/Makefile ] || exit 0; \
19626 r=`${PWD_COMMAND}`; export r; \
19627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19628 $(SET_LIB_PATH) \
19629 $(HOST_EXPORTS) \
19630 for flag in $(EXTRA_HOST_FLAGS) ; do \
19631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19632 done; \
19633 echo "Doing mostlyclean in wdiff" ; \
19634 (cd wdiff && \
19635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19637 "RANLIB=$${RANLIB}" \
19638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19639 mostlyclean) \
19640 || exit 1
19642 @endif wdiff
19644 .PHONY: maybe-clean-wdiff clean-wdiff
19645 maybe-clean-wdiff:
19646 @if wdiff
19647 maybe-clean-wdiff: clean-wdiff
19649 clean-wdiff:
19650 @[ -f ./wdiff/Makefile ] || exit 0; \
19651 r=`${PWD_COMMAND}`; export r; \
19652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19653 $(SET_LIB_PATH) \
19654 $(HOST_EXPORTS) \
19655 for flag in $(EXTRA_HOST_FLAGS) ; do \
19656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19657 done; \
19658 echo "Doing clean in wdiff" ; \
19659 (cd wdiff && \
19660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19662 "RANLIB=$${RANLIB}" \
19663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19664 clean) \
19665 || exit 1
19667 @endif wdiff
19669 .PHONY: maybe-distclean-wdiff distclean-wdiff
19670 maybe-distclean-wdiff:
19671 @if wdiff
19672 maybe-distclean-wdiff: distclean-wdiff
19674 distclean-wdiff:
19675 @[ -f ./wdiff/Makefile ] || exit 0; \
19676 r=`${PWD_COMMAND}`; export r; \
19677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19678 $(SET_LIB_PATH) \
19679 $(HOST_EXPORTS) \
19680 for flag in $(EXTRA_HOST_FLAGS) ; do \
19681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19682 done; \
19683 echo "Doing distclean in wdiff" ; \
19684 (cd wdiff && \
19685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19687 "RANLIB=$${RANLIB}" \
19688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19689 distclean) \
19690 || exit 1
19692 @endif wdiff
19694 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19695 maybe-maintainer-clean-wdiff:
19696 @if wdiff
19697 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19699 maintainer-clean-wdiff:
19700 @[ -f ./wdiff/Makefile ] || exit 0; \
19701 r=`${PWD_COMMAND}`; export r; \
19702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19703 $(SET_LIB_PATH) \
19704 $(HOST_EXPORTS) \
19705 for flag in $(EXTRA_HOST_FLAGS) ; do \
19706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19707 done; \
19708 echo "Doing maintainer-clean in wdiff" ; \
19709 (cd wdiff && \
19710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19712 "RANLIB=$${RANLIB}" \
19713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19714 maintainer-clean) \
19715 || exit 1
19717 @endif wdiff
19720 .PHONY: configure-zip maybe-configure-zip
19721 maybe-configure-zip:
19722 @if zip
19723 maybe-configure-zip: configure-zip
19724 configure-zip:
19725 @test ! -f zip/Makefile || exit 0; \
19726 [ -d zip ] || mkdir zip; \
19727 r=`${PWD_COMMAND}`; export r; \
19728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19729 $(HOST_EXPORTS) \
19730 echo Configuring in zip; \
19731 cd zip || exit 1; \
19732 case $(srcdir) in \
19733 \.) \
19734 srcdiroption="--srcdir=."; \
19735 libsrcdir=".";; \
19736 /* | [A-Za-z]:[\\/]*) \
19737 srcdiroption="--srcdir=$(srcdir)/zip"; \
19738 libsrcdir="$$s/zip";; \
19739 *) \
19740 srcdiroption="--srcdir=../$(srcdir)/zip"; \
19741 libsrcdir="$$s/zip";; \
19742 esac; \
19743 $(SHELL) $${libsrcdir}/configure \
19744 $(HOST_CONFIGARGS) $${srcdiroption} \
19745 || exit 1
19746 @endif zip
19748 .PHONY: all-zip maybe-all-zip
19749 maybe-all-zip:
19750 @if zip
19751 maybe-all-zip: all-zip
19752 all-zip: configure-zip
19753 @r=`${PWD_COMMAND}`; export r; \
19754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19755 $(SET_LIB_PATH) \
19756 $(HOST_EXPORTS) \
19757 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
19758 @endif zip
19760 .PHONY: check-zip maybe-check-zip
19761 maybe-check-zip:
19762 @if zip
19763 maybe-check-zip: check-zip
19765 # This module is only tested in a native toolchain.
19766 check-zip:
19767 @if [ '$(host)' = '$(target)' ] ; then \
19768 r=`${PWD_COMMAND}`; export r; \
19769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19770 $(SET_LIB_PATH) \
19771 $(HOST_EXPORTS) \
19772 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
19775 @endif zip
19777 .PHONY: install-zip maybe-install-zip
19778 maybe-install-zip:
19779 @if zip
19780 maybe-install-zip: install-zip
19782 install-zip: installdirs
19783 @r=`${PWD_COMMAND}`; export r; \
19784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19785 $(SET_LIB_PATH) \
19786 $(HOST_EXPORTS) \
19787 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
19789 @endif zip
19791 # Other targets (info, dvi, etc.)
19793 .PHONY: maybe-info-zip info-zip
19794 maybe-info-zip:
19795 @if zip
19796 maybe-info-zip: info-zip
19798 info-zip: \
19799 configure-zip
19800 @[ -f ./zip/Makefile ] || exit 0; \
19801 r=`${PWD_COMMAND}`; export r; \
19802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19803 $(SET_LIB_PATH) \
19804 $(HOST_EXPORTS) \
19805 for flag in $(EXTRA_HOST_FLAGS) ; do \
19806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19807 done; \
19808 echo "Doing info in zip" ; \
19809 (cd zip && \
19810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19812 "RANLIB=$${RANLIB}" \
19813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19814 info) \
19815 || exit 1
19817 @endif zip
19819 .PHONY: maybe-dvi-zip dvi-zip
19820 maybe-dvi-zip:
19821 @if zip
19822 maybe-dvi-zip: dvi-zip
19824 dvi-zip: \
19825 configure-zip
19826 @[ -f ./zip/Makefile ] || exit 0; \
19827 r=`${PWD_COMMAND}`; export r; \
19828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19829 $(SET_LIB_PATH) \
19830 $(HOST_EXPORTS) \
19831 for flag in $(EXTRA_HOST_FLAGS) ; do \
19832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19833 done; \
19834 echo "Doing dvi in zip" ; \
19835 (cd zip && \
19836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19838 "RANLIB=$${RANLIB}" \
19839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19840 dvi) \
19841 || exit 1
19843 @endif zip
19845 .PHONY: maybe-TAGS-zip TAGS-zip
19846 maybe-TAGS-zip:
19847 @if zip
19848 maybe-TAGS-zip: TAGS-zip
19850 TAGS-zip: \
19851 configure-zip
19852 @[ -f ./zip/Makefile ] || exit 0; \
19853 r=`${PWD_COMMAND}`; export r; \
19854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19855 $(SET_LIB_PATH) \
19856 $(HOST_EXPORTS) \
19857 for flag in $(EXTRA_HOST_FLAGS) ; do \
19858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19859 done; \
19860 echo "Doing TAGS in zip" ; \
19861 (cd zip && \
19862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19864 "RANLIB=$${RANLIB}" \
19865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19866 TAGS) \
19867 || exit 1
19869 @endif zip
19871 .PHONY: maybe-install-info-zip install-info-zip
19872 maybe-install-info-zip:
19873 @if zip
19874 maybe-install-info-zip: install-info-zip
19876 install-info-zip: \
19877 configure-zip \
19878 info-zip
19879 @[ -f ./zip/Makefile ] || exit 0; \
19880 r=`${PWD_COMMAND}`; export r; \
19881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19882 $(SET_LIB_PATH) \
19883 $(HOST_EXPORTS) \
19884 for flag in $(EXTRA_HOST_FLAGS) ; do \
19885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19886 done; \
19887 echo "Doing install-info in zip" ; \
19888 (cd zip && \
19889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19891 "RANLIB=$${RANLIB}" \
19892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19893 install-info) \
19894 || exit 1
19896 @endif zip
19898 .PHONY: maybe-installcheck-zip installcheck-zip
19899 maybe-installcheck-zip:
19900 @if zip
19901 maybe-installcheck-zip: installcheck-zip
19903 installcheck-zip: \
19904 configure-zip
19905 @[ -f ./zip/Makefile ] || exit 0; \
19906 r=`${PWD_COMMAND}`; export r; \
19907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19908 $(SET_LIB_PATH) \
19909 $(HOST_EXPORTS) \
19910 for flag in $(EXTRA_HOST_FLAGS) ; do \
19911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19912 done; \
19913 echo "Doing installcheck in zip" ; \
19914 (cd zip && \
19915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19917 "RANLIB=$${RANLIB}" \
19918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19919 installcheck) \
19920 || exit 1
19922 @endif zip
19924 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
19925 maybe-mostlyclean-zip:
19926 @if zip
19927 maybe-mostlyclean-zip: mostlyclean-zip
19929 mostlyclean-zip:
19930 @[ -f ./zip/Makefile ] || exit 0; \
19931 r=`${PWD_COMMAND}`; export r; \
19932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19933 $(SET_LIB_PATH) \
19934 $(HOST_EXPORTS) \
19935 for flag in $(EXTRA_HOST_FLAGS) ; do \
19936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19937 done; \
19938 echo "Doing mostlyclean in zip" ; \
19939 (cd zip && \
19940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19942 "RANLIB=$${RANLIB}" \
19943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19944 mostlyclean) \
19945 || exit 1
19947 @endif zip
19949 .PHONY: maybe-clean-zip clean-zip
19950 maybe-clean-zip:
19951 @if zip
19952 maybe-clean-zip: clean-zip
19954 clean-zip:
19955 @[ -f ./zip/Makefile ] || exit 0; \
19956 r=`${PWD_COMMAND}`; export r; \
19957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19958 $(SET_LIB_PATH) \
19959 $(HOST_EXPORTS) \
19960 for flag in $(EXTRA_HOST_FLAGS) ; do \
19961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19962 done; \
19963 echo "Doing clean in zip" ; \
19964 (cd zip && \
19965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19967 "RANLIB=$${RANLIB}" \
19968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19969 clean) \
19970 || exit 1
19972 @endif zip
19974 .PHONY: maybe-distclean-zip distclean-zip
19975 maybe-distclean-zip:
19976 @if zip
19977 maybe-distclean-zip: distclean-zip
19979 distclean-zip:
19980 @[ -f ./zip/Makefile ] || exit 0; \
19981 r=`${PWD_COMMAND}`; export r; \
19982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19983 $(SET_LIB_PATH) \
19984 $(HOST_EXPORTS) \
19985 for flag in $(EXTRA_HOST_FLAGS) ; do \
19986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19987 done; \
19988 echo "Doing distclean in zip" ; \
19989 (cd zip && \
19990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19992 "RANLIB=$${RANLIB}" \
19993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19994 distclean) \
19995 || exit 1
19997 @endif zip
19999 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
20000 maybe-maintainer-clean-zip:
20001 @if zip
20002 maybe-maintainer-clean-zip: maintainer-clean-zip
20004 maintainer-clean-zip:
20005 @[ -f ./zip/Makefile ] || exit 0; \
20006 r=`${PWD_COMMAND}`; export r; \
20007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20008 $(SET_LIB_PATH) \
20009 $(HOST_EXPORTS) \
20010 for flag in $(EXTRA_HOST_FLAGS) ; do \
20011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20012 done; \
20013 echo "Doing maintainer-clean in zip" ; \
20014 (cd zip && \
20015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20017 "RANLIB=$${RANLIB}" \
20018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20019 maintainer-clean) \
20020 || exit 1
20022 @endif zip
20025 .PHONY: configure-zlib maybe-configure-zlib
20026 maybe-configure-zlib:
20027 @if zlib
20028 maybe-configure-zlib: configure-zlib
20029 configure-zlib:
20030 @test -f stage_last && exit 0; \
20031 test ! -f zlib/Makefile || exit 0; \
20032 [ -d zlib ] || mkdir zlib; \
20033 r=`${PWD_COMMAND}`; export r; \
20034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20035 $(HOST_EXPORTS) \
20036 echo Configuring in zlib; \
20037 cd zlib || exit 1; \
20038 case $(srcdir) in \
20039 \.) \
20040 srcdiroption="--srcdir=."; \
20041 libsrcdir=".";; \
20042 /* | [A-Za-z]:[\\/]*) \
20043 srcdiroption="--srcdir=$(srcdir)/zlib"; \
20044 libsrcdir="$$s/zlib";; \
20045 *) \
20046 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
20047 libsrcdir="$$s/zlib";; \
20048 esac; \
20049 $(SHELL) $${libsrcdir}/configure \
20050 $(HOST_CONFIGARGS) $${srcdiroption} \
20051 || exit 1
20052 @endif zlib
20054 .PHONY: all-zlib maybe-all-zlib
20055 maybe-all-zlib:
20056 @if zlib
20057 maybe-all-zlib: all-zlib
20058 all-zlib: configure-zlib
20059 @test -f stage_last && exit 0; \
20060 r=`${PWD_COMMAND}`; export r; \
20061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20062 $(SET_LIB_PATH) \
20063 $(HOST_EXPORTS) \
20064 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
20065 @endif zlib
20067 .PHONY: check-zlib maybe-check-zlib
20068 maybe-check-zlib:
20069 @if zlib
20070 maybe-check-zlib: check-zlib
20072 check-zlib:
20074 @endif zlib
20076 .PHONY: install-zlib maybe-install-zlib
20077 maybe-install-zlib:
20078 @if zlib
20079 maybe-install-zlib: install-zlib
20081 install-zlib:
20083 @endif zlib
20085 # Other targets (info, dvi, etc.)
20087 .PHONY: maybe-info-zlib info-zlib
20088 maybe-info-zlib:
20089 @if zlib
20090 maybe-info-zlib: info-zlib
20092 info-zlib: \
20093 configure-zlib
20094 @[ -f ./zlib/Makefile ] || exit 0; \
20095 r=`${PWD_COMMAND}`; export r; \
20096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20097 $(SET_LIB_PATH) \
20098 $(HOST_EXPORTS) \
20099 for flag in $(EXTRA_HOST_FLAGS) ; do \
20100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20101 done; \
20102 echo "Doing info in zlib" ; \
20103 (cd zlib && \
20104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20106 "RANLIB=$${RANLIB}" \
20107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20108 info) \
20109 || exit 1
20111 @endif zlib
20113 .PHONY: maybe-dvi-zlib dvi-zlib
20114 maybe-dvi-zlib:
20115 @if zlib
20116 maybe-dvi-zlib: dvi-zlib
20118 dvi-zlib: \
20119 configure-zlib
20120 @[ -f ./zlib/Makefile ] || exit 0; \
20121 r=`${PWD_COMMAND}`; export r; \
20122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20123 $(SET_LIB_PATH) \
20124 $(HOST_EXPORTS) \
20125 for flag in $(EXTRA_HOST_FLAGS) ; do \
20126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20127 done; \
20128 echo "Doing dvi in zlib" ; \
20129 (cd zlib && \
20130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20132 "RANLIB=$${RANLIB}" \
20133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20134 dvi) \
20135 || exit 1
20137 @endif zlib
20139 .PHONY: maybe-TAGS-zlib TAGS-zlib
20140 maybe-TAGS-zlib:
20141 @if zlib
20142 maybe-TAGS-zlib: TAGS-zlib
20144 TAGS-zlib: \
20145 configure-zlib
20146 @[ -f ./zlib/Makefile ] || exit 0; \
20147 r=`${PWD_COMMAND}`; export r; \
20148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20149 $(SET_LIB_PATH) \
20150 $(HOST_EXPORTS) \
20151 for flag in $(EXTRA_HOST_FLAGS) ; do \
20152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20153 done; \
20154 echo "Doing TAGS in zlib" ; \
20155 (cd zlib && \
20156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20158 "RANLIB=$${RANLIB}" \
20159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20160 TAGS) \
20161 || exit 1
20163 @endif zlib
20165 .PHONY: maybe-install-info-zlib install-info-zlib
20166 maybe-install-info-zlib:
20167 @if zlib
20168 maybe-install-info-zlib: install-info-zlib
20170 install-info-zlib: \
20171 configure-zlib \
20172 info-zlib
20173 @[ -f ./zlib/Makefile ] || exit 0; \
20174 r=`${PWD_COMMAND}`; export r; \
20175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20176 $(SET_LIB_PATH) \
20177 $(HOST_EXPORTS) \
20178 for flag in $(EXTRA_HOST_FLAGS) ; do \
20179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20180 done; \
20181 echo "Doing install-info in zlib" ; \
20182 (cd zlib && \
20183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20185 "RANLIB=$${RANLIB}" \
20186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20187 install-info) \
20188 || exit 1
20190 @endif zlib
20192 .PHONY: maybe-installcheck-zlib installcheck-zlib
20193 maybe-installcheck-zlib:
20194 @if zlib
20195 maybe-installcheck-zlib: installcheck-zlib
20197 installcheck-zlib: \
20198 configure-zlib
20199 @[ -f ./zlib/Makefile ] || exit 0; \
20200 r=`${PWD_COMMAND}`; export r; \
20201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20202 $(SET_LIB_PATH) \
20203 $(HOST_EXPORTS) \
20204 for flag in $(EXTRA_HOST_FLAGS) ; do \
20205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20206 done; \
20207 echo "Doing installcheck in zlib" ; \
20208 (cd zlib && \
20209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20211 "RANLIB=$${RANLIB}" \
20212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20213 installcheck) \
20214 || exit 1
20216 @endif zlib
20218 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
20219 maybe-mostlyclean-zlib:
20220 @if zlib
20221 maybe-mostlyclean-zlib: mostlyclean-zlib
20223 mostlyclean-zlib:
20224 @[ -f ./zlib/Makefile ] || exit 0; \
20225 r=`${PWD_COMMAND}`; export r; \
20226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20227 $(SET_LIB_PATH) \
20228 $(HOST_EXPORTS) \
20229 for flag in $(EXTRA_HOST_FLAGS) ; do \
20230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20231 done; \
20232 echo "Doing mostlyclean in zlib" ; \
20233 (cd zlib && \
20234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20236 "RANLIB=$${RANLIB}" \
20237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20238 mostlyclean) \
20239 || exit 1
20241 @endif zlib
20243 .PHONY: maybe-clean-zlib clean-zlib
20244 maybe-clean-zlib:
20245 @if zlib
20246 maybe-clean-zlib: clean-zlib
20248 clean-zlib:
20249 @[ -f ./zlib/Makefile ] || exit 0; \
20250 r=`${PWD_COMMAND}`; export r; \
20251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20252 $(SET_LIB_PATH) \
20253 $(HOST_EXPORTS) \
20254 for flag in $(EXTRA_HOST_FLAGS) ; do \
20255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20256 done; \
20257 echo "Doing clean in zlib" ; \
20258 (cd zlib && \
20259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20261 "RANLIB=$${RANLIB}" \
20262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20263 clean) \
20264 || exit 1
20266 @endif zlib
20268 .PHONY: maybe-distclean-zlib distclean-zlib
20269 maybe-distclean-zlib:
20270 @if zlib
20271 maybe-distclean-zlib: distclean-zlib
20273 distclean-zlib:
20274 @[ -f ./zlib/Makefile ] || exit 0; \
20275 r=`${PWD_COMMAND}`; export r; \
20276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20277 $(SET_LIB_PATH) \
20278 $(HOST_EXPORTS) \
20279 for flag in $(EXTRA_HOST_FLAGS) ; do \
20280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20281 done; \
20282 echo "Doing distclean in zlib" ; \
20283 (cd zlib && \
20284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20286 "RANLIB=$${RANLIB}" \
20287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20288 distclean) \
20289 || exit 1
20291 @endif zlib
20293 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
20294 maybe-maintainer-clean-zlib:
20295 @if zlib
20296 maybe-maintainer-clean-zlib: maintainer-clean-zlib
20298 maintainer-clean-zlib:
20299 @[ -f ./zlib/Makefile ] || exit 0; \
20300 r=`${PWD_COMMAND}`; export r; \
20301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20302 $(SET_LIB_PATH) \
20303 $(HOST_EXPORTS) \
20304 for flag in $(EXTRA_HOST_FLAGS) ; do \
20305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20306 done; \
20307 echo "Doing maintainer-clean in zlib" ; \
20308 (cd zlib && \
20309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20311 "RANLIB=$${RANLIB}" \
20312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20313 maintainer-clean) \
20314 || exit 1
20316 @endif zlib
20319 .PHONY: configure-gdb maybe-configure-gdb
20320 maybe-configure-gdb:
20321 @if gdb
20322 maybe-configure-gdb: configure-gdb
20323 configure-gdb:
20324 @test ! -f gdb/Makefile || exit 0; \
20325 [ -d gdb ] || mkdir gdb; \
20326 r=`${PWD_COMMAND}`; export r; \
20327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20328 $(HOST_EXPORTS) \
20329 echo Configuring in gdb; \
20330 cd gdb || exit 1; \
20331 case $(srcdir) in \
20332 \.) \
20333 srcdiroption="--srcdir=."; \
20334 libsrcdir=".";; \
20335 /* | [A-Za-z]:[\\/]*) \
20336 srcdiroption="--srcdir=$(srcdir)/gdb"; \
20337 libsrcdir="$$s/gdb";; \
20338 *) \
20339 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
20340 libsrcdir="$$s/gdb";; \
20341 esac; \
20342 $(SHELL) $${libsrcdir}/configure \
20343 $(HOST_CONFIGARGS) $${srcdiroption} \
20344 || exit 1
20345 @endif gdb
20347 .PHONY: all-gdb maybe-all-gdb
20348 maybe-all-gdb:
20349 @if gdb
20350 maybe-all-gdb: all-gdb
20351 all-gdb: configure-gdb
20352 @r=`${PWD_COMMAND}`; export r; \
20353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20354 $(SET_LIB_PATH) \
20355 $(HOST_EXPORTS) \
20356 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20357 @endif gdb
20359 .PHONY: check-gdb maybe-check-gdb
20360 maybe-check-gdb:
20361 @if gdb
20362 maybe-check-gdb: check-gdb
20364 check-gdb:
20365 @r=`${PWD_COMMAND}`; export r; \
20366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20367 $(SET_LIB_PATH) \
20368 $(HOST_EXPORTS) \
20369 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20371 @endif gdb
20373 .PHONY: install-gdb maybe-install-gdb
20374 maybe-install-gdb:
20375 @if gdb
20376 maybe-install-gdb: install-gdb
20378 install-gdb: installdirs
20379 @r=`${PWD_COMMAND}`; export r; \
20380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20381 $(SET_LIB_PATH) \
20382 $(HOST_EXPORTS) \
20383 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20385 @endif gdb
20387 # Other targets (info, dvi, etc.)
20389 .PHONY: maybe-info-gdb info-gdb
20390 maybe-info-gdb:
20391 @if gdb
20392 maybe-info-gdb: info-gdb
20394 info-gdb: \
20395 configure-gdb
20396 @[ -f ./gdb/Makefile ] || exit 0; \
20397 r=`${PWD_COMMAND}`; export r; \
20398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20399 $(SET_LIB_PATH) \
20400 $(HOST_EXPORTS) \
20401 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20403 done; \
20404 echo "Doing info in gdb" ; \
20405 (cd gdb && \
20406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20408 "RANLIB=$${RANLIB}" \
20409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20410 info) \
20411 || exit 1
20413 @endif gdb
20415 .PHONY: maybe-dvi-gdb dvi-gdb
20416 maybe-dvi-gdb:
20417 @if gdb
20418 maybe-dvi-gdb: dvi-gdb
20420 dvi-gdb: \
20421 configure-gdb
20422 @[ -f ./gdb/Makefile ] || exit 0; \
20423 r=`${PWD_COMMAND}`; export r; \
20424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20425 $(SET_LIB_PATH) \
20426 $(HOST_EXPORTS) \
20427 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20429 done; \
20430 echo "Doing dvi in gdb" ; \
20431 (cd gdb && \
20432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20434 "RANLIB=$${RANLIB}" \
20435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20436 dvi) \
20437 || exit 1
20439 @endif gdb
20441 .PHONY: maybe-TAGS-gdb TAGS-gdb
20442 maybe-TAGS-gdb:
20443 @if gdb
20444 maybe-TAGS-gdb: TAGS-gdb
20446 TAGS-gdb: \
20447 configure-gdb
20448 @[ -f ./gdb/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) $(X11_FLAGS_TO_PASS); do \
20454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20455 done; \
20456 echo "Doing TAGS in gdb" ; \
20457 (cd gdb && \
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 TAGS) \
20463 || exit 1
20465 @endif gdb
20467 .PHONY: maybe-install-info-gdb install-info-gdb
20468 maybe-install-info-gdb:
20469 @if gdb
20470 maybe-install-info-gdb: install-info-gdb
20472 install-info-gdb: \
20473 configure-gdb \
20474 info-gdb
20475 @[ -f ./gdb/Makefile ] || exit 0; \
20476 r=`${PWD_COMMAND}`; export r; \
20477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20478 $(SET_LIB_PATH) \
20479 $(HOST_EXPORTS) \
20480 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20482 done; \
20483 echo "Doing install-info in gdb" ; \
20484 (cd gdb && \
20485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20487 "RANLIB=$${RANLIB}" \
20488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20489 install-info) \
20490 || exit 1
20492 @endif gdb
20494 .PHONY: maybe-installcheck-gdb installcheck-gdb
20495 maybe-installcheck-gdb:
20496 @if gdb
20497 maybe-installcheck-gdb: installcheck-gdb
20499 installcheck-gdb: \
20500 configure-gdb
20501 @[ -f ./gdb/Makefile ] || exit 0; \
20502 r=`${PWD_COMMAND}`; export r; \
20503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20504 $(SET_LIB_PATH) \
20505 $(HOST_EXPORTS) \
20506 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20508 done; \
20509 echo "Doing installcheck in gdb" ; \
20510 (cd gdb && \
20511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20513 "RANLIB=$${RANLIB}" \
20514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20515 installcheck) \
20516 || exit 1
20518 @endif gdb
20520 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20521 maybe-mostlyclean-gdb:
20522 @if gdb
20523 maybe-mostlyclean-gdb: mostlyclean-gdb
20525 mostlyclean-gdb:
20526 @[ -f ./gdb/Makefile ] || exit 0; \
20527 r=`${PWD_COMMAND}`; export r; \
20528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20529 $(SET_LIB_PATH) \
20530 $(HOST_EXPORTS) \
20531 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20533 done; \
20534 echo "Doing mostlyclean in gdb" ; \
20535 (cd gdb && \
20536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20538 "RANLIB=$${RANLIB}" \
20539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20540 mostlyclean) \
20541 || exit 1
20543 @endif gdb
20545 .PHONY: maybe-clean-gdb clean-gdb
20546 maybe-clean-gdb:
20547 @if gdb
20548 maybe-clean-gdb: clean-gdb
20550 clean-gdb:
20551 @[ -f ./gdb/Makefile ] || exit 0; \
20552 r=`${PWD_COMMAND}`; export r; \
20553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20554 $(SET_LIB_PATH) \
20555 $(HOST_EXPORTS) \
20556 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20558 done; \
20559 echo "Doing clean in gdb" ; \
20560 (cd gdb && \
20561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20563 "RANLIB=$${RANLIB}" \
20564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20565 clean) \
20566 || exit 1
20568 @endif gdb
20570 .PHONY: maybe-distclean-gdb distclean-gdb
20571 maybe-distclean-gdb:
20572 @if gdb
20573 maybe-distclean-gdb: distclean-gdb
20575 distclean-gdb:
20576 @[ -f ./gdb/Makefile ] || exit 0; \
20577 r=`${PWD_COMMAND}`; export r; \
20578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20579 $(SET_LIB_PATH) \
20580 $(HOST_EXPORTS) \
20581 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20583 done; \
20584 echo "Doing distclean in gdb" ; \
20585 (cd gdb && \
20586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20588 "RANLIB=$${RANLIB}" \
20589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20590 distclean) \
20591 || exit 1
20593 @endif gdb
20595 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20596 maybe-maintainer-clean-gdb:
20597 @if gdb
20598 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20600 maintainer-clean-gdb:
20601 @[ -f ./gdb/Makefile ] || exit 0; \
20602 r=`${PWD_COMMAND}`; export r; \
20603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20604 $(SET_LIB_PATH) \
20605 $(HOST_EXPORTS) \
20606 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20608 done; \
20609 echo "Doing maintainer-clean in gdb" ; \
20610 (cd gdb && \
20611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20613 "RANLIB=$${RANLIB}" \
20614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20615 maintainer-clean) \
20616 || exit 1
20618 @endif gdb
20621 .PHONY: configure-expect maybe-configure-expect
20622 maybe-configure-expect:
20623 @if expect
20624 maybe-configure-expect: configure-expect
20625 configure-expect:
20626 @test ! -f expect/Makefile || exit 0; \
20627 [ -d expect ] || mkdir expect; \
20628 r=`${PWD_COMMAND}`; export r; \
20629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20630 $(HOST_EXPORTS) \
20631 echo Configuring in expect; \
20632 cd expect || exit 1; \
20633 case $(srcdir) in \
20634 \.) \
20635 srcdiroption="--srcdir=."; \
20636 libsrcdir=".";; \
20637 /* | [A-Za-z]:[\\/]*) \
20638 srcdiroption="--srcdir=$(srcdir)/expect"; \
20639 libsrcdir="$$s/expect";; \
20640 *) \
20641 srcdiroption="--srcdir=../$(srcdir)/expect"; \
20642 libsrcdir="$$s/expect";; \
20643 esac; \
20644 $(SHELL) $${libsrcdir}/configure \
20645 $(HOST_CONFIGARGS) $${srcdiroption} \
20646 || exit 1
20647 @endif expect
20649 .PHONY: all-expect maybe-all-expect
20650 maybe-all-expect:
20651 @if expect
20652 maybe-all-expect: all-expect
20653 all-expect: configure-expect
20654 @r=`${PWD_COMMAND}`; export r; \
20655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20656 $(SET_LIB_PATH) \
20657 $(HOST_EXPORTS) \
20658 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20659 @endif expect
20661 .PHONY: check-expect maybe-check-expect
20662 maybe-check-expect:
20663 @if expect
20664 maybe-check-expect: check-expect
20666 check-expect:
20667 @r=`${PWD_COMMAND}`; export r; \
20668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20669 $(SET_LIB_PATH) \
20670 $(HOST_EXPORTS) \
20671 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20673 @endif expect
20675 .PHONY: install-expect maybe-install-expect
20676 maybe-install-expect:
20677 @if expect
20678 maybe-install-expect: install-expect
20680 install-expect: installdirs
20681 @r=`${PWD_COMMAND}`; export r; \
20682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20683 $(SET_LIB_PATH) \
20684 $(HOST_EXPORTS) \
20685 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20687 @endif expect
20689 # Other targets (info, dvi, etc.)
20691 .PHONY: maybe-info-expect info-expect
20692 maybe-info-expect:
20693 @if expect
20694 maybe-info-expect: info-expect
20696 info-expect: \
20697 configure-expect
20698 @[ -f ./expect/Makefile ] || exit 0; \
20699 r=`${PWD_COMMAND}`; export r; \
20700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20701 $(SET_LIB_PATH) \
20702 $(HOST_EXPORTS) \
20703 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20705 done; \
20706 echo "Doing info in expect" ; \
20707 (cd expect && \
20708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20710 "RANLIB=$${RANLIB}" \
20711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20712 info) \
20713 || exit 1
20715 @endif expect
20717 .PHONY: maybe-dvi-expect dvi-expect
20718 maybe-dvi-expect:
20719 @if expect
20720 maybe-dvi-expect: dvi-expect
20722 dvi-expect: \
20723 configure-expect
20724 @[ -f ./expect/Makefile ] || exit 0; \
20725 r=`${PWD_COMMAND}`; export r; \
20726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20727 $(SET_LIB_PATH) \
20728 $(HOST_EXPORTS) \
20729 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20731 done; \
20732 echo "Doing dvi in expect" ; \
20733 (cd expect && \
20734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20736 "RANLIB=$${RANLIB}" \
20737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20738 dvi) \
20739 || exit 1
20741 @endif expect
20743 .PHONY: maybe-TAGS-expect TAGS-expect
20744 maybe-TAGS-expect:
20745 @if expect
20746 maybe-TAGS-expect: TAGS-expect
20748 TAGS-expect: \
20749 configure-expect
20750 @[ -f ./expect/Makefile ] || exit 0; \
20751 r=`${PWD_COMMAND}`; export r; \
20752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20753 $(SET_LIB_PATH) \
20754 $(HOST_EXPORTS) \
20755 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20757 done; \
20758 echo "Doing TAGS in expect" ; \
20759 (cd expect && \
20760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20762 "RANLIB=$${RANLIB}" \
20763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20764 TAGS) \
20765 || exit 1
20767 @endif expect
20769 .PHONY: maybe-install-info-expect install-info-expect
20770 maybe-install-info-expect:
20771 @if expect
20772 maybe-install-info-expect: install-info-expect
20774 install-info-expect: \
20775 configure-expect \
20776 info-expect
20777 @[ -f ./expect/Makefile ] || exit 0; \
20778 r=`${PWD_COMMAND}`; export r; \
20779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20780 $(SET_LIB_PATH) \
20781 $(HOST_EXPORTS) \
20782 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20784 done; \
20785 echo "Doing install-info in expect" ; \
20786 (cd expect && \
20787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20789 "RANLIB=$${RANLIB}" \
20790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20791 install-info) \
20792 || exit 1
20794 @endif expect
20796 .PHONY: maybe-installcheck-expect installcheck-expect
20797 maybe-installcheck-expect:
20798 @if expect
20799 maybe-installcheck-expect: installcheck-expect
20801 installcheck-expect: \
20802 configure-expect
20803 @[ -f ./expect/Makefile ] || exit 0; \
20804 r=`${PWD_COMMAND}`; export r; \
20805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20806 $(SET_LIB_PATH) \
20807 $(HOST_EXPORTS) \
20808 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20810 done; \
20811 echo "Doing installcheck in expect" ; \
20812 (cd expect && \
20813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20815 "RANLIB=$${RANLIB}" \
20816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20817 installcheck) \
20818 || exit 1
20820 @endif expect
20822 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
20823 maybe-mostlyclean-expect:
20824 @if expect
20825 maybe-mostlyclean-expect: mostlyclean-expect
20827 mostlyclean-expect:
20828 @[ -f ./expect/Makefile ] || exit 0; \
20829 r=`${PWD_COMMAND}`; export r; \
20830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20831 $(SET_LIB_PATH) \
20832 $(HOST_EXPORTS) \
20833 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20835 done; \
20836 echo "Doing mostlyclean in expect" ; \
20837 (cd expect && \
20838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20840 "RANLIB=$${RANLIB}" \
20841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20842 mostlyclean) \
20843 || exit 1
20845 @endif expect
20847 .PHONY: maybe-clean-expect clean-expect
20848 maybe-clean-expect:
20849 @if expect
20850 maybe-clean-expect: clean-expect
20852 clean-expect:
20853 @[ -f ./expect/Makefile ] || exit 0; \
20854 r=`${PWD_COMMAND}`; export r; \
20855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20856 $(SET_LIB_PATH) \
20857 $(HOST_EXPORTS) \
20858 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20860 done; \
20861 echo "Doing clean in expect" ; \
20862 (cd expect && \
20863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20865 "RANLIB=$${RANLIB}" \
20866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20867 clean) \
20868 || exit 1
20870 @endif expect
20872 .PHONY: maybe-distclean-expect distclean-expect
20873 maybe-distclean-expect:
20874 @if expect
20875 maybe-distclean-expect: distclean-expect
20877 distclean-expect:
20878 @[ -f ./expect/Makefile ] || exit 0; \
20879 r=`${PWD_COMMAND}`; export r; \
20880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20881 $(SET_LIB_PATH) \
20882 $(HOST_EXPORTS) \
20883 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20885 done; \
20886 echo "Doing distclean in expect" ; \
20887 (cd expect && \
20888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20890 "RANLIB=$${RANLIB}" \
20891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20892 distclean) \
20893 || exit 1
20895 @endif expect
20897 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
20898 maybe-maintainer-clean-expect:
20899 @if expect
20900 maybe-maintainer-clean-expect: maintainer-clean-expect
20902 maintainer-clean-expect:
20903 @[ -f ./expect/Makefile ] || exit 0; \
20904 r=`${PWD_COMMAND}`; export r; \
20905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20906 $(SET_LIB_PATH) \
20907 $(HOST_EXPORTS) \
20908 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20910 done; \
20911 echo "Doing maintainer-clean in expect" ; \
20912 (cd expect && \
20913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20915 "RANLIB=$${RANLIB}" \
20916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20917 maintainer-clean) \
20918 || exit 1
20920 @endif expect
20923 .PHONY: configure-guile maybe-configure-guile
20924 maybe-configure-guile:
20925 @if guile
20926 maybe-configure-guile: configure-guile
20927 configure-guile:
20928 @test ! -f guile/Makefile || exit 0; \
20929 [ -d guile ] || mkdir guile; \
20930 r=`${PWD_COMMAND}`; export r; \
20931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20932 $(HOST_EXPORTS) \
20933 echo Configuring in guile; \
20934 cd guile || exit 1; \
20935 case $(srcdir) in \
20936 \.) \
20937 srcdiroption="--srcdir=."; \
20938 libsrcdir=".";; \
20939 /* | [A-Za-z]:[\\/]*) \
20940 srcdiroption="--srcdir=$(srcdir)/guile"; \
20941 libsrcdir="$$s/guile";; \
20942 *) \
20943 srcdiroption="--srcdir=../$(srcdir)/guile"; \
20944 libsrcdir="$$s/guile";; \
20945 esac; \
20946 $(SHELL) $${libsrcdir}/configure \
20947 $(HOST_CONFIGARGS) $${srcdiroption} \
20948 || exit 1
20949 @endif guile
20951 .PHONY: all-guile maybe-all-guile
20952 maybe-all-guile:
20953 @if guile
20954 maybe-all-guile: all-guile
20955 all-guile: configure-guile
20956 @r=`${PWD_COMMAND}`; export r; \
20957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20958 $(SET_LIB_PATH) \
20959 $(HOST_EXPORTS) \
20960 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20961 @endif guile
20963 .PHONY: check-guile maybe-check-guile
20964 maybe-check-guile:
20965 @if guile
20966 maybe-check-guile: check-guile
20968 check-guile:
20969 @r=`${PWD_COMMAND}`; export r; \
20970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20971 $(SET_LIB_PATH) \
20972 $(HOST_EXPORTS) \
20973 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20975 @endif guile
20977 .PHONY: install-guile maybe-install-guile
20978 maybe-install-guile:
20979 @if guile
20980 maybe-install-guile: install-guile
20982 install-guile: installdirs
20983 @r=`${PWD_COMMAND}`; export r; \
20984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20985 $(SET_LIB_PATH) \
20986 $(HOST_EXPORTS) \
20987 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20989 @endif guile
20991 # Other targets (info, dvi, etc.)
20993 .PHONY: maybe-info-guile info-guile
20994 maybe-info-guile:
20995 @if guile
20996 maybe-info-guile: info-guile
20998 info-guile: \
20999 configure-guile
21000 @[ -f ./guile/Makefile ] || exit 0; \
21001 r=`${PWD_COMMAND}`; export r; \
21002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21003 $(SET_LIB_PATH) \
21004 $(HOST_EXPORTS) \
21005 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21007 done; \
21008 echo "Doing info in guile" ; \
21009 (cd guile && \
21010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21012 "RANLIB=$${RANLIB}" \
21013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21014 info) \
21015 || exit 1
21017 @endif guile
21019 .PHONY: maybe-dvi-guile dvi-guile
21020 maybe-dvi-guile:
21021 @if guile
21022 maybe-dvi-guile: dvi-guile
21024 dvi-guile: \
21025 configure-guile
21026 @[ -f ./guile/Makefile ] || exit 0; \
21027 r=`${PWD_COMMAND}`; export r; \
21028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21029 $(SET_LIB_PATH) \
21030 $(HOST_EXPORTS) \
21031 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21033 done; \
21034 echo "Doing dvi in guile" ; \
21035 (cd guile && \
21036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21038 "RANLIB=$${RANLIB}" \
21039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21040 dvi) \
21041 || exit 1
21043 @endif guile
21045 .PHONY: maybe-TAGS-guile TAGS-guile
21046 maybe-TAGS-guile:
21047 @if guile
21048 maybe-TAGS-guile: TAGS-guile
21050 TAGS-guile: \
21051 configure-guile
21052 @[ -f ./guile/Makefile ] || exit 0; \
21053 r=`${PWD_COMMAND}`; export r; \
21054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21055 $(SET_LIB_PATH) \
21056 $(HOST_EXPORTS) \
21057 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21059 done; \
21060 echo "Doing TAGS in guile" ; \
21061 (cd guile && \
21062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21064 "RANLIB=$${RANLIB}" \
21065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21066 TAGS) \
21067 || exit 1
21069 @endif guile
21071 .PHONY: maybe-install-info-guile install-info-guile
21072 maybe-install-info-guile:
21073 @if guile
21074 maybe-install-info-guile: install-info-guile
21076 install-info-guile: \
21077 configure-guile \
21078 info-guile
21079 @[ -f ./guile/Makefile ] || exit 0; \
21080 r=`${PWD_COMMAND}`; export r; \
21081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21082 $(SET_LIB_PATH) \
21083 $(HOST_EXPORTS) \
21084 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21086 done; \
21087 echo "Doing install-info in guile" ; \
21088 (cd guile && \
21089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21091 "RANLIB=$${RANLIB}" \
21092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21093 install-info) \
21094 || exit 1
21096 @endif guile
21098 .PHONY: maybe-installcheck-guile installcheck-guile
21099 maybe-installcheck-guile:
21100 @if guile
21101 maybe-installcheck-guile: installcheck-guile
21103 installcheck-guile: \
21104 configure-guile
21105 @[ -f ./guile/Makefile ] || exit 0; \
21106 r=`${PWD_COMMAND}`; export r; \
21107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21108 $(SET_LIB_PATH) \
21109 $(HOST_EXPORTS) \
21110 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21112 done; \
21113 echo "Doing installcheck in guile" ; \
21114 (cd guile && \
21115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21117 "RANLIB=$${RANLIB}" \
21118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21119 installcheck) \
21120 || exit 1
21122 @endif guile
21124 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
21125 maybe-mostlyclean-guile:
21126 @if guile
21127 maybe-mostlyclean-guile: mostlyclean-guile
21129 mostlyclean-guile:
21130 @[ -f ./guile/Makefile ] || exit 0; \
21131 r=`${PWD_COMMAND}`; export r; \
21132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21133 $(SET_LIB_PATH) \
21134 $(HOST_EXPORTS) \
21135 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21137 done; \
21138 echo "Doing mostlyclean in guile" ; \
21139 (cd guile && \
21140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21142 "RANLIB=$${RANLIB}" \
21143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21144 mostlyclean) \
21145 || exit 1
21147 @endif guile
21149 .PHONY: maybe-clean-guile clean-guile
21150 maybe-clean-guile:
21151 @if guile
21152 maybe-clean-guile: clean-guile
21154 clean-guile:
21155 @[ -f ./guile/Makefile ] || exit 0; \
21156 r=`${PWD_COMMAND}`; export r; \
21157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21158 $(SET_LIB_PATH) \
21159 $(HOST_EXPORTS) \
21160 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21162 done; \
21163 echo "Doing clean in guile" ; \
21164 (cd guile && \
21165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21167 "RANLIB=$${RANLIB}" \
21168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21169 clean) \
21170 || exit 1
21172 @endif guile
21174 .PHONY: maybe-distclean-guile distclean-guile
21175 maybe-distclean-guile:
21176 @if guile
21177 maybe-distclean-guile: distclean-guile
21179 distclean-guile:
21180 @[ -f ./guile/Makefile ] || exit 0; \
21181 r=`${PWD_COMMAND}`; export r; \
21182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21183 $(SET_LIB_PATH) \
21184 $(HOST_EXPORTS) \
21185 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21187 done; \
21188 echo "Doing distclean in guile" ; \
21189 (cd guile && \
21190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21192 "RANLIB=$${RANLIB}" \
21193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21194 distclean) \
21195 || exit 1
21197 @endif guile
21199 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
21200 maybe-maintainer-clean-guile:
21201 @if guile
21202 maybe-maintainer-clean-guile: maintainer-clean-guile
21204 maintainer-clean-guile:
21205 @[ -f ./guile/Makefile ] || exit 0; \
21206 r=`${PWD_COMMAND}`; export r; \
21207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21208 $(SET_LIB_PATH) \
21209 $(HOST_EXPORTS) \
21210 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21212 done; \
21213 echo "Doing maintainer-clean in guile" ; \
21214 (cd guile && \
21215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21217 "RANLIB=$${RANLIB}" \
21218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21219 maintainer-clean) \
21220 || exit 1
21222 @endif guile
21225 .PHONY: configure-tk maybe-configure-tk
21226 maybe-configure-tk:
21227 @if tk
21228 maybe-configure-tk: configure-tk
21229 configure-tk:
21230 @test ! -f tk/Makefile || exit 0; \
21231 [ -d tk ] || mkdir tk; \
21232 r=`${PWD_COMMAND}`; export r; \
21233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21234 $(HOST_EXPORTS) \
21235 echo Configuring in tk; \
21236 cd tk || exit 1; \
21237 case $(srcdir) in \
21238 \.) \
21239 srcdiroption="--srcdir=."; \
21240 libsrcdir=".";; \
21241 /* | [A-Za-z]:[\\/]*) \
21242 srcdiroption="--srcdir=$(srcdir)/tk"; \
21243 libsrcdir="$$s/tk";; \
21244 *) \
21245 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21246 libsrcdir="$$s/tk";; \
21247 esac; \
21248 $(SHELL) $${libsrcdir}/configure \
21249 $(HOST_CONFIGARGS) $${srcdiroption} \
21250 || exit 1
21251 @endif tk
21253 .PHONY: all-tk maybe-all-tk
21254 maybe-all-tk:
21255 @if tk
21256 maybe-all-tk: all-tk
21257 all-tk: configure-tk
21258 @r=`${PWD_COMMAND}`; export r; \
21259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21260 $(SET_LIB_PATH) \
21261 $(HOST_EXPORTS) \
21262 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21263 @endif tk
21265 .PHONY: check-tk maybe-check-tk
21266 maybe-check-tk:
21267 @if tk
21268 maybe-check-tk: check-tk
21270 check-tk:
21271 @r=`${PWD_COMMAND}`; export r; \
21272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21273 $(SET_LIB_PATH) \
21274 $(HOST_EXPORTS) \
21275 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21277 @endif tk
21279 .PHONY: install-tk maybe-install-tk
21280 maybe-install-tk:
21281 @if tk
21282 maybe-install-tk: install-tk
21284 install-tk: installdirs
21285 @r=`${PWD_COMMAND}`; export r; \
21286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21287 $(SET_LIB_PATH) \
21288 $(HOST_EXPORTS) \
21289 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21291 @endif tk
21293 # Other targets (info, dvi, etc.)
21295 .PHONY: maybe-info-tk info-tk
21296 maybe-info-tk:
21297 @if tk
21298 maybe-info-tk: info-tk
21300 info-tk: \
21301 configure-tk
21302 @[ -f ./tk/Makefile ] || exit 0; \
21303 r=`${PWD_COMMAND}`; export r; \
21304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21305 $(SET_LIB_PATH) \
21306 $(HOST_EXPORTS) \
21307 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21309 done; \
21310 echo "Doing info in tk" ; \
21311 (cd tk && \
21312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21314 "RANLIB=$${RANLIB}" \
21315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21316 info) \
21317 || exit 1
21319 @endif tk
21321 .PHONY: maybe-dvi-tk dvi-tk
21322 maybe-dvi-tk:
21323 @if tk
21324 maybe-dvi-tk: dvi-tk
21326 dvi-tk: \
21327 configure-tk
21328 @[ -f ./tk/Makefile ] || exit 0; \
21329 r=`${PWD_COMMAND}`; export r; \
21330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21331 $(SET_LIB_PATH) \
21332 $(HOST_EXPORTS) \
21333 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21335 done; \
21336 echo "Doing dvi in tk" ; \
21337 (cd tk && \
21338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21340 "RANLIB=$${RANLIB}" \
21341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21342 dvi) \
21343 || exit 1
21345 @endif tk
21347 .PHONY: maybe-TAGS-tk TAGS-tk
21348 maybe-TAGS-tk:
21349 @if tk
21350 maybe-TAGS-tk: TAGS-tk
21352 TAGS-tk: \
21353 configure-tk
21354 @[ -f ./tk/Makefile ] || exit 0; \
21355 r=`${PWD_COMMAND}`; export r; \
21356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21357 $(SET_LIB_PATH) \
21358 $(HOST_EXPORTS) \
21359 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21361 done; \
21362 echo "Doing TAGS in tk" ; \
21363 (cd tk && \
21364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21366 "RANLIB=$${RANLIB}" \
21367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21368 TAGS) \
21369 || exit 1
21371 @endif tk
21373 .PHONY: maybe-install-info-tk install-info-tk
21374 maybe-install-info-tk:
21375 @if tk
21376 maybe-install-info-tk: install-info-tk
21378 install-info-tk: \
21379 configure-tk \
21380 info-tk
21381 @[ -f ./tk/Makefile ] || exit 0; \
21382 r=`${PWD_COMMAND}`; export r; \
21383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21384 $(SET_LIB_PATH) \
21385 $(HOST_EXPORTS) \
21386 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21388 done; \
21389 echo "Doing install-info in tk" ; \
21390 (cd tk && \
21391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21393 "RANLIB=$${RANLIB}" \
21394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21395 install-info) \
21396 || exit 1
21398 @endif tk
21400 .PHONY: maybe-installcheck-tk installcheck-tk
21401 maybe-installcheck-tk:
21402 @if tk
21403 maybe-installcheck-tk: installcheck-tk
21405 installcheck-tk: \
21406 configure-tk
21407 @[ -f ./tk/Makefile ] || exit 0; \
21408 r=`${PWD_COMMAND}`; export r; \
21409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21410 $(SET_LIB_PATH) \
21411 $(HOST_EXPORTS) \
21412 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21414 done; \
21415 echo "Doing installcheck in tk" ; \
21416 (cd tk && \
21417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21419 "RANLIB=$${RANLIB}" \
21420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21421 installcheck) \
21422 || exit 1
21424 @endif tk
21426 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21427 maybe-mostlyclean-tk:
21428 @if tk
21429 maybe-mostlyclean-tk: mostlyclean-tk
21431 mostlyclean-tk:
21432 @[ -f ./tk/Makefile ] || exit 0; \
21433 r=`${PWD_COMMAND}`; export r; \
21434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21435 $(SET_LIB_PATH) \
21436 $(HOST_EXPORTS) \
21437 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21439 done; \
21440 echo "Doing mostlyclean in tk" ; \
21441 (cd tk && \
21442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21444 "RANLIB=$${RANLIB}" \
21445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21446 mostlyclean) \
21447 || exit 1
21449 @endif tk
21451 .PHONY: maybe-clean-tk clean-tk
21452 maybe-clean-tk:
21453 @if tk
21454 maybe-clean-tk: clean-tk
21456 clean-tk:
21457 @[ -f ./tk/Makefile ] || exit 0; \
21458 r=`${PWD_COMMAND}`; export r; \
21459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21460 $(SET_LIB_PATH) \
21461 $(HOST_EXPORTS) \
21462 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21464 done; \
21465 echo "Doing clean in tk" ; \
21466 (cd tk && \
21467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21469 "RANLIB=$${RANLIB}" \
21470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21471 clean) \
21472 || exit 1
21474 @endif tk
21476 .PHONY: maybe-distclean-tk distclean-tk
21477 maybe-distclean-tk:
21478 @if tk
21479 maybe-distclean-tk: distclean-tk
21481 distclean-tk:
21482 @[ -f ./tk/Makefile ] || exit 0; \
21483 r=`${PWD_COMMAND}`; export r; \
21484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21485 $(SET_LIB_PATH) \
21486 $(HOST_EXPORTS) \
21487 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21489 done; \
21490 echo "Doing distclean in tk" ; \
21491 (cd tk && \
21492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21494 "RANLIB=$${RANLIB}" \
21495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21496 distclean) \
21497 || exit 1
21499 @endif tk
21501 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21502 maybe-maintainer-clean-tk:
21503 @if tk
21504 maybe-maintainer-clean-tk: maintainer-clean-tk
21506 maintainer-clean-tk:
21507 @[ -f ./tk/Makefile ] || exit 0; \
21508 r=`${PWD_COMMAND}`; export r; \
21509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21510 $(SET_LIB_PATH) \
21511 $(HOST_EXPORTS) \
21512 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21514 done; \
21515 echo "Doing maintainer-clean in tk" ; \
21516 (cd tk && \
21517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21519 "RANLIB=$${RANLIB}" \
21520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21521 maintainer-clean) \
21522 || exit 1
21524 @endif tk
21527 .PHONY: configure-libtermcap maybe-configure-libtermcap
21528 maybe-configure-libtermcap:
21529 @if libtermcap
21530 maybe-configure-libtermcap: configure-libtermcap
21531 configure-libtermcap:
21532 @test ! -f libtermcap/Makefile || exit 0; \
21533 [ -d libtermcap ] || mkdir libtermcap; \
21534 r=`${PWD_COMMAND}`; export r; \
21535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21536 $(HOST_EXPORTS) \
21537 echo Configuring in libtermcap; \
21538 cd libtermcap || exit 1; \
21539 case $(srcdir) in \
21540 \.) \
21541 srcdiroption="--srcdir=."; \
21542 libsrcdir=".";; \
21543 /* | [A-Za-z]:[\\/]*) \
21544 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21545 libsrcdir="$$s/libtermcap";; \
21546 *) \
21547 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21548 libsrcdir="$$s/libtermcap";; \
21549 esac; \
21550 $(SHELL) $${libsrcdir}/configure \
21551 $(HOST_CONFIGARGS) $${srcdiroption} \
21552 || exit 1
21553 @endif libtermcap
21555 .PHONY: all-libtermcap maybe-all-libtermcap
21556 maybe-all-libtermcap:
21557 @if libtermcap
21558 maybe-all-libtermcap: all-libtermcap
21559 all-libtermcap: configure-libtermcap
21560 @r=`${PWD_COMMAND}`; export r; \
21561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21562 $(SET_LIB_PATH) \
21563 $(HOST_EXPORTS) \
21564 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21565 @endif libtermcap
21567 .PHONY: check-libtermcap maybe-check-libtermcap
21568 maybe-check-libtermcap:
21569 @if libtermcap
21570 maybe-check-libtermcap: check-libtermcap
21572 check-libtermcap:
21574 @endif libtermcap
21576 .PHONY: install-libtermcap maybe-install-libtermcap
21577 maybe-install-libtermcap:
21578 @if libtermcap
21579 maybe-install-libtermcap: install-libtermcap
21581 install-libtermcap: installdirs
21582 @r=`${PWD_COMMAND}`; export r; \
21583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21584 $(SET_LIB_PATH) \
21585 $(HOST_EXPORTS) \
21586 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21588 @endif libtermcap
21590 # Other targets (info, dvi, etc.)
21592 .PHONY: maybe-info-libtermcap info-libtermcap
21593 maybe-info-libtermcap:
21594 @if libtermcap
21595 maybe-info-libtermcap: info-libtermcap
21597 info-libtermcap: \
21598 configure-libtermcap
21599 @[ -f ./libtermcap/Makefile ] || exit 0; \
21600 r=`${PWD_COMMAND}`; export r; \
21601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21602 $(SET_LIB_PATH) \
21603 $(HOST_EXPORTS) \
21604 for flag in $(EXTRA_HOST_FLAGS) ; do \
21605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21606 done; \
21607 echo "Doing info in libtermcap" ; \
21608 (cd libtermcap && \
21609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21611 "RANLIB=$${RANLIB}" \
21612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21613 info) \
21614 || exit 1
21616 @endif libtermcap
21618 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21619 maybe-dvi-libtermcap:
21620 @if libtermcap
21621 maybe-dvi-libtermcap: dvi-libtermcap
21623 dvi-libtermcap: \
21624 configure-libtermcap
21625 @[ -f ./libtermcap/Makefile ] || exit 0; \
21626 r=`${PWD_COMMAND}`; export r; \
21627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21628 $(SET_LIB_PATH) \
21629 $(HOST_EXPORTS) \
21630 for flag in $(EXTRA_HOST_FLAGS) ; do \
21631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21632 done; \
21633 echo "Doing dvi in libtermcap" ; \
21634 (cd libtermcap && \
21635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21637 "RANLIB=$${RANLIB}" \
21638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21639 dvi) \
21640 || exit 1
21642 @endif libtermcap
21644 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21645 maybe-TAGS-libtermcap:
21646 @if libtermcap
21647 maybe-TAGS-libtermcap: TAGS-libtermcap
21649 TAGS-libtermcap: \
21650 configure-libtermcap
21651 @[ -f ./libtermcap/Makefile ] || exit 0; \
21652 r=`${PWD_COMMAND}`; export r; \
21653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21654 $(SET_LIB_PATH) \
21655 $(HOST_EXPORTS) \
21656 for flag in $(EXTRA_HOST_FLAGS) ; do \
21657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21658 done; \
21659 echo "Doing TAGS in libtermcap" ; \
21660 (cd libtermcap && \
21661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21663 "RANLIB=$${RANLIB}" \
21664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21665 TAGS) \
21666 || exit 1
21668 @endif libtermcap
21670 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21671 maybe-install-info-libtermcap:
21672 @if libtermcap
21673 maybe-install-info-libtermcap: install-info-libtermcap
21675 install-info-libtermcap: \
21676 configure-libtermcap \
21677 info-libtermcap
21678 @[ -f ./libtermcap/Makefile ] || exit 0; \
21679 r=`${PWD_COMMAND}`; export r; \
21680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21681 $(SET_LIB_PATH) \
21682 $(HOST_EXPORTS) \
21683 for flag in $(EXTRA_HOST_FLAGS) ; do \
21684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21685 done; \
21686 echo "Doing install-info in libtermcap" ; \
21687 (cd libtermcap && \
21688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21690 "RANLIB=$${RANLIB}" \
21691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21692 install-info) \
21693 || exit 1
21695 @endif libtermcap
21697 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
21698 maybe-installcheck-libtermcap:
21699 @if libtermcap
21700 maybe-installcheck-libtermcap: installcheck-libtermcap
21702 installcheck-libtermcap: \
21703 configure-libtermcap
21704 @[ -f ./libtermcap/Makefile ] || exit 0; \
21705 r=`${PWD_COMMAND}`; export r; \
21706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21707 $(SET_LIB_PATH) \
21708 $(HOST_EXPORTS) \
21709 for flag in $(EXTRA_HOST_FLAGS) ; do \
21710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21711 done; \
21712 echo "Doing installcheck in libtermcap" ; \
21713 (cd libtermcap && \
21714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21716 "RANLIB=$${RANLIB}" \
21717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21718 installcheck) \
21719 || exit 1
21721 @endif libtermcap
21723 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
21724 maybe-mostlyclean-libtermcap:
21725 @if libtermcap
21726 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
21728 # libtermcap doesn't support mostlyclean.
21729 mostlyclean-libtermcap:
21731 @endif libtermcap
21733 .PHONY: maybe-clean-libtermcap clean-libtermcap
21734 maybe-clean-libtermcap:
21735 @if libtermcap
21736 maybe-clean-libtermcap: clean-libtermcap
21738 # libtermcap doesn't support clean.
21739 clean-libtermcap:
21741 @endif libtermcap
21743 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
21744 maybe-distclean-libtermcap:
21745 @if libtermcap
21746 maybe-distclean-libtermcap: distclean-libtermcap
21748 # libtermcap doesn't support distclean.
21749 distclean-libtermcap:
21751 @endif libtermcap
21753 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
21754 maybe-maintainer-clean-libtermcap:
21755 @if libtermcap
21756 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
21758 # libtermcap doesn't support maintainer-clean.
21759 maintainer-clean-libtermcap:
21761 @endif libtermcap
21764 .PHONY: configure-utils maybe-configure-utils
21765 maybe-configure-utils:
21766 @if utils
21767 maybe-configure-utils: configure-utils
21768 configure-utils:
21769 @test ! -f utils/Makefile || exit 0; \
21770 [ -d utils ] || mkdir utils; \
21771 r=`${PWD_COMMAND}`; export r; \
21772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21773 $(HOST_EXPORTS) \
21774 echo Configuring in utils; \
21775 cd utils || exit 1; \
21776 case $(srcdir) in \
21777 \.) \
21778 srcdiroption="--srcdir=."; \
21779 libsrcdir=".";; \
21780 /* | [A-Za-z]:[\\/]*) \
21781 srcdiroption="--srcdir=$(srcdir)/utils"; \
21782 libsrcdir="$$s/utils";; \
21783 *) \
21784 srcdiroption="--srcdir=../$(srcdir)/utils"; \
21785 libsrcdir="$$s/utils";; \
21786 esac; \
21787 $(SHELL) $${libsrcdir}/configure \
21788 $(HOST_CONFIGARGS) $${srcdiroption} \
21789 || exit 1
21790 @endif utils
21792 .PHONY: all-utils maybe-all-utils
21793 maybe-all-utils:
21794 @if utils
21795 maybe-all-utils: all-utils
21796 all-utils: configure-utils
21797 @r=`${PWD_COMMAND}`; export r; \
21798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21799 $(SET_LIB_PATH) \
21800 $(HOST_EXPORTS) \
21801 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
21802 @endif utils
21804 .PHONY: check-utils maybe-check-utils
21805 maybe-check-utils:
21806 @if utils
21807 maybe-check-utils: check-utils
21809 check-utils:
21811 @endif utils
21813 .PHONY: install-utils maybe-install-utils
21814 maybe-install-utils:
21815 @if utils
21816 maybe-install-utils: install-utils
21818 install-utils: installdirs
21819 @r=`${PWD_COMMAND}`; export r; \
21820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21821 $(SET_LIB_PATH) \
21822 $(HOST_EXPORTS) \
21823 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
21825 @endif utils
21827 # Other targets (info, dvi, etc.)
21829 .PHONY: maybe-info-utils info-utils
21830 maybe-info-utils:
21831 @if utils
21832 maybe-info-utils: info-utils
21834 info-utils: \
21835 configure-utils
21836 @[ -f ./utils/Makefile ] || exit 0; \
21837 r=`${PWD_COMMAND}`; export r; \
21838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21839 $(SET_LIB_PATH) \
21840 $(HOST_EXPORTS) \
21841 for flag in $(EXTRA_HOST_FLAGS) ; do \
21842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21843 done; \
21844 echo "Doing info in utils" ; \
21845 (cd utils && \
21846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21848 "RANLIB=$${RANLIB}" \
21849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21850 info) \
21851 || exit 1
21853 @endif utils
21855 .PHONY: maybe-dvi-utils dvi-utils
21856 maybe-dvi-utils:
21857 @if utils
21858 maybe-dvi-utils: dvi-utils
21860 dvi-utils: \
21861 configure-utils
21862 @[ -f ./utils/Makefile ] || exit 0; \
21863 r=`${PWD_COMMAND}`; export r; \
21864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21865 $(SET_LIB_PATH) \
21866 $(HOST_EXPORTS) \
21867 for flag in $(EXTRA_HOST_FLAGS) ; do \
21868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21869 done; \
21870 echo "Doing dvi in utils" ; \
21871 (cd utils && \
21872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21874 "RANLIB=$${RANLIB}" \
21875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21876 dvi) \
21877 || exit 1
21879 @endif utils
21881 .PHONY: maybe-TAGS-utils TAGS-utils
21882 maybe-TAGS-utils:
21883 @if utils
21884 maybe-TAGS-utils: TAGS-utils
21886 TAGS-utils: \
21887 configure-utils
21888 @[ -f ./utils/Makefile ] || exit 0; \
21889 r=`${PWD_COMMAND}`; export r; \
21890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21891 $(SET_LIB_PATH) \
21892 $(HOST_EXPORTS) \
21893 for flag in $(EXTRA_HOST_FLAGS) ; do \
21894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21895 done; \
21896 echo "Doing TAGS in utils" ; \
21897 (cd utils && \
21898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21900 "RANLIB=$${RANLIB}" \
21901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21902 TAGS) \
21903 || exit 1
21905 @endif utils
21907 .PHONY: maybe-install-info-utils install-info-utils
21908 maybe-install-info-utils:
21909 @if utils
21910 maybe-install-info-utils: install-info-utils
21912 install-info-utils: \
21913 configure-utils \
21914 info-utils
21915 @[ -f ./utils/Makefile ] || exit 0; \
21916 r=`${PWD_COMMAND}`; export r; \
21917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21918 $(SET_LIB_PATH) \
21919 $(HOST_EXPORTS) \
21920 for flag in $(EXTRA_HOST_FLAGS) ; do \
21921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21922 done; \
21923 echo "Doing install-info in utils" ; \
21924 (cd utils && \
21925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21927 "RANLIB=$${RANLIB}" \
21928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21929 install-info) \
21930 || exit 1
21932 @endif utils
21934 .PHONY: maybe-installcheck-utils installcheck-utils
21935 maybe-installcheck-utils:
21936 @if utils
21937 maybe-installcheck-utils: installcheck-utils
21939 installcheck-utils: \
21940 configure-utils
21941 @[ -f ./utils/Makefile ] || exit 0; \
21942 r=`${PWD_COMMAND}`; export r; \
21943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21944 $(SET_LIB_PATH) \
21945 $(HOST_EXPORTS) \
21946 for flag in $(EXTRA_HOST_FLAGS) ; do \
21947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21948 done; \
21949 echo "Doing installcheck in utils" ; \
21950 (cd utils && \
21951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21953 "RANLIB=$${RANLIB}" \
21954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21955 installcheck) \
21956 || exit 1
21958 @endif utils
21960 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
21961 maybe-mostlyclean-utils:
21962 @if utils
21963 maybe-mostlyclean-utils: mostlyclean-utils
21965 mostlyclean-utils:
21966 @[ -f ./utils/Makefile ] || exit 0; \
21967 r=`${PWD_COMMAND}`; export r; \
21968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21969 $(SET_LIB_PATH) \
21970 $(HOST_EXPORTS) \
21971 for flag in $(EXTRA_HOST_FLAGS) ; do \
21972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21973 done; \
21974 echo "Doing mostlyclean in utils" ; \
21975 (cd utils && \
21976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21978 "RANLIB=$${RANLIB}" \
21979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21980 mostlyclean) \
21981 || exit 1
21983 @endif utils
21985 .PHONY: maybe-clean-utils clean-utils
21986 maybe-clean-utils:
21987 @if utils
21988 maybe-clean-utils: clean-utils
21990 clean-utils:
21991 @[ -f ./utils/Makefile ] || exit 0; \
21992 r=`${PWD_COMMAND}`; export r; \
21993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21994 $(SET_LIB_PATH) \
21995 $(HOST_EXPORTS) \
21996 for flag in $(EXTRA_HOST_FLAGS) ; do \
21997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21998 done; \
21999 echo "Doing clean in utils" ; \
22000 (cd utils && \
22001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22003 "RANLIB=$${RANLIB}" \
22004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22005 clean) \
22006 || exit 1
22008 @endif utils
22010 .PHONY: maybe-distclean-utils distclean-utils
22011 maybe-distclean-utils:
22012 @if utils
22013 maybe-distclean-utils: distclean-utils
22015 distclean-utils:
22016 @[ -f ./utils/Makefile ] || exit 0; \
22017 r=`${PWD_COMMAND}`; export r; \
22018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22019 $(SET_LIB_PATH) \
22020 $(HOST_EXPORTS) \
22021 for flag in $(EXTRA_HOST_FLAGS) ; do \
22022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22023 done; \
22024 echo "Doing distclean in utils" ; \
22025 (cd utils && \
22026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22028 "RANLIB=$${RANLIB}" \
22029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22030 distclean) \
22031 || exit 1
22033 @endif utils
22035 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
22036 maybe-maintainer-clean-utils:
22037 @if utils
22038 maybe-maintainer-clean-utils: maintainer-clean-utils
22040 maintainer-clean-utils:
22041 @[ -f ./utils/Makefile ] || exit 0; \
22042 r=`${PWD_COMMAND}`; export r; \
22043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22044 $(SET_LIB_PATH) \
22045 $(HOST_EXPORTS) \
22046 for flag in $(EXTRA_HOST_FLAGS) ; do \
22047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22048 done; \
22049 echo "Doing maintainer-clean in utils" ; \
22050 (cd utils && \
22051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22053 "RANLIB=$${RANLIB}" \
22054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22055 maintainer-clean) \
22056 || exit 1
22058 @endif utils
22062 # ---------------------------------------
22063 # Modules which run on the target machine
22064 # ---------------------------------------
22066 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22067 maybe-configure-target-libstdc++-v3:
22068 @if target-libstdc++-v3
22069 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22071 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22072 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22073 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22074 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22075 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22077 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22078 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22079 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22080 r=`${PWD_COMMAND}`; export r; \
22081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22082 $(SET_LIB_PATH) \
22083 $(RAW_CXX_TARGET_EXPORTS) \
22084 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22085 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22086 case $(srcdir) in \
22087 /* | [A-Za-z]:[\\/]*) \
22088 topdir=$(srcdir) ;; \
22089 *) \
22090 case "$(TARGET_SUBDIR)" in \
22091 .) topdir="../$(srcdir)" ;; \
22092 *) topdir="../../$(srcdir)" ;; \
22093 esac ;; \
22094 esac; \
22095 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22096 libsrcdir="$$s/libstdc++-v3"; \
22097 rm -f no-such-file || : ; \
22098 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22099 $(TARGET_CONFIGARGS) $${srcdiroption} \
22100 --with-target-subdir="$(TARGET_SUBDIR)" \
22101 || exit 1
22102 @endif target-libstdc++-v3
22104 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22105 maybe-all-target-libstdc++-v3:
22106 @if target-libstdc++-v3
22107 TARGET-target-libstdc++-v3=all
22108 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22109 all-target-libstdc++-v3: configure-target-libstdc++-v3
22110 @r=`${PWD_COMMAND}`; export r; \
22111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22112 $(SET_LIB_PATH) \
22113 $(RAW_CXX_TARGET_EXPORTS) \
22114 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22115 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
22116 @endif target-libstdc++-v3
22118 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22119 maybe-check-target-libstdc++-v3:
22120 @if target-libstdc++-v3
22121 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22123 check-target-libstdc++-v3:
22124 @r=`${PWD_COMMAND}`; export r; \
22125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22126 $(SET_LIB_PATH) \
22127 $(RAW_CXX_TARGET_EXPORTS) \
22128 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22129 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22131 @endif target-libstdc++-v3
22133 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22134 maybe-install-target-libstdc++-v3:
22135 @if target-libstdc++-v3
22136 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22138 install-target-libstdc++-v3: installdirs
22139 @r=`${PWD_COMMAND}`; export r; \
22140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22141 $(SET_LIB_PATH) \
22142 $(RAW_CXX_TARGET_EXPORTS) \
22143 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22144 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22146 @endif target-libstdc++-v3
22148 # Other targets (info, dvi, etc.)
22150 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22151 maybe-info-target-libstdc++-v3:
22152 @if target-libstdc++-v3
22153 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22155 info-target-libstdc++-v3: \
22156 configure-target-libstdc++-v3
22157 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22158 r=`${PWD_COMMAND}`; export r; \
22159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22160 $(SET_LIB_PATH) \
22161 $(RAW_CXX_TARGET_EXPORTS) \
22162 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22163 for flag in $(EXTRA_TARGET_FLAGS); do \
22164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22165 done; \
22166 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22169 "RANLIB=$${RANLIB}" \
22170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22171 info) \
22172 || exit 1
22174 @endif target-libstdc++-v3
22176 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22177 maybe-dvi-target-libstdc++-v3:
22178 @if target-libstdc++-v3
22179 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22181 dvi-target-libstdc++-v3: \
22182 configure-target-libstdc++-v3
22183 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22184 r=`${PWD_COMMAND}`; export r; \
22185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22186 $(SET_LIB_PATH) \
22187 $(RAW_CXX_TARGET_EXPORTS) \
22188 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22189 for flag in $(EXTRA_TARGET_FLAGS); do \
22190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22191 done; \
22192 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22195 "RANLIB=$${RANLIB}" \
22196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22197 dvi) \
22198 || exit 1
22200 @endif target-libstdc++-v3
22202 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22203 maybe-TAGS-target-libstdc++-v3:
22204 @if target-libstdc++-v3
22205 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22207 TAGS-target-libstdc++-v3: \
22208 configure-target-libstdc++-v3
22209 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22210 r=`${PWD_COMMAND}`; export r; \
22211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22212 $(SET_LIB_PATH) \
22213 $(RAW_CXX_TARGET_EXPORTS) \
22214 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22215 for flag in $(EXTRA_TARGET_FLAGS); do \
22216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22217 done; \
22218 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22221 "RANLIB=$${RANLIB}" \
22222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22223 TAGS) \
22224 || exit 1
22226 @endif target-libstdc++-v3
22228 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22229 maybe-install-info-target-libstdc++-v3:
22230 @if target-libstdc++-v3
22231 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22233 install-info-target-libstdc++-v3: \
22234 configure-target-libstdc++-v3 \
22235 info-target-libstdc++-v3
22236 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22237 r=`${PWD_COMMAND}`; export r; \
22238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22239 $(SET_LIB_PATH) \
22240 $(RAW_CXX_TARGET_EXPORTS) \
22241 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22242 for flag in $(EXTRA_TARGET_FLAGS); do \
22243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22244 done; \
22245 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22248 "RANLIB=$${RANLIB}" \
22249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22250 install-info) \
22251 || exit 1
22253 @endif target-libstdc++-v3
22255 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22256 maybe-installcheck-target-libstdc++-v3:
22257 @if target-libstdc++-v3
22258 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22260 installcheck-target-libstdc++-v3: \
22261 configure-target-libstdc++-v3
22262 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22263 r=`${PWD_COMMAND}`; export r; \
22264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22265 $(SET_LIB_PATH) \
22266 $(RAW_CXX_TARGET_EXPORTS) \
22267 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22268 for flag in $(EXTRA_TARGET_FLAGS); do \
22269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22270 done; \
22271 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22274 "RANLIB=$${RANLIB}" \
22275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22276 installcheck) \
22277 || exit 1
22279 @endif target-libstdc++-v3
22281 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22282 maybe-mostlyclean-target-libstdc++-v3:
22283 @if target-libstdc++-v3
22284 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22286 mostlyclean-target-libstdc++-v3:
22287 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22288 r=`${PWD_COMMAND}`; export r; \
22289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22290 $(SET_LIB_PATH) \
22291 $(RAW_CXX_TARGET_EXPORTS) \
22292 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22293 for flag in $(EXTRA_TARGET_FLAGS); do \
22294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22295 done; \
22296 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22299 "RANLIB=$${RANLIB}" \
22300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22301 mostlyclean) \
22302 || exit 1
22304 @endif target-libstdc++-v3
22306 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22307 maybe-clean-target-libstdc++-v3:
22308 @if target-libstdc++-v3
22309 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22311 clean-target-libstdc++-v3:
22312 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22313 r=`${PWD_COMMAND}`; export r; \
22314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22315 $(SET_LIB_PATH) \
22316 $(RAW_CXX_TARGET_EXPORTS) \
22317 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22318 for flag in $(EXTRA_TARGET_FLAGS); do \
22319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22320 done; \
22321 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22324 "RANLIB=$${RANLIB}" \
22325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22326 clean) \
22327 || exit 1
22329 @endif target-libstdc++-v3
22331 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22332 maybe-distclean-target-libstdc++-v3:
22333 @if target-libstdc++-v3
22334 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22336 distclean-target-libstdc++-v3:
22337 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22338 r=`${PWD_COMMAND}`; export r; \
22339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22340 $(SET_LIB_PATH) \
22341 $(RAW_CXX_TARGET_EXPORTS) \
22342 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22343 for flag in $(EXTRA_TARGET_FLAGS); do \
22344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22345 done; \
22346 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22349 "RANLIB=$${RANLIB}" \
22350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22351 distclean) \
22352 || exit 1
22354 @endif target-libstdc++-v3
22356 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22357 maybe-maintainer-clean-target-libstdc++-v3:
22358 @if target-libstdc++-v3
22359 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22361 maintainer-clean-target-libstdc++-v3:
22362 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22363 r=`${PWD_COMMAND}`; export r; \
22364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22365 $(SET_LIB_PATH) \
22366 $(RAW_CXX_TARGET_EXPORTS) \
22367 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22368 for flag in $(EXTRA_TARGET_FLAGS); do \
22369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22370 done; \
22371 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22374 "RANLIB=$${RANLIB}" \
22375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22376 maintainer-clean) \
22377 || exit 1
22379 @endif target-libstdc++-v3
22382 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22383 maybe-configure-target-libmudflap:
22384 @if target-libmudflap
22385 maybe-configure-target-libmudflap: configure-target-libmudflap
22387 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22388 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22389 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22390 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22391 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22393 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22394 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22395 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22396 r=`${PWD_COMMAND}`; export r; \
22397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22398 $(SET_LIB_PATH) \
22399 $(NORMAL_TARGET_EXPORTS) \
22400 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22401 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22402 case $(srcdir) in \
22403 /* | [A-Za-z]:[\\/]*) \
22404 topdir=$(srcdir) ;; \
22405 *) \
22406 case "$(TARGET_SUBDIR)" in \
22407 .) topdir="../$(srcdir)" ;; \
22408 *) topdir="../../$(srcdir)" ;; \
22409 esac ;; \
22410 esac; \
22411 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22412 libsrcdir="$$s/libmudflap"; \
22413 rm -f no-such-file || : ; \
22414 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22415 $(TARGET_CONFIGARGS) $${srcdiroption} \
22416 --with-target-subdir="$(TARGET_SUBDIR)" \
22417 || exit 1
22418 @endif target-libmudflap
22420 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22421 maybe-all-target-libmudflap:
22422 @if target-libmudflap
22423 TARGET-target-libmudflap=all
22424 maybe-all-target-libmudflap: all-target-libmudflap
22425 all-target-libmudflap: configure-target-libmudflap
22426 @r=`${PWD_COMMAND}`; export r; \
22427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22428 $(SET_LIB_PATH) \
22429 $(NORMAL_TARGET_EXPORTS) \
22430 (cd $(TARGET_SUBDIR)/libmudflap && \
22431 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
22432 @endif target-libmudflap
22434 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22435 maybe-check-target-libmudflap:
22436 @if target-libmudflap
22437 maybe-check-target-libmudflap: check-target-libmudflap
22439 check-target-libmudflap:
22440 @r=`${PWD_COMMAND}`; export r; \
22441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22442 $(SET_LIB_PATH) \
22443 $(NORMAL_TARGET_EXPORTS) \
22444 (cd $(TARGET_SUBDIR)/libmudflap && \
22445 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22447 @endif target-libmudflap
22449 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22450 maybe-install-target-libmudflap:
22451 @if target-libmudflap
22452 maybe-install-target-libmudflap: install-target-libmudflap
22454 install-target-libmudflap: installdirs
22455 @r=`${PWD_COMMAND}`; export r; \
22456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22457 $(SET_LIB_PATH) \
22458 $(NORMAL_TARGET_EXPORTS) \
22459 (cd $(TARGET_SUBDIR)/libmudflap && \
22460 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22462 @endif target-libmudflap
22464 # Other targets (info, dvi, etc.)
22466 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22467 maybe-info-target-libmudflap:
22468 @if target-libmudflap
22469 maybe-info-target-libmudflap: info-target-libmudflap
22471 info-target-libmudflap: \
22472 configure-target-libmudflap
22473 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22474 r=`${PWD_COMMAND}`; export r; \
22475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22476 $(SET_LIB_PATH) \
22477 $(NORMAL_TARGET_EXPORTS) \
22478 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22479 for flag in $(EXTRA_TARGET_FLAGS); do \
22480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22481 done; \
22482 (cd $(TARGET_SUBDIR)/libmudflap && \
22483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22485 "RANLIB=$${RANLIB}" \
22486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22487 info) \
22488 || exit 1
22490 @endif target-libmudflap
22492 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22493 maybe-dvi-target-libmudflap:
22494 @if target-libmudflap
22495 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22497 dvi-target-libmudflap: \
22498 configure-target-libmudflap
22499 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22500 r=`${PWD_COMMAND}`; export r; \
22501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22502 $(SET_LIB_PATH) \
22503 $(NORMAL_TARGET_EXPORTS) \
22504 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22505 for flag in $(EXTRA_TARGET_FLAGS); do \
22506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22507 done; \
22508 (cd $(TARGET_SUBDIR)/libmudflap && \
22509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22511 "RANLIB=$${RANLIB}" \
22512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22513 dvi) \
22514 || exit 1
22516 @endif target-libmudflap
22518 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22519 maybe-TAGS-target-libmudflap:
22520 @if target-libmudflap
22521 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22523 TAGS-target-libmudflap: \
22524 configure-target-libmudflap
22525 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22526 r=`${PWD_COMMAND}`; export r; \
22527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22528 $(SET_LIB_PATH) \
22529 $(NORMAL_TARGET_EXPORTS) \
22530 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22531 for flag in $(EXTRA_TARGET_FLAGS); do \
22532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22533 done; \
22534 (cd $(TARGET_SUBDIR)/libmudflap && \
22535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22537 "RANLIB=$${RANLIB}" \
22538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22539 TAGS) \
22540 || exit 1
22542 @endif target-libmudflap
22544 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22545 maybe-install-info-target-libmudflap:
22546 @if target-libmudflap
22547 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22549 install-info-target-libmudflap: \
22550 configure-target-libmudflap \
22551 info-target-libmudflap
22552 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22553 r=`${PWD_COMMAND}`; export r; \
22554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22555 $(SET_LIB_PATH) \
22556 $(NORMAL_TARGET_EXPORTS) \
22557 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22558 for flag in $(EXTRA_TARGET_FLAGS); do \
22559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22560 done; \
22561 (cd $(TARGET_SUBDIR)/libmudflap && \
22562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22564 "RANLIB=$${RANLIB}" \
22565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22566 install-info) \
22567 || exit 1
22569 @endif target-libmudflap
22571 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22572 maybe-installcheck-target-libmudflap:
22573 @if target-libmudflap
22574 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22576 installcheck-target-libmudflap: \
22577 configure-target-libmudflap
22578 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22579 r=`${PWD_COMMAND}`; export r; \
22580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22581 $(SET_LIB_PATH) \
22582 $(NORMAL_TARGET_EXPORTS) \
22583 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22584 for flag in $(EXTRA_TARGET_FLAGS); do \
22585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22586 done; \
22587 (cd $(TARGET_SUBDIR)/libmudflap && \
22588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22590 "RANLIB=$${RANLIB}" \
22591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22592 installcheck) \
22593 || exit 1
22595 @endif target-libmudflap
22597 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22598 maybe-mostlyclean-target-libmudflap:
22599 @if target-libmudflap
22600 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22602 mostlyclean-target-libmudflap:
22603 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22604 r=`${PWD_COMMAND}`; export r; \
22605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22606 $(SET_LIB_PATH) \
22607 $(NORMAL_TARGET_EXPORTS) \
22608 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22609 for flag in $(EXTRA_TARGET_FLAGS); do \
22610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22611 done; \
22612 (cd $(TARGET_SUBDIR)/libmudflap && \
22613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22615 "RANLIB=$${RANLIB}" \
22616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22617 mostlyclean) \
22618 || exit 1
22620 @endif target-libmudflap
22622 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22623 maybe-clean-target-libmudflap:
22624 @if target-libmudflap
22625 maybe-clean-target-libmudflap: clean-target-libmudflap
22627 clean-target-libmudflap:
22628 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22629 r=`${PWD_COMMAND}`; export r; \
22630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22631 $(SET_LIB_PATH) \
22632 $(NORMAL_TARGET_EXPORTS) \
22633 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
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)/libmudflap && \
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 clean) \
22643 || exit 1
22645 @endif target-libmudflap
22647 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22648 maybe-distclean-target-libmudflap:
22649 @if target-libmudflap
22650 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22652 distclean-target-libmudflap:
22653 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22654 r=`${PWD_COMMAND}`; export r; \
22655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22656 $(SET_LIB_PATH) \
22657 $(NORMAL_TARGET_EXPORTS) \
22658 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
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)/libmudflap && \
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 distclean) \
22668 || exit 1
22670 @endif target-libmudflap
22672 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22673 maybe-maintainer-clean-target-libmudflap:
22674 @if target-libmudflap
22675 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22677 maintainer-clean-target-libmudflap:
22678 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22679 r=`${PWD_COMMAND}`; export r; \
22680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22681 $(SET_LIB_PATH) \
22682 $(NORMAL_TARGET_EXPORTS) \
22683 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
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)/libmudflap && \
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 maintainer-clean) \
22693 || exit 1
22695 @endif target-libmudflap
22698 .PHONY: configure-target-newlib maybe-configure-target-newlib
22699 maybe-configure-target-newlib:
22700 @if target-newlib
22701 maybe-configure-target-newlib: configure-target-newlib
22703 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22704 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22705 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22706 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22707 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22709 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22710 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22711 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22712 r=`${PWD_COMMAND}`; export r; \
22713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22714 $(SET_LIB_PATH) \
22715 $(NORMAL_TARGET_EXPORTS) \
22716 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22717 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22718 case $(srcdir) in \
22719 /* | [A-Za-z]:[\\/]*) \
22720 topdir=$(srcdir) ;; \
22721 *) \
22722 case "$(TARGET_SUBDIR)" in \
22723 .) topdir="../$(srcdir)" ;; \
22724 *) topdir="../../$(srcdir)" ;; \
22725 esac ;; \
22726 esac; \
22727 srcdiroption="--srcdir=$${topdir}/newlib"; \
22728 libsrcdir="$$s/newlib"; \
22729 rm -f no-such-file || : ; \
22730 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22731 $(TARGET_CONFIGARGS) $${srcdiroption} \
22732 --with-target-subdir="$(TARGET_SUBDIR)" \
22733 || exit 1
22734 @endif target-newlib
22736 .PHONY: all-target-newlib maybe-all-target-newlib
22737 maybe-all-target-newlib:
22738 @if target-newlib
22739 TARGET-target-newlib=all
22740 maybe-all-target-newlib: all-target-newlib
22741 all-target-newlib: configure-target-newlib
22742 @r=`${PWD_COMMAND}`; export r; \
22743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22744 $(SET_LIB_PATH) \
22745 $(NORMAL_TARGET_EXPORTS) \
22746 (cd $(TARGET_SUBDIR)/newlib && \
22747 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
22748 @endif target-newlib
22750 .PHONY: check-target-newlib maybe-check-target-newlib
22751 maybe-check-target-newlib:
22752 @if target-newlib
22753 maybe-check-target-newlib: check-target-newlib
22755 check-target-newlib:
22756 @r=`${PWD_COMMAND}`; export r; \
22757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22758 $(SET_LIB_PATH) \
22759 $(NORMAL_TARGET_EXPORTS) \
22760 (cd $(TARGET_SUBDIR)/newlib && \
22761 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22763 @endif target-newlib
22765 .PHONY: install-target-newlib maybe-install-target-newlib
22766 maybe-install-target-newlib:
22767 @if target-newlib
22768 maybe-install-target-newlib: install-target-newlib
22770 install-target-newlib: installdirs
22771 @r=`${PWD_COMMAND}`; export r; \
22772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22773 $(SET_LIB_PATH) \
22774 $(NORMAL_TARGET_EXPORTS) \
22775 (cd $(TARGET_SUBDIR)/newlib && \
22776 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22778 @endif target-newlib
22780 # Other targets (info, dvi, etc.)
22782 .PHONY: maybe-info-target-newlib info-target-newlib
22783 maybe-info-target-newlib:
22784 @if target-newlib
22785 maybe-info-target-newlib: info-target-newlib
22787 info-target-newlib: \
22788 configure-target-newlib
22789 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22790 r=`${PWD_COMMAND}`; export r; \
22791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22792 $(SET_LIB_PATH) \
22793 $(NORMAL_TARGET_EXPORTS) \
22794 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
22795 for flag in $(EXTRA_TARGET_FLAGS); do \
22796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22797 done; \
22798 (cd $(TARGET_SUBDIR)/newlib && \
22799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22801 "RANLIB=$${RANLIB}" \
22802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22803 info) \
22804 || exit 1
22806 @endif target-newlib
22808 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
22809 maybe-dvi-target-newlib:
22810 @if target-newlib
22811 maybe-dvi-target-newlib: dvi-target-newlib
22813 dvi-target-newlib: \
22814 configure-target-newlib
22815 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22816 r=`${PWD_COMMAND}`; export r; \
22817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22818 $(SET_LIB_PATH) \
22819 $(NORMAL_TARGET_EXPORTS) \
22820 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
22821 for flag in $(EXTRA_TARGET_FLAGS); do \
22822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22823 done; \
22824 (cd $(TARGET_SUBDIR)/newlib && \
22825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22827 "RANLIB=$${RANLIB}" \
22828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22829 dvi) \
22830 || exit 1
22832 @endif target-newlib
22834 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
22835 maybe-TAGS-target-newlib:
22836 @if target-newlib
22837 maybe-TAGS-target-newlib: TAGS-target-newlib
22839 TAGS-target-newlib: \
22840 configure-target-newlib
22841 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22842 r=`${PWD_COMMAND}`; export r; \
22843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22844 $(SET_LIB_PATH) \
22845 $(NORMAL_TARGET_EXPORTS) \
22846 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
22847 for flag in $(EXTRA_TARGET_FLAGS); do \
22848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22849 done; \
22850 (cd $(TARGET_SUBDIR)/newlib && \
22851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22853 "RANLIB=$${RANLIB}" \
22854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22855 TAGS) \
22856 || exit 1
22858 @endif target-newlib
22860 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
22861 maybe-install-info-target-newlib:
22862 @if target-newlib
22863 maybe-install-info-target-newlib: install-info-target-newlib
22865 install-info-target-newlib: \
22866 configure-target-newlib \
22867 info-target-newlib
22868 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22869 r=`${PWD_COMMAND}`; export r; \
22870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22871 $(SET_LIB_PATH) \
22872 $(NORMAL_TARGET_EXPORTS) \
22873 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
22874 for flag in $(EXTRA_TARGET_FLAGS); do \
22875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22876 done; \
22877 (cd $(TARGET_SUBDIR)/newlib && \
22878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22880 "RANLIB=$${RANLIB}" \
22881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22882 install-info) \
22883 || exit 1
22885 @endif target-newlib
22887 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
22888 maybe-installcheck-target-newlib:
22889 @if target-newlib
22890 maybe-installcheck-target-newlib: installcheck-target-newlib
22892 installcheck-target-newlib: \
22893 configure-target-newlib
22894 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22895 r=`${PWD_COMMAND}`; export r; \
22896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22897 $(SET_LIB_PATH) \
22898 $(NORMAL_TARGET_EXPORTS) \
22899 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
22900 for flag in $(EXTRA_TARGET_FLAGS); do \
22901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22902 done; \
22903 (cd $(TARGET_SUBDIR)/newlib && \
22904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22906 "RANLIB=$${RANLIB}" \
22907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22908 installcheck) \
22909 || exit 1
22911 @endif target-newlib
22913 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
22914 maybe-mostlyclean-target-newlib:
22915 @if target-newlib
22916 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
22918 mostlyclean-target-newlib:
22919 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22920 r=`${PWD_COMMAND}`; export r; \
22921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22922 $(SET_LIB_PATH) \
22923 $(NORMAL_TARGET_EXPORTS) \
22924 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
22925 for flag in $(EXTRA_TARGET_FLAGS); do \
22926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22927 done; \
22928 (cd $(TARGET_SUBDIR)/newlib && \
22929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22931 "RANLIB=$${RANLIB}" \
22932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22933 mostlyclean) \
22934 || exit 1
22936 @endif target-newlib
22938 .PHONY: maybe-clean-target-newlib clean-target-newlib
22939 maybe-clean-target-newlib:
22940 @if target-newlib
22941 maybe-clean-target-newlib: clean-target-newlib
22943 clean-target-newlib:
22944 @[ -f $(TARGET_SUBDIR)/newlib/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 clean in $(TARGET_SUBDIR)/newlib" ; \
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)/newlib && \
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 clean) \
22959 || exit 1
22961 @endif target-newlib
22963 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
22964 maybe-distclean-target-newlib:
22965 @if target-newlib
22966 maybe-distclean-target-newlib: distclean-target-newlib
22968 distclean-target-newlib:
22969 @[ -f $(TARGET_SUBDIR)/newlib/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 distclean in $(TARGET_SUBDIR)/newlib" ; \
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)/newlib && \
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 distclean) \
22984 || exit 1
22986 @endif target-newlib
22988 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
22989 maybe-maintainer-clean-target-newlib:
22990 @if target-newlib
22991 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
22993 maintainer-clean-target-newlib:
22994 @[ -f $(TARGET_SUBDIR)/newlib/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 maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
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)/newlib && \
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 maintainer-clean) \
23009 || exit 1
23011 @endif target-newlib
23014 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
23015 maybe-configure-target-libgfortran:
23016 @if target-libgfortran
23017 maybe-configure-target-libgfortran: configure-target-libgfortran
23019 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23020 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
23021 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23022 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
23023 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
23025 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
23026 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
23027 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23028 r=`${PWD_COMMAND}`; export r; \
23029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23030 $(SET_LIB_PATH) \
23031 $(NORMAL_TARGET_EXPORTS) \
23032 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
23033 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
23034 case $(srcdir) in \
23035 /* | [A-Za-z]:[\\/]*) \
23036 topdir=$(srcdir) ;; \
23037 *) \
23038 case "$(TARGET_SUBDIR)" in \
23039 .) topdir="../$(srcdir)" ;; \
23040 *) topdir="../../$(srcdir)" ;; \
23041 esac ;; \
23042 esac; \
23043 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
23044 libsrcdir="$$s/libgfortran"; \
23045 rm -f no-such-file || : ; \
23046 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23047 $(TARGET_CONFIGARGS) $${srcdiroption} \
23048 --with-target-subdir="$(TARGET_SUBDIR)" \
23049 || exit 1
23050 @endif target-libgfortran
23052 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
23053 maybe-all-target-libgfortran:
23054 @if target-libgfortran
23055 TARGET-target-libgfortran=all
23056 maybe-all-target-libgfortran: all-target-libgfortran
23057 all-target-libgfortran: configure-target-libgfortran
23058 @r=`${PWD_COMMAND}`; export r; \
23059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23060 $(SET_LIB_PATH) \
23061 $(NORMAL_TARGET_EXPORTS) \
23062 (cd $(TARGET_SUBDIR)/libgfortran && \
23063 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
23064 @endif target-libgfortran
23066 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
23067 maybe-check-target-libgfortran:
23068 @if target-libgfortran
23069 maybe-check-target-libgfortran: check-target-libgfortran
23071 check-target-libgfortran:
23072 @r=`${PWD_COMMAND}`; export r; \
23073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23074 $(SET_LIB_PATH) \
23075 $(NORMAL_TARGET_EXPORTS) \
23076 (cd $(TARGET_SUBDIR)/libgfortran && \
23077 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23079 @endif target-libgfortran
23081 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23082 maybe-install-target-libgfortran:
23083 @if target-libgfortran
23084 maybe-install-target-libgfortran: install-target-libgfortran
23086 install-target-libgfortran: installdirs
23087 @r=`${PWD_COMMAND}`; export r; \
23088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23089 $(SET_LIB_PATH) \
23090 $(NORMAL_TARGET_EXPORTS) \
23091 (cd $(TARGET_SUBDIR)/libgfortran && \
23092 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23094 @endif target-libgfortran
23096 # Other targets (info, dvi, etc.)
23098 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23099 maybe-info-target-libgfortran:
23100 @if target-libgfortran
23101 maybe-info-target-libgfortran: info-target-libgfortran
23103 info-target-libgfortran: \
23104 configure-target-libgfortran
23105 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23106 r=`${PWD_COMMAND}`; export r; \
23107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23108 $(SET_LIB_PATH) \
23109 $(NORMAL_TARGET_EXPORTS) \
23110 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23111 for flag in $(EXTRA_TARGET_FLAGS); do \
23112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23113 done; \
23114 (cd $(TARGET_SUBDIR)/libgfortran && \
23115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23117 "RANLIB=$${RANLIB}" \
23118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23119 info) \
23120 || exit 1
23122 @endif target-libgfortran
23124 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23125 maybe-dvi-target-libgfortran:
23126 @if target-libgfortran
23127 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23129 dvi-target-libgfortran: \
23130 configure-target-libgfortran
23131 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23132 r=`${PWD_COMMAND}`; export r; \
23133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23134 $(SET_LIB_PATH) \
23135 $(NORMAL_TARGET_EXPORTS) \
23136 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23137 for flag in $(EXTRA_TARGET_FLAGS); do \
23138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23139 done; \
23140 (cd $(TARGET_SUBDIR)/libgfortran && \
23141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23143 "RANLIB=$${RANLIB}" \
23144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23145 dvi) \
23146 || exit 1
23148 @endif target-libgfortran
23150 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23151 maybe-TAGS-target-libgfortran:
23152 @if target-libgfortran
23153 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23155 TAGS-target-libgfortran: \
23156 configure-target-libgfortran
23157 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23158 r=`${PWD_COMMAND}`; export r; \
23159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23160 $(SET_LIB_PATH) \
23161 $(NORMAL_TARGET_EXPORTS) \
23162 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23163 for flag in $(EXTRA_TARGET_FLAGS); do \
23164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23165 done; \
23166 (cd $(TARGET_SUBDIR)/libgfortran && \
23167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23169 "RANLIB=$${RANLIB}" \
23170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23171 TAGS) \
23172 || exit 1
23174 @endif target-libgfortran
23176 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23177 maybe-install-info-target-libgfortran:
23178 @if target-libgfortran
23179 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23181 install-info-target-libgfortran: \
23182 configure-target-libgfortran \
23183 info-target-libgfortran
23184 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23185 r=`${PWD_COMMAND}`; export r; \
23186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23187 $(SET_LIB_PATH) \
23188 $(NORMAL_TARGET_EXPORTS) \
23189 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23190 for flag in $(EXTRA_TARGET_FLAGS); do \
23191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23192 done; \
23193 (cd $(TARGET_SUBDIR)/libgfortran && \
23194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23196 "RANLIB=$${RANLIB}" \
23197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23198 install-info) \
23199 || exit 1
23201 @endif target-libgfortran
23203 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23204 maybe-installcheck-target-libgfortran:
23205 @if target-libgfortran
23206 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23208 installcheck-target-libgfortran: \
23209 configure-target-libgfortran
23210 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23211 r=`${PWD_COMMAND}`; export r; \
23212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23213 $(SET_LIB_PATH) \
23214 $(NORMAL_TARGET_EXPORTS) \
23215 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23216 for flag in $(EXTRA_TARGET_FLAGS); do \
23217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23218 done; \
23219 (cd $(TARGET_SUBDIR)/libgfortran && \
23220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23222 "RANLIB=$${RANLIB}" \
23223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23224 installcheck) \
23225 || exit 1
23227 @endif target-libgfortran
23229 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23230 maybe-mostlyclean-target-libgfortran:
23231 @if target-libgfortran
23232 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23234 mostlyclean-target-libgfortran:
23235 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23236 r=`${PWD_COMMAND}`; export r; \
23237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23238 $(SET_LIB_PATH) \
23239 $(NORMAL_TARGET_EXPORTS) \
23240 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23241 for flag in $(EXTRA_TARGET_FLAGS); do \
23242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23243 done; \
23244 (cd $(TARGET_SUBDIR)/libgfortran && \
23245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23247 "RANLIB=$${RANLIB}" \
23248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23249 mostlyclean) \
23250 || exit 1
23252 @endif target-libgfortran
23254 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23255 maybe-clean-target-libgfortran:
23256 @if target-libgfortran
23257 maybe-clean-target-libgfortran: clean-target-libgfortran
23259 clean-target-libgfortran:
23260 @[ -f $(TARGET_SUBDIR)/libgfortran/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 clean in $(TARGET_SUBDIR)/libgfortran" ; \
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)/libgfortran && \
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 clean) \
23275 || exit 1
23277 @endif target-libgfortran
23279 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23280 maybe-distclean-target-libgfortran:
23281 @if target-libgfortran
23282 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23284 distclean-target-libgfortran:
23285 @[ -f $(TARGET_SUBDIR)/libgfortran/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 distclean in $(TARGET_SUBDIR)/libgfortran" ; \
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)/libgfortran && \
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 distclean) \
23300 || exit 1
23302 @endif target-libgfortran
23304 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23305 maybe-maintainer-clean-target-libgfortran:
23306 @if target-libgfortran
23307 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23309 maintainer-clean-target-libgfortran:
23310 @[ -f $(TARGET_SUBDIR)/libgfortran/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 maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
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)/libgfortran && \
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 maintainer-clean) \
23325 || exit 1
23327 @endif target-libgfortran
23330 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23331 maybe-configure-target-libobjc:
23332 @if target-libobjc
23333 maybe-configure-target-libobjc: configure-target-libobjc
23335 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23336 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23337 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23338 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23339 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23341 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23342 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23343 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23344 r=`${PWD_COMMAND}`; export r; \
23345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23346 $(SET_LIB_PATH) \
23347 $(NORMAL_TARGET_EXPORTS) \
23348 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23349 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23350 case $(srcdir) in \
23351 /* | [A-Za-z]:[\\/]*) \
23352 topdir=$(srcdir) ;; \
23353 *) \
23354 case "$(TARGET_SUBDIR)" in \
23355 .) topdir="../$(srcdir)" ;; \
23356 *) topdir="../../$(srcdir)" ;; \
23357 esac ;; \
23358 esac; \
23359 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23360 libsrcdir="$$s/libobjc"; \
23361 rm -f no-such-file || : ; \
23362 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23363 $(TARGET_CONFIGARGS) $${srcdiroption} \
23364 --with-target-subdir="$(TARGET_SUBDIR)" \
23365 || exit 1
23366 @endif target-libobjc
23368 .PHONY: all-target-libobjc maybe-all-target-libobjc
23369 maybe-all-target-libobjc:
23370 @if target-libobjc
23371 TARGET-target-libobjc=all
23372 maybe-all-target-libobjc: all-target-libobjc
23373 all-target-libobjc: configure-target-libobjc
23374 @r=`${PWD_COMMAND}`; export r; \
23375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23376 $(SET_LIB_PATH) \
23377 $(NORMAL_TARGET_EXPORTS) \
23378 (cd $(TARGET_SUBDIR)/libobjc && \
23379 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
23380 @endif target-libobjc
23382 .PHONY: check-target-libobjc maybe-check-target-libobjc
23383 maybe-check-target-libobjc:
23384 @if target-libobjc
23385 maybe-check-target-libobjc: check-target-libobjc
23387 check-target-libobjc:
23388 @r=`${PWD_COMMAND}`; export r; \
23389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23390 $(SET_LIB_PATH) \
23391 $(NORMAL_TARGET_EXPORTS) \
23392 (cd $(TARGET_SUBDIR)/libobjc && \
23393 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23395 @endif target-libobjc
23397 .PHONY: install-target-libobjc maybe-install-target-libobjc
23398 maybe-install-target-libobjc:
23399 @if target-libobjc
23400 maybe-install-target-libobjc: install-target-libobjc
23402 install-target-libobjc: installdirs
23403 @r=`${PWD_COMMAND}`; export r; \
23404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23405 $(SET_LIB_PATH) \
23406 $(NORMAL_TARGET_EXPORTS) \
23407 (cd $(TARGET_SUBDIR)/libobjc && \
23408 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23410 @endif target-libobjc
23412 # Other targets (info, dvi, etc.)
23414 .PHONY: maybe-info-target-libobjc info-target-libobjc
23415 maybe-info-target-libobjc:
23416 @if target-libobjc
23417 maybe-info-target-libobjc: info-target-libobjc
23419 info-target-libobjc: \
23420 configure-target-libobjc
23421 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23422 r=`${PWD_COMMAND}`; export r; \
23423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23424 $(SET_LIB_PATH) \
23425 $(NORMAL_TARGET_EXPORTS) \
23426 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23427 for flag in $(EXTRA_TARGET_FLAGS); do \
23428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23429 done; \
23430 (cd $(TARGET_SUBDIR)/libobjc && \
23431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23433 "RANLIB=$${RANLIB}" \
23434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23435 info) \
23436 || exit 1
23438 @endif target-libobjc
23440 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23441 maybe-dvi-target-libobjc:
23442 @if target-libobjc
23443 maybe-dvi-target-libobjc: dvi-target-libobjc
23445 dvi-target-libobjc: \
23446 configure-target-libobjc
23447 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23448 r=`${PWD_COMMAND}`; export r; \
23449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23450 $(SET_LIB_PATH) \
23451 $(NORMAL_TARGET_EXPORTS) \
23452 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23453 for flag in $(EXTRA_TARGET_FLAGS); do \
23454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23455 done; \
23456 (cd $(TARGET_SUBDIR)/libobjc && \
23457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23459 "RANLIB=$${RANLIB}" \
23460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23461 dvi) \
23462 || exit 1
23464 @endif target-libobjc
23466 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23467 maybe-TAGS-target-libobjc:
23468 @if target-libobjc
23469 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23471 TAGS-target-libobjc: \
23472 configure-target-libobjc
23473 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23474 r=`${PWD_COMMAND}`; export r; \
23475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23476 $(SET_LIB_PATH) \
23477 $(NORMAL_TARGET_EXPORTS) \
23478 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23479 for flag in $(EXTRA_TARGET_FLAGS); do \
23480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23481 done; \
23482 (cd $(TARGET_SUBDIR)/libobjc && \
23483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23485 "RANLIB=$${RANLIB}" \
23486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23487 TAGS) \
23488 || exit 1
23490 @endif target-libobjc
23492 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23493 maybe-install-info-target-libobjc:
23494 @if target-libobjc
23495 maybe-install-info-target-libobjc: install-info-target-libobjc
23497 install-info-target-libobjc: \
23498 configure-target-libobjc \
23499 info-target-libobjc
23500 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23501 r=`${PWD_COMMAND}`; export r; \
23502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23503 $(SET_LIB_PATH) \
23504 $(NORMAL_TARGET_EXPORTS) \
23505 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23506 for flag in $(EXTRA_TARGET_FLAGS); do \
23507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23508 done; \
23509 (cd $(TARGET_SUBDIR)/libobjc && \
23510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23512 "RANLIB=$${RANLIB}" \
23513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23514 install-info) \
23515 || exit 1
23517 @endif target-libobjc
23519 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23520 maybe-installcheck-target-libobjc:
23521 @if target-libobjc
23522 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23524 installcheck-target-libobjc: \
23525 configure-target-libobjc
23526 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23527 r=`${PWD_COMMAND}`; export r; \
23528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23529 $(SET_LIB_PATH) \
23530 $(NORMAL_TARGET_EXPORTS) \
23531 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23532 for flag in $(EXTRA_TARGET_FLAGS); do \
23533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23534 done; \
23535 (cd $(TARGET_SUBDIR)/libobjc && \
23536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23538 "RANLIB=$${RANLIB}" \
23539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23540 installcheck) \
23541 || exit 1
23543 @endif target-libobjc
23545 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23546 maybe-mostlyclean-target-libobjc:
23547 @if target-libobjc
23548 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23550 mostlyclean-target-libobjc:
23551 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23552 r=`${PWD_COMMAND}`; export r; \
23553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23554 $(SET_LIB_PATH) \
23555 $(NORMAL_TARGET_EXPORTS) \
23556 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23557 for flag in $(EXTRA_TARGET_FLAGS); do \
23558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23559 done; \
23560 (cd $(TARGET_SUBDIR)/libobjc && \
23561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23563 "RANLIB=$${RANLIB}" \
23564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23565 mostlyclean) \
23566 || exit 1
23568 @endif target-libobjc
23570 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23571 maybe-clean-target-libobjc:
23572 @if target-libobjc
23573 maybe-clean-target-libobjc: clean-target-libobjc
23575 clean-target-libobjc:
23576 @[ -f $(TARGET_SUBDIR)/libobjc/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 clean in $(TARGET_SUBDIR)/libobjc" ; \
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)/libobjc && \
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 clean) \
23591 || exit 1
23593 @endif target-libobjc
23595 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23596 maybe-distclean-target-libobjc:
23597 @if target-libobjc
23598 maybe-distclean-target-libobjc: distclean-target-libobjc
23600 distclean-target-libobjc:
23601 @[ -f $(TARGET_SUBDIR)/libobjc/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 distclean in $(TARGET_SUBDIR)/libobjc" ; \
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)/libobjc && \
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 distclean) \
23616 || exit 1
23618 @endif target-libobjc
23620 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23621 maybe-maintainer-clean-target-libobjc:
23622 @if target-libobjc
23623 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23625 maintainer-clean-target-libobjc:
23626 @[ -f $(TARGET_SUBDIR)/libobjc/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 maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
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)/libobjc && \
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 maintainer-clean) \
23641 || exit 1
23643 @endif target-libobjc
23646 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23647 maybe-configure-target-libtermcap:
23648 @if target-libtermcap
23649 maybe-configure-target-libtermcap: configure-target-libtermcap
23651 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23652 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23653 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23654 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23655 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23657 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23658 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23659 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23660 r=`${PWD_COMMAND}`; export r; \
23661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23662 $(SET_LIB_PATH) \
23663 $(NORMAL_TARGET_EXPORTS) \
23664 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23665 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23666 case $(srcdir) in \
23667 /* | [A-Za-z]:[\\/]*) \
23668 topdir=$(srcdir) ;; \
23669 *) \
23670 case "$(TARGET_SUBDIR)" in \
23671 .) topdir="../$(srcdir)" ;; \
23672 *) topdir="../../$(srcdir)" ;; \
23673 esac ;; \
23674 esac; \
23675 if [ "$(srcdir)" = "." ] ; then \
23676 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23677 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23678 if [ -f Makefile ]; then \
23679 if $(MAKE) distclean; then \
23680 true; \
23681 else \
23682 exit 1; \
23683 fi; \
23684 else \
23685 true; \
23686 fi; \
23687 else \
23688 exit 1; \
23689 fi; \
23690 else \
23691 true; \
23692 fi; \
23693 srcdiroption="--srcdir=."; \
23694 libsrcdir="."; \
23695 else \
23696 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23697 libsrcdir="$$s/libtermcap"; \
23698 fi; \
23699 rm -f no-such-file || : ; \
23700 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23701 $(TARGET_CONFIGARGS) $${srcdiroption} \
23702 --with-target-subdir="$(TARGET_SUBDIR)" \
23703 || exit 1
23704 @endif target-libtermcap
23706 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
23707 maybe-all-target-libtermcap:
23708 @if target-libtermcap
23709 TARGET-target-libtermcap=all
23710 maybe-all-target-libtermcap: all-target-libtermcap
23711 all-target-libtermcap: configure-target-libtermcap
23712 @r=`${PWD_COMMAND}`; export r; \
23713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23714 $(SET_LIB_PATH) \
23715 $(NORMAL_TARGET_EXPORTS) \
23716 (cd $(TARGET_SUBDIR)/libtermcap && \
23717 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
23718 @endif target-libtermcap
23720 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
23721 maybe-check-target-libtermcap:
23722 @if target-libtermcap
23723 maybe-check-target-libtermcap: check-target-libtermcap
23725 # Dummy target for uncheckable module.
23726 check-target-libtermcap:
23728 @endif target-libtermcap
23730 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
23731 maybe-install-target-libtermcap:
23732 @if target-libtermcap
23733 maybe-install-target-libtermcap: install-target-libtermcap
23735 install-target-libtermcap: installdirs
23736 @r=`${PWD_COMMAND}`; export r; \
23737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23738 $(SET_LIB_PATH) \
23739 $(NORMAL_TARGET_EXPORTS) \
23740 (cd $(TARGET_SUBDIR)/libtermcap && \
23741 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23743 @endif target-libtermcap
23745 # Other targets (info, dvi, etc.)
23747 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
23748 maybe-info-target-libtermcap:
23749 @if target-libtermcap
23750 maybe-info-target-libtermcap: info-target-libtermcap
23752 info-target-libtermcap: \
23753 configure-target-libtermcap
23754 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23755 r=`${PWD_COMMAND}`; export r; \
23756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23757 $(SET_LIB_PATH) \
23758 $(NORMAL_TARGET_EXPORTS) \
23759 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
23760 for flag in $(EXTRA_TARGET_FLAGS); do \
23761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23762 done; \
23763 (cd $(TARGET_SUBDIR)/libtermcap && \
23764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23766 "RANLIB=$${RANLIB}" \
23767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23768 info) \
23769 || exit 1
23771 @endif target-libtermcap
23773 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
23774 maybe-dvi-target-libtermcap:
23775 @if target-libtermcap
23776 maybe-dvi-target-libtermcap: dvi-target-libtermcap
23778 dvi-target-libtermcap: \
23779 configure-target-libtermcap
23780 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23781 r=`${PWD_COMMAND}`; export r; \
23782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23783 $(SET_LIB_PATH) \
23784 $(NORMAL_TARGET_EXPORTS) \
23785 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
23786 for flag in $(EXTRA_TARGET_FLAGS); do \
23787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23788 done; \
23789 (cd $(TARGET_SUBDIR)/libtermcap && \
23790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23792 "RANLIB=$${RANLIB}" \
23793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23794 dvi) \
23795 || exit 1
23797 @endif target-libtermcap
23799 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
23800 maybe-TAGS-target-libtermcap:
23801 @if target-libtermcap
23802 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
23804 TAGS-target-libtermcap: \
23805 configure-target-libtermcap
23806 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23807 r=`${PWD_COMMAND}`; export r; \
23808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23809 $(SET_LIB_PATH) \
23810 $(NORMAL_TARGET_EXPORTS) \
23811 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
23812 for flag in $(EXTRA_TARGET_FLAGS); do \
23813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23814 done; \
23815 (cd $(TARGET_SUBDIR)/libtermcap && \
23816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23818 "RANLIB=$${RANLIB}" \
23819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23820 TAGS) \
23821 || exit 1
23823 @endif target-libtermcap
23825 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
23826 maybe-install-info-target-libtermcap:
23827 @if target-libtermcap
23828 maybe-install-info-target-libtermcap: install-info-target-libtermcap
23830 install-info-target-libtermcap: \
23831 configure-target-libtermcap \
23832 info-target-libtermcap
23833 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23834 r=`${PWD_COMMAND}`; export r; \
23835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23836 $(SET_LIB_PATH) \
23837 $(NORMAL_TARGET_EXPORTS) \
23838 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
23839 for flag in $(EXTRA_TARGET_FLAGS); do \
23840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23841 done; \
23842 (cd $(TARGET_SUBDIR)/libtermcap && \
23843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23845 "RANLIB=$${RANLIB}" \
23846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23847 install-info) \
23848 || exit 1
23850 @endif target-libtermcap
23852 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
23853 maybe-installcheck-target-libtermcap:
23854 @if target-libtermcap
23855 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
23857 installcheck-target-libtermcap: \
23858 configure-target-libtermcap
23859 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23860 r=`${PWD_COMMAND}`; export r; \
23861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23862 $(SET_LIB_PATH) \
23863 $(NORMAL_TARGET_EXPORTS) \
23864 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
23865 for flag in $(EXTRA_TARGET_FLAGS); do \
23866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23867 done; \
23868 (cd $(TARGET_SUBDIR)/libtermcap && \
23869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23871 "RANLIB=$${RANLIB}" \
23872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23873 installcheck) \
23874 || exit 1
23876 @endif target-libtermcap
23878 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
23879 maybe-mostlyclean-target-libtermcap:
23880 @if target-libtermcap
23881 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
23883 # libtermcap doesn't support mostlyclean.
23884 mostlyclean-target-libtermcap:
23886 @endif target-libtermcap
23888 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
23889 maybe-clean-target-libtermcap:
23890 @if target-libtermcap
23891 maybe-clean-target-libtermcap: clean-target-libtermcap
23893 # libtermcap doesn't support clean.
23894 clean-target-libtermcap:
23896 @endif target-libtermcap
23898 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
23899 maybe-distclean-target-libtermcap:
23900 @if target-libtermcap
23901 maybe-distclean-target-libtermcap: distclean-target-libtermcap
23903 # libtermcap doesn't support distclean.
23904 distclean-target-libtermcap:
23906 @endif target-libtermcap
23908 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
23909 maybe-maintainer-clean-target-libtermcap:
23910 @if target-libtermcap
23911 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
23913 # libtermcap doesn't support maintainer-clean.
23914 maintainer-clean-target-libtermcap:
23916 @endif target-libtermcap
23919 .PHONY: configure-target-winsup maybe-configure-target-winsup
23920 maybe-configure-target-winsup:
23921 @if target-winsup
23922 maybe-configure-target-winsup: configure-target-winsup
23924 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23925 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
23926 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23927 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
23928 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
23930 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
23931 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
23932 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23933 r=`${PWD_COMMAND}`; export r; \
23934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23935 $(SET_LIB_PATH) \
23936 $(NORMAL_TARGET_EXPORTS) \
23937 echo Configuring in $(TARGET_SUBDIR)/winsup; \
23938 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
23939 case $(srcdir) in \
23940 /* | [A-Za-z]:[\\/]*) \
23941 topdir=$(srcdir) ;; \
23942 *) \
23943 case "$(TARGET_SUBDIR)" in \
23944 .) topdir="../$(srcdir)" ;; \
23945 *) topdir="../../$(srcdir)" ;; \
23946 esac ;; \
23947 esac; \
23948 srcdiroption="--srcdir=$${topdir}/winsup"; \
23949 libsrcdir="$$s/winsup"; \
23950 rm -f no-such-file || : ; \
23951 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23952 $(TARGET_CONFIGARGS) $${srcdiroption} \
23953 --with-target-subdir="$(TARGET_SUBDIR)" \
23954 || exit 1
23955 @endif target-winsup
23957 .PHONY: all-target-winsup maybe-all-target-winsup
23958 maybe-all-target-winsup:
23959 @if target-winsup
23960 TARGET-target-winsup=all
23961 maybe-all-target-winsup: all-target-winsup
23962 all-target-winsup: configure-target-winsup
23963 @r=`${PWD_COMMAND}`; export r; \
23964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23965 $(SET_LIB_PATH) \
23966 $(NORMAL_TARGET_EXPORTS) \
23967 (cd $(TARGET_SUBDIR)/winsup && \
23968 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
23969 @endif target-winsup
23971 .PHONY: check-target-winsup maybe-check-target-winsup
23972 maybe-check-target-winsup:
23973 @if target-winsup
23974 maybe-check-target-winsup: check-target-winsup
23976 check-target-winsup:
23977 @r=`${PWD_COMMAND}`; export r; \
23978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23979 $(SET_LIB_PATH) \
23980 $(NORMAL_TARGET_EXPORTS) \
23981 (cd $(TARGET_SUBDIR)/winsup && \
23982 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23984 @endif target-winsup
23986 .PHONY: install-target-winsup maybe-install-target-winsup
23987 maybe-install-target-winsup:
23988 @if target-winsup
23989 maybe-install-target-winsup: install-target-winsup
23991 install-target-winsup: installdirs
23992 @r=`${PWD_COMMAND}`; export r; \
23993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23994 $(SET_LIB_PATH) \
23995 $(NORMAL_TARGET_EXPORTS) \
23996 (cd $(TARGET_SUBDIR)/winsup && \
23997 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23999 @endif target-winsup
24001 # Other targets (info, dvi, etc.)
24003 .PHONY: maybe-info-target-winsup info-target-winsup
24004 maybe-info-target-winsup:
24005 @if target-winsup
24006 maybe-info-target-winsup: info-target-winsup
24008 info-target-winsup: \
24009 configure-target-winsup
24010 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24011 r=`${PWD_COMMAND}`; export r; \
24012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24013 $(SET_LIB_PATH) \
24014 $(NORMAL_TARGET_EXPORTS) \
24015 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
24016 for flag in $(EXTRA_TARGET_FLAGS); do \
24017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24018 done; \
24019 (cd $(TARGET_SUBDIR)/winsup && \
24020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24022 "RANLIB=$${RANLIB}" \
24023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24024 info) \
24025 || exit 1
24027 @endif target-winsup
24029 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
24030 maybe-dvi-target-winsup:
24031 @if target-winsup
24032 maybe-dvi-target-winsup: dvi-target-winsup
24034 dvi-target-winsup: \
24035 configure-target-winsup
24036 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24037 r=`${PWD_COMMAND}`; export r; \
24038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24039 $(SET_LIB_PATH) \
24040 $(NORMAL_TARGET_EXPORTS) \
24041 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
24042 for flag in $(EXTRA_TARGET_FLAGS); do \
24043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24044 done; \
24045 (cd $(TARGET_SUBDIR)/winsup && \
24046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24048 "RANLIB=$${RANLIB}" \
24049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24050 dvi) \
24051 || exit 1
24053 @endif target-winsup
24055 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
24056 maybe-TAGS-target-winsup:
24057 @if target-winsup
24058 maybe-TAGS-target-winsup: TAGS-target-winsup
24060 TAGS-target-winsup: \
24061 configure-target-winsup
24062 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24063 r=`${PWD_COMMAND}`; export r; \
24064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24065 $(SET_LIB_PATH) \
24066 $(NORMAL_TARGET_EXPORTS) \
24067 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
24068 for flag in $(EXTRA_TARGET_FLAGS); do \
24069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24070 done; \
24071 (cd $(TARGET_SUBDIR)/winsup && \
24072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24074 "RANLIB=$${RANLIB}" \
24075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24076 TAGS) \
24077 || exit 1
24079 @endif target-winsup
24081 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24082 maybe-install-info-target-winsup:
24083 @if target-winsup
24084 maybe-install-info-target-winsup: install-info-target-winsup
24086 install-info-target-winsup: \
24087 configure-target-winsup \
24088 info-target-winsup
24089 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24090 r=`${PWD_COMMAND}`; export r; \
24091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24092 $(SET_LIB_PATH) \
24093 $(NORMAL_TARGET_EXPORTS) \
24094 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24095 for flag in $(EXTRA_TARGET_FLAGS); do \
24096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24097 done; \
24098 (cd $(TARGET_SUBDIR)/winsup && \
24099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24101 "RANLIB=$${RANLIB}" \
24102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24103 install-info) \
24104 || exit 1
24106 @endif target-winsup
24108 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24109 maybe-installcheck-target-winsup:
24110 @if target-winsup
24111 maybe-installcheck-target-winsup: installcheck-target-winsup
24113 installcheck-target-winsup: \
24114 configure-target-winsup
24115 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24116 r=`${PWD_COMMAND}`; export r; \
24117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24118 $(SET_LIB_PATH) \
24119 $(NORMAL_TARGET_EXPORTS) \
24120 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24121 for flag in $(EXTRA_TARGET_FLAGS); do \
24122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24123 done; \
24124 (cd $(TARGET_SUBDIR)/winsup && \
24125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24127 "RANLIB=$${RANLIB}" \
24128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24129 installcheck) \
24130 || exit 1
24132 @endif target-winsup
24134 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24135 maybe-mostlyclean-target-winsup:
24136 @if target-winsup
24137 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24139 mostlyclean-target-winsup:
24140 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24141 r=`${PWD_COMMAND}`; export r; \
24142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24143 $(SET_LIB_PATH) \
24144 $(NORMAL_TARGET_EXPORTS) \
24145 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24146 for flag in $(EXTRA_TARGET_FLAGS); do \
24147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24148 done; \
24149 (cd $(TARGET_SUBDIR)/winsup && \
24150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24152 "RANLIB=$${RANLIB}" \
24153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24154 mostlyclean) \
24155 || exit 1
24157 @endif target-winsup
24159 .PHONY: maybe-clean-target-winsup clean-target-winsup
24160 maybe-clean-target-winsup:
24161 @if target-winsup
24162 maybe-clean-target-winsup: clean-target-winsup
24164 clean-target-winsup:
24165 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24166 r=`${PWD_COMMAND}`; export r; \
24167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24168 $(SET_LIB_PATH) \
24169 $(NORMAL_TARGET_EXPORTS) \
24170 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24171 for flag in $(EXTRA_TARGET_FLAGS); do \
24172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24173 done; \
24174 (cd $(TARGET_SUBDIR)/winsup && \
24175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24177 "RANLIB=$${RANLIB}" \
24178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24179 clean) \
24180 || exit 1
24182 @endif target-winsup
24184 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24185 maybe-distclean-target-winsup:
24186 @if target-winsup
24187 maybe-distclean-target-winsup: distclean-target-winsup
24189 distclean-target-winsup:
24190 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24191 r=`${PWD_COMMAND}`; export r; \
24192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24193 $(SET_LIB_PATH) \
24194 $(NORMAL_TARGET_EXPORTS) \
24195 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24196 for flag in $(EXTRA_TARGET_FLAGS); do \
24197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24198 done; \
24199 (cd $(TARGET_SUBDIR)/winsup && \
24200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24202 "RANLIB=$${RANLIB}" \
24203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24204 distclean) \
24205 || exit 1
24207 @endif target-winsup
24209 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24210 maybe-maintainer-clean-target-winsup:
24211 @if target-winsup
24212 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24214 maintainer-clean-target-winsup:
24215 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24216 r=`${PWD_COMMAND}`; export r; \
24217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24218 $(SET_LIB_PATH) \
24219 $(NORMAL_TARGET_EXPORTS) \
24220 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24221 for flag in $(EXTRA_TARGET_FLAGS); do \
24222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24223 done; \
24224 (cd $(TARGET_SUBDIR)/winsup && \
24225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24227 "RANLIB=$${RANLIB}" \
24228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24229 maintainer-clean) \
24230 || exit 1
24232 @endif target-winsup
24235 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24236 maybe-configure-target-libgloss:
24237 @if target-libgloss
24238 maybe-configure-target-libgloss: configure-target-libgloss
24240 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24241 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24242 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24243 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24244 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24246 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24247 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24248 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24249 r=`${PWD_COMMAND}`; export r; \
24250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24251 $(SET_LIB_PATH) \
24252 $(NORMAL_TARGET_EXPORTS) \
24253 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24254 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24255 case $(srcdir) in \
24256 /* | [A-Za-z]:[\\/]*) \
24257 topdir=$(srcdir) ;; \
24258 *) \
24259 case "$(TARGET_SUBDIR)" in \
24260 .) topdir="../$(srcdir)" ;; \
24261 *) topdir="../../$(srcdir)" ;; \
24262 esac ;; \
24263 esac; \
24264 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24265 libsrcdir="$$s/libgloss"; \
24266 rm -f no-such-file || : ; \
24267 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24268 $(TARGET_CONFIGARGS) $${srcdiroption} \
24269 --with-target-subdir="$(TARGET_SUBDIR)" \
24270 || exit 1
24271 @endif target-libgloss
24273 .PHONY: all-target-libgloss maybe-all-target-libgloss
24274 maybe-all-target-libgloss:
24275 @if target-libgloss
24276 TARGET-target-libgloss=all
24277 maybe-all-target-libgloss: all-target-libgloss
24278 all-target-libgloss: configure-target-libgloss
24279 @r=`${PWD_COMMAND}`; export r; \
24280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24281 $(SET_LIB_PATH) \
24282 $(NORMAL_TARGET_EXPORTS) \
24283 (cd $(TARGET_SUBDIR)/libgloss && \
24284 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
24285 @endif target-libgloss
24287 .PHONY: check-target-libgloss maybe-check-target-libgloss
24288 maybe-check-target-libgloss:
24289 @if target-libgloss
24290 maybe-check-target-libgloss: check-target-libgloss
24292 # Dummy target for uncheckable module.
24293 check-target-libgloss:
24295 @endif target-libgloss
24297 .PHONY: install-target-libgloss maybe-install-target-libgloss
24298 maybe-install-target-libgloss:
24299 @if target-libgloss
24300 maybe-install-target-libgloss: install-target-libgloss
24302 install-target-libgloss: installdirs
24303 @r=`${PWD_COMMAND}`; export r; \
24304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24305 $(SET_LIB_PATH) \
24306 $(NORMAL_TARGET_EXPORTS) \
24307 (cd $(TARGET_SUBDIR)/libgloss && \
24308 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24310 @endif target-libgloss
24312 # Other targets (info, dvi, etc.)
24314 .PHONY: maybe-info-target-libgloss info-target-libgloss
24315 maybe-info-target-libgloss:
24316 @if target-libgloss
24317 maybe-info-target-libgloss: info-target-libgloss
24319 info-target-libgloss: \
24320 configure-target-libgloss
24321 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24322 r=`${PWD_COMMAND}`; export r; \
24323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24324 $(SET_LIB_PATH) \
24325 $(NORMAL_TARGET_EXPORTS) \
24326 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24327 for flag in $(EXTRA_TARGET_FLAGS); do \
24328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24329 done; \
24330 (cd $(TARGET_SUBDIR)/libgloss && \
24331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24333 "RANLIB=$${RANLIB}" \
24334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24335 info) \
24336 || exit 1
24338 @endif target-libgloss
24340 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24341 maybe-dvi-target-libgloss:
24342 @if target-libgloss
24343 maybe-dvi-target-libgloss: dvi-target-libgloss
24345 dvi-target-libgloss: \
24346 configure-target-libgloss
24347 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24348 r=`${PWD_COMMAND}`; export r; \
24349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24350 $(SET_LIB_PATH) \
24351 $(NORMAL_TARGET_EXPORTS) \
24352 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24353 for flag in $(EXTRA_TARGET_FLAGS); do \
24354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24355 done; \
24356 (cd $(TARGET_SUBDIR)/libgloss && \
24357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24359 "RANLIB=$${RANLIB}" \
24360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24361 dvi) \
24362 || exit 1
24364 @endif target-libgloss
24366 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24367 maybe-TAGS-target-libgloss:
24368 @if target-libgloss
24369 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24371 TAGS-target-libgloss: \
24372 configure-target-libgloss
24373 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24374 r=`${PWD_COMMAND}`; export r; \
24375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24376 $(SET_LIB_PATH) \
24377 $(NORMAL_TARGET_EXPORTS) \
24378 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24379 for flag in $(EXTRA_TARGET_FLAGS); do \
24380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24381 done; \
24382 (cd $(TARGET_SUBDIR)/libgloss && \
24383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24385 "RANLIB=$${RANLIB}" \
24386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24387 TAGS) \
24388 || exit 1
24390 @endif target-libgloss
24392 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24393 maybe-install-info-target-libgloss:
24394 @if target-libgloss
24395 maybe-install-info-target-libgloss: install-info-target-libgloss
24397 install-info-target-libgloss: \
24398 configure-target-libgloss \
24399 info-target-libgloss
24400 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24401 r=`${PWD_COMMAND}`; export r; \
24402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24403 $(SET_LIB_PATH) \
24404 $(NORMAL_TARGET_EXPORTS) \
24405 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24406 for flag in $(EXTRA_TARGET_FLAGS); do \
24407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24408 done; \
24409 (cd $(TARGET_SUBDIR)/libgloss && \
24410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24412 "RANLIB=$${RANLIB}" \
24413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24414 install-info) \
24415 || exit 1
24417 @endif target-libgloss
24419 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24420 maybe-installcheck-target-libgloss:
24421 @if target-libgloss
24422 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24424 installcheck-target-libgloss: \
24425 configure-target-libgloss
24426 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24427 r=`${PWD_COMMAND}`; export r; \
24428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24429 $(SET_LIB_PATH) \
24430 $(NORMAL_TARGET_EXPORTS) \
24431 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24432 for flag in $(EXTRA_TARGET_FLAGS); do \
24433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24434 done; \
24435 (cd $(TARGET_SUBDIR)/libgloss && \
24436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24438 "RANLIB=$${RANLIB}" \
24439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24440 installcheck) \
24441 || exit 1
24443 @endif target-libgloss
24445 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24446 maybe-mostlyclean-target-libgloss:
24447 @if target-libgloss
24448 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24450 mostlyclean-target-libgloss:
24451 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24452 r=`${PWD_COMMAND}`; export r; \
24453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24454 $(SET_LIB_PATH) \
24455 $(NORMAL_TARGET_EXPORTS) \
24456 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24457 for flag in $(EXTRA_TARGET_FLAGS); do \
24458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24459 done; \
24460 (cd $(TARGET_SUBDIR)/libgloss && \
24461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24463 "RANLIB=$${RANLIB}" \
24464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24465 mostlyclean) \
24466 || exit 1
24468 @endif target-libgloss
24470 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24471 maybe-clean-target-libgloss:
24472 @if target-libgloss
24473 maybe-clean-target-libgloss: clean-target-libgloss
24475 clean-target-libgloss:
24476 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24477 r=`${PWD_COMMAND}`; export r; \
24478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24479 $(SET_LIB_PATH) \
24480 $(NORMAL_TARGET_EXPORTS) \
24481 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24482 for flag in $(EXTRA_TARGET_FLAGS); do \
24483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24484 done; \
24485 (cd $(TARGET_SUBDIR)/libgloss && \
24486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24488 "RANLIB=$${RANLIB}" \
24489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24490 clean) \
24491 || exit 1
24493 @endif target-libgloss
24495 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24496 maybe-distclean-target-libgloss:
24497 @if target-libgloss
24498 maybe-distclean-target-libgloss: distclean-target-libgloss
24500 distclean-target-libgloss:
24501 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24502 r=`${PWD_COMMAND}`; export r; \
24503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24504 $(SET_LIB_PATH) \
24505 $(NORMAL_TARGET_EXPORTS) \
24506 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24507 for flag in $(EXTRA_TARGET_FLAGS); do \
24508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24509 done; \
24510 (cd $(TARGET_SUBDIR)/libgloss && \
24511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24513 "RANLIB=$${RANLIB}" \
24514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24515 distclean) \
24516 || exit 1
24518 @endif target-libgloss
24520 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24521 maybe-maintainer-clean-target-libgloss:
24522 @if target-libgloss
24523 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24525 maintainer-clean-target-libgloss:
24526 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24527 r=`${PWD_COMMAND}`; export r; \
24528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24529 $(SET_LIB_PATH) \
24530 $(NORMAL_TARGET_EXPORTS) \
24531 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24532 for flag in $(EXTRA_TARGET_FLAGS); do \
24533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24534 done; \
24535 (cd $(TARGET_SUBDIR)/libgloss && \
24536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24538 "RANLIB=$${RANLIB}" \
24539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24540 maintainer-clean) \
24541 || exit 1
24543 @endif target-libgloss
24546 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24547 maybe-configure-target-libiberty:
24548 @if target-libiberty
24549 maybe-configure-target-libiberty: configure-target-libiberty
24551 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24552 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24553 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24554 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24555 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24557 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24558 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24559 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24560 r=`${PWD_COMMAND}`; export r; \
24561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24562 $(SET_LIB_PATH) \
24563 $(NORMAL_TARGET_EXPORTS) \
24564 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24565 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24566 case $(srcdir) in \
24567 /* | [A-Za-z]:[\\/]*) \
24568 topdir=$(srcdir) ;; \
24569 *) \
24570 case "$(TARGET_SUBDIR)" in \
24571 .) topdir="../$(srcdir)" ;; \
24572 *) topdir="../../$(srcdir)" ;; \
24573 esac ;; \
24574 esac; \
24575 srcdiroption="--srcdir=$${topdir}/libiberty"; \
24576 libsrcdir="$$s/libiberty"; \
24577 rm -f no-such-file || : ; \
24578 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24579 $(TARGET_CONFIGARGS) $${srcdiroption} \
24580 --with-target-subdir="$(TARGET_SUBDIR)" \
24581 || exit 1
24582 @endif target-libiberty
24584 .PHONY: all-target-libiberty maybe-all-target-libiberty
24585 maybe-all-target-libiberty:
24586 @if target-libiberty
24587 TARGET-target-libiberty=all
24588 maybe-all-target-libiberty: all-target-libiberty
24589 all-target-libiberty: configure-target-libiberty
24590 @r=`${PWD_COMMAND}`; export r; \
24591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24592 $(SET_LIB_PATH) \
24593 $(NORMAL_TARGET_EXPORTS) \
24594 (cd $(TARGET_SUBDIR)/libiberty && \
24595 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
24596 @endif target-libiberty
24598 .PHONY: check-target-libiberty maybe-check-target-libiberty
24599 maybe-check-target-libiberty:
24600 @if target-libiberty
24601 maybe-check-target-libiberty: check-target-libiberty
24603 check-target-libiberty:
24604 @r=`${PWD_COMMAND}`; export r; \
24605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24606 $(SET_LIB_PATH) \
24607 $(NORMAL_TARGET_EXPORTS) \
24608 (cd $(TARGET_SUBDIR)/libiberty && \
24609 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24611 @endif target-libiberty
24613 .PHONY: install-target-libiberty maybe-install-target-libiberty
24614 maybe-install-target-libiberty:
24615 @if target-libiberty
24616 maybe-install-target-libiberty: install-target-libiberty
24618 install-target-libiberty: installdirs
24619 @r=`${PWD_COMMAND}`; export r; \
24620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24621 $(SET_LIB_PATH) \
24622 $(NORMAL_TARGET_EXPORTS) \
24623 (cd $(TARGET_SUBDIR)/libiberty && \
24624 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24626 @endif target-libiberty
24628 # Other targets (info, dvi, etc.)
24630 .PHONY: maybe-info-target-libiberty info-target-libiberty
24631 maybe-info-target-libiberty:
24632 @if target-libiberty
24633 maybe-info-target-libiberty: info-target-libiberty
24635 info-target-libiberty: \
24636 configure-target-libiberty
24637 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24638 r=`${PWD_COMMAND}`; export r; \
24639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24640 $(SET_LIB_PATH) \
24641 $(NORMAL_TARGET_EXPORTS) \
24642 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24643 for flag in $(EXTRA_TARGET_FLAGS); do \
24644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24645 done; \
24646 (cd $(TARGET_SUBDIR)/libiberty && \
24647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24649 "RANLIB=$${RANLIB}" \
24650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24651 info) \
24652 || exit 1
24654 @endif target-libiberty
24656 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24657 maybe-dvi-target-libiberty:
24658 @if target-libiberty
24659 maybe-dvi-target-libiberty: dvi-target-libiberty
24661 dvi-target-libiberty: \
24662 configure-target-libiberty
24663 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24664 r=`${PWD_COMMAND}`; export r; \
24665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24666 $(SET_LIB_PATH) \
24667 $(NORMAL_TARGET_EXPORTS) \
24668 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24669 for flag in $(EXTRA_TARGET_FLAGS); do \
24670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24671 done; \
24672 (cd $(TARGET_SUBDIR)/libiberty && \
24673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24675 "RANLIB=$${RANLIB}" \
24676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24677 dvi) \
24678 || exit 1
24680 @endif target-libiberty
24682 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24683 maybe-TAGS-target-libiberty:
24684 @if target-libiberty
24685 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24687 TAGS-target-libiberty: \
24688 configure-target-libiberty
24689 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24690 r=`${PWD_COMMAND}`; export r; \
24691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24692 $(SET_LIB_PATH) \
24693 $(NORMAL_TARGET_EXPORTS) \
24694 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
24695 for flag in $(EXTRA_TARGET_FLAGS); do \
24696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24697 done; \
24698 (cd $(TARGET_SUBDIR)/libiberty && \
24699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24701 "RANLIB=$${RANLIB}" \
24702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24703 TAGS) \
24704 || exit 1
24706 @endif target-libiberty
24708 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
24709 maybe-install-info-target-libiberty:
24710 @if target-libiberty
24711 maybe-install-info-target-libiberty: install-info-target-libiberty
24713 install-info-target-libiberty: \
24714 configure-target-libiberty \
24715 info-target-libiberty
24716 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24717 r=`${PWD_COMMAND}`; export r; \
24718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24719 $(SET_LIB_PATH) \
24720 $(NORMAL_TARGET_EXPORTS) \
24721 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
24722 for flag in $(EXTRA_TARGET_FLAGS); do \
24723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24724 done; \
24725 (cd $(TARGET_SUBDIR)/libiberty && \
24726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24728 "RANLIB=$${RANLIB}" \
24729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24730 install-info) \
24731 || exit 1
24733 @endif target-libiberty
24735 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
24736 maybe-installcheck-target-libiberty:
24737 @if target-libiberty
24738 maybe-installcheck-target-libiberty: installcheck-target-libiberty
24740 installcheck-target-libiberty: \
24741 configure-target-libiberty
24742 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24743 r=`${PWD_COMMAND}`; export r; \
24744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24745 $(SET_LIB_PATH) \
24746 $(NORMAL_TARGET_EXPORTS) \
24747 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
24748 for flag in $(EXTRA_TARGET_FLAGS); do \
24749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24750 done; \
24751 (cd $(TARGET_SUBDIR)/libiberty && \
24752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24754 "RANLIB=$${RANLIB}" \
24755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24756 installcheck) \
24757 || exit 1
24759 @endif target-libiberty
24761 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
24762 maybe-mostlyclean-target-libiberty:
24763 @if target-libiberty
24764 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
24766 mostlyclean-target-libiberty:
24767 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24768 r=`${PWD_COMMAND}`; export r; \
24769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24770 $(SET_LIB_PATH) \
24771 $(NORMAL_TARGET_EXPORTS) \
24772 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
24773 for flag in $(EXTRA_TARGET_FLAGS); do \
24774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24775 done; \
24776 (cd $(TARGET_SUBDIR)/libiberty && \
24777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24779 "RANLIB=$${RANLIB}" \
24780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24781 mostlyclean) \
24782 || exit 1
24784 @endif target-libiberty
24786 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
24787 maybe-clean-target-libiberty:
24788 @if target-libiberty
24789 maybe-clean-target-libiberty: clean-target-libiberty
24791 clean-target-libiberty:
24792 @[ -f $(TARGET_SUBDIR)/libiberty/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 clean in $(TARGET_SUBDIR)/libiberty" ; \
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)/libiberty && \
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 clean) \
24807 || exit 1
24809 @endif target-libiberty
24811 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
24812 maybe-distclean-target-libiberty:
24813 @if target-libiberty
24814 maybe-distclean-target-libiberty: distclean-target-libiberty
24816 distclean-target-libiberty:
24817 @[ -f $(TARGET_SUBDIR)/libiberty/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 distclean in $(TARGET_SUBDIR)/libiberty" ; \
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)/libiberty && \
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 distclean) \
24832 || exit 1
24834 @endif target-libiberty
24836 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
24837 maybe-maintainer-clean-target-libiberty:
24838 @if target-libiberty
24839 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
24841 maintainer-clean-target-libiberty:
24842 @[ -f $(TARGET_SUBDIR)/libiberty/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 maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
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)/libiberty && \
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 maintainer-clean) \
24857 || exit 1
24859 @endif target-libiberty
24862 .PHONY: configure-target-gperf maybe-configure-target-gperf
24863 maybe-configure-target-gperf:
24864 @if target-gperf
24865 maybe-configure-target-gperf: configure-target-gperf
24867 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24868 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
24869 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24870 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
24871 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
24873 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
24874 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
24875 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24876 r=`${PWD_COMMAND}`; export r; \
24877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24878 $(SET_LIB_PATH) \
24879 $(NORMAL_TARGET_EXPORTS) \
24880 echo Configuring in $(TARGET_SUBDIR)/gperf; \
24881 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
24882 case $(srcdir) in \
24883 /* | [A-Za-z]:[\\/]*) \
24884 topdir=$(srcdir) ;; \
24885 *) \
24886 case "$(TARGET_SUBDIR)" in \
24887 .) topdir="../$(srcdir)" ;; \
24888 *) topdir="../../$(srcdir)" ;; \
24889 esac ;; \
24890 esac; \
24891 srcdiroption="--srcdir=$${topdir}/gperf"; \
24892 libsrcdir="$$s/gperf"; \
24893 rm -f no-such-file || : ; \
24894 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24895 $(TARGET_CONFIGARGS) $${srcdiroption} \
24896 --with-target-subdir="$(TARGET_SUBDIR)" \
24897 || exit 1
24898 @endif target-gperf
24900 .PHONY: all-target-gperf maybe-all-target-gperf
24901 maybe-all-target-gperf:
24902 @if target-gperf
24903 TARGET-target-gperf=all
24904 maybe-all-target-gperf: all-target-gperf
24905 all-target-gperf: configure-target-gperf
24906 @r=`${PWD_COMMAND}`; export r; \
24907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24908 $(SET_LIB_PATH) \
24909 $(NORMAL_TARGET_EXPORTS) \
24910 (cd $(TARGET_SUBDIR)/gperf && \
24911 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
24912 @endif target-gperf
24914 .PHONY: check-target-gperf maybe-check-target-gperf
24915 maybe-check-target-gperf:
24916 @if target-gperf
24917 maybe-check-target-gperf: check-target-gperf
24919 check-target-gperf:
24920 @r=`${PWD_COMMAND}`; export r; \
24921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24922 $(SET_LIB_PATH) \
24923 $(NORMAL_TARGET_EXPORTS) \
24924 (cd $(TARGET_SUBDIR)/gperf && \
24925 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24927 @endif target-gperf
24929 .PHONY: install-target-gperf maybe-install-target-gperf
24930 maybe-install-target-gperf:
24931 @if target-gperf
24932 maybe-install-target-gperf: install-target-gperf
24934 install-target-gperf: installdirs
24935 @r=`${PWD_COMMAND}`; export r; \
24936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24937 $(SET_LIB_PATH) \
24938 $(NORMAL_TARGET_EXPORTS) \
24939 (cd $(TARGET_SUBDIR)/gperf && \
24940 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24942 @endif target-gperf
24944 # Other targets (info, dvi, etc.)
24946 .PHONY: maybe-info-target-gperf info-target-gperf
24947 maybe-info-target-gperf:
24948 @if target-gperf
24949 maybe-info-target-gperf: info-target-gperf
24951 info-target-gperf: \
24952 configure-target-gperf
24953 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24954 r=`${PWD_COMMAND}`; export r; \
24955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24956 $(SET_LIB_PATH) \
24957 $(NORMAL_TARGET_EXPORTS) \
24958 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
24959 for flag in $(EXTRA_TARGET_FLAGS); do \
24960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24961 done; \
24962 (cd $(TARGET_SUBDIR)/gperf && \
24963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24965 "RANLIB=$${RANLIB}" \
24966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24967 info) \
24968 || exit 1
24970 @endif target-gperf
24972 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
24973 maybe-dvi-target-gperf:
24974 @if target-gperf
24975 maybe-dvi-target-gperf: dvi-target-gperf
24977 dvi-target-gperf: \
24978 configure-target-gperf
24979 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24980 r=`${PWD_COMMAND}`; export r; \
24981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24982 $(SET_LIB_PATH) \
24983 $(NORMAL_TARGET_EXPORTS) \
24984 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
24985 for flag in $(EXTRA_TARGET_FLAGS); do \
24986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24987 done; \
24988 (cd $(TARGET_SUBDIR)/gperf && \
24989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24991 "RANLIB=$${RANLIB}" \
24992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24993 dvi) \
24994 || exit 1
24996 @endif target-gperf
24998 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
24999 maybe-TAGS-target-gperf:
25000 @if target-gperf
25001 maybe-TAGS-target-gperf: TAGS-target-gperf
25003 TAGS-target-gperf: \
25004 configure-target-gperf
25005 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25006 r=`${PWD_COMMAND}`; export r; \
25007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25008 $(SET_LIB_PATH) \
25009 $(NORMAL_TARGET_EXPORTS) \
25010 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
25011 for flag in $(EXTRA_TARGET_FLAGS); do \
25012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25013 done; \
25014 (cd $(TARGET_SUBDIR)/gperf && \
25015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25017 "RANLIB=$${RANLIB}" \
25018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25019 TAGS) \
25020 || exit 1
25022 @endif target-gperf
25024 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
25025 maybe-install-info-target-gperf:
25026 @if target-gperf
25027 maybe-install-info-target-gperf: install-info-target-gperf
25029 install-info-target-gperf: \
25030 configure-target-gperf \
25031 info-target-gperf
25032 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25033 r=`${PWD_COMMAND}`; export r; \
25034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25035 $(SET_LIB_PATH) \
25036 $(NORMAL_TARGET_EXPORTS) \
25037 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
25038 for flag in $(EXTRA_TARGET_FLAGS); do \
25039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25040 done; \
25041 (cd $(TARGET_SUBDIR)/gperf && \
25042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25044 "RANLIB=$${RANLIB}" \
25045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25046 install-info) \
25047 || exit 1
25049 @endif target-gperf
25051 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
25052 maybe-installcheck-target-gperf:
25053 @if target-gperf
25054 maybe-installcheck-target-gperf: installcheck-target-gperf
25056 installcheck-target-gperf: \
25057 configure-target-gperf
25058 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25059 r=`${PWD_COMMAND}`; export r; \
25060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25061 $(SET_LIB_PATH) \
25062 $(NORMAL_TARGET_EXPORTS) \
25063 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
25064 for flag in $(EXTRA_TARGET_FLAGS); do \
25065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25066 done; \
25067 (cd $(TARGET_SUBDIR)/gperf && \
25068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25070 "RANLIB=$${RANLIB}" \
25071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25072 installcheck) \
25073 || exit 1
25075 @endif target-gperf
25077 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25078 maybe-mostlyclean-target-gperf:
25079 @if target-gperf
25080 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25082 mostlyclean-target-gperf:
25083 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25084 r=`${PWD_COMMAND}`; export r; \
25085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25086 $(SET_LIB_PATH) \
25087 $(NORMAL_TARGET_EXPORTS) \
25088 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25089 for flag in $(EXTRA_TARGET_FLAGS); do \
25090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25091 done; \
25092 (cd $(TARGET_SUBDIR)/gperf && \
25093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25095 "RANLIB=$${RANLIB}" \
25096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25097 mostlyclean) \
25098 || exit 1
25100 @endif target-gperf
25102 .PHONY: maybe-clean-target-gperf clean-target-gperf
25103 maybe-clean-target-gperf:
25104 @if target-gperf
25105 maybe-clean-target-gperf: clean-target-gperf
25107 clean-target-gperf:
25108 @[ -f $(TARGET_SUBDIR)/gperf/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 clean in $(TARGET_SUBDIR)/gperf" ; \
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)/gperf && \
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 clean) \
25123 || exit 1
25125 @endif target-gperf
25127 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25128 maybe-distclean-target-gperf:
25129 @if target-gperf
25130 maybe-distclean-target-gperf: distclean-target-gperf
25132 distclean-target-gperf:
25133 @[ -f $(TARGET_SUBDIR)/gperf/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 distclean in $(TARGET_SUBDIR)/gperf" ; \
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)/gperf && \
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 distclean) \
25148 || exit 1
25150 @endif target-gperf
25152 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25153 maybe-maintainer-clean-target-gperf:
25154 @if target-gperf
25155 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25157 maintainer-clean-target-gperf:
25158 @[ -f $(TARGET_SUBDIR)/gperf/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 maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
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)/gperf && \
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 maintainer-clean) \
25173 || exit 1
25175 @endif target-gperf
25178 .PHONY: configure-target-examples maybe-configure-target-examples
25179 maybe-configure-target-examples:
25180 @if target-examples
25181 maybe-configure-target-examples: configure-target-examples
25183 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25184 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25185 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25186 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25187 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25189 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25190 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25191 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25192 r=`${PWD_COMMAND}`; export r; \
25193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25194 $(SET_LIB_PATH) \
25195 $(NORMAL_TARGET_EXPORTS) \
25196 echo Configuring in $(TARGET_SUBDIR)/examples; \
25197 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25198 case $(srcdir) in \
25199 /* | [A-Za-z]:[\\/]*) \
25200 topdir=$(srcdir) ;; \
25201 *) \
25202 case "$(TARGET_SUBDIR)" in \
25203 .) topdir="../$(srcdir)" ;; \
25204 *) topdir="../../$(srcdir)" ;; \
25205 esac ;; \
25206 esac; \
25207 srcdiroption="--srcdir=$${topdir}/examples"; \
25208 libsrcdir="$$s/examples"; \
25209 rm -f no-such-file || : ; \
25210 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25211 $(TARGET_CONFIGARGS) $${srcdiroption} \
25212 --with-target-subdir="$(TARGET_SUBDIR)" \
25213 || exit 1
25214 @endif target-examples
25216 .PHONY: all-target-examples maybe-all-target-examples
25217 maybe-all-target-examples:
25218 @if target-examples
25219 TARGET-target-examples=all
25220 maybe-all-target-examples: all-target-examples
25221 all-target-examples: configure-target-examples
25222 @r=`${PWD_COMMAND}`; export r; \
25223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25224 $(SET_LIB_PATH) \
25225 $(NORMAL_TARGET_EXPORTS) \
25226 (cd $(TARGET_SUBDIR)/examples && \
25227 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
25228 @endif target-examples
25230 .PHONY: check-target-examples maybe-check-target-examples
25231 maybe-check-target-examples:
25232 @if target-examples
25233 maybe-check-target-examples: check-target-examples
25235 # Dummy target for uncheckable module.
25236 check-target-examples:
25238 @endif target-examples
25240 .PHONY: install-target-examples maybe-install-target-examples
25241 maybe-install-target-examples:
25242 @if target-examples
25243 maybe-install-target-examples: install-target-examples
25245 # Dummy target for uninstallable.
25246 install-target-examples:
25248 @endif target-examples
25250 # Other targets (info, dvi, etc.)
25252 .PHONY: maybe-info-target-examples info-target-examples
25253 maybe-info-target-examples:
25254 @if target-examples
25255 maybe-info-target-examples: info-target-examples
25257 info-target-examples: \
25258 configure-target-examples
25259 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25260 r=`${PWD_COMMAND}`; export r; \
25261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25262 $(SET_LIB_PATH) \
25263 $(NORMAL_TARGET_EXPORTS) \
25264 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25265 for flag in $(EXTRA_TARGET_FLAGS); do \
25266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25267 done; \
25268 (cd $(TARGET_SUBDIR)/examples && \
25269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25271 "RANLIB=$${RANLIB}" \
25272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25273 info) \
25274 || exit 1
25276 @endif target-examples
25278 .PHONY: maybe-dvi-target-examples dvi-target-examples
25279 maybe-dvi-target-examples:
25280 @if target-examples
25281 maybe-dvi-target-examples: dvi-target-examples
25283 dvi-target-examples: \
25284 configure-target-examples
25285 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25286 r=`${PWD_COMMAND}`; export r; \
25287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25288 $(SET_LIB_PATH) \
25289 $(NORMAL_TARGET_EXPORTS) \
25290 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25291 for flag in $(EXTRA_TARGET_FLAGS); do \
25292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25293 done; \
25294 (cd $(TARGET_SUBDIR)/examples && \
25295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25297 "RANLIB=$${RANLIB}" \
25298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25299 dvi) \
25300 || exit 1
25302 @endif target-examples
25304 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25305 maybe-TAGS-target-examples:
25306 @if target-examples
25307 maybe-TAGS-target-examples: TAGS-target-examples
25309 TAGS-target-examples: \
25310 configure-target-examples
25311 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25312 r=`${PWD_COMMAND}`; export r; \
25313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25314 $(SET_LIB_PATH) \
25315 $(NORMAL_TARGET_EXPORTS) \
25316 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25317 for flag in $(EXTRA_TARGET_FLAGS); do \
25318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25319 done; \
25320 (cd $(TARGET_SUBDIR)/examples && \
25321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25323 "RANLIB=$${RANLIB}" \
25324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25325 TAGS) \
25326 || exit 1
25328 @endif target-examples
25330 .PHONY: maybe-install-info-target-examples install-info-target-examples
25331 maybe-install-info-target-examples:
25332 @if target-examples
25333 maybe-install-info-target-examples: install-info-target-examples
25335 install-info-target-examples: \
25336 configure-target-examples \
25337 info-target-examples
25338 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25339 r=`${PWD_COMMAND}`; export r; \
25340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25341 $(SET_LIB_PATH) \
25342 $(NORMAL_TARGET_EXPORTS) \
25343 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25344 for flag in $(EXTRA_TARGET_FLAGS); do \
25345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25346 done; \
25347 (cd $(TARGET_SUBDIR)/examples && \
25348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25350 "RANLIB=$${RANLIB}" \
25351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25352 install-info) \
25353 || exit 1
25355 @endif target-examples
25357 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25358 maybe-installcheck-target-examples:
25359 @if target-examples
25360 maybe-installcheck-target-examples: installcheck-target-examples
25362 installcheck-target-examples: \
25363 configure-target-examples
25364 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25365 r=`${PWD_COMMAND}`; export r; \
25366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25367 $(SET_LIB_PATH) \
25368 $(NORMAL_TARGET_EXPORTS) \
25369 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25370 for flag in $(EXTRA_TARGET_FLAGS); do \
25371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25372 done; \
25373 (cd $(TARGET_SUBDIR)/examples && \
25374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25376 "RANLIB=$${RANLIB}" \
25377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25378 installcheck) \
25379 || exit 1
25381 @endif target-examples
25383 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25384 maybe-mostlyclean-target-examples:
25385 @if target-examples
25386 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25388 mostlyclean-target-examples:
25389 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25390 r=`${PWD_COMMAND}`; export r; \
25391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25392 $(SET_LIB_PATH) \
25393 $(NORMAL_TARGET_EXPORTS) \
25394 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25395 for flag in $(EXTRA_TARGET_FLAGS); do \
25396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25397 done; \
25398 (cd $(TARGET_SUBDIR)/examples && \
25399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25401 "RANLIB=$${RANLIB}" \
25402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25403 mostlyclean) \
25404 || exit 1
25406 @endif target-examples
25408 .PHONY: maybe-clean-target-examples clean-target-examples
25409 maybe-clean-target-examples:
25410 @if target-examples
25411 maybe-clean-target-examples: clean-target-examples
25413 clean-target-examples:
25414 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25415 r=`${PWD_COMMAND}`; export r; \
25416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25417 $(SET_LIB_PATH) \
25418 $(NORMAL_TARGET_EXPORTS) \
25419 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25420 for flag in $(EXTRA_TARGET_FLAGS); do \
25421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25422 done; \
25423 (cd $(TARGET_SUBDIR)/examples && \
25424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25426 "RANLIB=$${RANLIB}" \
25427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25428 clean) \
25429 || exit 1
25431 @endif target-examples
25433 .PHONY: maybe-distclean-target-examples distclean-target-examples
25434 maybe-distclean-target-examples:
25435 @if target-examples
25436 maybe-distclean-target-examples: distclean-target-examples
25438 distclean-target-examples:
25439 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25440 r=`${PWD_COMMAND}`; export r; \
25441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25442 $(SET_LIB_PATH) \
25443 $(NORMAL_TARGET_EXPORTS) \
25444 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25445 for flag in $(EXTRA_TARGET_FLAGS); do \
25446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25447 done; \
25448 (cd $(TARGET_SUBDIR)/examples && \
25449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25451 "RANLIB=$${RANLIB}" \
25452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25453 distclean) \
25454 || exit 1
25456 @endif target-examples
25458 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25459 maybe-maintainer-clean-target-examples:
25460 @if target-examples
25461 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25463 maintainer-clean-target-examples:
25464 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25465 r=`${PWD_COMMAND}`; export r; \
25466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25467 $(SET_LIB_PATH) \
25468 $(NORMAL_TARGET_EXPORTS) \
25469 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25470 for flag in $(EXTRA_TARGET_FLAGS); do \
25471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25472 done; \
25473 (cd $(TARGET_SUBDIR)/examples && \
25474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25476 "RANLIB=$${RANLIB}" \
25477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25478 maintainer-clean) \
25479 || exit 1
25481 @endif target-examples
25484 .PHONY: configure-target-libffi maybe-configure-target-libffi
25485 maybe-configure-target-libffi:
25486 @if target-libffi
25487 maybe-configure-target-libffi: configure-target-libffi
25489 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25490 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25491 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25492 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25493 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25495 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25496 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25497 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25498 r=`${PWD_COMMAND}`; export r; \
25499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25500 $(SET_LIB_PATH) \
25501 $(NORMAL_TARGET_EXPORTS) \
25502 echo Configuring in $(TARGET_SUBDIR)/libffi; \
25503 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25504 case $(srcdir) in \
25505 /* | [A-Za-z]:[\\/]*) \
25506 topdir=$(srcdir) ;; \
25507 *) \
25508 case "$(TARGET_SUBDIR)" in \
25509 .) topdir="../$(srcdir)" ;; \
25510 *) topdir="../../$(srcdir)" ;; \
25511 esac ;; \
25512 esac; \
25513 srcdiroption="--srcdir=$${topdir}/libffi"; \
25514 libsrcdir="$$s/libffi"; \
25515 rm -f no-such-file || : ; \
25516 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25517 $(TARGET_CONFIGARGS) $${srcdiroption} \
25518 --with-target-subdir="$(TARGET_SUBDIR)" \
25519 || exit 1
25520 @endif target-libffi
25522 .PHONY: all-target-libffi maybe-all-target-libffi
25523 maybe-all-target-libffi:
25524 @if target-libffi
25525 TARGET-target-libffi=all
25526 maybe-all-target-libffi: all-target-libffi
25527 all-target-libffi: configure-target-libffi
25528 @r=`${PWD_COMMAND}`; export r; \
25529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25530 $(SET_LIB_PATH) \
25531 $(NORMAL_TARGET_EXPORTS) \
25532 (cd $(TARGET_SUBDIR)/libffi && \
25533 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
25534 @endif target-libffi
25536 .PHONY: check-target-libffi maybe-check-target-libffi
25537 maybe-check-target-libffi:
25538 @if target-libffi
25539 maybe-check-target-libffi: check-target-libffi
25541 check-target-libffi:
25542 @r=`${PWD_COMMAND}`; export r; \
25543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25544 $(SET_LIB_PATH) \
25545 $(NORMAL_TARGET_EXPORTS) \
25546 (cd $(TARGET_SUBDIR)/libffi && \
25547 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25549 @endif target-libffi
25551 .PHONY: install-target-libffi maybe-install-target-libffi
25552 maybe-install-target-libffi:
25553 @if target-libffi
25554 maybe-install-target-libffi: install-target-libffi
25556 install-target-libffi: installdirs
25557 @r=`${PWD_COMMAND}`; export r; \
25558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25559 $(SET_LIB_PATH) \
25560 $(NORMAL_TARGET_EXPORTS) \
25561 (cd $(TARGET_SUBDIR)/libffi && \
25562 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25564 @endif target-libffi
25566 # Other targets (info, dvi, etc.)
25568 .PHONY: maybe-info-target-libffi info-target-libffi
25569 maybe-info-target-libffi:
25570 @if target-libffi
25571 maybe-info-target-libffi: info-target-libffi
25573 info-target-libffi: \
25574 configure-target-libffi
25575 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25576 r=`${PWD_COMMAND}`; export r; \
25577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25578 $(SET_LIB_PATH) \
25579 $(NORMAL_TARGET_EXPORTS) \
25580 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25581 for flag in $(EXTRA_TARGET_FLAGS); do \
25582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25583 done; \
25584 (cd $(TARGET_SUBDIR)/libffi && \
25585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25587 "RANLIB=$${RANLIB}" \
25588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25589 info) \
25590 || exit 1
25592 @endif target-libffi
25594 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25595 maybe-dvi-target-libffi:
25596 @if target-libffi
25597 maybe-dvi-target-libffi: dvi-target-libffi
25599 dvi-target-libffi: \
25600 configure-target-libffi
25601 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25602 r=`${PWD_COMMAND}`; export r; \
25603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25604 $(SET_LIB_PATH) \
25605 $(NORMAL_TARGET_EXPORTS) \
25606 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25607 for flag in $(EXTRA_TARGET_FLAGS); do \
25608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25609 done; \
25610 (cd $(TARGET_SUBDIR)/libffi && \
25611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25613 "RANLIB=$${RANLIB}" \
25614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25615 dvi) \
25616 || exit 1
25618 @endif target-libffi
25620 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25621 maybe-TAGS-target-libffi:
25622 @if target-libffi
25623 maybe-TAGS-target-libffi: TAGS-target-libffi
25625 TAGS-target-libffi: \
25626 configure-target-libffi
25627 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25628 r=`${PWD_COMMAND}`; export r; \
25629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25630 $(SET_LIB_PATH) \
25631 $(NORMAL_TARGET_EXPORTS) \
25632 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25633 for flag in $(EXTRA_TARGET_FLAGS); do \
25634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25635 done; \
25636 (cd $(TARGET_SUBDIR)/libffi && \
25637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25639 "RANLIB=$${RANLIB}" \
25640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25641 TAGS) \
25642 || exit 1
25644 @endif target-libffi
25646 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25647 maybe-install-info-target-libffi:
25648 @if target-libffi
25649 maybe-install-info-target-libffi: install-info-target-libffi
25651 install-info-target-libffi: \
25652 configure-target-libffi \
25653 info-target-libffi
25654 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25655 r=`${PWD_COMMAND}`; export r; \
25656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25657 $(SET_LIB_PATH) \
25658 $(NORMAL_TARGET_EXPORTS) \
25659 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25660 for flag in $(EXTRA_TARGET_FLAGS); do \
25661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25662 done; \
25663 (cd $(TARGET_SUBDIR)/libffi && \
25664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25666 "RANLIB=$${RANLIB}" \
25667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25668 install-info) \
25669 || exit 1
25671 @endif target-libffi
25673 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25674 maybe-installcheck-target-libffi:
25675 @if target-libffi
25676 maybe-installcheck-target-libffi: installcheck-target-libffi
25678 installcheck-target-libffi: \
25679 configure-target-libffi
25680 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25681 r=`${PWD_COMMAND}`; export r; \
25682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25683 $(SET_LIB_PATH) \
25684 $(NORMAL_TARGET_EXPORTS) \
25685 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25686 for flag in $(EXTRA_TARGET_FLAGS); do \
25687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25688 done; \
25689 (cd $(TARGET_SUBDIR)/libffi && \
25690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25692 "RANLIB=$${RANLIB}" \
25693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25694 installcheck) \
25695 || exit 1
25697 @endif target-libffi
25699 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
25700 maybe-mostlyclean-target-libffi:
25701 @if target-libffi
25702 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
25704 mostlyclean-target-libffi:
25705 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25706 r=`${PWD_COMMAND}`; export r; \
25707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25708 $(SET_LIB_PATH) \
25709 $(NORMAL_TARGET_EXPORTS) \
25710 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
25711 for flag in $(EXTRA_TARGET_FLAGS); do \
25712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25713 done; \
25714 (cd $(TARGET_SUBDIR)/libffi && \
25715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25717 "RANLIB=$${RANLIB}" \
25718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25719 mostlyclean) \
25720 || exit 1
25722 @endif target-libffi
25724 .PHONY: maybe-clean-target-libffi clean-target-libffi
25725 maybe-clean-target-libffi:
25726 @if target-libffi
25727 maybe-clean-target-libffi: clean-target-libffi
25729 clean-target-libffi:
25730 @[ -f $(TARGET_SUBDIR)/libffi/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 clean in $(TARGET_SUBDIR)/libffi" ; \
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)/libffi && \
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 clean) \
25745 || exit 1
25747 @endif target-libffi
25749 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
25750 maybe-distclean-target-libffi:
25751 @if target-libffi
25752 maybe-distclean-target-libffi: distclean-target-libffi
25754 distclean-target-libffi:
25755 @[ -f $(TARGET_SUBDIR)/libffi/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 distclean in $(TARGET_SUBDIR)/libffi" ; \
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)/libffi && \
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 distclean) \
25770 || exit 1
25772 @endif target-libffi
25774 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
25775 maybe-maintainer-clean-target-libffi:
25776 @if target-libffi
25777 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
25779 maintainer-clean-target-libffi:
25780 @[ -f $(TARGET_SUBDIR)/libffi/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 maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
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)/libffi && \
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 maintainer-clean) \
25795 || exit 1
25797 @endif target-libffi
25800 .PHONY: configure-target-libjava maybe-configure-target-libjava
25801 maybe-configure-target-libjava:
25802 @if target-libjava
25803 maybe-configure-target-libjava: configure-target-libjava
25805 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25806 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
25807 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25808 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
25809 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
25811 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
25812 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
25813 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25814 r=`${PWD_COMMAND}`; export r; \
25815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25816 $(SET_LIB_PATH) \
25817 $(RAW_CXX_TARGET_EXPORTS) \
25818 echo Configuring in $(TARGET_SUBDIR)/libjava; \
25819 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
25820 case $(srcdir) in \
25821 /* | [A-Za-z]:[\\/]*) \
25822 topdir=$(srcdir) ;; \
25823 *) \
25824 case "$(TARGET_SUBDIR)" in \
25825 .) topdir="../$(srcdir)" ;; \
25826 *) topdir="../../$(srcdir)" ;; \
25827 esac ;; \
25828 esac; \
25829 srcdiroption="--srcdir=$${topdir}/libjava"; \
25830 libsrcdir="$$s/libjava"; \
25831 rm -f no-such-file || : ; \
25832 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25833 $(TARGET_CONFIGARGS) $${srcdiroption} \
25834 --with-target-subdir="$(TARGET_SUBDIR)" \
25835 || exit 1
25836 @endif target-libjava
25838 .PHONY: all-target-libjava maybe-all-target-libjava
25839 maybe-all-target-libjava:
25840 @if target-libjava
25841 TARGET-target-libjava=all
25842 maybe-all-target-libjava: all-target-libjava
25843 all-target-libjava: configure-target-libjava
25844 @r=`${PWD_COMMAND}`; export r; \
25845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25846 $(SET_LIB_PATH) \
25847 $(RAW_CXX_TARGET_EXPORTS) \
25848 (cd $(TARGET_SUBDIR)/libjava && \
25849 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
25850 @endif target-libjava
25852 .PHONY: check-target-libjava maybe-check-target-libjava
25853 maybe-check-target-libjava:
25854 @if target-libjava
25855 maybe-check-target-libjava: check-target-libjava
25857 check-target-libjava:
25858 @r=`${PWD_COMMAND}`; export r; \
25859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25860 $(SET_LIB_PATH) \
25861 $(RAW_CXX_TARGET_EXPORTS) \
25862 (cd $(TARGET_SUBDIR)/libjava && \
25863 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
25865 @endif target-libjava
25867 .PHONY: install-target-libjava maybe-install-target-libjava
25868 maybe-install-target-libjava:
25869 @if target-libjava
25870 maybe-install-target-libjava: install-target-libjava
25872 install-target-libjava: installdirs
25873 @r=`${PWD_COMMAND}`; export r; \
25874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25875 $(SET_LIB_PATH) \
25876 $(RAW_CXX_TARGET_EXPORTS) \
25877 (cd $(TARGET_SUBDIR)/libjava && \
25878 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25880 @endif target-libjava
25882 # Other targets (info, dvi, etc.)
25884 .PHONY: maybe-info-target-libjava info-target-libjava
25885 maybe-info-target-libjava:
25886 @if target-libjava
25887 maybe-info-target-libjava: info-target-libjava
25889 info-target-libjava: \
25890 configure-target-libjava
25891 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25892 r=`${PWD_COMMAND}`; export r; \
25893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25894 $(SET_LIB_PATH) \
25895 $(RAW_CXX_TARGET_EXPORTS) \
25896 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
25897 for flag in $(EXTRA_TARGET_FLAGS); do \
25898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25899 done; \
25900 (cd $(TARGET_SUBDIR)/libjava && \
25901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25903 "RANLIB=$${RANLIB}" \
25904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25905 info) \
25906 || exit 1
25908 @endif target-libjava
25910 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
25911 maybe-dvi-target-libjava:
25912 @if target-libjava
25913 maybe-dvi-target-libjava: dvi-target-libjava
25915 dvi-target-libjava: \
25916 configure-target-libjava
25917 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25918 r=`${PWD_COMMAND}`; export r; \
25919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25920 $(SET_LIB_PATH) \
25921 $(RAW_CXX_TARGET_EXPORTS) \
25922 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
25923 for flag in $(EXTRA_TARGET_FLAGS); do \
25924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25925 done; \
25926 (cd $(TARGET_SUBDIR)/libjava && \
25927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25929 "RANLIB=$${RANLIB}" \
25930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25931 dvi) \
25932 || exit 1
25934 @endif target-libjava
25936 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
25937 maybe-TAGS-target-libjava:
25938 @if target-libjava
25939 maybe-TAGS-target-libjava: TAGS-target-libjava
25941 TAGS-target-libjava: \
25942 configure-target-libjava
25943 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25944 r=`${PWD_COMMAND}`; export r; \
25945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25946 $(SET_LIB_PATH) \
25947 $(RAW_CXX_TARGET_EXPORTS) \
25948 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
25949 for flag in $(EXTRA_TARGET_FLAGS); do \
25950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25951 done; \
25952 (cd $(TARGET_SUBDIR)/libjava && \
25953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25955 "RANLIB=$${RANLIB}" \
25956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25957 TAGS) \
25958 || exit 1
25960 @endif target-libjava
25962 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
25963 maybe-install-info-target-libjava:
25964 @if target-libjava
25965 maybe-install-info-target-libjava: install-info-target-libjava
25967 install-info-target-libjava: \
25968 configure-target-libjava \
25969 info-target-libjava
25970 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25971 r=`${PWD_COMMAND}`; export r; \
25972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25973 $(SET_LIB_PATH) \
25974 $(RAW_CXX_TARGET_EXPORTS) \
25975 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
25976 for flag in $(EXTRA_TARGET_FLAGS); do \
25977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25978 done; \
25979 (cd $(TARGET_SUBDIR)/libjava && \
25980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25982 "RANLIB=$${RANLIB}" \
25983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25984 install-info) \
25985 || exit 1
25987 @endif target-libjava
25989 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
25990 maybe-installcheck-target-libjava:
25991 @if target-libjava
25992 maybe-installcheck-target-libjava: installcheck-target-libjava
25994 installcheck-target-libjava: \
25995 configure-target-libjava
25996 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25997 r=`${PWD_COMMAND}`; export r; \
25998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25999 $(SET_LIB_PATH) \
26000 $(RAW_CXX_TARGET_EXPORTS) \
26001 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
26002 for flag in $(EXTRA_TARGET_FLAGS); do \
26003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26004 done; \
26005 (cd $(TARGET_SUBDIR)/libjava && \
26006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26008 "RANLIB=$${RANLIB}" \
26009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26010 installcheck) \
26011 || exit 1
26013 @endif target-libjava
26015 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
26016 maybe-mostlyclean-target-libjava:
26017 @if target-libjava
26018 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
26020 mostlyclean-target-libjava:
26021 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26022 r=`${PWD_COMMAND}`; export r; \
26023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26024 $(SET_LIB_PATH) \
26025 $(RAW_CXX_TARGET_EXPORTS) \
26026 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
26027 for flag in $(EXTRA_TARGET_FLAGS); do \
26028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26029 done; \
26030 (cd $(TARGET_SUBDIR)/libjava && \
26031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26033 "RANLIB=$${RANLIB}" \
26034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26035 mostlyclean) \
26036 || exit 1
26038 @endif target-libjava
26040 .PHONY: maybe-clean-target-libjava clean-target-libjava
26041 maybe-clean-target-libjava:
26042 @if target-libjava
26043 maybe-clean-target-libjava: clean-target-libjava
26045 clean-target-libjava:
26046 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26047 r=`${PWD_COMMAND}`; export r; \
26048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26049 $(SET_LIB_PATH) \
26050 $(RAW_CXX_TARGET_EXPORTS) \
26051 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
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)/libjava && \
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 clean) \
26061 || exit 1
26063 @endif target-libjava
26065 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
26066 maybe-distclean-target-libjava:
26067 @if target-libjava
26068 maybe-distclean-target-libjava: distclean-target-libjava
26070 distclean-target-libjava:
26071 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26072 r=`${PWD_COMMAND}`; export r; \
26073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26074 $(SET_LIB_PATH) \
26075 $(RAW_CXX_TARGET_EXPORTS) \
26076 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
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)/libjava && \
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 distclean) \
26086 || exit 1
26088 @endif target-libjava
26090 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26091 maybe-maintainer-clean-target-libjava:
26092 @if target-libjava
26093 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26095 maintainer-clean-target-libjava:
26096 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26097 r=`${PWD_COMMAND}`; export r; \
26098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26099 $(SET_LIB_PATH) \
26100 $(RAW_CXX_TARGET_EXPORTS) \
26101 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
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)/libjava && \
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 maintainer-clean) \
26111 || exit 1
26113 @endif target-libjava
26116 .PHONY: configure-target-zlib maybe-configure-target-zlib
26117 maybe-configure-target-zlib:
26118 @if target-zlib
26119 maybe-configure-target-zlib: configure-target-zlib
26121 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26122 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26123 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26124 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26125 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26127 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26128 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26129 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26130 r=`${PWD_COMMAND}`; export r; \
26131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26132 $(SET_LIB_PATH) \
26133 $(NORMAL_TARGET_EXPORTS) \
26134 echo Configuring in $(TARGET_SUBDIR)/zlib; \
26135 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26136 case $(srcdir) in \
26137 /* | [A-Za-z]:[\\/]*) \
26138 topdir=$(srcdir) ;; \
26139 *) \
26140 case "$(TARGET_SUBDIR)" in \
26141 .) topdir="../$(srcdir)" ;; \
26142 *) topdir="../../$(srcdir)" ;; \
26143 esac ;; \
26144 esac; \
26145 if [ "$(srcdir)" = "." ] ; then \
26146 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26147 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26148 if [ -f Makefile ]; then \
26149 if $(MAKE) distclean; then \
26150 true; \
26151 else \
26152 exit 1; \
26153 fi; \
26154 else \
26155 true; \
26156 fi; \
26157 else \
26158 exit 1; \
26159 fi; \
26160 else \
26161 true; \
26162 fi; \
26163 srcdiroption="--srcdir=."; \
26164 libsrcdir="."; \
26165 else \
26166 srcdiroption="--srcdir=$${topdir}/zlib"; \
26167 libsrcdir="$$s/zlib"; \
26168 fi; \
26169 rm -f no-such-file || : ; \
26170 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26171 $(TARGET_CONFIGARGS) $${srcdiroption} \
26172 --with-target-subdir="$(TARGET_SUBDIR)" \
26173 || exit 1
26174 @endif target-zlib
26176 .PHONY: all-target-zlib maybe-all-target-zlib
26177 maybe-all-target-zlib:
26178 @if target-zlib
26179 TARGET-target-zlib=all
26180 maybe-all-target-zlib: all-target-zlib
26181 all-target-zlib: configure-target-zlib
26182 @r=`${PWD_COMMAND}`; export r; \
26183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26184 $(SET_LIB_PATH) \
26185 $(NORMAL_TARGET_EXPORTS) \
26186 (cd $(TARGET_SUBDIR)/zlib && \
26187 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
26188 @endif target-zlib
26190 .PHONY: check-target-zlib maybe-check-target-zlib
26191 maybe-check-target-zlib:
26192 @if target-zlib
26193 maybe-check-target-zlib: check-target-zlib
26195 check-target-zlib:
26196 @r=`${PWD_COMMAND}`; export r; \
26197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26198 $(SET_LIB_PATH) \
26199 $(NORMAL_TARGET_EXPORTS) \
26200 (cd $(TARGET_SUBDIR)/zlib && \
26201 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26203 @endif target-zlib
26205 .PHONY: install-target-zlib maybe-install-target-zlib
26206 maybe-install-target-zlib:
26207 @if target-zlib
26208 maybe-install-target-zlib: install-target-zlib
26210 install-target-zlib: installdirs
26211 @r=`${PWD_COMMAND}`; export r; \
26212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26213 $(SET_LIB_PATH) \
26214 $(NORMAL_TARGET_EXPORTS) \
26215 (cd $(TARGET_SUBDIR)/zlib && \
26216 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26218 @endif target-zlib
26220 # Other targets (info, dvi, etc.)
26222 .PHONY: maybe-info-target-zlib info-target-zlib
26223 maybe-info-target-zlib:
26224 @if target-zlib
26225 maybe-info-target-zlib: info-target-zlib
26227 info-target-zlib: \
26228 configure-target-zlib
26229 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26230 r=`${PWD_COMMAND}`; export r; \
26231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26232 $(SET_LIB_PATH) \
26233 $(NORMAL_TARGET_EXPORTS) \
26234 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26235 for flag in $(EXTRA_TARGET_FLAGS); do \
26236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26237 done; \
26238 (cd $(TARGET_SUBDIR)/zlib && \
26239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26241 "RANLIB=$${RANLIB}" \
26242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26243 info) \
26244 || exit 1
26246 @endif target-zlib
26248 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26249 maybe-dvi-target-zlib:
26250 @if target-zlib
26251 maybe-dvi-target-zlib: dvi-target-zlib
26253 dvi-target-zlib: \
26254 configure-target-zlib
26255 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26256 r=`${PWD_COMMAND}`; export r; \
26257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26258 $(SET_LIB_PATH) \
26259 $(NORMAL_TARGET_EXPORTS) \
26260 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26261 for flag in $(EXTRA_TARGET_FLAGS); do \
26262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26263 done; \
26264 (cd $(TARGET_SUBDIR)/zlib && \
26265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26267 "RANLIB=$${RANLIB}" \
26268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26269 dvi) \
26270 || exit 1
26272 @endif target-zlib
26274 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26275 maybe-TAGS-target-zlib:
26276 @if target-zlib
26277 maybe-TAGS-target-zlib: TAGS-target-zlib
26279 TAGS-target-zlib: \
26280 configure-target-zlib
26281 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26282 r=`${PWD_COMMAND}`; export r; \
26283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26284 $(SET_LIB_PATH) \
26285 $(NORMAL_TARGET_EXPORTS) \
26286 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26287 for flag in $(EXTRA_TARGET_FLAGS); do \
26288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26289 done; \
26290 (cd $(TARGET_SUBDIR)/zlib && \
26291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26293 "RANLIB=$${RANLIB}" \
26294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26295 TAGS) \
26296 || exit 1
26298 @endif target-zlib
26300 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26301 maybe-install-info-target-zlib:
26302 @if target-zlib
26303 maybe-install-info-target-zlib: install-info-target-zlib
26305 install-info-target-zlib: \
26306 configure-target-zlib \
26307 info-target-zlib
26308 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26309 r=`${PWD_COMMAND}`; export r; \
26310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26311 $(SET_LIB_PATH) \
26312 $(NORMAL_TARGET_EXPORTS) \
26313 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26314 for flag in $(EXTRA_TARGET_FLAGS); do \
26315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26316 done; \
26317 (cd $(TARGET_SUBDIR)/zlib && \
26318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26320 "RANLIB=$${RANLIB}" \
26321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26322 install-info) \
26323 || exit 1
26325 @endif target-zlib
26327 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26328 maybe-installcheck-target-zlib:
26329 @if target-zlib
26330 maybe-installcheck-target-zlib: installcheck-target-zlib
26332 installcheck-target-zlib: \
26333 configure-target-zlib
26334 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26335 r=`${PWD_COMMAND}`; export r; \
26336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26337 $(SET_LIB_PATH) \
26338 $(NORMAL_TARGET_EXPORTS) \
26339 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26340 for flag in $(EXTRA_TARGET_FLAGS); do \
26341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26342 done; \
26343 (cd $(TARGET_SUBDIR)/zlib && \
26344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26346 "RANLIB=$${RANLIB}" \
26347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26348 installcheck) \
26349 || exit 1
26351 @endif target-zlib
26353 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26354 maybe-mostlyclean-target-zlib:
26355 @if target-zlib
26356 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26358 mostlyclean-target-zlib:
26359 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26360 r=`${PWD_COMMAND}`; export r; \
26361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26362 $(SET_LIB_PATH) \
26363 $(NORMAL_TARGET_EXPORTS) \
26364 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26365 for flag in $(EXTRA_TARGET_FLAGS); do \
26366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26367 done; \
26368 (cd $(TARGET_SUBDIR)/zlib && \
26369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26371 "RANLIB=$${RANLIB}" \
26372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26373 mostlyclean) \
26374 || exit 1
26376 @endif target-zlib
26378 .PHONY: maybe-clean-target-zlib clean-target-zlib
26379 maybe-clean-target-zlib:
26380 @if target-zlib
26381 maybe-clean-target-zlib: clean-target-zlib
26383 clean-target-zlib:
26384 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26385 r=`${PWD_COMMAND}`; export r; \
26386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26387 $(SET_LIB_PATH) \
26388 $(NORMAL_TARGET_EXPORTS) \
26389 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26390 for flag in $(EXTRA_TARGET_FLAGS); do \
26391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26392 done; \
26393 (cd $(TARGET_SUBDIR)/zlib && \
26394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26396 "RANLIB=$${RANLIB}" \
26397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26398 clean) \
26399 || exit 1
26401 @endif target-zlib
26403 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26404 maybe-distclean-target-zlib:
26405 @if target-zlib
26406 maybe-distclean-target-zlib: distclean-target-zlib
26408 distclean-target-zlib:
26409 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26410 r=`${PWD_COMMAND}`; export r; \
26411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26412 $(SET_LIB_PATH) \
26413 $(NORMAL_TARGET_EXPORTS) \
26414 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26415 for flag in $(EXTRA_TARGET_FLAGS); do \
26416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26417 done; \
26418 (cd $(TARGET_SUBDIR)/zlib && \
26419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26421 "RANLIB=$${RANLIB}" \
26422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26423 distclean) \
26424 || exit 1
26426 @endif target-zlib
26428 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26429 maybe-maintainer-clean-target-zlib:
26430 @if target-zlib
26431 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26433 maintainer-clean-target-zlib:
26434 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26435 r=`${PWD_COMMAND}`; export r; \
26436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26437 $(SET_LIB_PATH) \
26438 $(NORMAL_TARGET_EXPORTS) \
26439 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26440 for flag in $(EXTRA_TARGET_FLAGS); do \
26441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26442 done; \
26443 (cd $(TARGET_SUBDIR)/zlib && \
26444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26446 "RANLIB=$${RANLIB}" \
26447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26448 maintainer-clean) \
26449 || exit 1
26451 @endif target-zlib
26454 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26455 maybe-configure-target-boehm-gc:
26456 @if target-boehm-gc
26457 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26459 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26460 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26461 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26462 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26463 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26465 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26466 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26467 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26468 r=`${PWD_COMMAND}`; export r; \
26469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26470 $(SET_LIB_PATH) \
26471 $(NORMAL_TARGET_EXPORTS) \
26472 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26473 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26474 case $(srcdir) in \
26475 /* | [A-Za-z]:[\\/]*) \
26476 topdir=$(srcdir) ;; \
26477 *) \
26478 case "$(TARGET_SUBDIR)" in \
26479 .) topdir="../$(srcdir)" ;; \
26480 *) topdir="../../$(srcdir)" ;; \
26481 esac ;; \
26482 esac; \
26483 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26484 libsrcdir="$$s/boehm-gc"; \
26485 rm -f no-such-file || : ; \
26486 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26487 $(TARGET_CONFIGARGS) $${srcdiroption} \
26488 --with-target-subdir="$(TARGET_SUBDIR)" \
26489 || exit 1
26490 @endif target-boehm-gc
26492 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26493 maybe-all-target-boehm-gc:
26494 @if target-boehm-gc
26495 TARGET-target-boehm-gc=all
26496 maybe-all-target-boehm-gc: all-target-boehm-gc
26497 all-target-boehm-gc: configure-target-boehm-gc
26498 @r=`${PWD_COMMAND}`; export r; \
26499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26500 $(SET_LIB_PATH) \
26501 $(NORMAL_TARGET_EXPORTS) \
26502 (cd $(TARGET_SUBDIR)/boehm-gc && \
26503 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
26504 @endif target-boehm-gc
26506 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26507 maybe-check-target-boehm-gc:
26508 @if target-boehm-gc
26509 maybe-check-target-boehm-gc: check-target-boehm-gc
26511 check-target-boehm-gc:
26512 @r=`${PWD_COMMAND}`; export r; \
26513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26514 $(SET_LIB_PATH) \
26515 $(NORMAL_TARGET_EXPORTS) \
26516 (cd $(TARGET_SUBDIR)/boehm-gc && \
26517 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26519 @endif target-boehm-gc
26521 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26522 maybe-install-target-boehm-gc:
26523 @if target-boehm-gc
26524 maybe-install-target-boehm-gc: install-target-boehm-gc
26526 install-target-boehm-gc: installdirs
26527 @r=`${PWD_COMMAND}`; export r; \
26528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26529 $(SET_LIB_PATH) \
26530 $(NORMAL_TARGET_EXPORTS) \
26531 (cd $(TARGET_SUBDIR)/boehm-gc && \
26532 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26534 @endif target-boehm-gc
26536 # Other targets (info, dvi, etc.)
26538 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26539 maybe-info-target-boehm-gc:
26540 @if target-boehm-gc
26541 maybe-info-target-boehm-gc: info-target-boehm-gc
26543 info-target-boehm-gc: \
26544 configure-target-boehm-gc
26545 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26546 r=`${PWD_COMMAND}`; export r; \
26547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26548 $(SET_LIB_PATH) \
26549 $(NORMAL_TARGET_EXPORTS) \
26550 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26551 for flag in $(EXTRA_TARGET_FLAGS); do \
26552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26553 done; \
26554 (cd $(TARGET_SUBDIR)/boehm-gc && \
26555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26557 "RANLIB=$${RANLIB}" \
26558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26559 info) \
26560 || exit 1
26562 @endif target-boehm-gc
26564 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26565 maybe-dvi-target-boehm-gc:
26566 @if target-boehm-gc
26567 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26569 dvi-target-boehm-gc: \
26570 configure-target-boehm-gc
26571 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26572 r=`${PWD_COMMAND}`; export r; \
26573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26574 $(SET_LIB_PATH) \
26575 $(NORMAL_TARGET_EXPORTS) \
26576 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26577 for flag in $(EXTRA_TARGET_FLAGS); do \
26578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26579 done; \
26580 (cd $(TARGET_SUBDIR)/boehm-gc && \
26581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26583 "RANLIB=$${RANLIB}" \
26584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26585 dvi) \
26586 || exit 1
26588 @endif target-boehm-gc
26590 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26591 maybe-TAGS-target-boehm-gc:
26592 @if target-boehm-gc
26593 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26595 TAGS-target-boehm-gc: \
26596 configure-target-boehm-gc
26597 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26598 r=`${PWD_COMMAND}`; export r; \
26599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26600 $(SET_LIB_PATH) \
26601 $(NORMAL_TARGET_EXPORTS) \
26602 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26603 for flag in $(EXTRA_TARGET_FLAGS); do \
26604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26605 done; \
26606 (cd $(TARGET_SUBDIR)/boehm-gc && \
26607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26609 "RANLIB=$${RANLIB}" \
26610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26611 TAGS) \
26612 || exit 1
26614 @endif target-boehm-gc
26616 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26617 maybe-install-info-target-boehm-gc:
26618 @if target-boehm-gc
26619 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26621 install-info-target-boehm-gc: \
26622 configure-target-boehm-gc \
26623 info-target-boehm-gc
26624 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26625 r=`${PWD_COMMAND}`; export r; \
26626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26627 $(SET_LIB_PATH) \
26628 $(NORMAL_TARGET_EXPORTS) \
26629 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26630 for flag in $(EXTRA_TARGET_FLAGS); do \
26631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26632 done; \
26633 (cd $(TARGET_SUBDIR)/boehm-gc && \
26634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26636 "RANLIB=$${RANLIB}" \
26637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26638 install-info) \
26639 || exit 1
26641 @endif target-boehm-gc
26643 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26644 maybe-installcheck-target-boehm-gc:
26645 @if target-boehm-gc
26646 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26648 installcheck-target-boehm-gc: \
26649 configure-target-boehm-gc
26650 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26651 r=`${PWD_COMMAND}`; export r; \
26652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26653 $(SET_LIB_PATH) \
26654 $(NORMAL_TARGET_EXPORTS) \
26655 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
26656 for flag in $(EXTRA_TARGET_FLAGS); do \
26657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26658 done; \
26659 (cd $(TARGET_SUBDIR)/boehm-gc && \
26660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26662 "RANLIB=$${RANLIB}" \
26663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26664 installcheck) \
26665 || exit 1
26667 @endif target-boehm-gc
26669 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26670 maybe-mostlyclean-target-boehm-gc:
26671 @if target-boehm-gc
26672 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26674 mostlyclean-target-boehm-gc:
26675 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26676 r=`${PWD_COMMAND}`; export r; \
26677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26678 $(SET_LIB_PATH) \
26679 $(NORMAL_TARGET_EXPORTS) \
26680 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26681 for flag in $(EXTRA_TARGET_FLAGS); do \
26682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26683 done; \
26684 (cd $(TARGET_SUBDIR)/boehm-gc && \
26685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26687 "RANLIB=$${RANLIB}" \
26688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26689 mostlyclean) \
26690 || exit 1
26692 @endif target-boehm-gc
26694 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
26695 maybe-clean-target-boehm-gc:
26696 @if target-boehm-gc
26697 maybe-clean-target-boehm-gc: clean-target-boehm-gc
26699 clean-target-boehm-gc:
26700 @[ -f $(TARGET_SUBDIR)/boehm-gc/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 clean in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 clean) \
26715 || exit 1
26717 @endif target-boehm-gc
26719 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
26720 maybe-distclean-target-boehm-gc:
26721 @if target-boehm-gc
26722 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
26724 distclean-target-boehm-gc:
26725 @[ -f $(TARGET_SUBDIR)/boehm-gc/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 distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 distclean) \
26740 || exit 1
26742 @endif target-boehm-gc
26744 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
26745 maybe-maintainer-clean-target-boehm-gc:
26746 @if target-boehm-gc
26747 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
26749 maintainer-clean-target-boehm-gc:
26750 @[ -f $(TARGET_SUBDIR)/boehm-gc/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 maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 maintainer-clean) \
26765 || exit 1
26767 @endif target-boehm-gc
26770 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
26771 maybe-configure-target-qthreads:
26772 @if target-qthreads
26773 maybe-configure-target-qthreads: configure-target-qthreads
26775 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26776 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
26777 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26778 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
26779 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
26781 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
26782 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
26783 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26784 r=`${PWD_COMMAND}`; export r; \
26785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26786 $(SET_LIB_PATH) \
26787 $(NORMAL_TARGET_EXPORTS) \
26788 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
26789 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
26790 case $(srcdir) in \
26791 /* | [A-Za-z]:[\\/]*) \
26792 topdir=$(srcdir) ;; \
26793 *) \
26794 case "$(TARGET_SUBDIR)" in \
26795 .) topdir="../$(srcdir)" ;; \
26796 *) topdir="../../$(srcdir)" ;; \
26797 esac ;; \
26798 esac; \
26799 srcdiroption="--srcdir=$${topdir}/qthreads"; \
26800 libsrcdir="$$s/qthreads"; \
26801 rm -f no-such-file || : ; \
26802 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26803 $(TARGET_CONFIGARGS) $${srcdiroption} \
26804 --with-target-subdir="$(TARGET_SUBDIR)" \
26805 || exit 1
26806 @endif target-qthreads
26808 .PHONY: all-target-qthreads maybe-all-target-qthreads
26809 maybe-all-target-qthreads:
26810 @if target-qthreads
26811 TARGET-target-qthreads=all
26812 maybe-all-target-qthreads: all-target-qthreads
26813 all-target-qthreads: configure-target-qthreads
26814 @r=`${PWD_COMMAND}`; export r; \
26815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26816 $(SET_LIB_PATH) \
26817 $(NORMAL_TARGET_EXPORTS) \
26818 (cd $(TARGET_SUBDIR)/qthreads && \
26819 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
26820 @endif target-qthreads
26822 .PHONY: check-target-qthreads maybe-check-target-qthreads
26823 maybe-check-target-qthreads:
26824 @if target-qthreads
26825 maybe-check-target-qthreads: check-target-qthreads
26827 check-target-qthreads:
26828 @r=`${PWD_COMMAND}`; export r; \
26829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26830 $(SET_LIB_PATH) \
26831 $(NORMAL_TARGET_EXPORTS) \
26832 (cd $(TARGET_SUBDIR)/qthreads && \
26833 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26835 @endif target-qthreads
26837 .PHONY: install-target-qthreads maybe-install-target-qthreads
26838 maybe-install-target-qthreads:
26839 @if target-qthreads
26840 maybe-install-target-qthreads: install-target-qthreads
26842 install-target-qthreads: installdirs
26843 @r=`${PWD_COMMAND}`; export r; \
26844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26845 $(SET_LIB_PATH) \
26846 $(NORMAL_TARGET_EXPORTS) \
26847 (cd $(TARGET_SUBDIR)/qthreads && \
26848 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26850 @endif target-qthreads
26852 # Other targets (info, dvi, etc.)
26854 .PHONY: maybe-info-target-qthreads info-target-qthreads
26855 maybe-info-target-qthreads:
26856 @if target-qthreads
26857 maybe-info-target-qthreads: info-target-qthreads
26859 info-target-qthreads: \
26860 configure-target-qthreads
26861 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26862 r=`${PWD_COMMAND}`; export r; \
26863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26864 $(SET_LIB_PATH) \
26865 $(NORMAL_TARGET_EXPORTS) \
26866 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
26867 for flag in $(EXTRA_TARGET_FLAGS); do \
26868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26869 done; \
26870 (cd $(TARGET_SUBDIR)/qthreads && \
26871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26873 "RANLIB=$${RANLIB}" \
26874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26875 info) \
26876 || exit 1
26878 @endif target-qthreads
26880 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
26881 maybe-dvi-target-qthreads:
26882 @if target-qthreads
26883 maybe-dvi-target-qthreads: dvi-target-qthreads
26885 dvi-target-qthreads: \
26886 configure-target-qthreads
26887 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26888 r=`${PWD_COMMAND}`; export r; \
26889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26890 $(SET_LIB_PATH) \
26891 $(NORMAL_TARGET_EXPORTS) \
26892 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
26893 for flag in $(EXTRA_TARGET_FLAGS); do \
26894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26895 done; \
26896 (cd $(TARGET_SUBDIR)/qthreads && \
26897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26899 "RANLIB=$${RANLIB}" \
26900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26901 dvi) \
26902 || exit 1
26904 @endif target-qthreads
26906 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
26907 maybe-TAGS-target-qthreads:
26908 @if target-qthreads
26909 maybe-TAGS-target-qthreads: TAGS-target-qthreads
26911 TAGS-target-qthreads: \
26912 configure-target-qthreads
26913 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26914 r=`${PWD_COMMAND}`; export r; \
26915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26916 $(SET_LIB_PATH) \
26917 $(NORMAL_TARGET_EXPORTS) \
26918 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
26919 for flag in $(EXTRA_TARGET_FLAGS); do \
26920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26921 done; \
26922 (cd $(TARGET_SUBDIR)/qthreads && \
26923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26925 "RANLIB=$${RANLIB}" \
26926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26927 TAGS) \
26928 || exit 1
26930 @endif target-qthreads
26932 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
26933 maybe-install-info-target-qthreads:
26934 @if target-qthreads
26935 maybe-install-info-target-qthreads: install-info-target-qthreads
26937 install-info-target-qthreads: \
26938 configure-target-qthreads \
26939 info-target-qthreads
26940 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26941 r=`${PWD_COMMAND}`; export r; \
26942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26943 $(SET_LIB_PATH) \
26944 $(NORMAL_TARGET_EXPORTS) \
26945 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
26946 for flag in $(EXTRA_TARGET_FLAGS); do \
26947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26948 done; \
26949 (cd $(TARGET_SUBDIR)/qthreads && \
26950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26952 "RANLIB=$${RANLIB}" \
26953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26954 install-info) \
26955 || exit 1
26957 @endif target-qthreads
26959 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
26960 maybe-installcheck-target-qthreads:
26961 @if target-qthreads
26962 maybe-installcheck-target-qthreads: installcheck-target-qthreads
26964 installcheck-target-qthreads: \
26965 configure-target-qthreads
26966 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26967 r=`${PWD_COMMAND}`; export r; \
26968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26969 $(SET_LIB_PATH) \
26970 $(NORMAL_TARGET_EXPORTS) \
26971 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
26972 for flag in $(EXTRA_TARGET_FLAGS); do \
26973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26974 done; \
26975 (cd $(TARGET_SUBDIR)/qthreads && \
26976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26978 "RANLIB=$${RANLIB}" \
26979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26980 installcheck) \
26981 || exit 1
26983 @endif target-qthreads
26985 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
26986 maybe-mostlyclean-target-qthreads:
26987 @if target-qthreads
26988 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
26990 mostlyclean-target-qthreads:
26991 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26992 r=`${PWD_COMMAND}`; export r; \
26993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26994 $(SET_LIB_PATH) \
26995 $(NORMAL_TARGET_EXPORTS) \
26996 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
26997 for flag in $(EXTRA_TARGET_FLAGS); do \
26998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26999 done; \
27000 (cd $(TARGET_SUBDIR)/qthreads && \
27001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27003 "RANLIB=$${RANLIB}" \
27004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27005 mostlyclean) \
27006 || exit 1
27008 @endif target-qthreads
27010 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
27011 maybe-clean-target-qthreads:
27012 @if target-qthreads
27013 maybe-clean-target-qthreads: clean-target-qthreads
27015 clean-target-qthreads:
27016 @[ -f $(TARGET_SUBDIR)/qthreads/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 clean in $(TARGET_SUBDIR)/qthreads" ; \
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)/qthreads && \
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 clean) \
27031 || exit 1
27033 @endif target-qthreads
27035 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
27036 maybe-distclean-target-qthreads:
27037 @if target-qthreads
27038 maybe-distclean-target-qthreads: distclean-target-qthreads
27040 distclean-target-qthreads:
27041 @[ -f $(TARGET_SUBDIR)/qthreads/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 distclean in $(TARGET_SUBDIR)/qthreads" ; \
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)/qthreads && \
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 distclean) \
27056 || exit 1
27058 @endif target-qthreads
27060 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
27061 maybe-maintainer-clean-target-qthreads:
27062 @if target-qthreads
27063 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
27065 maintainer-clean-target-qthreads:
27066 @[ -f $(TARGET_SUBDIR)/qthreads/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 maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
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)/qthreads && \
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 maintainer-clean) \
27081 || exit 1
27083 @endif target-qthreads
27086 .PHONY: configure-target-rda maybe-configure-target-rda
27087 maybe-configure-target-rda:
27088 @if target-rda
27089 maybe-configure-target-rda: configure-target-rda
27091 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27092 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27093 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27094 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27095 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27097 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27098 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27099 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27100 r=`${PWD_COMMAND}`; export r; \
27101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27102 $(SET_LIB_PATH) \
27103 $(NORMAL_TARGET_EXPORTS) \
27104 echo Configuring in $(TARGET_SUBDIR)/rda; \
27105 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27106 case $(srcdir) in \
27107 /* | [A-Za-z]:[\\/]*) \
27108 topdir=$(srcdir) ;; \
27109 *) \
27110 case "$(TARGET_SUBDIR)" in \
27111 .) topdir="../$(srcdir)" ;; \
27112 *) topdir="../../$(srcdir)" ;; \
27113 esac ;; \
27114 esac; \
27115 srcdiroption="--srcdir=$${topdir}/rda"; \
27116 libsrcdir="$$s/rda"; \
27117 rm -f no-such-file || : ; \
27118 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27119 $(TARGET_CONFIGARGS) $${srcdiroption} \
27120 --with-target-subdir="$(TARGET_SUBDIR)" \
27121 || exit 1
27122 @endif target-rda
27124 .PHONY: all-target-rda maybe-all-target-rda
27125 maybe-all-target-rda:
27126 @if target-rda
27127 TARGET-target-rda=all
27128 maybe-all-target-rda: all-target-rda
27129 all-target-rda: configure-target-rda
27130 @r=`${PWD_COMMAND}`; export r; \
27131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27132 $(SET_LIB_PATH) \
27133 $(NORMAL_TARGET_EXPORTS) \
27134 (cd $(TARGET_SUBDIR)/rda && \
27135 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
27136 @endif target-rda
27138 .PHONY: check-target-rda maybe-check-target-rda
27139 maybe-check-target-rda:
27140 @if target-rda
27141 maybe-check-target-rda: check-target-rda
27143 check-target-rda:
27144 @r=`${PWD_COMMAND}`; export r; \
27145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27146 $(SET_LIB_PATH) \
27147 $(NORMAL_TARGET_EXPORTS) \
27148 (cd $(TARGET_SUBDIR)/rda && \
27149 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27151 @endif target-rda
27153 .PHONY: install-target-rda maybe-install-target-rda
27154 maybe-install-target-rda:
27155 @if target-rda
27156 maybe-install-target-rda: install-target-rda
27158 install-target-rda: installdirs
27159 @r=`${PWD_COMMAND}`; export r; \
27160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27161 $(SET_LIB_PATH) \
27162 $(NORMAL_TARGET_EXPORTS) \
27163 (cd $(TARGET_SUBDIR)/rda && \
27164 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27166 @endif target-rda
27168 # Other targets (info, dvi, etc.)
27170 .PHONY: maybe-info-target-rda info-target-rda
27171 maybe-info-target-rda:
27172 @if target-rda
27173 maybe-info-target-rda: info-target-rda
27175 info-target-rda: \
27176 configure-target-rda
27177 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27178 r=`${PWD_COMMAND}`; export r; \
27179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27180 $(SET_LIB_PATH) \
27181 $(NORMAL_TARGET_EXPORTS) \
27182 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27183 for flag in $(EXTRA_TARGET_FLAGS); do \
27184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27185 done; \
27186 (cd $(TARGET_SUBDIR)/rda && \
27187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27189 "RANLIB=$${RANLIB}" \
27190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27191 info) \
27192 || exit 1
27194 @endif target-rda
27196 .PHONY: maybe-dvi-target-rda dvi-target-rda
27197 maybe-dvi-target-rda:
27198 @if target-rda
27199 maybe-dvi-target-rda: dvi-target-rda
27201 dvi-target-rda: \
27202 configure-target-rda
27203 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27204 r=`${PWD_COMMAND}`; export r; \
27205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27206 $(SET_LIB_PATH) \
27207 $(NORMAL_TARGET_EXPORTS) \
27208 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27209 for flag in $(EXTRA_TARGET_FLAGS); do \
27210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27211 done; \
27212 (cd $(TARGET_SUBDIR)/rda && \
27213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27215 "RANLIB=$${RANLIB}" \
27216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27217 dvi) \
27218 || exit 1
27220 @endif target-rda
27222 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27223 maybe-TAGS-target-rda:
27224 @if target-rda
27225 maybe-TAGS-target-rda: TAGS-target-rda
27227 TAGS-target-rda: \
27228 configure-target-rda
27229 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27230 r=`${PWD_COMMAND}`; export r; \
27231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27232 $(SET_LIB_PATH) \
27233 $(NORMAL_TARGET_EXPORTS) \
27234 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27235 for flag in $(EXTRA_TARGET_FLAGS); do \
27236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27237 done; \
27238 (cd $(TARGET_SUBDIR)/rda && \
27239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27241 "RANLIB=$${RANLIB}" \
27242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27243 TAGS) \
27244 || exit 1
27246 @endif target-rda
27248 .PHONY: maybe-install-info-target-rda install-info-target-rda
27249 maybe-install-info-target-rda:
27250 @if target-rda
27251 maybe-install-info-target-rda: install-info-target-rda
27253 install-info-target-rda: \
27254 configure-target-rda \
27255 info-target-rda
27256 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27257 r=`${PWD_COMMAND}`; export r; \
27258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27259 $(SET_LIB_PATH) \
27260 $(NORMAL_TARGET_EXPORTS) \
27261 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27262 for flag in $(EXTRA_TARGET_FLAGS); do \
27263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27264 done; \
27265 (cd $(TARGET_SUBDIR)/rda && \
27266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27268 "RANLIB=$${RANLIB}" \
27269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27270 install-info) \
27271 || exit 1
27273 @endif target-rda
27275 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27276 maybe-installcheck-target-rda:
27277 @if target-rda
27278 maybe-installcheck-target-rda: installcheck-target-rda
27280 installcheck-target-rda: \
27281 configure-target-rda
27282 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27283 r=`${PWD_COMMAND}`; export r; \
27284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27285 $(SET_LIB_PATH) \
27286 $(NORMAL_TARGET_EXPORTS) \
27287 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27288 for flag in $(EXTRA_TARGET_FLAGS); do \
27289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27290 done; \
27291 (cd $(TARGET_SUBDIR)/rda && \
27292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27294 "RANLIB=$${RANLIB}" \
27295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27296 installcheck) \
27297 || exit 1
27299 @endif target-rda
27301 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27302 maybe-mostlyclean-target-rda:
27303 @if target-rda
27304 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27306 mostlyclean-target-rda:
27307 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27308 r=`${PWD_COMMAND}`; export r; \
27309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27310 $(SET_LIB_PATH) \
27311 $(NORMAL_TARGET_EXPORTS) \
27312 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27313 for flag in $(EXTRA_TARGET_FLAGS); do \
27314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27315 done; \
27316 (cd $(TARGET_SUBDIR)/rda && \
27317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27319 "RANLIB=$${RANLIB}" \
27320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27321 mostlyclean) \
27322 || exit 1
27324 @endif target-rda
27326 .PHONY: maybe-clean-target-rda clean-target-rda
27327 maybe-clean-target-rda:
27328 @if target-rda
27329 maybe-clean-target-rda: clean-target-rda
27331 clean-target-rda:
27332 @[ -f $(TARGET_SUBDIR)/rda/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 clean in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 clean) \
27347 || exit 1
27349 @endif target-rda
27351 .PHONY: maybe-distclean-target-rda distclean-target-rda
27352 maybe-distclean-target-rda:
27353 @if target-rda
27354 maybe-distclean-target-rda: distclean-target-rda
27356 distclean-target-rda:
27357 @[ -f $(TARGET_SUBDIR)/rda/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 distclean in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 distclean) \
27372 || exit 1
27374 @endif target-rda
27376 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27377 maybe-maintainer-clean-target-rda:
27378 @if target-rda
27379 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27381 maintainer-clean-target-rda:
27382 @[ -f $(TARGET_SUBDIR)/rda/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 maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 maintainer-clean) \
27397 || exit 1
27399 @endif target-rda
27402 .PHONY: configure-target-libada maybe-configure-target-libada
27403 maybe-configure-target-libada:
27404 @if target-libada
27405 maybe-configure-target-libada: configure-target-libada
27407 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27408 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27409 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27410 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27411 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27413 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27414 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27415 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27416 r=`${PWD_COMMAND}`; export r; \
27417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27418 $(SET_LIB_PATH) \
27419 $(NORMAL_TARGET_EXPORTS) \
27420 echo Configuring in $(TARGET_SUBDIR)/libada; \
27421 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27422 case $(srcdir) in \
27423 /* | [A-Za-z]:[\\/]*) \
27424 topdir=$(srcdir) ;; \
27425 *) \
27426 case "$(TARGET_SUBDIR)" in \
27427 .) topdir="../$(srcdir)" ;; \
27428 *) topdir="../../$(srcdir)" ;; \
27429 esac ;; \
27430 esac; \
27431 srcdiroption="--srcdir=$${topdir}/libada"; \
27432 libsrcdir="$$s/libada"; \
27433 rm -f no-such-file || : ; \
27434 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27435 $(TARGET_CONFIGARGS) $${srcdiroption} \
27436 --with-target-subdir="$(TARGET_SUBDIR)" \
27437 || exit 1
27438 @endif target-libada
27440 .PHONY: all-target-libada maybe-all-target-libada
27441 maybe-all-target-libada:
27442 @if target-libada
27443 TARGET-target-libada=all
27444 maybe-all-target-libada: all-target-libada
27445 all-target-libada: configure-target-libada
27446 @r=`${PWD_COMMAND}`; export r; \
27447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27448 $(SET_LIB_PATH) \
27449 $(NORMAL_TARGET_EXPORTS) \
27450 (cd $(TARGET_SUBDIR)/libada && \
27451 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
27452 @endif target-libada
27454 .PHONY: check-target-libada maybe-check-target-libada
27455 maybe-check-target-libada:
27456 @if target-libada
27457 maybe-check-target-libada: check-target-libada
27459 check-target-libada:
27460 @r=`${PWD_COMMAND}`; export r; \
27461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27462 $(SET_LIB_PATH) \
27463 $(NORMAL_TARGET_EXPORTS) \
27464 (cd $(TARGET_SUBDIR)/libada && \
27465 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27467 @endif target-libada
27469 .PHONY: install-target-libada maybe-install-target-libada
27470 maybe-install-target-libada:
27471 @if target-libada
27472 maybe-install-target-libada: install-target-libada
27474 install-target-libada: installdirs
27475 @r=`${PWD_COMMAND}`; export r; \
27476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27477 $(SET_LIB_PATH) \
27478 $(NORMAL_TARGET_EXPORTS) \
27479 (cd $(TARGET_SUBDIR)/libada && \
27480 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27482 @endif target-libada
27484 # Other targets (info, dvi, etc.)
27486 .PHONY: maybe-info-target-libada info-target-libada
27487 maybe-info-target-libada:
27488 @if target-libada
27489 maybe-info-target-libada: info-target-libada
27491 info-target-libada: \
27492 configure-target-libada
27493 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27494 r=`${PWD_COMMAND}`; export r; \
27495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27496 $(SET_LIB_PATH) \
27497 $(NORMAL_TARGET_EXPORTS) \
27498 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27499 for flag in $(EXTRA_TARGET_FLAGS); do \
27500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27501 done; \
27502 (cd $(TARGET_SUBDIR)/libada && \
27503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27505 "RANLIB=$${RANLIB}" \
27506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27507 info) \
27508 || exit 1
27510 @endif target-libada
27512 .PHONY: maybe-dvi-target-libada dvi-target-libada
27513 maybe-dvi-target-libada:
27514 @if target-libada
27515 maybe-dvi-target-libada: dvi-target-libada
27517 dvi-target-libada: \
27518 configure-target-libada
27519 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27520 r=`${PWD_COMMAND}`; export r; \
27521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27522 $(SET_LIB_PATH) \
27523 $(NORMAL_TARGET_EXPORTS) \
27524 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27525 for flag in $(EXTRA_TARGET_FLAGS); do \
27526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27527 done; \
27528 (cd $(TARGET_SUBDIR)/libada && \
27529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27531 "RANLIB=$${RANLIB}" \
27532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27533 dvi) \
27534 || exit 1
27536 @endif target-libada
27538 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27539 maybe-TAGS-target-libada:
27540 @if target-libada
27541 maybe-TAGS-target-libada: TAGS-target-libada
27543 TAGS-target-libada: \
27544 configure-target-libada
27545 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27546 r=`${PWD_COMMAND}`; export r; \
27547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27548 $(SET_LIB_PATH) \
27549 $(NORMAL_TARGET_EXPORTS) \
27550 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27551 for flag in $(EXTRA_TARGET_FLAGS); do \
27552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27553 done; \
27554 (cd $(TARGET_SUBDIR)/libada && \
27555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27557 "RANLIB=$${RANLIB}" \
27558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27559 TAGS) \
27560 || exit 1
27562 @endif target-libada
27564 .PHONY: maybe-install-info-target-libada install-info-target-libada
27565 maybe-install-info-target-libada:
27566 @if target-libada
27567 maybe-install-info-target-libada: install-info-target-libada
27569 install-info-target-libada: \
27570 configure-target-libada \
27571 info-target-libada
27572 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27573 r=`${PWD_COMMAND}`; export r; \
27574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27575 $(SET_LIB_PATH) \
27576 $(NORMAL_TARGET_EXPORTS) \
27577 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27578 for flag in $(EXTRA_TARGET_FLAGS); do \
27579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27580 done; \
27581 (cd $(TARGET_SUBDIR)/libada && \
27582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27584 "RANLIB=$${RANLIB}" \
27585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27586 install-info) \
27587 || exit 1
27589 @endif target-libada
27591 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27592 maybe-installcheck-target-libada:
27593 @if target-libada
27594 maybe-installcheck-target-libada: installcheck-target-libada
27596 installcheck-target-libada: \
27597 configure-target-libada
27598 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27599 r=`${PWD_COMMAND}`; export r; \
27600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27601 $(SET_LIB_PATH) \
27602 $(NORMAL_TARGET_EXPORTS) \
27603 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27604 for flag in $(EXTRA_TARGET_FLAGS); do \
27605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27606 done; \
27607 (cd $(TARGET_SUBDIR)/libada && \
27608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27610 "RANLIB=$${RANLIB}" \
27611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27612 installcheck) \
27613 || exit 1
27615 @endif target-libada
27617 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27618 maybe-mostlyclean-target-libada:
27619 @if target-libada
27620 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27622 mostlyclean-target-libada:
27623 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27624 r=`${PWD_COMMAND}`; export r; \
27625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27626 $(SET_LIB_PATH) \
27627 $(NORMAL_TARGET_EXPORTS) \
27628 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27629 for flag in $(EXTRA_TARGET_FLAGS); do \
27630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27631 done; \
27632 (cd $(TARGET_SUBDIR)/libada && \
27633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27635 "RANLIB=$${RANLIB}" \
27636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27637 mostlyclean) \
27638 || exit 1
27640 @endif target-libada
27642 .PHONY: maybe-clean-target-libada clean-target-libada
27643 maybe-clean-target-libada:
27644 @if target-libada
27645 maybe-clean-target-libada: clean-target-libada
27647 clean-target-libada:
27648 @[ -f $(TARGET_SUBDIR)/libada/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 clean in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 clean) \
27663 || exit 1
27665 @endif target-libada
27667 .PHONY: maybe-distclean-target-libada distclean-target-libada
27668 maybe-distclean-target-libada:
27669 @if target-libada
27670 maybe-distclean-target-libada: distclean-target-libada
27672 distclean-target-libada:
27673 @[ -f $(TARGET_SUBDIR)/libada/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 distclean in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 distclean) \
27688 || exit 1
27690 @endif target-libada
27692 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
27693 maybe-maintainer-clean-target-libada:
27694 @if target-libada
27695 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
27697 maintainer-clean-target-libada:
27698 @[ -f $(TARGET_SUBDIR)/libada/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 maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 maintainer-clean) \
27713 || exit 1
27715 @endif target-libada
27719 # ----------
27720 # GCC module
27721 # ----------
27723 @if gcc-no-bootstrap
27724 # GCC has some more recursive targets, which trigger the old
27725 # (but still current, until the toplevel bootstrap project
27726 # is finished) compiler bootstrapping rules.
27728 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
27729 .PHONY: $(GCC_STRAP_TARGETS)
27730 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
27731 @r=`${PWD_COMMAND}`; export r; \
27732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27733 $(SET_LIB_PATH) \
27734 $(HOST_EXPORTS) \
27735 echo "Bootstrapping the compiler"; \
27736 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
27737 @r=`${PWD_COMMAND}`; export r; \
27738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27739 case "$@" in \
27740 *bootstrap4-lean ) \
27741 msg="Comparing stage3 and stage4 of the compiler"; \
27742 compare=compare3-lean ;; \
27743 *bootstrap4 ) \
27744 msg="Comparing stage3 and stage4 of the compiler"; \
27745 compare=compare3 ;; \
27746 *-lean ) \
27747 msg="Comparing stage2 and stage3 of the compiler"; \
27748 compare=compare-lean ;; \
27749 * ) \
27750 msg="Comparing stage2 and stage3 of the compiler"; \
27751 compare=compare ;; \
27752 esac; \
27753 $(SET_LIB_PATH) \
27754 $(HOST_EXPORTS) \
27755 echo "$$msg"; \
27756 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
27757 @r=`${PWD_COMMAND}`; export r; \
27758 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27759 $(SET_LIB_PATH) \
27760 echo "Building runtime libraries"; \
27761 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
27763 profiledbootstrap: all-prebootstrap configure-gcc
27764 @r=`${PWD_COMMAND}`; export r; \
27765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27766 $(SET_LIB_PATH) \
27767 $(HOST_EXPORTS) \
27768 echo "Bootstrapping training compiler"; \
27769 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
27770 @r=`${PWD_COMMAND}`; export r; \
27771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27772 $(SET_LIB_PATH) \
27773 $(HOST_EXPORTS) \
27774 echo "Building feedback based compiler"; \
27775 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
27776 @r=`${PWD_COMMAND}`; export r; \
27777 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27778 $(SET_LIB_PATH) \
27779 echo "Building runtime libraries"; \
27780 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
27782 .PHONY: cross
27783 cross: all-build all-gas all-ld
27784 @r=`${PWD_COMMAND}`; export r; \
27785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27786 $(SET_LIB_PATH) \
27787 $(HOST_EXPORTS) \
27788 echo "Building the C and C++ compiler"; \
27789 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
27790 @r=`${PWD_COMMAND}`; export r; \
27791 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27792 $(SET_LIB_PATH) \
27793 echo "Building runtime libraries"; \
27794 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
27795 @endif gcc-no-bootstrap
27797 @if gcc
27798 .PHONY: check-gcc-c++
27799 check-gcc-c++:
27800 @if [ -f ./gcc/Makefile ] ; then \
27801 r=`${PWD_COMMAND}`; export r; \
27802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27803 $(SET_LIB_PATH) \
27804 $(HOST_EXPORTS) \
27805 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
27806 else \
27807 true; \
27810 .PHONY: check-c++
27811 check-c++: check-target-libstdc++-v3 check-gcc-c++
27813 # Install the gcc headers files, but not the fixed include files,
27814 # which Cygnus is not allowed to distribute. This rule is very
27815 # dependent on the workings of the gcc Makefile.in.
27816 .PHONY: gcc-no-fixedincludes
27817 gcc-no-fixedincludes:
27818 @if [ -f ./gcc/Makefile ]; then \
27819 rm -rf gcc/tmp-include; \
27820 mv gcc/include gcc/tmp-include 2>/dev/null; \
27821 mkdir gcc/include; \
27822 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
27823 touch gcc/stmp-fixinc gcc/include/fixed; \
27824 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
27825 r=`${PWD_COMMAND}`; export r; \
27826 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27827 $(SET_LIB_PATH) \
27828 $(HOST_EXPORTS) \
27829 (cd ./gcc && \
27830 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27831 rm -rf gcc/include; \
27832 mv gcc/tmp-include gcc/include 2>/dev/null; \
27833 else true; fi
27834 @endif gcc
27836 # ---------------------
27837 # GCC bootstrap support
27838 # ---------------------
27840 # We track the current stage (the one in 'gcc') in the stage_current file.
27841 # stage_last instead tracks the stage that was built last. These targets
27842 # are dummy when toplevel bootstrap is not active.
27844 .PHONY: unstage
27845 unstage:
27846 @if gcc-bootstrap
27847 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
27848 @endif gcc-bootstrap
27850 .PHONY: stage
27851 stage:
27852 @if gcc-bootstrap
27853 @$(MAKE) `cat stage_current`-end
27854 @endif gcc-bootstrap
27856 # We name the build directories for the various stages "stage1-gcc",
27857 # "stage2-gcc","stage3-gcc", etc.
27859 # Since the 'compare' process will fail (on debugging information) if any
27860 # directory names are different, we need to link the gcc directory for
27861 # the previous stage to a constant name ('gcc-prev'), and to make the name of
27862 # the build directories constant as well. For the latter, we use naked names
27863 # like 'gcc', because the scripts in that directory assume it. We use
27864 # mv on platforms where symlinks to directories do not work or are not
27865 # reliable.
27867 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
27868 # be kept, so that libraries can find it. Ick!
27870 # It would be best to preinstall gcc into a staging area (and in the
27871 # future, gather there all prebootstrap packages). This would allow
27872 # assemblers and linkers can be bootstrapped as well as the compiler
27873 # (both in a combined tree, or separately). This however requires some
27874 # change to the gcc driver, again in order to avoid comparison failures.
27876 # Bugs: This is crippled when doing parallel make, the `make all-host'
27877 # and `make all-target' phases can be parallelized.
27880 # 'touch' doesn't work right on some platforms.
27881 STAMP = echo timestamp >
27883 # Only build the C compiler for stage1, because that is the only one that
27884 # we can guarantee will build with the native compiler, and also it is the
27885 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
27886 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
27887 # overrideable (for a bootstrap build stage1 also builds gcc.info).
27889 STAGE1_CFLAGS=@stage1_cflags@
27890 STAGE1_LANGUAGES=@stage1_languages@
27892 # We only want to compare .o files, so set this!
27893 objext = .o
27895 # Flags to pass to stage2 and later makes.
27896 POSTSTAGE1_FLAGS_TO_PASS = \
27897 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
27898 STAGE_PREFIX=$$r/stage-gcc/ \
27899 CFLAGS="$(BOOT_CFLAGS)" \
27900 ADAC="\$$(CC)"
27902 # For stage 1:
27903 # * We force-disable intermodule optimizations, even if
27904 # --enable-intermodule was passed, since the installed compiler probably
27905 # can't handle them. Luckily, autoconf always respects
27906 # the last argument when conflicting --enable arguments are passed.
27907 # * Likewise, we force-disable coverage flags, since the installed compiler
27908 # probably has never heard of them.
27909 # * We build only C (and possibly Ada).
27912 .PHONY: stage1-start stage1-end
27914 stage1-start::
27915 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
27916 echo stage1 > stage_current ; \
27917 echo stage1 > stage_last
27918 @if bfd
27919 @[ -d stage1-bfd ] || mkdir stage1-bfd; \
27920 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
27921 @endif bfd
27922 @if opcodes
27923 @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
27924 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
27925 @endif opcodes
27926 @if binutils
27927 @[ -d stage1-binutils ] || mkdir stage1-binutils; \
27928 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
27929 @endif binutils
27930 @if gas
27931 @[ -d stage1-gas ] || mkdir stage1-gas; \
27932 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
27933 @endif gas
27934 @if gcc
27935 @[ -d stage1-gcc ] || mkdir stage1-gcc; \
27936 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
27937 @endif gcc
27938 @if intl
27939 @[ -d stage1-intl ] || mkdir stage1-intl; \
27940 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
27941 @endif intl
27942 @if ld
27943 @[ -d stage1-ld ] || mkdir stage1-ld; \
27944 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
27945 @endif ld
27946 @if libcpp
27947 @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
27948 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
27949 @endif libcpp
27950 @if libiberty
27951 @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
27952 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
27953 @endif libiberty
27954 @if zlib
27955 @[ -d stage1-zlib ] || mkdir stage1-zlib; \
27956 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
27957 @endif zlib
27959 stage1-end::
27960 @rm -f stage_current
27961 @if bfd
27962 @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
27963 @endif bfd
27964 @if opcodes
27965 @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
27966 @endif opcodes
27967 @if binutils
27968 @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
27969 @endif binutils
27970 @if gas
27971 @set gas stage1-gas ; @UNDO_LINK_TO_DIR@
27972 @endif gas
27973 @if gcc
27974 @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
27975 @endif gcc
27976 @if intl
27977 @set intl stage1-intl ; @UNDO_LINK_TO_DIR@
27978 @endif intl
27979 @if ld
27980 @set ld stage1-ld ; @UNDO_LINK_TO_DIR@
27981 @endif ld
27982 @if libcpp
27983 @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
27984 @endif libcpp
27985 @if libiberty
27986 @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
27987 @endif libiberty
27988 @if zlib
27989 @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
27990 @endif zlib
27992 # Bubble a bugfix through all the stages up to stage 1. They
27993 # are remade, but not reconfigured. The next stage (if any) will not
27994 # be reconfigured as well.
27995 .PHONY: stage1-bubble
27996 stage1-bubble::
27997 @if test -f stage1-lean ; then \
27998 echo Skipping rebuild of stage1 ; \
27999 else \
28000 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
28003 .PHONY: all-stage1 clean-stage1
28004 all-stage1: \
28005 maybe-all-stage1-bfd \
28006 maybe-all-stage1-opcodes \
28007 maybe-all-stage1-binutils \
28008 maybe-all-stage1-gas \
28009 maybe-all-stage1-gcc \
28010 maybe-all-stage1-intl \
28011 maybe-all-stage1-ld \
28012 maybe-all-stage1-libcpp \
28013 maybe-all-stage1-libiberty \
28014 maybe-all-stage1-zlib
28016 do-clean: clean-stage1
28017 clean-stage1: \
28018 maybe-clean-stage1-bfd \
28019 maybe-clean-stage1-opcodes \
28020 maybe-clean-stage1-binutils \
28021 maybe-clean-stage1-gas \
28022 maybe-clean-stage1-gcc \
28023 maybe-clean-stage1-intl \
28024 maybe-clean-stage1-ld \
28025 maybe-clean-stage1-libcpp \
28026 maybe-clean-stage1-libiberty \
28027 maybe-clean-stage1-zlib
28030 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
28031 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
28032 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
28034 maybe-configure-stage1-bfd:
28035 maybe-all-stage1-bfd:
28036 maybe-clean-stage1-bfd:
28038 @if bfd-bootstrap
28039 maybe-configure-stage1-bfd: configure-stage1-bfd
28040 configure-stage1-bfd:
28041 @$(MAKE) stage1-start
28042 @[ -f bfd/Makefile ] && exit 0 || : ; \
28043 r=`${PWD_COMMAND}`; export r; \
28044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28045 $(HOST_EXPORTS) \
28046 echo Configuring stage 1 in bfd ; \
28047 cd bfd || exit 1; \
28048 case $(srcdir) in \
28049 \.) \
28050 srcdiroption="--srcdir=."; \
28051 libsrcdir=".";; \
28052 /* | [A-Za-z]:[\\/]*) \
28053 srcdiroption="--srcdir=$(srcdir)/bfd"; \
28054 libsrcdir="$$s/bfd";; \
28055 *) \
28056 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28057 libsrcdir="$$s/bfd";; \
28058 esac; \
28059 $(SHELL) $${libsrcdir}/configure \
28060 $(HOST_CONFIGARGS) $${srcdiroption} \
28061 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28063 maybe-all-stage1-bfd: all-stage1-bfd
28064 all-stage1-bfd: configure-stage1-bfd
28065 @$(MAKE) stage1-start
28066 @r=`${PWD_COMMAND}`; export r; \
28067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28068 $(HOST_EXPORTS) \
28069 cd bfd && \
28070 $(MAKE) $(FLAGS_TO_PASS) \
28071 CFLAGS="$(STAGE1_CFLAGS)"
28073 maybe-clean-stage1-bfd: clean-stage1-bfd
28074 clean-stage1-bfd:
28075 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
28076 || exit 0 ; \
28077 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
28078 cd bfd && \
28079 $(MAKE) $(FLAGS_TO_PASS) \
28080 CFLAGS="$(STAGE1_CFLAGS)" clean
28081 @endif bfd-bootstrap
28084 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
28085 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
28086 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
28088 maybe-configure-stage1-opcodes:
28089 maybe-all-stage1-opcodes:
28090 maybe-clean-stage1-opcodes:
28092 @if opcodes-bootstrap
28093 maybe-configure-stage1-opcodes: configure-stage1-opcodes
28094 configure-stage1-opcodes:
28095 @$(MAKE) stage1-start
28096 @[ -f opcodes/Makefile ] && exit 0 || : ; \
28097 r=`${PWD_COMMAND}`; export r; \
28098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28099 $(HOST_EXPORTS) \
28100 echo Configuring stage 1 in opcodes ; \
28101 cd opcodes || exit 1; \
28102 case $(srcdir) in \
28103 \.) \
28104 srcdiroption="--srcdir=."; \
28105 libsrcdir=".";; \
28106 /* | [A-Za-z]:[\\/]*) \
28107 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
28108 libsrcdir="$$s/opcodes";; \
28109 *) \
28110 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
28111 libsrcdir="$$s/opcodes";; \
28112 esac; \
28113 $(SHELL) $${libsrcdir}/configure \
28114 $(HOST_CONFIGARGS) $${srcdiroption} \
28115 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28117 maybe-all-stage1-opcodes: all-stage1-opcodes
28118 all-stage1-opcodes: configure-stage1-opcodes
28119 @$(MAKE) stage1-start
28120 @r=`${PWD_COMMAND}`; export r; \
28121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28122 $(HOST_EXPORTS) \
28123 cd opcodes && \
28124 $(MAKE) $(FLAGS_TO_PASS) \
28125 CFLAGS="$(STAGE1_CFLAGS)"
28127 maybe-clean-stage1-opcodes: clean-stage1-opcodes
28128 clean-stage1-opcodes:
28129 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
28130 || exit 0 ; \
28131 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
28132 cd opcodes && \
28133 $(MAKE) $(FLAGS_TO_PASS) \
28134 CFLAGS="$(STAGE1_CFLAGS)" clean
28135 @endif opcodes-bootstrap
28138 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
28139 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
28140 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
28142 maybe-configure-stage1-binutils:
28143 maybe-all-stage1-binutils:
28144 maybe-clean-stage1-binutils:
28146 @if binutils-bootstrap
28147 maybe-configure-stage1-binutils: configure-stage1-binutils
28148 configure-stage1-binutils:
28149 @$(MAKE) stage1-start
28150 @[ -f binutils/Makefile ] && exit 0 || : ; \
28151 r=`${PWD_COMMAND}`; export r; \
28152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28153 $(HOST_EXPORTS) \
28154 echo Configuring stage 1 in binutils ; \
28155 cd binutils || exit 1; \
28156 case $(srcdir) in \
28157 \.) \
28158 srcdiroption="--srcdir=."; \
28159 libsrcdir=".";; \
28160 /* | [A-Za-z]:[\\/]*) \
28161 srcdiroption="--srcdir=$(srcdir)/binutils"; \
28162 libsrcdir="$$s/binutils";; \
28163 *) \
28164 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
28165 libsrcdir="$$s/binutils";; \
28166 esac; \
28167 $(SHELL) $${libsrcdir}/configure \
28168 $(HOST_CONFIGARGS) $${srcdiroption} \
28169 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28171 maybe-all-stage1-binutils: all-stage1-binutils
28172 all-stage1-binutils: configure-stage1-binutils
28173 @$(MAKE) stage1-start
28174 @r=`${PWD_COMMAND}`; export r; \
28175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28176 $(HOST_EXPORTS) \
28177 cd binutils && \
28178 $(MAKE) $(FLAGS_TO_PASS) \
28179 CFLAGS="$(STAGE1_CFLAGS)"
28181 maybe-clean-stage1-binutils: clean-stage1-binutils
28182 clean-stage1-binutils:
28183 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
28184 || exit 0 ; \
28185 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
28186 cd binutils && \
28187 $(MAKE) $(FLAGS_TO_PASS) \
28188 CFLAGS="$(STAGE1_CFLAGS)" clean
28189 @endif binutils-bootstrap
28192 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
28193 .PHONY: all-stage1-gas maybe-all-stage1-gas
28194 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
28196 maybe-configure-stage1-gas:
28197 maybe-all-stage1-gas:
28198 maybe-clean-stage1-gas:
28200 @if gas-bootstrap
28201 maybe-configure-stage1-gas: configure-stage1-gas
28202 configure-stage1-gas:
28203 @$(MAKE) stage1-start
28204 @[ -f gas/Makefile ] && exit 0 || : ; \
28205 r=`${PWD_COMMAND}`; export r; \
28206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28207 $(HOST_EXPORTS) \
28208 echo Configuring stage 1 in gas ; \
28209 cd gas || exit 1; \
28210 case $(srcdir) in \
28211 \.) \
28212 srcdiroption="--srcdir=."; \
28213 libsrcdir=".";; \
28214 /* | [A-Za-z]:[\\/]*) \
28215 srcdiroption="--srcdir=$(srcdir)/gas"; \
28216 libsrcdir="$$s/gas";; \
28217 *) \
28218 srcdiroption="--srcdir=../$(srcdir)/gas"; \
28219 libsrcdir="$$s/gas";; \
28220 esac; \
28221 $(SHELL) $${libsrcdir}/configure \
28222 $(HOST_CONFIGARGS) $${srcdiroption} \
28223 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28225 maybe-all-stage1-gas: all-stage1-gas
28226 all-stage1-gas: configure-stage1-gas
28227 @$(MAKE) stage1-start
28228 @r=`${PWD_COMMAND}`; export r; \
28229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28230 $(HOST_EXPORTS) \
28231 cd gas && \
28232 $(MAKE) $(FLAGS_TO_PASS) \
28233 CFLAGS="$(STAGE1_CFLAGS)"
28235 maybe-clean-stage1-gas: clean-stage1-gas
28236 clean-stage1-gas:
28237 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
28238 || exit 0 ; \
28239 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
28240 cd gas && \
28241 $(MAKE) $(FLAGS_TO_PASS) \
28242 CFLAGS="$(STAGE1_CFLAGS)" clean
28243 @endif gas-bootstrap
28246 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
28247 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
28248 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
28250 maybe-configure-stage1-gcc:
28251 maybe-all-stage1-gcc:
28252 maybe-clean-stage1-gcc:
28254 @if gcc-bootstrap
28255 maybe-configure-stage1-gcc: configure-stage1-gcc
28256 configure-stage1-gcc:
28257 @$(MAKE) stage1-start
28258 @[ -f gcc/Makefile ] && exit 0 || : ; \
28259 r=`${PWD_COMMAND}`; export r; \
28260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28261 $(HOST_EXPORTS) \
28262 echo Configuring stage 1 in gcc ; \
28263 cd gcc || exit 1; \
28264 case $(srcdir) in \
28265 \.) \
28266 srcdiroption="--srcdir=."; \
28267 libsrcdir=".";; \
28268 /* | [A-Za-z]:[\\/]*) \
28269 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28270 libsrcdir="$$s/gcc";; \
28271 *) \
28272 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28273 libsrcdir="$$s/gcc";; \
28274 esac; \
28275 $(SHELL) $${libsrcdir}/configure \
28276 $(HOST_CONFIGARGS) $${srcdiroption} \
28277 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28279 maybe-all-stage1-gcc: all-stage1-gcc
28280 all-stage1-gcc: configure-stage1-gcc
28281 @$(MAKE) stage1-start
28282 @r=`${PWD_COMMAND}`; export r; \
28283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28284 $(HOST_EXPORTS) \
28285 cd gcc && \
28286 $(MAKE) $(FLAGS_TO_PASS) \
28287 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
28289 maybe-clean-stage1-gcc: clean-stage1-gcc
28290 clean-stage1-gcc:
28291 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
28292 || exit 0 ; \
28293 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
28294 cd gcc && \
28295 $(MAKE) $(FLAGS_TO_PASS) \
28296 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
28297 @endif gcc-bootstrap
28300 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
28301 .PHONY: all-stage1-intl maybe-all-stage1-intl
28302 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
28304 maybe-configure-stage1-intl:
28305 maybe-all-stage1-intl:
28306 maybe-clean-stage1-intl:
28308 @if intl-bootstrap
28309 maybe-configure-stage1-intl: configure-stage1-intl
28310 configure-stage1-intl:
28311 @$(MAKE) stage1-start
28312 @[ -f intl/Makefile ] && exit 0 || : ; \
28313 r=`${PWD_COMMAND}`; export r; \
28314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28315 $(HOST_EXPORTS) \
28316 echo Configuring stage 1 in intl ; \
28317 cd intl || exit 1; \
28318 case $(srcdir) in \
28319 \.) \
28320 srcdiroption="--srcdir=."; \
28321 libsrcdir=".";; \
28322 /* | [A-Za-z]:[\\/]*) \
28323 srcdiroption="--srcdir=$(srcdir)/intl"; \
28324 libsrcdir="$$s/intl";; \
28325 *) \
28326 srcdiroption="--srcdir=../$(srcdir)/intl"; \
28327 libsrcdir="$$s/intl";; \
28328 esac; \
28329 $(SHELL) $${libsrcdir}/configure \
28330 $(HOST_CONFIGARGS) $${srcdiroption} \
28331 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28333 maybe-all-stage1-intl: all-stage1-intl
28334 all-stage1-intl: configure-stage1-intl
28335 @$(MAKE) stage1-start
28336 @r=`${PWD_COMMAND}`; export r; \
28337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28338 $(HOST_EXPORTS) \
28339 cd intl && \
28340 $(MAKE) $(FLAGS_TO_PASS) \
28341 CFLAGS="$(STAGE1_CFLAGS)"
28343 maybe-clean-stage1-intl: clean-stage1-intl
28344 clean-stage1-intl:
28345 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
28346 || exit 0 ; \
28347 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
28348 cd intl && \
28349 $(MAKE) $(FLAGS_TO_PASS) \
28350 CFLAGS="$(STAGE1_CFLAGS)" clean
28351 @endif intl-bootstrap
28354 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
28355 .PHONY: all-stage1-ld maybe-all-stage1-ld
28356 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
28358 maybe-configure-stage1-ld:
28359 maybe-all-stage1-ld:
28360 maybe-clean-stage1-ld:
28362 @if ld-bootstrap
28363 maybe-configure-stage1-ld: configure-stage1-ld
28364 configure-stage1-ld:
28365 @$(MAKE) stage1-start
28366 @[ -f ld/Makefile ] && exit 0 || : ; \
28367 r=`${PWD_COMMAND}`; export r; \
28368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28369 $(HOST_EXPORTS) \
28370 echo Configuring stage 1 in ld ; \
28371 cd ld || exit 1; \
28372 case $(srcdir) in \
28373 \.) \
28374 srcdiroption="--srcdir=."; \
28375 libsrcdir=".";; \
28376 /* | [A-Za-z]:[\\/]*) \
28377 srcdiroption="--srcdir=$(srcdir)/ld"; \
28378 libsrcdir="$$s/ld";; \
28379 *) \
28380 srcdiroption="--srcdir=../$(srcdir)/ld"; \
28381 libsrcdir="$$s/ld";; \
28382 esac; \
28383 $(SHELL) $${libsrcdir}/configure \
28384 $(HOST_CONFIGARGS) $${srcdiroption} \
28385 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28387 maybe-all-stage1-ld: all-stage1-ld
28388 all-stage1-ld: configure-stage1-ld
28389 @$(MAKE) stage1-start
28390 @r=`${PWD_COMMAND}`; export r; \
28391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28392 $(HOST_EXPORTS) \
28393 cd ld && \
28394 $(MAKE) $(FLAGS_TO_PASS) \
28395 CFLAGS="$(STAGE1_CFLAGS)"
28397 maybe-clean-stage1-ld: clean-stage1-ld
28398 clean-stage1-ld:
28399 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
28400 || exit 0 ; \
28401 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
28402 cd ld && \
28403 $(MAKE) $(FLAGS_TO_PASS) \
28404 CFLAGS="$(STAGE1_CFLAGS)" clean
28405 @endif ld-bootstrap
28408 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
28409 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
28410 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
28412 maybe-configure-stage1-libcpp:
28413 maybe-all-stage1-libcpp:
28414 maybe-clean-stage1-libcpp:
28416 @if libcpp-bootstrap
28417 maybe-configure-stage1-libcpp: configure-stage1-libcpp
28418 configure-stage1-libcpp:
28419 @$(MAKE) stage1-start
28420 @[ -f libcpp/Makefile ] && exit 0 || : ; \
28421 r=`${PWD_COMMAND}`; export r; \
28422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28423 $(HOST_EXPORTS) \
28424 echo Configuring stage 1 in libcpp ; \
28425 cd libcpp || exit 1; \
28426 case $(srcdir) in \
28427 \.) \
28428 srcdiroption="--srcdir=."; \
28429 libsrcdir=".";; \
28430 /* | [A-Za-z]:[\\/]*) \
28431 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
28432 libsrcdir="$$s/libcpp";; \
28433 *) \
28434 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
28435 libsrcdir="$$s/libcpp";; \
28436 esac; \
28437 $(SHELL) $${libsrcdir}/configure \
28438 $(HOST_CONFIGARGS) $${srcdiroption} \
28439 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28441 maybe-all-stage1-libcpp: all-stage1-libcpp
28442 all-stage1-libcpp: configure-stage1-libcpp
28443 @$(MAKE) stage1-start
28444 @r=`${PWD_COMMAND}`; export r; \
28445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28446 $(HOST_EXPORTS) \
28447 cd libcpp && \
28448 $(MAKE) $(FLAGS_TO_PASS) \
28449 CFLAGS="$(STAGE1_CFLAGS)"
28451 maybe-clean-stage1-libcpp: clean-stage1-libcpp
28452 clean-stage1-libcpp:
28453 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
28454 || exit 0 ; \
28455 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
28456 cd libcpp && \
28457 $(MAKE) $(FLAGS_TO_PASS) \
28458 CFLAGS="$(STAGE1_CFLAGS)" clean
28459 @endif libcpp-bootstrap
28462 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
28463 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
28464 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
28466 maybe-configure-stage1-libiberty:
28467 maybe-all-stage1-libiberty:
28468 maybe-clean-stage1-libiberty:
28470 @if libiberty-bootstrap
28471 maybe-configure-stage1-libiberty: configure-stage1-libiberty
28472 configure-stage1-libiberty:
28473 @$(MAKE) stage1-start
28474 @[ -f libiberty/Makefile ] && exit 0 || : ; \
28475 r=`${PWD_COMMAND}`; export r; \
28476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28477 $(HOST_EXPORTS) \
28478 echo Configuring stage 1 in libiberty ; \
28479 cd libiberty || exit 1; \
28480 case $(srcdir) in \
28481 \.) \
28482 srcdiroption="--srcdir=."; \
28483 libsrcdir=".";; \
28484 /* | [A-Za-z]:[\\/]*) \
28485 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
28486 libsrcdir="$$s/libiberty";; \
28487 *) \
28488 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
28489 libsrcdir="$$s/libiberty";; \
28490 esac; \
28491 $(SHELL) $${libsrcdir}/configure \
28492 $(HOST_CONFIGARGS) $${srcdiroption} \
28493 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28495 maybe-all-stage1-libiberty: all-stage1-libiberty
28496 all-stage1-libiberty: configure-stage1-libiberty
28497 @$(MAKE) stage1-start
28498 @r=`${PWD_COMMAND}`; export r; \
28499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28500 $(HOST_EXPORTS) \
28501 cd libiberty && \
28502 $(MAKE) $(FLAGS_TO_PASS) \
28503 CFLAGS="$(STAGE1_CFLAGS)"
28505 maybe-clean-stage1-libiberty: clean-stage1-libiberty
28506 clean-stage1-libiberty:
28507 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
28508 || exit 0 ; \
28509 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
28510 cd libiberty && \
28511 $(MAKE) $(FLAGS_TO_PASS) \
28512 CFLAGS="$(STAGE1_CFLAGS)" clean
28513 @endif libiberty-bootstrap
28516 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
28517 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
28518 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
28520 maybe-configure-stage1-zlib:
28521 maybe-all-stage1-zlib:
28522 maybe-clean-stage1-zlib:
28524 @if zlib-bootstrap
28525 maybe-configure-stage1-zlib: configure-stage1-zlib
28526 configure-stage1-zlib:
28527 @$(MAKE) stage1-start
28528 @[ -f zlib/Makefile ] && exit 0 || : ; \
28529 r=`${PWD_COMMAND}`; export r; \
28530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28531 $(HOST_EXPORTS) \
28532 echo Configuring stage 1 in zlib ; \
28533 cd zlib || exit 1; \
28534 case $(srcdir) in \
28535 \.) \
28536 srcdiroption="--srcdir=."; \
28537 libsrcdir=".";; \
28538 /* | [A-Za-z]:[\\/]*) \
28539 srcdiroption="--srcdir=$(srcdir)/zlib"; \
28540 libsrcdir="$$s/zlib";; \
28541 *) \
28542 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
28543 libsrcdir="$$s/zlib";; \
28544 esac; \
28545 $(SHELL) $${libsrcdir}/configure \
28546 $(HOST_CONFIGARGS) $${srcdiroption} \
28547 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28549 maybe-all-stage1-zlib: all-stage1-zlib
28550 all-stage1-zlib: configure-stage1-zlib
28551 @$(MAKE) stage1-start
28552 @r=`${PWD_COMMAND}`; export r; \
28553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28554 $(HOST_EXPORTS) \
28555 cd zlib && \
28556 $(MAKE) $(FLAGS_TO_PASS) \
28557 CFLAGS="$(STAGE1_CFLAGS)"
28559 maybe-clean-stage1-zlib: clean-stage1-zlib
28560 clean-stage1-zlib:
28561 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
28562 || exit 0 ; \
28563 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
28564 cd zlib && \
28565 $(MAKE) $(FLAGS_TO_PASS) \
28566 CFLAGS="$(STAGE1_CFLAGS)" clean
28567 @endif zlib-bootstrap
28571 # FIXME: Will not need to be conditional when toplevel bootstrap is the
28572 # only possibility, but now it conflicts with no-bootstrap rules
28573 @if gcc-bootstrap
28578 # Rules to wipe a stage and all the following ones, also used for cleanstrap
28580 .PHONY: distclean-stage1
28581 distclean-stage1::
28582 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28583 rm -rf stage1-*
28586 @endif gcc-bootstrap
28589 .PHONY: stage2-start stage2-end
28591 stage2-start::
28592 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
28593 echo stage2 > stage_current ; \
28594 echo stage2 > stage_last
28595 @if bfd
28596 @[ -d stage2-bfd ] || mkdir stage2-bfd; \
28597 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
28598 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
28599 @endif bfd
28600 @if opcodes
28601 @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
28602 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
28603 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
28604 @endif opcodes
28605 @if binutils
28606 @[ -d stage2-binutils ] || mkdir stage2-binutils; \
28607 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
28608 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
28609 @endif binutils
28610 @if gas
28611 @[ -d stage2-gas ] || mkdir stage2-gas; \
28612 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
28613 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
28614 @endif gas
28615 @if gcc
28616 @[ -d stage2-gcc ] || mkdir stage2-gcc; \
28617 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28618 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28619 @endif gcc
28620 @if intl
28621 @[ -d stage2-intl ] || mkdir stage2-intl; \
28622 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
28623 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
28624 @endif intl
28625 @if ld
28626 @[ -d stage2-ld ] || mkdir stage2-ld; \
28627 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
28628 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
28629 @endif ld
28630 @if libcpp
28631 @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
28632 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
28633 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
28634 @endif libcpp
28635 @if libiberty
28636 @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
28637 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
28638 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
28639 @endif libiberty
28640 @if zlib
28641 @[ -d stage2-zlib ] || mkdir stage2-zlib; \
28642 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
28643 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
28644 @endif zlib
28646 stage2-end::
28647 @rm -f stage_current
28648 @if bfd
28649 @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
28650 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
28651 @endif bfd
28652 @if opcodes
28653 @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
28654 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
28655 @endif opcodes
28656 @if binutils
28657 @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
28658 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
28659 @endif binutils
28660 @if gas
28661 @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
28662 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
28663 @endif gas
28664 @if gcc
28665 @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
28666 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28667 @endif gcc
28668 @if intl
28669 @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
28670 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
28671 @endif intl
28672 @if ld
28673 @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
28674 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
28675 @endif ld
28676 @if libcpp
28677 @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
28678 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
28679 @endif libcpp
28680 @if libiberty
28681 @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
28682 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
28683 @endif libiberty
28684 @if zlib
28685 @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
28686 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
28687 @endif zlib
28689 # Bubble a bugfix through all the stages up to stage 2. They
28690 # are remade, but not reconfigured. The next stage (if any) will not
28691 # be reconfigured as well.
28692 .PHONY: stage2-bubble
28693 stage2-bubble:: stage1-bubble
28694 @if test -f stage2-lean || test -f stage1-lean ; then \
28695 echo Skipping rebuild of stage2 ; \
28696 else \
28697 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
28700 .PHONY: all-stage2 clean-stage2
28701 all-stage2: \
28702 maybe-all-stage2-bfd \
28703 maybe-all-stage2-opcodes \
28704 maybe-all-stage2-binutils \
28705 maybe-all-stage2-gas \
28706 maybe-all-stage2-gcc \
28707 maybe-all-stage2-intl \
28708 maybe-all-stage2-ld \
28709 maybe-all-stage2-libcpp \
28710 maybe-all-stage2-libiberty \
28711 maybe-all-stage2-zlib
28713 do-clean: clean-stage2
28714 clean-stage2: \
28715 maybe-clean-stage2-bfd \
28716 maybe-clean-stage2-opcodes \
28717 maybe-clean-stage2-binutils \
28718 maybe-clean-stage2-gas \
28719 maybe-clean-stage2-gcc \
28720 maybe-clean-stage2-intl \
28721 maybe-clean-stage2-ld \
28722 maybe-clean-stage2-libcpp \
28723 maybe-clean-stage2-libiberty \
28724 maybe-clean-stage2-zlib
28727 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
28728 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
28729 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
28731 maybe-configure-stage2-bfd:
28732 maybe-all-stage2-bfd:
28733 maybe-clean-stage2-bfd:
28735 @if bfd-bootstrap
28736 maybe-configure-stage2-bfd: configure-stage2-bfd
28737 configure-stage2-bfd:
28738 @$(MAKE) stage2-start
28739 @[ -f bfd/Makefile ] && exit 0 || : ; \
28740 r=`${PWD_COMMAND}`; export r; \
28741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28742 $(STAGE_HOST_EXPORTS) \
28743 echo Configuring stage 2 in bfd ; \
28744 cd bfd || exit 1; \
28745 case $(srcdir) in \
28746 \.) \
28747 srcdiroption="--srcdir=."; \
28748 libsrcdir=".";; \
28749 /* | [A-Za-z]:[\\/]*) \
28750 srcdiroption="--srcdir=$(srcdir)/bfd"; \
28751 libsrcdir="$$s/bfd";; \
28752 *) \
28753 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28754 libsrcdir="$$s/bfd";; \
28755 esac; \
28756 $(SHELL) $${libsrcdir}/configure \
28757 $(HOST_CONFIGARGS) $${srcdiroption} \
28758 @stage2_werror_flag@
28760 maybe-all-stage2-bfd: all-stage2-bfd
28761 all-stage2-bfd: configure-stage2-bfd
28762 @$(MAKE) stage2-start
28763 @r=`${PWD_COMMAND}`; export r; \
28764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28765 $(STAGE_HOST_EXPORTS) \
28766 cd bfd && \
28767 $(MAKE) $(FLAGS_TO_PASS) \
28768 $(POSTSTAGE1_FLAGS_TO_PASS) \
28771 maybe-clean-stage2-bfd: clean-stage2-bfd
28772 clean-stage2-bfd:
28773 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
28774 || exit 0 ; \
28775 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
28776 cd bfd && \
28777 $(MAKE) $(FLAGS_TO_PASS) \
28778 $(POSTSTAGE1_FLAGS_TO_PASS) \
28779 clean
28780 @endif bfd-bootstrap
28783 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
28784 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
28785 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
28787 maybe-configure-stage2-opcodes:
28788 maybe-all-stage2-opcodes:
28789 maybe-clean-stage2-opcodes:
28791 @if opcodes-bootstrap
28792 maybe-configure-stage2-opcodes: configure-stage2-opcodes
28793 configure-stage2-opcodes:
28794 @$(MAKE) stage2-start
28795 @[ -f opcodes/Makefile ] && exit 0 || : ; \
28796 r=`${PWD_COMMAND}`; export r; \
28797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28798 $(STAGE_HOST_EXPORTS) \
28799 echo Configuring stage 2 in opcodes ; \
28800 cd opcodes || exit 1; \
28801 case $(srcdir) in \
28802 \.) \
28803 srcdiroption="--srcdir=."; \
28804 libsrcdir=".";; \
28805 /* | [A-Za-z]:[\\/]*) \
28806 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
28807 libsrcdir="$$s/opcodes";; \
28808 *) \
28809 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
28810 libsrcdir="$$s/opcodes";; \
28811 esac; \
28812 $(SHELL) $${libsrcdir}/configure \
28813 $(HOST_CONFIGARGS) $${srcdiroption} \
28814 @stage2_werror_flag@
28816 maybe-all-stage2-opcodes: all-stage2-opcodes
28817 all-stage2-opcodes: configure-stage2-opcodes
28818 @$(MAKE) stage2-start
28819 @r=`${PWD_COMMAND}`; export r; \
28820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28821 $(STAGE_HOST_EXPORTS) \
28822 cd opcodes && \
28823 $(MAKE) $(FLAGS_TO_PASS) \
28824 $(POSTSTAGE1_FLAGS_TO_PASS) \
28827 maybe-clean-stage2-opcodes: clean-stage2-opcodes
28828 clean-stage2-opcodes:
28829 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
28830 || exit 0 ; \
28831 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
28832 cd opcodes && \
28833 $(MAKE) $(FLAGS_TO_PASS) \
28834 $(POSTSTAGE1_FLAGS_TO_PASS) \
28835 clean
28836 @endif opcodes-bootstrap
28839 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
28840 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
28841 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
28843 maybe-configure-stage2-binutils:
28844 maybe-all-stage2-binutils:
28845 maybe-clean-stage2-binutils:
28847 @if binutils-bootstrap
28848 maybe-configure-stage2-binutils: configure-stage2-binutils
28849 configure-stage2-binutils:
28850 @$(MAKE) stage2-start
28851 @[ -f binutils/Makefile ] && exit 0 || : ; \
28852 r=`${PWD_COMMAND}`; export r; \
28853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28854 $(STAGE_HOST_EXPORTS) \
28855 echo Configuring stage 2 in binutils ; \
28856 cd binutils || exit 1; \
28857 case $(srcdir) in \
28858 \.) \
28859 srcdiroption="--srcdir=."; \
28860 libsrcdir=".";; \
28861 /* | [A-Za-z]:[\\/]*) \
28862 srcdiroption="--srcdir=$(srcdir)/binutils"; \
28863 libsrcdir="$$s/binutils";; \
28864 *) \
28865 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
28866 libsrcdir="$$s/binutils";; \
28867 esac; \
28868 $(SHELL) $${libsrcdir}/configure \
28869 $(HOST_CONFIGARGS) $${srcdiroption} \
28870 @stage2_werror_flag@
28872 maybe-all-stage2-binutils: all-stage2-binutils
28873 all-stage2-binutils: configure-stage2-binutils
28874 @$(MAKE) stage2-start
28875 @r=`${PWD_COMMAND}`; export r; \
28876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28877 $(STAGE_HOST_EXPORTS) \
28878 cd binutils && \
28879 $(MAKE) $(FLAGS_TO_PASS) \
28880 $(POSTSTAGE1_FLAGS_TO_PASS) \
28883 maybe-clean-stage2-binutils: clean-stage2-binutils
28884 clean-stage2-binutils:
28885 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
28886 || exit 0 ; \
28887 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
28888 cd binutils && \
28889 $(MAKE) $(FLAGS_TO_PASS) \
28890 $(POSTSTAGE1_FLAGS_TO_PASS) \
28891 clean
28892 @endif binutils-bootstrap
28895 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
28896 .PHONY: all-stage2-gas maybe-all-stage2-gas
28897 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
28899 maybe-configure-stage2-gas:
28900 maybe-all-stage2-gas:
28901 maybe-clean-stage2-gas:
28903 @if gas-bootstrap
28904 maybe-configure-stage2-gas: configure-stage2-gas
28905 configure-stage2-gas:
28906 @$(MAKE) stage2-start
28907 @[ -f gas/Makefile ] && exit 0 || : ; \
28908 r=`${PWD_COMMAND}`; export r; \
28909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28910 $(STAGE_HOST_EXPORTS) \
28911 echo Configuring stage 2 in gas ; \
28912 cd gas || exit 1; \
28913 case $(srcdir) in \
28914 \.) \
28915 srcdiroption="--srcdir=."; \
28916 libsrcdir=".";; \
28917 /* | [A-Za-z]:[\\/]*) \
28918 srcdiroption="--srcdir=$(srcdir)/gas"; \
28919 libsrcdir="$$s/gas";; \
28920 *) \
28921 srcdiroption="--srcdir=../$(srcdir)/gas"; \
28922 libsrcdir="$$s/gas";; \
28923 esac; \
28924 $(SHELL) $${libsrcdir}/configure \
28925 $(HOST_CONFIGARGS) $${srcdiroption} \
28926 @stage2_werror_flag@
28928 maybe-all-stage2-gas: all-stage2-gas
28929 all-stage2-gas: configure-stage2-gas
28930 @$(MAKE) stage2-start
28931 @r=`${PWD_COMMAND}`; export r; \
28932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28933 $(STAGE_HOST_EXPORTS) \
28934 cd gas && \
28935 $(MAKE) $(FLAGS_TO_PASS) \
28936 $(POSTSTAGE1_FLAGS_TO_PASS) \
28939 maybe-clean-stage2-gas: clean-stage2-gas
28940 clean-stage2-gas:
28941 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
28942 || exit 0 ; \
28943 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
28944 cd gas && \
28945 $(MAKE) $(FLAGS_TO_PASS) \
28946 $(POSTSTAGE1_FLAGS_TO_PASS) \
28947 clean
28948 @endif gas-bootstrap
28951 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
28952 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
28953 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
28955 maybe-configure-stage2-gcc:
28956 maybe-all-stage2-gcc:
28957 maybe-clean-stage2-gcc:
28959 @if gcc-bootstrap
28960 maybe-configure-stage2-gcc: configure-stage2-gcc
28961 configure-stage2-gcc:
28962 @$(MAKE) stage2-start
28963 @[ -f gcc/Makefile ] && exit 0 || : ; \
28964 r=`${PWD_COMMAND}`; export r; \
28965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28966 $(STAGE_HOST_EXPORTS) \
28967 echo Configuring stage 2 in gcc ; \
28968 cd gcc || exit 1; \
28969 case $(srcdir) in \
28970 \.) \
28971 srcdiroption="--srcdir=."; \
28972 libsrcdir=".";; \
28973 /* | [A-Za-z]:[\\/]*) \
28974 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28975 libsrcdir="$$s/gcc";; \
28976 *) \
28977 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28978 libsrcdir="$$s/gcc";; \
28979 esac; \
28980 $(SHELL) $${libsrcdir}/configure \
28981 $(HOST_CONFIGARGS) $${srcdiroption} \
28982 @stage2_werror_flag@
28984 maybe-all-stage2-gcc: all-stage2-gcc
28985 all-stage2-gcc: configure-stage2-gcc
28986 @$(MAKE) stage2-start
28987 @r=`${PWD_COMMAND}`; export r; \
28988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28989 $(STAGE_HOST_EXPORTS) \
28990 cd gcc && \
28991 $(MAKE) $(FLAGS_TO_PASS) \
28992 $(POSTSTAGE1_FLAGS_TO_PASS) \
28993 $(EXTRA_GCC_FLAGS)
28995 maybe-clean-stage2-gcc: clean-stage2-gcc
28996 clean-stage2-gcc:
28997 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
28998 || exit 0 ; \
28999 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
29000 cd gcc && \
29001 $(MAKE) $(FLAGS_TO_PASS) \
29002 $(POSTSTAGE1_FLAGS_TO_PASS) \
29003 $(EXTRA_GCC_FLAGS) clean
29004 @endif gcc-bootstrap
29007 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
29008 .PHONY: all-stage2-intl maybe-all-stage2-intl
29009 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
29011 maybe-configure-stage2-intl:
29012 maybe-all-stage2-intl:
29013 maybe-clean-stage2-intl:
29015 @if intl-bootstrap
29016 maybe-configure-stage2-intl: configure-stage2-intl
29017 configure-stage2-intl:
29018 @$(MAKE) stage2-start
29019 @[ -f intl/Makefile ] && exit 0 || : ; \
29020 r=`${PWD_COMMAND}`; export r; \
29021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29022 $(STAGE_HOST_EXPORTS) \
29023 echo Configuring stage 2 in intl ; \
29024 cd intl || exit 1; \
29025 case $(srcdir) in \
29026 \.) \
29027 srcdiroption="--srcdir=."; \
29028 libsrcdir=".";; \
29029 /* | [A-Za-z]:[\\/]*) \
29030 srcdiroption="--srcdir=$(srcdir)/intl"; \
29031 libsrcdir="$$s/intl";; \
29032 *) \
29033 srcdiroption="--srcdir=../$(srcdir)/intl"; \
29034 libsrcdir="$$s/intl";; \
29035 esac; \
29036 $(SHELL) $${libsrcdir}/configure \
29037 $(HOST_CONFIGARGS) $${srcdiroption} \
29038 @stage2_werror_flag@
29040 maybe-all-stage2-intl: all-stage2-intl
29041 all-stage2-intl: configure-stage2-intl
29042 @$(MAKE) stage2-start
29043 @r=`${PWD_COMMAND}`; export r; \
29044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29045 $(STAGE_HOST_EXPORTS) \
29046 cd intl && \
29047 $(MAKE) $(FLAGS_TO_PASS) \
29048 $(POSTSTAGE1_FLAGS_TO_PASS) \
29051 maybe-clean-stage2-intl: clean-stage2-intl
29052 clean-stage2-intl:
29053 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
29054 || exit 0 ; \
29055 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
29056 cd intl && \
29057 $(MAKE) $(FLAGS_TO_PASS) \
29058 $(POSTSTAGE1_FLAGS_TO_PASS) \
29059 clean
29060 @endif intl-bootstrap
29063 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
29064 .PHONY: all-stage2-ld maybe-all-stage2-ld
29065 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
29067 maybe-configure-stage2-ld:
29068 maybe-all-stage2-ld:
29069 maybe-clean-stage2-ld:
29071 @if ld-bootstrap
29072 maybe-configure-stage2-ld: configure-stage2-ld
29073 configure-stage2-ld:
29074 @$(MAKE) stage2-start
29075 @[ -f ld/Makefile ] && exit 0 || : ; \
29076 r=`${PWD_COMMAND}`; export r; \
29077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29078 $(STAGE_HOST_EXPORTS) \
29079 echo Configuring stage 2 in ld ; \
29080 cd ld || exit 1; \
29081 case $(srcdir) in \
29082 \.) \
29083 srcdiroption="--srcdir=."; \
29084 libsrcdir=".";; \
29085 /* | [A-Za-z]:[\\/]*) \
29086 srcdiroption="--srcdir=$(srcdir)/ld"; \
29087 libsrcdir="$$s/ld";; \
29088 *) \
29089 srcdiroption="--srcdir=../$(srcdir)/ld"; \
29090 libsrcdir="$$s/ld";; \
29091 esac; \
29092 $(SHELL) $${libsrcdir}/configure \
29093 $(HOST_CONFIGARGS) $${srcdiroption} \
29094 @stage2_werror_flag@
29096 maybe-all-stage2-ld: all-stage2-ld
29097 all-stage2-ld: configure-stage2-ld
29098 @$(MAKE) stage2-start
29099 @r=`${PWD_COMMAND}`; export r; \
29100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29101 $(STAGE_HOST_EXPORTS) \
29102 cd ld && \
29103 $(MAKE) $(FLAGS_TO_PASS) \
29104 $(POSTSTAGE1_FLAGS_TO_PASS) \
29107 maybe-clean-stage2-ld: clean-stage2-ld
29108 clean-stage2-ld:
29109 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
29110 || exit 0 ; \
29111 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
29112 cd ld && \
29113 $(MAKE) $(FLAGS_TO_PASS) \
29114 $(POSTSTAGE1_FLAGS_TO_PASS) \
29115 clean
29116 @endif ld-bootstrap
29119 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
29120 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
29121 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
29123 maybe-configure-stage2-libcpp:
29124 maybe-all-stage2-libcpp:
29125 maybe-clean-stage2-libcpp:
29127 @if libcpp-bootstrap
29128 maybe-configure-stage2-libcpp: configure-stage2-libcpp
29129 configure-stage2-libcpp:
29130 @$(MAKE) stage2-start
29131 @[ -f libcpp/Makefile ] && exit 0 || : ; \
29132 r=`${PWD_COMMAND}`; export r; \
29133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29134 $(STAGE_HOST_EXPORTS) \
29135 echo Configuring stage 2 in libcpp ; \
29136 cd libcpp || exit 1; \
29137 case $(srcdir) in \
29138 \.) \
29139 srcdiroption="--srcdir=."; \
29140 libsrcdir=".";; \
29141 /* | [A-Za-z]:[\\/]*) \
29142 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
29143 libsrcdir="$$s/libcpp";; \
29144 *) \
29145 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
29146 libsrcdir="$$s/libcpp";; \
29147 esac; \
29148 $(SHELL) $${libsrcdir}/configure \
29149 $(HOST_CONFIGARGS) $${srcdiroption} \
29150 @stage2_werror_flag@
29152 maybe-all-stage2-libcpp: all-stage2-libcpp
29153 all-stage2-libcpp: configure-stage2-libcpp
29154 @$(MAKE) stage2-start
29155 @r=`${PWD_COMMAND}`; export r; \
29156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29157 $(STAGE_HOST_EXPORTS) \
29158 cd libcpp && \
29159 $(MAKE) $(FLAGS_TO_PASS) \
29160 $(POSTSTAGE1_FLAGS_TO_PASS) \
29163 maybe-clean-stage2-libcpp: clean-stage2-libcpp
29164 clean-stage2-libcpp:
29165 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
29166 || exit 0 ; \
29167 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
29168 cd libcpp && \
29169 $(MAKE) $(FLAGS_TO_PASS) \
29170 $(POSTSTAGE1_FLAGS_TO_PASS) \
29171 clean
29172 @endif libcpp-bootstrap
29175 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
29176 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
29177 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
29179 maybe-configure-stage2-libiberty:
29180 maybe-all-stage2-libiberty:
29181 maybe-clean-stage2-libiberty:
29183 @if libiberty-bootstrap
29184 maybe-configure-stage2-libiberty: configure-stage2-libiberty
29185 configure-stage2-libiberty:
29186 @$(MAKE) stage2-start
29187 @[ -f libiberty/Makefile ] && exit 0 || : ; \
29188 r=`${PWD_COMMAND}`; export r; \
29189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29190 $(STAGE_HOST_EXPORTS) \
29191 echo Configuring stage 2 in libiberty ; \
29192 cd libiberty || exit 1; \
29193 case $(srcdir) in \
29194 \.) \
29195 srcdiroption="--srcdir=."; \
29196 libsrcdir=".";; \
29197 /* | [A-Za-z]:[\\/]*) \
29198 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
29199 libsrcdir="$$s/libiberty";; \
29200 *) \
29201 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
29202 libsrcdir="$$s/libiberty";; \
29203 esac; \
29204 $(SHELL) $${libsrcdir}/configure \
29205 $(HOST_CONFIGARGS) $${srcdiroption} \
29206 @stage2_werror_flag@
29208 maybe-all-stage2-libiberty: all-stage2-libiberty
29209 all-stage2-libiberty: configure-stage2-libiberty
29210 @$(MAKE) stage2-start
29211 @r=`${PWD_COMMAND}`; export r; \
29212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29213 $(STAGE_HOST_EXPORTS) \
29214 cd libiberty && \
29215 $(MAKE) $(FLAGS_TO_PASS) \
29216 $(POSTSTAGE1_FLAGS_TO_PASS) \
29219 maybe-clean-stage2-libiberty: clean-stage2-libiberty
29220 clean-stage2-libiberty:
29221 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
29222 || exit 0 ; \
29223 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
29224 cd libiberty && \
29225 $(MAKE) $(FLAGS_TO_PASS) \
29226 $(POSTSTAGE1_FLAGS_TO_PASS) \
29227 clean
29228 @endif libiberty-bootstrap
29231 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
29232 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
29233 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
29235 maybe-configure-stage2-zlib:
29236 maybe-all-stage2-zlib:
29237 maybe-clean-stage2-zlib:
29239 @if zlib-bootstrap
29240 maybe-configure-stage2-zlib: configure-stage2-zlib
29241 configure-stage2-zlib:
29242 @$(MAKE) stage2-start
29243 @[ -f zlib/Makefile ] && exit 0 || : ; \
29244 r=`${PWD_COMMAND}`; export r; \
29245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29246 $(STAGE_HOST_EXPORTS) \
29247 echo Configuring stage 2 in zlib ; \
29248 cd zlib || exit 1; \
29249 case $(srcdir) in \
29250 \.) \
29251 srcdiroption="--srcdir=."; \
29252 libsrcdir=".";; \
29253 /* | [A-Za-z]:[\\/]*) \
29254 srcdiroption="--srcdir=$(srcdir)/zlib"; \
29255 libsrcdir="$$s/zlib";; \
29256 *) \
29257 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
29258 libsrcdir="$$s/zlib";; \
29259 esac; \
29260 $(SHELL) $${libsrcdir}/configure \
29261 $(HOST_CONFIGARGS) $${srcdiroption} \
29262 @stage2_werror_flag@
29264 maybe-all-stage2-zlib: all-stage2-zlib
29265 all-stage2-zlib: configure-stage2-zlib
29266 @$(MAKE) stage2-start
29267 @r=`${PWD_COMMAND}`; export r; \
29268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29269 $(STAGE_HOST_EXPORTS) \
29270 cd zlib && \
29271 $(MAKE) $(FLAGS_TO_PASS) \
29272 $(POSTSTAGE1_FLAGS_TO_PASS) \
29275 maybe-clean-stage2-zlib: clean-stage2-zlib
29276 clean-stage2-zlib:
29277 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
29278 || exit 0 ; \
29279 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
29280 cd zlib && \
29281 $(MAKE) $(FLAGS_TO_PASS) \
29282 $(POSTSTAGE1_FLAGS_TO_PASS) \
29283 clean
29284 @endif zlib-bootstrap
29288 # FIXME: Will not need to be conditional when toplevel bootstrap is the
29289 # only possibility, but now it conflicts with no-bootstrap rules
29290 @if gcc-bootstrap
29294 .PHONY: bootstrap2
29295 bootstrap2: stage2-bubble all
29298 # Rules to wipe a stage and all the following ones, also used for cleanstrap
29299 distclean-stage1:: distclean-stage2
29300 .PHONY: distclean-stage2
29301 distclean-stage2::
29302 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29303 rm -rf stage2-*
29306 @endif gcc-bootstrap
29309 .PHONY: stage3-start stage3-end
29311 stage3-start::
29312 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
29313 echo stage3 > stage_current ; \
29314 echo stage3 > stage_last
29315 @if bfd
29316 @[ -d stage3-bfd ] || mkdir stage3-bfd; \
29317 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
29318 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
29319 @endif bfd
29320 @if opcodes
29321 @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
29322 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
29323 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
29324 @endif opcodes
29325 @if binutils
29326 @[ -d stage3-binutils ] || mkdir stage3-binutils; \
29327 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
29328 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
29329 @endif binutils
29330 @if gas
29331 @[ -d stage3-gas ] || mkdir stage3-gas; \
29332 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
29333 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
29334 @endif gas
29335 @if gcc
29336 @[ -d stage3-gcc ] || mkdir stage3-gcc; \
29337 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
29338 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
29339 @endif gcc
29340 @if intl
29341 @[ -d stage3-intl ] || mkdir stage3-intl; \
29342 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
29343 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
29344 @endif intl
29345 @if ld
29346 @[ -d stage3-ld ] || mkdir stage3-ld; \
29347 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
29348 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
29349 @endif ld
29350 @if libcpp
29351 @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
29352 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
29353 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
29354 @endif libcpp
29355 @if libiberty
29356 @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
29357 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
29358 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
29359 @endif libiberty
29360 @if zlib
29361 @[ -d stage3-zlib ] || mkdir stage3-zlib; \
29362 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
29363 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
29364 @endif zlib
29366 stage3-end::
29367 @rm -f stage_current
29368 @if bfd
29369 @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
29370 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
29371 @endif bfd
29372 @if opcodes
29373 @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
29374 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
29375 @endif opcodes
29376 @if binutils
29377 @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
29378 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
29379 @endif binutils
29380 @if gas
29381 @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
29382 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
29383 @endif gas
29384 @if gcc
29385 @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
29386 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
29387 @endif gcc
29388 @if intl
29389 @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
29390 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
29391 @endif intl
29392 @if ld
29393 @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
29394 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
29395 @endif ld
29396 @if libcpp
29397 @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
29398 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
29399 @endif libcpp
29400 @if libiberty
29401 @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
29402 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
29403 @endif libiberty
29404 @if zlib
29405 @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
29406 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
29407 @endif zlib
29409 # Bubble a bugfix through all the stages up to stage 3. They
29410 # are remade, but not reconfigured. The next stage (if any) will not
29411 # be reconfigured as well.
29412 .PHONY: stage3-bubble
29413 stage3-bubble:: stage2-bubble
29414 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
29415 @if test -f stage3-lean || test -f stage2-lean ; then \
29416 echo Skipping rebuild of stage3 ; \
29417 else \
29418 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
29421 .PHONY: all-stage3 clean-stage3
29422 all-stage3: \
29423 maybe-all-stage3-bfd \
29424 maybe-all-stage3-opcodes \
29425 maybe-all-stage3-binutils \
29426 maybe-all-stage3-gas \
29427 maybe-all-stage3-gcc \
29428 maybe-all-stage3-intl \
29429 maybe-all-stage3-ld \
29430 maybe-all-stage3-libcpp \
29431 maybe-all-stage3-libiberty \
29432 maybe-all-stage3-zlib
29434 do-clean: clean-stage3
29435 clean-stage3: \
29436 maybe-clean-stage3-bfd \
29437 maybe-clean-stage3-opcodes \
29438 maybe-clean-stage3-binutils \
29439 maybe-clean-stage3-gas \
29440 maybe-clean-stage3-gcc \
29441 maybe-clean-stage3-intl \
29442 maybe-clean-stage3-ld \
29443 maybe-clean-stage3-libcpp \
29444 maybe-clean-stage3-libiberty \
29445 maybe-clean-stage3-zlib
29448 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
29449 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
29450 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
29452 maybe-configure-stage3-bfd:
29453 maybe-all-stage3-bfd:
29454 maybe-clean-stage3-bfd:
29456 @if bfd-bootstrap
29457 maybe-configure-stage3-bfd: configure-stage3-bfd
29458 configure-stage3-bfd:
29459 @$(MAKE) stage3-start
29460 @[ -f bfd/Makefile ] && exit 0 || : ; \
29461 r=`${PWD_COMMAND}`; export r; \
29462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29463 $(STAGE_HOST_EXPORTS) \
29464 echo Configuring stage 3 in bfd ; \
29465 cd bfd || exit 1; \
29466 case $(srcdir) in \
29467 \.) \
29468 srcdiroption="--srcdir=."; \
29469 libsrcdir=".";; \
29470 /* | [A-Za-z]:[\\/]*) \
29471 srcdiroption="--srcdir=$(srcdir)/bfd"; \
29472 libsrcdir="$$s/bfd";; \
29473 *) \
29474 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
29475 libsrcdir="$$s/bfd";; \
29476 esac; \
29477 $(SHELL) $${libsrcdir}/configure \
29478 $(HOST_CONFIGARGS) $${srcdiroption} \
29479 @stage2_werror_flag@
29481 maybe-all-stage3-bfd: all-stage3-bfd
29482 all-stage3-bfd: configure-stage3-bfd
29483 @$(MAKE) stage3-start
29484 @r=`${PWD_COMMAND}`; export r; \
29485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29486 $(STAGE_HOST_EXPORTS) \
29487 cd bfd && \
29488 $(MAKE) $(FLAGS_TO_PASS) \
29489 $(POSTSTAGE1_FLAGS_TO_PASS) \
29492 maybe-clean-stage3-bfd: clean-stage3-bfd
29493 clean-stage3-bfd:
29494 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
29495 || exit 0 ; \
29496 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
29497 cd bfd && \
29498 $(MAKE) $(FLAGS_TO_PASS) \
29499 $(POSTSTAGE1_FLAGS_TO_PASS) \
29500 clean
29501 @endif bfd-bootstrap
29504 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
29505 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
29506 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
29508 maybe-configure-stage3-opcodes:
29509 maybe-all-stage3-opcodes:
29510 maybe-clean-stage3-opcodes:
29512 @if opcodes-bootstrap
29513 maybe-configure-stage3-opcodes: configure-stage3-opcodes
29514 configure-stage3-opcodes:
29515 @$(MAKE) stage3-start
29516 @[ -f opcodes/Makefile ] && exit 0 || : ; \
29517 r=`${PWD_COMMAND}`; export r; \
29518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29519 $(STAGE_HOST_EXPORTS) \
29520 echo Configuring stage 3 in opcodes ; \
29521 cd opcodes || exit 1; \
29522 case $(srcdir) in \
29523 \.) \
29524 srcdiroption="--srcdir=."; \
29525 libsrcdir=".";; \
29526 /* | [A-Za-z]:[\\/]*) \
29527 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
29528 libsrcdir="$$s/opcodes";; \
29529 *) \
29530 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
29531 libsrcdir="$$s/opcodes";; \
29532 esac; \
29533 $(SHELL) $${libsrcdir}/configure \
29534 $(HOST_CONFIGARGS) $${srcdiroption} \
29535 @stage2_werror_flag@
29537 maybe-all-stage3-opcodes: all-stage3-opcodes
29538 all-stage3-opcodes: configure-stage3-opcodes
29539 @$(MAKE) stage3-start
29540 @r=`${PWD_COMMAND}`; export r; \
29541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29542 $(STAGE_HOST_EXPORTS) \
29543 cd opcodes && \
29544 $(MAKE) $(FLAGS_TO_PASS) \
29545 $(POSTSTAGE1_FLAGS_TO_PASS) \
29548 maybe-clean-stage3-opcodes: clean-stage3-opcodes
29549 clean-stage3-opcodes:
29550 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
29551 || exit 0 ; \
29552 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
29553 cd opcodes && \
29554 $(MAKE) $(FLAGS_TO_PASS) \
29555 $(POSTSTAGE1_FLAGS_TO_PASS) \
29556 clean
29557 @endif opcodes-bootstrap
29560 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
29561 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
29562 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
29564 maybe-configure-stage3-binutils:
29565 maybe-all-stage3-binutils:
29566 maybe-clean-stage3-binutils:
29568 @if binutils-bootstrap
29569 maybe-configure-stage3-binutils: configure-stage3-binutils
29570 configure-stage3-binutils:
29571 @$(MAKE) stage3-start
29572 @[ -f binutils/Makefile ] && exit 0 || : ; \
29573 r=`${PWD_COMMAND}`; export r; \
29574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29575 $(STAGE_HOST_EXPORTS) \
29576 echo Configuring stage 3 in binutils ; \
29577 cd binutils || exit 1; \
29578 case $(srcdir) in \
29579 \.) \
29580 srcdiroption="--srcdir=."; \
29581 libsrcdir=".";; \
29582 /* | [A-Za-z]:[\\/]*) \
29583 srcdiroption="--srcdir=$(srcdir)/binutils"; \
29584 libsrcdir="$$s/binutils";; \
29585 *) \
29586 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
29587 libsrcdir="$$s/binutils";; \
29588 esac; \
29589 $(SHELL) $${libsrcdir}/configure \
29590 $(HOST_CONFIGARGS) $${srcdiroption} \
29591 @stage2_werror_flag@
29593 maybe-all-stage3-binutils: all-stage3-binutils
29594 all-stage3-binutils: configure-stage3-binutils
29595 @$(MAKE) stage3-start
29596 @r=`${PWD_COMMAND}`; export r; \
29597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29598 $(STAGE_HOST_EXPORTS) \
29599 cd binutils && \
29600 $(MAKE) $(FLAGS_TO_PASS) \
29601 $(POSTSTAGE1_FLAGS_TO_PASS) \
29604 maybe-clean-stage3-binutils: clean-stage3-binutils
29605 clean-stage3-binutils:
29606 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
29607 || exit 0 ; \
29608 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
29609 cd binutils && \
29610 $(MAKE) $(FLAGS_TO_PASS) \
29611 $(POSTSTAGE1_FLAGS_TO_PASS) \
29612 clean
29613 @endif binutils-bootstrap
29616 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
29617 .PHONY: all-stage3-gas maybe-all-stage3-gas
29618 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
29620 maybe-configure-stage3-gas:
29621 maybe-all-stage3-gas:
29622 maybe-clean-stage3-gas:
29624 @if gas-bootstrap
29625 maybe-configure-stage3-gas: configure-stage3-gas
29626 configure-stage3-gas:
29627 @$(MAKE) stage3-start
29628 @[ -f gas/Makefile ] && exit 0 || : ; \
29629 r=`${PWD_COMMAND}`; export r; \
29630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29631 $(STAGE_HOST_EXPORTS) \
29632 echo Configuring stage 3 in gas ; \
29633 cd gas || exit 1; \
29634 case $(srcdir) in \
29635 \.) \
29636 srcdiroption="--srcdir=."; \
29637 libsrcdir=".";; \
29638 /* | [A-Za-z]:[\\/]*) \
29639 srcdiroption="--srcdir=$(srcdir)/gas"; \
29640 libsrcdir="$$s/gas";; \
29641 *) \
29642 srcdiroption="--srcdir=../$(srcdir)/gas"; \
29643 libsrcdir="$$s/gas";; \
29644 esac; \
29645 $(SHELL) $${libsrcdir}/configure \
29646 $(HOST_CONFIGARGS) $${srcdiroption} \
29647 @stage2_werror_flag@
29649 maybe-all-stage3-gas: all-stage3-gas
29650 all-stage3-gas: configure-stage3-gas
29651 @$(MAKE) stage3-start
29652 @r=`${PWD_COMMAND}`; export r; \
29653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29654 $(STAGE_HOST_EXPORTS) \
29655 cd gas && \
29656 $(MAKE) $(FLAGS_TO_PASS) \
29657 $(POSTSTAGE1_FLAGS_TO_PASS) \
29660 maybe-clean-stage3-gas: clean-stage3-gas
29661 clean-stage3-gas:
29662 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
29663 || exit 0 ; \
29664 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
29665 cd gas && \
29666 $(MAKE) $(FLAGS_TO_PASS) \
29667 $(POSTSTAGE1_FLAGS_TO_PASS) \
29668 clean
29669 @endif gas-bootstrap
29672 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
29673 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
29674 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
29676 maybe-configure-stage3-gcc:
29677 maybe-all-stage3-gcc:
29678 maybe-clean-stage3-gcc:
29680 @if gcc-bootstrap
29681 maybe-configure-stage3-gcc: configure-stage3-gcc
29682 configure-stage3-gcc:
29683 @$(MAKE) stage3-start
29684 @[ -f gcc/Makefile ] && exit 0 || : ; \
29685 r=`${PWD_COMMAND}`; export r; \
29686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29687 $(STAGE_HOST_EXPORTS) \
29688 echo Configuring stage 3 in gcc ; \
29689 cd gcc || exit 1; \
29690 case $(srcdir) in \
29691 \.) \
29692 srcdiroption="--srcdir=."; \
29693 libsrcdir=".";; \
29694 /* | [A-Za-z]:[\\/]*) \
29695 srcdiroption="--srcdir=$(srcdir)/gcc"; \
29696 libsrcdir="$$s/gcc";; \
29697 *) \
29698 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29699 libsrcdir="$$s/gcc";; \
29700 esac; \
29701 $(SHELL) $${libsrcdir}/configure \
29702 $(HOST_CONFIGARGS) $${srcdiroption} \
29703 @stage2_werror_flag@
29705 maybe-all-stage3-gcc: all-stage3-gcc
29706 all-stage3-gcc: configure-stage3-gcc
29707 @$(MAKE) stage3-start
29708 @r=`${PWD_COMMAND}`; export r; \
29709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29710 $(STAGE_HOST_EXPORTS) \
29711 cd gcc && \
29712 $(MAKE) $(FLAGS_TO_PASS) \
29713 $(POSTSTAGE1_FLAGS_TO_PASS) \
29714 $(EXTRA_GCC_FLAGS)
29716 maybe-clean-stage3-gcc: clean-stage3-gcc
29717 clean-stage3-gcc:
29718 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
29719 || exit 0 ; \
29720 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
29721 cd gcc && \
29722 $(MAKE) $(FLAGS_TO_PASS) \
29723 $(POSTSTAGE1_FLAGS_TO_PASS) \
29724 $(EXTRA_GCC_FLAGS) clean
29725 @endif gcc-bootstrap
29728 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
29729 .PHONY: all-stage3-intl maybe-all-stage3-intl
29730 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
29732 maybe-configure-stage3-intl:
29733 maybe-all-stage3-intl:
29734 maybe-clean-stage3-intl:
29736 @if intl-bootstrap
29737 maybe-configure-stage3-intl: configure-stage3-intl
29738 configure-stage3-intl:
29739 @$(MAKE) stage3-start
29740 @[ -f intl/Makefile ] && exit 0 || : ; \
29741 r=`${PWD_COMMAND}`; export r; \
29742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29743 $(STAGE_HOST_EXPORTS) \
29744 echo Configuring stage 3 in intl ; \
29745 cd intl || exit 1; \
29746 case $(srcdir) in \
29747 \.) \
29748 srcdiroption="--srcdir=."; \
29749 libsrcdir=".";; \
29750 /* | [A-Za-z]:[\\/]*) \
29751 srcdiroption="--srcdir=$(srcdir)/intl"; \
29752 libsrcdir="$$s/intl";; \
29753 *) \
29754 srcdiroption="--srcdir=../$(srcdir)/intl"; \
29755 libsrcdir="$$s/intl";; \
29756 esac; \
29757 $(SHELL) $${libsrcdir}/configure \
29758 $(HOST_CONFIGARGS) $${srcdiroption} \
29759 @stage2_werror_flag@
29761 maybe-all-stage3-intl: all-stage3-intl
29762 all-stage3-intl: configure-stage3-intl
29763 @$(MAKE) stage3-start
29764 @r=`${PWD_COMMAND}`; export r; \
29765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29766 $(STAGE_HOST_EXPORTS) \
29767 cd intl && \
29768 $(MAKE) $(FLAGS_TO_PASS) \
29769 $(POSTSTAGE1_FLAGS_TO_PASS) \
29772 maybe-clean-stage3-intl: clean-stage3-intl
29773 clean-stage3-intl:
29774 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
29775 || exit 0 ; \
29776 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
29777 cd intl && \
29778 $(MAKE) $(FLAGS_TO_PASS) \
29779 $(POSTSTAGE1_FLAGS_TO_PASS) \
29780 clean
29781 @endif intl-bootstrap
29784 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
29785 .PHONY: all-stage3-ld maybe-all-stage3-ld
29786 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
29788 maybe-configure-stage3-ld:
29789 maybe-all-stage3-ld:
29790 maybe-clean-stage3-ld:
29792 @if ld-bootstrap
29793 maybe-configure-stage3-ld: configure-stage3-ld
29794 configure-stage3-ld:
29795 @$(MAKE) stage3-start
29796 @[ -f ld/Makefile ] && exit 0 || : ; \
29797 r=`${PWD_COMMAND}`; export r; \
29798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29799 $(STAGE_HOST_EXPORTS) \
29800 echo Configuring stage 3 in ld ; \
29801 cd ld || exit 1; \
29802 case $(srcdir) in \
29803 \.) \
29804 srcdiroption="--srcdir=."; \
29805 libsrcdir=".";; \
29806 /* | [A-Za-z]:[\\/]*) \
29807 srcdiroption="--srcdir=$(srcdir)/ld"; \
29808 libsrcdir="$$s/ld";; \
29809 *) \
29810 srcdiroption="--srcdir=../$(srcdir)/ld"; \
29811 libsrcdir="$$s/ld";; \
29812 esac; \
29813 $(SHELL) $${libsrcdir}/configure \
29814 $(HOST_CONFIGARGS) $${srcdiroption} \
29815 @stage2_werror_flag@
29817 maybe-all-stage3-ld: all-stage3-ld
29818 all-stage3-ld: configure-stage3-ld
29819 @$(MAKE) stage3-start
29820 @r=`${PWD_COMMAND}`; export r; \
29821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29822 $(STAGE_HOST_EXPORTS) \
29823 cd ld && \
29824 $(MAKE) $(FLAGS_TO_PASS) \
29825 $(POSTSTAGE1_FLAGS_TO_PASS) \
29828 maybe-clean-stage3-ld: clean-stage3-ld
29829 clean-stage3-ld:
29830 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
29831 || exit 0 ; \
29832 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
29833 cd ld && \
29834 $(MAKE) $(FLAGS_TO_PASS) \
29835 $(POSTSTAGE1_FLAGS_TO_PASS) \
29836 clean
29837 @endif ld-bootstrap
29840 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
29841 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
29842 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
29844 maybe-configure-stage3-libcpp:
29845 maybe-all-stage3-libcpp:
29846 maybe-clean-stage3-libcpp:
29848 @if libcpp-bootstrap
29849 maybe-configure-stage3-libcpp: configure-stage3-libcpp
29850 configure-stage3-libcpp:
29851 @$(MAKE) stage3-start
29852 @[ -f libcpp/Makefile ] && exit 0 || : ; \
29853 r=`${PWD_COMMAND}`; export r; \
29854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29855 $(STAGE_HOST_EXPORTS) \
29856 echo Configuring stage 3 in libcpp ; \
29857 cd libcpp || exit 1; \
29858 case $(srcdir) in \
29859 \.) \
29860 srcdiroption="--srcdir=."; \
29861 libsrcdir=".";; \
29862 /* | [A-Za-z]:[\\/]*) \
29863 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
29864 libsrcdir="$$s/libcpp";; \
29865 *) \
29866 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
29867 libsrcdir="$$s/libcpp";; \
29868 esac; \
29869 $(SHELL) $${libsrcdir}/configure \
29870 $(HOST_CONFIGARGS) $${srcdiroption} \
29871 @stage2_werror_flag@
29873 maybe-all-stage3-libcpp: all-stage3-libcpp
29874 all-stage3-libcpp: configure-stage3-libcpp
29875 @$(MAKE) stage3-start
29876 @r=`${PWD_COMMAND}`; export r; \
29877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29878 $(STAGE_HOST_EXPORTS) \
29879 cd libcpp && \
29880 $(MAKE) $(FLAGS_TO_PASS) \
29881 $(POSTSTAGE1_FLAGS_TO_PASS) \
29884 maybe-clean-stage3-libcpp: clean-stage3-libcpp
29885 clean-stage3-libcpp:
29886 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
29887 || exit 0 ; \
29888 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
29889 cd libcpp && \
29890 $(MAKE) $(FLAGS_TO_PASS) \
29891 $(POSTSTAGE1_FLAGS_TO_PASS) \
29892 clean
29893 @endif libcpp-bootstrap
29896 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
29897 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
29898 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
29900 maybe-configure-stage3-libiberty:
29901 maybe-all-stage3-libiberty:
29902 maybe-clean-stage3-libiberty:
29904 @if libiberty-bootstrap
29905 maybe-configure-stage3-libiberty: configure-stage3-libiberty
29906 configure-stage3-libiberty:
29907 @$(MAKE) stage3-start
29908 @[ -f libiberty/Makefile ] && exit 0 || : ; \
29909 r=`${PWD_COMMAND}`; export r; \
29910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29911 $(STAGE_HOST_EXPORTS) \
29912 echo Configuring stage 3 in libiberty ; \
29913 cd libiberty || exit 1; \
29914 case $(srcdir) in \
29915 \.) \
29916 srcdiroption="--srcdir=."; \
29917 libsrcdir=".";; \
29918 /* | [A-Za-z]:[\\/]*) \
29919 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
29920 libsrcdir="$$s/libiberty";; \
29921 *) \
29922 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
29923 libsrcdir="$$s/libiberty";; \
29924 esac; \
29925 $(SHELL) $${libsrcdir}/configure \
29926 $(HOST_CONFIGARGS) $${srcdiroption} \
29927 @stage2_werror_flag@
29929 maybe-all-stage3-libiberty: all-stage3-libiberty
29930 all-stage3-libiberty: configure-stage3-libiberty
29931 @$(MAKE) stage3-start
29932 @r=`${PWD_COMMAND}`; export r; \
29933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29934 $(STAGE_HOST_EXPORTS) \
29935 cd libiberty && \
29936 $(MAKE) $(FLAGS_TO_PASS) \
29937 $(POSTSTAGE1_FLAGS_TO_PASS) \
29940 maybe-clean-stage3-libiberty: clean-stage3-libiberty
29941 clean-stage3-libiberty:
29942 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
29943 || exit 0 ; \
29944 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
29945 cd libiberty && \
29946 $(MAKE) $(FLAGS_TO_PASS) \
29947 $(POSTSTAGE1_FLAGS_TO_PASS) \
29948 clean
29949 @endif libiberty-bootstrap
29952 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
29953 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
29954 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
29956 maybe-configure-stage3-zlib:
29957 maybe-all-stage3-zlib:
29958 maybe-clean-stage3-zlib:
29960 @if zlib-bootstrap
29961 maybe-configure-stage3-zlib: configure-stage3-zlib
29962 configure-stage3-zlib:
29963 @$(MAKE) stage3-start
29964 @[ -f zlib/Makefile ] && exit 0 || : ; \
29965 r=`${PWD_COMMAND}`; export r; \
29966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29967 $(STAGE_HOST_EXPORTS) \
29968 echo Configuring stage 3 in zlib ; \
29969 cd zlib || exit 1; \
29970 case $(srcdir) in \
29971 \.) \
29972 srcdiroption="--srcdir=."; \
29973 libsrcdir=".";; \
29974 /* | [A-Za-z]:[\\/]*) \
29975 srcdiroption="--srcdir=$(srcdir)/zlib"; \
29976 libsrcdir="$$s/zlib";; \
29977 *) \
29978 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
29979 libsrcdir="$$s/zlib";; \
29980 esac; \
29981 $(SHELL) $${libsrcdir}/configure \
29982 $(HOST_CONFIGARGS) $${srcdiroption} \
29983 @stage2_werror_flag@
29985 maybe-all-stage3-zlib: all-stage3-zlib
29986 all-stage3-zlib: configure-stage3-zlib
29987 @$(MAKE) stage3-start
29988 @r=`${PWD_COMMAND}`; export r; \
29989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29990 $(STAGE_HOST_EXPORTS) \
29991 cd zlib && \
29992 $(MAKE) $(FLAGS_TO_PASS) \
29993 $(POSTSTAGE1_FLAGS_TO_PASS) \
29996 maybe-clean-stage3-zlib: clean-stage3-zlib
29997 clean-stage3-zlib:
29998 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
29999 || exit 0 ; \
30000 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
30001 cd zlib && \
30002 $(MAKE) $(FLAGS_TO_PASS) \
30003 $(POSTSTAGE1_FLAGS_TO_PASS) \
30004 clean
30005 @endif zlib-bootstrap
30009 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30010 # only possibility, but now it conflicts with no-bootstrap rules
30011 @if gcc-bootstrap
30013 compare:
30014 @if test -f stage2-lean; then \
30015 echo Cannot compare object files as stage 2 was deleted. ; \
30016 exit 0 ; \
30017 fi; \
30018 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30019 @r=`${PWD_COMMAND}`; export r; \
30020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30021 rm -f .bad_compare ; \
30022 cd stage3-gcc; \
30023 files=`find . -name "*$(objext)" -print` ; \
30024 cd .. ; \
30025 for file in $${files} ; do \
30026 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
30027 @do_compare@ > /dev/null 2>&1; \
30028 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30029 done ; \
30030 if [ -f .bad_compare ]; then \
30031 echo "Bootstrap comparison failure!"; \
30032 cat .bad_compare; \
30033 exit 1; \
30034 else \
30035 true; \
30036 fi ; \
30037 $(STAMP) compare
30038 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30042 .PHONY: bootstrap
30043 bootstrap: stage3-bubble compare all
30046 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30047 distclean-stage2:: distclean-stage3
30048 .PHONY: distclean-stage3
30049 distclean-stage3::
30050 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30051 rm -rf stage3-* compare
30054 .PHONY: cleanstrap
30055 cleanstrap: distclean bootstrap
30057 @endif gcc-bootstrap
30060 .PHONY: stage4-start stage4-end
30062 stage4-start::
30063 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30064 echo stage4 > stage_current ; \
30065 echo stage4 > stage_last
30066 @if bfd
30067 @[ -d stage4-bfd ] || mkdir stage4-bfd; \
30068 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
30069 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
30070 @endif bfd
30071 @if opcodes
30072 @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
30073 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
30074 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
30075 @endif opcodes
30076 @if binutils
30077 @[ -d stage4-binutils ] || mkdir stage4-binutils; \
30078 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
30079 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
30080 @endif binutils
30081 @if gas
30082 @[ -d stage4-gas ] || mkdir stage4-gas; \
30083 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
30084 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
30085 @endif gas
30086 @if gcc
30087 @[ -d stage4-gcc ] || mkdir stage4-gcc; \
30088 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
30089 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
30090 @endif gcc
30091 @if intl
30092 @[ -d stage4-intl ] || mkdir stage4-intl; \
30093 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
30094 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
30095 @endif intl
30096 @if ld
30097 @[ -d stage4-ld ] || mkdir stage4-ld; \
30098 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
30099 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
30100 @endif ld
30101 @if libcpp
30102 @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
30103 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
30104 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
30105 @endif libcpp
30106 @if libiberty
30107 @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
30108 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
30109 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
30110 @endif libiberty
30111 @if zlib
30112 @[ -d stage4-zlib ] || mkdir stage4-zlib; \
30113 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
30114 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
30115 @endif zlib
30117 stage4-end::
30118 @rm -f stage_current
30119 @if bfd
30120 @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
30121 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
30122 @endif bfd
30123 @if opcodes
30124 @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
30125 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
30126 @endif opcodes
30127 @if binutils
30128 @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
30129 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
30130 @endif binutils
30131 @if gas
30132 @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
30133 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
30134 @endif gas
30135 @if gcc
30136 @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
30137 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
30138 @endif gcc
30139 @if intl
30140 @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
30141 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
30142 @endif intl
30143 @if ld
30144 @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
30145 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
30146 @endif ld
30147 @if libcpp
30148 @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
30149 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
30150 @endif libcpp
30151 @if libiberty
30152 @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
30153 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
30154 @endif libiberty
30155 @if zlib
30156 @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
30157 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
30158 @endif zlib
30160 # Bubble a bugfix through all the stages up to stage 4. They
30161 # are remade, but not reconfigured. The next stage (if any) will not
30162 # be reconfigured as well.
30163 .PHONY: stage4-bubble
30164 stage4-bubble:: stage3-bubble
30165 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30166 @if test -f stage4-lean || test -f stage3-lean ; then \
30167 echo Skipping rebuild of stage4 ; \
30168 else \
30169 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
30172 .PHONY: all-stage4 clean-stage4
30173 all-stage4: \
30174 maybe-all-stage4-bfd \
30175 maybe-all-stage4-opcodes \
30176 maybe-all-stage4-binutils \
30177 maybe-all-stage4-gas \
30178 maybe-all-stage4-gcc \
30179 maybe-all-stage4-intl \
30180 maybe-all-stage4-ld \
30181 maybe-all-stage4-libcpp \
30182 maybe-all-stage4-libiberty \
30183 maybe-all-stage4-zlib
30185 do-clean: clean-stage4
30186 clean-stage4: \
30187 maybe-clean-stage4-bfd \
30188 maybe-clean-stage4-opcodes \
30189 maybe-clean-stage4-binutils \
30190 maybe-clean-stage4-gas \
30191 maybe-clean-stage4-gcc \
30192 maybe-clean-stage4-intl \
30193 maybe-clean-stage4-ld \
30194 maybe-clean-stage4-libcpp \
30195 maybe-clean-stage4-libiberty \
30196 maybe-clean-stage4-zlib
30199 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
30200 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
30201 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
30203 maybe-configure-stage4-bfd:
30204 maybe-all-stage4-bfd:
30205 maybe-clean-stage4-bfd:
30207 @if bfd-bootstrap
30208 maybe-configure-stage4-bfd: configure-stage4-bfd
30209 configure-stage4-bfd:
30210 @$(MAKE) stage4-start
30211 @[ -f bfd/Makefile ] && exit 0 || : ; \
30212 r=`${PWD_COMMAND}`; export r; \
30213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30214 $(STAGE_HOST_EXPORTS) \
30215 echo Configuring stage 4 in bfd ; \
30216 cd bfd || exit 1; \
30217 case $(srcdir) in \
30218 \.) \
30219 srcdiroption="--srcdir=."; \
30220 libsrcdir=".";; \
30221 /* | [A-Za-z]:[\\/]*) \
30222 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30223 libsrcdir="$$s/bfd";; \
30224 *) \
30225 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30226 libsrcdir="$$s/bfd";; \
30227 esac; \
30228 $(SHELL) $${libsrcdir}/configure \
30229 $(HOST_CONFIGARGS) $${srcdiroption} \
30230 @stage2_werror_flag@
30232 maybe-all-stage4-bfd: all-stage4-bfd
30233 all-stage4-bfd: configure-stage4-bfd
30234 @$(MAKE) stage4-start
30235 @r=`${PWD_COMMAND}`; export r; \
30236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30237 $(STAGE_HOST_EXPORTS) \
30238 cd bfd && \
30239 $(MAKE) $(FLAGS_TO_PASS) \
30240 $(POSTSTAGE1_FLAGS_TO_PASS) \
30243 maybe-clean-stage4-bfd: clean-stage4-bfd
30244 clean-stage4-bfd:
30245 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
30246 || exit 0 ; \
30247 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
30248 cd bfd && \
30249 $(MAKE) $(FLAGS_TO_PASS) \
30250 $(POSTSTAGE1_FLAGS_TO_PASS) \
30251 clean
30252 @endif bfd-bootstrap
30255 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
30256 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
30257 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
30259 maybe-configure-stage4-opcodes:
30260 maybe-all-stage4-opcodes:
30261 maybe-clean-stage4-opcodes:
30263 @if opcodes-bootstrap
30264 maybe-configure-stage4-opcodes: configure-stage4-opcodes
30265 configure-stage4-opcodes:
30266 @$(MAKE) stage4-start
30267 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30268 r=`${PWD_COMMAND}`; export r; \
30269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30270 $(STAGE_HOST_EXPORTS) \
30271 echo Configuring stage 4 in opcodes ; \
30272 cd opcodes || exit 1; \
30273 case $(srcdir) in \
30274 \.) \
30275 srcdiroption="--srcdir=."; \
30276 libsrcdir=".";; \
30277 /* | [A-Za-z]:[\\/]*) \
30278 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30279 libsrcdir="$$s/opcodes";; \
30280 *) \
30281 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30282 libsrcdir="$$s/opcodes";; \
30283 esac; \
30284 $(SHELL) $${libsrcdir}/configure \
30285 $(HOST_CONFIGARGS) $${srcdiroption} \
30286 @stage2_werror_flag@
30288 maybe-all-stage4-opcodes: all-stage4-opcodes
30289 all-stage4-opcodes: configure-stage4-opcodes
30290 @$(MAKE) stage4-start
30291 @r=`${PWD_COMMAND}`; export r; \
30292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30293 $(STAGE_HOST_EXPORTS) \
30294 cd opcodes && \
30295 $(MAKE) $(FLAGS_TO_PASS) \
30296 $(POSTSTAGE1_FLAGS_TO_PASS) \
30299 maybe-clean-stage4-opcodes: clean-stage4-opcodes
30300 clean-stage4-opcodes:
30301 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
30302 || exit 0 ; \
30303 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
30304 cd opcodes && \
30305 $(MAKE) $(FLAGS_TO_PASS) \
30306 $(POSTSTAGE1_FLAGS_TO_PASS) \
30307 clean
30308 @endif opcodes-bootstrap
30311 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
30312 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
30313 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
30315 maybe-configure-stage4-binutils:
30316 maybe-all-stage4-binutils:
30317 maybe-clean-stage4-binutils:
30319 @if binutils-bootstrap
30320 maybe-configure-stage4-binutils: configure-stage4-binutils
30321 configure-stage4-binutils:
30322 @$(MAKE) stage4-start
30323 @[ -f binutils/Makefile ] && exit 0 || : ; \
30324 r=`${PWD_COMMAND}`; export r; \
30325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30326 $(STAGE_HOST_EXPORTS) \
30327 echo Configuring stage 4 in binutils ; \
30328 cd binutils || exit 1; \
30329 case $(srcdir) in \
30330 \.) \
30331 srcdiroption="--srcdir=."; \
30332 libsrcdir=".";; \
30333 /* | [A-Za-z]:[\\/]*) \
30334 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30335 libsrcdir="$$s/binutils";; \
30336 *) \
30337 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30338 libsrcdir="$$s/binutils";; \
30339 esac; \
30340 $(SHELL) $${libsrcdir}/configure \
30341 $(HOST_CONFIGARGS) $${srcdiroption} \
30342 @stage2_werror_flag@
30344 maybe-all-stage4-binutils: all-stage4-binutils
30345 all-stage4-binutils: configure-stage4-binutils
30346 @$(MAKE) stage4-start
30347 @r=`${PWD_COMMAND}`; export r; \
30348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30349 $(STAGE_HOST_EXPORTS) \
30350 cd binutils && \
30351 $(MAKE) $(FLAGS_TO_PASS) \
30352 $(POSTSTAGE1_FLAGS_TO_PASS) \
30355 maybe-clean-stage4-binutils: clean-stage4-binutils
30356 clean-stage4-binutils:
30357 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
30358 || exit 0 ; \
30359 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
30360 cd binutils && \
30361 $(MAKE) $(FLAGS_TO_PASS) \
30362 $(POSTSTAGE1_FLAGS_TO_PASS) \
30363 clean
30364 @endif binutils-bootstrap
30367 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
30368 .PHONY: all-stage4-gas maybe-all-stage4-gas
30369 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
30371 maybe-configure-stage4-gas:
30372 maybe-all-stage4-gas:
30373 maybe-clean-stage4-gas:
30375 @if gas-bootstrap
30376 maybe-configure-stage4-gas: configure-stage4-gas
30377 configure-stage4-gas:
30378 @$(MAKE) stage4-start
30379 @[ -f gas/Makefile ] && exit 0 || : ; \
30380 r=`${PWD_COMMAND}`; export r; \
30381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30382 $(STAGE_HOST_EXPORTS) \
30383 echo Configuring stage 4 in gas ; \
30384 cd gas || exit 1; \
30385 case $(srcdir) in \
30386 \.) \
30387 srcdiroption="--srcdir=."; \
30388 libsrcdir=".";; \
30389 /* | [A-Za-z]:[\\/]*) \
30390 srcdiroption="--srcdir=$(srcdir)/gas"; \
30391 libsrcdir="$$s/gas";; \
30392 *) \
30393 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30394 libsrcdir="$$s/gas";; \
30395 esac; \
30396 $(SHELL) $${libsrcdir}/configure \
30397 $(HOST_CONFIGARGS) $${srcdiroption} \
30398 @stage2_werror_flag@
30400 maybe-all-stage4-gas: all-stage4-gas
30401 all-stage4-gas: configure-stage4-gas
30402 @$(MAKE) stage4-start
30403 @r=`${PWD_COMMAND}`; export r; \
30404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30405 $(STAGE_HOST_EXPORTS) \
30406 cd gas && \
30407 $(MAKE) $(FLAGS_TO_PASS) \
30408 $(POSTSTAGE1_FLAGS_TO_PASS) \
30411 maybe-clean-stage4-gas: clean-stage4-gas
30412 clean-stage4-gas:
30413 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
30414 || exit 0 ; \
30415 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
30416 cd gas && \
30417 $(MAKE) $(FLAGS_TO_PASS) \
30418 $(POSTSTAGE1_FLAGS_TO_PASS) \
30419 clean
30420 @endif gas-bootstrap
30423 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
30424 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
30425 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
30427 maybe-configure-stage4-gcc:
30428 maybe-all-stage4-gcc:
30429 maybe-clean-stage4-gcc:
30431 @if gcc-bootstrap
30432 maybe-configure-stage4-gcc: configure-stage4-gcc
30433 configure-stage4-gcc:
30434 @$(MAKE) stage4-start
30435 @[ -f gcc/Makefile ] && exit 0 || : ; \
30436 r=`${PWD_COMMAND}`; export r; \
30437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30438 $(STAGE_HOST_EXPORTS) \
30439 echo Configuring stage 4 in gcc ; \
30440 cd gcc || exit 1; \
30441 case $(srcdir) in \
30442 \.) \
30443 srcdiroption="--srcdir=."; \
30444 libsrcdir=".";; \
30445 /* | [A-Za-z]:[\\/]*) \
30446 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30447 libsrcdir="$$s/gcc";; \
30448 *) \
30449 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30450 libsrcdir="$$s/gcc";; \
30451 esac; \
30452 $(SHELL) $${libsrcdir}/configure \
30453 $(HOST_CONFIGARGS) $${srcdiroption} \
30454 @stage2_werror_flag@
30456 maybe-all-stage4-gcc: all-stage4-gcc
30457 all-stage4-gcc: configure-stage4-gcc
30458 @$(MAKE) stage4-start
30459 @r=`${PWD_COMMAND}`; export r; \
30460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30461 $(STAGE_HOST_EXPORTS) \
30462 cd gcc && \
30463 $(MAKE) $(FLAGS_TO_PASS) \
30464 $(POSTSTAGE1_FLAGS_TO_PASS) \
30465 $(EXTRA_GCC_FLAGS)
30467 maybe-clean-stage4-gcc: clean-stage4-gcc
30468 clean-stage4-gcc:
30469 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
30470 || exit 0 ; \
30471 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
30472 cd gcc && \
30473 $(MAKE) $(FLAGS_TO_PASS) \
30474 $(POSTSTAGE1_FLAGS_TO_PASS) \
30475 $(EXTRA_GCC_FLAGS) clean
30476 @endif gcc-bootstrap
30479 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
30480 .PHONY: all-stage4-intl maybe-all-stage4-intl
30481 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
30483 maybe-configure-stage4-intl:
30484 maybe-all-stage4-intl:
30485 maybe-clean-stage4-intl:
30487 @if intl-bootstrap
30488 maybe-configure-stage4-intl: configure-stage4-intl
30489 configure-stage4-intl:
30490 @$(MAKE) stage4-start
30491 @[ -f intl/Makefile ] && exit 0 || : ; \
30492 r=`${PWD_COMMAND}`; export r; \
30493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30494 $(STAGE_HOST_EXPORTS) \
30495 echo Configuring stage 4 in intl ; \
30496 cd intl || exit 1; \
30497 case $(srcdir) in \
30498 \.) \
30499 srcdiroption="--srcdir=."; \
30500 libsrcdir=".";; \
30501 /* | [A-Za-z]:[\\/]*) \
30502 srcdiroption="--srcdir=$(srcdir)/intl"; \
30503 libsrcdir="$$s/intl";; \
30504 *) \
30505 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30506 libsrcdir="$$s/intl";; \
30507 esac; \
30508 $(SHELL) $${libsrcdir}/configure \
30509 $(HOST_CONFIGARGS) $${srcdiroption} \
30510 @stage2_werror_flag@
30512 maybe-all-stage4-intl: all-stage4-intl
30513 all-stage4-intl: configure-stage4-intl
30514 @$(MAKE) stage4-start
30515 @r=`${PWD_COMMAND}`; export r; \
30516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30517 $(STAGE_HOST_EXPORTS) \
30518 cd intl && \
30519 $(MAKE) $(FLAGS_TO_PASS) \
30520 $(POSTSTAGE1_FLAGS_TO_PASS) \
30523 maybe-clean-stage4-intl: clean-stage4-intl
30524 clean-stage4-intl:
30525 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
30526 || exit 0 ; \
30527 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
30528 cd intl && \
30529 $(MAKE) $(FLAGS_TO_PASS) \
30530 $(POSTSTAGE1_FLAGS_TO_PASS) \
30531 clean
30532 @endif intl-bootstrap
30535 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
30536 .PHONY: all-stage4-ld maybe-all-stage4-ld
30537 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
30539 maybe-configure-stage4-ld:
30540 maybe-all-stage4-ld:
30541 maybe-clean-stage4-ld:
30543 @if ld-bootstrap
30544 maybe-configure-stage4-ld: configure-stage4-ld
30545 configure-stage4-ld:
30546 @$(MAKE) stage4-start
30547 @[ -f ld/Makefile ] && exit 0 || : ; \
30548 r=`${PWD_COMMAND}`; export r; \
30549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30550 $(STAGE_HOST_EXPORTS) \
30551 echo Configuring stage 4 in ld ; \
30552 cd ld || exit 1; \
30553 case $(srcdir) in \
30554 \.) \
30555 srcdiroption="--srcdir=."; \
30556 libsrcdir=".";; \
30557 /* | [A-Za-z]:[\\/]*) \
30558 srcdiroption="--srcdir=$(srcdir)/ld"; \
30559 libsrcdir="$$s/ld";; \
30560 *) \
30561 srcdiroption="--srcdir=../$(srcdir)/ld"; \
30562 libsrcdir="$$s/ld";; \
30563 esac; \
30564 $(SHELL) $${libsrcdir}/configure \
30565 $(HOST_CONFIGARGS) $${srcdiroption} \
30566 @stage2_werror_flag@
30568 maybe-all-stage4-ld: all-stage4-ld
30569 all-stage4-ld: configure-stage4-ld
30570 @$(MAKE) stage4-start
30571 @r=`${PWD_COMMAND}`; export r; \
30572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30573 $(STAGE_HOST_EXPORTS) \
30574 cd ld && \
30575 $(MAKE) $(FLAGS_TO_PASS) \
30576 $(POSTSTAGE1_FLAGS_TO_PASS) \
30579 maybe-clean-stage4-ld: clean-stage4-ld
30580 clean-stage4-ld:
30581 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
30582 || exit 0 ; \
30583 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
30584 cd ld && \
30585 $(MAKE) $(FLAGS_TO_PASS) \
30586 $(POSTSTAGE1_FLAGS_TO_PASS) \
30587 clean
30588 @endif ld-bootstrap
30591 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
30592 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
30593 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
30595 maybe-configure-stage4-libcpp:
30596 maybe-all-stage4-libcpp:
30597 maybe-clean-stage4-libcpp:
30599 @if libcpp-bootstrap
30600 maybe-configure-stage4-libcpp: configure-stage4-libcpp
30601 configure-stage4-libcpp:
30602 @$(MAKE) stage4-start
30603 @[ -f libcpp/Makefile ] && exit 0 || : ; \
30604 r=`${PWD_COMMAND}`; export r; \
30605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30606 $(STAGE_HOST_EXPORTS) \
30607 echo Configuring stage 4 in libcpp ; \
30608 cd libcpp || exit 1; \
30609 case $(srcdir) in \
30610 \.) \
30611 srcdiroption="--srcdir=."; \
30612 libsrcdir=".";; \
30613 /* | [A-Za-z]:[\\/]*) \
30614 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
30615 libsrcdir="$$s/libcpp";; \
30616 *) \
30617 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
30618 libsrcdir="$$s/libcpp";; \
30619 esac; \
30620 $(SHELL) $${libsrcdir}/configure \
30621 $(HOST_CONFIGARGS) $${srcdiroption} \
30622 @stage2_werror_flag@
30624 maybe-all-stage4-libcpp: all-stage4-libcpp
30625 all-stage4-libcpp: configure-stage4-libcpp
30626 @$(MAKE) stage4-start
30627 @r=`${PWD_COMMAND}`; export r; \
30628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30629 $(STAGE_HOST_EXPORTS) \
30630 cd libcpp && \
30631 $(MAKE) $(FLAGS_TO_PASS) \
30632 $(POSTSTAGE1_FLAGS_TO_PASS) \
30635 maybe-clean-stage4-libcpp: clean-stage4-libcpp
30636 clean-stage4-libcpp:
30637 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
30638 || exit 0 ; \
30639 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
30640 cd libcpp && \
30641 $(MAKE) $(FLAGS_TO_PASS) \
30642 $(POSTSTAGE1_FLAGS_TO_PASS) \
30643 clean
30644 @endif libcpp-bootstrap
30647 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
30648 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
30649 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
30651 maybe-configure-stage4-libiberty:
30652 maybe-all-stage4-libiberty:
30653 maybe-clean-stage4-libiberty:
30655 @if libiberty-bootstrap
30656 maybe-configure-stage4-libiberty: configure-stage4-libiberty
30657 configure-stage4-libiberty:
30658 @$(MAKE) stage4-start
30659 @[ -f libiberty/Makefile ] && exit 0 || : ; \
30660 r=`${PWD_COMMAND}`; export r; \
30661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30662 $(STAGE_HOST_EXPORTS) \
30663 echo Configuring stage 4 in libiberty ; \
30664 cd libiberty || exit 1; \
30665 case $(srcdir) in \
30666 \.) \
30667 srcdiroption="--srcdir=."; \
30668 libsrcdir=".";; \
30669 /* | [A-Za-z]:[\\/]*) \
30670 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
30671 libsrcdir="$$s/libiberty";; \
30672 *) \
30673 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
30674 libsrcdir="$$s/libiberty";; \
30675 esac; \
30676 $(SHELL) $${libsrcdir}/configure \
30677 $(HOST_CONFIGARGS) $${srcdiroption} \
30678 @stage2_werror_flag@
30680 maybe-all-stage4-libiberty: all-stage4-libiberty
30681 all-stage4-libiberty: configure-stage4-libiberty
30682 @$(MAKE) stage4-start
30683 @r=`${PWD_COMMAND}`; export r; \
30684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30685 $(STAGE_HOST_EXPORTS) \
30686 cd libiberty && \
30687 $(MAKE) $(FLAGS_TO_PASS) \
30688 $(POSTSTAGE1_FLAGS_TO_PASS) \
30691 maybe-clean-stage4-libiberty: clean-stage4-libiberty
30692 clean-stage4-libiberty:
30693 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
30694 || exit 0 ; \
30695 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
30696 cd libiberty && \
30697 $(MAKE) $(FLAGS_TO_PASS) \
30698 $(POSTSTAGE1_FLAGS_TO_PASS) \
30699 clean
30700 @endif libiberty-bootstrap
30703 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
30704 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30705 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30707 maybe-configure-stage4-zlib:
30708 maybe-all-stage4-zlib:
30709 maybe-clean-stage4-zlib:
30711 @if zlib-bootstrap
30712 maybe-configure-stage4-zlib: configure-stage4-zlib
30713 configure-stage4-zlib:
30714 @$(MAKE) stage4-start
30715 @[ -f zlib/Makefile ] && exit 0 || : ; \
30716 r=`${PWD_COMMAND}`; export r; \
30717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30718 $(STAGE_HOST_EXPORTS) \
30719 echo Configuring stage 4 in zlib ; \
30720 cd zlib || exit 1; \
30721 case $(srcdir) in \
30722 \.) \
30723 srcdiroption="--srcdir=."; \
30724 libsrcdir=".";; \
30725 /* | [A-Za-z]:[\\/]*) \
30726 srcdiroption="--srcdir=$(srcdir)/zlib"; \
30727 libsrcdir="$$s/zlib";; \
30728 *) \
30729 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
30730 libsrcdir="$$s/zlib";; \
30731 esac; \
30732 $(SHELL) $${libsrcdir}/configure \
30733 $(HOST_CONFIGARGS) $${srcdiroption} \
30734 @stage2_werror_flag@
30736 maybe-all-stage4-zlib: all-stage4-zlib
30737 all-stage4-zlib: configure-stage4-zlib
30738 @$(MAKE) stage4-start
30739 @r=`${PWD_COMMAND}`; export r; \
30740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30741 $(STAGE_HOST_EXPORTS) \
30742 cd zlib && \
30743 $(MAKE) $(FLAGS_TO_PASS) \
30744 $(POSTSTAGE1_FLAGS_TO_PASS) \
30747 maybe-clean-stage4-zlib: clean-stage4-zlib
30748 clean-stage4-zlib:
30749 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
30750 || exit 0 ; \
30751 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
30752 cd zlib && \
30753 $(MAKE) $(FLAGS_TO_PASS) \
30754 $(POSTSTAGE1_FLAGS_TO_PASS) \
30755 clean
30756 @endif zlib-bootstrap
30760 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30761 # only possibility, but now it conflicts with no-bootstrap rules
30762 @if gcc-bootstrap
30764 compare3:
30765 @if test -f stage3-lean; then \
30766 echo Cannot compare object files as stage 3 was deleted. ; \
30767 exit 0 ; \
30768 fi; \
30769 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30770 @r=`${PWD_COMMAND}`; export r; \
30771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30772 rm -f .bad_compare ; \
30773 cd stage4-gcc; \
30774 files=`find . -name "*$(objext)" -print` ; \
30775 cd .. ; \
30776 for file in $${files} ; do \
30777 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
30778 @do_compare@ > /dev/null 2>&1; \
30779 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30780 done ; \
30781 if [ -f .bad_compare ]; then \
30782 echo "Bootstrap comparison failure!"; \
30783 cat .bad_compare; \
30784 exit 1; \
30785 else \
30786 true; \
30787 fi ; \
30788 $(STAMP) compare3
30789 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
30793 .PHONY: bootstrap4
30794 bootstrap4: stage4-bubble compare3 all
30797 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30798 distclean-stage3:: distclean-stage4
30799 .PHONY: distclean-stage4
30800 distclean-stage4::
30801 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30802 rm -rf stage4-* compare3
30805 @endif gcc-bootstrap
30808 .PHONY: stageprofile-start stageprofile-end
30810 stageprofile-start::
30811 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30812 echo stageprofile > stage_current ; \
30813 echo stageprofile > stage_last
30814 @if bfd
30815 @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
30816 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
30817 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
30818 @endif bfd
30819 @if opcodes
30820 @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
30821 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
30822 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
30823 @endif opcodes
30824 @if binutils
30825 @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
30826 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
30827 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
30828 @endif binutils
30829 @if gas
30830 @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
30831 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
30832 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
30833 @endif gas
30834 @if gcc
30835 @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
30836 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
30837 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
30838 @endif gcc
30839 @if intl
30840 @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
30841 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
30842 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
30843 @endif intl
30844 @if ld
30845 @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
30846 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
30847 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
30848 @endif ld
30849 @if libcpp
30850 @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
30851 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
30852 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
30853 @endif libcpp
30854 @if libiberty
30855 @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
30856 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
30857 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
30858 @endif libiberty
30859 @if zlib
30860 @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
30861 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
30862 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
30863 @endif zlib
30865 stageprofile-end::
30866 @rm -f stage_current
30867 @if bfd
30868 @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
30869 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
30870 @endif bfd
30871 @if opcodes
30872 @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
30873 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
30874 @endif opcodes
30875 @if binutils
30876 @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
30877 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
30878 @endif binutils
30879 @if gas
30880 @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
30881 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
30882 @endif gas
30883 @if gcc
30884 @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
30885 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
30886 @endif gcc
30887 @if intl
30888 @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
30889 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
30890 @endif intl
30891 @if ld
30892 @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
30893 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
30894 @endif ld
30895 @if libcpp
30896 @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
30897 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
30898 @endif libcpp
30899 @if libiberty
30900 @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
30901 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
30902 @endif libiberty
30903 @if zlib
30904 @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
30905 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
30906 @endif zlib
30908 # Bubble a bugfix through all the stages up to stage profile. They
30909 # are remade, but not reconfigured. The next stage (if any) will not
30910 # be reconfigured as well.
30911 .PHONY: stageprofile-bubble
30912 stageprofile-bubble:: stage1-bubble
30913 @if test -f stageprofile-lean || test -f stage1-lean ; then \
30914 echo Skipping rebuild of stageprofile ; \
30915 else \
30916 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
30919 .PHONY: all-stageprofile clean-stageprofile
30920 all-stageprofile: \
30921 maybe-all-stageprofile-bfd \
30922 maybe-all-stageprofile-opcodes \
30923 maybe-all-stageprofile-binutils \
30924 maybe-all-stageprofile-gas \
30925 maybe-all-stageprofile-gcc \
30926 maybe-all-stageprofile-intl \
30927 maybe-all-stageprofile-ld \
30928 maybe-all-stageprofile-libcpp \
30929 maybe-all-stageprofile-libiberty \
30930 maybe-all-stageprofile-zlib
30932 do-clean: clean-stageprofile
30933 clean-stageprofile: \
30934 maybe-clean-stageprofile-bfd \
30935 maybe-clean-stageprofile-opcodes \
30936 maybe-clean-stageprofile-binutils \
30937 maybe-clean-stageprofile-gas \
30938 maybe-clean-stageprofile-gcc \
30939 maybe-clean-stageprofile-intl \
30940 maybe-clean-stageprofile-ld \
30941 maybe-clean-stageprofile-libcpp \
30942 maybe-clean-stageprofile-libiberty \
30943 maybe-clean-stageprofile-zlib
30946 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
30947 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
30948 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
30950 maybe-configure-stageprofile-bfd:
30951 maybe-all-stageprofile-bfd:
30952 maybe-clean-stageprofile-bfd:
30954 @if bfd-bootstrap
30955 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
30956 configure-stageprofile-bfd:
30957 @$(MAKE) stageprofile-start
30958 @[ -f bfd/Makefile ] && exit 0 || : ; \
30959 r=`${PWD_COMMAND}`; export r; \
30960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30961 $(STAGE_HOST_EXPORTS) \
30962 echo Configuring stage profile in bfd ; \
30963 cd bfd || exit 1; \
30964 case $(srcdir) in \
30965 \.) \
30966 srcdiroption="--srcdir=."; \
30967 libsrcdir=".";; \
30968 /* | [A-Za-z]:[\\/]*) \
30969 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30970 libsrcdir="$$s/bfd";; \
30971 *) \
30972 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30973 libsrcdir="$$s/bfd";; \
30974 esac; \
30975 $(SHELL) $${libsrcdir}/configure \
30976 $(HOST_CONFIGARGS) $${srcdiroption} \
30977 @stage2_werror_flag@
30979 maybe-all-stageprofile-bfd: all-stageprofile-bfd
30980 all-stageprofile-bfd: configure-stageprofile-bfd
30981 @$(MAKE) stageprofile-start
30982 @r=`${PWD_COMMAND}`; export r; \
30983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30984 $(STAGE_HOST_EXPORTS) \
30985 cd bfd && \
30986 $(MAKE) $(FLAGS_TO_PASS) \
30987 $(POSTSTAGE1_FLAGS_TO_PASS) \
30988 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
30990 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
30991 clean-stageprofile-bfd:
30992 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
30993 || exit 0 ; \
30994 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
30995 cd bfd && \
30996 $(MAKE) $(FLAGS_TO_PASS) \
30997 $(POSTSTAGE1_FLAGS_TO_PASS) \
30998 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
30999 @endif bfd-bootstrap
31002 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
31003 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
31004 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
31006 maybe-configure-stageprofile-opcodes:
31007 maybe-all-stageprofile-opcodes:
31008 maybe-clean-stageprofile-opcodes:
31010 @if opcodes-bootstrap
31011 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
31012 configure-stageprofile-opcodes:
31013 @$(MAKE) stageprofile-start
31014 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31015 r=`${PWD_COMMAND}`; export r; \
31016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31017 $(STAGE_HOST_EXPORTS) \
31018 echo Configuring stage profile in opcodes ; \
31019 cd opcodes || exit 1; \
31020 case $(srcdir) in \
31021 \.) \
31022 srcdiroption="--srcdir=."; \
31023 libsrcdir=".";; \
31024 /* | [A-Za-z]:[\\/]*) \
31025 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31026 libsrcdir="$$s/opcodes";; \
31027 *) \
31028 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31029 libsrcdir="$$s/opcodes";; \
31030 esac; \
31031 $(SHELL) $${libsrcdir}/configure \
31032 $(HOST_CONFIGARGS) $${srcdiroption} \
31033 @stage2_werror_flag@
31035 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
31036 all-stageprofile-opcodes: configure-stageprofile-opcodes
31037 @$(MAKE) stageprofile-start
31038 @r=`${PWD_COMMAND}`; export r; \
31039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31040 $(STAGE_HOST_EXPORTS) \
31041 cd opcodes && \
31042 $(MAKE) $(FLAGS_TO_PASS) \
31043 $(POSTSTAGE1_FLAGS_TO_PASS) \
31044 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31046 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
31047 clean-stageprofile-opcodes:
31048 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
31049 || exit 0 ; \
31050 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
31051 cd opcodes && \
31052 $(MAKE) $(FLAGS_TO_PASS) \
31053 $(POSTSTAGE1_FLAGS_TO_PASS) \
31054 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31055 @endif opcodes-bootstrap
31058 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
31059 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
31060 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
31062 maybe-configure-stageprofile-binutils:
31063 maybe-all-stageprofile-binutils:
31064 maybe-clean-stageprofile-binutils:
31066 @if binutils-bootstrap
31067 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
31068 configure-stageprofile-binutils:
31069 @$(MAKE) stageprofile-start
31070 @[ -f binutils/Makefile ] && exit 0 || : ; \
31071 r=`${PWD_COMMAND}`; export r; \
31072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31073 $(STAGE_HOST_EXPORTS) \
31074 echo Configuring stage profile in binutils ; \
31075 cd binutils || exit 1; \
31076 case $(srcdir) in \
31077 \.) \
31078 srcdiroption="--srcdir=."; \
31079 libsrcdir=".";; \
31080 /* | [A-Za-z]:[\\/]*) \
31081 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31082 libsrcdir="$$s/binutils";; \
31083 *) \
31084 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31085 libsrcdir="$$s/binutils";; \
31086 esac; \
31087 $(SHELL) $${libsrcdir}/configure \
31088 $(HOST_CONFIGARGS) $${srcdiroption} \
31089 @stage2_werror_flag@
31091 maybe-all-stageprofile-binutils: all-stageprofile-binutils
31092 all-stageprofile-binutils: configure-stageprofile-binutils
31093 @$(MAKE) stageprofile-start
31094 @r=`${PWD_COMMAND}`; export r; \
31095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31096 $(STAGE_HOST_EXPORTS) \
31097 cd binutils && \
31098 $(MAKE) $(FLAGS_TO_PASS) \
31099 $(POSTSTAGE1_FLAGS_TO_PASS) \
31100 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31102 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
31103 clean-stageprofile-binutils:
31104 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
31105 || exit 0 ; \
31106 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
31107 cd binutils && \
31108 $(MAKE) $(FLAGS_TO_PASS) \
31109 $(POSTSTAGE1_FLAGS_TO_PASS) \
31110 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31111 @endif binutils-bootstrap
31114 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
31115 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
31116 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
31118 maybe-configure-stageprofile-gas:
31119 maybe-all-stageprofile-gas:
31120 maybe-clean-stageprofile-gas:
31122 @if gas-bootstrap
31123 maybe-configure-stageprofile-gas: configure-stageprofile-gas
31124 configure-stageprofile-gas:
31125 @$(MAKE) stageprofile-start
31126 @[ -f gas/Makefile ] && exit 0 || : ; \
31127 r=`${PWD_COMMAND}`; export r; \
31128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31129 $(STAGE_HOST_EXPORTS) \
31130 echo Configuring stage profile in gas ; \
31131 cd gas || exit 1; \
31132 case $(srcdir) in \
31133 \.) \
31134 srcdiroption="--srcdir=."; \
31135 libsrcdir=".";; \
31136 /* | [A-Za-z]:[\\/]*) \
31137 srcdiroption="--srcdir=$(srcdir)/gas"; \
31138 libsrcdir="$$s/gas";; \
31139 *) \
31140 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31141 libsrcdir="$$s/gas";; \
31142 esac; \
31143 $(SHELL) $${libsrcdir}/configure \
31144 $(HOST_CONFIGARGS) $${srcdiroption} \
31145 @stage2_werror_flag@
31147 maybe-all-stageprofile-gas: all-stageprofile-gas
31148 all-stageprofile-gas: configure-stageprofile-gas
31149 @$(MAKE) stageprofile-start
31150 @r=`${PWD_COMMAND}`; export r; \
31151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31152 $(STAGE_HOST_EXPORTS) \
31153 cd gas && \
31154 $(MAKE) $(FLAGS_TO_PASS) \
31155 $(POSTSTAGE1_FLAGS_TO_PASS) \
31156 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31158 maybe-clean-stageprofile-gas: clean-stageprofile-gas
31159 clean-stageprofile-gas:
31160 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
31161 || exit 0 ; \
31162 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
31163 cd gas && \
31164 $(MAKE) $(FLAGS_TO_PASS) \
31165 $(POSTSTAGE1_FLAGS_TO_PASS) \
31166 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31167 @endif gas-bootstrap
31170 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
31171 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
31172 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
31174 maybe-configure-stageprofile-gcc:
31175 maybe-all-stageprofile-gcc:
31176 maybe-clean-stageprofile-gcc:
31178 @if gcc-bootstrap
31179 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
31180 configure-stageprofile-gcc:
31181 @$(MAKE) stageprofile-start
31182 @[ -f gcc/Makefile ] && exit 0 || : ; \
31183 r=`${PWD_COMMAND}`; export r; \
31184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31185 $(STAGE_HOST_EXPORTS) \
31186 echo Configuring stage profile in gcc ; \
31187 cd gcc || exit 1; \
31188 case $(srcdir) in \
31189 \.) \
31190 srcdiroption="--srcdir=."; \
31191 libsrcdir=".";; \
31192 /* | [A-Za-z]:[\\/]*) \
31193 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31194 libsrcdir="$$s/gcc";; \
31195 *) \
31196 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31197 libsrcdir="$$s/gcc";; \
31198 esac; \
31199 $(SHELL) $${libsrcdir}/configure \
31200 $(HOST_CONFIGARGS) $${srcdiroption} \
31201 @stage2_werror_flag@
31203 maybe-all-stageprofile-gcc: all-stageprofile-gcc
31204 all-stageprofile-gcc: configure-stageprofile-gcc
31205 @$(MAKE) stageprofile-start
31206 @r=`${PWD_COMMAND}`; export r; \
31207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31208 $(STAGE_HOST_EXPORTS) \
31209 cd gcc && \
31210 $(MAKE) $(FLAGS_TO_PASS) \
31211 $(POSTSTAGE1_FLAGS_TO_PASS) \
31212 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
31214 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
31215 clean-stageprofile-gcc:
31216 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
31217 || exit 0 ; \
31218 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
31219 cd gcc && \
31220 $(MAKE) $(FLAGS_TO_PASS) \
31221 $(POSTSTAGE1_FLAGS_TO_PASS) \
31222 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
31223 @endif gcc-bootstrap
31226 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
31227 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
31228 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
31230 maybe-configure-stageprofile-intl:
31231 maybe-all-stageprofile-intl:
31232 maybe-clean-stageprofile-intl:
31234 @if intl-bootstrap
31235 maybe-configure-stageprofile-intl: configure-stageprofile-intl
31236 configure-stageprofile-intl:
31237 @$(MAKE) stageprofile-start
31238 @[ -f intl/Makefile ] && exit 0 || : ; \
31239 r=`${PWD_COMMAND}`; export r; \
31240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31241 $(STAGE_HOST_EXPORTS) \
31242 echo Configuring stage profile in intl ; \
31243 cd intl || exit 1; \
31244 case $(srcdir) in \
31245 \.) \
31246 srcdiroption="--srcdir=."; \
31247 libsrcdir=".";; \
31248 /* | [A-Za-z]:[\\/]*) \
31249 srcdiroption="--srcdir=$(srcdir)/intl"; \
31250 libsrcdir="$$s/intl";; \
31251 *) \
31252 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31253 libsrcdir="$$s/intl";; \
31254 esac; \
31255 $(SHELL) $${libsrcdir}/configure \
31256 $(HOST_CONFIGARGS) $${srcdiroption} \
31257 @stage2_werror_flag@
31259 maybe-all-stageprofile-intl: all-stageprofile-intl
31260 all-stageprofile-intl: configure-stageprofile-intl
31261 @$(MAKE) stageprofile-start
31262 @r=`${PWD_COMMAND}`; export r; \
31263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31264 $(STAGE_HOST_EXPORTS) \
31265 cd intl && \
31266 $(MAKE) $(FLAGS_TO_PASS) \
31267 $(POSTSTAGE1_FLAGS_TO_PASS) \
31268 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31270 maybe-clean-stageprofile-intl: clean-stageprofile-intl
31271 clean-stageprofile-intl:
31272 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
31273 || exit 0 ; \
31274 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
31275 cd intl && \
31276 $(MAKE) $(FLAGS_TO_PASS) \
31277 $(POSTSTAGE1_FLAGS_TO_PASS) \
31278 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31279 @endif intl-bootstrap
31282 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
31283 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
31284 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
31286 maybe-configure-stageprofile-ld:
31287 maybe-all-stageprofile-ld:
31288 maybe-clean-stageprofile-ld:
31290 @if ld-bootstrap
31291 maybe-configure-stageprofile-ld: configure-stageprofile-ld
31292 configure-stageprofile-ld:
31293 @$(MAKE) stageprofile-start
31294 @[ -f ld/Makefile ] && exit 0 || : ; \
31295 r=`${PWD_COMMAND}`; export r; \
31296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31297 $(STAGE_HOST_EXPORTS) \
31298 echo Configuring stage profile in ld ; \
31299 cd ld || exit 1; \
31300 case $(srcdir) in \
31301 \.) \
31302 srcdiroption="--srcdir=."; \
31303 libsrcdir=".";; \
31304 /* | [A-Za-z]:[\\/]*) \
31305 srcdiroption="--srcdir=$(srcdir)/ld"; \
31306 libsrcdir="$$s/ld";; \
31307 *) \
31308 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31309 libsrcdir="$$s/ld";; \
31310 esac; \
31311 $(SHELL) $${libsrcdir}/configure \
31312 $(HOST_CONFIGARGS) $${srcdiroption} \
31313 @stage2_werror_flag@
31315 maybe-all-stageprofile-ld: all-stageprofile-ld
31316 all-stageprofile-ld: configure-stageprofile-ld
31317 @$(MAKE) stageprofile-start
31318 @r=`${PWD_COMMAND}`; export r; \
31319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31320 $(STAGE_HOST_EXPORTS) \
31321 cd ld && \
31322 $(MAKE) $(FLAGS_TO_PASS) \
31323 $(POSTSTAGE1_FLAGS_TO_PASS) \
31324 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31326 maybe-clean-stageprofile-ld: clean-stageprofile-ld
31327 clean-stageprofile-ld:
31328 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
31329 || exit 0 ; \
31330 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
31331 cd ld && \
31332 $(MAKE) $(FLAGS_TO_PASS) \
31333 $(POSTSTAGE1_FLAGS_TO_PASS) \
31334 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31335 @endif ld-bootstrap
31338 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
31339 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
31340 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
31342 maybe-configure-stageprofile-libcpp:
31343 maybe-all-stageprofile-libcpp:
31344 maybe-clean-stageprofile-libcpp:
31346 @if libcpp-bootstrap
31347 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
31348 configure-stageprofile-libcpp:
31349 @$(MAKE) stageprofile-start
31350 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31351 r=`${PWD_COMMAND}`; export r; \
31352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31353 $(STAGE_HOST_EXPORTS) \
31354 echo Configuring stage profile in libcpp ; \
31355 cd libcpp || exit 1; \
31356 case $(srcdir) in \
31357 \.) \
31358 srcdiroption="--srcdir=."; \
31359 libsrcdir=".";; \
31360 /* | [A-Za-z]:[\\/]*) \
31361 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31362 libsrcdir="$$s/libcpp";; \
31363 *) \
31364 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31365 libsrcdir="$$s/libcpp";; \
31366 esac; \
31367 $(SHELL) $${libsrcdir}/configure \
31368 $(HOST_CONFIGARGS) $${srcdiroption} \
31369 @stage2_werror_flag@
31371 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
31372 all-stageprofile-libcpp: configure-stageprofile-libcpp
31373 @$(MAKE) stageprofile-start
31374 @r=`${PWD_COMMAND}`; export r; \
31375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31376 $(STAGE_HOST_EXPORTS) \
31377 cd libcpp && \
31378 $(MAKE) $(FLAGS_TO_PASS) \
31379 $(POSTSTAGE1_FLAGS_TO_PASS) \
31380 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31382 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
31383 clean-stageprofile-libcpp:
31384 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
31385 || exit 0 ; \
31386 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
31387 cd libcpp && \
31388 $(MAKE) $(FLAGS_TO_PASS) \
31389 $(POSTSTAGE1_FLAGS_TO_PASS) \
31390 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31391 @endif libcpp-bootstrap
31394 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
31395 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
31396 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
31398 maybe-configure-stageprofile-libiberty:
31399 maybe-all-stageprofile-libiberty:
31400 maybe-clean-stageprofile-libiberty:
31402 @if libiberty-bootstrap
31403 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
31404 configure-stageprofile-libiberty:
31405 @$(MAKE) stageprofile-start
31406 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31407 r=`${PWD_COMMAND}`; export r; \
31408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31409 $(STAGE_HOST_EXPORTS) \
31410 echo Configuring stage profile in libiberty ; \
31411 cd libiberty || exit 1; \
31412 case $(srcdir) in \
31413 \.) \
31414 srcdiroption="--srcdir=."; \
31415 libsrcdir=".";; \
31416 /* | [A-Za-z]:[\\/]*) \
31417 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31418 libsrcdir="$$s/libiberty";; \
31419 *) \
31420 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31421 libsrcdir="$$s/libiberty";; \
31422 esac; \
31423 $(SHELL) $${libsrcdir}/configure \
31424 $(HOST_CONFIGARGS) $${srcdiroption} \
31425 @stage2_werror_flag@
31427 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
31428 all-stageprofile-libiberty: configure-stageprofile-libiberty
31429 @$(MAKE) stageprofile-start
31430 @r=`${PWD_COMMAND}`; export r; \
31431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31432 $(STAGE_HOST_EXPORTS) \
31433 cd libiberty && \
31434 $(MAKE) $(FLAGS_TO_PASS) \
31435 $(POSTSTAGE1_FLAGS_TO_PASS) \
31436 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31438 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
31439 clean-stageprofile-libiberty:
31440 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
31441 || exit 0 ; \
31442 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
31443 cd libiberty && \
31444 $(MAKE) $(FLAGS_TO_PASS) \
31445 $(POSTSTAGE1_FLAGS_TO_PASS) \
31446 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31447 @endif libiberty-bootstrap
31450 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
31451 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
31452 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
31454 maybe-configure-stageprofile-zlib:
31455 maybe-all-stageprofile-zlib:
31456 maybe-clean-stageprofile-zlib:
31458 @if zlib-bootstrap
31459 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31460 configure-stageprofile-zlib:
31461 @$(MAKE) stageprofile-start
31462 @[ -f zlib/Makefile ] && exit 0 || : ; \
31463 r=`${PWD_COMMAND}`; export r; \
31464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31465 $(STAGE_HOST_EXPORTS) \
31466 echo Configuring stage profile in zlib ; \
31467 cd zlib || exit 1; \
31468 case $(srcdir) in \
31469 \.) \
31470 srcdiroption="--srcdir=."; \
31471 libsrcdir=".";; \
31472 /* | [A-Za-z]:[\\/]*) \
31473 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31474 libsrcdir="$$s/zlib";; \
31475 *) \
31476 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31477 libsrcdir="$$s/zlib";; \
31478 esac; \
31479 $(SHELL) $${libsrcdir}/configure \
31480 $(HOST_CONFIGARGS) $${srcdiroption} \
31481 @stage2_werror_flag@
31483 maybe-all-stageprofile-zlib: all-stageprofile-zlib
31484 all-stageprofile-zlib: configure-stageprofile-zlib
31485 @$(MAKE) stageprofile-start
31486 @r=`${PWD_COMMAND}`; export r; \
31487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31488 $(STAGE_HOST_EXPORTS) \
31489 cd zlib && \
31490 $(MAKE) $(FLAGS_TO_PASS) \
31491 $(POSTSTAGE1_FLAGS_TO_PASS) \
31492 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31494 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
31495 clean-stageprofile-zlib:
31496 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
31497 || exit 0 ; \
31498 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
31499 cd zlib && \
31500 $(MAKE) $(FLAGS_TO_PASS) \
31501 $(POSTSTAGE1_FLAGS_TO_PASS) \
31502 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31503 @endif zlib-bootstrap
31507 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31508 # only possibility, but now it conflicts with no-bootstrap rules
31509 @if gcc-bootstrap
31514 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31515 distclean-stage1:: distclean-stageprofile
31516 .PHONY: distclean-stageprofile
31517 distclean-stageprofile::
31518 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31519 rm -rf stageprofile-*
31522 @endif gcc-bootstrap
31525 .PHONY: stagefeedback-start stagefeedback-end
31527 stagefeedback-start::
31528 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31529 echo stagefeedback > stage_current ; \
31530 echo stagefeedback > stage_last
31531 @if bfd
31532 @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
31533 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31534 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31535 @endif bfd
31536 @if opcodes
31537 @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
31538 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31539 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31540 @endif opcodes
31541 @if binutils
31542 @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
31543 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31544 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31545 @endif binutils
31546 @if gas
31547 @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
31548 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31549 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31550 @endif gas
31551 @if gcc
31552 @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
31553 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31554 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31555 @endif gcc
31556 @if intl
31557 @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
31558 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31559 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31560 @endif intl
31561 @if ld
31562 @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
31563 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31564 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31565 @endif ld
31566 @if libcpp
31567 @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
31568 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31569 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31570 @endif libcpp
31571 @if libiberty
31572 @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
31573 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31574 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31575 @endif libiberty
31576 @if zlib
31577 @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
31578 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31579 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31580 @endif zlib
31582 stagefeedback-end::
31583 @rm -f stage_current
31584 @if bfd
31585 @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
31586 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31587 @endif bfd
31588 @if opcodes
31589 @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31590 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31591 @endif opcodes
31592 @if binutils
31593 @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
31594 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31595 @endif binutils
31596 @if gas
31597 @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
31598 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31599 @endif gas
31600 @if gcc
31601 @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
31602 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31603 @endif gcc
31604 @if intl
31605 @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
31606 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31607 @endif intl
31608 @if ld
31609 @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
31610 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31611 @endif ld
31612 @if libcpp
31613 @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31614 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31615 @endif libcpp
31616 @if libiberty
31617 @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31618 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31619 @endif libiberty
31620 @if zlib
31621 @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
31622 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31623 @endif zlib
31625 # Bubble a bugfix through all the stages up to stage feedback. They
31626 # are remade, but not reconfigured. The next stage (if any) will not
31627 # be reconfigured as well.
31628 .PHONY: stagefeedback-bubble
31629 stagefeedback-bubble:: stage1-bubble
31630 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
31631 echo Skipping rebuild of stagefeedback ; \
31632 else \
31633 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
31636 .PHONY: all-stagefeedback clean-stagefeedback
31637 all-stagefeedback: \
31638 maybe-all-stagefeedback-bfd \
31639 maybe-all-stagefeedback-opcodes \
31640 maybe-all-stagefeedback-binutils \
31641 maybe-all-stagefeedback-gas \
31642 maybe-all-stagefeedback-gcc \
31643 maybe-all-stagefeedback-intl \
31644 maybe-all-stagefeedback-ld \
31645 maybe-all-stagefeedback-libcpp \
31646 maybe-all-stagefeedback-libiberty \
31647 maybe-all-stagefeedback-zlib
31649 do-clean: clean-stagefeedback
31650 clean-stagefeedback: \
31651 maybe-clean-stagefeedback-bfd \
31652 maybe-clean-stagefeedback-opcodes \
31653 maybe-clean-stagefeedback-binutils \
31654 maybe-clean-stagefeedback-gas \
31655 maybe-clean-stagefeedback-gcc \
31656 maybe-clean-stagefeedback-intl \
31657 maybe-clean-stagefeedback-ld \
31658 maybe-clean-stagefeedback-libcpp \
31659 maybe-clean-stagefeedback-libiberty \
31660 maybe-clean-stagefeedback-zlib
31663 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
31664 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
31665 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
31667 maybe-configure-stagefeedback-bfd:
31668 maybe-all-stagefeedback-bfd:
31669 maybe-clean-stagefeedback-bfd:
31671 @if bfd-bootstrap
31672 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
31673 configure-stagefeedback-bfd:
31674 @$(MAKE) stagefeedback-start
31675 @[ -f bfd/Makefile ] && exit 0 || : ; \
31676 r=`${PWD_COMMAND}`; export r; \
31677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31678 $(STAGE_HOST_EXPORTS) \
31679 echo Configuring stage feedback in bfd ; \
31680 cd bfd || exit 1; \
31681 case $(srcdir) in \
31682 \.) \
31683 srcdiroption="--srcdir=."; \
31684 libsrcdir=".";; \
31685 /* | [A-Za-z]:[\\/]*) \
31686 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31687 libsrcdir="$$s/bfd";; \
31688 *) \
31689 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31690 libsrcdir="$$s/bfd";; \
31691 esac; \
31692 $(SHELL) $${libsrcdir}/configure \
31693 $(HOST_CONFIGARGS) $${srcdiroption} \
31694 @stage2_werror_flag@
31696 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
31697 all-stagefeedback-bfd: configure-stagefeedback-bfd
31698 @$(MAKE) stagefeedback-start
31699 @r=`${PWD_COMMAND}`; export r; \
31700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31701 $(STAGE_HOST_EXPORTS) \
31702 cd bfd && \
31703 $(MAKE) $(FLAGS_TO_PASS) \
31704 $(POSTSTAGE1_FLAGS_TO_PASS) \
31705 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
31707 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
31708 clean-stagefeedback-bfd:
31709 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
31710 || exit 0 ; \
31711 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
31712 cd bfd && \
31713 $(MAKE) $(FLAGS_TO_PASS) \
31714 $(POSTSTAGE1_FLAGS_TO_PASS) \
31715 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
31716 @endif bfd-bootstrap
31719 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
31720 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
31721 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
31723 maybe-configure-stagefeedback-opcodes:
31724 maybe-all-stagefeedback-opcodes:
31725 maybe-clean-stagefeedback-opcodes:
31727 @if opcodes-bootstrap
31728 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
31729 configure-stagefeedback-opcodes:
31730 @$(MAKE) stagefeedback-start
31731 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31732 r=`${PWD_COMMAND}`; export r; \
31733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31734 $(STAGE_HOST_EXPORTS) \
31735 echo Configuring stage feedback in opcodes ; \
31736 cd opcodes || exit 1; \
31737 case $(srcdir) in \
31738 \.) \
31739 srcdiroption="--srcdir=."; \
31740 libsrcdir=".";; \
31741 /* | [A-Za-z]:[\\/]*) \
31742 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31743 libsrcdir="$$s/opcodes";; \
31744 *) \
31745 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31746 libsrcdir="$$s/opcodes";; \
31747 esac; \
31748 $(SHELL) $${libsrcdir}/configure \
31749 $(HOST_CONFIGARGS) $${srcdiroption} \
31750 @stage2_werror_flag@
31752 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
31753 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
31754 @$(MAKE) stagefeedback-start
31755 @r=`${PWD_COMMAND}`; export r; \
31756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31757 $(STAGE_HOST_EXPORTS) \
31758 cd opcodes && \
31759 $(MAKE) $(FLAGS_TO_PASS) \
31760 $(POSTSTAGE1_FLAGS_TO_PASS) \
31761 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
31763 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
31764 clean-stagefeedback-opcodes:
31765 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
31766 || exit 0 ; \
31767 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
31768 cd opcodes && \
31769 $(MAKE) $(FLAGS_TO_PASS) \
31770 $(POSTSTAGE1_FLAGS_TO_PASS) \
31771 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
31772 @endif opcodes-bootstrap
31775 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
31776 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
31777 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
31779 maybe-configure-stagefeedback-binutils:
31780 maybe-all-stagefeedback-binutils:
31781 maybe-clean-stagefeedback-binutils:
31783 @if binutils-bootstrap
31784 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
31785 configure-stagefeedback-binutils:
31786 @$(MAKE) stagefeedback-start
31787 @[ -f binutils/Makefile ] && exit 0 || : ; \
31788 r=`${PWD_COMMAND}`; export r; \
31789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31790 $(STAGE_HOST_EXPORTS) \
31791 echo Configuring stage feedback in binutils ; \
31792 cd binutils || exit 1; \
31793 case $(srcdir) in \
31794 \.) \
31795 srcdiroption="--srcdir=."; \
31796 libsrcdir=".";; \
31797 /* | [A-Za-z]:[\\/]*) \
31798 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31799 libsrcdir="$$s/binutils";; \
31800 *) \
31801 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31802 libsrcdir="$$s/binutils";; \
31803 esac; \
31804 $(SHELL) $${libsrcdir}/configure \
31805 $(HOST_CONFIGARGS) $${srcdiroption} \
31806 @stage2_werror_flag@
31808 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
31809 all-stagefeedback-binutils: configure-stagefeedback-binutils
31810 @$(MAKE) stagefeedback-start
31811 @r=`${PWD_COMMAND}`; export r; \
31812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31813 $(STAGE_HOST_EXPORTS) \
31814 cd binutils && \
31815 $(MAKE) $(FLAGS_TO_PASS) \
31816 $(POSTSTAGE1_FLAGS_TO_PASS) \
31817 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
31819 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
31820 clean-stagefeedback-binutils:
31821 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
31822 || exit 0 ; \
31823 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
31824 cd binutils && \
31825 $(MAKE) $(FLAGS_TO_PASS) \
31826 $(POSTSTAGE1_FLAGS_TO_PASS) \
31827 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
31828 @endif binutils-bootstrap
31831 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
31832 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
31833 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
31835 maybe-configure-stagefeedback-gas:
31836 maybe-all-stagefeedback-gas:
31837 maybe-clean-stagefeedback-gas:
31839 @if gas-bootstrap
31840 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
31841 configure-stagefeedback-gas:
31842 @$(MAKE) stagefeedback-start
31843 @[ -f gas/Makefile ] && exit 0 || : ; \
31844 r=`${PWD_COMMAND}`; export r; \
31845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31846 $(STAGE_HOST_EXPORTS) \
31847 echo Configuring stage feedback in gas ; \
31848 cd gas || exit 1; \
31849 case $(srcdir) in \
31850 \.) \
31851 srcdiroption="--srcdir=."; \
31852 libsrcdir=".";; \
31853 /* | [A-Za-z]:[\\/]*) \
31854 srcdiroption="--srcdir=$(srcdir)/gas"; \
31855 libsrcdir="$$s/gas";; \
31856 *) \
31857 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31858 libsrcdir="$$s/gas";; \
31859 esac; \
31860 $(SHELL) $${libsrcdir}/configure \
31861 $(HOST_CONFIGARGS) $${srcdiroption} \
31862 @stage2_werror_flag@
31864 maybe-all-stagefeedback-gas: all-stagefeedback-gas
31865 all-stagefeedback-gas: configure-stagefeedback-gas
31866 @$(MAKE) stagefeedback-start
31867 @r=`${PWD_COMMAND}`; export r; \
31868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31869 $(STAGE_HOST_EXPORTS) \
31870 cd gas && \
31871 $(MAKE) $(FLAGS_TO_PASS) \
31872 $(POSTSTAGE1_FLAGS_TO_PASS) \
31873 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
31875 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
31876 clean-stagefeedback-gas:
31877 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
31878 || exit 0 ; \
31879 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
31880 cd gas && \
31881 $(MAKE) $(FLAGS_TO_PASS) \
31882 $(POSTSTAGE1_FLAGS_TO_PASS) \
31883 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
31884 @endif gas-bootstrap
31887 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
31888 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
31889 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
31891 maybe-configure-stagefeedback-gcc:
31892 maybe-all-stagefeedback-gcc:
31893 maybe-clean-stagefeedback-gcc:
31895 @if gcc-bootstrap
31896 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
31897 configure-stagefeedback-gcc:
31898 @$(MAKE) stagefeedback-start
31899 @[ -f gcc/Makefile ] && exit 0 || : ; \
31900 r=`${PWD_COMMAND}`; export r; \
31901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31902 $(STAGE_HOST_EXPORTS) \
31903 echo Configuring stage feedback in gcc ; \
31904 cd gcc || exit 1; \
31905 case $(srcdir) in \
31906 \.) \
31907 srcdiroption="--srcdir=."; \
31908 libsrcdir=".";; \
31909 /* | [A-Za-z]:[\\/]*) \
31910 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31911 libsrcdir="$$s/gcc";; \
31912 *) \
31913 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31914 libsrcdir="$$s/gcc";; \
31915 esac; \
31916 $(SHELL) $${libsrcdir}/configure \
31917 $(HOST_CONFIGARGS) $${srcdiroption} \
31918 @stage2_werror_flag@
31920 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
31921 all-stagefeedback-gcc: configure-stagefeedback-gcc
31922 @$(MAKE) stagefeedback-start
31923 @r=`${PWD_COMMAND}`; export r; \
31924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31925 $(STAGE_HOST_EXPORTS) \
31926 cd gcc && \
31927 $(MAKE) $(FLAGS_TO_PASS) \
31928 $(POSTSTAGE1_FLAGS_TO_PASS) \
31929 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
31931 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
31932 clean-stagefeedback-gcc:
31933 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
31934 || exit 0 ; \
31935 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
31936 cd gcc && \
31937 $(MAKE) $(FLAGS_TO_PASS) \
31938 $(POSTSTAGE1_FLAGS_TO_PASS) \
31939 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
31940 @endif gcc-bootstrap
31943 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
31944 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
31945 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
31947 maybe-configure-stagefeedback-intl:
31948 maybe-all-stagefeedback-intl:
31949 maybe-clean-stagefeedback-intl:
31951 @if intl-bootstrap
31952 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
31953 configure-stagefeedback-intl:
31954 @$(MAKE) stagefeedback-start
31955 @[ -f intl/Makefile ] && exit 0 || : ; \
31956 r=`${PWD_COMMAND}`; export r; \
31957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31958 $(STAGE_HOST_EXPORTS) \
31959 echo Configuring stage feedback in intl ; \
31960 cd intl || exit 1; \
31961 case $(srcdir) in \
31962 \.) \
31963 srcdiroption="--srcdir=."; \
31964 libsrcdir=".";; \
31965 /* | [A-Za-z]:[\\/]*) \
31966 srcdiroption="--srcdir=$(srcdir)/intl"; \
31967 libsrcdir="$$s/intl";; \
31968 *) \
31969 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31970 libsrcdir="$$s/intl";; \
31971 esac; \
31972 $(SHELL) $${libsrcdir}/configure \
31973 $(HOST_CONFIGARGS) $${srcdiroption} \
31974 @stage2_werror_flag@
31976 maybe-all-stagefeedback-intl: all-stagefeedback-intl
31977 all-stagefeedback-intl: configure-stagefeedback-intl
31978 @$(MAKE) stagefeedback-start
31979 @r=`${PWD_COMMAND}`; export r; \
31980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31981 $(STAGE_HOST_EXPORTS) \
31982 cd intl && \
31983 $(MAKE) $(FLAGS_TO_PASS) \
31984 $(POSTSTAGE1_FLAGS_TO_PASS) \
31985 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
31987 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
31988 clean-stagefeedback-intl:
31989 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
31990 || exit 0 ; \
31991 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
31992 cd intl && \
31993 $(MAKE) $(FLAGS_TO_PASS) \
31994 $(POSTSTAGE1_FLAGS_TO_PASS) \
31995 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
31996 @endif intl-bootstrap
31999 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
32000 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
32001 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
32003 maybe-configure-stagefeedback-ld:
32004 maybe-all-stagefeedback-ld:
32005 maybe-clean-stagefeedback-ld:
32007 @if ld-bootstrap
32008 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
32009 configure-stagefeedback-ld:
32010 @$(MAKE) stagefeedback-start
32011 @[ -f ld/Makefile ] && exit 0 || : ; \
32012 r=`${PWD_COMMAND}`; export r; \
32013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32014 $(STAGE_HOST_EXPORTS) \
32015 echo Configuring stage feedback in ld ; \
32016 cd ld || exit 1; \
32017 case $(srcdir) in \
32018 \.) \
32019 srcdiroption="--srcdir=."; \
32020 libsrcdir=".";; \
32021 /* | [A-Za-z]:[\\/]*) \
32022 srcdiroption="--srcdir=$(srcdir)/ld"; \
32023 libsrcdir="$$s/ld";; \
32024 *) \
32025 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32026 libsrcdir="$$s/ld";; \
32027 esac; \
32028 $(SHELL) $${libsrcdir}/configure \
32029 $(HOST_CONFIGARGS) $${srcdiroption} \
32030 @stage2_werror_flag@
32032 maybe-all-stagefeedback-ld: all-stagefeedback-ld
32033 all-stagefeedback-ld: configure-stagefeedback-ld
32034 @$(MAKE) stagefeedback-start
32035 @r=`${PWD_COMMAND}`; export r; \
32036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32037 $(STAGE_HOST_EXPORTS) \
32038 cd ld && \
32039 $(MAKE) $(FLAGS_TO_PASS) \
32040 $(POSTSTAGE1_FLAGS_TO_PASS) \
32041 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32043 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
32044 clean-stagefeedback-ld:
32045 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
32046 || exit 0 ; \
32047 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
32048 cd ld && \
32049 $(MAKE) $(FLAGS_TO_PASS) \
32050 $(POSTSTAGE1_FLAGS_TO_PASS) \
32051 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32052 @endif ld-bootstrap
32055 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
32056 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
32057 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
32059 maybe-configure-stagefeedback-libcpp:
32060 maybe-all-stagefeedback-libcpp:
32061 maybe-clean-stagefeedback-libcpp:
32063 @if libcpp-bootstrap
32064 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
32065 configure-stagefeedback-libcpp:
32066 @$(MAKE) stagefeedback-start
32067 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32068 r=`${PWD_COMMAND}`; export r; \
32069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32070 $(STAGE_HOST_EXPORTS) \
32071 echo Configuring stage feedback in libcpp ; \
32072 cd libcpp || exit 1; \
32073 case $(srcdir) in \
32074 \.) \
32075 srcdiroption="--srcdir=."; \
32076 libsrcdir=".";; \
32077 /* | [A-Za-z]:[\\/]*) \
32078 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32079 libsrcdir="$$s/libcpp";; \
32080 *) \
32081 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32082 libsrcdir="$$s/libcpp";; \
32083 esac; \
32084 $(SHELL) $${libsrcdir}/configure \
32085 $(HOST_CONFIGARGS) $${srcdiroption} \
32086 @stage2_werror_flag@
32088 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
32089 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
32090 @$(MAKE) stagefeedback-start
32091 @r=`${PWD_COMMAND}`; export r; \
32092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32093 $(STAGE_HOST_EXPORTS) \
32094 cd libcpp && \
32095 $(MAKE) $(FLAGS_TO_PASS) \
32096 $(POSTSTAGE1_FLAGS_TO_PASS) \
32097 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32099 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
32100 clean-stagefeedback-libcpp:
32101 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
32102 || exit 0 ; \
32103 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
32104 cd libcpp && \
32105 $(MAKE) $(FLAGS_TO_PASS) \
32106 $(POSTSTAGE1_FLAGS_TO_PASS) \
32107 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32108 @endif libcpp-bootstrap
32111 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
32112 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
32113 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
32115 maybe-configure-stagefeedback-libiberty:
32116 maybe-all-stagefeedback-libiberty:
32117 maybe-clean-stagefeedback-libiberty:
32119 @if libiberty-bootstrap
32120 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
32121 configure-stagefeedback-libiberty:
32122 @$(MAKE) stagefeedback-start
32123 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32124 r=`${PWD_COMMAND}`; export r; \
32125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32126 $(STAGE_HOST_EXPORTS) \
32127 echo Configuring stage feedback in libiberty ; \
32128 cd libiberty || exit 1; \
32129 case $(srcdir) in \
32130 \.) \
32131 srcdiroption="--srcdir=."; \
32132 libsrcdir=".";; \
32133 /* | [A-Za-z]:[\\/]*) \
32134 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32135 libsrcdir="$$s/libiberty";; \
32136 *) \
32137 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32138 libsrcdir="$$s/libiberty";; \
32139 esac; \
32140 $(SHELL) $${libsrcdir}/configure \
32141 $(HOST_CONFIGARGS) $${srcdiroption} \
32142 @stage2_werror_flag@
32144 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
32145 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
32146 @$(MAKE) stagefeedback-start
32147 @r=`${PWD_COMMAND}`; export r; \
32148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32149 $(STAGE_HOST_EXPORTS) \
32150 cd libiberty && \
32151 $(MAKE) $(FLAGS_TO_PASS) \
32152 $(POSTSTAGE1_FLAGS_TO_PASS) \
32153 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32155 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
32156 clean-stagefeedback-libiberty:
32157 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
32158 || exit 0 ; \
32159 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
32160 cd libiberty && \
32161 $(MAKE) $(FLAGS_TO_PASS) \
32162 $(POSTSTAGE1_FLAGS_TO_PASS) \
32163 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32164 @endif libiberty-bootstrap
32167 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32168 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32169 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32171 maybe-configure-stagefeedback-zlib:
32172 maybe-all-stagefeedback-zlib:
32173 maybe-clean-stagefeedback-zlib:
32175 @if zlib-bootstrap
32176 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32177 configure-stagefeedback-zlib:
32178 @$(MAKE) stagefeedback-start
32179 @[ -f zlib/Makefile ] && exit 0 || : ; \
32180 r=`${PWD_COMMAND}`; export r; \
32181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32182 $(STAGE_HOST_EXPORTS) \
32183 echo Configuring stage feedback in zlib ; \
32184 cd zlib || exit 1; \
32185 case $(srcdir) in \
32186 \.) \
32187 srcdiroption="--srcdir=."; \
32188 libsrcdir=".";; \
32189 /* | [A-Za-z]:[\\/]*) \
32190 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32191 libsrcdir="$$s/zlib";; \
32192 *) \
32193 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32194 libsrcdir="$$s/zlib";; \
32195 esac; \
32196 $(SHELL) $${libsrcdir}/configure \
32197 $(HOST_CONFIGARGS) $${srcdiroption} \
32198 @stage2_werror_flag@
32200 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32201 all-stagefeedback-zlib: configure-stagefeedback-zlib
32202 @$(MAKE) stagefeedback-start
32203 @r=`${PWD_COMMAND}`; export r; \
32204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32205 $(STAGE_HOST_EXPORTS) \
32206 cd zlib && \
32207 $(MAKE) $(FLAGS_TO_PASS) \
32208 $(POSTSTAGE1_FLAGS_TO_PASS) \
32209 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32211 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32212 clean-stagefeedback-zlib:
32213 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
32214 || exit 0 ; \
32215 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
32216 cd zlib && \
32217 $(MAKE) $(FLAGS_TO_PASS) \
32218 $(POSTSTAGE1_FLAGS_TO_PASS) \
32219 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32220 @endif zlib-bootstrap
32224 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32225 # only possibility, but now it conflicts with no-bootstrap rules
32226 @if gcc-bootstrap
32231 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32232 distclean-stage1:: distclean-stagefeedback
32233 .PHONY: distclean-stagefeedback
32234 distclean-stagefeedback::
32235 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32236 rm -rf stagefeedback-*
32239 @endif gcc-bootstrap
32243 stagefeedback-start::
32244 @r=`${PWD_COMMAND}`; export r; \
32245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32246 cd stageprofile-gcc && \
32247 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
32248 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
32250 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32251 # only possibility, but now it conflicts with no-bootstrap rules
32252 @if gcc-bootstrap
32253 profiledbootstrap:
32254 @r=`${PWD_COMMAND}`; export r; \
32255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32256 $(SET_LIB_PATH) \
32257 $(HOST_EXPORTS) \
32258 echo "Bootstrapping the compiler"; \
32259 $(MAKE) stageprofile-bubble distclean-stagefeedback
32260 @r=`${PWD_COMMAND}`; export r; \
32261 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
32262 $(SET_LIB_PATH) \
32263 echo "Building runtime libraries and training compiler"; \
32264 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
32265 @r=`${PWD_COMMAND}`; export r; \
32266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32267 $(SET_LIB_PATH) \
32268 $(HOST_EXPORTS) \
32269 echo "Building feedback based compiler"; \
32270 $(MAKE) stagefeedback-bubble stagefeedback-end
32271 @endif gcc-bootstrap
32273 @if gcc-bootstrap
32274 NOTPARALLEL = .NOTPARALLEL
32275 $(NOTPARALLEL):
32276 do-distclean: distclean-stage1
32277 @endif gcc-bootstrap
32279 # --------------------------------------
32280 # Dependencies between different modules
32281 # --------------------------------------
32283 # Generic dependencies for target modules on host stuff, especially gcc
32285 configure-target-libstdc++-v3: maybe-all-gcc
32287 configure-target-libmudflap: maybe-all-gcc
32289 configure-target-newlib: maybe-all-gcc
32291 configure-target-libgfortran: maybe-all-gcc
32293 configure-target-libobjc: maybe-all-gcc
32295 configure-target-libtermcap: maybe-all-gcc
32297 configure-target-winsup: maybe-all-gcc
32299 configure-target-libgloss: maybe-all-gcc
32301 configure-target-libiberty: maybe-all-gcc
32303 configure-target-gperf: maybe-all-gcc
32305 configure-target-examples: maybe-all-gcc
32307 configure-target-libffi: maybe-all-gcc
32309 configure-target-libjava: maybe-all-gcc
32311 configure-target-zlib: maybe-all-gcc
32313 configure-target-boehm-gc: maybe-all-gcc
32315 configure-target-qthreads: maybe-all-gcc
32317 configure-target-rda: maybe-all-gcc
32319 configure-target-libada: maybe-all-gcc
32323 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
32325 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
32326 configure-target-gperf: maybe-all-target-libstdc++-v3
32328 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
32330 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
32332 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
32334 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
32335 configure-target-libjava: maybe-all-target-libstdc++-v3
32337 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
32339 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
32341 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
32343 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
32345 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
32347 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
32349 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
32351 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
32354 # There are two types of dependencies here: 'hard' dependencies, where one
32355 # module simply won't build without the other; and 'soft' dependencies, where
32356 # if the depended-on module is missing, the depending module will do without
32357 # or find a substitute somewhere (perhaps installed). Soft dependencies
32358 # are made here to depend on a 'maybe-' target. If you're not sure,
32359 # it's safer to use a soft dependency.
32365 # With all the machinery above in place, it is pretty easy to generate
32366 # dependencies. Host dependencies are a bit more complex because we have
32367 # to check for bootstrap/prebootstrap dependencies. To resolve
32368 # prebootstrap dependencies, prebootstrap modules are gathered in
32369 # a hash table.
32370 all-build-bison: maybe-all-build-texinfo
32371 all-build-byacc: maybe-all-build-texinfo
32372 all-build-flex: maybe-all-build-texinfo
32373 all-build-flex: maybe-all-build-bison
32374 all-build-flex: maybe-all-build-byacc
32375 all-build-flex: maybe-all-build-m4
32376 all-build-libiberty: maybe-all-build-texinfo
32377 all-build-m4: maybe-all-build-texinfo
32378 all-build-fixincludes: maybe-all-build-libiberty
32379 configure-gcc: maybe-configure-intl
32381 configure-stage1-gcc: maybe-configure-stage1-intl
32382 configure-stage2-gcc: maybe-configure-stage2-intl
32383 configure-stage3-gcc: maybe-configure-stage3-intl
32384 configure-stage4-gcc: maybe-configure-stage4-intl
32385 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
32386 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
32387 configure-gcc: maybe-configure-binutils
32389 configure-stage1-gcc: maybe-configure-stage1-binutils
32390 configure-stage2-gcc: maybe-configure-stage2-binutils
32391 configure-stage3-gcc: maybe-configure-stage3-binutils
32392 configure-stage4-gcc: maybe-configure-stage4-binutils
32393 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
32394 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
32395 configure-gcc: maybe-configure-gas
32397 configure-stage1-gcc: maybe-configure-stage1-gas
32398 configure-stage2-gcc: maybe-configure-stage2-gas
32399 configure-stage3-gcc: maybe-configure-stage3-gas
32400 configure-stage4-gcc: maybe-configure-stage4-gas
32401 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
32402 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
32403 configure-gcc: maybe-configure-ld
32405 configure-stage1-gcc: maybe-configure-stage1-ld
32406 configure-stage2-gcc: maybe-configure-stage2-ld
32407 configure-stage3-gcc: maybe-configure-stage3-ld
32408 configure-stage4-gcc: maybe-configure-stage4-ld
32409 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
32410 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
32411 all-gcc: all-libiberty
32413 all-stage1-gcc: all-stage1-libiberty
32414 all-stage2-gcc: all-stage2-libiberty
32415 all-stage3-gcc: all-stage3-libiberty
32416 all-stage4-gcc: all-stage4-libiberty
32417 all-stageprofile-gcc: all-stageprofile-libiberty
32418 all-stagefeedback-gcc: all-stagefeedback-libiberty
32419 all-gcc: maybe-all-intl
32421 all-stage1-gcc: maybe-all-stage1-intl
32422 all-stage2-gcc: maybe-all-stage2-intl
32423 all-stage3-gcc: maybe-all-stage3-intl
32424 all-stage4-gcc: maybe-all-stage4-intl
32425 all-stageprofile-gcc: maybe-all-stageprofile-intl
32426 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
32427 all-gcc: maybe-all-build-texinfo
32429 all-stage1-gcc: maybe-all-build-texinfo
32430 all-stage2-gcc: maybe-all-build-texinfo
32431 all-stage3-gcc: maybe-all-build-texinfo
32432 all-stage4-gcc: maybe-all-build-texinfo
32433 all-stageprofile-gcc: maybe-all-build-texinfo
32434 all-stagefeedback-gcc: maybe-all-build-texinfo
32435 all-prebootstrap: maybe-all-build-texinfo
32436 all-gcc: maybe-all-build-bison
32438 all-stage1-gcc: maybe-all-build-bison
32439 all-stage2-gcc: maybe-all-build-bison
32440 all-stage3-gcc: maybe-all-build-bison
32441 all-stage4-gcc: maybe-all-build-bison
32442 all-stageprofile-gcc: maybe-all-build-bison
32443 all-stagefeedback-gcc: maybe-all-build-bison
32444 all-prebootstrap: maybe-all-build-bison
32445 all-gcc: maybe-all-build-byacc
32447 all-stage1-gcc: maybe-all-build-byacc
32448 all-stage2-gcc: maybe-all-build-byacc
32449 all-stage3-gcc: maybe-all-build-byacc
32450 all-stage4-gcc: maybe-all-build-byacc
32451 all-stageprofile-gcc: maybe-all-build-byacc
32452 all-stagefeedback-gcc: maybe-all-build-byacc
32453 all-prebootstrap: maybe-all-build-byacc
32454 all-gcc: maybe-all-build-flex
32456 all-stage1-gcc: maybe-all-build-flex
32457 all-stage2-gcc: maybe-all-build-flex
32458 all-stage3-gcc: maybe-all-build-flex
32459 all-stage4-gcc: maybe-all-build-flex
32460 all-stageprofile-gcc: maybe-all-build-flex
32461 all-stagefeedback-gcc: maybe-all-build-flex
32462 all-prebootstrap: maybe-all-build-flex
32463 all-gcc: maybe-all-build-libiberty
32465 all-stage1-gcc: maybe-all-build-libiberty
32466 all-stage2-gcc: maybe-all-build-libiberty
32467 all-stage3-gcc: maybe-all-build-libiberty
32468 all-stage4-gcc: maybe-all-build-libiberty
32469 all-stageprofile-gcc: maybe-all-build-libiberty
32470 all-stagefeedback-gcc: maybe-all-build-libiberty
32471 all-prebootstrap: maybe-all-build-libiberty
32472 all-gcc: maybe-all-build-fixincludes
32474 all-stage1-gcc: maybe-all-build-fixincludes
32475 all-stage2-gcc: maybe-all-build-fixincludes
32476 all-stage3-gcc: maybe-all-build-fixincludes
32477 all-stage4-gcc: maybe-all-build-fixincludes
32478 all-stageprofile-gcc: maybe-all-build-fixincludes
32479 all-stagefeedback-gcc: maybe-all-build-fixincludes
32480 all-prebootstrap: maybe-all-build-fixincludes
32481 all-gcc: maybe-all-binutils
32483 all-stage1-gcc: maybe-all-stage1-binutils
32484 all-stage2-gcc: maybe-all-stage2-binutils
32485 all-stage3-gcc: maybe-all-stage3-binutils
32486 all-stage4-gcc: maybe-all-stage4-binutils
32487 all-stageprofile-gcc: maybe-all-stageprofile-binutils
32488 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
32489 all-gcc: maybe-all-gas
32491 all-stage1-gcc: maybe-all-stage1-gas
32492 all-stage2-gcc: maybe-all-stage2-gas
32493 all-stage3-gcc: maybe-all-stage3-gas
32494 all-stage4-gcc: maybe-all-stage4-gas
32495 all-stageprofile-gcc: maybe-all-stageprofile-gas
32496 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
32497 all-gcc: maybe-all-ld
32499 all-stage1-gcc: maybe-all-stage1-ld
32500 all-stage2-gcc: maybe-all-stage2-ld
32501 all-stage3-gcc: maybe-all-stage3-ld
32502 all-stage4-gcc: maybe-all-stage4-ld
32503 all-stageprofile-gcc: maybe-all-stageprofile-ld
32504 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
32505 all-gcc: maybe-all-zlib
32507 all-stage1-gcc: maybe-all-stage1-zlib
32508 all-stage2-gcc: maybe-all-stage2-zlib
32509 all-stage3-gcc: maybe-all-stage3-zlib
32510 all-stage4-gcc: maybe-all-stage4-zlib
32511 all-stageprofile-gcc: maybe-all-stageprofile-zlib
32512 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
32513 all-gcc: all-libcpp
32515 all-stage1-gcc: all-stage1-libcpp
32516 all-stage2-gcc: all-stage2-libcpp
32517 all-stage3-gcc: all-stage3-libcpp
32518 all-stage4-gcc: all-stage4-libcpp
32519 all-stageprofile-gcc: all-stageprofile-libcpp
32520 all-stagefeedback-gcc: all-stagefeedback-libcpp
32521 all-gcc: maybe-all-build-libiberty
32523 all-stage1-gcc: maybe-all-build-libiberty
32524 all-stage2-gcc: maybe-all-build-libiberty
32525 all-stage3-gcc: maybe-all-build-libiberty
32526 all-stage4-gcc: maybe-all-build-libiberty
32527 all-stageprofile-gcc: maybe-all-build-libiberty
32528 all-stagefeedback-gcc: maybe-all-build-libiberty
32529 all-prebootstrap: maybe-all-build-libiberty
32530 configure-libcpp: configure-libiberty
32532 configure-stage1-libcpp: configure-stage1-libiberty
32533 configure-stage2-libcpp: configure-stage2-libiberty
32534 configure-stage3-libcpp: configure-stage3-libiberty
32535 configure-stage4-libcpp: configure-stage4-libiberty
32536 configure-stageprofile-libcpp: configure-stageprofile-libiberty
32537 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
32538 configure-libcpp: maybe-configure-intl
32540 configure-stage1-libcpp: maybe-configure-stage1-intl
32541 configure-stage2-libcpp: maybe-configure-stage2-intl
32542 configure-stage3-libcpp: maybe-configure-stage3-intl
32543 configure-stage4-libcpp: maybe-configure-stage4-intl
32544 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
32545 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
32546 all-libcpp: all-libiberty
32548 all-stage1-libcpp: all-stage1-libiberty
32549 all-stage2-libcpp: all-stage2-libiberty
32550 all-stage3-libcpp: all-stage3-libiberty
32551 all-stage4-libcpp: all-stage4-libiberty
32552 all-stageprofile-libcpp: all-stageprofile-libiberty
32553 all-stagefeedback-libcpp: all-stagefeedback-libiberty
32554 all-libcpp: maybe-all-intl
32556 all-stage1-libcpp: maybe-all-stage1-intl
32557 all-stage2-libcpp: maybe-all-stage2-intl
32558 all-stage3-libcpp: maybe-all-stage3-intl
32559 all-stage4-libcpp: maybe-all-stage4-intl
32560 all-stageprofile-libcpp: maybe-all-stageprofile-intl
32561 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
32562 configure-gdb: maybe-configure-itcl
32563 configure-gdb: maybe-configure-tcl
32564 configure-gdb: maybe-configure-tk
32565 configure-gdb: maybe-configure-sim
32566 all-gdb: maybe-all-libiberty
32567 all-gdb: maybe-all-opcodes
32568 all-gdb: maybe-all-bfd
32569 all-gdb: maybe-all-readline
32570 all-gdb: maybe-all-build-bison
32571 all-gdb: maybe-all-build-byacc
32572 all-gdb: maybe-all-sim
32573 install-gdb: maybe-install-tcl
32574 install-gdb: maybe-install-tk
32575 install-gdb: maybe-install-itcl
32576 install-gdb: maybe-install-libgui
32577 configure-libgui: maybe-configure-tcl
32578 configure-libgui: maybe-configure-tk
32579 all-libgui: maybe-all-tcl
32580 all-libgui: maybe-all-tk
32581 all-libgui: maybe-all-itcl
32582 configure-bfd: configure-libiberty
32584 configure-stage1-bfd: configure-stage1-libiberty
32585 configure-stage2-bfd: configure-stage2-libiberty
32586 configure-stage3-bfd: configure-stage3-libiberty
32587 configure-stage4-bfd: configure-stage4-libiberty
32588 configure-stageprofile-bfd: configure-stageprofile-libiberty
32589 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
32590 all-bfd: maybe-all-libiberty
32592 all-stage1-bfd: maybe-all-stage1-libiberty
32593 all-stage2-bfd: maybe-all-stage2-libiberty
32594 all-stage3-bfd: maybe-all-stage3-libiberty
32595 all-stage4-bfd: maybe-all-stage4-libiberty
32596 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
32597 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
32598 all-bfd: maybe-all-intl
32600 all-stage1-bfd: maybe-all-stage1-intl
32601 all-stage2-bfd: maybe-all-stage2-intl
32602 all-stage3-bfd: maybe-all-stage3-intl
32603 all-stage4-bfd: maybe-all-stage4-intl
32604 all-stageprofile-bfd: maybe-all-stageprofile-intl
32605 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
32606 all-binutils: maybe-all-libiberty
32608 all-stage1-binutils: maybe-all-stage1-libiberty
32609 all-stage2-binutils: maybe-all-stage2-libiberty
32610 all-stage3-binutils: maybe-all-stage3-libiberty
32611 all-stage4-binutils: maybe-all-stage4-libiberty
32612 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
32613 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
32614 all-binutils: maybe-all-opcodes
32616 all-stage1-binutils: maybe-all-stage1-opcodes
32617 all-stage2-binutils: maybe-all-stage2-opcodes
32618 all-stage3-binutils: maybe-all-stage3-opcodes
32619 all-stage4-binutils: maybe-all-stage4-opcodes
32620 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
32621 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
32622 all-binutils: maybe-all-bfd
32624 all-stage1-binutils: maybe-all-stage1-bfd
32625 all-stage2-binutils: maybe-all-stage2-bfd
32626 all-stage3-binutils: maybe-all-stage3-bfd
32627 all-stage4-binutils: maybe-all-stage4-bfd
32628 all-stageprofile-binutils: maybe-all-stageprofile-bfd
32629 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
32630 all-binutils: maybe-all-build-flex
32632 all-stage1-binutils: maybe-all-build-flex
32633 all-stage2-binutils: maybe-all-build-flex
32634 all-stage3-binutils: maybe-all-build-flex
32635 all-stage4-binutils: maybe-all-build-flex
32636 all-stageprofile-binutils: maybe-all-build-flex
32637 all-stagefeedback-binutils: maybe-all-build-flex
32638 all-prebootstrap: maybe-all-build-flex
32639 all-binutils: maybe-all-build-bison
32641 all-stage1-binutils: maybe-all-build-bison
32642 all-stage2-binutils: maybe-all-build-bison
32643 all-stage3-binutils: maybe-all-build-bison
32644 all-stage4-binutils: maybe-all-build-bison
32645 all-stageprofile-binutils: maybe-all-build-bison
32646 all-stagefeedback-binutils: maybe-all-build-bison
32647 all-prebootstrap: maybe-all-build-bison
32648 all-binutils: maybe-all-build-byacc
32650 all-stage1-binutils: maybe-all-build-byacc
32651 all-stage2-binutils: maybe-all-build-byacc
32652 all-stage3-binutils: maybe-all-build-byacc
32653 all-stage4-binutils: maybe-all-build-byacc
32654 all-stageprofile-binutils: maybe-all-build-byacc
32655 all-stagefeedback-binutils: maybe-all-build-byacc
32656 all-prebootstrap: maybe-all-build-byacc
32657 all-binutils: maybe-all-intl
32659 all-stage1-binutils: maybe-all-stage1-intl
32660 all-stage2-binutils: maybe-all-stage2-intl
32661 all-stage3-binutils: maybe-all-stage3-intl
32662 all-stage4-binutils: maybe-all-stage4-intl
32663 all-stageprofile-binutils: maybe-all-stageprofile-intl
32664 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
32665 install-binutils: maybe-install-opcodes
32666 install-opcodes: maybe-install-bfd
32667 all-gas: maybe-all-libiberty
32669 all-stage1-gas: maybe-all-stage1-libiberty
32670 all-stage2-gas: maybe-all-stage2-libiberty
32671 all-stage3-gas: maybe-all-stage3-libiberty
32672 all-stage4-gas: maybe-all-stage4-libiberty
32673 all-stageprofile-gas: maybe-all-stageprofile-libiberty
32674 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
32675 all-gas: maybe-all-opcodes
32677 all-stage1-gas: maybe-all-stage1-opcodes
32678 all-stage2-gas: maybe-all-stage2-opcodes
32679 all-stage3-gas: maybe-all-stage3-opcodes
32680 all-stage4-gas: maybe-all-stage4-opcodes
32681 all-stageprofile-gas: maybe-all-stageprofile-opcodes
32682 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
32683 all-gas: maybe-all-bfd
32685 all-stage1-gas: maybe-all-stage1-bfd
32686 all-stage2-gas: maybe-all-stage2-bfd
32687 all-stage3-gas: maybe-all-stage3-bfd
32688 all-stage4-gas: maybe-all-stage4-bfd
32689 all-stageprofile-gas: maybe-all-stageprofile-bfd
32690 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
32691 all-gas: maybe-all-intl
32693 all-stage1-gas: maybe-all-stage1-intl
32694 all-stage2-gas: maybe-all-stage2-intl
32695 all-stage3-gas: maybe-all-stage3-intl
32696 all-stage4-gas: maybe-all-stage4-intl
32697 all-stageprofile-gas: maybe-all-stageprofile-intl
32698 all-stagefeedback-gas: maybe-all-stagefeedback-intl
32699 all-gprof: maybe-all-libiberty
32700 all-gprof: maybe-all-bfd
32701 all-gprof: maybe-all-opcodes
32702 all-gprof: maybe-all-intl
32703 all-ld: maybe-all-libiberty
32705 all-stage1-ld: maybe-all-stage1-libiberty
32706 all-stage2-ld: maybe-all-stage2-libiberty
32707 all-stage3-ld: maybe-all-stage3-libiberty
32708 all-stage4-ld: maybe-all-stage4-libiberty
32709 all-stageprofile-ld: maybe-all-stageprofile-libiberty
32710 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
32711 all-ld: maybe-all-bfd
32713 all-stage1-ld: maybe-all-stage1-bfd
32714 all-stage2-ld: maybe-all-stage2-bfd
32715 all-stage3-ld: maybe-all-stage3-bfd
32716 all-stage4-ld: maybe-all-stage4-bfd
32717 all-stageprofile-ld: maybe-all-stageprofile-bfd
32718 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
32719 all-ld: maybe-all-opcodes
32721 all-stage1-ld: maybe-all-stage1-opcodes
32722 all-stage2-ld: maybe-all-stage2-opcodes
32723 all-stage3-ld: maybe-all-stage3-opcodes
32724 all-stage4-ld: maybe-all-stage4-opcodes
32725 all-stageprofile-ld: maybe-all-stageprofile-opcodes
32726 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
32727 all-ld: maybe-all-build-bison
32729 all-stage1-ld: maybe-all-build-bison
32730 all-stage2-ld: maybe-all-build-bison
32731 all-stage3-ld: maybe-all-build-bison
32732 all-stage4-ld: maybe-all-build-bison
32733 all-stageprofile-ld: maybe-all-build-bison
32734 all-stagefeedback-ld: maybe-all-build-bison
32735 all-prebootstrap: maybe-all-build-bison
32736 all-ld: maybe-all-build-byacc
32738 all-stage1-ld: maybe-all-build-byacc
32739 all-stage2-ld: maybe-all-build-byacc
32740 all-stage3-ld: maybe-all-build-byacc
32741 all-stage4-ld: maybe-all-build-byacc
32742 all-stageprofile-ld: maybe-all-build-byacc
32743 all-stagefeedback-ld: maybe-all-build-byacc
32744 all-prebootstrap: maybe-all-build-byacc
32745 all-ld: maybe-all-build-flex
32747 all-stage1-ld: maybe-all-build-flex
32748 all-stage2-ld: maybe-all-build-flex
32749 all-stage3-ld: maybe-all-build-flex
32750 all-stage4-ld: maybe-all-build-flex
32751 all-stageprofile-ld: maybe-all-build-flex
32752 all-stagefeedback-ld: maybe-all-build-flex
32753 all-prebootstrap: maybe-all-build-flex
32754 all-ld: maybe-all-intl
32756 all-stage1-ld: maybe-all-stage1-intl
32757 all-stage2-ld: maybe-all-stage2-intl
32758 all-stage3-ld: maybe-all-stage3-intl
32759 all-stage4-ld: maybe-all-stage4-intl
32760 all-stageprofile-ld: maybe-all-stageprofile-intl
32761 all-stagefeedback-ld: maybe-all-stagefeedback-intl
32762 all-opcodes: maybe-all-bfd
32764 all-stage1-opcodes: maybe-all-stage1-bfd
32765 all-stage2-opcodes: maybe-all-stage2-bfd
32766 all-stage3-opcodes: maybe-all-stage3-bfd
32767 all-stage4-opcodes: maybe-all-stage4-bfd
32768 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
32769 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
32770 all-opcodes: maybe-all-libiberty
32772 all-stage1-opcodes: maybe-all-stage1-libiberty
32773 all-stage2-opcodes: maybe-all-stage2-libiberty
32774 all-stage3-opcodes: maybe-all-stage3-libiberty
32775 all-stage4-opcodes: maybe-all-stage4-libiberty
32776 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
32777 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
32778 all-dejagnu: maybe-all-tcl
32779 all-dejagnu: maybe-all-expect
32780 all-dejagnu: maybe-all-tk
32781 configure-expect: maybe-configure-tcl
32782 configure-expect: maybe-configure-tk
32783 all-expect: maybe-all-tcl
32784 all-expect: maybe-all-tk
32785 configure-itcl: maybe-configure-tcl
32786 configure-itcl: maybe-configure-tk
32787 all-itcl: maybe-all-tcl
32788 all-itcl: maybe-all-tk
32789 install-itcl: maybe-install-tcl
32790 configure-tk: maybe-configure-tcl
32791 all-tk: maybe-all-tcl
32792 all-sid: maybe-all-libiberty
32793 all-sid: maybe-all-bfd
32794 all-sid: maybe-all-opcodes
32795 all-sid: maybe-all-tcl
32796 all-sid: maybe-all-tk
32797 install-sid: maybe-install-tcl
32798 install-sid: maybe-install-tk
32799 all-sim: maybe-all-libiberty
32800 all-sim: maybe-all-bfd
32801 all-sim: maybe-all-opcodes
32802 all-sim: maybe-all-readline
32803 all-sim: maybe-configure-gdb
32804 all-fastjar: maybe-all-zlib
32805 all-fastjar: maybe-all-build-texinfo
32806 all-fastjar: maybe-all-libiberty
32807 all-autoconf: maybe-all-m4
32808 all-autoconf: maybe-all-build-texinfo
32809 all-automake: maybe-all-m4
32810 all-automake: maybe-all-build-texinfo
32811 all-automake: maybe-all-autoconf
32812 all-bison: maybe-all-intl
32813 all-bison: maybe-all-build-texinfo
32814 all-diff: maybe-all-intl
32815 all-diff: maybe-all-build-texinfo
32816 all-fileutils: maybe-all-intl
32817 all-fileutils: maybe-all-build-texinfo
32818 all-flex: maybe-all-build-bison
32819 all-flex: maybe-all-build-byacc
32820 all-flex: maybe-all-intl
32821 all-flex: maybe-all-m4
32822 all-flex: maybe-all-build-texinfo
32823 all-gzip: maybe-all-intl
32824 all-gzip: maybe-all-zlib
32825 all-gzip: maybe-all-build-texinfo
32826 all-hello: maybe-all-intl
32827 all-hello: maybe-all-build-texinfo
32828 all-m4: maybe-all-intl
32829 all-m4: maybe-all-build-texinfo
32830 all-make: maybe-all-intl
32831 all-make: maybe-all-build-texinfo
32832 all-patch: maybe-all-build-texinfo
32833 all-make: maybe-all-build-texinfo
32834 all-prms: maybe-all-libiberty
32835 all-recode: maybe-all-build-texinfo
32836 all-sed: maybe-all-build-texinfo
32837 all-send-pr: maybe-all-prms
32838 all-tar: maybe-all-build-texinfo
32839 all-uudecode: maybe-all-build-texinfo
32840 configure-target-boehm-gc: maybe-configure-target-qthreads
32841 configure-target-fastjar: maybe-configure-target-zlib
32842 all-target-fastjar: maybe-all-target-zlib
32843 all-target-fastjar: maybe-all-target-libiberty
32844 configure-target-libjava: maybe-configure-target-zlib
32845 configure-target-libjava: maybe-configure-target-boehm-gc
32846 configure-target-libjava: maybe-configure-target-qthreads
32847 configure-target-libjava: maybe-configure-target-libffi
32848 all-target-libjava: maybe-all-fastjar
32849 all-target-libjava: maybe-all-target-zlib
32850 all-target-libjava: maybe-all-target-boehm-gc
32851 all-target-libjava: maybe-all-target-qthreads
32852 all-target-libjava: maybe-all-target-libffi
32853 all-target-libobjc: maybe-all-target-libiberty
32854 all-target-libstdc++-v3: maybe-all-target-libiberty
32855 all-target-libgloss: maybe-configure-target-newlib
32856 all-target-winsup: maybe-all-target-libiberty
32857 all-target-winsup: maybe-all-target-libtermcap
32860 # Non-toplevel bootstrap rules must depend on several packages, to be built
32861 # before gcc. Another wart that will go away, hopefully soon.
32862 @if gcc-no-bootstrap
32864 all-prebootstrap: maybe-all-bfd
32865 all-prebootstrap: maybe-all-opcodes
32866 all-prebootstrap: maybe-all-binutils
32867 all-prebootstrap: maybe-all-gas
32868 all-prebootstrap: maybe-all-intl
32869 all-prebootstrap: maybe-all-ld
32870 all-prebootstrap: maybe-all-libcpp
32871 all-prebootstrap: maybe-all-libiberty
32872 all-prebootstrap: maybe-all-zlib
32873 @endif gcc-no-bootstrap
32875 GDB_TK = @GDB_TK@
32876 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
32878 # Serialization dependencies. Host configures don't work well in parallel to
32879 # each other, due to contention over config.cache. Target configures and
32880 # build configures are similar.
32881 @serialization_dependencies@
32883 # --------------------------------
32884 # Regenerating top level configury
32885 # --------------------------------
32887 # Multilib.out tells target dirs what multilibs they should build.
32888 # There is really only one copy. We use the 'timestamp' method to
32889 # work around various timestamp bugs on some systems.
32890 # We use move-if-change so that it's only considered updated when it
32891 # actually changes, because it has to depend on a phony target.
32892 multilib.out: maybe-all-gcc
32893 @r=`${PWD_COMMAND}`; export r; \
32894 echo "Checking multilib configuration..."; \
32895 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
32896 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
32898 # Rebuilding Makefile.in, using autogen.
32899 AUTOGEN = autogen
32900 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
32901 cd $(srcdir) && $(AUTOGEN) Makefile.def
32903 # Rebuilding Makefile.
32904 Makefile: $(srcdir)/Makefile.in config.status
32905 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
32907 config.status: configure $(gcc_version_trigger)
32908 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
32910 # Rebuilding configure.
32911 AUTOCONF = autoconf
32912 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
32913 cd $(srcdir) && $(AUTOCONF)
32915 # ------------------------------
32916 # Special directives to GNU Make
32917 # ------------------------------
32919 # Don't pass command-line variables to submakes.
32920 .NOEXPORT:
32921 MAKEOVERRIDES=
32923 # end of Makefile.in